/* ================================================================
   /etc/* static pages — about-us, privacy, terms, advertise
================================================================ */

/* ── Page wrapper ───────────────────────────────────────────── */
.etc-page-wrap {
  max-width: 1200px;
  margin: 48px auto 72px;
  padding: 0 24px;
}

.etc-sidebar-col {
  align-self: flex-start;
}

/* ── Article body ──────────────────────────────────────────── */
.etc-article {
  font-family: Starling, Georgia, serif;
}

/* h1: large navy page title */
.etc-article h1 {
  font-family: Starling, Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 10px;
}

/* Thin red rule under h1 */
.etc-article h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 12px 0 24px;
}

/* h2: V1-inspired inline + red border-bottom, upgraded to 2px */
.etc-article h2 {
  font-family: Starling, Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  display: inline-block;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  line-height: 1.3;
  margin: 40px 0 18px;
}

/* h3: small uppercase red label pill — wraps span.text-red-tangy from DB */
.etc-article h3 {
  margin: 28px 0 8px;
  line-height: 1;
}

.etc-article h3 .text-red-tangy {
  font-family: acumin-pro-wide, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  display: inline-block;
  padding: 4px 10px 4px 9px;
  border-left: 3px solid var(--red);
  background: rgba(222, 75, 73, 0.07);
}

/* Also handles bare .text-red-tangy outside h3 */
.etc-article .text-red-tangy {
  color: #de4b49;
}

/* Body text */
.etc-article p {
  font-family: acumin-pro-wide, Inter, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #1d1d26;
  margin: 0 0 12px;
}

.etc-article ul,
.etc-article ol {
  font-family: acumin-pro-wide, Inter, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #1d1d26;
  padding-left: 20px;
  margin-bottom: 16px;
}

.etc-article a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 21, 57, 0.25);
  transition: border-color 0.15s, color 0.15s;
}

.etc-article a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.etc-article strong {
  font-weight: 700;
  color: var(--navy);
}

/* ── TOC sidebar ───────────────────────────────────────────── */
.etc-toc {
  position: sticky;
  top: 80px;
  border-left: 2px solid var(--red);
  padding-left: 20px;
}

.etc-toc-label {
  font-family: acumin-pro-wide, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 10px;
}

.etc-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.etc-toc ul li {
  border-bottom: 1px solid #eaeaea;
}

.etc-toc ul li a {
  font-family: acumin-pro-wide, sans-serif;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border: none;
  display: block;
  padding: 9px 0;
  transition: color 0.15s;
}

.etc-toc ul li a:hover {
  color: var(--red);
  border: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .etc-page-wrap {
    margin: 32px auto 48px;
  }

  .etc-article h1 {
    font-size: 34px;
  }

  .etc-article h2 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .etc-page-wrap {
    margin: 24px auto;
    padding: 0 16px;
  }

  .etc-article h1 {
    font-size: 28px;
  }

  .etc-article h2 {
    font-size: 20px;
  }
}
