/* ============================================================
   CAPITALIS ELECTUS · NEWS — Premium edition
   Editorial luxury, black & antique gold
   ============================================================ */

:root {
  --bg: #0a0908;
  --bg-elev: #14110c;
  --bg-card: #11100b;
  --bg-paper: #181510;
  --gold: #d4af37;
  --gold-bright: #e6c44a;
  --gold-dim: #a08428;
  --gold-deep: #6e5616;
  --cream: #f5e8c0;
  --champagne: #ead890;
  --text: #d8c890;
  --text-muted: #a89342;
  --text-faint: #6b5825;
  --line: #3a2e14;
  --line-soft: #1c1610;
  --accent: #7a1f2a;
  --serif-display: "Bodoni Moda", "Playfair Display", "Times New Roman", Georgia, serif;
  --serif-body: "Cormorant Garamond", "EB Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga", "kern", "onum";
}

a { color: var(--gold-bright); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--cream); }

img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--bg); }

/* ============================================================
   MASTHEAD (newspaper masthead)
   ============================================================ */

.topbar {
  background: var(--bg);
  border-bottom: 0.5px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-dim);
  text-transform: uppercase;
  font-weight: 500;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.masthead {
  background: var(--bg);
  text-align: center;
  padding: 40px 32px 32px;
  position: relative;
}
.masthead::before, .masthead::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 240px;
  height: 0.5px;
  background: var(--gold);
  transform: translateX(-50%);
}
.masthead::before { top: 0; }
.masthead::after { bottom: 0; }

.masthead-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.masthead .seal {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 1px;
  position: relative;
}
.masthead .seal::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 0.5px solid var(--gold-dim);
  border-radius: 50%;
}
.masthead .wordmark {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 56px;
  color: var(--cream);
  letter-spacing: 1.5px;
  line-height: 1;
  font-style: italic;
}
.masthead .wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 12px;
  color: var(--gold);
  margin-top: 12px;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  padding-left: 12px;
}
.masthead .motto {
  margin-top: 22px;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dim);
  font-size: 14px;
  letter-spacing: 3px;
}
.masthead .motto::before, .masthead .motto::after {
  content: "·";
  margin: 0 14px;
  color: var(--gold);
  font-size: 16px;
}

/* ============================================================
   NAV
   ============================================================ */

nav.mainnav {
  background: var(--bg);
  border-bottom: 0.5px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav.mainnav a {
  display: inline-block;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
nav.mainnav a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}
nav.mainnav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============================================================
   CONTAINER & ORNAMENTS
   ============================================================ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--line);
}

.ornament {
  text-align: center;
  margin: 56px 0;
  color: var(--gold);
  font-family: var(--serif-display);
  font-size: 22px;
  letter-spacing: 18px;
  padding-left: 18px;
}
.ornament::before { content: "·   ·   ·"; }

/* ============================================================
   HOMEPAGE — LEAD STORY
   ============================================================ */

.lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 0.5px solid var(--line);
}
@media (min-width: 960px) {
  .lead { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
}
.lead .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(0.95);
  border: 0.5px solid var(--line);
  position: relative;
}
.lead .photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 0.5px solid rgba(212, 175, 55, 0.25);
  pointer-events: none;
}
.lead .folio {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 18px;
  display: block;
}
.lead .kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 0.5px solid var(--line);
}
.lead h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 26px;
  letter-spacing: -0.8px;
  font-style: normal;
}
.lead .dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 32px;
}
.lead .cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 6px;
  font-weight: 500;
  transition: all .25s ease;
}
.lead .cta:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
  letter-spacing: 5px;
}

/* ============================================================
   CARDS GRID
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
}
.card {
  display: block;
  color: var(--text);
}
.card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 0.5px solid var(--line);
  margin-bottom: 22px;
  filter: contrast(1.05) saturate(0.95);
  transition: filter .3s ease, transform .3s ease;
}
.card:hover .photo {
  filter: contrast(1.1) saturate(1);
}
.card .folio {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}
.card .kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}
.card h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  transition: color .25s ease;
}
.card .dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.card:hover h2 { color: var(--gold-bright); }

/* ============================================================
   PROMO STRIP (business divisions)
   ============================================================ */

.promo {
  margin-top: 80px;
  padding: 80px 0;
  background: var(--bg-elev);
  position: relative;
}
.promo::before, .promo::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
}
.promo::before { top: 0; }
.promo::after { bottom: 0; }

.promo-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.promo h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 36px;
  color: var(--cream);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.promo .sub {
  text-align: center;
  font-style: italic;
  font-family: var(--serif-body);
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 18px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.promo-card {
  background: var(--bg-card);
  border: 0.5px solid var(--line);
  padding: 44px 36px;
  text-align: center;
  transition: all .35s ease;
  position: relative;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid transparent;
  transition: border-color .35s ease;
  pointer-events: none;
}
.promo-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.promo-card:hover::before {
  border-color: rgba(212, 175, 55, 0.25);
}
.promo-card .ico {
  font-family: var(--serif-display);
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}
.promo-card h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}
.promo-card p {
  font-size: 16px;
  color: var(--text-muted);
  font-family: var(--serif-body);
  margin: 0 0 24px;
  line-height: 1.6;
  font-style: italic;
}
.promo-card .link {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-hero {
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  background-size: cover;
  background-position: center;
  border-bottom: 0.5px solid var(--gold);
  position: relative;
  filter: contrast(1.05);
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.1) 0%, rgba(10,9,8,0.85) 100%);
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.article .folio {
  display: block;
  text-align: center;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.article .kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 28px;
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--line);
}
.article h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  color: var(--cream);
  margin: 0 0 28px;
  letter-spacing: -0.6px;
  text-align: center;
}
.article .dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 40px;
  text-align: center;
}
.article .byline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 32px;
  margin-bottom: 56px;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 500;
}
.article p {
  font-family: var(--serif-body);
  font-size: 20px;
  line-height: 1.78;
  color: var(--text);
  margin: 0 0 26px;
  font-weight: 400;
}
.article p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 88px;
  float: left;
  line-height: 0.88;
  padding: 10px 14px 0 0;
  color: var(--gold-bright);
  font-style: normal;
}
.article blockquote {
  border: none;
  padding: 40px 0;
  margin: 48px 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--cream);
  line-height: 1.4;
  text-align: center;
  position: relative;
  letter-spacing: -0.3px;
}
.article blockquote::before, .article blockquote::after {
  content: "";
  display: block;
  width: 60px;
  height: 0.5px;
  background: var(--gold);
  margin: 0 auto;
}
.article blockquote::before { margin-bottom: 32px; }
.article blockquote::after { margin-top: 32px; }

/* Share */
.share {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.share-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-weight: 500;
  transition: all .25s ease;
}
.share-btn:hover {
  background: var(--gold);
  color: var(--bg);
  letter-spacing: 4px;
}

/* ============================================================
   PAGE HERO (Seguros, Inmuebles, Acerca, Contacto)
   ============================================================ */

.page-hero {
  text-align: center;
  padding: 100px 32px 64px;
  border-bottom: 0.5px solid var(--line);
  position: relative;
}
.page-hero .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 68px);
  color: var(--cream);
  margin: 0 0 22px;
  letter-spacing: -0.6px;
  line-height: 1.08;
}
.page-hero .dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.55;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.offer {
  background: var(--bg-card);
  border: 0.5px solid var(--line);
  padding: 44px 32px;
  transition: all .3s ease;
  position: relative;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid transparent;
  pointer-events: none;
  transition: border-color .3s ease;
}
.offer:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.offer:hover::before {
  border-color: rgba(212, 175, 55, 0.2);
}
.offer h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}
.offer p {
  color: var(--text-muted);
  font-family: var(--serif-body);
  font-size: 17px;
  margin: 0 0 22px;
  line-height: 1.65;
  font-style: italic;
}
.offer .cta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 28px 0 10px;
  font-weight: 500;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 0.5px solid var(--line);
  color: var(--cream);
  padding: 16px 18px;
  font-family: var(--serif-body);
  font-size: 17px;
  outline: none;
  transition: border-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form button {
  margin-top: 40px;
  padding: 18px 44px;
  background: transparent;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
}
.contact-form button:hover {
  background: var(--gold);
  color: var(--bg);
  letter-spacing: 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer.site {
  background: var(--bg-paper);
  border-top: 0.5px solid var(--gold);
  padding: 64px 32px 36px;
  margin-top: 100px;
  position: relative;
}
footer.site::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  margin-top: -4px;
  transform: translateX(-50%) rotate(45deg);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-inner h5 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  font-weight: 500;
}
.footer-inner p, .footer-inner a {
  color: var(--text-muted);
  font-size: 15px;
  font-family: var(--serif-body);
  margin: 0 0 10px;
  line-height: 1.55;
  font-style: italic;
}
.footer-inner a {
  font-style: normal;
}
.footer-inner a:hover { color: var(--gold-bright); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo .seal {
  width: 42px; height: 42px;
  border: 0.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--gold);
}
.footer-logo span {
  font-family: var(--serif-display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--cream);
}
.copyright {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 0.5px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-faint);
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   Responsive niceties
   ============================================================ */

@media (max-width: 720px) {
  .container { padding: 48px 24px; }
  .masthead { padding: 28px 24px 22px; }
  .masthead .wordmark { font-size: 42px; }
  .masthead .seal { width: 48px; height: 48px; font-size: 20px; }
  nav.mainnav a { padding: 14px 16px; font-size: 10px; letter-spacing: 3px; }
  .article { padding: 48px 24px 64px; }
  .article p:first-of-type::first-letter { font-size: 66px; }
  .article blockquote { font-size: 22px; }
  .promo { padding: 56px 0; }
}

/* ============================================================
   AD UNITS — Capitalis Electus cross-promotion
   ============================================================ */

.article-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 1180px) {
  .article-wrapper {
    max-width: 1240px;
    display: grid;
    grid-template-columns: 760px 300px;
    gap: 64px;
    justify-content: center;
  }
}
.article-wrapper .article {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

/* Inline ad inside the article */
.inline-ad {
  margin: 56px -32px;
  padding: 40px 36px;
  background: var(--bg-card);
  border-top: 0.5px solid var(--gold);
  border-bottom: 0.5px solid var(--gold);
  text-align: center;
  position: relative;
}
.inline-ad::before, .inline-ad::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0.5px solid var(--gold);
  transform: rotate(45deg);
  left: 50%;
  margin-left: -4px;
  background: var(--bg-card);
}
.inline-ad::before { top: -4.5px; }
.inline-ad::after { bottom: -4.5px; }
.inline-ad-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 22px;
}
.inline-ad h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.inline-ad p {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 24px;
  line-height: 1.55;
  max-width: 540px;
  font-weight: 400;
}
.inline-ad-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 5px;
  transition: all .25s ease;
}
.inline-ad-cta:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
  letter-spacing: 5px;
}

/* Sticky side rail (desktop only) */
.rail {
  display: none;
}
@media (min-width: 1180px) {
  .rail {
    display: block;
    padding-top: 80px;
    position: sticky;
    top: 80px;
    align-self: start;
  }
}
.rail-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
  text-align: center;
}
.rail-card {
  display: block;
  background: var(--bg-card);
  border: 0.5px solid var(--line);
  padding: 28px 24px;
  margin-bottom: 24px;
  color: var(--text);
  transition: all .3s ease;
  position: relative;
}
.rail-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 0.5px solid transparent;
  pointer-events: none;
  transition: border-color .3s ease;
}
.rail-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.rail-card:hover::before {
  border-color: rgba(212, 175, 55, 0.2);
}
.rail-tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.rail-card h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.rail-card p {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.55;
}
.rail-cta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 0.5px solid var(--gold-dim);
  padding-bottom: 3px;
  display: inline-block;
}
.rail-card:hover .rail-cta {
  color: var(--cream);
  border-bottom-color: var(--cream);
}
.rail-divider {
  text-align: center;
  font-family: var(--serif-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 12px;
  padding-left: 12px;
  margin: 12px 0 18px;
}
.rail-divider::before { content: "·   ·   ·"; }

/* ============================================================
   ROTATING AD SLOTS (image / video / text fallback)
   ============================================================ */

.ad-slot {
  margin: 56px -16px;
}
.ad-slot a {
  display: block;
  color: var(--text);
  text-decoration: none;
  text-align: center;
}
.ad-flyer, .ad-video, .ad-text {
  padding: 32px 28px 28px;
  background: var(--bg-card);
  border-top: 0.5px solid var(--gold);
  border-bottom: 0.5px solid var(--gold);
  position: relative;
  transition: background .25s ease;
}
.ad-flyer:hover, .ad-video:hover, .ad-text:hover {
  background: var(--bg-paper);
}
.ad-flyer::before, .ad-flyer::after,
.ad-video::before, .ad-video::after,
.ad-text::before, .ad-text::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0.5px solid var(--gold);
  transform: rotate(45deg);
  left: 50%;
  margin-left: -4px;
  background: var(--bg-card);
}
.ad-flyer::before, .ad-video::before, .ad-text::before { top: -4.5px; }
.ad-flyer::after,  .ad-video::after,  .ad-text::after  { bottom: -4.5px; }

.ad-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.ad-flyer img, .ad-video video {
  max-width: 440px;
  width: 100%;
  height: auto;
  margin: 0 auto 22px;
  display: block;
  border: 0.5px solid var(--line);
}
.ad-video video {
  background: #000;
}

.ad-text h4 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.ad-text p {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 24px;
  line-height: 1.55;
  max-width: 540px;
}

.ad-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 5px;
  transition: all .25s ease;
}
.ad-flyer:hover .ad-cta, .ad-video:hover .ad-cta, .ad-text:hover .ad-cta {
  color: var(--cream);
  border-bottom-color: var(--cream);
  letter-spacing: 5px;
}

/* Compact variant for the sticky side rail */
.rail .ad-slot { margin: 0 0 24px; }
.rail .ad-flyer, .rail .ad-video, .rail .ad-text {
  padding: 22px 18px;
}
.rail .ad-flyer::before, .rail .ad-flyer::after,
.rail .ad-video::before, .rail .ad-video::after,
.rail .ad-text::before, .rail .ad-text::after { display: none; }
.rail .ad-label { font-size: 9px; letter-spacing: 3.5px; margin-bottom: 14px; }
.rail .ad-flyer img, .rail .ad-video video {
  max-width: 100%;
  margin-bottom: 16px;
}
.rail .ad-text h4 { font-size: 20px; }
.rail .ad-text p  { font-size: 14px; margin-bottom: 16px; }
.rail .ad-cta     { font-size: 10px; }

/* Homepage ad showcase row */
.ads-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 56px;
}
@media (min-width: 780px) {
  .ads-row { grid-template-columns: 1fr 1fr; }
}
.ads-row .ad-slot { margin: 0; }
