/* CWS Article System — Article CSS
   Applies only on single posts because plugin enqueues conditionally.
*/

/* Layout: remove Divi-ish two-column structure if present */
.single-post #sidebar { display: none !important; }
.single-post #left-area { width: 100% !important; }
.single-post #main-content .container:before { display: none !important; }

/* Container */
.cws-article {
  padding: 48px 18px;
}

.cws-article__inner {
  max-width: 820px;
  margin: 0 auto;
}

/* Featured image */
.cws-article__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 28px;
}

/* Typography baseline (Roboto + golden ratio-ish)
   Body 12px, subtitle ~19px, title ~31px
*/
.cws-article__content,
.cws-article__content p,
.cws-article__content li {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.9;
}

.cws-article__content h2,
.cws-article__content h3,
.cws-article__content h4 {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
}

.cws-article__content h2 { font-size: 20px; margin-top: 2.0em; }
.cws-article__content h3 { font-size: 16px; margin-top: 1.6em; }
.cws-article__content h4 { font-size: 14px; margin-top: 1.4em; }

.cws-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.cws-article__content iframe,
.cws-article__content video {
  max-width: 100%;
}

/* Category above title */
.cws-article__category {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

/* Title + subtitle */
.cws-article__title {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 10px 0;
}

.cws-article__subtitle {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 14px 0;
  opacity: 0.85;
}

/* Byline: name only + date under */
.cws-article__byline {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  margin: 0 0 26px 0;
}

.cws-article__author {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.cws-article__date {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1.2;
  margin-top: 4px;
}

/* Author box */
.cws-authorbox {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.cws-authorbox__img img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.cws-authorbox__name {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cws-authorbox__role {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.cws-authorbox__bio {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.8;
}
