:root {
  --bg: #efe4d1;
  --bg-soft: #f7f1e7;
  --panel: #fbf7f1;
  --ink: #171411;
  --muted: #5f564f;
  --line: rgba(23, 20, 17, 0.12);
  --gold: #e7b11f;
  --gold-deep: #bd8812;
  --terracotta: #a85d3e;
  --charcoal: #141313;
  --shadow: 0 20px 40px rgba(19, 15, 12, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1440px;
}

/* Regulation archive: compact reading cards keep the historical rule URLs easy to scan. */
body[data-page="reglement"] .rules-page {
  padding-bottom: 34px;
}

.rules-hero {
  margin: 10px 28px 14px;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, .62fr);
  gap: 22px;
  align-items: center;
  border: 1px solid #e8c35f;
  border-bottom: 3px solid #e5ad00;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 16%, rgba(235,183,22,.2), transparent 25%),
    linear-gradient(112deg, #fffdf8 0%, #fff7e8 67%, #f5e3b2 100%);
  box-shadow: 0 14px 32px rgba(68, 43, 20, .1);
}

.rules-hero h1,
.rules-archive h2,
.rules-footer-links h2 {
  margin: 4px 0 10px;
  font-family: "Cormorant Garamond", serif;
  color: #2c211a;
}

.rules-hero h1 {
  max-width: 820px;
  font-size: clamp(2.05rem, 3.2vw, 3.45rem);
  line-height: .98;
}

.rules-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: #6d5d50;
  font-size: .92rem;
  line-height: 1.45;
}

.rules-hero-actions,
.rules-footer-actions,
.rules-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rules-hero-actions { margin-top: 13px; }
.rules-hero-actions .button { min-height: 39px; padding: 9px 13px; font-size: .72rem; }

.rules-source-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(120, 79, 26, .22);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.rules-source-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2d211a;
  color: #f7be17;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.rules-source-card strong { color: #2d211a; }
.rules-source-card p { margin: 4px 0 0; color: #725f4d; font-size: .82rem; line-height: 1.35; }
.rules-source-card a { grid-column: 2; color: #9a6500; font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.rules-paths {
  margin: 0 28px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rules-paths a {
  min-height: 82px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  border: 1px solid #e1c16e;
  border-radius: 17px;
  background: linear-gradient(135deg, #fffdf9, #fff6df);
  color: #30251d;
  box-shadow: 0 8px 20px rgba(62, 42, 23, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rules-paths a:nth-child(2) { background: linear-gradient(135deg, #fff9e9, #f8e6bd); }
.rules-paths a:nth-child(3) { background: linear-gradient(135deg, #fffdf9, #f2f6e9); }
.rules-paths a:hover { transform: translateY(-3px); border-color: #c78a0a; box-shadow: 0 14px 27px rgba(62, 42, 23, .14); }
.rules-paths span { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(166, 106, 0, .18); border-radius: 12px; background: #f3b919; color: #382615; font-weight: 900; box-shadow: 0 5px 10px rgba(173, 113, 0, .16); }
.rules-paths b { font-size: .95rem; }
.rules-paths small { color: #685749; font-size: .78rem; }

.rules-archive {
  margin: 0 28px 20px;
  padding: 22px;
  border: 1px solid #e8dbc6;
  border-radius: 25px;
  background: linear-gradient(140deg, #fffdf9, #fff9ef);
}

.rules-archive-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}
.rules-archive-heading h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; }
.rules-archive-heading p:not(.eyebrow) { margin: 0; color: #706050; max-width: 620px; }
.rules-archive-heading > span { padding: 8px 11px; border: 1px solid #e5c678; border-radius: 999px; color: #8d6106; background: #fff8df; font-size: .75rem; font-weight: 900; white-space: nowrap; }

.rules-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rules-article-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.rules-article-card:hover { transform: translateY(-2px); border-color: #dcae35; box-shadow: 0 11px 22px rgba(65, 42, 18, .09); }
.rules-article-image { display: block; min-height: 128px; background: #ede4d7; }
.rules-article-image img { width: 100%; height: 100%; min-height: 128px; display: block; object-fit: cover; }
.rules-article-copy { min-width: 0; padding: 11px 12px; }
.rules-article-meta { margin: 0 0 5px; color: #986600; font-size: .66rem; font-weight: 800; line-height: 1.25; }
.rules-article-meta span { margin: 0 4px; color: #c8a261; }
.rules-article-copy h3 { margin: 0 0 5px; font-family: inherit; font-size: .95rem; line-height: 1.13; }
.rules-article-copy h3 a { color: #2d241d; }
.rules-article-copy > p:not(.rules-article-meta) { display: -webkit-box; margin: 0; overflow: hidden; color: #75675a; font-size: .78rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rules-read-link { display: inline-block; margin-top: 8px; color: #9a6500; font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

.rules-pagination { justify-content: center; margin-top: 19px; }
.rules-pagination a, .rules-pagination span { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.rules-pagination a { background: #efb719; color: #2a1e16; }
.rules-pagination span { border: 1px solid #e8d8b9; color: #725f4b; background: #fffdf8; }

.rules-footer-links {
  margin: 0 28px 18px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr);
  gap: 18px;
  align-items: center;
  border: 1px solid #e4c36d;
  border-radius: 20px;
  background: linear-gradient(110deg, #fffdf8, #fff4d9);
  color: #30251d;
  box-shadow: 0 10px 22px rgba(65, 42, 18, .06);
}
.rules-footer-links h2 { color: #30251d; font-size: clamp(1.65rem, 2.5vw, 2.35rem); line-height: 1; }
.rules-footer-links .eyebrow { color: #966707; }
.rules-footer-links p:not(.eyebrow) { margin: 0; color: #6d5c4c; max-width: 680px; font-size: .84rem; line-height: 1.4; }
.rules-footer-actions { justify-content: flex-end; }
.rules-footer-actions a { padding: 10px 12px; border: 1px solid #dfc27e; border-radius: 999px; background: #fffefa; color: #49331f; font-size: .72rem; font-weight: 850; }
.rules-footer-actions a:hover { border-color: #ba7c0a; background: #efb719; color: #2b211a; }

.rules-community { margin: 0 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
.rules-newsletter { min-height: 156px; padding: 19px 20px; display: block; border: 1px solid #e4bd47; border-radius: 20px; background: linear-gradient(135deg, #fffaf0 0%, #f5cb52 100%); color: #302214; box-shadow: 0 10px 20px rgba(83, 53, 16, .08); }
.rules-newsletter span { display: block; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rules-newsletter strong { display: block; margin-top: 5px; font-family: "Cormorant Garamond", serif; font-size: 1.55rem; line-height: 1; }
.rules-newsletter p { margin: 7px 0; font-size: .79rem; line-height: 1.35; }
.rules-newsletter b { display: inline-flex; margin-top: 2px; padding: 8px 11px; border-radius: 999px; background: #2f221a; color: #fff8eb; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
body[data-page="reglement"] .rules-share-band { min-height: 156px; margin: 0; padding: 19px 20px; border: 1px solid #e5c978; border-radius: 20px; background: linear-gradient(135deg, #fffefb, #f7ead0); box-shadow: 0 10px 20px rgba(83, 53, 16, .06); }
body[data-page="reglement"] .rules-share-band .eyebrow { color: #966707; }
body[data-page="reglement"] .rules-share-band .share-copy strong { color: #30251d; font-size: .94rem; }
body[data-page="reglement"] .rules-share-band .share-actions,
body[data-page="reglement"] .rules-share-band .share-profiles { gap: 8px; }
body[data-page="reglement"] .rules-share-band .share-actions a,
body[data-page="reglement"] .rules-share-band .share-profiles a { border-color: #dcc8a2; background: #fffefa; color: #3b2d23; }
body[data-page="reglement"] .rules-share-band .share-actions a:first-child { border-color: #1877f2; background: #1877f2; color: #fff; }
body[data-page="reglement"] .rules-share-band .share-actions a:nth-child(2) { border-color: #171717; background: #171717; color: #fff; }

@media (max-width: 900px) {
  .rules-hero, .rules-footer-links, .rules-community { grid-template-columns: 1fr; }
  .rules-paths, .rules-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-footer-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .rules-hero, .rules-archive, .rules-footer-links, .rules-community, .rules-paths { margin-left: 12px; margin-right: 12px; }
  .rules-hero { padding: 22px 18px; }
  .rules-archive { padding: 16px; }
  .rules-paths, .rules-article-grid { grid-template-columns: 1fr; }
  .rules-archive-heading { align-items: flex-start; flex-direction: column; }
  .rules-article-card { grid-template-columns: 82px minmax(0, 1fr); }
  .rules-article-image, .rules-article-image img { min-height: 118px; }
}

/* Keep anchored simulator shortcuts fully visible below the shared header. */
.simulator-card {
  scroll-margin-top: 145px;
}

/* Dedicated A-Z glossary: dense enough to be useful, calm enough to read on a phone. */
body[data-page="petanque-lexicon"] .lexicon-page { display: grid; gap: 16px; width: min(calc(100% - 32px), 1400px); margin: 0 auto; }
.lexicon-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; padding: 28px 32px; overflow: hidden; border: 1px solid rgba(184,122,18,.28); border-bottom: 3px solid #dfad16; border-radius: 28px; background: linear-gradient(110deg, #fffefb, #fae8ae); }.lexicon-hero h1 { max-width: 850px; margin: 5px 0 11px; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(2.55rem, 4.4vw, 4.5rem); line-height: .92; }.lexicon-hero p:not(.eyebrow) { max-width: 800px; margin: 0; color: #65554a; line-height: 1.55; }.lexicon-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }.lexicon-hero-tags span { padding: 7px 10px; border: 1px solid rgba(91,62,23,.15); border-radius: 999px; background: rgba(255,255,255,.68); color: #765018; font-size: .66rem; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; }.lexicon-hero-photo { position: relative; width: 220px; height: 176px; justify-self: end; margin: 0; overflow: hidden; border: 1px solid rgba(91,62,23,.25); border-radius: 20px; background: #5b4229; box-shadow: 0 13px 26px rgba(71,48,21,.15); }.lexicon-hero-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(31,22,14,.78)); content: ''; pointer-events: none; }.lexicon-hero-photo img { width: 100%; height: 100%; object-fit: cover; }.lexicon-hero-photo figcaption { position: absolute; right: 12px; bottom: 10px; left: 12px; z-index: 1; color: #fff9ed; font-size: .73rem; font-weight: 800; line-height: 1.28; }
.lexicon-directory { padding: 24px; border: 1px solid rgba(46,32,18,.1); border-radius: 26px; background: #fffdf9; }.lexicon-directory-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr); gap: 24px; align-items: end; }.lexicon-directory-heading h2, .lexicon-help h2 { margin: 5px 0 0; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 3.3vw, 3.35rem); line-height: .95; }.lexicon-search { position: relative; display: flex; align-items: center; min-height: 49px; padding: 0 46px 0 15px; border: 1px solid rgba(124,82,17,.22); border-radius: 15px; background: #fffefa; box-shadow: 0 8px 18px rgba(67,45,20,.05); }.lexicon-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #2b211b; font: 600 .9rem "Manrope", sans-serif; }.lexicon-search input::placeholder { color: #887b6d; }.lexicon-search b { position: absolute; right: 14px; color: #a97011; font: 1.5rem/1 "Cormorant Garamond", serif; }.lexicon-alphabet { display: flex; flex-wrap: wrap; gap: 6px; margin: 19px 0 10px; }.lexicon-alphabet button { min-width: 34px; height: 32px; padding: 0 8px; border: 1px solid rgba(123,81,18,.19); border-radius: 9px; background: #fffaf0; color: #644920; cursor: pointer; font: 800 .7rem "Manrope", sans-serif; transition: background .16s ease, color .16s ease, transform .16s ease; }.lexicon-alphabet button:hover, .lexicon-alphabet button.is-active { background: #eeb51c; color: #2a211b; transform: translateY(-1px); }.lexicon-result-count { margin: 0 0 17px; color: #6d6054; font-size: .82rem; }.lexicon-result-count strong { color: #a66d0b; }.lexicon-groups { display: grid; gap: 18px; }.lexicon-letter { scroll-margin-top: 145px; }.lexicon-letter > header { display: flex; align-items: baseline; gap: 11px; margin-bottom: 9px; padding-bottom: 7px; border-bottom: 1px solid rgba(68,46,23,.1); }.lexicon-letter > header span { color: #b2760e; font: 2rem/1 "Bebas Neue", "Oswald", sans-serif; }.lexicon-letter > header p { margin: 0; color: #7d6c5c; font-size: .73rem; font-weight: 750; }.lexicon-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.lexicon-term { min-height: 126px; padding: 15px; border: 1px solid rgba(58,40,21,.1); border-radius: 16px; background: #fffefa; }.lexicon-term:nth-child(3n+2) { background: #f3f7ed; }.lexicon-term:nth-child(3n) { background: #fdf0d2; }.lexicon-term > div { display: flex; gap: 10px; align-items: start; justify-content: space-between; }.lexicon-term h3 { margin: 0; color: #2b211b; font-size: 1rem; line-height: 1.18; }.lexicon-term span { flex: 0 0 auto; padding: 4px 6px; border-radius: 999px; background: rgba(255,255,255,.7); color: #8b651d; font-size: .57rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }.lexicon-term p { margin: 9px 0 0; color: #67594e; font-size: .82rem; line-height: 1.45; }.lexicon-empty { margin: 16px 0 0; padding: 14px; border-radius: 14px; background: #f9ecd1; color: #65471e; font-weight: 750; }.lexicon-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 26px; border: 1px solid rgba(42,31,20,.1); border-radius: 24px; background: linear-gradient(110deg, #2b211b, #5a3924); }.lexicon-help .eyebrow, .lexicon-help h2 { color: #fff8eb; }.lexicon-help > div > p:not(.eyebrow) { max-width: 780px; margin: 10px 0 0; color: #e8d8c3; line-height: 1.52; }.lexicon-help .btn { white-space: nowrap; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 800px) { body[data-page="petanque-lexicon"] .lexicon-page { width: min(calc(100% - 20px), 1400px); }.lexicon-hero { grid-template-columns: 1fr; padding: 22px; }.lexicon-hero-photo { width: min(100%, 300px); justify-self: start; }.lexicon-directory { padding: 18px; }.lexicon-directory-heading, .lexicon-help { grid-template-columns: 1fr; gap: 14px; }.lexicon-terms { grid-template-columns: 1fr; }.lexicon-help .btn { width: fit-content; }.lexicon-alphabet { gap: 5px; }.lexicon-alphabet button { min-width: 31px; } }

@media (max-width: 800px) { .laboratory-focus-panel { grid-template-columns: 84px minmax(0, 1fr); gap: 11px; }.laboratory-focus-panel > img { width: 84px; height: 84px; }.laboratory-focus-panel h3 { font-size: 1.5rem; }.laboratory-focus-exercise { grid-column: 1 / -1; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(231, 177, 31, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(168, 93, 62, 0.10), transparent 24%),
    linear-gradient(180deg, #f3eadc 0%, #efe4d1 100%);
  font-family: "Manrope", sans-serif;
}

/* Motifs decoratifs petanque */
.results-marquee,
.editorial-lead,
.home-column,
.bridge-card,
.catalog-card,
.media-card,
.community-cta,
.faq-card,
.news-card,
body[data-page="article"] .article-hero-panel,
body[data-page="article"] .article-body-card {
  position: relative;
  overflow: hidden;
}

.results-marquee::before,
.editorial-lead::before,
.home-column::before,
.bridge-card::before,
.catalog-card::before,
.media-card::before,
.community-cta::before,
.faq-card::before,
.news-card::before,
body[data-page="article"] .article-hero-panel::before,
body[data-page="article"] .article-body-card::before {
  content: "";
  position: absolute;
  inset: auto -34px -34px auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 34% 34%, rgba(255,255,255,0.92), rgba(255,255,255,0.12) 24%, transparent 26%),
    radial-gradient(circle at 38% 38%, rgba(228,224,218,0.98) 0%, rgba(169,161,152,0.82) 36%, rgba(93,85,78,0.7) 62%, rgba(26,23,21,0.78) 100%);
  box-shadow:
    inset -10px -12px 18px rgba(0,0,0,0.22),
    inset 8px 8px 12px rgba(255,255,255,0.2);
}

.results-marquee::after,
.editorial-lead::after,
.home-column::after,
.bridge-card::after,
.catalog-card::after,
.media-card::after,
.community-cta::after,
.faq-card::after,
.news-card::after,
body[data-page="article"] .article-hero-panel::after,
body[data-page="article"] .article-body-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(circle at center, rgba(231,177,31,0.88) 0 5px, transparent 6px),
    radial-gradient(circle at center, transparent 0 28px, rgba(23,20,17,0.18) 29px 30px, transparent 31px),
    linear-gradient(rgba(23,20,17,0.14), rgba(23,20,17,0.14)) center/1px 100% no-repeat,
    linear-gradient(90deg, rgba(23,20,17,0.14), rgba(23,20,17,0.14)) center/100% 1px no-repeat;
}

.results-pill,
.story-row,
.community-links a {
  position: relative;
  overflow: hidden;
}

.results-pill::after,
.story-row::after,
.community-links a::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 34%, rgba(255,255,255,0.92), rgba(255,255,255,0.08) 24%, transparent 26%),
    radial-gradient(circle at 38% 38%, rgba(228,224,218,0.96) 0%, rgba(169,161,152,0.78) 34%, rgba(93,85,78,0.66) 60%, rgba(26,23,21,0.72) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* Accessible labels stay available to screen readers without affecting the layout. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell,
.inner-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 20px auto;
  background: rgba(251, 247, 241, 0.88);
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at left center, rgba(231, 177, 31, 0.1), transparent 30%);
}

.site-header.compact {
  border-bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}

.site-header.compact .header-center {
  gap: 8px;
}

.site-header.compact .main-nav {
  gap: 14px;
}

.site-header.compact .language-switcher {
  gap: 7px;
}

.site-header.compact .language-pill {
  width: 42px;
  min-height: 46px;
  padding: 4px 3px 5px;
  border-radius: 16px;
}

.site-header.compact .language-flag {
  width: 21px;
  height: 21px;
}

.site-header.compact .language-label {
  margin-top: 3px;
  font-size: 0.52rem;
}

.site-header.compact .brand-wordmark {
  font-size: 2.8rem;
}

.site-header.compact .brand-mark {
  width: 58px;
  height: 58px;
}

.site-header.compact .brand-ball {
  width: 41px;
  height: 41px;
}

.brand-lockup { display: flex; align-items: center; gap: 16px; min-width: 280px; }
.header-center {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(233,224,210,0.32));
  border: 1px solid rgba(23, 20, 17, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 8px 18px rgba(31, 24, 18, 0.12);
}
.brand-ball {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0.1) 26%, transparent 28%),
    radial-gradient(circle at 34% 32%, #ddd9d5 0%, #b9b2ab 32%, #7e756e 58%, #4f4843 78%, #262320 100%);
  border: 1px solid rgba(255,255,255,0.36);
  box-shadow:
    inset -8px -10px 16px rgba(0,0,0,0.34),
    inset 8px 8px 14px rgba(255,255,255,0.2),
    0 3px 8px rgba(0,0,0,0.2);
}

.brand-ball-core,
.brand-ball-shine,
.brand-ball-line {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.brand-ball-core {
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14);
}

.brand-ball-shine {
  inset: 7px 16px 22px 9px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.86), rgba(255,255,255,0.06) 68%, transparent 70%);
  filter: blur(0.2px);
}

.brand-ball-line {
  content: "";
  inset: 6px;
  border-left: 1.5px solid rgba(255,255,255,0.22);
  border-right: 1.5px solid rgba(0,0,0,0.18);
  opacity: 0.9;
}

.brand-ball-line-a { transform: rotate(12deg); }
.brand-ball-line-b { transform: rotate(-18deg); }
.brand-ball-line-c { transform: rotate(42deg); }

.brand-jack {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe9b0, #e7b11f 58%, #a26f05 100%);
  border: 1px solid rgba(112, 77, 7, 0.45);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.brand-wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.brand-tag {
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.main-nav a::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(23, 20, 17, 0.18);
  transform: translateY(-50%);
}
.main-nav a.active::before,
.main-nav a:hover::before { background: var(--gold); border-color: var(--gold-deep); }

.nav-menu {
  position: relative;
}

.nav-menu summary {
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  list-style: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::before {
  position: absolute;
  top: 50%;
  left: -13px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(23, 20, 17, 0.18);
  border-radius: 50%;
  background: transparent;
  content: "";
  transform: translateY(-50%);
}

.nav-menu summary::after {
  display: inline-block;
  margin-left: 6px;
  color: #9a711d;
  content: "+";
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-menu[open] summary::before,
.nav-menu.active summary::before {
  border-color: var(--gold-deep);
  background: var(--gold);
}

.nav-menu[open] summary::after {
  content: "−";
}

.nav-submenu {
  position: absolute;
  z-index: 65;
  top: calc(100% + 9px);
  left: -18px;
  display: grid;
  width: max-content;
  min-width: 230px;
  gap: 2px;
  padding: 9px;
  border: 1px solid rgba(70, 48, 29, 0.15);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 36px rgba(57, 40, 25, 0.16);
}

.nav-submenu a {
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
}

.nav-submenu a::before {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: #f4e6c9;
  outline: none;
}

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.language-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 52px;
  padding: 5px 4px 6px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238,229,215,0.88));
  border: 1px solid rgba(23,20,17,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.88),
    0 8px 18px rgba(19,15,12,0.1);
  color: #3b342f;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.language-pill.active {
  background: linear-gradient(180deg, rgba(255,248,228,0.98), rgba(247,233,190,0.92));
  border-color: rgba(189,136,18,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.94),
    0 10px 20px rgba(189,136,18,0.18);
}

.language-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(23,20,17,0.12);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.36),
    0 2px 5px rgba(0,0,0,0.12);
}

.language-label {
  display: block;
  margin-top: 4px;
  font-size: 0.56rem;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #564d45;
}

.language-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(189,136,18,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 12px 24px rgba(19,15,12,0.14);
}

.flag-fr {
  background: linear-gradient(90deg, #21468b 0 33.333%, #f6f7fb 33.333% 66.666%, #d4353c 66.666% 100%);
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 44%, #f4f5f9 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, #f4f5f9 44% 56%, transparent 56%),
    linear-gradient(90deg, transparent 47%, #cb2431 47% 53%, transparent 53%),
    linear-gradient(transparent 47%, #cb2431 47% 53%, transparent 53%),
    #1c3f94;
}

.flag-es {
  background: linear-gradient(180deg, #b1242d 0 25%, #f0c632 25% 75%, #b1242d 75% 100%);
}

.flag-it {
  background: linear-gradient(90deg, #1f8f4d 0 33.333%, #f5f5f2 33.333% 66.666%, #c83a3e 66.666% 100%);
}

.flag-de {
  background: linear-gradient(180deg, #171717 0 33.333%, #b3222a 33.333% 66.666%, #f0c53a 66.666% 100%);
}

.flag-pt {
  background: linear-gradient(90deg, #1d7f49 0 40%, #cd323c 40% 100%);
}

.flag-nl {
  background: linear-gradient(180deg, #b22d35 0 33.333%, #f3f4f8 33.333% 66.666%, #244e9c 66.666% 100%);
}

.flag-ca {
  background:
    repeating-linear-gradient(
      180deg,
      #f3cc42 0 14%,
      #c43137 14% 24%,
      #f3cc42 24% 38%
    );
}

.flag-ar {
  background: linear-gradient(180deg, #177245 0 100%);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  justify-content: flex-end;
}
.search-trigger {
  font-size: 0.9rem;
  color: var(--muted);
}
.shop-chip {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #f7efdf;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}

.cart-chip {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(231, 177, 31, 0.14);
  border: 1px solid rgba(189, 136, 18, 0.18);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}

.results-marquee {
  margin: 16px 26px 0;
  padding: 12px 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #171412, #3b2a20 72%, #9e5d38);
  color: #f5ebdc;
  box-shadow: 0 16px 34px rgba(19, 15, 12, 0.16);
}

.results-marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.results-marquee .eyebrow,
.results-marquee .inline-link,
.results-pill span {
  color: rgba(245,235,220,0.82);
}

.results-marquee-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.results-pill {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 100%;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.results-pill-thumb {
  width: 58px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}

.results-pill-copy {
  display: block;
  min-width: 0;
}

.results-pill strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  line-height: 1.28;
}

.results-pill span {
  display: block;
  line-height: 1.34;
  font-size: 0.75rem;
}

.results-pill:hover {
  background: rgba(231,177,31,0.12);
  border-color: rgba(231,177,31,0.3);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 370px;
  margin: 10px 26px 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(23,20,17,0.08);
}

.hero-left {
  padding: 20px 24px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.44), rgba(255,255,255,0.2)),
    url("https://www.transparenttextures.com/patterns/concrete-wall-2.png");
  position: relative;
}
.hero-intro-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}
.hero-welcome {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a7a2a;
  font-weight: 800;
}
.hero-welcome::before {
  content: attr(data-label);
}
.hero-left::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 26px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  opacity: 0.14;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(231,177,31,0.9) 0 6px, transparent 7px),
    radial-gradient(circle at center, transparent 0 42px, rgba(23,20,17,0.16) 43px 44px, transparent 45px),
    radial-gradient(circle at center, transparent 0 62px, rgba(23,20,17,0.1) 63px 64px, transparent 65px),
    linear-gradient(rgba(23,20,17,0.12), rgba(23,20,17,0.12)) center/1px 100% no-repeat,
    linear-gradient(90deg, rgba(23,20,17,0.12), rgba(23,20,17,0.12)) center/100% 1px no-repeat;
}
.hero-right {
  position: relative;
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(19,19,19,0.06), rgba(19,19,19,0.22)),
    radial-gradient(circle at right top, rgba(231, 177, 31, 0.25), transparent 22%);
  min-width: 0;
}
.hero-sight {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(23, 20, 17, 0.16);
  position: relative;
  flex: 0 0 62px;
}
.hero-sight::before,
.hero-sight::after {
  content: "";
  position: absolute;
  background: rgba(23, 20, 17, 0.16);
}
.hero-sight::before { inset: 50% 11px auto; height: 1px; }
.hero-sight::after { inset: 11px auto 11px 50%; width: 1px; }
.hero-sight-dot {
  position: absolute;
  inset: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--gold-deep);
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
}

h1, h2, h3 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.225rem, 4vw, 3.425rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 680px;
  text-transform: uppercase;
}

.hero-copy {
  margin: 12px 0 0;
  max-width: 660px;
  font-size: 0.92rem;
  line-height: 1.48;
  color: #312c28;
}

.hero-note {
  margin: 10px 0 0;
  max-width: 640px;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #6a6058;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(23,20,17,0.08);
  color: #201b17;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-quicklinks a:hover {
  background: rgba(231,177,31,0.14);
  border-color: rgba(231,177,31,0.34);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-ghost { border-color: rgba(23, 20, 17, 0.14); background: rgba(255,255,255,0.5); }
.btn-dark { background: var(--charcoal); color: #f7efdf; }
.btn-green { background: #5dbb63; color: #08170a; }
.btn-red { background: #df4b43; color: #fff4ef; }

.hero-stats {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-stats div {
  min-width: 112px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(23,20,17,0.08);
}
.hero-stats strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.hero-stats span {
  color: var(--muted);
  font-size: 0.74rem;
}

.hero-left-panels {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.hero-welcome-card {
  padding: 18px;
}

.hero-left-bridge {
  padding: 0;
}

.hero-left-bridge.software-bridge {
  gap: 12px;
}

.hero-left-bridge .bridge-card {
  padding: 15px 16px;
  border-radius: 24px;
}

.hero-left-bridge .bridge-card h2 {
  font-size: clamp(1.42rem, 1.95vw, 1.82rem);
  margin: 5px 0 8px;
}

.hero-left-bridge .bridge-card p {
  font-size: 0.88rem;
  line-height: 1.42;
}

.hero-left-bridge .bridge-actions {
  margin-top: 10px;
  gap: 8px;
}

.hero-left-bridge .bridge-actions .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.74rem;
}

.hero-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(231,177,31,0.55);
  background: rgba(0,0,0,0.42);
  color: #f3df9b;
  text-align: center;
  font-size: 0.52rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero-feature-card,
.hero-side-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(23,20,17,0.08);
  color: inherit;
}

.hero-feature-card {
  min-height: 288px;
  background: linear-gradient(135deg, rgba(18,17,16,0.82), rgba(18,17,16,0.42));
}

.hero-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.hero-feature-card-paquita img {
  object-position: center 10%;
  transform: scale(1);
}

.hero-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,16,0.04), rgba(18,17,16,0.82));
}

.hero-feature-copy {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 1;
  display: block;
  max-width: min(470px, calc(100% - 36px));
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(20,19,19,0.72);
  border: 1px solid rgba(231,177,31,0.18);
  color: #f5e8c2;
}

.hero-feature-kicker {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ceb463;
}

.hero-feature-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 0.95rem;
  line-height: 1.18;
}

.hero-feature-copy small {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: rgba(245,232,194,0.84);
}

.hero-side-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-facebook-stack {
  display: grid;
  gap: 12px;
  padding: 4px 2px 2px;
}

.hero-facebook-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-facebook-stack-head a {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 800;
}

.hero-facebook-stack-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  min-height: 0;
  padding: 6px 0 10px;
}

.hero-facebook-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 330px;
  padding: 14px 14px 16px;
  border-radius: 24px;
  color: #f8f0e2;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.hero-facebook-card::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  opacity: 0.2;
  background:
    radial-gradient(circle at 34% 34%, rgba(255,255,255,0.92), rgba(255,255,255,0.08) 24%, transparent 26%),
    radial-gradient(circle at 38% 38%, rgba(228,224,218,0.96) 0%, rgba(169,161,152,0.74) 34%, rgba(93,85,78,0.66) 60%, rgba(26,23,21,0.72) 100%);
}

.hero-facebook-card-1 {
  background: linear-gradient(135deg, #1b1816, #3d271c 100%);
  transform: rotate(-3deg) translateX(8px);
  z-index: 1;
}

.hero-facebook-card-2 {
  background: linear-gradient(135deg, #14181e, #25415b 100%);
  transform: translateY(10px);
  z-index: 3;
}

.hero-facebook-card-3 {
  background: linear-gradient(135deg, #161613, #5c4218 100%);
  transform: rotate(3deg) translateX(-8px);
  z-index: 2;
}

.hero-facebook-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(242,196,12,0.4);
  box-shadow: 0 24px 42px rgba(0,0,0,0.24);
  z-index: 5;
}

.hero-facebook-card-badge,
.hero-facebook-card-kicker {
  position: relative;
  z-index: 1;
}

.hero-facebook-card-top {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-facebook-card-thumb {
  width: 100%;
  height: 156px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 18px rgba(0,0,0,0.22);
}

.hero-facebook-card-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.94);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: absolute;
  left: 10px;
  bottom: 10px;
  backdrop-filter: blur(8px);
  color: #6f4b06;
  border: 1px solid rgba(189, 136, 18, 0.22);
  box-shadow: 0 8px 18px rgba(19, 15, 12, 0.14);
}

.hero-facebook-card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f2c40c;
}

.hero-facebook-card strong,
.hero-facebook-card small {
  position: relative;
  z-index: 1;
}

.hero-facebook-card strong {
  font-size: 1.04rem;
  line-height: 1.22;
}

.hero-facebook-card-metrics,
.hero-facebook-card-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.7rem;
}

.hero-facebook-card-metrics {
  color: #6f5c4a;
}

.hero-facebook-card-metrics span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
}

.hero-facebook-card-links {
  margin-top: auto;
  padding-top: 2px;
}

.hero-facebook-card-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(142,103,16,0.28);
  border-radius: 999px;
  color: #6f4b06;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.hero-facebook-card-links a:last-child {
  background: #1f1916;
  border-color: #1f1916;
  color: #fff8ed;
}

.hero-facebook-card small {
  color: rgba(248,240,226,0.82);
  line-height: 1.5;
  font-size: 0.88rem;
}

.hero-side-card {
  min-height: 124px;
  padding: 14px;
  background: rgba(255,255,255,0.52);
}

.hero-side-card::before {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.hero-side-card-book::before {
  background:
    radial-gradient(circle at center, rgba(231,177,31,0.95) 0 5px, transparent 6px),
    radial-gradient(circle at center, transparent 0 22px, rgba(23,20,17,0.16) 23px 24px, transparent 25px);
}

.hero-side-card-video::before {
  background: radial-gradient(circle at center, rgba(81,144,209,0.42), rgba(81,144,209,0.08) 68%, transparent 72%);
}

.hero-side-card-soft::before {
  background: radial-gradient(circle at center, rgba(158,93,56,0.36), rgba(158,93,56,0.08) 68%, transparent 72%);
}

.hero-side-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.18;
}

.hero-side-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.entry-grid,
.showcase-block,
.content-ribbon,
.hub-grid,
.manifesto-band,
.page-main {
  padding: 26px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: rgba(255,255,255,0.18);
  border-top: 1px solid var(--line);
}
.entry-card,
.hub-card,
.catalog-card,
.tool-card,
.news-card,
.video-card,
.rule-panel,
.universe-manifesto {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}
.entry-card h2,
.section-heading h2,
.manifesto-band h2,
.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}
.entry-card h2 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.entry-card p {
  color: var(--muted);
  line-height: 1.65;
}
.entry-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.home-editorial,
.home-columns,
.software-bridge,
.software-focus,
.pricing-section,
.trial-section,
.software-split {
  padding: 22px;
}
.home-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}
.editorial-lead,
.home-column,
.bridge-card,
.software-sale-card,
.pricing-card,
.trial-card,
.split-panel {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}
.editorial-lead h2,
.home-column h2,
.bridge-card h2,
.software-sale-card h2,
.trial-card h2,
.split-panel h2,
.pricing-card h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}
.editorial-lead h2,
.bridge-card h2,
.software-sale-card h2,
.trial-card h2,
.split-panel h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  margin: 6px 0 10px;
}
.editorial-lead p,
.bridge-card p,
.software-sale-card p,
.trial-card p,
.split-panel p {
  font-size: 0.92rem;
}
.editorial-actions,
.bridge-actions,
.trial-actions,
.software-cta-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.editorial-rail {
  display: grid;
  gap: 10px;
}
.editorial-chip {
  display: block;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(240,230,213,0.82));
  border: 1px solid rgba(23,20,17,0.08);
}
.editorial-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.editorial-chip span,
.editorial-lead p,
.bridge-card p,
.software-sale-card p,
.trial-card p,
.split-panel p {
  color: var(--muted);
  line-height: 1.5;
}
.home-columns,
.software-bridge,
.software-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-duo-band,
.home-discovery-band,
.home-paquita-band {
  padding: 24px 22px 0;
}

.home-band-heading {
  margin-bottom: 16px;
}

.home-band-heading h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.home-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.duo-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #1b1b1b, #171717);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f7f0e4;
  box-shadow: 0 18px 34px rgba(17, 14, 12, 0.18);
}

.duo-copy h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.94;
  text-transform: uppercase;
  margin: 8px 0 12px;
}

.duo-copy p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.58;
  color: rgba(247,240,228,0.78);
}

.duo-card .entry-kicker {
  color: #ff5a48;
  letter-spacing: 0.14em;
}

.duo-card .btn {
  margin-top: 18px;
}

.duo-book-visual {
  position: relative;
  min-height: 180px;
}

.duo-book {
  position: absolute;
  width: 118px;
  border-radius: 14px;
  box-shadow: 0 20px 34px rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.1);
}

.duo-book-1 { left: 0; top: 20px; transform: rotate(-10deg); }
.duo-book-2 { left: 34px; top: 2px; z-index: 2; }
.duo-book-3 { left: 74px; top: 22px; transform: rotate(8deg); }

.duo-soft-stack {
  display: grid;
  gap: 8px;
  align-content: start;
}

.duo-soft-stack span {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.86rem;
  font-weight: 700;
}

.duo-card-software .entry-kicker {
  color: #ff6d56;
}

.bridge-card-atlas {
  overflow: hidden;
  padding-top: 12px;
  padding-bottom: 12px;
}

.bridge-card-atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
}

.bridge-card-atlas-copy {
  min-width: 0;
}

.bridge-card-atlas-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 7px;
}

.bridge-card-atlas-visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(231,177,31,0.18), transparent 20%),
    radial-gradient(circle at 22% 82%, rgba(120,88,48,0.1), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(245,233,205,0.45));
  border: 1px solid rgba(189, 136, 18, 0.14);
}

.bridge-card-atlas-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 176px;
  object-fit: cover;
  object-position: 74% 50%;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(77, 52, 18, 0.16);
}

.bridge-card-atlas .bridge-actions { margin-top: 10px; }

.atlas-map-shape {
  fill: url(#atlasMapFill);
  stroke: rgba(84, 58, 22, 0.28);
  stroke-width: 4;
  filter: url(#atlasGlow);
}

.atlas-map-lines path {
  fill: none;
  stroke: rgba(84, 58, 22, 0.14);
  stroke-width: 3;
  stroke-linecap: round;
}

.atlas-map-pins path {
  fill: #171411;
}

.atlas-map-pins circle {
  fill: #f2b62d;
}

.atlas-map-pulse circle:first-child {
  fill: rgba(242, 182, 45, 0.32);
}

.atlas-map-pulse circle:last-child {
  fill: none;
  stroke: rgba(242, 182, 45, 0.24);
  stroke-width: 2;
}

.bridge-card-software-media {
  overflow: hidden;
}

.bridge-card-software-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
}

.bridge-card-software-copy {
  min-width: 0;
}

.bridge-card-software-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.bridge-card-software-visual::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 20%, rgba(231,177,31,0.22), transparent 20%),
    radial-gradient(circle at 28% 78%, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.bridge-card-software-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 150px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 34px rgba(0,0,0,0.32);
  transform: rotate(-7deg);
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.discovery-card {
  display: block;
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #191919, #151515);
  color: #f7f0e4;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 28px rgba(17, 14, 12, 0.14);
}

.discovery-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.discovery-card span {
  display: block;
  color: rgba(247,240,228,0.74);
  line-height: 1.48;
  font-size: 0.92rem;
}

.discovery-card-video { box-shadow: inset 0 3px 0 #ff4a43; }
.discovery-card-rules { box-shadow: inset 0 3px 0 #4fa8ff; }
.discovery-card-tools { box-shadow: inset 0 3px 0 #2fd07c; }
.discovery-card-calendar { box-shadow: inset 0 3px 0 #b36cff; }

.home-paquita-band {
  padding-bottom: 6px;
}

.paquita-band-copy {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.72;
  color: #2d2926;
}

.paquita-community-callout {
  display: block;
  margin-top: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1a1715, #241d19 68%, #53311e);
  border: 1px solid rgba(231,177,31,0.16);
  color: #f7efdf;
  text-align: center;
}

.paquita-community-kicker {
  display: block;
  color: #f0bf2d;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.paquita-community-callout strong {
  display: block;
  margin-top: 10px;
  font-size: 1.12rem;
  line-height: 1.6;
}
.paquita-community-socials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 18px auto 0;
}
.paquita-community-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff6ea;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.paquita-community-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(231,177,31,0.5);
}
.paquita-community-social-link .community-social-mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.paquita-community-social-link .community-social-mark img {
  width: 13px;
  height: 13px;
}
@media (max-width: 640px) {
  .paquita-community-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .paquita-community-social-link:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 46%;
  }
}

.home-faq-band .faq-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.home-faq-band .section-heading h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.story-table {
  display: grid;
  gap: 10px;
}
.story-row {
  display: grid;
  grid-template-columns: 42px 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(23,20,17,0.08);
}
.story-row img {
  width: 96px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}
.story-rank {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  text-align: center;
}
.story-copy strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 4px;
}
.story-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.home-content-boards {
  display: grid;
  gap: 22px;
  padding: 22px;
}
.home-content-board {
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 98% 5%, rgba(231,177,31,0.12), transparent 18%),
    rgba(255,255,255,0.68);
  border: 1px solid rgba(23,20,17,0.09);
  box-shadow: 0 12px 28px rgba(21,17,13,0.05);
}
.home-content-board .section-heading {
  margin-bottom: 16px;
}
.home-content-board .section-heading h2 {
  margin: 5px 0 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.home-square-feed {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.home-square-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 184px;
  overflow: hidden;
  border-radius: 16px;
  background: #fffdfa;
  border: 1px solid rgba(23,20,17,0.1);
  box-shadow: 0 8px 18px rgba(21,17,13,0.07);
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.home-square-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189,136,18,0.4);
  box-shadow: 0 15px 28px rgba(21,17,13,0.13);
}
.home-square-card img {
  width: 100%;
  height: 94px;
  object-fit: cover;
  background: #eee7db;
}
.home-square-card-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px 10px 12px;
}
.home-square-card-copy small {
  color: #8c6710;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}
.home-square-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #241f1c;
  font-size: 0.84rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-video-square-card {
  min-height: 164px;
}
.home-video-square-card img {
  height: 100px;
}
.home-square-play {
  position: absolute;
  top: 72px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edb51c;
  color: #211710;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .home-square-feed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .home-content-boards { padding: 16px 14px; gap: 16px; }
  .home-content-board { padding: 16px; border-radius: 20px; }
  .home-square-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-square-card { min-height: 172px; }
}
.bridge-paid {
  background: linear-gradient(135deg, #1c1815, #32261f);
  color: #f5eadb;
}
.bridge-paid p,
.bridge-paid .entry-kicker,
.split-panel-paid p {
  color: rgba(245,234,219,0.82);
}
.bridge-free {
  background:
    radial-gradient(circle at top right, rgba(231,177,31,0.18), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(231,177,31,0.16));
}
.software-sale-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #191613, #2b221d 70%, #7c532f 100%);
  color: #f5ebdb;
}
.software-sale-card p,
.software-sale-note,
.software-note,
.software-sale-card .entry-kicker,
.software-sale-card li {
  color: rgba(245,235,219,0.84);
}
.software-sale-visual img {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 44px rgba(0,0,0,0.3);
}
.software-sale-visual span {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(245,235,219,0.82);
}
.software-benefits {
  margin: 18px 0 0;
  padding-left: 18px;
}
.software-benefits li {
  margin-bottom: 8px;
}
.software-cta-grid .btn {
  min-width: 220px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pricing-card h3 {
  font-size: 2.8rem;
  margin: 8px 0 10px;
}
.pricing-card-best {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(231,177,31,0.24));
}
.split-panel-paid {
  background: linear-gradient(135deg, #181513, #2a211b);
}
.split-panel-free {
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(231,177,31,0.14));
}

/* The software page keeps the product screenshot dark, while the page itself
   follows the light ivory visual language used by the rest of the site. */
body[data-page="logiciels"] .software-landing-hero {
  position: relative;
  isolation: isolate;
  margin: 8px 26px 18px;
  padding: 30px 112px 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(176, 128, 30, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 16%, rgba(71, 191, 102, 0.16), transparent 20%),
    radial-gradient(circle at 82% 100%, rgba(231, 177, 31, 0.2), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #faefd9 100%);
  box-shadow: 0 16px 38px rgba(62, 42, 25, 0.08);
}

body[data-page="logiciels"] .software-landing-hero::before,
body[data-page="logiciels"] .software-landing-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

body[data-page="logiciels"] .software-landing-hero::before {
  width: 280px;
  height: 280px;
  right: -108px;
  top: -134px;
  border: 1px solid rgba(170, 123, 30, 0.18);
  box-shadow: inset 0 0 0 36px rgba(255, 255, 255, 0.2);
}

body[data-page="logiciels"] .software-landing-hero::after {
  width: 14px;
  height: 14px;
  right: 92px;
  bottom: 38px;
  background: var(--gold);
  box-shadow: 0 0 0 11px rgba(231, 177, 31, 0.14);
}

body[data-page="logiciels"] .software-landing-copy {
  max-width: 980px;
}

@media (min-width: 721px) {
  body[data-page="logiciels"] .software-landing-copy {
    margin: 0 auto;
    text-align: center;
  }

  body[data-page="logiciels"] .software-landing-hero h1,
  body[data-page="logiciels"] .software-landing-lead {
    margin-left: auto;
    margin-right: auto;
  }

  body[data-page="logiciels"] .software-landing-points,
  body[data-page="logiciels"] .software-landing-actions {
    justify-content: center;
  }
}

body[data-page="logiciels"] .software-landing-ribbon {
  display: table;
  margin: 0 auto 14px;
  padding: 9px 14px;
  border-radius: 2px;
  background: #81502e;
  color: #fff9ef;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(75, 43, 23, 0.13);
}

body[data-page="logiciels"] .software-landing-hero .eyebrow {
  margin-bottom: 6px;
  color: #24833e;
}

body[data-page="logiciels"] .software-landing-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #251d18;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 5.55rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

body[data-page="logiciels"] .software-landing-lead {
  max-width: 840px;
  margin: 16px 0 0;
  color: #55483e;
  font-size: 1.02rem;
  line-height: 1.65;
}

body[data-page="logiciels"] .software-landing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

body[data-page="logiciels"] .software-landing-points li {
  color: #4e4035;
  font-size: 0.88rem;
  font-weight: 700;
}

body[data-page="logiciels"] .software-landing-points li::before {
  margin-right: 6px;
  color: #249144;
  content: "✓";
  font-size: 1.05em;
  font-weight: 900;
}

body[data-page="logiciels"] .software-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body[data-page="logiciels"] .software-landing-actions .btn {
  min-height: 46px;
}

body[data-page="logiciels"] .software-landing-actions .btn-green {
  background: #49c66a;
  color: #102614;
}

body[data-page="logiciels"] .software-landing-actions .btn-warm {
  background: #c4764b;
  color: #fffaf2;
}

body[data-page="logiciels"] .software-landing-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="logiciels"] .software-landing-note {
  margin: 12px 0 0;
  color: #78685b;
  font-size: 0.83rem;
}

body[data-page="logiciels"] .software-journey {
  display: flex;
  width: min(100% - 52px, 1180px);
  gap: 8px;
  margin: 0 auto 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(111, 76, 38, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 10px 24px rgba(62, 42, 25, 0.06);
  scrollbar-width: thin;
}

body[data-page="logiciels"] .software-journey a {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  color: #4a3b31;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body[data-page="logiciels"] .software-journey a:hover,
body[data-page="logiciels"] .software-journey a:focus-visible {
  background: #2a201a;
  color: #fffaf2;
  outline: none;
  transform: translateY(-1px);
}

body[data-page="logiciels"] .software-journey span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #e9b517;
  color: #2a201a;
  font-size: 0.67rem;
}

body[data-page="logiciels"] .software-download-tab {
  position: fixed;
  z-index: 70;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 102px;
  min-height: 142px;
  padding: 12px 8px;
  transform: translateY(-50%);
  border-radius: 16px 0 0 16px;
  background: #49c66a;
  box-shadow: 0 12px 24px rgba(33, 111, 54, 0.22);
  color: #102614;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.035em;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
}

body[data-page="logiciels"] .software-download-tab span {
  display: block;
  font-family: inherit;
  font-size: 2rem;
  line-height: 0.8;
}

body[data-page="logiciels"] .page-hero-soft {
  min-height: 196px;
  color: var(--ink);
  background:
    linear-gradient(100deg, rgba(255, 252, 246, 0.96) 0%, rgba(255, 249, 238, 0.91) 48%, rgba(255, 245, 222, 0.62) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80") center/cover;
  border: 1px solid rgba(176, 128, 30, 0.22);
  box-shadow: 0 16px 38px rgba(62, 42, 25, 0.08);
}

body[data-page="logiciels"] .page-hero-soft .eyebrow {
  color: #8d6518;
}

body[data-page="logiciels"] .page-hero-soft h1 {
  max-width: 820px;
  color: #241c17;
}

body[data-page="logiciels"] .page-hero-soft p:last-child {
  color: #5f5147;
}

body[data-page="logiciels"] .software-focus,
body[data-page="logiciels"] .pricing-section,
body[data-page="logiciels"] .trial-section,
body[data-page="logiciels"] .software-split {
  padding-top: 14px;
  padding-bottom: 14px;
}

body[data-page="logiciels"] .software-sale-card {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 26px;
  padding: 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 100%, rgba(231, 177, 31, 0.19), transparent 28%),
    linear-gradient(125deg, #fffdf8 0%, #f7ead1 100%);
  border: 1px solid rgba(176, 128, 30, 0.28);
  box-shadow: 0 16px 38px rgba(62, 42, 25, 0.1);
}

body[data-page="logiciels"] .software-sale-card h2 {
  color: #2a201a;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

body[data-page="logiciels"] .software-sale-card p,
body[data-page="logiciels"] .software-sale-card .entry-kicker,
body[data-page="logiciels"] .software-sale-card li,
body[data-page="logiciels"] .software-sale-visual span {
  color: #5b4d43;
}

body[data-page="logiciels"] .software-sale-card .entry-kicker {
  color: #8d6518;
}

body[data-page="logiciels"] .software-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: 16px;
  padding-left: 18px;
}

body[data-page="logiciels"] .software-benefits li {
  margin: 0;
}

body[data-page="logiciels"] .software-sale-visual {
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, #31261f, #171310);
  box-shadow: 0 16px 30px rgba(44, 30, 18, 0.22);
}

body[data-page="logiciels"] .software-sale-visual img {
  display: block;
  width: 100%;
  border-color: rgba(231, 177, 31, 0.38);
  box-shadow: none;
}

body[data-page="logiciels"] .software-sale-visual span {
  display: block;
  margin: 9px 4px 2px;
  color: rgba(255, 245, 229, 0.8);
}

body[data-page="logiciels"] .software-cta-grid .btn {
  min-width: 0;
}

body[data-page="logiciels"] .software-cta-grid .btn-green {
  background: var(--gold);
  color: #241b13;
}

body[data-page="logiciels"] .software-cta-grid .btn-red {
  background: #a8643b;
  color: #fff9ef;
}

body[data-page="logiciels"] .software-cta-grid .btn-dark {
  background: #35271f;
  color: #fff9ef;
}

body[data-page="logiciels"] .pricing-card,
body[data-page="logiciels"] .trial-card,
body[data-page="logiciels"] .split-panel,
body[data-page="logiciels"] .software-card,
body[data-page="logiciels"] .seo-brief {
  background: rgba(255, 253, 248, 0.84);
  border-color: rgba(78, 56, 39, 0.12);
  box-shadow: 0 12px 28px rgba(62, 42, 25, 0.07);
}

body[data-page="logiciels"] .pricing-card-best,
body[data-page="logiciels"] .split-panel-free {
  background: linear-gradient(135deg, #fffdf8, #f7e7bf);
}

body[data-page="logiciels"] .pricing-grid {
  gap: 16px;
}

body[data-page="logiciels"] .pricing-card {
  position: relative;
  min-height: 238px;
  padding: 25px 26px 22px;
  overflow: hidden;
  border: 1px solid rgba(87, 61, 39, 0.22);
  background: linear-gradient(135deg, #fffefa, #f2e6d4);
  box-shadow: 0 16px 30px rgba(62, 42, 25, 0.1);
}

body[data-page="logiciels"] .pricing-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #81502e;
  content: "";
}

body[data-page="logiciels"] .pricing-card .entry-kicker {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(129, 80, 46, 0.12);
  color: #70431f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-page="logiciels"] .pricing-card h3 {
  margin: 14px 0 8px;
  color: #302219;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.9rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.9;
}

body[data-page="logiciels"] .pricing-card > p {
  max-width: 520px;
  color: #605044;
  line-height: 1.48;
}

body[data-page="logiciels"] .pricing-card .pricing-fit {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(87, 61, 39, 0.13);
  color: #80631f;
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-page="logiciels"] .pricing-card .btn {
  margin-top: 7px;
  border-color: transparent;
  background: #35271f;
  color: #fffaf1;
}

body[data-page="logiciels"] .pricing-card-best {
  transform: translateY(-6px);
  border-color: rgba(183, 130, 20, 0.5);
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.6), transparent 25%),
    linear-gradient(135deg, #fff6d8, #efc856);
  box-shadow: 0 20px 38px rgba(154, 105, 18, 0.2);
}

body[data-page="logiciels"] .pricing-card-best::before {
  height: 8px;
  background: #43bd65;
}

body[data-page="logiciels"] .pricing-card-best .entry-kicker {
  background: #43bd65;
  color: #102614;
}

body[data-page="logiciels"] .pricing-card-best .btn {
  background: #267d40;
  box-shadow: 0 10px 18px rgba(29, 104, 50, 0.22);
}

body[data-page="logiciels"] .pricing-card-best .pricing-fit {
  border-color: rgba(72, 104, 42, 0.26);
  color: #275f39;
}

body[data-page="logiciels"] .split-panel-paid {
  color: var(--ink);
  background: linear-gradient(135deg, #f4e7cf, #e6c38d);
}

body[data-page="logiciels"] .split-panel-paid p,
body[data-page="logiciels"] .split-panel-paid .entry-kicker {
  color: #5b4d43;
}

body[data-page="logiciels"] .software-gallery-section,
body[data-page="logiciels"] .software-updates,
body[data-page="logiciels"] .software-features,
body[data-page="logiciels"] .software-language-gallery,
body[data-page="logiciels"] .software-steps {
  width: min(100% - 52px, 1180px);
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid rgba(78, 56, 39, 0.12);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 12px 28px rgba(62, 42, 25, 0.07);
}

body[data-page="logiciels"] .software-gallery-section .section-heading,
body[data-page="logiciels"] .software-updates .section-heading,
body[data-page="logiciels"] .software-features .section-heading,
body[data-page="logiciels"] .software-language-gallery .section-heading,
body[data-page="logiciels"] .software-steps .section-heading {
  align-items: flex-start;
}

body[data-page="logiciels"] .software-gallery-section .section-heading > p,
body[data-page="logiciels"] .software-updates .section-heading > p,
body[data-page="logiciels"] .software-features .section-heading > p,
body[data-page="logiciels"] .software-language-gallery .section-heading > p,
body[data-page="logiciels"] .software-steps .section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

body[data-page="logiciels"] .software-thumb-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="logiciels"] .software-thumb,
body[data-page="logiciels"] .software-language-shot {
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(78, 56, 39, 0.13);
  border-radius: 16px;
  background: #fffdf8;
  color: var(--ink);
  cursor: zoom-in;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="logiciels"] .software-thumb:hover,
body[data-page="logiciels"] .software-thumb:focus-visible,
body[data-page="logiciels"] .software-language-shot:hover,
body[data-page="logiciels"] .software-language-shot:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(176, 128, 30, 0.58);
  box-shadow: 0 12px 22px rgba(62, 42, 25, 0.14);
  outline: none;
}

body[data-page="logiciels"] .software-thumb img,
body[data-page="logiciels"] .software-language-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
}

body[data-page="logiciels"] .software-thumb span,
body[data-page="logiciels"] .software-language-shot span {
  display: block;
  padding: 8px 2px 1px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

body[data-page="logiciels"] .software-update-feature {
  margin-bottom: 12px;
  padding: 19px 20px;
  border: 1px solid rgba(55, 157, 80, 0.35);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(73, 198, 106, 0.14), rgba(231, 177, 31, 0.12));
}

body[data-page="logiciels"] .software-update-feature h3,
body[data-page="logiciels"] .software-update-grid h3,
body[data-page="logiciels"] .software-feature-group h3,
body[data-page="logiciels"] .software-feature-grid h4,
body[data-page="logiciels"] .software-step-grid h3 {
  margin: 0;
}

body[data-page="logiciels"] .software-update-feature h3 {
  color: #277d41;
  font-size: 1.2rem;
}

body[data-page="logiciels"] .software-update-feature h3 span {
  color: #9a711d;
}

body[data-page="logiciels"] .software-update-feature p,
body[data-page="logiciels"] .software-update-grid p,
body[data-page="logiciels"] .software-feature-grid p,
body[data-page="logiciels"] .software-step-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

body[data-page="logiciels"] .software-update-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="logiciels"] .software-update-grid article,
body[data-page="logiciels"] .software-feature-grid article,
body[data-page="logiciels"] .software-step-grid article {
  padding: 16px;
  border: 1px solid rgba(78, 56, 39, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

body[data-page="logiciels"] .software-update-grid h3,
body[data-page="logiciels"] .software-feature-grid h4 {
  color: #3a2b20;
  font-size: 0.96rem;
  line-height: 1.2;
}

body[data-page="logiciels"] .software-update-grid p,
body[data-page="logiciels"] .software-feature-grid p {
  font-size: 0.84rem;
}

body[data-page="logiciels"] .software-feature-group + .software-feature-group {
  margin-top: 20px;
}

body[data-page="logiciels"] .software-feature-group > h3 {
  margin-bottom: 10px;
  color: #8d6518;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="logiciels"] .software-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="logiciels"] .software-language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="logiciels"] .software-language-shot span {
  text-align: center;
  color: #8d6518;
}

body[data-page="logiciels"] .software-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="logiciels"] .software-step-grid article {
  position: relative;
  padding-left: 68px;
}

body[data-page="logiciels"] .software-step-grid strong {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2b20;
}

.software-lightbox {
  width: min(980px, calc(100% - 32px));
  max-height: min(820px, calc(100% - 32px));
  padding: 14px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: #221b16;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #fff9ef;
}

.software-lightbox::backdrop {
  background: rgba(30, 23, 18, 0.7);
  backdrop-filter: blur(5px);
}

.software-lightbox-image {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 12px;
  object-fit: contain;
}

.software-lightbox > div {
  padding: 12px 4px 2px;
}

.software-lightbox > div strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}

.software-lightbox-description {
  margin: 4px 0 0;
  color: rgba(255, 249, 239, 0.76);
}

.software-lightbox-close {
  float: right;
  margin: 0 0 8px 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff9ef;
  cursor: pointer;
  font-weight: 800;
}

body[data-page="logiciels"] .faq-section-accordion {
  width: min(100% - 52px, 1180px);
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(78, 56, 39, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 16%, rgba(231, 177, 31, 0.16), transparent 18%),
    rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 30px rgba(62, 42, 25, 0.08);
}

body[data-page="logiciels"] .faq-section-accordion .section-heading {
  align-items: center;
}

body[data-page="logiciels"] .faq-section-accordion .section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-accordion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faq-accordion-item {
  overflow: hidden;
  border: 1px solid rgba(78, 56, 39, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
}

.faq-accordion-item summary {
  position: relative;
  padding: 15px 46px 15px 16px;
  color: #302219;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary span {
  margin-right: 6px;
  color: #9a711d;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.16rem;
  font-weight: 400;
}

.faq-accordion-item summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #f5e7c7;
  color: #715017;
  content: "+";
  font-size: 1.05rem;
  transform: translateY(-50%);
}

.faq-accordion-item[open] summary {
  border-bottom: 1px solid rgba(78, 56, 39, 0.1);
  background: #fbf1db;
}

.faq-accordion-item[open] summary::after {
  content: "−";
}

.faq-accordion-item p {
  margin: 0;
  padding: 13px 16px 16px;
  color: #66564a;
  line-height: 1.55;
}

@media (max-width: 720px) {
  body[data-page="logiciels"] .faq-section-accordion {
    width: min(100% - 28px, 1180px);
    padding: 18px;
    border-radius: 22px;
  }

  body[data-page="logiciels"] .faq-section-accordion .section-heading {
    display: block;
  }

  body[data-page="logiciels"] .faq-section-accordion .section-heading > p {
    margin-top: 10px;
  }

  .faq-accordion-list {
    grid-template-columns: 1fr;
  }

  body[data-page="logiciels"] .software-gallery-section,
  body[data-page="logiciels"] .software-updates,
  body[data-page="logiciels"] .software-features,
  body[data-page="logiciels"] .software-language-gallery,
  body[data-page="logiciels"] .software-steps {
    width: min(100% - 28px, 1180px);
    padding: 18px;
    border-radius: 22px;
  }

  body[data-page="logiciels"] .software-gallery-section .section-heading,
  body[data-page="logiciels"] .software-updates .section-heading,
  body[data-page="logiciels"] .software-features .section-heading,
  body[data-page="logiciels"] .software-language-gallery .section-heading,
  body[data-page="logiciels"] .software-steps .section-heading {
    display: block;
  }

  body[data-page="logiciels"] .software-gallery-section .section-heading > p,
  body[data-page="logiciels"] .software-updates .section-heading > p,
  body[data-page="logiciels"] .software-features .section-heading > p,
  body[data-page="logiciels"] .software-language-gallery .section-heading > p,
  body[data-page="logiciels"] .software-steps .section-heading > p {
    margin-top: 10px;
  }

  body[data-page="logiciels"] .software-thumb-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="logiciels"] .software-update-grid,
  body[data-page="logiciels"] .software-feature-grid,
  body[data-page="logiciels"] .software-language-grid,
  body[data-page="logiciels"] .software-step-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="logiciels"] .pricing-card,
  body[data-page="logiciels"] .pricing-card-best {
    min-height: 0;
    transform: none;
  }

  body[data-page="logiciels"] .software-landing-hero {
    margin: 8px 14px 14px;
    padding: 22px 18px 18px;
  }

  body[data-page="logiciels"] .software-landing-ribbon {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  body[data-page="logiciels"] .software-landing-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  body[data-page="logiciels"] .software-landing-lead {
    font-size: 0.92rem;
  }

  body[data-page="logiciels"] .software-landing-points {
    gap: 7px 12px;
  }

  body[data-page="logiciels"] .software-landing-points li {
    font-size: 0.76rem;
  }

  body[data-page="logiciels"] .software-landing-actions .btn {
    flex: 1 1 100%;
  }

  body[data-page="logiciels"] .software-download-tab {
    position: static;
    display: inline-flex;
    gap: 8px;
    width: auto;
    min-height: 0;
    margin-top: 16px;
    transform: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
  }

  body[data-page="logiciels"] .software-download-tab br {
    display: none;
  }

  body[data-page="logiciels"] .software-download-tab span {
    font-size: 1.2rem;
  }

  body[data-page="logiciels"] .page-hero-soft {
    min-height: 0;
    padding: 24px 20px;
  }

  body[data-page="logiciels"] .software-sale-card {
    padding: 20px;
    gap: 18px;
  }

  body[data-page="logiciels"] .software-benefits {
    grid-template-columns: 1fr;
  }

  body[data-page="logiciels"] .software-cta-grid .btn {
    width: 100%;
  }
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 2.45rem;
}
.inline-link {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
}
.product-highlight {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}
.product-highlight img {
  max-height: 340px;
  object-fit: contain;
}
.product-highlight h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  margin-bottom: 12px;
}
.product-dark {
  background: linear-gradient(135deg, #181513, #2f2721);
  color: #f4ecdf;
}
.product-gold {
  background: linear-gradient(135deg, #e7bc43, #d79c22 65%, #c08613);
}
.product-copy p:last-of-type { line-height: 1.75; }

.content-ribbon .ribbon-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}
.media-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(250,245,238,0.5));
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(23,20,17,0.08);
}
.media-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.media-card-wide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.media-card-wide img { aspect-ratio: auto; height: 100%; }
.media-copy {
  padding: 18px;
}
.media-copy h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.68rem;
  line-height: 1;
  margin: 8px 0 12px;
}
.media-copy p {
  color: var(--muted);
  line-height: 1.56;
  font-size: 0.92rem;
}
.media-copy a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hub-card img {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 16px;
}
.hub-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 10px;
}
.hub-card p {
  color: var(--muted);
  line-height: 1.65;
}
.hub-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.manifesto-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.manifesto-copy,
.manifesto-quote {
  border-radius: 28px;
  padding: 32px;
}
.manifesto-copy {
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.26));
  border: 1px solid rgba(23,20,17,0.08);
}
.manifesto-copy h2 {
  font-size: 3rem;
  margin-bottom: 14px;
}
.manifesto-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.manifesto-quote {
  background: linear-gradient(135deg, #151313, #2f1f17 72%, #a85d3e);
  color: #f8efe1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manifesto-quote blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  line-height: 0.98;
}
.manifesto-quote span {
  margin-top: 14px;
  color: #d7ba87;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.site-footer {
  background: #151313;
  color: #f6ecdd;
  padding: 0 26px 28px;
}
.community-cta {
  margin-top: 26px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, #171411, #2f2721 60%, #7d5332 100%);
  color: #f5ebdb;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  border: 1px solid rgba(231,177,31,0.16);
}
.community-cta.compact { padding: 22px; }
.community-cta.compact {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.community-cta.compact h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 8px;
}
.community-cta.compact p {
  line-height: 1.55;
}
.community-cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.community-cta p {
  margin: 0;
  color: rgba(245,235,219,0.82);
  line-height: 1.72;
}
.community-actions {
  display: grid;
  gap: 16px;
  align-content: start;
}
.community-cta.compact .community-actions {
  gap: 10px;
}
.community-cta.compact .btn {
  width: fit-content;
}
.community-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.community-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.community-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.community-social-tile {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-height: 92px;
  padding: 13px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff6ea;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.community-social-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(231,177,31,0.5);
  background: rgba(255,255,255,0.14);
}
.community-social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1877f2;
  border: 1px solid rgba(255,255,255,0.22);
}
.community-social-mark img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.community-social-mark.social-facebook { background: #1877f2; }
.community-social-mark.social-instagram { background: radial-gradient(circle at 30% 105%, #ffd46b 0 10%, #f77737 30%, #e1306c 55%, #833ab4 100%); }
.community-social-mark.social-youtube { background: #ff0000; }
.community-social-mark.social-x { background: #ffffff; }
.community-social-mark.social-x img { filter: invert(1); }
.community-social-mark.social-tiktok {
  background: #090909;
  box-shadow: -1px 0 0 #25f4ee, 1px 0 0 #fe2c55;
}
.community-social-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.community-social-copy strong {
  color: #fff6ea;
  font-size: 0.82rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.community-social-copy small {
  color: rgba(245,235,219,0.76);
  font-size: 0.72rem;
  line-height: 1.28;
}
.community-quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f5ebdb;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.community-links a {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.faq-card:nth-child(odd)::after,
.news-card:nth-child(odd)::after,
.catalog-card:nth-child(odd)::after,
.media-card:nth-child(odd)::after,
.home-column:nth-child(odd)::after {
  top: auto;
  bottom: 16px;
  right: 16px;
}

.faq-card:nth-child(even)::after,
.news-card:nth-child(even)::after,
.catalog-card:nth-child(even)::after,
.media-card:nth-child(even)::after,
.home-column:nth-child(even)::after {
  right: auto;
  left: 16px;
}
.community-links strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.community-links span {
  color: rgba(245,235,219,0.72);
  font-size: 0.92rem;
}
.community-cta.community-cta-light {
  background: linear-gradient(135deg, #fffdf8 0%, #fff7df 58%, #f4dfaa 100%);
  border-color: #e7c46c;
  box-shadow: 0 18px 38px rgba(91, 61, 25, 0.12);
  color: #2c211b;
}
.community-cta-light .community-copy .eyebrow {
  color: #9a6a12;
}
.community-cta-light h2 {
  color: #2c211b;
}
.community-cta-light p {
  color: #665646;
}
.community-cta-light .community-links a {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(142, 99, 39, 0.22);
  box-shadow: 0 8px 18px rgba(91, 61, 25, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.community-cta-light .community-links a:hover {
  transform: translateY(-2px);
  border-color: #bd8a22;
  box-shadow: 0 12px 22px rgba(91, 61, 25, 0.14);
}
.community-cta-light .community-links strong {
  color: #2c211b;
}
.community-cta-light .community-links span {
  color: #756250;
}
.footer-community {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 0 0 18px;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-social-column { min-width: 0; }

.footer-stat {
  display: grid;
  gap: 4px;
  flex: 1 1 118px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f6ecdd;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.footer-stat strong {
  font-size: 1.85rem;
  line-height: 1;
  color: #fff7ec;
}

.footer-stat span {
  color: rgba(246,236,221,0.76);
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-stat:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(231,177,31,0.18);
}

.footer-panel strong,
.footer-newsletter strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.34;
}

.footer-newsletter {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 19px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 18%, rgba(231,177,31,0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 102% 98%, rgba(245,235,219,0.12) 0 70px, transparent 71px),
    linear-gradient(135deg, #2a1d16 0%, #432817 100%);
  border: 1px solid rgba(231,177,31,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.footer-newsletter .eyebrow {
  color: #f1c042;
  margin-bottom: 7px;
}
.footer-newsletter strong {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: #fff6ea;
  font-size: 1.14rem;
}

.footer-panel p,
.footer-newsletter p {
  margin: 10px 0 0;
  color: rgba(246,236,221,0.72);
  line-height: 1.58;
  font-size: 0.92rem;
}

.footer-link-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.footer-link-list a {
  color: #f6ecdd;
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-newsletter .footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 15px;
  border-radius: 999px;
  background: #f0bb20;
  color: #201711;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}
.footer-newsletter .footer-cta:hover {
  background: #ffd04a;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: start;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px 8px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff6ea;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(231,177,31,0.5);
}
.footer-social-link .community-social-mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.footer-social-link .community-social-mark img {
  width: 13px;
  height: 13px;
}
.footer-cta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}
.footer-cta {
  display: inline-block;
  margin-top: 12px;
}
.footer-top,
.footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-top {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom {
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.footer-brand { color: #f6ecdd; }

.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(246, 236, 221, .78);
  font-size: .78rem;
  line-height: 1.45;
}

.footer-legal-line nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal-line a {
  color: #f6ecdd;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal-line a:hover { color: var(--gold); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #f0c24a, #d89d16);
  color: #171411;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 18px 34px rgba(15, 12, 10, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top:hover {
  box-shadow: 0 22px 38px rgba(15, 12, 10, 0.3);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-main { padding-top: 0; }
.page-hero {
  min-height: 220px;
  display: grid;
  align-items: end;
  padding: 26px 30px;
  border-radius: 24px;
  margin: 8px 26px 20px;
  color: #fff5e8;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 4.3vw, 4.4rem);
  line-height: 0.94;
  max-width: 760px;
}
.page-hero p:last-child {
  max-width: 660px;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-top: 10px;
}

.page-hero-books { background: linear-gradient(135deg, rgba(18,17,16,0.6), rgba(18,17,16,0.18)), url("https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-soft { background: linear-gradient(135deg, rgba(18,17,16,0.64), rgba(18,17,16,0.26)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-news { background: linear-gradient(135deg, rgba(18,17,16,0.62), rgba(18,17,16,0.28)), url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-video { background: linear-gradient(135deg, rgba(18,17,16,0.66), rgba(18,17,16,0.2)), url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-tools { background: linear-gradient(135deg, rgba(18,17,16,0.66), rgba(168,93,62,0.35)), url("https://images.unsplash.com/photo-1517430816045-df4b7de11d1d?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-rules { background: linear-gradient(135deg, rgba(18,17,16,0.62), rgba(168,93,62,0.18)), url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center/cover; }
.page-hero-universe { background: linear-gradient(135deg, rgba(18,17,16,0.72), rgba(231,177,31,0.18)), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center/cover; }

/* Categories are read from the product taxonomy managed in the admin. */
.shop-category-showcase {
  position: relative;
  margin: 12px 26px 24px;
  padding: 22px 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(112, 83, 41, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(254,250,242,0.98));
  box-shadow: 0 14px 28px rgba(73, 51, 27, 0.05);
}

.shop-category-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}

.shop-category-heading h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  line-height: 1;
  color: #261b14;
}

.shop-category-heading .eyebrow {
  margin: 0;
  color: #9b6612;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shop-category-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 118px;
  align-content: start;
  gap: 6px;
  overflow: hidden;
  padding: 13px 14px 12px;
  border: 1px solid rgba(96, 66, 38, 0.09);
  border-radius: 18px;
  color: #2a1f18;
  text-decoration: none;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,252,247,1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shop-category-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  content: "";
  opacity: 0.9;
}

.shop-category-card::after {
  display: none;
}

.shop-category-card--1 {
  background: linear-gradient(180deg, #fffdf7, #fff9ef);
}
.shop-category-card--2 {
  background: linear-gradient(180deg, #fffaf7, #fff4ef);
}
.shop-category-card--3 {
  background: linear-gradient(180deg, #f8fbf6, #f1f7ee);
}
.shop-category-card--4 {
  background: linear-gradient(180deg, #fbf8f6, #f6f0eb);
}
.shop-category-card--5 {
  background: linear-gradient(180deg, #f7fbfc, #eef7f9);
}
.shop-category-card--6 {
  background: linear-gradient(180deg, #fcfaf6, #f8f2e8);
}
.shop-category-card--7 {
  background: linear-gradient(180deg, #faf7fc, #f3eef8);
}
.shop-category-card--8 {
  background: linear-gradient(180deg, #f8fbf8, #eef6ef);
}

.shop-category-card--1::before { background: #d4a62f; }
.shop-category-card--2::before { background: #b67b4c; }
.shop-category-card--3::before { background: #7f9a69; }
.shop-category-card--4::before { background: #9a7a62; }
.shop-category-card--5::before { background: #5f95a8; }
.shop-category-card--6::before { background: #b89552; }
.shop-category-card--7::before { background: #8d79b8; }
.shop-category-card--8::before { background: #6f9b7a; }

.shop-category-card:hover,
.shop-category-card:focus-visible,
.shop-category-card.is-current {
  transform: translateY(-2px);
  border-color: rgba(181, 120, 17, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,250,240,1));
  box-shadow: 0 10px 18px rgba(78, 51, 19, 0.06);
}

.shop-category-card.is-current { cursor: default; }

.shop-category-index {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(246, 238, 220, 0.95);
  color: #97650e;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(173, 124, 24, 0.13);
}

.shop-category-card--1 .shop-category-index {
  background: rgba(212, 166, 47, 0.12);
  color: #9f6f08;
}

.shop-category-card--2 .shop-category-index {
  background: rgba(182, 123, 76, 0.12);
  color: #8f5b33;
}

.shop-category-card--3 .shop-category-index {
  background: rgba(127, 154, 105, 0.14);
  color: #5e7650;
}

.shop-category-card--4 .shop-category-index {
  background: rgba(154, 122, 98, 0.12);
  color: #7b5c48;
}
.shop-category-card--5 .shop-category-index {
  background: rgba(95, 149, 168, 0.12);
  color: #4d7887;
}
.shop-category-card--6 .shop-category-index {
  background: rgba(184, 149, 82, 0.12);
  color: #8d6c34;
}
.shop-category-card--7 .shop-category-index {
  background: rgba(141, 121, 184, 0.12);
  color: #6d5b95;
}
.shop-category-card--8 .shop-category-index {
  background: rgba(111, 155, 122, 0.14);
  color: #54745b;
}

.shop-category-gift {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 14px;
  border: 1.5px solid #b77b13;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 46%, #b77b13 47% 53%, transparent 54%);
}

.shop-category-gift::before,
.shop-category-gift::after {
  position: absolute;
  top: -6px;
  width: 8px;
  height: 7px;
  border: 1.5px solid #b77b13;
  content: "";
}

.shop-category-gift::before { left: 1px; border-radius: 7px 7px 0 7px; transform: rotate(-18deg); }
.shop-category-gift::after { right: 1px; border-radius: 7px 7px 7px 0; transform: rotate(18deg); }

.shop-category-name {
  max-width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 1.18vw, 1.32rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.shop-category-count,
.shop-category-link {
  position: relative;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shop-category-count { color: #8d651f; }
.shop-category-card--1 .shop-category-count { color: #9f6f08; }
.shop-category-card--2 .shop-category-count { color: #8f5b33; }
.shop-category-card--3 .shop-category-count { color: #5e7650; }
.shop-category-card--4 .shop-category-count { color: #7b5c48; }
.shop-category-card--5 .shop-category-count { color: #4d7887; }
.shop-category-card--6 .shop-category-count { color: #8d6c34; }
.shop-category-card--7 .shop-category-count { color: #6d5b95; }
.shop-category-card--8 .shop-category-count { color: #54745b; }

.shop-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  color: #322114;
  padding: 0;
}

.shop-category-showcase--category { padding-bottom: 18px; }

@media (max-width: 1080px) {
  .shop-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shop-category-showcase { margin: 10px 12px 18px; padding: 18px; border-radius: 24px; }
  .shop-category-heading { gap: 6px; }
  .shop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shop-category-card { min-height: 112px; padding: 12px 12px 11px; border-radius: 16px; }
  .shop-category-name { font-size: 1.02rem; }
}

@media (max-width: 410px) {
  .shop-category-grid { grid-template-columns: 1fr; }
}

.catalog-grid,
.tool-grid,
.video-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-books-showcase {
  padding-top: 20px;
}

.home-books-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-book-card {
  padding: 12px;
  border-radius: 18px;
}

.home-book-card::before {
  width: 96px;
  height: 96px;
  inset: auto -24px -24px auto;
  opacity: 0.14;
}

.home-book-card::after {
  width: 64px;
  height: 64px;
  top: 12px;
  right: 12px;
  opacity: 0.1;
}

.home-book-card img {
  aspect-ratio: 4 / 4.7;
  max-height: 198px;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 14px;
}

.home-book-card h2 {
  font-size: 1.18rem;
  line-height: 1.02;
  margin-bottom: 6px;
}

.home-book-card p {
  font-size: 0.82rem;
  line-height: 1.42;
}

.home-book-card .card-meta {
  margin-top: 10px;
  padding-top: 10px;
}

.home-book-card .card-meta strong,
.home-book-card .card-meta a {
  font-size: 0.88rem;
}
.catalog-card img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(240,230,213,0.72));
  border-radius: 18px;
  margin-bottom: 16px;
}
.catalog-card h2,
.software-card h2,
.feature-article h2,
.video-card h2,
.tool-card h2,
.rule-panel h2,
.universe-manifesto h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 1.35vw, 1.85rem);
  line-height: 0.98;
  margin-bottom: 8px;
}
.catalog-card p,
.software-card p,
.news-card h3,
.video-card h2,
.tool-card p,
.rule-panel p,
.universe-manifesto p {
  line-height: 1.65;
  color: var(--muted);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.catalog-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-cart-form,
.books-add-form,
.product-buy-form {
  margin: 0;
}

.mini-cart-form button,
.product-buy-form button,
.books-add-form button {
  border: 0;
  cursor: pointer;
}

.mini-cart-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(231, 177, 31, 0.14);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.software-grid,
.news-layout {
  display: grid;
  gap: 18px;
}
.software-grid { grid-template-columns: 1.3fr 1fr 1fr; }
.software-card,
.feature-article {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 24px;
  padding: 24px;
}
.software-card.wide {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 24px;
}
.software-card.wide img {
  max-height: 270px;
  object-fit: contain;
}

.feature-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-article img {
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Results keep their editorial context: date, readership and recap are visible before the click. */
.news-layout-results .feature-article-results {
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.feature-article-image,
.news-card-image {
  display: block;
  overflow: hidden;
}

.feature-article-image {
  min-height: 255px;
  border-radius: 18px;
}

.feature-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-layout-results .news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card-results {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0;
  min-height: 172px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}

.news-card-results .news-card-image {
  min-height: 100%;
  background: #e9dfd0;
}

.news-card-results .news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 13px 14px;
}

.result-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 7px;
  color: #98700e;
  font-size: .64rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.news-card-results h3 {
  margin: 0;
  color: #281e18;
  font-size: 1rem;
  line-height: 1.14;
}

.news-card-results h3 a { color: inherit; }

.news-card-results p:not(.result-card-meta) {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 9px;
  color: #6b5d52;
  font-size: .82rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card-read {
  margin-top: auto;
  color: #956406;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.news-card-read span { font-size: .95rem; }

.results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.results-pagination a,
.results-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(136, 95, 13, .22);
  border-radius: 999px;
  color: #795312;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.results-pagination a {
  background: #efb91b;
  color: #2a1d14;
  transition: transform .18s ease, background .18s ease;
}

.results-pagination a:hover { background: #ffd04a; transform: translateY(-2px); }
.results-pagination span { background: rgba(255,255,255,.68); color: #75685c; }

.results-bottom-actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.results-bottom-actions .actualites-newsletter-link { margin: 0; }
.results-bottom-actions .share-band { margin: 0; }

@media (max-width: 700px) {
  .news-layout-results .news-grid { grid-template-columns: 1fr; }
  .news-card-results { grid-template-columns: 88px minmax(0, 1fr); }
  .results-pagination { flex-wrap: wrap; }
}
.atlas-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.atlas-panel {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(23, 20, 17, 0.08);
  box-shadow: 0 16px 34px rgba(20, 18, 16, 0.08);
}
.atlas-panel h2 {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
}
.atlas-map-explorer {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 15%, rgba(231,177,31,0.2), transparent 19%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(248,231,193,0.56));
}
.atlas-map-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 22px;
  background: #f5ead6;
  box-shadow: 0 14px 28px rgba(77,52,18,0.12);
}
.atlas-map-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 68% 50%;
}
.atlas-map-total {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 2px;
  padding: 10px 13px;
  border-radius: 16px;
  background: rgba(28,22,18,0.88);
  color: #fff6ea;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.atlas-map-total strong {
  color: #f3c345;
  font-size: 1.35rem;
  line-height: 1;
}
.atlas-map-copy p:not(.entry-kicker) {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.55;
}
.atlas-directory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
  gap: 12px;
  margin-top: 18px;
}
.atlas-directory-filters label {
  display: grid;
  gap: 6px;
  color: #5d5248;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.atlas-directory-filters input,
.atlas-directory-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(23,20,17,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.atlas-directory-filters input:focus,
.atlas-directory-filters select:focus {
  outline: 2px solid rgba(189,136,18,0.45);
  outline-offset: 2px;
}
.atlas-filter-reset {
  min-height: 36px;
  margin-top: 10px;
  padding: 0 13px;
  border: 1px solid rgba(23,20,17,0.12);
  border-radius: 999px;
  background: transparent;
  color: #5d4310;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.atlas-filter-reset:hover {
  border-color: rgba(189,136,18,0.5);
  background: rgba(231,177,31,0.12);
}
.atlas-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.atlas-highlights span,
.atlas-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(231, 177, 31, 0.18);
  border: 1px solid rgba(189, 136, 18, 0.2);
  color: #5b4307;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.atlas-table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .atlas-map-explorer { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .atlas-map-visual,
  .atlas-map-visual img { min-height: 220px; }
  .atlas-directory-filters { grid-template-columns: 1fr; }
}

/* Official calendar: a compact seasonal dashboard, separate from the generic hubs. */
body[data-page="official-calendar"] .calendar-page-main {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 52px;
}

.calendar-hero,
.calendar-featured,
.calendar-events,
.calendar-resources,
.calendar-results {
  margin-top: 18px;
  border: 1px solid #ead7ad;
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(83, 58, 25, 0.08);
}

.calendar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 182, 38, 0.24), transparent 29%),
    linear-gradient(115deg, #fffdf9 0%, #fff4d5 100%);
}

.calendar-hero h1 { max-width: 860px; margin: 7px 0 12px; font-size: clamp(2.2rem, 4.4vw, 4.85rem); line-height: 0.94; letter-spacing: -0.055em; }
.calendar-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #66584d; font-size: 1.02rem; line-height: 1.55; }
.calendar-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.calendar-hero-panel { position: relative; display: grid; min-height: 205px; place-content: center; overflow: hidden; border: 1px solid rgba(131, 94, 36, 0.18); border-radius: 24px; background: rgba(255, 255, 255, 0.68); text-align: center; }
.calendar-hero-panel strong { position: relative; z-index: 1; color: #ad7900; font-family: var(--font-display, Georgia, serif); font-size: clamp(3rem, 5vw, 5.4rem); line-height: 0.8; }
.calendar-hero-panel span:not(.calendar-orbit) { position: relative; z-index: 1; margin-top: 10px; font-weight: 800; }
.calendar-hero-panel small { position: relative; z-index: 1; margin-top: 6px; color: #796d60; }
.calendar-orbit { position: absolute; border: 1px solid rgba(184, 133, 10, 0.34); border-radius: 50%; }
.calendar-orbit-one { width: 230px; height: 230px; }
.calendar-orbit-two { width: 135px; height: 135px; }

.calendar-featured,
.calendar-events,
.calendar-resources,
.calendar-results { padding: 25px 28px 28px; }
.calendar-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 18px; }
.calendar-section-heading h2 { margin: 4px 0 0; font-size: clamp(1.8rem, 3vw, 3.25rem); line-height: 1; letter-spacing: -0.045em; }
.calendar-section-heading > p { max-width: 500px; margin: 0 0 2px; color: #6b5f54; line-height: 1.48; }
.calendar-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calendar-event-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 252px; overflow: hidden; border: 1px solid #ebd9ae; border-radius: 20px; background: linear-gradient(155deg, #fffaf0, #fff1cf); }
.calendar-event-image { display: block; min-height: 100%; background: #dec48b; }
.calendar-event-image img { width: 100%; height: 100%; object-fit: cover; }
.calendar-event-copy { display: flex; flex-direction: column; padding: 15px 15px 14px; }
.calendar-event-order { margin: 0; color: #b57800; font-weight: 900; font-size: 0.77rem; letter-spacing: 0.12em; }
.calendar-event-date { margin: 8px 0 0; color: #8d6411; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.calendar-event-card h3 { margin: 8px 0 11px; font-size: 1.07rem; line-height: 1.08; }
.calendar-event-card h3 a, .calendar-timeline-item h3 a { color: inherit; text-decoration: none; }
.calendar-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: auto 0 12px; }
.calendar-countdown span { display: grid; min-width: 0; padding: 7px 3px 6px; border-radius: 11px; background: #312419; color: #fff5de; text-align: center; }
.calendar-countdown strong { color: #f4ba1a; font-size: 1.05rem; line-height: 1; }
.calendar-countdown small { margin-top: 4px; color: #eadfcb; font-size: 0.55rem; letter-spacing: 0.05em; }
.calendar-inline-link { color: #9b6500; font-size: 0.73rem; font-weight: 900; letter-spacing: 0.055em; text-decoration: none; text-transform: uppercase; }
.calendar-inline-link:hover { color: #352214; }

.calendar-events { background: #fffefa; }
.calendar-timeline { display: grid; gap: 8px; }
.calendar-timeline-item { display: grid; grid-template-columns: 142px 66px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 10px; border: 1px solid #eee4d3; border-radius: 17px; background: #fff; }
.calendar-timeline-item time { color: #92640d; font-size: 0.74rem; font-weight: 900; line-height: 1.3; text-transform: uppercase; }
.calendar-timeline-item time span { display: inline-block; margin-bottom: 4px; padding: 3px 6px; border-radius: 999px; background: #e9e2d7; color: #6b5742; font-size: 0.64rem; }
.calendar-timeline-item img { width: 66px; height: 52px; border-radius: 11px; object-fit: cover; }
.calendar-timeline-item h3 { margin: 0; font-size: 1rem; line-height: 1.15; }
.calendar-timeline-item p { margin: 5px 0 0; color: #71645a; font-size: 0.86rem; line-height: 1.35; }
.calendar-timeline-item.is-past { opacity: 0.76; background: #f7f4ee; }

.calendar-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calendar-resource-card { min-height: 185px; padding: 20px; border-radius: 20px; background: linear-gradient(145deg, #fff8e5, #f6e5b9); color: #2c241e; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.calendar-resource-card:hover { box-shadow: 0 13px 24px rgba(102, 69, 17, 0.16); transform: translateY(-3px); }
.calendar-resource-icon { display: block; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 12px; background: #2d2119; }
.calendar-resource-icon-tempo { background: linear-gradient(140deg, #2f2118 0 45%, #eab61e 46% 60%, #2f2118 61%); }
.calendar-resource-icon-seniors { background: radial-gradient(circle at 50% 45%, #f8db73 0 21%, transparent 22%), #5b3a29; }
.calendar-resource-icon-youth { background: linear-gradient(135deg, #ca8129 0 43%, #fff3cb 44% 58%, #226a50 59%); }
.calendar-resource-card strong { display: block; font-size: 1.13rem; }
.calendar-resource-card p { margin: 8px 0 13px; color: #6e5e4c; line-height: 1.4; }
.calendar-resource-card small { color: #8d5b08; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

.calendar-results { background: linear-gradient(145deg, #fffdfa, #f5ead4); }
.calendar-results-intro { max-width: 650px; margin: -8px 0 17px; color: #6d5f55; }
.calendar-results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.calendar-result-card { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; min-height: 94px; padding: 9px; border: 1px solid #ebddc5; border-radius: 16px; background: rgba(255, 255, 255, 0.8); color: #2b211a; text-decoration: none; }
.calendar-result-card img { grid-row: span 2; width: 56px; height: 72px; border-radius: 10px; object-fit: cover; }
.calendar-result-card span { align-self: end; color: #936617; font-size: 0.66rem; font-weight: 800; }
.calendar-result-card strong { align-self: start; font-size: 0.88rem; line-height: 1.2; }
.calendar-share { margin-top: 18px; }

@media (max-width: 1020px) {
  .calendar-featured-grid, .calendar-resource-grid { grid-template-columns: 1fr; }
  .calendar-event-card { grid-template-columns: 130px minmax(0, 1fr); min-height: 190px; }
  .calendar-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body[data-page="official-calendar"] .calendar-page-main { width: min(100% - 24px, 1380px); padding-top: 10px; }
  .calendar-hero { grid-template-columns: 1fr; gap: 16px; padding: 23px 20px; border-radius: 22px; }
  .calendar-hero-panel { min-height: 126px; }
  .calendar-featured, .calendar-events, .calendar-resources, .calendar-results { padding: 20px 15px; border-radius: 22px; }
  .calendar-section-heading { display: block; }
  .calendar-section-heading > p { margin-top: 10px; }
  .calendar-timeline-item { grid-template-columns: 1fr 56px; gap: 8px; }
  .calendar-timeline-item time { grid-column: 1 / -1; }
  .calendar-timeline-item img { width: 56px; height: 50px; }
  .calendar-timeline-item .calendar-inline-link { grid-column: 1 / -1; }
  .calendar-results-grid { grid-template-columns: 1fr; }
}

/* Official hub: local replacement for the former WordPress officials page. */
body[data-page="officials-hub"] .official-page-main { display: grid; gap: 18px; }
.officials-hero,
.officials-section,
.officials-quick-card,
.officials-video-card,
.officials-results-panel,
.officials-rules-panel {
  border: 1px solid #ead9b6;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 14px 32px rgba(67, 43, 20, 0.07);
}
.officials-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr);
  gap: 22px;
  align-items: center;
  padding: 24px 32px;
  background:
    radial-gradient(circle at 84% 22%, rgba(239, 183, 31, .2), transparent 21%),
    linear-gradient(110deg, #fffdf8 0%, #fff5d7 100%);
}
.officials-hero h1 { max-width: 690px; margin: 3px 0 8px; font-size: clamp(2.15rem, 3.35vw, 3.55rem); letter-spacing: -.035em; line-height: 1.02; }
.officials-hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 0; color: #6f6055; font-size: .96rem; line-height: 1.45; }
.officials-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.officials-hero-actions .btn { min-height: 42px; padding: 10px 18px; font-size: .72rem; }
.officials-signal-list { display: grid; gap: 7px; padding: 4px; border-left: 1px solid rgba(171, 122, 28, .18); }
.officials-signal-list a { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 8px 11px; border: 1px solid #ead9b6; border-radius: 12px; background: rgba(255,255,255,.78); color: #35251a; font-size: .91rem; font-weight: 800; box-shadow: 0 5px 13px rgba(72, 47, 20, .04); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.officials-signal-list a:hover { border-color: #d6a016; background: #fff; transform: translateX(3px); }
.officials-signal-list span { display: grid; flex: 0 0 auto; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #f0b71a; color: #2a1c11; font-size: .66rem; }
.officials-section { padding: 20px 22px 22px; }
.officials-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.officials-section-heading h2 { margin: 3px 0 0; font-size: clamp(1.55rem, 2.35vw, 2.35rem); letter-spacing: -.03em; }
.officials-section-heading > a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #e6c775; border-radius: 999px; background: #fff8e7; color: #8d5c06; font-size: .7rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.officials-event-grid,
.officials-calendar-grid,
.officials-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.officials-event-card { position: relative; display: flex; min-height: 206px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 16px 17px 15px; border: 1px solid #ead8ad; border-radius: 16px; background: linear-gradient(145deg, #fffefa 0%, #fff3d3 100%); box-shadow: 0 9px 20px rgba(87, 57, 21, .055); transition: transform .18s ease, box-shadow .18s ease; }
.officials-event-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: #e7ad16; content: ""; }
.officials-event-card:nth-child(2) { background: linear-gradient(145deg, #fffefa 0%, #f7ead3 100%); }
.officials-event-card:nth-child(2)::before { background: #c98138; }
.officials-event-card:nth-child(3) { background: linear-gradient(145deg, #fffefa 0%, #f4e6d5 100%); }
.officials-event-card:nth-child(3)::before { background: #96704f; }
.officials-event-card:hover { box-shadow: 0 14px 28px rgba(87, 57, 21, .12); transform: translateY(-3px); }
.officials-rank,.officials-date { margin: 0; color: #9d6708; font-weight: 900; font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.officials-rank { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.72); }
.officials-event-card h3 { display: -webkit-box; overflow: hidden; margin: 8px 0 7px; color: #281e18; font-size: 1.08rem; line-height: 1.08; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.officials-date { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 7px; background: rgba(255,255,255,.62); }
.official-countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(41px, 1fr)); gap: 0; overflow: hidden; margin: 12px 0 10px; border: 1px solid rgba(136, 89, 16, .20); border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 6px 13px rgba(89, 57, 19, .07); }
.official-countdown span { display: grid; min-width: 42px; padding: 7px 6px 6px; background: transparent; text-align: center; }
.official-countdown span + span { border-left: 1px solid rgba(136, 89, 16, .16); }
.official-countdown strong { color: #3a281c; font-family: "Bebas Neue", sans-serif; font-size: 1.75rem; line-height: .9; letter-spacing: .02em; }
.official-countdown small { margin-top: 4px; color: #9a6b16; font-size: .5rem; font-weight: 900; letter-spacing: .09em; }
.officials-card-link { display: inline-flex; align-items: center; min-height: 26px; margin-top: auto; color: #8e5b04; font-weight: 900; font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; }
.officials-card-link::after { margin-left: 6px; content: "→"; font-size: .95rem; }
.officials-empty { margin: 0; color: #75675b; }
.officials-quick-grid,.officials-results-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 18px; }
body[data-page="officials-hub"] .officials-quick-grid { display: none; }
body[data-page="officials-hub"] .officials-video-nav { display: none; }
.officials-live-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 18px; }
.officials-quick-card,.officials-video-card,.officials-results-panel,.officials-rules-panel { padding: 22px; }
.officials-quick-card h2,.officials-video-card h2,.officials-rules-panel h2 { margin: 4px 0 10px; font-size: clamp(1.55rem, 2.5vw, 2.5rem); }
.officials-quick-card > p:not(.eyebrow),.officials-rules-panel > p:not(.eyebrow) { color: #6f6055; line-height: 1.55; }
.officials-inline-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.officials-inline-links a { padding: 9px 12px; border-radius: 999px; background: #2a1d15; color: #fff; font-size: .76rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.officials-video-card { background: #fcf4df; }
.officials-video-image { position: relative; display: block; overflow: hidden; border-radius: 13px; aspect-ratio: 16 / 7; }
.officials-video-image img { width: 100%; height: 100%; object-fit: cover; }
.officials-video-image span { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; border-radius: 999px; background: #2a1d15; color: #fff; font-size: .7rem; font-weight: 900; }
.officials-video-card h2 { font-size: 1.2rem; line-height: 1.15; }
.officials-results-showcase,.officials-replay-card { padding: 22px; border: 1px solid #ead9b6; border-radius: 24px; box-shadow: 0 14px 32px rgba(67, 43, 20, .07); }
.officials-results-showcase { background: linear-gradient(135deg, #fffdf8 0%, #fff3d5 100%); }
.officials-results-showcase h2,.officials-replay-card h2 { margin: 4px 0 8px; font-size: clamp(1.45rem, 2.2vw, 2.15rem); }
.officials-results-showcase > p:not(.eyebrow) { margin: 0; color: #6f6055; line-height: 1.48; }
.officials-result-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.officials-result-mini { display: grid; overflow: hidden; min-width: 0; border: 1px solid #ead9b6; border-radius: 13px; background: rgba(255,255,255,.78); color: #33251d; transition: transform .18s ease, border-color .18s ease; }
.officials-result-mini:hover { border-color: #d7a21a; transform: translateY(-2px); }
.officials-result-mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.officials-result-mini span { display: grid; gap: 4px; padding: 9px; }
.officials-result-mini small { color: #9a6710; font-size: .63rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.officials-result-mini strong { display: -webkit-box; overflow: hidden; font-size: .84rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.officials-results-cta { display: inline-flex; margin-top: 15px; color: #9a6710; font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.officials-replay-card { background: #fffdf8; }
.officials-replay-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.officials-replay-heading > a { margin-top: 4px; color: #9a6710; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.officials-replay-frame { overflow: hidden; margin-top: 12px; border: 1px solid #ddc788; border-radius: 14px; aspect-ratio: 16 / 9; background: #2a1d15; }
.officials-replay-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.officials-replay-title { display: block; margin-top: 9px; color: #3a271b; font-size: .9rem; font-weight: 800; line-height: 1.25; }
.officials-video-nav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.officials-video-nav-card { display: grid; gap: 5px; min-height: 132px; padding: 15px; border: 1px solid #eadfca; border-radius: 15px; background: #fffaf0; color: #33251d; }
.officials-video-nav-card:hover { border-color: #d8a521; background: #fff2d3; transform: translateY(-2px); }
.officials-video-nav-card > span { color: #b0780f; font-size: 1.25rem; }
.officials-video-nav-card strong { font-size: 1rem; }
.officials-video-nav-card small { color: #6f6055; line-height: 1.35; }
.officials-official-nav { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: stretch; gap: 14px; padding: 10px 12px; border-top: 1px solid #e9d6ae; border-bottom: 1px solid #e9d6ae; background: linear-gradient(90deg, #fffaf0, #fffdf8); }
.officials-nav-intro { display: grid; align-content: center; gap: 3px; padding: 5px 11px; border-right: 1px solid #ead9b6; }
.officials-nav-intro .eyebrow { margin: 0; color: #95620c; font-size: .62rem; }
.officials-nav-intro strong { color: #31221a; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; line-height: 1; }
.officials-official-nav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.officials-official-nav-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px 9px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #33251d; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.officials-official-nav-card:hover { border-color: #e1ba5a; background: #fff5dc; transform: translateY(-1px); }
.officials-nav-icon { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: #f4b816; color: #362512; font-size: .78rem; }
.officials-official-nav-card:nth-child(2) .officials-nav-icon { background: #e8d0a9; }
.officials-official-nav-card:nth-child(3) .officials-nav-icon { background: #dcebd4; color: #2f693d; }
.officials-official-nav-card:nth-child(4) .officials-nav-icon { background: #e6d8c9; color: #6c4c31; }
.officials-official-nav-card > span:last-child { display: grid; min-width: 0; gap: 2px; }
.officials-official-nav-card b { overflow: hidden; color: #35251a; font-size: .83rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.officials-official-nav-card small { overflow: hidden; color: #75675b; font-size: .67rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.officials-calendars { position: relative; overflow: hidden; background: linear-gradient(130deg, #fffdf8 0%, #fff8e8 100%); }
.officials-calendars::after { position: absolute; right: -36px; bottom: -62px; width: 190px; height: 190px; border: 1px solid rgba(204, 152, 44, .17); border-radius: 50%; content: ""; pointer-events: none; }
.officials-calendars > * { position: relative; z-index: 1; }
.officials-calendar-grid { gap: 10px; }
.officials-calendar-card { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; min-height: 116px; padding: 14px; border: 1px solid #ead9b6; border-radius: 15px; background: rgba(255,255,255,.8); color: #33251d; box-shadow: 0 7px 17px rgba(67, 43, 20, .035); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.officials-calendar-card:hover { border-color: #d5a12c; box-shadow: 0 12px 22px rgba(67, 43, 20, .09); transform: translateY(-2px); }
.officials-calendar-icon { display: grid; grid-row: span 3; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #f6c344; font-size: 1.08rem; }
.officials-calendar-card:nth-child(2) .officials-calendar-icon { background: #d8e7ef; }
.officials-calendar-card:nth-child(3) .officials-calendar-icon { background: #f2d8a7; }
.officials-calendar-card strong { align-self: end; font-size: 1rem; line-height: 1.1; }
.officials-calendar-card > span:not(.officials-calendar-icon) { display: -webkit-box; overflow: hidden; margin-top: 3px; color: #6f6055; font-size: .8rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.officials-calendar-card b { align-self: end; margin-top: 4px; color: #936008; font-size: .63rem; letter-spacing: .07em; text-transform: uppercase; }
.officials-agenda { padding: 22px; background: linear-gradient(115deg, #fffdf8 0%, #fff6df 100%); }
.officials-agenda-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.officials-agenda-list a { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 126px; gap: 8px; padding: 14px 15px 13px; border: 1px solid #ebd6a2; border-radius: 16px; background: rgba(255,255,255,.76); color: #34251b; box-shadow: 0 8px 18px rgba(89, 57, 19, .045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.officials-agenda-list a::before { position: absolute; top: 14px; left: 0; width: 4px; height: 30px; border-radius: 0 5px 5px 0; background: #efb719; content: ""; }
.officials-agenda-list a:nth-child(2)::before { background: #c77c35; }
.officials-agenda-list a:nth-child(3)::before { background: #4d8157; }
.officials-agenda-list a:hover { border-color: #cf9d2d; background: #fff; box-shadow: 0 14px 24px rgba(89, 57, 19, .10); transform: translateY(-3px); }
.officials-agenda-date { padding-left: 8px; color: #9a6508; font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.officials-agenda-list strong { display: -webkit-box; overflow: hidden; font-size: 1rem; line-height: 1.16; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.officials-agenda-list a > span:last-child { color: #9a6710; font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.officials-results-grid { grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr); gap: 14px; }
.officials-results-panel { padding: 20px 22px; background: #fffdf8; }
.officials-results-panel .officials-section-heading { align-items: center; margin-bottom: 8px; padding-bottom: 9px; border-bottom: 1px solid #ead9b6; }
.officials-results-panel .officials-section-heading h2 { font-size: clamp(1.6rem, 2.35vw, 2.2rem); }
.officials-result-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid #eee1c8; color: #33251d; }
.officials-result-item:first-of-type { border-top: 0; }
.officials-result-item img { width: 64px; height: 54px; border-radius: 10px; object-fit: cover; }
.officials-result-item strong,.officials-result-item small { display: block; }
.officials-result-item strong { line-height: 1.18; }
.officials-result-item small { margin-top: 4px; color: #75675b; font-size: .78rem; line-height: 1.3; }
.officials-rules-panel { position: relative; display: flex; min-height: 100%; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 26px 25px; border-color: #e6c775; background: linear-gradient(145deg, #fff9e9 0%, #f4dfab 100%); color: #34251b; }
.officials-rules-panel::after { position: absolute; right: -52px; bottom: -62px; width: 180px; height: 180px; border: 26px solid rgba(183, 123, 20, .12); border-radius: 50%; content: ""; }
.officials-rules-panel > * { position: relative; z-index: 1; }
.officials-rules-panel .eyebrow { color: #9d6708; }
.officials-rules-panel h2 { max-width: 370px; font-size: clamp(1.8rem, 2.55vw, 2.55rem); line-height: .98; }
.officials-rules-panel > p:not(.eyebrow) { max-width: 390px; color: #604b3c; line-height: 1.48; }
.officials-rules-panel .btn { margin-top: 8px; background: #2a1d15; color: #fff; }
.officials-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.officials-latest-card { display: grid; grid-template-columns: 84px 1fr; column-gap: 10px; align-items: center; min-height: 92px; padding: 8px; border: 1px solid #eadfca; border-radius: 13px; background: #fff; color: #33251d; }
.officials-latest-card:hover { border-color: #d8a521; }
.officials-latest-card img { grid-row: span 2; width: 84px; height: 76px; border-radius: 9px; object-fit: cover; }
.officials-latest-card span { color: #9a6710; font-size: .67rem; font-weight: 800; }
.officials-latest-card strong { line-height: 1.15; }
.community-primary-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.community-share-page { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff8ed; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.community-share-page:hover { border-color: #f4bf20; background: rgba(244,191,32,.14); transform: translateY(-1px); }
@media (max-width: 900px) {
  .officials-hero,.officials-quick-grid,.officials-live-grid,.officials-results-grid { grid-template-columns: 1fr; }
  .officials-event-grid,.officials-calendar-grid { grid-template-columns: 1fr; }
  .officials-video-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .officials-official-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .officials-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .officials-agenda-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .officials-hero,.officials-section,.officials-quick-card,.officials-video-card,.officials-results-panel,.officials-rules-panel { border-radius: 18px; }
  .officials-hero { padding: 21px 17px; gap: 16px; }
  .officials-section { padding: 17px; }
  .officials-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .officials-event-card { min-height: auto; }
  .officials-agenda-list a { grid-template-columns: 1fr; gap: 4px; }
  .officials-agenda-list a > span:last-child { white-space: normal; }
  .officials-latest-grid { grid-template-columns: 1fr; }
  .officials-video-nav-grid { grid-template-columns: 1fr; }
  .officials-official-nav-grid { grid-template-columns: 1fr; }
  .officials-result-mini-grid { grid-template-columns: 1fr; }
  .officials-result-mini { grid-template-columns: 112px 1fr; align-items: stretch; }
  .officials-result-mini img { height: 100%; aspect-ratio: auto; }
  .officials-replay-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
}

/* Dedicated learning pages keep the laboratory useful without reusing generic cards. */
.laboratory-learning-page { max-width: 1360px; }
.learning-hero { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(210px,.55fr); gap:24px; align-items:center; margin:14px 0 18px; padding:24px 30px; border:1px solid #e4c77c; border-bottom:3px solid #dda700; border-radius:26px; background:linear-gradient(115deg,#fffdf8 0%,#fff5d8 62%,#f5df9a 100%); box-shadow:0 14px 30px rgba(86,61,26,.07); }
.learning-hero h1 { max-width:900px; margin:6px 0 10px; color:#2c211c; font-family:var(--font-display); font-size:clamp(2.15rem,3.45vw,3.85rem); line-height:1; letter-spacing:-.04em; }
.learning-hero p { max-width:760px; margin:0; color:#65574e; font-size:.98rem; line-height:1.48; }
.learning-hero figure { position:relative; margin:0; min-height:200px; max-height:260px; overflow:hidden; border-radius:20px; background:#5c412c; }
.learning-hero figure::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 42%,rgba(33,22,13,.8)); pointer-events:none; }
.learning-hero figure img { width:100%; height:100%; min-height:200px; object-fit:cover; }
.learning-hero figcaption { position:absolute; z-index:1; right:16px; bottom:14px; left:16px; color:#fff9ec; font-size:.8rem; font-weight:800; line-height:1.3; }
.learning-tags { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.learning-tags span { padding:7px 10px; border:1px solid #ead9b1; border-radius:999px; background:rgba(255,255,255,.72); color:#745316; font-size:.69rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.learning-card-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:0 0 20px; }
.learning-card-grid article { min-height:178px; padding:20px; border:1px solid #eadfcd; border-radius:20px; background:#fffdfa; box-shadow:0 9px 20px rgba(69,48,24,.05); }
.learning-card-grid article:nth-child(2n) { background:#fff4d2; }
.learning-card-grid b { color:#bd810d; font-family:var(--font-condensed); font-size:1.45rem; }
.learning-card-grid h2 { margin:8px 0; color:#2d2420; font-size:1.1rem; }
.learning-card-grid p { margin:0; color:#706258; font-size:.9rem; line-height:1.48; }
.learning-practice { display:flex; align-items:center; justify-content:space-between; gap:30px; margin:20px 0; padding:28px 32px; border-radius:24px; background:#39261a; color:#fff8eb; }
.learning-practice > div { max-width:770px; }
.learning-practice h2 { margin:6px 0 8px; color:#fff8eb; font-family:var(--font-display); font-size:2rem; }
.learning-practice p { margin:0; color:#e7d8c5; line-height:1.5; }
.learning-practice ul { display:grid; gap:8px; min-width:280px; margin:0; padding:0; list-style:none; }
.learning-practice li { padding:10px 12px; border:1px solid rgba(255,255,255,.18); border-radius:12px; color:#fff8eb; font-size:.88rem; }
.learning-practice li::before { content:'✓'; margin-right:8px; color:#f2bb19; font-weight:900; }
.learning-next { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:20px 0; }
.learning-next a { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:20px; border:1px solid #eadfcd; border-radius:20px; background:#fff; color:#2c211c; text-decoration:none; transition:transform .18s ease, box-shadow .18s ease; }
.learning-next a:hover { transform:translateY(-3px); box-shadow:0 12px 22px rgba(80,55,24,.12); }
.learning-next span { color:#9b6c12; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.learning-next strong { grid-column:1; font-size:1rem; }
.learning-next b { grid-column:2; grid-row:1 / span 2; align-self:center; color:#bd810d; font-size:1.35rem; }
.quiz-hero .btn { margin-top:2px; }
.quiz-explainer { display:grid; grid-template-columns:.8fr 1.2fr; gap:30px; align-items:center; margin:20px 0; padding:28px 32px; border:1px solid #eadfcd; border-radius:24px; background:#fffdfa; }
.quiz-explainer h2 { margin:7px 0 0; color:#2e231d; font-family:var(--font-display); font-size:2.1rem; }
.quiz-explainer ol { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0; padding:0; list-style:none; }
.quiz-explainer li { display:flex; gap:10px; align-items:flex-start; color:#64564c; font-size:.91rem; line-height:1.45; }
.quiz-explainer b { display:grid; flex:0 0 28px; place-items:center; width:28px; height:28px; border-radius:50%; background:#edb316; color:#2d2119; }
.quiz-feed { margin:20px 0; padding:30px; border:1px solid #eadfcd; border-radius:26px; background:linear-gradient(135deg,#fffdfa,#fff5da); }
.quiz-feed { scroll-margin-top:22px; }
.learning-section-heading { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom:18px; }
.learning-section-heading h2 { margin:5px 0 0; color:#2b211b; font-family:var(--font-display); font-size:2.25rem; }
.learning-section-heading > a { color:#8f620e; font-size:.78rem; font-weight:900; letter-spacing:.08em; text-decoration:none; text-transform:uppercase; }
.quiz-feed-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.quiz-feed-card { display:grid; grid-template-columns:112px 1fr; gap:16px; padding:14px; border:1px solid #eadfcd; border-radius:20px; background:#fffdf9; }
.quiz-image { overflow:hidden; min-height:210px; border-radius:14px; background:#5b3b1d; }
.quiz-image img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.quiz-image:hover img { transform:scale(1.04); }
.quiz-feed-card h3 { margin:5px 0 8px; color:#2e231d; font-size:1.12rem; line-height:1.18; }
.quiz-feed-card p { margin:0 0 10px; color:#716258; font-size:.86rem; line-height:1.42; }
.quiz-feed-card details { margin:10px 0; }
.quiz-metrics { display:flex; flex-wrap:wrap; gap:7px; margin:8px 0; }
.quiz-metrics span { padding:5px 7px; border:1px solid #eadfcd; border-radius:999px; background:#fff; color:#79695d; font-size:.68rem; }
.quiz-metrics b { color:#a7730c; }
.quiz-feed-card summary { cursor:pointer; color:#94670d; font-size:.78rem; font-weight:900; }
.quiz-reply-link { color:#2b211b; font-size:.77rem; font-weight:900; letter-spacing:.05em; text-decoration:none; text-transform:uppercase; }
.quiz-reply-link b { color:#b77b0d; }
.quiz-pagination { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:24px; }
.quiz-pagination a,.quiz-pagination span { padding:10px 14px; border-radius:999px; font-size:.76rem; font-weight:900; text-decoration:none; }
.quiz-pagination a { background:#ecb319; color:#2d2119; }
.quiz-pagination span { border:1px solid #e8d9bd; color:#705f52; background:#fffdf8; }
.quiz-club .btn { flex:0 0 auto; }
@media (max-width:1000px) { .learning-card-grid { grid-template-columns:repeat(3,1fr); } .quiz-feed-grid { grid-template-columns:1fr; } .quiz-feed-card { grid-template-columns:150px 1fr; } }
@media (max-width:760px) { .learning-hero,.quiz-explainer { grid-template-columns:1fr; padding:24px 20px; border-radius:22px; } .learning-hero h1 { font-size:clamp(2.25rem,10vw,3.4rem); } .learning-hero figure,.learning-hero figure img { min-height:220px; } .learning-card-grid,.learning-next,.quiz-explainer ol { grid-template-columns:1fr; } .learning-practice { display:grid; padding:24px 20px; } .learning-practice ul { min-width:0; } .quiz-feed { padding:22px 16px; } .learning-section-heading { display:grid; align-items:start; } .learning-section-heading h2 { font-size:1.9rem; } .quiz-feed-card { grid-template-columns:92px 1fr; gap:12px; } .quiz-image { min-height:175px; } }
.atlas-empty {
  padding: 24px;
  border-radius: 22px;
  background: rgba(247, 241, 231, 0.92);
  border: 1px dashed rgba(23, 20, 17, 0.16);
}
.atlas-empty h3 {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}
.atlas-submit {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,241,231,0.92));
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 16px 34px rgba(20,18,16,0.08);
}
.atlas-submit-head h2 {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
}
.atlas-submit-head p:last-child {
  margin: 0;
  color: var(--muted);
}
.atlas-club-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.atlas-club-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 140px;
  gap: 12px;
}
.atlas-club-form label {
  display: grid;
  gap: 7px;
}
.atlas-club-form label span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f564f;
}
.atlas-club-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border-radius: 16px;
  border: 1px solid rgba(23,20,17,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font: inherit;
}
.atlas-club-form input:focus {
  outline: none;
  border-color: rgba(168,93,62,0.5);
  box-shadow: 0 0 0 4px rgba(168,93,62,0.12);
}
.atlas-hp {
  position: absolute;
  left: -9999px;
}
.atlas-form-feedback {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}
.atlas-form-feedback.success,
.atlas-form-feedback.exists {
  background: rgba(65, 140, 74, 0.12);
  color: #23572b;
  border: 1px solid rgba(65, 140, 74, 0.18);
}
.atlas-form-feedback.error {
  background: rgba(168, 52, 27, 0.1);
  color: #8f2c17;
  border: 1px solid rgba(168, 52, 27, 0.16);
}
.page-hero-atlas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  min-height: 0;
  margin-bottom: 12px;
  padding: 20px 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 25%, rgba(231,177,31,0.18), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,235,208,0.7));
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 12px 28px rgba(21,17,13,0.05);
}
.page-hero-atlas h1 {
  max-width: 100%;
  color: #211c18;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
}
.atlas-title-tail { white-space: nowrap; }
.page-hero-atlas .eyebrow {
  color: #8c6710;
}
.page-hero-atlas p:last-child {
  color: #655b53;
  margin-top: 6px;
}
.atlas-stats {
  margin-top: 2px;
  justify-content: flex-start;
}
.page-hero-atlas .hero-stats div {
  min-width: 104px;
  padding: 8px 11px;
  background: rgba(255,255,255,0.68);
}
.page-hero-atlas .hero-stats strong { color: #8c6710; }
.page-hero-atlas .hero-stats span { color: #655b53; }
.news-card img,
.video-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}
.video-card-link {
  display: block;
  color: inherit;
  height: 100%;
}
.video-thumb-wrap {
  position: relative;
}
.video-thumb-wrap img {
  margin-bottom: 0;
}
.video-counters {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.video-counters span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 19, 19, 0.82);
  color: #f7efdf;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.video-card-link:hover h2,
.video-card-link:hover .inline-link {
  color: var(--gold-deep);
}

.video-category-shortcuts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 1180px);
  margin: 0 auto 18px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
}

.video-category-shortcuts > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.video-category-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.video-category-shortcuts a:hover,
.video-category-shortcuts a[aria-current="page"] {
  color: #26190d;
  border-color: rgba(203, 148, 13, 0.55);
  background: #f0b91d;
}

.video-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100%, 1180px);
  margin: 28px auto 0;
}

.video-pagination a,
.video-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.video-pagination a {
  color: #251b12;
  background: #f0b91d;
  box-shadow: 0 8px 18px rgba(181, 125, 7, 0.14);
}

.video-pagination span {
  color: var(--muted);
  border: 1px solid rgba(23, 20, 17, 0.1);
  background: rgba(255,255,255,0.6);
}

.video-archive-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.75fr) auto;
  align-items: center;
  gap: 22px;
  width: min(100%, 1180px);
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(168, 111, 19, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 12%, rgba(231, 177, 31, 0.2), transparent 20%),
    linear-gradient(120deg, rgba(255,255,255,0.92), rgba(252,239,205,0.8));
  box-shadow: 0 14px 28px rgba(48, 34, 16, 0.07);
}

.video-archive-navigation h2 {
  margin: 4px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.video-archive-navigation > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.video-archive-navigation-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .video-category-shortcuts { justify-content: flex-start; }
  .video-category-shortcuts > span { width: 100%; }
  .video-archive-navigation { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .video-archive-navigation-links { justify-content: flex-start; }
}

.books-page {
  display: grid;
  gap: 28px;
}

.books-page-legacy {
  gap: 22px;
}

.books-seo-intro {
  padding: 18px 22px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(244,234,220,0.84));
  border: 1px solid rgba(23,20,17,0.08);
}

.books-seo-intro h2 {
  margin-top: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  line-height: 0.98;
}

.books-seo-intro p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

.books-seo-intro-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.books-seo-intro-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(23,20,17,0.1);
  color: #201b17;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.books-seo-intro-links a:hover {
  background: rgba(231,177,31,0.14);
  border-color: rgba(231,177,31,0.34);
}

.books-legacy-head {
  padding: 10px 0 4px;
}

.books-legacy-head h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 0.96;
  margin: 8px 0 0;
}

.books-legacy-hero {
  padding: 0;
}

.books-legacy-hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 28px 28px;
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 86%, rgba(231,177,31,0.17) 0 5px, transparent 6px),
    radial-gradient(circle at 90% 18%, rgba(231,177,31,0.16) 0 6px, transparent 7px),
    radial-gradient(circle at 89% 20%, transparent 0 54px, rgba(142,103,31,0.13) 55px 56px, transparent 57px),
    linear-gradient(120deg, #fffefa 0%, #fbf5e8 55%, #f4dfac 100%);
  color: #2b211a;
  border: 1px solid rgba(183,130,20,0.3);
  box-shadow: inset 0 -3px 0 #d9ae19, 0 18px 36px rgba(70,48,25,0.11);
}

.books-legacy-hero-panel::before,
.books-legacy-hero-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.books-legacy-hero-panel::before {
  width: 190px;
  height: 190px;
  right: -76px;
  bottom: -104px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255,255,255,0.82), rgba(225,205,166,0.52) 36%, rgba(167,123,45,0.12) 68%, transparent 69%);
}

.books-legacy-hero-panel::after {
  width: 5px;
  height: 72px;
  left: 42px;
  bottom: 30px;
  border-radius: 999px;
  background: linear-gradient(#f5c227, #c98036);
  box-shadow: 10px 12px 0 rgba(129,80,46,0.14), 20px -8px 0 rgba(231,177,31,0.15);
}

.books-hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 8px;
  margin: 0 auto 14px;
  background: #81502e;
  color: #fff8ed;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.books-legacy-hero-panel h1 {
  margin: 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.books-legacy-hero-panel h1 span {
  color: #c78e12;
}

.books-hero-copy,
.books-hero-note {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.books-hero-copy {
  margin-top: 14px;
  color: #65554a;
  font-size: 1rem;
  line-height: 1.62;
}

.books-hero-copy strong,
.books-hero-note {
  color: #382a20;
  font-weight: 800;
}

.books-hero-note {
  margin-top: 4px;
  font-size: 0.94rem;
}

.books-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 0;
}

.books-hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(86,60,37,0.23);
  border-radius: 999px;
  color: #4b3728;
  background: rgba(255,255,255,0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.books-hero-links a:hover {
  color: #2b211a;
  background: #efbb1c;
  border-color: #d49b0d;
}

/* Shared light editorial treatment for the section headers. */
.page-hero:not(.page-hero-books) {
  position: relative;
  isolation: isolate;
  min-height: 198px;
  color: #2b211a;
  border: 1px solid rgba(183, 130, 20, 0.28);
  box-shadow: inset 0 -3px 0 #d9ae19, 0 18px 36px rgba(70, 48, 25, 0.1);
}

.page-hero:not(.page-hero-books)::after {
  position: absolute;
  z-index: -1;
  width: 162px;
  height: 162px;
  right: -58px;
  bottom: -78px;
  border: 1px solid rgba(142, 103, 31, 0.15);
  border-radius: 50%;
  background: radial-gradient(circle at 37% 31%, rgba(255,255,255,0.76), rgba(227,205,160,0.36) 42%, transparent 68%);
  content: "";
}

.page-hero:not(.page-hero-books) > * {
  position: relative;
  z-index: 1;
}

.page-hero:not(.page-hero-books) h1 {
  color: #2b211a;
}

.page-hero:not(.page-hero-books) .eyebrow {
  color: #8d6518;
}

.page-hero:not(.page-hero-books) p:last-child {
  color: #65554a;
}

.page-hero-soft {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.91) 52%, rgba(249,230,185,0.6) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 68% center/cover;
}

.page-hero-news {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.9) 52%, rgba(249,230,185,0.58) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 72% center/cover;
}

.page-hero-video {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.9) 52%, rgba(249,230,185,0.58) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 76% center/cover;
}

/* Category pages stay compact: the useful content begins immediately below. */
body[data-page="category"] .category-hero {
  min-height: 0;
  margin-bottom: 16px;
  padding: 24px 30px 22px;
}

body[data-page="category"] .category-hero > div {
  max-width: 860px;
}

body[data-page="category"] .category-hero h1 {
  max-width: 860px;
  margin: 3px 0 7px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
}

body[data-page="category"] .category-hero p:last-child {
  max-width: 720px;
  margin: 0;
  font-size: .98rem;
  line-height: 1.48;
}

/* Dedicated match-sheet tool: quick choice first, details second. */
body[data-page="match-sheets"] .match-sheets-page {
  display: grid;
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

body[data-page="match-sheets"] .breadcrumbs { margin-bottom: 0; }

.match-sheets-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 24px;
  align-items: center;
  padding: 20px 26px;
  overflow: hidden;
  border: 1px solid rgba(183, 130, 20, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 14%, rgba(231,177,31,.18), transparent 25%),
    linear-gradient(120deg, rgba(255,255,255,.94), rgba(252,239,205,.83));
  box-shadow: 0 16px 34px rgba(70,48,25,.08);
}

.match-sheets-hero h1,
.match-sheets-heading h2,
.match-sheets-help h2 {
  margin: 4px 0 9px;
  color: #211a15;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: .96;
}

.match-sheets-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #65554a;
  line-height: 1.55;
}

.match-sheets-badges,
.match-sheet-actions,
.match-sheets-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-sheets-badges { margin: 15px 0; }

.match-sheets-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(183,130,20,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #75521a;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.match-sheets-hero-visual {
  position: relative;
  width: 255px;
  height: 360px;
  min-height: 0;
}

.match-sheets-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 26px rgba(41,27,14,.17);
}

.match-sheets-hero-visual span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #1e1915;
  color: #fff8ec;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-sheets-formats {
  padding: 24px;
  border: 1px solid rgba(23,20,17,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.64);
}

.match-sheets-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.match-sheets-heading h2 { font-size: clamp(1.8rem, 2.8vw, 2.65rem); }
.match-sheets-heading > p { margin: 0 0 3px; color: #65554a; line-height: 1.52; }

.match-sheets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="match-sheets"] .match-sheets-share-band {
  margin: 16px 0 10px;
}

.match-sheets-newsletter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1px solid rgba(183,130,20,.28);
  border-radius: 18px;
  background: linear-gradient(110deg, #2a201a, #5b3923);
  box-shadow: 0 12px 26px rgba(48,31,16,.1);
  color: #fff8ec;
}

.match-sheets-newsletter span {
  color: #efbe2c;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-sheets-newsletter strong { font-size: .88rem; }

.match-sheets-newsletter b {
  padding: 9px 12px;
  border-radius: 999px;
  background: #efb91b;
  color: #281d14;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.match-sheet-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(23,20,17,.09);
  border-radius: 20px;
  background: linear-gradient(160deg, #fffefa, #f7ebcf);
}

.match-sheet-card:nth-child(2) { background: linear-gradient(160deg, #fffefa, #f7e4c4); }
.match-sheet-card:nth-child(3) { background: linear-gradient(160deg, #fffefa, #e8f0e1); }

.match-sheet-number {
  margin: 0 0 11px;
  color: #a97512;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.match-sheet-card h3 { margin: 0 0 5px; font-size: 1.22rem; }
.match-sheet-card > p:not(.match-sheet-number) { min-height: 46px; margin: 0; color: #65554a; font-size: .88rem; line-height: 1.45; }

.match-sheet-actions { margin-top: 16px; }

.match-sheet-actions a,
.match-sheets-help-links a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(23,20,17,.11);
  color: #2a2018;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.match-sheet-actions a:first-child,
.match-sheets-help-links a:first-child { background: #e8b31b; border-color: #e8b31b; }

.match-sheets-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.match-sheets-details article {
  display: grid;
  gap: 3px;
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(23,20,17,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.match-sheets-details strong { color: #9a6610; font-family: "Bebas Neue", "Oswald", sans-serif; font-size: 1.6rem; line-height: 1; }
.match-sheets-details span { color: #65554a; font-size: .76rem; font-weight: 700; }

.match-sheets-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 22px;
  align-items: center;
  padding: 22px 25px;
  border-radius: 26px;
  background: linear-gradient(120deg, #2a201a, #543421);
  color: #fff8ec;
}

.match-sheets-help h2 { color: #fff8ec; font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.match-sheets-help p:not(.eyebrow) { max-width: 620px; margin: 0; color: rgba(255,248,236,.76); line-height: 1.5; }
.match-sheets-help .eyebrow { color: #edc35c; }
.match-sheets-help-links { justify-content: flex-end; }
.match-sheets-help-links a { color: #fff8ec; border-color: rgba(255,248,236,.24); background: rgba(255,255,255,.08); }
.match-sheets-help-links a:first-child { color: #2b211a; background: #e8b31b; border-color: #e8b31b; }

@media (max-width: 800px) {
  .match-sheets-hero,
  .match-sheets-heading,
  .match-sheets-help { grid-template-columns: 1fr; gap: 16px; }
  .match-sheets-hero { padding: 22px; }
  .match-sheets-hero-visual { width: 100%; height: 220px; }
  .match-sheets-grid { grid-template-columns: 1fr; }
  .match-sheets-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-sheets-help-links { justify-content: flex-start; }
  .match-sheets-newsletter { grid-template-columns: 1fr; gap: 8px; }
  .match-sheets-newsletter b { justify-self: start; }
}

/* Laboratory: retain the useful live sections in one compact, light Node page. */
body[data-page="laboratory"] .laboratory-page { display: grid; gap: 16px; width: min(100%, 1180px); margin: 0 auto; }
body[data-page="laboratory"] .breadcrumbs { margin-bottom: 0; }
.laboratory-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; min-height: 224px; padding: 28px 32px; overflow: hidden; border: 1px solid rgba(190,142,32,.36); border-bottom: 3px solid #dfab17; border-radius: 28px; background: linear-gradient(100deg, rgba(255,253,247,.98) 0%, rgba(255,247,221,.89) 58%, rgba(238,221,166,.76)), url('/assets/img/heroes/terrain-petanque-hero.png') center/cover; box-shadow: 0 16px 34px rgba(65,45,22,.08); }
.laboratory-hero h1, .laboratory-section-heading h2 { max-width: 780px; margin: 5px 0 10px; color: #2b211c; font-family: "Cormorant Garamond", serif; font-size: clamp(2.35rem, 4.4vw, 4.4rem); line-height: .92; }
.laboratory-hero > div > p:not(.eyebrow) { max-width: 680px; margin: 0; color: #614f43; font-size: 1rem; line-height: 1.55; }
.laboratory-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.laboratory-hero-mark { position: relative; width: 176px; height: 176px; justify-self: end; border: 1px solid rgba(151,109,23,.2); border-radius: 50%; background: radial-gradient(circle, #e5ad19 0 10%, #fff9e6 11% 20%, transparent 21% 36%, rgba(255,255,255,.45) 37% 39%, transparent 40%); }
.laboratory-hero-mark::before, .laboratory-hero-mark::after { position: absolute; content: ''; top: 50%; left: 50%; width: 1px; height: 100%; background: rgba(109,78,27,.2); transform: translate(-50%, -50%); }
.laboratory-hero-mark::after { width: 100%; height: 1px; }
.laboratory-hero-mark b { position: absolute; inset: 57px; display: grid; place-items: center; border-radius: 50%; background: #2a211b; color: #fff8ec; font: 800 .72rem/1 "Montserrat", sans-serif; letter-spacing: .12em; }
.laboratory-doors, .laboratory-watch-grid, .laboratory-experience-grid, .laboratory-reading-grid, .laboratory-learn-grid { display: grid; gap: 12px; }
.laboratory-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.laboratory-door { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; min-height: 143px; padding: 18px; border: 1px solid rgba(35,26,18,.1); border-radius: 20px; background: linear-gradient(135deg, #fffefa, #fff2c9); color: #2b211b; box-shadow: 0 9px 20px rgba(65,45,22,.05); }
.laboratory-door:nth-child(2) { background: linear-gradient(135deg, #fffefa, #e9f2e4); }.laboratory-door:nth-child(3) { background: linear-gradient(135deg, #fffefa, #f2e5d7); }
.laboratory-door > span { color: #aa7414; font: 800 1.45rem/1 "Bebas Neue", "Oswald", sans-serif; }.laboratory-door strong { align-self: end; font-size: 1.05rem; }.laboratory-door em { grid-column: 1 / -1; color: #66564a; font-size: .85rem; font-style: normal; line-height: 1.42; }.laboratory-door b { grid-column: 1 / -1; color: #8a5e0a; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.laboratory-hero-visual { position: relative; width: 174px; height: 142px; justify-self: end; }
.laboratory-hero-visual img { position: absolute; display: block; border: 3px solid rgba(255,253,247,.92); box-shadow: 0 12px 24px rgba(61,43,23,.16); object-fit: cover; }
.laboratory-hero-visual img:first-child { top: 0; right: 0; width: 122px; height: 128px; border-radius: 22px; object-position: 50% 26%; }
.laboratory-hero-visual img:last-child { bottom: 0; left: 0; width: 92px; height: 72px; border-radius: 16px; object-position: center; }
.laboratory-door { grid-template-columns: 106px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.laboratory-door-image { width: 106px; height: 100%; min-height: 143px; object-fit: cover; object-position: center; }
.laboratory-door-copy { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 5px 10px; padding: 15px 17px; color: #30231c; font-family: "Montserrat", sans-serif; font-size: initial; letter-spacing: normal; text-transform: none; }
.laboratory-door-copy i { color: #aa7414; font: 800 1.4rem/1 "Bebas Neue", "Oswald", sans-serif; font-style: normal; }
.laboratory-door-copy strong { align-self: center; color: #35281f; font: 800 1rem/1.08 "Montserrat", sans-serif; letter-spacing: .02em; text-transform: none; }
.laboratory-door-copy em, .laboratory-door-copy b { grid-column: 1 / -1; }
.laboratory-door-copy em { color: #5d4e42; font: 500 .84rem/1.38 "Montserrat", sans-serif; font-style: normal; letter-spacing: normal; text-transform: none; }
.laboratory-door-copy b { color: #8a5e0a; font: 800 .7rem/1.15 "Montserrat", sans-serif; letter-spacing: .055em; text-transform: uppercase; }
body[data-page="laboratory"] .laboratory-hero { grid-template-columns: minmax(0, 1fr) 174px; gap: 20px; min-height: 0; padding: 22px 30px; }
body[data-page="laboratory"] .laboratory-hero h1 { max-width: 840px; margin: 3px 0 8px; font-size: clamp(2.2rem, 3.8vw, 3.7rem); line-height: .95; }
body[data-page="laboratory"] .laboratory-hero > div > p:not(.eyebrow) { max-width: 760px; font-size: .96rem; }
body[data-page="laboratory"] .laboratory-hero-actions { margin-top: 13px; }
.laboratory-focus, .laboratory-watch, .laboratory-experiences, .laboratory-reading, .laboratory-learn { padding: 22px 24px; border: 1px solid rgba(35,26,18,.09); border-radius: 25px; background: rgba(255,255,255,.72); }
.laboratory-section-heading { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 15px; }.laboratory-section-heading h2 { font-size: clamp(1.9rem, 3vw, 3.1rem); }.laboratory-section-heading > p { max-width: 380px; margin: 0 0 5px; color: #65554a; line-height: 1.5; }
.laboratory-focus { background: linear-gradient(112deg, #2b211b, #543827); color: #fff9ee; }.laboratory-focus .eyebrow { color: #efc151; }.laboratory-focus h2 { color: #fff9ee; }.laboratory-focus .laboratory-section-heading > p { color: rgba(255,249,238,.78); }.laboratory-focus-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }.laboratory-focus-trigger { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff9ee; cursor: pointer; text-align: left; transition: transform .18s ease, background .18s ease, border-color .18s ease; }.laboratory-focus-trigger:hover, .laboratory-focus-trigger.is-active { transform: translateY(-2px); border-color: rgba(239,193,81,.76); background: rgba(255,255,255,.15); }.laboratory-focus-trigger > b { flex: 0 0 auto; color: #edbc32; font: 1.3rem/1 "Bebas Neue", "Oswald", sans-serif; }.laboratory-focus-trigger > span { display: grid; gap: 3px; }.laboratory-focus-trigger strong { font-size: .83rem; line-height: 1.12; }.laboratory-focus-trigger em { color: #efc151; font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }.laboratory-focus-panel { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(230px, .52fr); gap: 16px; align-items: center; margin-top: 13px; padding: 13px; border: 1px solid rgba(239,193,81,.38); border-radius: 18px; background: rgba(255,255,255,.1); transition: background .2s ease, transform .2s ease; }.laboratory-focus-panel.is-updated { background: rgba(239,193,81,.14); transform: translateY(1px); }.laboratory-focus-panel > img { width: 112px; height: 92px; border-radius: 12px; object-fit: cover; }.laboratory-focus-panel h3 { margin: 3px 0 6px; color: #fff9ee; font-family: "Cormorant Garamond", serif; font-size: 1.8rem; line-height: .94; }.laboratory-focus-panel > div > p:not(.eyebrow) { margin: 0; color: #eadbc8; font-size: .88rem; line-height: 1.48; }.laboratory-focus-exercise { display: grid; gap: 6px; padding: 12px; border-radius: 13px; background: rgba(10,7,5,.24); }.laboratory-focus-exercise span { color: #efc151; font-size: .63rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.laboratory-focus-exercise strong { color: #fff8ec; font-size: .83rem; line-height: 1.35; }
.laboratory-watch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.laboratory-watch-grid article { padding: 17px; border-radius: 18px; background: #fbf3dd; }.laboratory-watch-grid span { color: #b47a12; font: 1.5rem/1 "Bebas Neue", "Oswald", sans-serif; }.laboratory-watch-grid h3 { margin: 7px 0 5px; }.laboratory-watch-grid p { margin: 0; color: #65554a; font-size: .87rem; line-height: 1.46; }
.laboratory-watch-grid a { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 94px; padding: 12px; overflow: hidden; border: 1px solid rgba(184,122,18,.18); border-radius: 18px; background: #fbf3dd; color: #2b211b; transition: transform .2s ease, box-shadow .2s ease; }.laboratory-watch-grid a:hover { box-shadow: 0 12px 22px rgba(73,49,20,.12); transform: translateY(-3px); }.laboratory-watch-grid a > img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; box-shadow: 0 5px 12px rgba(73,49,20,.14); }.laboratory-watch-copy { display: grid; gap: 2px; min-width: 0; }.laboratory-watch-copy i { color: #b47a12; font: 1.15rem/1 "Bebas Neue", "Oswald", sans-serif; font-style: normal; }.laboratory-watch-copy strong { font-size: .96rem; line-height: 1.15; }.laboratory-watch-copy em { color: #65554a; font-size: .78rem; font-style: normal; line-height: 1.3; }.laboratory-watch-grid a b { align-self: center; color: #ab7112; font-size: 1rem; }
.laboratory-experience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.laboratory-experience-grid a, .laboratory-learn-grid a { position: relative; display: grid; gap: 6px; min-height: 122px; padding: 16px; overflow: hidden; border: 1px solid rgba(176,126,19,.2); border-radius: 18px; background: linear-gradient(145deg, #fffefb, #fbebba); color: #2b211b; }.laboratory-experience-grid span, .laboratory-learn-grid p { color: #69594d; font-size: .83rem; line-height: 1.42; }.laboratory-experience-grid b, .laboratory-learn-grid b { position: absolute; right: 15px; bottom: 12px; color: #a06c0b; }
.laboratory-reading-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.laboratory-reading-grid a { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; min-height: 98px; padding: 10px; border: 1px solid rgba(35,26,18,.09); border-radius: 17px; background: #fffdfa; color: #2b211b; }.laboratory-reading-grid img { width: 78px; height: 78px; object-fit: cover; border-radius: 11px; grid-row: span 2; }.laboratory-reading-grid span { color: #a87312; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.laboratory-reading-grid strong { font-size: .88rem; line-height: 1.25; }
.laboratory-learn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.laboratory-learn-grid a { min-height: 138px; background: linear-gradient(145deg, #fffefb, #eef3e6); }.laboratory-learn-grid h3 { max-width: 90%; margin: 0; font-size: 1.02rem; }.laboratory-learn-grid p { margin: 0; }
body[data-page="laboratory"] .laboratory-share-band { margin: 0; }.laboratory-newsletter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(110deg, #2a201a, #5b3923); color: #fff8ec; }.laboratory-newsletter span { color: #efbe2c; font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.laboratory-newsletter strong { font-size: .9rem; }.laboratory-newsletter b { padding: 9px 12px; border-radius: 999px; background: #efb91b; color: #281d14; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 800px) { .laboratory-hero { grid-template-columns: 1fr; min-height: 0; padding: 22px; }.laboratory-hero-mark, .laboratory-hero-visual { display: none; }.laboratory-doors, .laboratory-watch-grid, .laboratory-experience-grid, .laboratory-reading-grid, .laboratory-learn-grid { grid-template-columns: 1fr; }.laboratory-focus-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.laboratory-section-heading { display: block; }.laboratory-section-heading > p { margin-top: 10px; }.laboratory-newsletter { grid-template-columns: 1fr; gap: 8px; }.laboratory-newsletter b { justify-self: start; } }

/* Real laboratory generators, recreated from the live tools without the legacy shell. */
body[data-page="laboratory-generators"] .laboratory-generators-page { display: grid; gap: 16px; width: min(100%, 1180px); margin: 0 auto; }
.generators-hero { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 26px; align-items: center; padding: 28px 32px; overflow: hidden; border: 1px solid rgba(188,135,27,.35); border-bottom: 3px solid #dfab17; border-radius: 28px; background: linear-gradient(110deg, #fffefa, #fff0bf); box-shadow: 0 16px 32px rgba(65,45,22,.08); }.generators-hero h1, .generators-guide h2 { max-width: 820px; margin: 5px 0 10px; color: #2b211c; font-family: "Cormorant Garamond", serif; font-size: clamp(2.35rem, 4vw, 4.2rem); line-height: .94; }.generators-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #65554a; line-height: 1.55; }.generators-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }.generators-hero-tags span { padding: 7px 10px; border: 1px solid rgba(41,30,19,.12); border-radius: 999px; background: rgba(255,255,255,.68); color: #715016; font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.generators-hero-stamp { position: relative; display: grid; place-items: center; width: 174px; height: 174px; justify-self: end; border: 1px dashed rgba(109,75,21,.45); border-radius: 50%; transform: rotate(-9deg); color: #6b4319; }.generators-hero-stamp::before { position: absolute; inset: 14px; border: 1px solid rgba(109,75,21,.38); border-radius: 50%; content: ''; }.generators-hero-stamp span, .generators-hero-stamp i { position: absolute; font: 800 .63rem/1 "Manrope", sans-serif; letter-spacing: .12em; font-style: normal; }.generators-hero-stamp span { top: 36px; }.generators-hero-stamp i { bottom: 36px; }.generators-hero-stamp b { font: 2.2rem/1 "Bebas Neue", "Oswald", sans-serif; letter-spacing: .07em; }
.generators-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.generator-card { display: grid; align-content: start; gap: 11px; min-height: 325px; padding: 19px; border: 1px solid rgba(40,29,18,.1); border-radius: 22px; background: linear-gradient(145deg, #fffefa, #f9e7b8); box-shadow: 0 11px 24px rgba(65,45,22,.05); }.generator-card:nth-child(3n+2) { background: linear-gradient(145deg, #fffefa, #e6f0e1); }.generator-card:nth-child(3n) { background: linear-gradient(145deg, #fffefa, #f3e0ca); }.generator-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.generator-card-top span { color: #a46e0d; font: 1.7rem/1 "Bebas Neue", "Oswald", sans-serif; }.generator-card-top p { margin: 0; color: #8b6015; font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-align: right; text-transform: uppercase; }.generator-card h2 { margin: 0; color: #2c211a; font-family: "Cormorant Garamond", serif; font-size: 1.85rem; line-height: .94; }.generator-card > p { min-height: 42px; margin: 0; color: #65564b; font-size: .87rem; line-height: 1.42; }.generator-card label { display: grid; gap: 5px; margin-top: auto; color: #69533a; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.generator-card input, .generator-card select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid rgba(35,25,16,.14); border-radius: 11px; background: rgba(255,255,255,.8); color: #2b211a; font: 500 .87rem "Manrope", sans-serif; }.generator-card button { width: fit-content; min-height: 39px; padding: 0 14px; border: 0; border-radius: 999px; background: #eab51b; color: #2b211a; cursor: pointer; font: 850 .69rem "Manrope", sans-serif; letter-spacing: .07em; text-transform: uppercase; }.generator-card button:hover { background: #2c211b; color: #fff8ec; }.generator-card output { display: none; margin-top: 2px; padding: 11px; border-radius: 12px; background: #2b211b; color: #fff9ec; font-size: .86rem; font-weight: 700; line-height: 1.42; }.generator-card output.is-visible { display: block; }
.generators-guide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 25px; border: 1px solid rgba(188,135,27,.26); border-radius: 24px; background: #fffdf7; }.generators-guide h2 { margin-bottom: 0; font-size: clamp(1.8rem, 2.6vw, 2.7rem); }.generators-guide > p { margin: 0; color: #65554a; line-height: 1.5; }.generators-guide .btn { white-space: nowrap; } body[data-page="laboratory-generators"] .laboratory-share-band { margin: 0; }
@media (max-width: 800px) { .generators-hero { grid-template-columns: 1fr; padding: 22px; }.generators-hero-stamp { display: none; }.generators-grid { grid-template-columns: 1fr; }.generator-card { min-height: 0; }.generators-guide { grid-template-columns: 1fr; gap: 12px; }.generators-guide .btn { width: fit-content; } }

/* Laboratory simulators: quick, friendly in-browser tools kept separate from the paid Windows suite. */
body[data-page="laboratory-simulators"] .laboratory-simulators-page { display: grid; gap: 16px; width: min(100%, 1180px); margin: 0 auto; }.simulators-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 22px; padding: 26px 30px; border: 1px solid rgba(102,132,71,.28); border-bottom: 3px solid #72a149; border-radius: 28px; background: linear-gradient(112deg, #fffefb, #edf5e5); }.simulators-hero h1, .simulators-guide h2 { max-width: 820px; margin: 5px 0 10px; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(2.3rem, 4vw, 4.05rem); line-height: .95; }.simulators-hero p:not(.eyebrow) { max-width: 740px; margin: 0; color: #5f594e; line-height: 1.55; }.simulators-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }.simulators-hero-tags span { padding: 7px 10px; border: 1px solid rgba(51,87,40,.16); border-radius: 999px; background: rgba(255,255,255,.72); color: #386432; font-size: .67rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.simulators-target { position: relative; display: grid; place-items: center; width: 164px; height: 164px; justify-self: end; border: 1px solid rgba(65,104,45,.3); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(87,128,59,.18) 23px 24px); }.simulators-target::before, .simulators-target::after { position: absolute; width: 1px; height: 100%; background: rgba(87,128,59,.25); content: ''; }.simulators-target::after { width: 100%; height: 1px; }.simulators-target i { width: 15px; height: 15px; border-radius: 50%; background: #eab51b; box-shadow: 0 0 0 7px rgba(234,181,27,.18); }.simulators-target b { position: absolute; bottom: 23px; color: #386432; font: 1rem/1 "Bebas Neue", "Oswald", sans-serif; letter-spacing: .11em; }.simulators-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.simulator-card { display: grid; align-content: start; gap: 11px; min-height: 245px; padding: 19px; border: 1px solid rgba(50,40,24,.1); border-radius: 22px; background: #fffdf8; box-shadow: 0 11px 24px rgba(65,45,22,.05); }.simulator-card:nth-child(3n+2) { background: #f8eee1; }.simulator-card:nth-child(3n) { background: #eaf2e5; }.simulator-card-top { display: flex; justify-content: space-between; gap: 10px; }.simulator-card-top span { color: #5e913b; font: 1.7rem/1 "Bebas Neue", "Oswald", sans-serif; }.simulator-card-top p { margin: 0; color: #557344; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-align: right; text-transform: uppercase; }.simulator-card h2 { margin: 0; color: #2a211b; font-family: "Cormorant Garamond", serif; font-size: 1.78rem; line-height: .96; }.simulator-card label { display: grid; gap: 5px; margin-top: auto; color: #5b644d; font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }.simulator-card input { width: 100%; height: 39px; padding: 0 10px; border: 1px solid rgba(51,72,39,.17); border-radius: 11px; background: rgba(255,255,255,.78); color: #2b211b; }.simulator-card button { width: fit-content; min-height: 39px; padding: 0 14px; border: 0; border-radius: 999px; background: #5eaf5f; color: #112810; cursor: pointer; font: 850 .68rem "Manrope", sans-serif; letter-spacing: .07em; text-transform: uppercase; }.simulator-card button:hover { background: #2d572e; color: #fff; }.simulator-card output { display: none; padding: 11px; border-radius: 12px; background: #294128; color: #fffaf0; font-size: .85rem; font-weight: 700; line-height: 1.42; }.simulator-card output.is-visible { display: block; }.simulators-guide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 25px; border: 1px solid rgba(91,133,59,.23); border-radius: 23px; background: #fffdf8; }.simulators-guide h2 { margin-bottom: 0; font-size: clamp(1.8rem, 2.6vw, 2.7rem); }.simulators-guide > p { margin: 0; color: #625b50; line-height: 1.5; }.simulators-guide .btn { white-space: nowrap; }
@media (max-width: 800px) { .simulators-hero { grid-template-columns: 1fr; padding: 22px; }.simulators-target { display: none; }.simulators-grid { grid-template-columns: 1fr; }.simulator-card { min-height: 0; }.simulators-guide { grid-template-columns: 1fr; gap: 12px; }.simulators-guide .btn { width: fit-content; } }

/* Radar: editorial reading destination, not a generic legacy category page. */
body[data-page="laboratory-radar"] .laboratory-radar-page { display: grid; gap: 16px; width: min(100%, 1180px); margin: 0 auto; }.radar-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 20px; align-items: center; padding: 27px 31px; overflow: hidden; border: 1px solid rgba(130,76,42,.3); border-bottom: 3px solid #b96a2d; border-radius: 28px; background: linear-gradient(110deg, #fffef9, #f4dfcc); }.radar-hero h1, .radar-heading h2, .radar-bridge h2 { margin: 5px 0 10px; color: #2c211b; font-family: "Cormorant Garamond", serif; font-size: clamp(2.3rem, 4vw, 4rem); line-height: .95; }.radar-hero p:not(.eyebrow) { max-width: 750px; margin: 0 0 16px; color: #65554a; line-height: 1.55; }.radar-signal { position: relative; display: grid; place-items: center; width: 165px; height: 165px; justify-self: end; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,255,255,.4) 0 1px, transparent 2px 27px); }.radar-signal::before, .radar-signal::after { position: absolute; inset: 10px; border: 1px solid rgba(151,82,35,.25); border-radius: 50%; content: ''; }.radar-signal::after { inset: 38px; }.radar-signal span { width: 16px; height: 16px; border-radius: 50%; background: #eab51b; box-shadow: 0 0 0 7px rgba(234,181,27,.18); }.radar-signal i { position: absolute; width: 1px; height: 100%; background: rgba(151,82,35,.28); transform: rotate(38deg); }.radar-signal b { position: absolute; bottom: 21px; color: #874419; font: 1rem/1 "Bebas Neue", "Oswald", sans-serif; letter-spacing: .12em; }.radar-pulse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.radar-pulse article { padding: 16px 18px; border: 1px solid rgba(72,49,29,.1); border-radius: 19px; background: #fffdf8; }.radar-pulse article:nth-child(2) { background: #f9ebcb; }.radar-pulse article:nth-child(3) { background: #edf2e9; }.radar-pulse span { color: #ad651e; font: 1.45rem/1 "Bebas Neue", "Oswald", sans-serif; }.radar-pulse h2 { margin: 5px 0 4px; color: #2b211b; font-size: 1rem; }.radar-pulse p { margin: 0; color: #67594e; font-size: .84rem; line-height: 1.42; }.radar-reading { padding: 23px; border: 1px solid rgba(175,123,24,.22); border-radius: 25px; background: #fffdf8; }.radar-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }.radar-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 3.1vw, 3.15rem); }.radar-heading > a { color: #9a650e; font-size: .71rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.radar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.radar-post { display: grid; grid-template-columns: 102px 1fr; gap: 12px; min-height: 128px; overflow: hidden; border: 1px solid rgba(45,32,20,.1); border-radius: 17px; background: #fffefa; color: #2b211b; }.radar-post img { width: 102px; height: 100%; min-height: 128px; object-fit: cover; }.radar-post div { display: grid; align-content: center; gap: 5px; padding: 12px 12px 12px 0; }.radar-post span { color: #aa6b17; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.radar-post h3 { margin: 0; font-size: .93rem; line-height: 1.25; }.radar-post p { display: -webkit-box; margin: 0; overflow: hidden; color: #6a5d50; font-size: .77rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.radar-post b { color: #9f6813; font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }.radar-bridge { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 25px; border-radius: 23px; background: linear-gradient(110deg, #2b2019, #603d27); color: #fff9ec; }.radar-bridge h2 { margin-bottom: 5px; color: #fff6e9; font-size: clamp(1.8rem, 2.6vw, 2.7rem); }.radar-bridge p:not(.eyebrow) { max-width: 650px; margin: 0; color: #eadbc7; line-height: 1.5; }.radar-bridge > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }.radar-bridge .btn { white-space: nowrap; }
@media (max-width: 800px) { .radar-hero { grid-template-columns: 1fr; padding: 22px; }.radar-signal { display: none; }.radar-pulse, .radar-grid { grid-template-columns: 1fr; }.radar-heading, .radar-bridge { display: grid; }.radar-post { grid-template-columns: 92px 1fr; }.radar-post img { width: 92px; }.radar-bridge > div:last-child { justify-content: start; } }

/* Keep the Laboratory as wide as the main editorial pages while retaining a safe outer gutter. */
body[data-page="laboratory"] .laboratory-page,
body[data-page="laboratory-generators"] .laboratory-generators-page,
body[data-page="laboratory-simulators"] .laboratory-simulators-page,
body[data-page="laboratory-radar"] .laboratory-radar-page {
  width: min(calc(100% - 32px), 1400px);
}
@media (max-width: 640px) {
  body[data-page="laboratory"] .laboratory-page,
  body[data-page="laboratory-generators"] .laboratory-generators-page,
  body[data-page="laboratory-simulators"] .laboratory-simulators-page,
  body[data-page="laboratory-radar"] .laboratory-radar-page { width: min(calc(100% - 20px), 1400px); }
}

body[data-page="interactive-tool"] .interactive-tool-page {
  display: grid;
  gap: 16px;
  width: min(calc(100% - 32px), 1400px);
  margin: 0 auto;
}

body[data-page="interactive-tool"] {
  background:
    radial-gradient(circle at top left, rgba(231, 177, 31, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(168, 93, 62, 0.10), transparent 24%),
    linear-gradient(180deg, #f3eadc 0%, #efe4d1 100%) !important;
}

.interactive-tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  padding: 28px 30px;
  border: 1px solid rgba(184, 133, 22, 0.26);
  border-bottom: 3px solid #dfad16;
  border-radius: 28px;
  background: linear-gradient(112deg, #fffefb, #fae9b4);
  box-shadow: 0 16px 34px rgba(58, 40, 19, 0.07);
}

.interactive-tool-hero h1 {
  max-width: 17ch;
  margin: 4px 0 10px;
  color: #2b211b;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.interactive-tool-hero > div > p:not(.eyebrow) {
  max-width: 72ch;
  margin: 0;
  color: #65574b;
  line-height: 1.58;
}

.interactive-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.interactive-tool-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(71, 52, 28, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #7a5318;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interactive-tool-note {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
}

.interactive-tool-note strong {
  color: #2b211b;
  font-size: 1rem;
}

.interactive-tool-note p {
  margin: 0;
  color: #66584d;
  line-height: 1.55;
}

.interactive-tool-stage {
  padding-inline: clamp(10px, 4.2vw, 74px);
}

.interactive-tool-content {
  position: relative;
}

.interactive-tool-content .pl-main-wrapper,
.interactive-tool-content .pl-tool-shell,
.interactive-tool-content .pl-wrap,
.interactive-tool-content .page-wrap {
  width: min(100%, 1160px) !important;
  max-width: 1160px !important;
  margin: 0 auto !important;
  border: 1px solid rgba(43, 33, 27, 0.08) !important;
  border-radius: 30px !important;
  box-shadow: 0 16px 36px rgba(49, 34, 18, 0.1) !important;
  overflow: hidden !important;
}

.interactive-tool-content .pl-main-wrapper {
  padding: clamp(16px, 2vw, 26px) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  background:
    radial-gradient(circle at top right, rgba(240, 195, 86, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, #f8f1e5 100%) !important;
  color: #2b211b !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-header,
body[data-page="interactive-tool"] .interactive-tool-content .brand-box,
body[data-page="interactive-tool"] .interactive-tool-content .pl-card,
body[data-page="interactive-tool"] .interactive-tool-content .pl-sidebar,
body[data-page="interactive-tool"] .interactive-tool-content .team-card-input,
body[data-page="interactive-tool"] .interactive-tool-content .match-card,
body[data-page="interactive-tool"] .interactive-tool-content .score-picker-card,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual,
body[data-page="interactive-tool"] .interactive-tool-content .manual-toc,
body[data-page="interactive-tool"] .interactive-tool-content .info-banner,
body[data-page="interactive-tool"] .interactive-tool-content .exempt-badge,
body[data-page="interactive-tool"] .interactive-tool-content .rematch-warn,
body[data-page="interactive-tool"] .interactive-tool-content .champion-banner {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #2b211b !important;
  border-color: rgba(87, 63, 27, 0.14) !important;
  box-shadow: 0 14px 30px rgba(64, 46, 23, 0.08) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .brand-box {
  background:
    radial-gradient(circle at top right, rgba(240, 195, 86, 0.18), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #f9f0de 100%) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .brand-title,
body[data-page="interactive-tool"] .interactive-tool-content .section-title,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual .manual-head h2,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual h3,
body[data-page="interactive-tool"] .interactive-tool-content .pl-col label,
body[data-page="interactive-tool"] .interactive-tool-content .team-card-input-title {
  color: #a46813 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .brand-by,
body[data-page="interactive-tool"] .interactive-tool-content .brand-by strong,
body[data-page="interactive-tool"] .interactive-tool-content .brand-by a,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual p,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual li,
body[data-page="interactive-tool"] .interactive-tool-content .info-banner,
body[data-page="interactive-tool"] .interactive-tool-content .match-team-players,
body[data-page="interactive-tool"] .interactive-tool-content .pl-empty-state {
  color: #66584d !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .brand-pill,
body[data-page="interactive-tool"] .interactive-tool-content .round-badge,
body[data-page="interactive-tool"] .interactive-tool-content .btn-format.active,
body[data-page="interactive-tool"] .interactive-tool-content .btn-launch-main,
body[data-page="interactive-tool"] .interactive-tool-content .score-picker-grid button,
body[data-page="interactive-tool"] .interactive-tool-content .tb-btn,
body[data-page="interactive-tool"] .interactive-tool-content .btn-next-round,
body[data-page="interactive-tool"] .interactive-tool-content .btn-pdf-final {
  background: linear-gradient(135deg, #efb315, #ffd35d) !important;
  color: #1f160f !important;
  border: none !important;
  box-shadow: 0 12px 24px rgba(221, 163, 25, 0.2) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .tb-save {
  background: linear-gradient(135deg, #2f8f5f, #4dbf86) !important;
  color: #fffdf8 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .tb-export {
  background: linear-gradient(135deg, #2f6fa8, #4a97db) !important;
  color: #fffdf8 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .tb-import {
  background: linear-gradient(135deg, #8756ae, #b17ad9) !important;
  color: #fffdf8 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .tb-print {
  background: linear-gradient(135deg, #d77d24, #f3a44d) !important;
  color: #fffdf8 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .tb-reset {
  background: #fff7f3 !important;
  color: #b14d2e !important;
  border: 1px solid rgba(177, 77, 46, 0.2) !important;
  box-shadow: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content input[type="text"],
body[data-page="interactive-tool"] .interactive-tool-content input[type="number"]:not(.score-input),
body[data-page="interactive-tool"] .interactive-tool-content input[type="date"],
body[data-page="interactive-tool"] .interactive-tool-content select,
body[data-page="interactive-tool"] .interactive-tool-content textarea,
body[data-page="interactive-tool"] .interactive-tool-content .pl-format-selector,
body[data-page="interactive-tool"] .interactive-tool-content .player-row input,
body[data-page="interactive-tool"] .interactive-tool-content .score-picker-close {
  background: #fffdfa !important;
  color: #2b211b !important;
  border: 1px solid rgba(87, 63, 27, 0.16) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .player-row input::placeholder,
body[data-page="interactive-tool"] .interactive-tool-content input::placeholder,
body[data-page="interactive-tool"] .interactive-tool-content textarea::placeholder {
  color: #938172 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-inner,
body[data-page="interactive-tool"] .interactive-tool-content .match-score-zone {
  background: transparent !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-block {
  background: rgba(255, 252, 247, 0.9) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-block.pickable:hover {
  background: #fff7e8 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-block.winner-block {
  background: linear-gradient(135deg, #eef8f0 0%, #e3f4e8 100%) !important;
  border-left-color: #3e9b5d !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-block.right-team.winner-block {
  border-right-color: #3e9b5d !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-block.loser-block {
  opacity: 0.76 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .match-team-name,
body[data-page="interactive-tool"] .interactive-tool-content .standings-table td.name-cell,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual h4 {
  color: #2b211b !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-input {
  background: #fffdf8 !important;
  color: #9f6610 !important;
  border: 2px solid rgba(159, 102, 16, 0.28) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-sep {
  color: #9b8878 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .winner-tag {
  background: #3e9b5d !important;
  color: #fff !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .standings-table {
  background: #fffefb !important;
  color: #2b211b !important;
}

/* Generic polish for legacy tool pages, excluding Concours du soir which has its own dedicated skin. */
body[data-page="interactive-tool"] .interactive-tool-content .pl-wrap {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-header,
body[data-page="interactive-tool"] .interactive-tool-content .pl-logo,
body[data-page="interactive-tool"] .interactive-tool-content .brand-box,
body[data-page="interactive-tool"] .interactive-tool-content .brand-by,
body[data-page="interactive-tool"] .interactive-tool-content .brand-fb,
body[data-page="interactive-tool"] .interactive-tool-content .pl-paquita-box,
body[data-page="interactive-tool"] .interactive-tool-content .lang-switch,
body[data-page="interactive-tool"] .interactive-tool-content .pl-online-langbar,
body[data-page="interactive-tool"] .interactive-tool-content .pl-online-upsell,
body[data-page="interactive-tool"] .interactive-tool-content .language-switcher,
body[data-page="interactive-tool"] .interactive-tool-content .tool-language-switcher,
body[data-page="interactive-tool"] .interactive-tool-content .pl-screen-btn,
body[data-page="interactive-tool"] .interactive-tool-content .pl-public-btn,
body[data-page="interactive-tool"] .interactive-tool-content #pl-public-banner {
  display: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) {
  padding: clamp(18px, 2vw, 28px) !important;
  background:
    radial-gradient(circle at top right, rgba(240, 195, 86, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, #f8f1e5 100%) !important;
  color: #2b211b !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-header {
  margin-bottom: 18px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-box {
  max-width: 760px !important;
  margin: 0 auto 18px !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(199, 145, 28, 0.42) !important;
  border-bottom: 3px solid #dfad16 !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top right, rgba(240, 195, 86, 0.16), transparent 22%),
    linear-gradient(180deg, #fffdf8 0%, #f9f0de 100%) !important;
  box-shadow: 0 16px 32px rgba(58, 40, 19, 0.12) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-title,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) h1 {
  color: #1f1812 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(2rem, 3.4vw, 3.7rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-title .accent {
  color: #9a620f !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #efb315, #ffd35d) !important;
  color: #23180f !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-by {
  margin-top: 10px !important;
  color: #51453a !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-by strong,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .brand-by a {
  color: #8a560d !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-card,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-sidebar,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-content,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-toc,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-note,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-tip,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-step,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .score-picker-card,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .team-card-input {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #241b14 !important;
  border: 1px solid rgba(87, 63, 27, 0.22) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 30px rgba(64, 46, 23, 0.09) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-card,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual {
  padding: 22px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-row {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-col {
  grid-column: span 6 !important;
  min-width: 0 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-col[style*="130px"] {
  grid-column: span 3 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) label,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .section-title,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-head h2,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual h3,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual h4,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .team-card-input-title {
  color: #7f500c !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) label {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) input[type="text"],
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) input[type="number"],
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) input[type="date"],
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) select,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) textarea {
  min-height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(87, 63, 27, 0.3) !important;
  border-radius: 12px !important;
  background: #fffdfa !important;
  color: #221a13 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65) !important, 0 1px 3px rgba(66, 43, 20, 0.05) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .info-banner {
  margin-bottom: 18px !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.16), rgba(255, 235, 156, 0.55)) !important;
  color: #3b2d21 !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  border: 1px solid rgba(191, 138, 28, 0.26) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-format-selector,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-toolbar,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-import-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-format-selector {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .btn-format,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .tb-btn,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-import-btn,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .btn-launch-main {
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .btn-launch-main {
  margin-top: 16px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-sidebar > div[style*="font-weight:900"] {
  margin-bottom: 14px !important;
  color: #8a560d !important;
  font: 900 0.82rem/1.2 "Bebas Neue", "Oswald", sans-serif !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .team-card-input {
  margin-bottom: 12px !important;
  padding: 14px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .team-card-input-title {
  margin-bottom: 12px !important;
  font-weight: 900 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-empty-state {
  padding: 34px 24px !important;
  border: 1px dashed rgba(167, 110, 18, 0.42) !important;
  border-radius: 18px !important;
  background: rgba(255, 250, 241, 0.8) !important;
  color: #54473c !important;
  text-align: center !important;
  line-height: 1.65 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual {
  margin-top: 18px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-head {
  margin-bottom: 16px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-head h2 {
  margin: 0 0 6px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(1.9rem, 3vw, 2.8rem) !important;
  line-height: 0.98 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-head p,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual p,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-manual li {
  color: #4f4338 !important;
  line-height: 1.65 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-toc ol {
  padding-left: 18px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-table {
  width: 100% !important;
  border-collapse: collapse !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-table th,
body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-table td {
  padding: 12px 14px !important;
  border: 1px solid rgba(87, 63, 27, 0.16) !important;
  text-align: left !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .manual-table th {
  background: rgba(241, 196, 15, 0.16) !important;
  color: #5c3d0d !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 20px !important;
  background: rgba(34, 24, 16, 0.46) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-modal.hidden {
  display: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-card {
  width: min(100%, 420px) !important;
  padding: 22px !important;
  border: 1px solid rgba(87, 63, 27, 0.24) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe2 100%) !important;
  box-shadow: 0 24px 60px rgba(36, 25, 16, 0.24) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-title {
  margin-bottom: 6px !important;
  color: #241b14 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 2rem !important;
  line-height: 0.98 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-subtitle {
  margin-bottom: 14px !important;
  color: #57493d !important;
  line-height: 1.55 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .score-picker-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

@media (max-width: 980px) {
  body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-layout,
  body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-row {
    grid-template-columns: 1fr !important;
  }

  body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-col,
  body[data-page="interactive-tool"] .interactive-tool-content .pl-main-wrapper:not(#cds-root) .pl-col[style*="130px"] {
    grid-column: auto !important;
  }
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root {
  color: #2d241c !important;
  max-width: 1120px !important;
  padding: 8px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-title {
  color: #8a560d !important;
  margin: 4px 0 8px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-sub {
  max-width: 780px !important;
  margin: 0 auto 18px !important;
  color: #4b4035 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 600 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-card,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-round,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-card {
  background: rgba(255, 252, 247, 0.96) !important;
  color: #2d241c !important;
  border: 1px solid rgba(116, 84, 42, 0.28) !important;
  box-shadow: 0 18px 34px rgba(59, 39, 18, 0.12) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 18px !important;
  gap: 10px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-field > span,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-card h2,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-teams-head strong {
  color: #7a4b08 !important;
  font-weight: 800 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-hint,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-count,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-round-info,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-sub,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-table th {
  color: #53473c !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar input[type="text"],
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar input[type="date"],
body[data-page="interactive-tool"] .interactive-tool-content #cds-root #cds-parties,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team input[type="text"] {
  background: #fffdfa !important;
  color: #241b14 !important;
  border: 1px solid rgba(116, 84, 42, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important, 0 1px 3px rgba(66, 43, 20, 0.06) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > input[type="text"],
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > input[type="date"] {
  flex: 1 1 190px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > button,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > .cds-imp {
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar input[type="text"]::placeholder,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team input[type="text"]::placeholder {
  color: #756555 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar button,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar .cds-imp,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-toggle,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-opt,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .btn-ghost,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-toolbar button,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-print-round button {
  background: #fffaf3 !important;
  color: #241b14 !important;
  border: 1px solid rgba(116, 84, 42, 0.32) !important;
  box-shadow: 0 10px 20px rgba(71, 46, 18, 0.1) !important;
  font-weight: 800 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-seg {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  width: auto !important;
  max-width: 100% !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-card {
  padding: 18px !important;
  border-radius: 22px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-row {
  display: grid !important;
  grid-template-columns: minmax(120px, 170px) minmax(280px, 1fr) !important;
  gap: 18px 22px !important;
  align-items: start !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-field {
  min-width: 0 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-field > button,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-opt,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .btn-main,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .btn-ghost {
  min-height: 48px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 16px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-actions > * {
  flex: 0 0 auto !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root #cds-teams {
  display: grid !important;
  gap: 12px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-toggle.active,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-opt.active,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .btn-main,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-round-badge {
  background: linear-gradient(135deg, #efb315, #ffd35d) !important;
  color: #171009 !important;
  border-color: transparent !important;
  box-shadow: 0 12px 24px rgba(221, 163, 25, 0.3) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-teams-head {
  border-top: 1px solid rgba(116, 84, 42, 0.24) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-match,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .match-team-block {
  background: #fffdfa !important;
  border-color: rgba(116, 84, 42, 0.24) !important;
  box-shadow: 0 8px 18px rgba(71, 46, 18, 0.07) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team {
  border-left: 4px solid #efb315 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-round {
  padding: 18px !important;
  border-radius: 22px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-round-head,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-card {
  padding: 18px !important;
  border-radius: 22px !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team .num,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team-num {
  background: #efb315 !important;
  color: #1f160f !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .match-team-name,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-table td {
  color: #221a13 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-team input[type="text"]:focus,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar input[type="text"]:focus,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar input[type="date"]:focus,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root #cds-parties:focus {
  border-color: rgba(197, 138, 17, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(239, 179, 21, 0.22) !important, inset 0 1px 0 rgba(255,255,255,0.92) !important;
  outline: none !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .match-team-block.winner-block {
  background: linear-gradient(135deg, #eef8f0 0%, #e3f4e8 100%) !important;
  border-color: rgba(62, 155, 93, 0.34) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-bye {
  background: #fff5db !important;
  color: #775200 !important;
  border-color: rgba(183, 138, 19, 0.22) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-bye.attente {
  background: #ecf7fa !important;
  color: #19556a !important;
  border-color: rgba(31, 90, 106, 0.22) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-autosave,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-mixte,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-wins,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-tag-mixte,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-mixte {
  color: #2f8f5f !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-tag-mixte,
body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-rank-mixte {
  border-color: rgba(47, 143, 95, 0.34) !important;
  background: rgba(47, 143, 95, 0.08) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-del {
  background: #fff4f1 !important;
  color: #b14d2e !important;
  border-color: rgba(177, 77, 46, 0.22) !important;
}

@media (max-width: 860px) {
  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-row {
    grid-template-columns: 1fr !important;
  }

  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > input[type="text"],
  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > input[type="date"],
  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > button,
  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-savebar > .cds-imp,
  body[data-page="interactive-tool"] .interactive-tool-content #cds-root .cds-actions > * {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
}

body[data-page="interactive-tool"] .interactive-tool-content .standings-table th {
  background: linear-gradient(135deg, #efb315, #ffd35d) !important;
  color: #22170f !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .standings-table td {
  border-bottom: 1px solid rgba(87, 63, 27, 0.1) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .standings-table tr:hover td {
  background: #fff6e7 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .rank-other {
  background: #f3ecdf !important;
  color: #705f50 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .rank-2 {
  background: #d9d6d1 !important;
  color: #2b211b !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .rank-3 {
  background: #c79055 !important;
  color: #fff !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-manual .manual-toc a,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual strong {
  color: #a46813 !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .pl-manual code,
body[data-page="interactive-tool"] .interactive-tool-content .pl-manual .ui {
  background: #fff9ef !important;
  color: #2b211b !important;
  border-color: rgba(87, 63, 27, 0.14) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .manual-note {
  background: #fff7e6 !important;
  border-color: rgba(220, 168, 43, 0.34) !important;
}

body[data-page="interactive-tool"] .interactive-tool-content .manual-tip {
  background: #eef8f0 !important;
  border-color: rgba(62, 155, 93, 0.24) !important;
}

@media (max-width: 900px) {
  .interactive-tool-hero {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 24px;
  }

  .interactive-tool-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3.15rem);
  }

  .interactive-tool-stage {
    padding-inline: 0;
  }
}

/* Long-form pages behind the laboratory watch cards. */
body[data-page="laboratory-watch"] .laboratory-watch-page { display: grid; gap: 16px; width: min(calc(100% - 32px), 1400px); margin: 0 auto; }.watch-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 25px; align-items: center; padding: 28px 31px; border: 1px solid rgba(181,117,24,.28); border-bottom: 3px solid #dfab17; border-radius: 28px; background: linear-gradient(112deg, #fffefb, #f9e6b2); }.watch-hero h1, .watch-intro h2, .watch-practice h2 { margin: 5px 0 10px; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(2.3rem, 4vw, 4rem); line-height: .95; }.watch-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #66574b; line-height: 1.55; }.watch-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }.watch-hero-tags span { padding: 7px 10px; border: 1px solid rgba(73,49,20,.12); border-radius: 999px; background: rgba(255,255,255,.68); color: #7c5517; font-size: .67rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.watch-mark { display: grid; place-items: center; width: 158px; height: 158px; justify-self: end; border: 1px dashed rgba(130,79,21,.44); border-radius: 50%; color: #744a16; }.watch-mark b { font: 4.3rem/1 "Bebas Neue", "Oswald", sans-serif; }.watch-mark span { margin-top: -12px; font-size: .65rem; font-weight: 850; letter-spacing: .12em; }.watch-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 23px 26px; border: 1px solid rgba(40,29,18,.1); border-radius: 23px; background: #fffdf8; }.watch-intro h2 { margin-bottom: 0; font-size: clamp(1.9rem, 2.8vw, 2.85rem); }.watch-intro > p { margin: 0; color: #62564b; line-height: 1.55; }.watch-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.watch-points article { padding: 18px; border: 1px solid rgba(72,51,27,.1); border-radius: 20px; background: #fffefa; }.watch-points article:nth-child(2) { background: #eef3e7; }.watch-points article:nth-child(3) { background: #f7e9d2; }.watch-points span { color: #b57917; font: 1.5rem/1 "Bebas Neue", "Oswald", sans-serif; }.watch-points h2 { margin: 6px 0; font-size: 1.1rem; }.watch-points p { margin: 0; color: #67594e; font-size: .88rem; line-height: 1.5; }.watch-practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 28px; padding: 24px 27px; border-radius: 24px; background: linear-gradient(110deg, #2c211b, #5a3924); color: #fff9ee; }.watch-practice h2 { color: #fff9ee; font-size: clamp(1.9rem, 2.8vw, 2.85rem); }.watch-practice p:not(.eyebrow) { margin: 0; color: #eadbc7; line-height: 1.52; }.watch-practice ul { display: grid; gap: 9px; align-content: center; margin: 0; padding: 0; list-style: none; }.watch-practice li { padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); color: #fff6e8; font-size: .88rem; }.watch-practice li::before { margin-right: 8px; color: #eeb91d; content: '✓'; }.watch-navigation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.watch-navigation a { position: relative; display: grid; gap: 6px; min-height: 110px; padding: 16px; overflow: hidden; border: 1px solid rgba(171,112,18,.2); border-radius: 18px; background: #fffdf8; color: #2b211b; }.watch-navigation a:nth-child(2) { background: #edf3e8; }.watch-navigation a:nth-child(3) { background: #f8e8d2; }.watch-navigation span { color: #8c691f; font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.watch-navigation strong { max-width: 85%; font-size: 1rem; }.watch-navigation b { position: absolute; right: 15px; bottom: 12px; color: #a46d12; }
@media (max-width: 800px) { .watch-hero, .watch-intro, .watch-practice { grid-template-columns: 1fr; }.watch-mark { display: none; }.watch-points, .watch-navigation { grid-template-columns: 1fr; } }
.watch-advice { padding: 23px; border: 1px solid rgba(177,122,25,.22); border-radius: 24px; background: #fffdf8; }.watch-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 26px; align-items: end; margin-bottom: 16px; }.watch-section-heading h2, .watch-scenarios h2 { margin: 5px 0 0; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(1.9rem, 2.9vw, 3rem); line-height: .98; }.watch-section-heading > p { margin: 0; color: #66584c; line-height: 1.5; }.watch-advice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.watch-advice-grid article { padding: 16px; border: 1px solid rgba(69,48,26,.1); border-radius: 17px; background: #fffefa; }.watch-advice-grid article:nth-child(2n) { background: #f9edcf; }.watch-advice-grid h3 { margin: 0 0 7px; font-size: 1rem; }.watch-advice-grid p { margin: 0; color: #67594f; font-size: .86rem; line-height: 1.48; }.watch-scenarios { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 26px; padding: 23px 26px; border-radius: 24px; background: #edf3e8; }.watch-scenarios > div:last-child { display: grid; gap: 9px; }.watch-scenarios details { border: 1px solid rgba(62,92,48,.17); border-radius: 14px; background: rgba(255,255,255,.72); }.watch-scenarios summary { padding: 13px 15px; cursor: pointer; color: #2b211b; font-weight: 800; }.watch-scenarios p { margin: 0; padding: 0 15px 14px; color: #5c6255; line-height: 1.5; }.watch-scenarios details[open] summary { color: #4a7a37; }
@media (max-width: 800px) { .watch-section-heading, .watch-scenarios { grid-template-columns: 1fr; }.watch-advice-grid { grid-template-columns: 1fr; } }

/* Real images make the laboratory guides easier to scan without adding decorative noise. */
.watch-hero { grid-template-columns: minmax(0, 1fr) 228px; }
.watch-hero-photo { position: relative; width: 228px; min-height: 174px; justify-self: end; margin: 0; overflow: hidden; border: 1px solid rgba(104, 67, 25, .28); border-radius: 21px; background: #e8d5aa; box-shadow: 0 16px 30px rgba(65, 42, 19, .16); }
.watch-hero-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(31, 22, 14, .78)); content: ''; pointer-events: none; }
.watch-hero-photo img { display: block; width: 100%; height: 100%; min-height: 174px; object-fit: cover; object-position: center; }
.watch-hero-photo figcaption { position: absolute; right: 11px; bottom: 9px; left: 11px; z-index: 1; color: #fff9ee; font-size: .72rem; font-weight: 750; line-height: 1.25; }
.watch-gallery { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); gap: 24px; align-items: center; padding: 22px 25px; border: 1px solid rgba(177, 122, 25, .18); border-radius: 24px; background: linear-gradient(120deg, #fffdf9, #f7ecd5); }
.watch-gallery h2 { margin: 5px 0 0; color: #2b211b; font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 2.6vw, 2.65rem); line-height: .98; }
.watch-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.watch-gallery figure { position: relative; min-height: 145px; margin: 0; overflow: hidden; border-radius: 17px; background: #4b3523; box-shadow: 0 10px 20px rgba(75, 49, 25, .12); }
.watch-gallery figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(35, 23, 14, .76)); content: ''; pointer-events: none; }
.watch-gallery img { display: block; width: 100%; height: 100%; min-height: 145px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.watch-gallery figure:hover img { transform: scale(1.045); }
.watch-gallery figcaption { position: absolute; right: 13px; bottom: 11px; left: 13px; z-index: 1; color: #fffaf0; font-size: .8rem; font-weight: 750; line-height: 1.3; }
@media (max-width: 800px) { .watch-hero { grid-template-columns: 1fr; }.watch-hero-photo { width: min(100%, 300px); justify-self: start; }.watch-gallery { grid-template-columns: 1fr; }.watch-gallery-grid { grid-template-columns: 1fr; } }

.page-hero-tools {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.9) 52%, rgba(249,230,185,0.58) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 70% center/cover;
}

body[data-page="outils"] .tools-landing-hero {
  min-height: 0;
  margin-bottom: 14px;
  padding: 16px 30px 17px;
}

body[data-page="outils"] .tools-landing-hero > div { max-width: 860px; }

body[data-page="outils"] .tools-landing-hero h1 {
  max-width: 920px;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1;
  margin: 3px 0 5px;
}

body[data-page="outils"] .tools-landing-hero p:last-child {
  max-width: 720px;
  margin-top: 0;
  font-size: .86rem;
  line-height: 1.38;
}

.tools-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 9px;
}

body[data-page="outils"] .tools-hero-actions .btn {
  min-height: 35px;
  padding: 0 14px;
  font-size: .7rem;
}

body[data-page="outils"] .tools-choice {
  padding-top: 2px;
  padding-bottom: 6px;
  gap: 14px;
}

body[data-page="outils"] .tools-choice .split-panel {
  position: relative;
  min-height: 0;
  padding: 16px 20px;
  overflow: hidden;
  border: 1px solid rgba(83, 59, 30, .12);
  box-shadow: 0 12px 28px rgba(70, 48, 25, .07);
}

body[data-page="outils"] .tools-choice .split-panel h2 {
  max-width: 560px;
  margin: 4px 0 6px;
  font-size: clamp(1.25rem, 1.72vw, 1.72rem);
  line-height: 1.06;
}

body[data-page="outils"] .tools-choice .split-panel > p:not(.entry-kicker) {
  max-width: 620px;
  margin: 0;
  font-size: .85rem;
  line-height: 1.38;
}

body[data-page="outils"] .tools-choice .split-panel-free {
  background: linear-gradient(135deg, #fffefb, #f8e5ad);
}

body[data-page="outils"] .tools-choice .split-panel-paid {
  color: var(--ink);
  background: linear-gradient(135deg, #fff9ed, #eed8af);
}

body[data-page="outils"] .tools-choice .split-panel-paid p,
body[data-page="outils"] .tools-choice .split-panel-paid .entry-kicker {
  color: #5d5145;
}

.tools-choice-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 9px 0 8px;
}

.tools-choice-points span {
  padding: 5px 8px;
  border: 1px solid rgba(83, 59, 30, .15);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #5d471f;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body[data-page="outils"] .tools-choice .inline-link {
  color: #50330d;
  font-size: .68rem;
}

body[data-page="outils"] .tool-grid {
  gap: 14px;
  padding-top: 12px;
}

body[data-page="outils"] .tool-card-rich {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 156px;
  padding: 12px;
  border: 1px solid rgba(75, 56, 34, .11);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,250,241,.86));
  box-shadow: 0 10px 24px rgba(67, 47, 28, .07);
}

body[data-page="outils"] .tool-card-rich:hover {
  border-color: rgba(202, 146, 18, .46);
}

.tool-card-thumb {
  position: relative;
  display: grid;
  min-height: 132px;
  overflow: hidden;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #f1c14a, #8e5a28);
  color: #fff;
  text-decoration: none;
}

.tool-card-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(37, 24, 13, .34));
  content: "";
}

.tool-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-card-thumb > span {
  position: relative;
  z-index: 1;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
}

.tool-card-download .tool-card-thumb {
  background: linear-gradient(145deg, #283b42, #5fa780);
}

.tool-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.tool-card-kicker {
  margin: 1px 0 5px !important;
  color: #a46d09 !important;
  font-size: .63rem !important;
  font-weight: 900;
  letter-spacing: .10em;
  line-height: 1.1 !important;
  text-transform: uppercase;
}

body[data-page="outils"] .tool-card-rich h2 {
  margin: 0 0 6px;
  font-size: clamp(1.23rem, 1.55vw, 1.62rem);
  line-height: 1.02;
}

.tool-card-rich h2 a {
  color: var(--ink);
  text-decoration: none;
}

body[data-page="outils"] .tool-card-rich > .tool-card-content > p:not(.tool-card-kicker) {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 9px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .83rem;
  line-height: 1.42;
}

body[data-page="outils"] .tool-card-rich .inline-link {
  margin-top: auto;
  color: #62400e;
  font-size: .68rem;
}

@media (max-width: 700px) {
  body[data-page="outils"] .tool-card-rich {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 11px;
    min-height: 132px;
    padding: 10px;
  }

  .tool-card-thumb { min-height: 110px; }
}

.page-hero-rules {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.9) 52%, rgba(249,230,185,0.58) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 74% center/cover;
}

.page-hero-universe {
  background:
    linear-gradient(104deg, rgba(255,254,250,0.96) 0%, rgba(255,249,237,0.9) 52%, rgba(249,230,185,0.58) 100%),
    url("/assets/img/heroes/terrain-petanque-hero.png") 78% center/cover;
}

/* Actualites: one editorial landing page, with every stream easy to scan. */
.news-home {
  display: grid;
  gap: 22px;
}

.actualites-hero {
  margin-bottom: 0;
  min-height: 154px;
  padding: 18px 30px;
  align-items: end;
  text-align: left;
}

.actualites-hero > div {
  width: min(100%, 980px);
  margin: 0;
}

.actualites-hero h1 {
  max-width: 1040px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 0.98;
}

.actualites-hero p:last-child {
  max-width: 760px;
  margin: 7px 0 0;
  font-size: 0.88rem;
  line-height: 1.42;
}

.actualites-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 26px;
}

.actualites-path {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 11px 14px;
  border: 1px solid rgba(75, 54, 31, 0.15);
  border-top: 4px solid #d4a219;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffefa, #f8e8bd);
  box-shadow: 0 12px 25px rgba(66, 45, 23, 0.1);
  color: #2b211a;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.actualites-path span,
.actualites-path small {
  color: #806522;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.actualites-path strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.38rem;
  letter-spacing: 0.025em;
  line-height: 0.9;
}

.actualites-path-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(118, 84, 35, 0.26);
  border-radius: 7px;
  background: rgba(255,255,255,0.62);
  color: #a56d14;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1;
}

.actualites-path-icon-ffpjp {
  width: 34px;
  border-color: rgba(25, 66, 133, 0.24);
  border-radius: 5px;
  background: linear-gradient(90deg, #18458b 0 33%, #fff 33% 66%, #d83743 66%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.54);
  color: #33251b;
  font-family: "DM Sans", sans-serif;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 1px rgba(255,255,255,0.75);
}

.actualites-path-icon-clock::before {
  content: "\23F2";
  font-size: 0.95rem;
}

.actualites-path-icon-result::before {
  content: "\2605";
  font-size: 0.78rem;
}

.actualites-path small {
  color: #75665c;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.actualites-path:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 146, 25, 0.56);
  box-shadow: 0 14px 28px rgba(66, 45, 23, 0.12);
}

.actualites-path:nth-child(2) {
  border-top-color: #c97836;
  background: linear-gradient(145deg, #fffdf8, #f4ddc1);
}

.actualites-path:nth-child(3) {
  border-top-color: #8f623f;
  background: linear-gradient(145deg, #fffefa, #ead8c5);
}

.actualites-path:nth-child(4) {
  border-top-color: #487c58;
  background: linear-gradient(145deg, #fffefa, #dfeadc);
}

.actualites-spotlight,
.actualites-archive,
.actualites-streams,
.actualites-rules-callout {
  margin: 0 26px;
}

.actualites-spotlight {
  padding: 18px;
  border: 1px solid rgba(183, 130, 20, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 12%, rgba(230,181,46,0.3), transparent 19%),
    linear-gradient(145deg, #fffefb, #f7e9ca);
  box-shadow: 0 19px 36px rgba(66, 45, 23, 0.1);
}

.actualites-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}

.actualites-section-heading .eyebrow {
  margin-bottom: 5px;
}

.actualites-section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 0.95;
}

.actualites-section-heading > a,
.actualites-read-link {
  color: #8c650d;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actualites-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
  height: 318px;
  overflow: hidden;
  border: 1px solid rgba(75, 54, 31, 0.16);
  border-radius: 22px;
  background: #fffefa;
  box-shadow: 0 12px 24px rgba(66, 45, 23, 0.08);
}

.actualites-feature-image,
.actualites-mini-image {
  display: block;
  overflow: hidden;
}

.actualites-feature-image {
  height: 318px;
}

.actualites-feature-image img,
.actualites-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.actualites-feature:hover img,
.actualites-mini-card:hover img {
  transform: scale(1.04);
}

.actualites-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 30px;
}

.actualites-feature-copy .entry-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: #2e2119;
  color: #f5c02d;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.actualites-feature-copy h3 {
  max-width: 620px;
  margin: 5px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.94;
}

.actualites-feature-copy h3 a,
.actualites-mini-card h3 a {
  color: #2b211a;
}

.actualites-feature-copy > p:not(.entry-kicker) {
  max-width: 650px;
  margin: 0 0 18px;
  color: #66564b;
  line-height: 1.58;
}

.actualites-feature-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.actualites-views {
  color: #74655b;
  font-size: 0.76rem;
  font-weight: 700;
}

.actualites-views span {
  color: #c28d13;
  font-size: 0.65rem;
}

.actualites-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 13px;
}

/* Compact four-story entry: all Paquita news has the same visual weight. */
.actualites-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.actualites-spotlight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 54, 31, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(66, 45, 23, 0.06);
}

.actualites-spotlight-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.actualites-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.actualites-spotlight-card:hover img {
  transform: scale(1.045);
}

.actualites-spotlight-card > div {
  padding: 12px 13px 14px;
}

.actualites-spotlight-card .entry-kicker {
  margin: 0 0 6px;
  color: #8c650d;
  font-size: 0.61rem;
  line-height: 1.25;
}

.actualites-spotlight-card h3 {
  display: -webkit-box;
  min-height: 2.45em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #2b211a;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.actualites-spotlight-card h3 a {
  color: inherit;
}

.actualites-spotlight-card .actualites-read-link {
  font-size: 0.66rem;
}

@media (max-width: 880px) {
  .actualites-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .actualites-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.actualites-mini-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 54, 31, 0.1);
  border-radius: 17px;
  background: rgba(255,255,255,0.64);
}

.actualites-mini-image {
  min-height: 104px;
}

.actualites-mini-card > div {
  min-width: 0;
  padding: 13px 11px 12px 0;
}

.actualites-mini-card .entry-kicker {
  margin: 0 0 5px;
  font-size: 0.62rem;
}

.actualites-mini-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.actualites-archive {
  scroll-margin-top: 22px;
  padding: 25px;
  border: 1px solid rgba(75, 54, 31, 0.12);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(248,237,214,0.78));
  box-shadow: 0 16px 32px rgba(66, 45, 23, 0.08);
}

.actualites-archive-count {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(190, 141, 29, 0.32);
  border-radius: 999px;
  color: #8c650d;
  font-size: 0.72rem;
  font-weight: 800;
}

.actualites-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.actualites-categories a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(81, 57, 34, 0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #4d392d;
  font-size: 0.72rem;
  font-weight: 750;
}

.actualites-categories a:hover {
  border-color: #d3a017;
  background: #fff5d6;
}

.actualites-categories small {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #f2bd21;
  color: #2a211a;
  font-size: 0.61rem;
  font-weight: 850;
}

.actualites-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.actualites-archive-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 54, 31, 0.12);
  border-radius: 17px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 7px 16px rgba(66, 45, 23, 0.045);
}

.actualites-archive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(195, 145, 27, 0.48);
  box-shadow: 0 13px 24px rgba(66, 45, 23, 0.1);
}

.actualites-archive-image {
  display: block;
  min-height: 152px;
  overflow: hidden;
}

.actualites-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actualites-archive-card:hover img {
  transform: scale(1.05);
}

.actualites-archive-card > div {
  min-width: 0;
  padding: 12px 13px;
}

.actualites-archive-card .entry-kicker {
  margin: 0 0 6px;
  color: #98751c;
  font-size: 0.61rem;
}

.actualites-archive-card h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: #2c221b;
  font-size: 0.94rem;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.actualites-archive-card h3 a { color: inherit; }

.actualites-archive-card > div > p:not(.entry-kicker) {
  display: -webkit-box;
  margin: 0 0 9px;
  overflow: hidden;
  color: #75655a;
  font-size: 0.76rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.actualites-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 20px;
}

.actualites-pagination a,
.actualites-pagination span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.actualites-pagination a {
  background: #f1b91b;
  color: #251d18;
}

.actualites-pagination span {
  border: 1px solid rgba(75, 54, 31, 0.14);
  color: #766258;
}

.actualites-newsletter-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(75, 54, 31, 0.14);
  border-radius: 17px;
  background: #2d211a;
  color: #fff8e9;
}

.actualites-newsletter-link span {
  color: #efb829;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.actualites-newsletter-link strong { font-size: 0.9rem; }

.actualites-newsletter-link b {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f1b91b;
  color: #251d18;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.actualites-streams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.actualites-stream {
  padding: 23px;
  border: 1px solid rgba(75, 54, 31, 0.1);
  border-radius: 26px;
  background: rgba(255,255,255,0.74);
}

.actualites-stream-upcoming {
  background: linear-gradient(145deg, rgba(255,253,247,0.95), rgba(249,235,202,0.78));
}

.actualites-stream-results {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(237,227,209,0.8));
}

.actualites-stream-list {
  display: grid;
  gap: 9px;
}

.actualites-stream-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 82px;
  padding: 8px;
  border: 1px solid rgba(75, 54, 31, 0.1);
  border-radius: 15px;
  background: rgba(255,255,255,0.68);
  color: #2b211a;
}

.actualites-stream-item img {
  width: 80px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.actualites-stream-item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.actualites-stream-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.89rem;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.actualites-stream-item small {
  display: -webkit-box;
  overflow: hidden;
  color: #75665c;
  font-size: 0.76rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.actualites-rules-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 24px;
  border: 1px solid rgba(184, 139, 34, 0.32);
  border-left: 5px solid #eab51f;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 50%, rgba(235, 187, 56, 0.2), transparent 20%),
    linear-gradient(105deg, #fffefa, #f8ecd2);
  box-shadow: 0 14px 28px rgba(70, 49, 26, 0.08);
  color: #2e251e;
}

.actualites-rules-callout h2 {
  margin: 2px 0 5px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.25vw, 2.2rem);
  line-height: 1;
}

.actualites-rules-callout p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: #705f54;
  line-height: 1.42;
}

.actualites-rules-callout .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .actualites-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actualites-mini-grid { grid-template-columns: 1fr; }
  .actualites-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actualites-feature { grid-template-columns: 0.82fr 1.18fr; }
}

@media (max-width: 700px) {
  .actualites-paths,
  .actualites-spotlight,
  .actualites-archive,
  .actualites-streams,
  .actualites-rules-callout { margin-left: 14px; margin-right: 14px; }
  .actualites-paths,
  .actualites-streams { grid-template-columns: 1fr; }
  .actualites-spotlight,
  .actualites-archive,
  .actualites-stream { padding: 18px; }
  .actualites-archive-grid { grid-template-columns: 1fr; }
  .actualites-newsletter-link { grid-template-columns: 1fr; gap: 8px; }
  .actualites-newsletter-link b { justify-self: start; }
  .actualites-pagination { flex-wrap: wrap; }
  .actualites-feature { height: auto; grid-template-columns: 1fr; }
  .actualites-feature-image { min-height: 215px; }
  .actualites-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .actualites-rules-callout { align-items: flex-start; flex-direction: column; padding: 22px; }
  .actualites-rules-callout .btn { white-space: normal; }
}

.books-mini-shelf {
  background:
    radial-gradient(circle at 90% 14%, rgba(231,177,31,0.18), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,238,222,0.9));
  border: 1px solid rgba(23,20,17,0.1);
  border-radius: 28px;
  padding: 28px 22px 26px;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(58,43,27,0.08);
}

.books-legacy-heading-center {
  text-align: center;
}

.books-legacy-heading-center p {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
}

.books-legacy-heading-center strong {
  color: var(--ink);
}

.books-mini-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 14px;
  margin-top: 24px;
  align-items: end;
}

.books-mini-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 146px;
  padding: 8px 10px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f1e8da);
  border: 1px solid rgba(23,20,17,0.11);
  box-shadow: 0 10px 20px rgba(47,34,22,0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.books-mini-frame {
  display: block;
  width: 100%;
  max-width: 86px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, #29231e, #120f0d);
  border: 1px solid rgba(23,20,17,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 8px 14px rgba(40,27,16,0.18);
  transform-origin: center bottom;
  transition: transform 0.22s ease;
}

.books-mini-frame img {
  aspect-ratio: 4 / 5.5;
  object-fit: contain;
}

.books-mini-card:hover {
  transform: translateY(-10px);
  border-color: rgba(242,196,12,0.9);
  box-shadow: 0 20px 36px rgba(89,61,20,0.2);
  z-index: 3;
}

.books-mini-card:hover .books-mini-frame {
  transform: scale(1.3);
}

.books-mini-card-1,
.books-mini-card-6,
.books-mini-card-11 {
  transform: translateY(6px);
}

.books-mini-card-3,
.books-mini-card-8,
.books-mini-card-13 {
  transform: translateY(-6px);
}

.books-pack-showcase,
.books-legacy-section {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  padding: 22px;
}

.books-pack-showcase {
  display: grid;
  gap: 18px;
}

.books-pack-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(231,177,31,0.26), transparent 28%),
    linear-gradient(135deg, #fffdf8, #f0dfbc);
  color: var(--ink);
  border: 1px solid rgba(160,112,32,0.18);
  box-shadow: 0 18px 42px rgba(74,48,20,0.12);
}

.books-pack-media {
  min-height: 250px;
  padding: 20px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(231,177,31,0.32), transparent 30%),
    linear-gradient(180deg, rgba(100,66,26,0.12), rgba(255,255,255,0));
}

.books-pack-covers {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.books-pack-covers img,
.books-pack-single {
  display: block;
  border-radius: 10px;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.3));
}

.books-pack-covers img {
  width: 21%;
  margin-left: -16px;
}

.books-pack-covers img:first-child {
  margin-left: 0;
}

.books-pack-covers img:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.books-pack-covers img:nth-child(2) { transform: rotate(-4deg) translateY(3px); }
.books-pack-covers img:nth-child(3) { transform: translateY(-4px); }
.books-pack-covers img:nth-child(4) { transform: rotate(4deg) translateY(3px); }
.books-pack-covers img:nth-child(5) { transform: rotate(8deg) translateY(10px); }

.books-pack-single {
  max-width: min(280px, 100%);
  max-height: 240px;
  object-fit: contain;
}

.books-pack-copy {
  padding: 20px 22px 20px 2px;
}

.books-pack-kicker {
  margin: 0 0 12px;
  color: #9a6911;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.books-pack-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 2.4vw, 2.6rem);
  line-height: 0.98;
  margin: 0 0 10px;
}

.books-pack-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.books-pack-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
}

.books-pack-price strong {
  font-size: 1.32rem;
  font-weight: 800;
}

.books-pack-price span {
  color: #8b651c;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.books-pack-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0c24a, #d89d16);
  color: #171411;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.books-pack-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.2);
}

.books-legacy-heading {
  margin-bottom: 18px;
}

.books-legacy-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  line-height: 0.98;
  margin: 0;
}

.books-legacy-woo ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.books-legacy-woo li.product {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 10px 26px rgba(21, 17, 13, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.books-legacy-woo li.product:hover {
  transform: translateY(-6px);
  border-color: rgba(189,136,18,0.26);
  box-shadow: 0 18px 38px rgba(21, 17, 13, 0.12);
}

.books-legacy-woo .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.books-legacy-woo .attachment-woocommerce_thumbnail {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,234,220,0.92));
}

.books-legacy-woo .woocommerce-loop-product__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  min-height: 4.25rem;
}

.books-legacy-woo .price {
  display: block;
  margin-top: auto;
  color: #6f4a0e;
  font-weight: 800;
  font-size: 1rem;
}

.books-legacy-woo .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 999px;
  background: #171411;
  color: #f7efdf;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.books-legacy-woo li.product:hover .add_to_cart_button {
  background: #f0c24a;
  color: #171411;
  transform: translateY(-1px);
}

.books-hero {
  margin-bottom: 0;
}

.books-band,
.books-section {
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 30px;
  padding: 28px;
}

.books-section-soft {
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(244,234,220,0.72));
}

.books-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.books-heading p:last-child,
.bundle-copy p,
.book-ribbon-card p {
  color: var(--muted);
  line-height: 1.7;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bundle-card {
  background: linear-gradient(145deg, rgba(20,19,19,0.97), rgba(57,42,33,0.95));
  color: #f5ebdc;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(19, 15, 12, 0.18);
}

.bundle-card-link,
.catalog-card-link,
.book-ribbon-card {
  display: block;
}

.bundle-visual {
  position: relative;
  padding: 26px 24px 14px;
  background:
    radial-gradient(circle at top right, rgba(231,177,31,0.28), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.bundle-covers {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 12px 8px 0;
}

.bundle-cover {
  width: 22%;
  margin-left: -10px;
  transform-origin: bottom center;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.26));
}

.bundle-cover:first-child {
  margin-left: 0;
}

.bundle-cover img,
.book-ribbon-card img {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
}

.bundle-cover-1 { transform: rotate(-8deg) translateY(12px); }
.bundle-cover-2 { transform: rotate(-4deg) translateY(4px); }
.bundle-cover-3 { transform: translateY(-6px); }
.bundle-cover-4 { transform: rotate(4deg) translateY(4px); }
.bundle-cover-5 { transform: rotate(8deg) translateY(12px); }

.bundle-cover-fallback {
  width: min(220px, 72%);
}

.bundle-badge,
.book-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bundle-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(247,239,223,0.92);
  color: var(--charcoal);
}

.bundle-copy {
  padding: 0 24px 24px;
}

.bundle-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ceb463;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bundle-copy h3,
.book-card h3,
.book-ribbon-card h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

.bundle-copy h3 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  margin-bottom: 12px;
}

.bundle-meta,
.book-ribbon-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bundle-meta {
  margin-top: 18px;
}

.bundle-meta strong,
.card-meta strong,
.book-ribbon-card p {
  font-size: 1rem;
  font-weight: 800;
}

.books-grid {
  padding: 0;
}

.book-card {
  padding: 0;
  overflow: hidden;
}

.catalog-card-link {
  height: 100%;
  padding: 0 0 22px;
}

.catalog-card-link img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,234,220,0.92));
}

.book-chip {
  margin: 18px 22px 0;
  background: rgba(231,177,31,0.16);
  color: #7d5908;
}

.book-chip-alt {
  background: rgba(168,93,62,0.12);
  color: #7e4228;
}

.book-card h3,
.book-card p,
.book-card .card-meta {
  padding-left: 22px;
  padding-right: 22px;
}

.book-card h3 {
  margin-top: 14px;
  font-size: 2rem;
}

.book-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.book-ribbon-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(23,20,17,0.08);
}

.book-ribbon-card img {
  height: 112px;
  object-fit: contain;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,234,220,0.92));
}

.book-ribbon-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.bundle-card-link:hover h3,
.bundle-card-link:hover .inline-link,
.catalog-card-link:hover h3,
.catalog-card-link:hover .inline-link,
.book-ribbon-card:hover h3 {
  color: var(--gold-deep);
}

.hub-page-hero,
.legal-page-hero,
.support-page-hero {
  margin-bottom: 0;
}

.legal-page-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 42px;
  border: 1px solid rgba(162, 123, 62, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(234, 197, 123, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255,252,247,0.98), rgba(251,243,231,0.98));
  box-shadow: 0 18px 38px rgba(46, 31, 17, 0.08);
}

.support-page-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 42px;
  border: 1px solid rgba(115, 88, 44, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(197, 226, 202, 0.34), transparent 26%),
    radial-gradient(circle at bottom right, rgba(235, 198, 124, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(255,252,247,0.98), rgba(246,242,233,0.98));
  box-shadow: 0 18px 38px rgba(46, 31, 17, 0.08);
}

.support-page-hero::before,
.support-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.support-page-hero::before {
  width: 210px;
  height: 210px;
  left: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(136, 171, 128, 0.18), transparent 70%);
}

.support-page-hero::after {
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(214, 161, 58, 0.16), transparent 72%);
}

.support-page-hero > div {
  position: relative;
  z-index: 1;
}

.support-page-hero h1 {
  max-width: 18ch;
  margin: 8px 0 12px;
  line-height: 0.98;
  text-wrap: pretty;
}

.support-page-hero p:last-child {
  max-width: 100%;
  text-wrap: pretty;
}

.recover-key-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 28px;
  border: 1px solid rgba(115, 88, 44, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(236, 199, 126, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(197, 226, 202, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(255,252,247,0.98), rgba(248,244,236,0.98));
  box-shadow: 0 14px 30px rgba(46, 31, 17, 0.06);
}

body[data-page="support"] .support-page-hero h1 {
  max-width: 100%;
}

body[data-page="support"] .support-page-hero p:last-child {
  max-width: 100%;
}

.recover-key-hero::before,
.recover-key-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.recover-key-hero::before {
  width: 220px;
  height: 220px;
  right: -68px;
  top: -76px;
  background: radial-gradient(circle, rgba(214, 161, 58, 0.2), transparent 70%);
}

.recover-key-hero::after {
  width: 180px;
  height: 180px;
  left: -56px;
  bottom: -72px;
  background: radial-gradient(circle, rgba(136, 171, 128, 0.16), transparent 72%);
}

.recover-key-hero > div {
  position: relative;
  z-index: 1;
}

.recover-key-hero h1 {
  max-width: 100%;
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 3.2vw, 3.45rem);
  line-height: 0.96;
  text-wrap: balance;
}

.recover-key-hero > div > p:not(.eyebrow) {
  max-width: 100%;
  margin: 0;
  color: #66584c;
  line-height: 1.58;
  text-wrap: pretty;
}

.recover-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.recover-key-fact {
  padding: 13px 15px;
  border: 1px solid rgba(90, 63, 31, 0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.recover-key-fact span {
  display: block;
  margin-bottom: 8px;
  color: #8f6e43;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.recover-key-fact strong {
  display: block;
  color: #241912;
  font-size: 1rem;
  line-height: 1.35;
}

.recover-key-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}

.recover-key-panel,
.recover-key-card {
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(21, 17, 13, 0.05);
}

.recover-key-panel {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(236, 199, 126, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,250,243,0.78));
}

.recover-key-panel-head h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.85rem, 2.3vw, 2.45rem);
}

.recover-key-intro {
  max-width: 52ch;
  margin: 0;
  color: #66584d;
  line-height: 1.58;
}

.recover-key-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.recover-key-form label {
  color: #3f342c;
  font-size: 0.94rem;
  font-weight: 700;
}

.recover-key-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(71, 52, 29, 0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  color: #1f1712;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.recover-key-form-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.recover-key-form input:focus {
  outline: none;
  border-color: rgba(197, 142, 31, 0.7);
  box-shadow: 0 0 0 4px rgba(229, 183, 78, 0.18);
}

.recover-key-submit {
  min-height: 50px;
  padding: 0 22px;
  justify-content: center;
}

.recover-key-form-note {
  margin: 0;
  color: #7a6755;
  font-size: 0.88rem;
  line-height: 1.45;
}

.recover-key-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.recover-key-message {
  min-height: 24px;
  margin-top: 2px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.recover-key-message.success,
.recover-key-message.error {
  padding: 14px 16px;
}

.recover-key-message.success {
  color: #174f32;
  background: rgba(190, 230, 205, 0.72);
  border: 1px solid rgba(62, 137, 92, 0.22);
}

.recover-key-message.error {
  color: #7b231d;
  background: rgba(245, 206, 201, 0.72);
  border: 1px solid rgba(170, 69, 57, 0.2);
}

.recover-key-assurance {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,249,238,0.92);
  border: 1px solid rgba(201, 166, 94, 0.18);
}

.recover-key-assurance p {
  margin: 0;
  color: #5f4a39;
}

.recover-key-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.recover-key-card {
  padding: 17px 17px 15px;
}

.recover-key-card h3 {
  margin-bottom: 8px;
}

.recover-key-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(236, 199, 126, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,249,239,0.74));
}

body[data-page="recover-key"] .legal-records {
  margin-top: 10px;
}

body[data-page="recover-key"] .legal-list {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .recover-key-hero {
    padding: 22px 20px;
    border-radius: 26px;
  }

  .recover-key-facts {
    grid-template-columns: 1fr;
  }

  .recover-key-layout {
    grid-template-columns: 1fr;
  }

  .recover-key-form-row {
    display: grid;
  }

  .recover-key-submit {
    width: 100%;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.contact-sheet,
.contact-form-card {
  padding: 22px 22px 20px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
  align-self: start;
}

.contact-sheet h2,
.contact-form-card h2 {
  margin-bottom: 8px;
}

.contact-sheet p:first-of-type,
.contact-form-card > p:not(.eyebrow) {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-form label {
  color: #4d3f34;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(71, 52, 29, 0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  color: #1f1712;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.contact-form input {
  min-height: 50px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-form :is(input, textarea):focus {
  outline: none;
  border-color: rgba(197, 142, 31, 0.7);
  box-shadow: 0 0 0 4px rgba(229, 183, 78, 0.18);
}

.contact-submit {
  min-height: 50px;
  justify-content: center;
  margin-top: 4px;
}

.contact-message {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-message.success {
  color: #174f32;
  background: rgba(190, 230, 205, 0.72);
  border: 1px solid rgba(62, 137, 92, 0.22);
}

.contact-message.error {
  color: #7b231d;
  background: rgba(245, 206, 201, 0.72);
  border: 1px solid rgba(170, 69, 57, 0.2);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.legal-page-hero::before,
.legal-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.legal-page-hero::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(214, 161, 58, 0.22), transparent 70%);
}

.legal-page-hero::after {
  width: 180px;
  height: 180px;
  left: -55px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(156, 111, 53, 0.12), transparent 72%);
}

.legal-page-hero > div {
  position: relative;
  z-index: 1;
}

.legal-page-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
}

.legal-page-hero p:last-child {
  max-width: 820px;
}

.legal-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.legal-fact-card {
  padding: 16px 18px;
  border: 1px solid rgba(90, 63, 31, 0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.legal-fact-card span {
  display: block;
  margin-bottom: 8px;
  color: #8f6e43;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-fact-card strong {
  display: block;
  color: #241912;
  font-size: 1rem;
  line-height: 1.35;
}

.hub-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-kpi-card,
.legal-aside-card,
.support-card,
.support-lead,
.legal-sheet {
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

.hub-kpi-card {
  padding: 24px;
}

.hub-kpi-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  line-height: 0.95;
}

.hub-kpi-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.hub-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hub-card-clean {
  display: flex;
  flex-direction: column;
}

.hub-card-clean .entry-kicker {
  margin-bottom: 8px;
}

.hub-card-clean p:last-of-type,
.legal-block p,
.legal-list,
.support-lead p,
.support-card p,
.legal-aside-card p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.legal-sheet,
.support-lead {
  padding: 30px;
}

.legal-block-kicker {
  margin-bottom: 10px;
}

.legal-block + .legal-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(23,20,17,0.08);
}

.legal-block h2,
.support-lead h2,
.support-card h3,
.legal-aside-card h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

.legal-block h2,
.support-lead h2 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  margin-bottom: 12px;
}

.support-card h3,
.legal-aside-card h3 {
  font-size: 1.9rem;
  margin: 8px 0 12px;
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.legal-records {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.legal-record {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(23,20,17,0.08);
}

.legal-record:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-record dt {
  color: #8f6e43;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.legal-record dd {
  margin: 0;
  color: #2d221a;
  line-height: 1.68;
}

.legal-record dd a {
  color: #8f5c12;
  text-decoration: none;
  border-bottom: 1px solid rgba(143,92,18,0.24);
}

.legal-record dd a:hover {
  color: #5f3c08;
  border-bottom-color: rgba(95,60,8,0.42);
}

.legal-list li {
  margin-bottom: 8px;
}

.legal-aside,
.support-side {
  display: grid;
  gap: 18px;
  align-content: start;
  align-self: start;
  grid-auto-rows: max-content;
}

.legal-aside-card,
.support-card {
  padding: 24px;
  min-height: 0;
  align-self: start;
}

.newsletter-page-hero {
  margin-bottom: 0;
}

body[data-page="newsletter"] .newsletter-page-main {
  display: grid;
  gap: 26px;
  width: min(calc(100% - 40px), 1380px);
  margin: 0 auto;
}

.newsletter-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, 0.48fr);
  gap: 24px;
  align-items: start;
  padding-top: 10px;
}

.newsletter-hero-copy {
  padding: 18px 0 0;
}

.newsletter-hero-copy .eyebrow,
.newsletter-form-shell .eyebrow,
.newsletter-side-card .eyebrow,
.newsletter-admin-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72rem 1.06rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(27, 42, 56, 0.08);
  color: #bd5f1f;
  font: 700 0.8rem/1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.newsletter-hero-copy h1 {
  max-width: none;
  width: 100%;
  margin: 22px 0 20px;
  color: #0f2f49;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(2.35rem, 3.45vw, 3.55rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: normal;
}

.newsletter-hero-copy > p:last-of-type {
  max-width: 40rem;
  margin: 0;
  color: #4f6578;
  font-size: 1.16rem;
  line-height: 1.72;
}

.newsletter-hero-pills,
.newsletter-form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter-hero-pills {
  margin-top: 24px;
}

.newsletter-hero-pills span,
.newsletter-form-tags span {
  padding: 0.88rem 1.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 46, 69, 0.08);
  color: #143754;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 39, 58, 0.05);
}

.newsletter-hero-visual {
  position: relative;
  min-height: 520px;
  padding: 28px 22px 22px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 84, 0.14), transparent 26%),
    linear-gradient(140deg, #183552 0%, #1f4566 58%, #31506c 100%);
  box-shadow: 0 28px 54px rgba(16, 34, 49, 0.18);
  overflow: hidden;
}

.newsletter-gift-cover {
  position: absolute;
  right: 22px;
  top: 58px;
  width: min(100%, 248px);
  display: grid;
  gap: 4px;
  padding: 26px 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbf4e6 0%, #f3e5cc 100%);
  border-left: 8px solid #e9692c;
  box-shadow: 0 26px 50px rgba(8, 15, 22, 0.3);
}

.newsletter-gift-ribbon {
  position: absolute;
  top: -14px;
  right: -12px;
  padding: 0.82rem 1.08rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f56f2d, #ff9b35);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(245, 111, 45, 0.38);
  transform: rotate(5deg);
}

.newsletter-gift-kicker {
  color: #bb5617;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsletter-gift-cover strong {
  color: #e4631f;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.newsletter-gift-cover b {
  color: #12344f;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsletter-gift-cover small {
  margin-top: 8px;
  color: #5f7384;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsletter-gift-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  width: auto;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: rgba(255, 247, 237, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 22px 42px rgba(9, 17, 23, 0.18);
  backdrop-filter: blur(12px);
}

.newsletter-gift-note strong {
  display: block;
  margin-bottom: 6px;
  color: #0f2f49;
  font-size: 0.98rem;
}

.newsletter-gift-note p {
  margin: 0;
  color: #536a7d;
  font-size: 0.98rem;
  line-height: 1.58;
}

.newsletter-classic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: start;
  margin-top: -38px;
}

.newsletter-form-shell {
  position: relative;
  z-index: 2;
  padding: 28px 28px 32px;
  border: 1px solid rgba(27, 42, 56, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(255, 244, 232, 0.96));
  box-shadow: 0 24px 48px rgba(21, 32, 42, 0.1);
}

.newsletter-form-shell h2 {
  margin: 16px 0 8px;
  color: #143754;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.newsletter-form-intro {
  max-width: 34rem;
  margin: 0;
  color: #5b6f7f;
  font-size: 1.04rem;
  line-height: 1.72;
}

.newsletter-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.newsletter-native-form input[type="text"],
.newsletter-native-form input[type="email"] {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 44, 67, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.newsletter-native-form input[type="text"]:focus,
.newsletter-native-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(227, 116, 48, 0.58);
  box-shadow: 0 0 0 4px rgba(227, 116, 48, 0.12);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 18px;
  color: #5f7485;
  line-height: 1.6;
}

.newsletter-consent input {
  margin-top: 4px;
}

.newsletter-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.newsletter-form-legal {
  margin: 16px 0 0;
  color: #5f7485;
  line-height: 1.68;
}

.newsletter-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

.newsletter-feedback.is-success {
  color: #1f7a33;
}

.newsletter-feedback.is-error {
  color: #b3341b;
}

.newsletter-form-tags {
  margin-top: 22px;
}

.newsletter-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.newsletter-side-card {
  padding: 24px 24px 26px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(18, 31, 43, 0.08);
}

.newsletter-side-card h3 {
  margin: 14px 0 10px;
  color: #143754;
  font-size: 1.8rem;
  line-height: 1.02;
}

.newsletter-side-card p:last-of-type {
  margin-bottom: 0;
  color: #607383;
  line-height: 1.68;
}

.newsletter-side-card-gift {
  background:
    radial-gradient(circle at top right, rgba(237, 201, 119, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 236, 0.86));
}

.newsletter-section,
.newsletter-sample-section,
.newsletter-cta-panel {
  width: 100%;
}

.newsletter-section {
  display: grid;
  gap: 22px;
}

.newsletter-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: end;
}

.newsletter-section-head .kicker {
  margin: 0 0 8px;
  color: #c8611f;
  font: 800 0.95rem/1 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-section-head h2,
.newsletter-sample-card h2,
.newsletter-cta-panel h2 {
  margin: 0;
  color: #13324c;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsletter-section-head p:last-child,
.newsletter-cta-panel p {
  margin: 0;
  color: #5d7181;
  font-size: 1.02rem;
  line-height: 1.72;
}

.newsletter-stats,
.newsletter-feature-grid,
.newsletter-promise-row,
.newsletter-faq-grid-live {
  display: grid;
  gap: 18px;
}

.newsletter-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newsletter-stat-card,
.newsletter-feature-card,
.newsletter-promise-card,
.newsletter-faq-card-live {
  padding: 24px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(18, 31, 43, 0.08);
}

.newsletter-stat-card strong,
.newsletter-promise-card strong {
  display: block;
  margin-bottom: 8px;
  color: #c65e1f;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsletter-stat-card span,
.newsletter-promise-card p,
.newsletter-feature-card p,
.newsletter-faq-card-live p {
  color: #607383;
  line-height: 1.68;
}

.newsletter-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-feature-card {
  display: grid;
  align-content: start;
}

.newsletter-feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(216, 91, 39, 0.18), rgba(237, 201, 119, 0.52));
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.newsletter-feature-card h3,
.newsletter-faq-card-live h3 {
  margin: 0 0 10px;
  color: #143754;
  font-size: 1.14rem;
  line-height: 1.35;
}

.newsletter-sample-section {
  display: flex;
  justify-content: center;
}

.newsletter-sample-card {
  width: min(100%, 760px);
  padding: 28px;
  border: 1px solid rgba(183, 135, 23, 0.16);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 233, 0.98));
  box-shadow: 0 22px 42px rgba(83, 56, 18, 0.08);
}

.newsletter-sample-label {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(20, 55, 84, 0.08);
  color: #143754;
  font-weight: 800;
  margin-bottom: 16px;
}

.newsletter-mail-block {
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.newsletter-mail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(216, 91, 39, 0.12), rgba(237, 201, 119, 0.22));
  border-bottom: 1px solid rgba(18, 46, 69, 0.08);
  color: #143754;
  font-weight: 800;
}

.newsletter-mail-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.newsletter-mail-line {
  padding: 18px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.newsletter-mail-line strong {
  display: block;
  margin-bottom: 6px;
  color: #153854;
}

.newsletter-mail-line p {
  margin: 0;
  color: #617484;
  line-height: 1.7;
}

.newsletter-promise-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-faq-grid-live {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.newsletter-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 34px;
  background: linear-gradient(120deg, rgba(16, 37, 53, 0.98), rgba(28, 62, 87, 0.96));
  box-shadow: 0 24px 52px rgba(20, 38, 53, 0.18);
}

.newsletter-cta-panel h2 {
  color: #fff8ee;
  margin-bottom: 10px;
}

.newsletter-cta-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 42rem;
}

.newsletter-admin-content {
  display: grid;
  gap: 28px;
}

.newsletter-admin-content > :first-child {
  margin-top: 0;
}

.newsletter-admin-content > :last-child {
  margin-bottom: 0;
}

.newsletter-editorial-grid,
.newsletter-stats-grid,
.newsletter-preview-grid,
.newsletter-social-shell,
.newsletter-faq-grid {
  margin: 0;
}

.newsletter-admin-content .newsletter-editorial-grid,
.newsletter-admin-content .newsletter-stats-grid,
.newsletter-admin-content .newsletter-faq-grid {
  display: grid;
  gap: 18px;
}

.newsletter-admin-content .newsletter-editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-admin-content .newsletter-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newsletter-admin-content .newsletter-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.newsletter-admin-content .newsletter-note-card,
.newsletter-admin-content .newsletter-stat-card,
.newsletter-admin-content .newsletter-social-card,
.newsletter-admin-content .newsletter-faq-card {
  padding: 26px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(18, 31, 43, 0.06);
}

.newsletter-admin-content .newsletter-note-card h3,
.newsletter-admin-content .newsletter-stat-card h3,
.newsletter-admin-content .newsletter-social-card h3,
.newsletter-admin-content .newsletter-faq-card h3,
.newsletter-admin-content .newsletter-preview-card h3,
.newsletter-admin-content .newsletter-preview-side h3 {
  margin: 10px 0 8px;
  color: #143754;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.98;
}

.newsletter-admin-content .newsletter-note-card p,
.newsletter-admin-content .newsletter-stat-card p,
.newsletter-admin-content .newsletter-social-card p,
.newsletter-admin-content .newsletter-faq-card p,
.newsletter-admin-content .newsletter-preview-card p,
.newsletter-admin-content .newsletter-preview-side p {
  margin: 0;
  color: #617484;
  line-height: 1.72;
}

.newsletter-admin-content .newsletter-stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: #d05f1f;
  font: clamp(2.6rem, 4vw, 4rem)/0.9 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.04em;
}

.newsletter-admin-content .newsletter-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px;
  align-items: stretch;
}

.newsletter-admin-content .newsletter-preview-card {
  padding: 26px;
  border: 1px solid rgba(183, 135, 23, 0.16);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 233, 0.98));
  box-shadow: 0 22px 42px rgba(83, 56, 18, 0.08);
}

.newsletter-admin-content .newsletter-preview-mail {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.newsletter-admin-content .newsletter-preview-line {
  padding: 18px;
  border: 1px solid rgba(18, 46, 69, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.newsletter-admin-content .newsletter-preview-line strong {
  display: block;
  margin-bottom: 6px;
  color: #153854;
}

.newsletter-admin-content .newsletter-preview-side {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(150deg, #183552 0%, #244a6c 100%);
  color: #fff9ef;
  box-shadow: 0 26px 48px rgba(22, 43, 60, 0.18);
}

.newsletter-admin-content .newsletter-preview-side .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8cb73;
}

.newsletter-admin-content .newsletter-preview-side h3,
.newsletter-admin-content .newsletter-preview-side p,
.newsletter-admin-content .newsletter-preview-side strong {
  color: inherit;
}

.newsletter-admin-content .newsletter-social-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(183, 135, 23, 0.18);
  border-radius: 34px;
  background: linear-gradient(120deg, #fffefb, #f7ecd4);
  box-shadow: 0 18px 36px rgba(83, 56, 18, 0.06);
}

.newsletter-admin-content .newsletter-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.newsletter-admin-content .newsletter-social-card {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.newsletter-admin-content .newsletter-social-card span {
  color: #bb5f1f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-admin-content .newsletter-social-card b {
  color: #153854;
  font-size: 1.24rem;
  line-height: 1.08;
}

@media (max-width: 1120px) {
  .newsletter-hero,
  .newsletter-section-head,
  .newsletter-cta-panel,
  .newsletter-admin-content .newsletter-preview-grid,
  .newsletter-admin-content .newsletter-social-shell {
    grid-template-columns: 1fr;
  }

  .newsletter-hero-visual {
    min-height: 540px;
  }

  .newsletter-classic-layout {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .newsletter-stats,
  .newsletter-feature-grid,
  .newsletter-promise-row,
  .newsletter-faq-grid-live,
  .newsletter-admin-content .newsletter-editorial-grid,
  .newsletter-admin-content .newsletter-stats-grid,
  .newsletter-admin-content .newsletter-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="newsletter"] .newsletter-page-main {
    width: min(calc(100% - 20px), 1380px);
    gap: 18px;
  }

  .newsletter-hero {
    gap: 20px;
  }

  .newsletter-section-head h2,
  .newsletter-sample-card h2,
  .newsletter-cta-panel h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .newsletter-stats,
  .newsletter-feature-grid,
  .newsletter-promise-row,
  .newsletter-faq-grid-live {
    grid-template-columns: 1fr;
  }

  .newsletter-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .newsletter-hero-visual {
    min-height: 460px;
    padding: 20px;
    border-radius: 28px;
  }

  .newsletter-gift-cover {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    padding: 24px 22px;
  }

  .newsletter-gift-note {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .newsletter-form-shell,
  .newsletter-side-card,
  .newsletter-stat-card,
  .newsletter-feature-card,
  .newsletter-promise-card,
  .newsletter-faq-card-live,
  .newsletter-sample-card,
  .newsletter-cta-panel,
  .newsletter-admin-content .newsletter-preview-card,
  .newsletter-admin-content .newsletter-social-shell,
  .newsletter-admin-content .newsletter-note-card,
  .newsletter-admin-content .newsletter-stat-card,
  .newsletter-admin-content .newsletter-social-card,
  .newsletter-admin-content .newsletter-faq-card,
  .newsletter-admin-content .newsletter-preview-side {
    padding: 20px;
    border-radius: 24px;
  }

  .newsletter-form-grid,
  .newsletter-mail-head,
  .newsletter-admin-content .newsletter-editorial-grid,
  .newsletter-admin-content .newsletter-stats-grid,
  .newsletter-admin-content .newsletter-social-links,
  .newsletter-admin-content .newsletter-faq-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form-actions {
    display: grid;
  }
}

body[data-page="newsletter"] .newsletter-live {
  --nl-bg-soft: #fff9f1;
  --nl-surface: rgba(255, 251, 245, 0.96);
  --nl-ink: #18334b;
  --nl-muted: #5d7181;
  --nl-brand: #d85b27;
  --nl-brand-deep: #b24e1f;
  --nl-shadow: 0 24px 60px rgba(32, 32, 32, 0.14);
  display: grid;
  gap: 34px;
}

body[data-page="newsletter"] .nl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

body[data-page="newsletter"] .nl-hero-copy {
  padding-top: 8px;
}

body[data-page="newsletter"] .nl-eyebrow,
body[data-page="newsletter"] .nl-kicker-pill,
body[data-page="newsletter"] .nl-sample-label {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.06rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 51, 75, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--nl-brand-deep);
  font: 800 0.94rem/1 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-hero-copy h1 {
  margin: 20px 0 16px;
  max-width: 18ch;
  color: #132532;
  font: 400 clamp(3rem, 6vw, 5.8rem)/0.94 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

body[data-page="newsletter"] .nl-hero-lede {
  max-width: 42rem;
  margin: 0 0 22px;
  color: var(--nl-muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

body[data-page="newsletter"] .nl-hero-points,
body[data-page="newsletter"] .nl-micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="newsletter"] .nl-hero-points {
  margin-bottom: 24px;
}

body[data-page="newsletter"] .nl-hero-points li,
body[data-page="newsletter"] .nl-micro-proof span {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 51, 75, 0.07);
  background: rgba(255, 255, 255, 0.84);
  color: var(--nl-ink);
  font-weight: 800;
}

body[data-page="newsletter"] .nl-signup-card,
body[data-page="newsletter"] .nl-sample-card,
body[data-page="newsletter"] .nl-cta-panel,
body[data-page="newsletter"] .nl-feature-card,
body[data-page="newsletter"] .nl-promise-card,
body[data-page="newsletter"] .nl-faq-card,
body[data-page="newsletter"] .nl-stat {
  border: 1px solid rgba(24, 51, 75, 0.08);
  box-shadow: var(--nl-shadow);
}

body[data-page="newsletter"] .nl-signup-card {
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(255, 244, 233, 0.96));
}

body[data-page="newsletter"] .nl-signup-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

body[data-page="newsletter"] .nl-signup-top h2 {
  margin: 14px 0 8px;
  color: #16314a;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

body[data-page="newsletter"] .nl-signup-top p,
body[data-page="newsletter"] .nl-gift-badge span,
body[data-page="newsletter"] .nl-floating-card p,
body[data-page="newsletter"] .nl-feature-card p,
body[data-page="newsletter"] .nl-promise-card p,
body[data-page="newsletter"] .nl-faq-card p,
body[data-page="newsletter"] .nl-mail-line p,
body[data-page="newsletter"] .nl-section-copy,
body[data-page="newsletter"] .nl-cta-panel p,
body[data-page="newsletter"] .nl-form-legal {
  margin: 0;
  color: var(--nl-muted);
  line-height: 1.68;
}

body[data-page="newsletter"] .nl-gift-badge {
  min-width: 180px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #18334b, #254d70);
  color: #fff;
  box-shadow: 0 14px 28px rgba(24, 51, 75, 0.2);
}

body[data-page="newsletter"] .nl-gift-badge strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

body[data-page="newsletter"] .nl-form {
  display: grid;
  gap: 14px;
}

body[data-page="newsletter"] .nl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="newsletter"] .nl-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(24, 51, 75, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #142532;
  font: inherit;
}

body[data-page="newsletter"] .nl-form input:focus {
  border-color: rgba(216, 91, 39, 0.6);
  box-shadow: 0 0 0 4px rgba(216, 91, 39, 0.12);
  outline: none;
}

body[data-page="newsletter"] .nl-submit {
  justify-self: start;
}

body[data-page="newsletter"] .nl-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 640px;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(150deg, #14304a 0%, #1f4363 56%, #d85b27 165%);
  box-shadow: 0 24px 60px rgba(20, 38, 53, 0.22);
  overflow: hidden;
}

body[data-page="newsletter"] .nl-giftbox {
  position: relative;
  width: min(100%, 320px);
}

body[data-page="newsletter"] .nl-giftbox-ribbon {
  position: absolute;
  top: -10px;
  right: -8px;
  z-index: 2;
  padding: 0.52rem 0.94rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nl-brand), #f3912f);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(4deg);
  box-shadow: 0 10px 22px rgba(216, 91, 39, 0.4);
}

body[data-page="newsletter"] .nl-giftbox-cover {
  display: grid;
  gap: 4px;
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 8px solid var(--nl-brand);
  background: linear-gradient(180deg, #fbf6ea, #f2e6cf);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
}

body[data-page="newsletter"] .nl-giftbox-kicker,
body[data-page="newsletter"] .nl-giftbox-by {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

body[data-page="newsletter"] .nl-giftbox-kicker {
  color: var(--nl-brand-deep);
  font-size: 0.76rem;
}

body[data-page="newsletter"] .nl-giftbox-num {
  color: var(--nl-brand);
  font: 400 5rem/0.8 "Bebas Neue", "Oswald", sans-serif;
}

body[data-page="newsletter"] .nl-giftbox-title {
  color: #14304a;
  font: 400 2.2rem/0.95 "Bebas Neue", "Oswald", sans-serif;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-giftbox-by {
  margin-top: 8px;
  color: var(--nl-muted);
  font-size: 0.82rem;
}

body[data-page="newsletter"] .nl-floating-card {
  width: min(100%, 272px);
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 249, 241, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

body[data-page="newsletter"] .nl-floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: #17344d;
  font-size: 1.08rem;
}

body[data-page="newsletter"] .nl-section {
  display: grid;
  gap: 22px;
}

body[data-page="newsletter"] .nl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

body[data-page="newsletter"] .nl-kicker {
  margin: 0 0 6px;
  color: var(--nl-brand);
  font: 800 0.96rem/1 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-section-title,
body[data-page="newsletter"] .nl-sample-title,
body[data-page="newsletter"] .nl-cta-panel h2 {
  margin: 0;
  color: var(--nl-ink);
  font: 400 clamp(2.2rem, 4vw, 3.8rem)/0.95 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-section-copy {
  max-width: 34rem;
}

body[data-page="newsletter"] .nl-stats,
body[data-page="newsletter"] .nl-grid-3,
body[data-page="newsletter"] .nl-promise-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="newsletter"] .nl-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="newsletter"] .nl-stat,
body[data-page="newsletter"] .nl-feature-card,
body[data-page="newsletter"] .nl-promise-card,
body[data-page="newsletter"] .nl-faq-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

body[data-page="newsletter"] .nl-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nl-brand-deep);
  font: 400 2.4rem/0.92 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-stat span {
  color: var(--nl-muted);
  line-height: 1.56;
  font-weight: 700;
}

body[data-page="newsletter"] .nl-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(216, 91, 39, 0.18), rgba(237, 201, 119, 0.55));
  color: var(--nl-brand-deep);
  font: 800 1rem/1 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.08em;
}

body[data-page="newsletter"] .nl-feature-card h3,
body[data-page="newsletter"] .nl-faq-card h3 {
  margin: 0 0 10px;
  color: #153854;
  font-size: 1.18rem;
  line-height: 1.24;
}

body[data-page="newsletter"] .nl-sample-wrap {
  max-width: 760px;
  margin: 0 auto;
}

body[data-page="newsletter"] .nl-sample-card {
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 233, 0.98));
}

body[data-page="newsletter"] .nl-sample-title {
  margin: 16px 0 18px;
  color: #132532;
}

body[data-page="newsletter"] .nl-mail-block {
  overflow: hidden;
  border: 1px solid rgba(24, 51, 75, 0.08);
  border-radius: 24px;
  background: #fffefc;
}

body[data-page="newsletter"] .nl-mail-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(24, 51, 75, 0.08);
  background: linear-gradient(90deg, rgba(216, 91, 39, 0.12), rgba(237, 201, 119, 0.22));
  color: #16314a;
  font-weight: 800;
}

body[data-page="newsletter"] .nl-mail-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

body[data-page="newsletter"] .nl-mail-line {
  padding: 18px;
  border: 1px solid rgba(24, 51, 75, 0.06);
  border-radius: 18px;
  background: var(--nl-bg-soft);
}

body[data-page="newsletter"] .nl-mail-line strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nl-ink);
}

body[data-page="newsletter"] .nl-promise-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nl-brand-deep);
  font: 400 1.6rem/1 "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="newsletter"] .nl-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="newsletter"] .nl-cta-panel {
  padding: 30px 32px;
  border-radius: 36px;
  background: linear-gradient(120deg, rgba(16, 37, 53, 0.98), rgba(28, 62, 87, 0.96));
}

body[data-page="newsletter"] .nl-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

body[data-page="newsletter"] .nl-cta-panel h2 {
  margin-bottom: 8px;
  color: #fff8ee;
}

body[data-page="newsletter"] .nl-cta-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 42rem;
}

@media (max-width: 1120px) {
  body[data-page="newsletter"] .nl-hero-grid,
  body[data-page="newsletter"] .nl-cta-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="newsletter"] .nl-hero-visual {
    min-height: 520px;
  }

  body[data-page="newsletter"] .nl-section-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 980px) {
  body[data-page="newsletter"] .nl-stats,
  body[data-page="newsletter"] .nl-grid-3,
  body[data-page="newsletter"] .nl-promise-row,
  body[data-page="newsletter"] .nl-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="newsletter"] .nl-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  body[data-page="newsletter"] .nl-signup-card,
  body[data-page="newsletter"] .nl-sample-card,
  body[data-page="newsletter"] .nl-cta-panel,
  body[data-page="newsletter"] .nl-feature-card,
  body[data-page="newsletter"] .nl-promise-card,
  body[data-page="newsletter"] .nl-faq-card,
  body[data-page="newsletter"] .nl-stat {
    padding: 20px;
    border-radius: 24px;
  }

  body[data-page="newsletter"] .nl-form-grid,
  body[data-page="newsletter"] .nl-stats,
  body[data-page="newsletter"] .nl-grid-3,
  body[data-page="newsletter"] .nl-promise-row,
  body[data-page="newsletter"] .nl-faq {
    grid-template-columns: 1fr;
  }

  body[data-page="newsletter"] .nl-signup-top,
  body[data-page="newsletter"] .nl-mail-top,
  body[data-page="newsletter"] .nl-section-head {
    display: grid;
    gap: 14px;
  }

  body[data-page="newsletter"] .nl-submit {
    width: 100%;
    justify-self: stretch;
  }

  body[data-page="newsletter"] .nl-hero-visual {
    min-height: 440px;
    padding: 24px;
  }
}

.share-band {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(26,23,21,0.98), rgba(63,43,32,0.95));
  color: #f5ebdc;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(21, 17, 13, 0.12);
}

.share-band.compact {
  grid-template-columns: 1fr;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 20px;
}

.share-copy strong {
  display: block;
  line-height: 1.6;
}

.share-actions,
.share-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-actions a,
.share-profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #f5ebdc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-actions a:hover,
.share-profiles a:hover {
  background: rgba(231,177,31,0.18);
  border-color: rgba(231,177,31,0.45);
  color: #fff4d8;
}

/* The video share block is deliberately light and celebratory, not a dark footer panel. */
.share-band.video-share-band {
  position: relative;
  overflow: hidden;
  gap: 12px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(234, 179, 24, 0.26), transparent 30%),
    linear-gradient(120deg, #fffdf8 0%, #fff5dd 100%);
  color: var(--ink);
  border: 1px solid rgba(190, 132, 18, 0.28);
  box-shadow: 0 14px 34px rgba(103, 72, 21, 0.10);
}

.share-band.video-share-band::before {
  content: "";
  position: absolute;
  width: 98px;
  aspect-ratio: 1;
  right: -28px;
  bottom: -46px;
  border: 14px solid rgba(190, 132, 18, 0.10);
  border-radius: 50%;
}

.share-band.video-share-band .share-copy,
.share-band.video-share-band .share-actions,
.share-band.video-share-band .share-profiles {
  position: relative;
  z-index: 1;
}

.share-band.video-share-band .share-copy .eyebrow {
  color: #9a6500;
  margin-bottom: 5px;
}

.share-band.video-share-band .share-copy strong {
  max-width: 760px;
  color: var(--ink);
  line-height: 1.45;
}

.share-band.video-share-band .share-actions a,
.share-band.video-share-band .share-profiles a {
  min-height: 34px;
  border-color: rgba(65, 46, 27, 0.15);
  background: rgba(255,255,255,0.84);
  color: #31251c;
  box-shadow: 0 5px 12px rgba(76, 52, 20, 0.07);
}

.share-band.video-share-band .share-actions a:first-child {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.share-band.video-share-band .share-actions a:nth-child(2) {
  background: #171717;
  color: #fff;
  border-color: #171717;
}

.share-band.video-share-band .share-actions a:hover,
.share-band.video-share-band .share-profiles a:hover {
  transform: translateY(-2px);
  background: #f2b617;
  border-color: #f2b617;
  color: #1f1711;
}

/* Keep the five video networks together: sharing and following are one action here. */
.share-band.video-share-band.compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.share-band.video-share-band.compact .share-copy {
  flex: 1 0 100%;
}

.share-band.video-share-band.compact .share-actions,
.share-band.video-share-band.compact .share-profiles {
  display: contents;
}

.share-band.video-share-band.compact .share-actions a,
.share-band.video-share-band.compact .share-profiles a {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  color: #fff;
  font-size: .7rem;
  box-shadow: 0 7px 14px rgba(49, 35, 20, .13);
}

.share-band.video-share-band.compact .share-actions a:first-child { background: #1877f2; }
.share-band.video-share-band.compact .share-actions a:nth-child(2) { background: #111; }
.share-band.video-share-band.compact .share-profiles a:nth-child(1) {
  background: linear-gradient(135deg, #7b35b7 0%, #d62976 48%, #f77737 100%);
}
.share-band.video-share-band.compact .share-profiles a:nth-child(2) { background: #ff1f1f; }
.share-band.video-share-band.compact .share-profiles a:nth-child(3) {
  background: linear-gradient(135deg, #111 45%, #00f2ea 46%, #00f2ea 52%, #ff0050 53%, #111 54%);
}

.share-band.video-share-band.compact .share-actions a:hover,
.share-band.video-share-band.compact .share-profiles a:hover {
  color: #fff;
  filter: brightness(1.08);
}

.universe-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.universe-quiz-section {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid rgba(184, 132, 21, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 8%, rgba(242, 190, 32, 0.2), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #f8ead0 100%);
}

.universe-quiz-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.universe-quiz-heading h2 {
  margin: 4px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.98;
}

.universe-quiz-heading p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.universe-quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.universe-quiz-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  min-height: 176px;
  padding: 12px;
  border: 1px solid rgba(31, 25, 22, 0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 12px 24px rgba(55, 38, 17, 0.08);
}

.universe-quiz-card img {
  width: 112px;
  height: 152px;
  object-fit: cover;
  border-radius: 14px;
}

.universe-quiz-card h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
  line-height: 1.16;
}

.universe-quiz-card p:not(.entry-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.universe-quiz-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.universe-quiz-links a {
  color: #875f08;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.universe-manifesto.dark {
  background: linear-gradient(135deg, #1a1715, #382820);
  color: #f5ebdc;
}
.universe-manifesto.dark p { color: rgba(245, 235, 220, 0.82); }

/* Univers Paquita: three recurring editorial streams, compact and easy to scan. */
.universe-page { display: grid; gap: 26px; }
.universe-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 24px; align-items: center; padding: 28px 32px; border: 1px solid #e9c763; border-bottom: 3px solid #e8b51a; border-radius: 28px; background: radial-gradient(circle at 88% 30%, rgba(237, 181, 22, .22), transparent 26%), linear-gradient(135deg, #fffdf7, #f8e8bd); }
.universe-hero h1 { max-width: 820px; margin: 5px 0 9px; font-family: "Cormorant Garamond", serif; font-size: clamp(2.25rem, 3.55vw, 4rem); line-height: .98; }
.universe-hero > div > p:not(.eyebrow) { max-width: 720px; margin: 0; color: #685849; font-size: .97rem; line-height: 1.45; }
.universe-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.universe-author-signature { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 11px; max-width: 720px; margin-top: 14px; padding: 9px 11px; border: 1px solid rgba(157, 107, 18, .2); border-radius: 16px; background: rgba(255,255,255,.52); }
.universe-author-signature img { width: 60px; height: 60px; border-radius: 13px; object-fit: cover; object-position: center 28%; box-shadow: 0 7px 14px rgba(66, 43, 16, .14); }
.universe-author-signature > div { min-width: 0; }
.universe-author-signature span { display: block; margin-bottom: 2px; color: #9a6a12; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.universe-author-signature strong { display: block; color: #2c211b; font-size: .98rem; line-height: 1.15; }
.universe-author-signature p { margin: 4px 0 7px !important; color: #665646 !important; font-size: .82rem !important; line-height: 1.32 !important; }
.universe-author-links { display: flex; flex-wrap: wrap; gap: 10px; }
.universe-author-links a { color: #79520a; font-size: .71rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.universe-author-links a:hover { color: #2c211b; text-decoration: underline; }
.universe-rendezvous { display: grid; gap: 10px; align-content: center; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #2d2119, #5a3924); box-shadow: 0 18px 28px rgba(60, 37, 15, .14); }
.universe-rendezvous > p { margin: 0 0 2px; color: #f3c142; font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.universe-feature-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.universe-feature-link { display: grid; grid-template-columns: 43px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff9ef; background: rgba(255,255,255,.09); }
.universe-feature-link:hover { background: rgba(239,183,25,.2); transform: translateY(-2px); }
.universe-feature-link img { width: 43px; height: 49px; border-radius: 8px; object-fit: cover; background: #fff6e2; }
.universe-feature-link span { display: grid; gap: 2px; min-width: 0; }
.universe-feature-link b { color: #fff8ed; font-size: .84rem; line-height: 1.05; }
.universe-feature-link small { color: #f0d8a8; font-size: .68rem; font-weight: 700; line-height: 1.15; }
.universe-social-title { margin-top: 2px !important; color: #f3c142 !important; }
.universe-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.universe-social-links a { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff9ef; background: rgba(255,255,255,.06); font-size: .74rem; font-weight: 800; }
.universe-social-links a:hover { background: rgba(239,183,25,.2); transform: translateX(2px); }
.universe-social-links i { display: inline-grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; font-family: Arial, sans-serif; font-size: .67rem; font-style: normal; font-weight: 900; }
.network-facebook { background: #1877f2; }.network-instagram { background: radial-gradient(circle at 28% 100%, #feda75 0 15%, #fa7e1e 35%, #d62976 60%, #962fbf 78%, #4f5bd5 100%); }.network-x { background: #111; }.network-youtube { background: #f00; font-size: .58rem !important; }
.universe-editorial-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: end; padding: 0 14px; }
.universe-editorial-intro h2 { margin: 4px 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: .95; }
.universe-editorial-intro > p { margin: 0 0 5px; color: var(--muted); line-height: 1.55; }
.universe-stream { padding: 24px; border: 1px solid #ead9ba; border-radius: 26px; background: #fffdfa; }
.universe-stream-humour { background: linear-gradient(135deg, #fffefa, #fff0c9); }
.universe-stream-arbitration { background: linear-gradient(135deg, #fffdfa, #f6eadb); }
.universe-stream-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.universe-stream-heading h2 { margin: 3px 0 4px; font-family: "Cormorant Garamond", serif; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; }
.universe-stream-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.universe-stream-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.universe-stream-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); min-height: 166px; overflow: hidden; border: 1px solid rgba(81, 54, 27, .15); border-radius: 18px; background: rgba(255,255,255,.84); }
.universe-stream-image { display: block; min-height: 100%; background: #e9dcc9; }
.universe-stream-image img { width: 100%; height: 100%; object-fit: cover; }
.universe-stream-card > div { display: flex; flex-direction: column; padding: 12px 12px 10px; }
.universe-stream-card h3 { margin: 3px 0 7px; font-size: 1rem; line-height: 1.14; }
.universe-stream-card h3 a { color: #2b211b; }
.universe-stream-card p:not(.entry-kicker) { display: -webkit-box; margin: 0; overflow: hidden; color: #6b5a4c; font-size: .81rem; line-height: 1.38; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.universe-stream-meta { display: flex; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 9px; color: #91670a; font-size: .69rem; font-weight: 800; }
.universe-stream-meta a { color: #72500a; text-transform: uppercase; letter-spacing: .06em; }
.universe-content-rail { padding: 26px; border-radius: 28px; background: #f7f1e6; }
.universe-rail-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.universe-rail-heading h2 { margin: 4px 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.universe-rail-heading > a { color: #8b6109; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.universe-rail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.universe-rail-card { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; min-height: 86px; padding: 8px; border: 1px solid #eadbc3; border-radius: 15px; color: #2b211b; background: #fffdfa; }
.universe-rail-card:hover { transform: translateY(-2px); box-shadow: 0 12px 18px rgba(55,38,17,.09); }
.universe-rail-card img { width: 72px; height: 68px; border-radius: 10px; object-fit: cover; }
.universe-rail-card span { font-size: .83rem; font-weight: 800; line-height: 1.2; }
.paquita-feed-page { max-width: 1300px; margin: 0 auto; }
.paquita-feed-hero { display: grid; grid-template-columns: 1fr 230px; gap: 30px; align-items: center; padding: 30px 34px; border: 1px solid #e5ca8f; border-bottom: 3px solid #eab716; border-radius: 27px; background: linear-gradient(120deg, #fffefa, #f8e8bd); }
.paquita-feed-hero h1 { margin: 5px 0 8px; font-family: "Cormorant Garamond", serif; font-size: clamp(2.4rem, 4vw, 4rem); line-height: .94; }
.paquita-feed-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #69594b; line-height: 1.5; }
.paquita-feed-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.paquita-feed-stats { display: grid; gap: 3px; padding: 20px; border-radius: 20px; color: #fff9ed; background: #34261e; box-shadow: 0 14px 20px rgba(61,37,17,.14); }
.paquita-feed-stats strong { color: #f3bf22; font-size: 2.5rem; line-height: 1; }
.paquita-feed-stats span { font-size: .84rem; font-weight: 700; }
.paquita-feed-stats small { margin-top: 7px; color: #dfc8aa; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.paquita-feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 25px 0; }
.paquita-post-card { overflow: hidden; border: 1px solid #eadcc5; border-radius: 20px; background: #fffdfa; box-shadow: 0 10px 20px rgba(55,38,17,.06); }
.paquita-post-image { display: block; aspect-ratio: 1 / .78; background: #efe5d5; }
.paquita-post-image img { width: 100%; height: 100%; object-fit: cover; }
.paquita-post-copy { padding: 16px; }
.paquita-post-copy h2 { margin: 4px 0 8px; font-family: "Cormorant Garamond", serif; font-size: 1.65rem; line-height: 1; }
.paquita-post-copy h2 a { color: #2c211a; }
.paquita-post-copy > p:not(.eyebrow) { display: -webkit-box; overflow: hidden; margin: 0; color: #69594b; line-height: 1.46; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.paquita-post-meta { display: flex; gap: 12px; margin: 13px 0 11px; color: #8d650d; font-size: .71rem; font-weight: 800; }
.paquita-post-link { color: #7b5607; font-size: .73rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.paquita-feed-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 28px 0; }
.paquita-feed-pagination a, .paquita-feed-pagination span { padding: 10px 14px; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.paquita-feed-pagination a { color: #32231a; background: #efb719; }
.paquita-feed-pagination span { border: 1px solid #e8d8b9; color: #725f4b; background: #fffdf8; }
@media (max-width: 900px) { .universe-hero, .universe-editorial-intro, .paquita-feed-hero { grid-template-columns: 1fr; } .universe-stream-grid, .paquita-feed-grid { grid-template-columns: 1fr 1fr; } .universe-rail-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .universe-hero, .universe-stream, .universe-content-rail, .paquita-feed-hero { padding: 21px; border-radius: 22px; } .universe-stream-heading, .universe-rail-heading { align-items: flex-start; flex-direction: column; } .universe-stream-grid, .paquita-feed-grid, .universe-rail-grid { grid-template-columns: 1fr; } .universe-stream-card { grid-template-columns: 92px minmax(0, 1fr); } .paquita-feed-pagination { flex-wrap: wrap; } }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 34px 24px;
}

.tag-row a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 auto 18px;
  width: min(100%, 960px);
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(23, 20, 17, 0.28);
}

.related-strip {
  padding: 0 34px 34px;
}

.related-reading {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.detail-shell {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  padding: 34px;
}

.detail-media img,
.reading-cover {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(240,230,213,0.8));
  border: 1px solid rgba(23,20,17,0.08);
  overflow: hidden;
}

.detail-media img {
  max-height: 720px;
  object-fit: contain;
  padding: 18px;
}

.detail-media {
  display: grid;
  gap: 14px;
  align-content: start;
  align-self: start;
}

.detail-gallery-main img {
  width: 100%;
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-gallery-thumbs .thumb-btn {
  padding: 0;
  border: 1px solid rgba(23,20,17,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  overflow: hidden;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.detail-gallery-thumbs .thumb-btn:hover,
.detail-gallery-thumbs .thumb-btn.on {
  border-color: rgba(181, 123, 14, 0.52);
  box-shadow: 0 10px 20px rgba(71, 45, 18, 0.12);
  transform: translateY(-1px);
}

.detail-gallery-thumbs .thumb-btn img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-copy,
.reading-shell {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

.detail-title {
  font-family: "Cormorant Garamond", serif;
  max-width: 14ch;
  font-size: clamp(1.95rem, 3.2vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

body[data-page="product"] .detail-title {
  max-width: none;
  width: 100%;
  font-size: clamp(1.9rem, 2.45vw, 2.7rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-tags span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(231, 177, 31, 0.14);
  border: 1px solid rgba(189, 136, 18, 0.18);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.detail-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.detail-meta-line {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 18px;
}

.detail-lead {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.detail-strategy-card,
.detail-reasons-card {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.74), rgba(246,238,228,0.9));
  border: 1px solid rgba(23,20,17,0.08);
}

.detail-strategy-intro {
  margin: 0 0 14px;
  color: #453e38;
  line-height: 1.7;
}

.detail-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-strategy-pill {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(23,20,17,0.08);
}

.detail-strategy-pill strong {
  font-size: 1.35rem;
  line-height: 1;
}

.detail-strategy-pill span,
.detail-strategy-pill small {
  color: #5b5248;
}

.detail-strategy-pill span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.detail-strategy-pill small {
  font-size: 0.88rem;
  line-height: 1.5;
}

.detail-reasons-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #453e38;
  line-height: 1.7;
}

.product-buy-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 24px;
  padding: 0 34px 34px;
}

.cart-list,
.cart-summary {
  display: grid;
  gap: 18px;
}

.cart-item-card,
.cart-summary {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(23,20,17,0.08);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

.cart-item-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
}

.cart-item-media img {
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(240,230,213,0.8));
  border: 1px solid rgba(23,20,17,0.08);
  padding: 12px;
}

.cart-item-copy h2 {
  margin-bottom: 10px;
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 18px;
  color: var(--muted);
}

.cart-item-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-item-actions form {
  margin: 0;
}

.cart-summary-total {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.cart-summary-note {
  color: var(--muted);
  line-height: 1.7;
}

.cart-summary-actions {
  display: grid;
  gap: 12px;
}

.cart-empty-state {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 30px;
  min-height: 310px;
  margin: 0 34px 34px;
  padding: 42px 48px;
  overflow: hidden;
  border: 1px solid rgba(174, 121, 19, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 188, 25, 0.22), transparent 22%),
    linear-gradient(125deg, #fffdf8 0%, #fbf2d9 100%);
  box-shadow: 0 18px 38px rgba(83, 56, 18, 0.1);
}

.cart-empty-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.cart-empty-copy h1 {
  max-width: 560px;
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.cart-empty-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #64584e;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cart-empty-visual {
  position: relative;
  width: 230px;
  height: 190px;
  justify-self: end;
}

.cart-empty-orbit {
  position: absolute;
  inset: 5px 0 auto auto;
  width: 172px;
  height: 172px;
  border: 1px solid rgba(126, 88, 31, 0.18);
  border-radius: 50%;
}

.cart-empty-orbit::before,
.cart-empty-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  background: rgba(126, 88, 31, 0.14);
  content: "";
  transform: translate(-50%, -50%);
}

.cart-empty-orbit::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cart-empty-ball,
.cart-empty-cochonnet {
  position: absolute;
  border-radius: 50%;
}

.cart-empty-ball {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95) 0 3%, rgba(189, 189, 186, 0.9) 14%, #696969 43%, #242424 78%);
  box-shadow: inset -10px -12px 18px rgba(0, 0, 0, 0.4), 14px 20px 22px rgba(57, 37, 19, 0.2);
}

.cart-empty-ball-main {
  right: 37px;
  bottom: 13px;
  width: 112px;
  height: 112px;
}

.cart-empty-ball-small {
  top: 40px;
  right: 135px;
  width: 58px;
  height: 58px;
}

.cart-empty-cochonnet {
  right: 14px;
  bottom: 18px;
  width: 22px;
  height: 22px;
  background: #eab315;
  box-shadow: 0 7px 10px rgba(105, 70, 12, 0.22);
}

.detail-rich,
.reading-content {
  color: #2f2a26;
  line-height: 1.8;
}

/* Product copy comes from the catalogue. Keep the real editorial links but give
   them a clear, shop-like treatment instead of inheriting the legacy layout. */
body[data-page="product"] .detail-copy {
  display: flex;
  flex-direction: column;
}

body[data-page="product"] .product-share-band {
  order: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, auto);
  align-items: center;
  gap: 14px 12px;
  margin: 18px 0 0;
  padding: 17px 20px;
  overflow: hidden;
  border: 1px solid rgba(194, 137, 20, 0.3);
  border-radius: 22px;
  background: radial-gradient(circle at 98% 110%, rgba(235, 181, 32, 0.23), transparent 30%), linear-gradient(115deg, #fffefa 0%, #fff3ce 100%);
  box-shadow: 0 12px 28px rgba(91, 61, 15, 0.09);
  color: #211a15;
}

body[data-page="product"] .product-share-band .share-copy { min-width: 0; }
body[data-page="product"] .product-share-band .share-copy .eyebrow { margin: 0; color: #9a6907; }
body[data-page="product"] .product-share-band .share-copy strong { color: #2a211b; font-size: 0.92rem; line-height: 1.4; }
body[data-page="product"] .product-share-band .share-actions,
body[data-page="product"] .product-share-band .share-profiles { display: contents; }
body[data-page="product"] .product-share-band .share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 12px rgba(39, 26, 13, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
body[data-page="product"] .product-share-band .share-link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 9px 18px rgba(39, 26, 13, 0.2); }
body[data-page="product"] .product-share-band .share-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
body[data-page="product"] .product-share-band .share-icon img { display: block; width: 13px; height: 13px; }
body[data-page="product"] .product-share-band .share-facebook { background: #1877f2; }
body[data-page="product"] .product-share-band .share-x { background: #171717; }
body[data-page="product"] .product-share-band .share-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
body[data-page="product"] .product-share-band .share-youtube { background: #ff0000; }
body[data-page="product"] .product-share-band .share-tiktok { background: #111; box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55; }

@media (max-width: 760px) {
  body[data-page="product"] .product-share-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="product"] .product-share-band .share-copy {
    grid-column: 1 / -1;
  }

  body[data-page="product"] .product-share-band .share-link {
    width: 100%;
  }
}

body[data-page="product"] .product-editorial { order: 3; }
body[data-page="product"] .product-editorial p { margin: 0 0 15px; }
body[data-page="product"] .product-editorial > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(174, 124, 20, 0.22);
  border-radius: 18px;
  background: linear-gradient(120deg, #fffdf7, #fff3d4);
}
body[data-page="product"] .product-editorial a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: #231a15;
  color: #fffdf8;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
}
body[data-page="product"] .product-editorial a:hover { background: #b57812; color: #fff; }
body[data-page="product"] .product-variations-panel {
  order: 2;
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid rgba(174, 124, 20, 0.2);
  border-radius: 20px;
  background: linear-gradient(120deg, #fffdf8, #f8edd1);
}
body[data-page="product"] .product-buy-form-variable {
  display: grid;
  gap: 14px;
}
body[data-page="product"] .product-variation-axis {
  display: grid;
  gap: 6px;
}
body[data-page="product"] .product-variation-axis span {
  color: #614b32;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body[data-page="product"] .product-variation-axis select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(106, 77, 31, 0.2);
  border-radius: 14px;
  background: #fffefb;
  color: #2b211b;
  font: inherit;
}
body[data-page="product"] .product-variation-hint {
  margin: 0;
  color: #6b5a4b;
  font-size: 0.92rem;
  line-height: 1.55;
}
.catalog-card-media { display: block; }
.catalog-card h2 a { color: inherit; text-decoration: none; }
.catalog-card h2 a:hover { color: #9c6713; }

body[data-page="livres"] .section-heading h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
  line-height: 0.98;
}

.detail-rich h2,
.detail-rich h3,
.reading-content h2,
.reading-content h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  margin-top: 28px;
  margin-bottom: 14px;
}

.detail-rich img,
.reading-content img {
  max-width: 100%;
  border-radius: 18px;
  height: auto;
}

.reading-shell {
  width: min(100%, 960px);
  margin: 0 auto;
}

body[data-page="article"] .page-main {
  position: relative;
}

body[data-page="article"] .page-main::before {
  content: "";
  position: absolute;
  inset: -24px 0 auto;
  height: 420px;
  background:
    radial-gradient(circle at top center, rgba(231, 177, 31, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(255, 250, 241, 0));
  pointer-events: none;
}

body[data-page="article"] .reading-shell {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #2f2a26;
  padding: 8px 12px 22px;
}

body[data-page="article"] .reading-shell .breadcrumbs a,
body[data-page="article"] .reading-shell .eyebrow,
body[data-page="article"] .reading-shell .detail-meta-line {
  color: #756b61;
}

body[data-page="article"] .reading-shell .breadcrumbs span {
  color: rgba(23,20,17,0.46);
}

body[data-page="article"] .reading-shell .detail-title,
body[data-page="article"] .reading-shell .detail-tags span,
body[data-page="article"] .reading-shell .detail-rich,
body[data-page="article"] .reading-shell .reading-content {
  color: #171411;
}

body[data-page="article"] .reading-shell .detail-tags span {
  background: rgba(231,177,31,0.13);
  border-color: rgba(189,136,18,0.2);
}

body[data-page="article"] .reading-shell .social-share {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,241,231,0.98));
  border-color: rgba(23,20,17,0.08);
  box-shadow: 0 10px 30px rgba(21,17,13,0.06);
}

body[data-page="article"] .reading-shell .social-share p,
body[data-page="article"] .reading-shell .social-share h2 {
  color: #171411;
}

body[data-page="article"] .reading-shell .social-share-link {
  background: rgba(255,255,255,0.86);
  border-color: rgba(23,20,17,0.08);
  color: #171411;
}

body[data-page="article"] .reading-content,
body[data-page="article"] .reading-content p,
body[data-page="article"] .reading-content li,
body[data-page="article"] .reading-content blockquote,
body[data-page="article"] .reading-content figcaption,
body[data-page="article"] .reading-content td,
body[data-page="article"] .reading-content th,
body[data-page="article"] .reading-content span,
body[data-page="article"] .reading-content div {
  color: #2f2a26 !important;
}

body[data-page="article"] .reading-content h1,
body[data-page="article"] .reading-content h2,
body[data-page="article"] .reading-content h3,
body[data-page="article"] .reading-content h4,
body[data-page="article"] .reading-content h5,
body[data-page="article"] .reading-content h6 {
  color: #171411 !important;
}

body[data-page="article"] .reading-content a {
  color: #9f5a10 !important;
}

body[data-page="article"] .reading-content strong,
body[data-page="article"] .reading-content b {
  color: #171411 !important;
}

body[data-page="article"] .reading-content ul,
body[data-page="article"] .reading-content ol {
  padding-left: 1.3rem;
}

body[data-page="article"] .reading-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid rgba(231, 177, 31, 0.75);
  background: rgba(255,255,255,0.05);
  border-radius: 0 18px 18px 0;
}

body[data-page="article"] .reading-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  border-radius: 18px;
}

body[data-page="article"] .reading-content td,
body[data-page="article"] .reading-content th {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
}

body[data-page="article"] .reading-content hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 28px 0;
}

body[data-page="article"] .reading-cover {
  display: block;
  width: min(100%, 780px);
  max-height: 520px;
  margin: 22px auto 30px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

body[data-page="article"] .reading-content img,
body[data-page="article"] .detail-rich img {
  display: block;
  width: auto !important;
  max-width: min(100%, 720px) !important;
  max-height: 520px;
  margin: 26px auto !important;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

body[data-page="article"] .reading-content figure {
  margin: 28px auto;
  text-align: center;
}

body[data-page="article"] .reading-content figcaption {
  max-width: 680px;
  margin: 12px auto 0;
  font-size: 0.92rem;
  color: rgba(243, 236, 223, 0.72) !important;
}

.reading-cover {
  width: 100%;
  margin: 18px 0 24px;
  object-fit: cover;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 18px 0 24px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame-with-intro iframe { z-index: 1; }

.video-intro-cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  isolation: isolate;
  color: #fffdf8;
  transition: opacity .38s ease, transform .38s ease;
}

.video-intro-cover.is-leaving {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.video-intro-cover > img,
.video-intro-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-intro-cover > img { object-fit: cover; }

.video-intro-scrim {
  background: linear-gradient(90deg, rgba(24, 15, 10, .82) 0%, rgba(24, 15, 10, .34) 56%, rgba(24, 15, 10, .12) 100%);
}

.video-intro-content {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 42px);
  max-width: min(590px, 82%);
}

.video-intro-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2b617;
  color: #27190e;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-intro-content strong {
  display: block;
  margin: 10px 0 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.4vw, 3.2rem);
  line-height: .95;
  text-wrap: balance;
}

.video-intro-content p {
  margin: 0 0 13px;
  color: rgba(255,253,248,.88);
  font-size: .86rem;
}

.video-intro-play {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f2b617;
  color: #21160d;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.video-intro-play:hover {
  background: #ffd251;
  transform: translateY(-1px);
}

.video-context-panel {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, .85fr);
  gap: 20px 28px;
  align-items: center;
  margin: 0 auto 28px;
  padding: 24px 26px;
  border: 1px solid rgba(190, 132, 18, .22);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255,255,255,.92), rgba(255,246,222,.9));
  box-shadow: 0 14px 32px rgba(65, 46, 27, .08);
}

.video-context-copy h2 {
  margin: 4px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .98;
}

.video-context-copy > p:last-child {
  max-width: 690px;
  margin: 0;
  color: #665b51;
  line-height: 1.55;
}

.video-context-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-context-facts > span,
.video-context-facts > a {
  display: grid;
  gap: 3px;
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid rgba(66, 47, 28, .10);
  border-radius: 14px;
  background: rgba(255,255,255,.8);
  color: #6b5a45;
  font-size: .72rem;
  text-decoration: none;
}

.video-context-facts strong {
  color: #261d16;
  font-size: .84rem;
}

.video-context-facts > a:hover {
  border-color: #d79609;
  background: #fff4d5;
}

.video-context-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

@media (max-width: 700px) {
  .video-context-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .video-context-facts > span,
  .video-context-facts > a {
    flex: 1 1 132px;
  }
}

.seo-brief,
.faq-section {
  width: min(100%, 1180px);
  margin: 34px auto 0;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

.seo-brief-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-brief-card,
.faq-card {
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(23,20,17,0.08);
}

.seo-brief-card h3,
.faq-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.seo-brief-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.home-seo-brief {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
}

.home-seo-brief .section-heading {
  margin-bottom: 12px;
}

.home-seo-brief .section-heading h2 {
  font-size: 1.8rem;
}

.home-seo-brief .section-heading > p {
  max-width: 480px;
  font-size: 0.9rem;
  line-height: 1.46;
}

.home-seo-brief .seo-brief-card h3 {
  font-size: 0.96rem;
}

.home-seo-brief .seo-brief-card p {
  font-size: 0.84rem;
}

.faq-section-compact {
  padding-top: 26px;
}

.seo-brief-detail {
  margin-top: 34px;
}

.article-summary-box {
  margin: 0 0 24px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.article-summary-box p:last-child {
  margin-bottom: 0;
  color: rgba(243, 236, 223, 0.82);
  line-height: 1.75;
}

body[data-page="product"] .seo-brief,
body[data-page="video-detail"] .seo-brief {
  background: rgba(255,255,255,0.56);
}

body[data-page="article"] .faq-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(247,241,231,0.96));
  border: 1px solid rgba(23,20,17,0.08);
  color: #171411;
}

body[data-page="article"] .faq-card {
  background: rgba(255,255,255,0.78);
  border-color: rgba(23,20,17,0.08);
}

body[data-page="article"] .faq-card p,
body[data-page="article"] .faq-section .section-heading p,
body[data-page="article"] .faq-section .section-heading h2 {
  color: #171411;
}

body[data-page="article"] .faq-card p,
body[data-page="article"] .faq-section .section-heading p {
  color: #4d463f;
}

body[data-page="article"] .faq-card h3 {
  color: #171411;
}

body[data-page="article"] .article-page-main {
  position: relative;
}

body[data-page="article"] .article-page-main::before {
  content: "";
  position: absolute;
  inset: -24px 0 auto;
  height: 250px;
  background:
    radial-gradient(circle at top center, rgba(231, 177, 31, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(245, 238, 225, 0.92), rgba(245, 238, 225, 0));
  pointer-events: none;
}

body[data-page="article"] .article-reading-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 8px 12px 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-page="article"] .article-reading-shell .breadcrumbs {
  width: 100%;
  margin-bottom: 18px;
}

body[data-page="article"] .article-reading-shell .breadcrumbs a,
body[data-page="article"] .article-reading-shell .breadcrumbs span {
  color: #756b61;
}

body[data-page="article"] .article-reading-shell .breadcrumbs a::after {
  color: rgba(23,20,17,0.22);
}

body[data-page="article"] .article-hero-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,241,231,0.98));
  color: #171411;
  box-shadow: 0 14px 34px rgba(21, 17, 13, 0.08);
  border: 1px solid rgba(23,20,17,0.08);
}

body[data-page="article"] .article-hero-visual {
  min-height: 280px;
}

body[data-page="article"] .article-hero-image,
body[data-page="article"] .article-hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 18px;
}

body[data-page="article"] .article-hero-image {
  display: block;
  object-fit: cover;
}

body[data-page="article"] .article-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #d59b13, #ebb541 55%, #b77808);
}

body[data-page="article"] .article-hero-placeholder span {
  color: #fff9ec;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="article"] .article-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

body[data-page="article"] .article-hero-copy .eyebrow {
  color: #8a7a67;
}

body[data-page="article"] .article-title {
  color: #171411;
  font-size: clamp(2.8rem, 4.3vw, 4.4rem);
  line-height: 0.94;
  margin-bottom: 12px;
}

body[data-page="article"] .article-tags {
  margin-bottom: 12px;
}

body[data-page="article"] .article-tags span {
  background: rgba(23,20,17,0.04);
  border-color: rgba(23,20,17,0.08);
  color: #5b5248;
}

body[data-page="article"] .article-intro {
  max-width: 32rem;
  margin: 0;
  color: #4c453d;
  font-size: 1rem;
  line-height: 1.62;
}

body[data-page="article"] .article-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body[data-page="article"] .article-hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(23,20,17,0.04);
  border: 1px solid rgba(23,20,17,0.08);
  color: #5b5248;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="article"] .article-tools-row {
  margin-top: 14px;
}

body[data-page="article"] .article-tools-row .social-share {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,241,231,0.98));
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

body[data-page="article"] .article-tools-row .social-share h2,
body[data-page="article"] .article-tools-row .social-share p {
  color: var(--ink);
}

body[data-page="article"] .article-tools-row .social-share-link {
  background: rgba(255,255,255,0.86);
  border-color: rgba(23,20,17,0.08);
  color: var(--ink);
}

/* Article sharing is a small invitation to circulate the content, not a dark footer. */
body[data-page="article"] .article-tools-row .share-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, auto);
  gap: 14px 18px;
  align-items: center;
  margin: 0;
  padding: 17px 20px;
  overflow: hidden;
  border: 1px solid rgba(194, 137, 20, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 98% 110%, rgba(235, 181, 32, 0.23), transparent 30%),
    linear-gradient(115deg, #fffefa 0%, #fff3ce 100%);
  box-shadow: 0 12px 28px rgba(91, 61, 15, 0.09);
  color: #211a15;
}

body[data-page="article"] .article-tools-row .share-copy .eyebrow {
  margin: 0 0 4px;
  color: #9a6907;
}

body[data-page="article"] .article-tools-row .share-copy strong {
  max-width: 34rem;
  color: #2a211b;
  font-size: 0.95rem;
  line-height: 1.42;
}

body[data-page="article"] .article-tools-row .share-actions,
body[data-page="article"] .article-tools-row .share-profiles {
  display: contents;
}

body[data-page="article"] .article-tools-row .share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 12px rgba(39, 26, 13, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

body[data-page="article"] .article-tools-row .share-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(39, 26, 13, 0.2);
}

body[data-page="article"] .article-tools-row .share-link > span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: none;
}

body[data-page="article"] .article-tools-row .share-facebook { background: #1877f2; }
body[data-page="article"] .article-tools-row .share-x { background: #161616; }
body[data-page="article"] .article-tools-row .share-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af); }
body[data-page="article"] .article-tools-row .share-youtube { background: #ff0033; }
body[data-page="article"] .article-tools-row .share-tiktok { background: #151515; box-shadow: 3px 3px 0 #f04d67, -2px -2px 0 #25f4ee; }

body[data-page="article"] .related-reading .related-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 14px 0 7px;
  color: #926714;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

body[data-page="article"] .related-reading .related-card-meta span {
  color: #d29d25;
  font-size: 0.8rem;
}

body[data-page="category"] .news-card .category-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 14px 0 7px;
  color: #926714;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

body[data-page="category"] .news-card .category-card-meta span {
  color: #d29d25;
  font-size: 0.8rem;
}

body[data-page="category"] .category-card-shell {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

body[data-page="category"] .category-card-shell h3,
body[data-page="category"] .category-card-shell p {
  color: inherit;
}

@media (max-width: 860px) {
  body[data-page="article"] .article-tools-row .share-band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body[data-page="article"] .article-tools-row .share-copy {
    grid-column: 1 / -1;
  }

  body[data-page="article"] .article-tools-row .share-link {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.61rem;
  }
}

@media (max-width: 560px) {
  body[data-page="article"] .article-tools-row .share-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="article"] .article-tools-row .share-link:last-child {
    grid-column: 1 / -1;
  }
}

body[data-page="article"] .article-strategy-card {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,241,231,0.98));
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

body[data-page="article"] .article-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

body[data-page="article"] .article-strategy-pill {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(23,20,17,0.08);
}

body[data-page="article"] .article-strategy-pill strong {
  color: #171411;
  font-size: 1.3rem;
  line-height: 1;
}

body[data-page="article"] .article-strategy-pill span {
  color: #8a6b2b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

body[data-page="article"] .article-strategy-pill small {
  color: #4d463f;
  line-height: 1.5;
}

body[data-page="article"] .article-body-card {
  margin-top: 14px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,241,231,0.98));
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.06);
}

body[data-page="article"] .article-body-card .reading-content,
body[data-page="article"] .article-body-card .reading-content p,
body[data-page="article"] .article-body-card .reading-content li,
body[data-page="article"] .article-body-card .reading-content blockquote,
body[data-page="article"] .article-body-card .reading-content figcaption,
body[data-page="article"] .article-body-card .reading-content td,
body[data-page="article"] .article-body-card .reading-content th,
body[data-page="article"] .article-body-card .reading-content span,
body[data-page="article"] .article-body-card .reading-content div {
  color: #2f2a26 !important;
}

body[data-page="article"] .article-body-card .reading-content h1,
body[data-page="article"] .article-body-card .reading-content h2,
body[data-page="article"] .article-body-card .reading-content h3,
body[data-page="article"] .article-body-card .reading-content h4,
body[data-page="article"] .article-body-card .reading-content h5,
body[data-page="article"] .article-body-card .reading-content h6,
body[data-page="article"] .article-body-card .reading-content strong,
body[data-page="article"] .article-body-card .reading-content b {
  color: #171411 !important;
}

body[data-page="article"] .article-body-card .reading-content a {
  color: #9f5a10 !important;
}

body[data-page="article"] .article-body-card .reading-content blockquote {
  background: rgba(23,20,17,0.04);
}

body[data-page="article"] .article-body-card .reading-content table {
  background: rgba(255,255,255,0.72);
}

body[data-page="article"] .article-body-card .reading-content td,
body[data-page="article"] .article-body-card .reading-content th {
  border-color: rgba(23,20,17,0.08);
}

body[data-page="article"] .article-body-card .reading-content img {
  max-width: min(100%, 620px) !important;
  max-height: 420px;
  margin: 20px auto !important;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(15, 12, 10, 0.12);
}

body[data-page="article"] .article-body-card .reading-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.82;
}

body[data-page="article"] .article-body-card .reading-content :is(p, ul, ol, blockquote, table, figure, div) {
  margin: 0 0 1.25rem;
}

body[data-page="article"] .article-body-card .reading-content :is(h2, h3, h4) {
  margin: 2.4rem 0 0.9rem;
  color: #211a15 !important;
  line-height: 1.12;
}

body[data-page="article"] .article-body-card .reading-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

body[data-page="article"] .article-body-card .reading-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

body[data-page="article"] .article-body-card .reading-content :is(ul, ol) {
  padding-left: 1.35rem;
}

body[data-page="article"] .article-body-card .reading-content li + li {
  margin-top: 0.45rem;
}

body[data-page="article"] .article-body-card .reading-content div {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-page="article"] .article-body-card .reading-content article,
body[data-page="article"] .article-body-card .reading-content main,
body[data-page="article"] .article-body-card .reading-content section,
body[data-page="article"] .article-body-card .reading-content header {
  max-width: 100%;
}

body[data-page="article"] .article-body-card .reading-content header,
body[data-page="article"] .article-body-card .reading-content .pl-wrap,
body[data-page="article"] .article-body-card .reading-content [class*="elementor"] {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Rebuild legacy editorial fact grids after unsafe imported styles are removed. */
body[data-page="article"] .article-body-card .reading-content .pl-import-facts {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 0 0 1.5rem !important;
  padding: 12px !important;
  border: 1px solid rgba(172, 112, 20, 0.22) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #fffdf8, #f9edcf) !important;
  box-shadow: 0 12px 24px rgba(64, 43, 20, 0.07) !important;
}

body[data-page="article"] .article-body-card .reading-content .pl-import-fact {
  display: grid !important;
  align-content: start;
  gap: 2px;
  min-height: 100%;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(67, 47, 26, 0.12) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

body[data-page="article"] .article-body-card .reading-content .pl-import-fact strong {
  color: #a56b0a !important;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

body[data-page="article"] .article-body-card .reading-content .pl-import-fact span {
  color: #211a15 !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

body[data-page="article"] .article-body-card .reading-content .pl-import-fact small {
  color: #6a5f55 !important;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 560px) {
  body[data-page="article"] .article-body-card .reading-content .pl-import-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="article"] .related-reading {
  margin-top: 20px;
}

body[data-page="article"] .related-reading .section-heading {
  margin-bottom: 18px;
}

body[data-page="article"] .related-reading .eyebrow {
  color: #6b6158;
}

body[data-page="article"] .related-reading .section-heading h2 {
  color: #171411;
}

body[data-page="article"] .related-reading .news-grid {
  gap: 16px;
}

body[data-page="article"] .related-reading .news-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,241,231,0.96));
  border: 1px solid rgba(23,20,17,0.1);
  box-shadow: 0 12px 28px rgba(21, 17, 13, 0.08);
}

body[data-page="article"] .related-reading .news-card h3,
body[data-page="article"] .related-reading .news-card h3 a {
  color: #171411 !important;
  line-height: 1.35;
}

body[data-page="article"] .related-reading .news-card p {
  color: #4d463f !important;
  line-height: 1.6;
}

body[data-page="article"] .related-reading .news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(21, 17, 13, 0.12);
}

body[data-page="article"] .related-reading .news-card:hover h3,
body[data-page="article"] .related-reading .news-card:hover h3 a {
  color: #7d5908 !important;
}

body[data-page="article"] .community-cta {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,234,220,0.96));
  color: #171411;
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 12px 28px rgba(21, 17, 13, 0.08);
}

body[data-page="article"] .community-cta p,
body[data-page="article"] .community-cta .eyebrow,
body[data-page="article"] .community-links span {
  color: #4d463f;
}

body[data-page="article"] .community-cta h2,
body[data-page="article"] .community-links strong {
  color: #171411;
}

body[data-page="article"] .community-links a {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(23,20,17,0.08);
}

body[data-page="article"] .community-links a:hover {
  border-color: rgba(189,136,18,0.28);
  box-shadow: 0 12px 24px rgba(21, 17, 13, 0.08);
}

/* The article footer uses the compact social cards on a light surface. */
body[data-page="article"] .community-cta.compact {
  gap: 14px;
  padding: 22px 24px;
}

body[data-page="article"] .community-cta.compact .community-primary-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="article"] .community-cta.compact .community-social-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="article"] .community-cta.compact .community-social-tile {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(74, 56, 39, 0.14);
  box-shadow: 0 8px 18px rgba(66, 47, 28, 0.07);
  color: #2d241d;
}

body[data-page="article"] .community-cta.compact .community-social-tile:hover {
  border-color: rgba(189, 136, 18, 0.6);
  background: #fffdf8;
  box-shadow: 0 12px 22px rgba(66, 47, 28, 0.12);
}

body[data-page="article"] .community-cta.compact .community-social-copy strong {
  color: #2d241d;
  font-size: 0.76rem;
}

body[data-page="article"] .community-cta.compact .community-social-copy small {
  color: #766858;
  font-size: 0.68rem;
}

@media (max-width: 980px) {
  .detail-strategy-grid,
  body[data-page="article"] .article-strategy-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="article"] .article-hero-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="article"] .article-title {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  body[data-page="article"] .article-body-card {
    padding: 22px 20px;
  }
}

/* Global UX finish: predictable focus, tactile controls and compact responsive rhythm. */
.skip-link {
  position: fixed;
  z-index: 120;
  top: 12px;
  left: 50%;
  padding: 12px 18px;
  border-radius: 999px;
  background: #171411;
  color: #fff8ec;
  box-shadow: 0 14px 28px rgba(20, 16, 12, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(-50%, -160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(231, 177, 31, 0.94);
  outline-offset: 3px;
}

:where(button, [type="submit"], [type="button"]) { font: inherit; }

.btn,
.shop-chip,
.cart-chip,
.footer-cta,
.inline-link,
.actualites-read-link,
.search-type-tab,
.tag-row a {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.shop-chip:hover,
.cart-chip:hover,
.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27, 20, 14, 0.15);
}

.btn:active,
.shop-chip:active,
.cart-chip:active,
.footer-cta:active { transform: translateY(0); }

.btn[aria-disabled="true"],
.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.catalog-card,
.video-card,
.news-card,
.tool-card,
.actualites-mini-card,
.actualites-archive-card,
.search-result-card {
  will-change: transform;
}

.catalog-card:hover,
.video-card:hover,
.news-card:hover,
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(36, 26, 18, 0.13);
}

.catalog-card img,
.video-card img,
.news-card img,
.tool-card img,
.actualites-archive-card img {
  transition: transform 260ms ease, filter 260ms ease;
}

.catalog-card:hover img,
.video-card:hover img,
.news-card:hover img,
.tool-card:hover img,
.actualites-archive-card:hover img {
  transform: scale(1.025);
}

.page-main :is(section, article)[id] { scroll-margin-top: 24px; }

.entry-kicker,
.eyebrow {
  line-height: 1.25;
}

.global-search:focus-within {
  border-color: rgba(189, 136, 18, 0.62);
  box-shadow: 0 0 0 4px rgba(231, 177, 31, 0.14), 0 10px 22px rgba(31, 24, 18, 0.1);
}

.main-nav a,
.nav-menu summary,
.footer-link-list a,
.footer-nav a {
  text-underline-offset: 4px;
}

.footer-link-list a:hover,
.footer-nav a:hover {
  color: #f3bf2b;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .inner-shell {
    width: min(calc(100% - 20px), var(--content));
    margin: 10px auto;
    border-radius: 24px;
  }

  .site-header {
    gap: 16px;
    padding: 16px;
  }

  .brand-lockup { min-width: 0; }

  .page-hero,
  .actualites-paths,
  .actualites-spotlight,
  .actualites-archive,
  .actualites-streams,
  .actualites-rules-callout {
    margin-left: 14px;
    margin-right: 14px;
  }

  .page-hero { padding: 22px 20px; }

  .tag-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .tag-row a { flex: 0 0 auto; }

  .actualites-feature { height: auto; }

  .actualites-feature-image { height: auto; aspect-ratio: 16 / 10; }

  .actualites-feature-copy { padding: 19px; }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "center center";
    align-items: center;
    gap: 18px 20px;
  }
  .brand-lockup {
    grid-area: brand;
    min-width: 0;
  }
  .header-center {
    grid-area: center;
  }
  .header-tools {
    grid-area: tools;
    min-width: 0;
  }
  .main-nav {
    justify-content: flex-start;
    gap: 14px 18px;
  }
  .language-switcher {
    justify-content: flex-start;
  }
  .hero,
  .showcase-grid,
  .content-ribbon .ribbon-grid,
  .manifesto-band,
  .software-grid,
  .news-layout,
  .feature-article,
  .universe-layout,
  .detail-shell,
  .community-cta,
  .atlas-layout,
  .page-hero-atlas,
  .home-editorial,
  .home-columns,
  .software-bridge,
  .software-sale-card,
  .pricing-grid,
  .software-split {
    grid-template-columns: 1fr;
  }
  .community-cta.compact {
    grid-template-columns: 1fr;
  }
  .community-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-links { grid-template-columns: 1fr; }
  .hub-grid,
  .hub-kpis,
  .hub-grid-3,
  .legal-layout,
  .newsletter-form-grid,
  .share-band,
  .support-layout,
  .bundle-grid,
  .book-ribbon,
  .catalog-grid,
  .tool-grid,
  .video-grid,
  .rules-grid,
  .news-grid,
  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-right { min-height: 520px; }
  .hero-portrait-card { min-height: 520px; }
  .hero-facebook-stack-cards {
    min-height: 220px;
  }
  .product-highlight,
  .software-card.wide,
  .media-card-wide {
    grid-template-columns: 1fr;
  }
  .seo-brief-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-shell,
  .inner-shell { width: min(calc(100% - 20px), var(--content)); margin: 10px auto; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "center center";
    align-items: center;
    padding: 20px;
    gap: 16px;
  }
  .brand-lockup {
    grid-area: brand;
    width: 100%;
    min-width: 0;
  }
  .header-center {
    grid-area: center;
    width: 100%;
    min-width: 0;
  }
  .header-tools {
    grid-area: tools;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    align-self: start;
  }
  .main-nav,
  .language-switcher { width: 100%; justify-content: flex-start; }
  .main-nav {
    gap: 10px 16px;
  }
  .main-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }
  .language-switcher {
    gap: 8px;
  }
  .header-tools {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .search-trigger,
  .cart-chip,
  .shop-chip {
    min-height: 44px;
  }
  .hero-left,
  .entry-grid,
  .showcase-block,
  .content-ribbon,
  .home-editorial,
  .home-columns,
  .software-bridge,
  .software-focus,
  .pricing-section,
  .trial-section,
  .software-split,
  .hub-grid,
  .manifesto-band,
  .page-main,
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .tag-row { padding-left: 20px; padding-right: 20px; }
  .results-marquee { margin-left: 20px; margin-right: 20px; }
  .related-strip { padding-left: 20px; padding-right: 20px; }
  .page-hero { margin-left: 20px; margin-right: 20px; }
  .hub-grid,
  .hub-kpis,
  .hub-grid-3,
  .home-duo-grid,
  .legal-layout,
  .newsletter-form-grid,
  .share-band,
  .support-layout,
  .bundle-grid,
  .book-ribbon,
  .catalog-grid,
  .tool-grid,
  .video-grid,
  .rules-grid,
  .news-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .story-row {
    grid-template-columns: 44px 88px 1fr;
  }
  .story-row img {
    width: 88px;
  }
  .books-heading { grid-template-columns: 1fr; }
  .bundle-meta,
  .book-ribbon-card div {
    flex-direction: column;
    align-items: flex-start;
  }
  .books-seo-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .books-seo-intro-links {
    justify-content: flex-start;
  }
  .books-mini-shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bundle-covers {
    min-height: 220px;
  }
  .bundle-cover {
    width: 24%;
  }
  .atlas-table-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .results-marquee-head,
  .results-marquee-track {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .results-pill {
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 12px;
  }
  .results-pill-thumb {
    width: 64px;
  }
  .hero {
    margin-left: 20px;
    margin-right: 20px;
    min-height: 0;
  }
  .home-duo-band,
  .home-discovery-band,
  .home-paquita-band {
    padding-left: 20px;
    padding-right: 20px;
  }
  .discovery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .duo-card {
    grid-template-columns: 1fr;
  }
  .bridge-card-atlas-layout {
    grid-template-columns: 1fr;
  }
  .bridge-card-atlas-visual {
    order: -1;
    min-height: 180px;
  }
  .bridge-card-software-layout {
    grid-template-columns: 1fr;
  }
  .bridge-card-software-visual {
    order: -1;
    min-height: 150px;
  }
  .duo-book-visual {
    min-height: 160px;
  }
  .hero-left,
  .editorial-lead,
  .home-column,
  .bridge-card,
  .pricing-card,
  .trial-card,
  .split-panel,
  .entry-card,
  .hub-card,
  .catalog-card,
  .tool-card,
  .news-card,
  .video-card,
  .rule-panel,
  .universe-manifesto {
    padding: 18px;
    border-radius: 22px;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
    max-width: none;
  }
  .hero-copy,
  .hero-note {
    max-width: none;
  }
  .hero-actions,
  .bridge-actions,
  .editorial-actions,
  .trial-actions,
  .software-cta-grid {
    gap: 10px;
  }
  .hero-actions .btn,
  .bridge-actions .btn,
  .editorial-actions .btn,
  .trial-actions .btn,
  .software-cta-grid .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-right,
  .hero-feature-card {
    min-height: 300px;
  }
  .hero-side-grid {
    grid-template-columns: 1fr;
  }
  .hero-facebook-stack-cards {
    min-height: 230px;
  }
  .home-books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-table {
    gap: 8px;
  }
  .brand-wordmark { font-size: 2.4rem; }
  .footer-top,
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-community {
    grid-template-columns: 1fr;
  }
  .footer-stats {
    gap: 10px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .inner-shell {
    width: min(calc(100% - 14px), var(--content));
    margin: 7px auto;
    border-radius: 24px;
  }
  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "tools"
      "center";
    padding: 16px;
    align-items: flex-start;
  }
  .brand-lockup {
    gap: 12px;
    min-width: 0;
  }
  .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    flex: 0 0 auto;
  }
  .brand-ball {
    width: 38px;
    height: 38px;
  }
  .brand-wordmark {
    font-size: 2rem;
  }
  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }
  .main-nav {
    gap: 8px 14px;
  }
  .header-tools {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .main-nav a {
    font-size: 0.7rem;
    padding: 6px 0;
  }
  .main-nav a::before {
    left: -10px;
    width: 6px;
    height: 6px;
  }
  .language-pill {
    width: 42px;
    min-height: 50px;
  }
  .language-flag {
    width: 22px;
    height: 22px;
  }
  .language-label {
    font-size: 0.52rem;
  }
  .hero,
  .results-marquee,
  .page-hero {
    margin-left: 14px;
    margin-right: 14px;
  }
  .results-marquee {
    padding: 12px;
    border-radius: 18px;
  }
  .results-marquee-head {
    margin-bottom: 10px;
  }
  .results-pill {
    grid-template-columns: 56px 1fr;
    border-radius: 14px;
  }
  .results-pill-thumb {
    width: 56px;
    border-radius: 10px;
  }
  .results-pill strong {
    font-size: 0.82rem;
  }
  .results-pill span {
    font-size: 0.75rem;
  }
  .hero-left,
  .entry-grid,
  .showcase-block,
  .content-ribbon,
  .home-duo-band,
  .home-discovery-band,
  .home-paquita-band,
  .home-editorial,
  .home-columns,
  .software-bridge,
  .software-focus,
  .pricing-section,
  .trial-section,
  .software-split,
  .hub-grid,
  .manifesto-band,
  .page-main,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-left {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(2.325rem, 10.7vw, 3.375rem);
    line-height: 0.94;
  }
  .hero-copy,
  .hero-note,
  .home-seo-brief .section-heading > p,
  .section-heading > p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-stats div {
    min-width: 0;
  }
  .hero-right,
  .hero-feature-card {
    min-height: 260px;
  }
  .hero-badge {
    top: 12px;
    right: 12px;
    width: 68px;
    font-size: 0.5rem;
  }
  .hero-feature-copy strong {
    font-size: 0.88rem;
  }
  .editorial-lead h2,
  .home-column h2,
  .bridge-card h2,
  .duo-copy h2,
  .software-sale-card h2,
  .trial-card h2,
  .split-panel h2,
  .section-heading h2,
  .home-seo-brief .section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }
  .discovery-grid {
    grid-template-columns: 1fr;
  }
  .discovery-card strong,
  .home-faq-band .faq-card h3,
  .paquita-community-kicker {
    font-size: 1.6rem;
  }
  .paquita-band-copy,
  .paquita-community-callout strong {
    font-size: 0.95rem;
  }
  .editorial-chip {
    padding: 11px 12px;
  }
  .story-row {
    grid-template-columns: 34px 76px 1fr;
    gap: 10px;
    padding: 8px;
  }
  .story-row img {
    width: 76px;
    border-radius: 10px;
  }
  .story-rank {
    font-size: 1.35rem;
  }
  .hero-quicklinks {
    gap: 6px;
  }
  .hero-quicklinks a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.66rem;
  }
  .catalog-card h2,
  .media-copy h3,
  .news-card h3,
  .video-card h3,
  .tool-card h3,
  .rule-panel h3 {
    font-size: 1.02rem;
    line-height: 1.06;
  }
  .card-meta {
    gap: 10px;
    flex-wrap: wrap;
  }
  .page-hero {
    min-height: 180px;
    padding: 18px;
    border-radius: 22px;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .detail-shell,
  .product-highlight,
  .media-card-wide,
  .books-pack-card,
  .bundle-grid,
  .book-ribbon,
  .atlas-layout,
  .newsletter-form-grid,
  .support-layout,
  .legal-layout {
    gap: 14px;
  }
  body[data-page="article"] .article-reading-shell {
    padding: 6px 0 18px;
  }
  body[data-page="article"] .article-hero-panel,
  body[data-page="article"] .article-body-card {
    border-radius: 22px;
  }
  body[data-page="article"] .article-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  body[data-page="product"] .detail-title {
    max-width: none;
    font-size: clamp(1.75rem, 7.4vw, 2.35rem);
    line-height: 1.04;
  }
  body[data-page="article"] .article-hero-visual,
  body[data-page="article"] .article-hero-image,
  body[data-page="article"] .article-hero-placeholder {
    min-height: 220px;
  }
  .share-band,
  .seo-brief,
  .faq-section,
  .community-cta {
    padding: 18px;
    border-radius: 22px;
  }
  .books-legacy-hero-panel {
    padding: 28px 18px 30px;
  }
  .books-legacy-hero-panel h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }
  .books-mini-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .books-mini-card {
    min-height: 142px;
  }
  .books-mini-frame {
    max-width: 74px;
  }
  .books-pack-media {
    min-height: 220px;
    padding: 24px 16px;
  }
  .books-pack-covers img {
    width: 23%;
    margin-left: -14px;
  }
}

@media (max-width: 520px) {
  .site-shell,
  .inner-shell {
    width: calc(100% - 10px);
    border-radius: 20px;
  }
  .site-header,
  .hero-left,
  .entry-grid,
  .showcase-block,
  .content-ribbon,
  .home-duo-band,
  .home-discovery-band,
  .home-paquita-band,
  .home-editorial,
  .home-columns,
  .software-bridge,
  .software-focus,
  .pricing-section,
  .trial-section,
  .software-split,
  .hub-grid,
  .manifesto-band,
  .page-main,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-wordmark {
    font-size: 1.72rem;
  }
  .brand-tag {
    letter-spacing: 0.16em;
  }
  .main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  .main-nav a {
    font-size: 0.68rem;
  }
  .results-marquee,
  .hero,
  .page-hero {
    margin-left: 10px;
    margin-right: 10px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
  .duo-card,
  .paquita-community-callout {
    padding: 16px;
  }
  .duo-book {
    width: 96px;
  }
  .duo-book-2 { left: 24px; }
  .duo-book-3 { left: 52px; }
  .hero-copy,
  .hero-note {
    font-size: 0.88rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-right,
  .hero-feature-card {
    min-height: 220px;
  }
  .hero-right {
    padding: 10px;
  }
  .hero-side-card {
    min-height: 104px;
    padding: 12px;
  }
  .hero-side-card strong {
    font-size: 0.9rem;
  }
  .hero-side-card small {
    font-size: 0.74rem;
  }
  .hero-facebook-stack-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-facebook-stack-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
  }
  .hero-facebook-card {
    min-height: 0;
    transform: none !important;
    margin: 0;
  }
  .hero-facebook-card-thumb {
    width: 100%;
    height: 142px;
  }
  .hero-facebook-card strong {
    font-size: 0.95rem;
  }
  .home-books-grid {
    grid-template-columns: 1fr;
  }
  .story-row {
    grid-template-columns: 28px 68px 1fr;
    gap: 8px;
  }
  .story-row img {
    width: 68px;
  }
  .story-copy strong {
    font-size: 0.92rem;
  }
  .community-social-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    min-height: 160px;
    padding: 16px;
  }
  .page-hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .books-mini-shelf,
  .books-pack-showcase,
  .books-legacy-section {
    padding: 16px 14px;
    border-radius: 20px;
  }
  .books-mini-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .books-mini-card:hover {
    transform: translateY(-4px);
  }
  .books-mini-card:hover .books-mini-frame {
    transform: scale(1.16);
  }
  .books-pack-copy {
    padding: 22px 18px 24px;
  }
  .books-pack-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }
  .footer-socials {
    gap: 8px;
  }
  .footer-stats {
    flex-direction: column;
  }
  .footer-socials a,
  .footer-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .back-to-top {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 980px) {
  .universe-quiz-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .universe-quiz-grid {
    grid-template-columns: 1fr;
  }

  .universe-quiz-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .universe-quiz-section {
    margin: 18px 0;
    padding: 18px;
    border-radius: 22px;
  }

  .universe-quiz-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .universe-quiz-card img {
    width: 82px;
    height: 118px;
    border-radius: 12px;
  }

  .universe-quiz-card h3 {
    font-size: 0.98rem;
  }
}

body[data-page="official-upcoming"] .official-page-main {
  gap: 26px;
}

.upcoming-hero,
.upcoming-featured,
.upcoming-agenda,
.upcoming-help {
  border: 1px solid rgba(102, 75, 38, 0.17);
  border-radius: 26px;
}

.upcoming-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding: 28px 34px;
  background:
    radial-gradient(circle at 94% 20%, rgba(232, 181, 43, 0.22), transparent 21%),
    linear-gradient(118deg, #fffdf9 0%, #fff8e8 62%, #f5dfaa 100%);
  box-shadow: 0 16px 34px rgba(65, 45, 24, 0.09);
}

.upcoming-hero h1,
.upcoming-section-title h2,
.upcoming-help h2 {
  margin: 4px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #2c201a;
  line-height: 0.96;
}

.upcoming-hero h1 { font-size: clamp(2.35rem, 4vw, 4.2rem); max-width: 820px; }
.upcoming-hero > div > p:not(.eyebrow) { max-width: 750px; margin: 0; color: #66584d; line-height: 1.55; }
.upcoming-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.upcoming-hero-aside { display: grid; gap: 8px; }
.upcoming-hero-aside a {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px;
  border-radius: 16px; background: rgba(255,255,255,0.72); color: #33271f;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid rgba(98,73,38,.12);
}
.upcoming-hero-aside a:hover { background: #fff; transform: translateX(3px); }
.upcoming-hero-aside span { color: #b17a11; font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; }

.upcoming-featured,
.upcoming-agenda { padding: 24px; background: rgba(255,253,249,0.76); }
.upcoming-section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.upcoming-section-title h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); }
.upcoming-section-title > a,
.upcoming-event-link { color: #9a6400; font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.upcoming-section-title > p { max-width: 380px; margin: 0 0 8px; color: #74665a; line-height: 1.45; }

.upcoming-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.upcoming-event-card { display: grid; grid-template-columns: 106px minmax(0, 1fr); overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid rgba(70,47,26,.12); box-shadow: 0 10px 22px rgba(65,45,24,.07); }
.upcoming-event-image { min-height: 100%; background: #e7dcc8; }
.upcoming-event-image img { width: 100%; height: 100%; min-height: 258px; display: block; object-fit: cover; }
.upcoming-event-copy { padding: 16px 14px; }
.upcoming-step { margin: 0 0 8px; color: #a16a09; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.upcoming-date { display: inline-flex; margin: 0 0 9px; color: #805b19; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.upcoming-event-card h3, .upcoming-agenda-card h3 { margin: 0 0 9px; color: #2d211a; font-family: "Bebas Neue", "Oswald", sans-serif; font-size: 1.42rem; line-height: .98; }
.upcoming-event-teaser, .upcoming-agenda-card p { margin: 0; color: #716257; font-size: .88rem; line-height: 1.48; }
.upcoming-event-link { display: inline-flex; gap: 6px; margin-top: 12px; }
.upcoming-event-link [aria-hidden="true"] {
  width: .9em;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.upcoming-event-link [aria-hidden="true"]::after {
  content: "\\2192";
  color: #9a6400;
  font-size: .95rem;
}

.upcoming-countdown { gap: 5px; margin: 12px 0; }
.upcoming-countdown span { min-height: 49px; border-radius: 12px; background: #fff8e9; border-color: rgba(177,122,17,.16); }
.upcoming-countdown strong { font-size: 1.35rem; color: #9a6400; }
.upcoming-countdown small { margin-top: 1px; color: #8c7c6a; font-size: .56rem; }
.upcoming-countdown.is-live strong { color: #bb4631; }

.upcoming-agenda-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.upcoming-agenda-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; min-height: 132px; padding: 12px; background: #fff; border: 1px solid rgba(70,47,26,.1); border-radius: 17px; }
.upcoming-agenda-image { overflow: hidden; border-radius: 12px; background: #e8decf; }
.upcoming-agenda-image img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; display: block; }
.upcoming-agenda-card h3 { font-size: 1.12rem; }
.upcoming-agenda-card .upcoming-event-link { margin-top: 8px; font-size: .68rem; }
.upcoming-agenda-past { background: linear-gradient(135deg, rgba(255,253,249,.84), rgba(244,239,229,.78)); }
.upcoming-status { display: inline-flex; align-items: center; min-height: 20px; margin-right: 5px; padding: 0 7px; border-radius: 999px; background: #6c5a4a; color: #fff; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.upcoming-agenda-card.is-past { border-color: rgba(108,90,74,.20); background: rgba(255,255,255,.7); }
.upcoming-agenda-card.is-past .upcoming-agenda-image { filter: saturate(.58); }
.upcoming-agenda-card.is-past .upcoming-event-link { color: #695242; }

.upcoming-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 26px; align-items: center; padding: 24px 30px; background: linear-gradient(100deg, #342219, #5d3825); color: #fff7ec; }
.upcoming-help h2 { font-size: clamp(2rem, 3vw, 3.1rem); color: #fff7ec; }
.upcoming-help p:not(.eyebrow) { margin: 0; color: rgba(255,247,236,.78); line-height: 1.55; }
.upcoming-help-links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.upcoming-help-links a { padding: 11px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff7ec; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.upcoming-help-links a:hover { background: #f0b818; color: #2c2119; border-color: #f0b818; }

@media (max-width: 1080px) {
  .upcoming-featured-grid, .upcoming-agenda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .upcoming-hero, .upcoming-help { grid-template-columns: 1fr; padding: 22px 18px; }
  .upcoming-featured, .upcoming-agenda { padding: 18px; }
  .upcoming-section-title { align-items: start; flex-direction: column; gap: 4px; }
  .upcoming-section-title > p { margin: 0; }
  .upcoming-help-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .upcoming-featured-grid, .upcoming-agenda-grid { grid-template-columns: 1fr; }
  .upcoming-event-image img { min-height: 210px; }
}

.official-hero,
.official-focus-card,
.official-agenda-card {
  position: relative;
  overflow: hidden;
}

.official-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at right 20%, rgba(231,177,31,0.16), transparent 22%),
    linear-gradient(135deg, #151313 0%, #221812 58%, #3b2419 100%);
  color: #f8f1e8;
  border: 1px solid rgba(255,255,255,0.07);
}

.official-hero::before,
.official-focus-card::before,
.official-agenda-card::before {
  content: "";
  position: absolute;
  inset: auto -32px -32px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.16;
  background:
    radial-gradient(circle at 34% 34%, rgba(255,255,255,0.94), rgba(255,255,255,0.1) 24%, transparent 26%),
    radial-gradient(circle at 38% 38%, rgba(228,224,218,0.98) 0%, rgba(169,161,152,0.78) 36%, rgba(93,85,78,0.68) 62%, rgba(26,23,21,0.76) 100%);
  box-shadow: inset -10px -12px 18px rgba(0,0,0,0.22), inset 8px 8px 12px rgba(255,255,255,0.14);
  pointer-events: none;
}

.official-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #f2bd2b;
}

.official-hero h1 {
  margin: 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.official-hero-copy > p:last-of-type {
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(248,241,232,0.86);
}

.official-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.official-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.official-hero-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button-dark,
.button-light,
.official-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-dark {
  background: #f2bd2b;
  color: #171411;
}

.button-light {
  background: rgba(255,255,255,0.08);
  color: #f8f1e8;
  border: 1px solid rgba(255,255,255,0.12);
}

.official-focus,
.official-agenda {
  display: grid;
  gap: 18px;
}

.official-seo-intro,
.news-seo-intro {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(244,234,220,0.86));
  border: 1px solid rgba(23,20,17,0.08);
}

.official-seo-intro p,
.news-seo-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.official-seo-links,
.news-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.official-seo-links a,
.news-seo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(23,20,17,0.1);
  color: #201b17;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.official-seo-links a:hover,
.news-seo-links a:hover {
  background: rgba(231,177,31,0.14);
  border-color: rgba(231,177,31,0.34);
}

.official-heading h2 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.02em;
}

.official-focus-grid,
.official-agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.official-focus-card,
.official-agenda-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #191512 0%, #261a13 100%);
  color: #f8f1e8;
  border: 1px solid rgba(242,189,43,0.18);
}

.official-step {
  margin: 0 0 10px;
  color: #ff6c59;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.official-focus-card h3,
.official-agenda-card h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 2rem;
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.official-date,
.official-agenda-date {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242,189,43,0.14);
  color: #f2bd2b;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.official-focus-card p:not(.official-step):not(.official-date),
.official-agenda-card p {
  color: rgba(248,241,232,0.8);
  line-height: 1.65;
}

.official-agenda-top {
  margin-bottom: 14px;
}

.official-cta {
  margin-top: 8px;
  justify-content: flex-start;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  color: #f2bd2b;
}

@media (max-width: 980px) {
  .official-hero {
    grid-template-columns: 1fr;
  }

  .official-hero-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .official-focus-grid,
  .official-agenda-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .official-hero,
  .official-focus-card,
  .official-agenda-card {
    border-radius: 22px;
  }

  .official-hero {
    padding: 20px 18px;
  }

  .official-focus-card,
  .official-agenda-card {
    padding: 18px 16px;
  }

  .official-focus-card h3,
  .official-agenda-card h3 {
    font-size: 1.55rem;
  }
}

.official-countdown {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  min-width: 196px;
  margin: 12px 0 10px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(52, 33, 22, .24);
  border-radius: 14px;
  background: #2c201a;
  box-shadow: 0 9px 18px rgba(71, 44, 22, .16);
}

.official-countdown span {
  display: grid;
  place-items: center;
  min-width: 43px;
  min-height: 49px;
  padding: 5px 4px 4px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(145deg, #4a3428, #271a15);
}

.official-countdown strong {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.8rem;
  line-height: .86;
  letter-spacing: 0.04em;
  color: #ffc72c;
  text-shadow: 0 1px 0 #160d09, 0 0 10px rgba(255, 199, 44, .24);
}

.official-countdown small {
  margin-top: 3px;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 245, 229, .76);
}

.official-daily,
.home-official-radar,
.home-faq-legacy,
.home-mini-guide {
  display: grid;
  gap: 18px;
}

.official-daily-grid,
.official-radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.official-daily-card,
.official-radar-countdowns,
.official-radar-card,
.official-media-card,
.home-faq-legacy,
.mini-guide-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.official-radar-countdowns,
.official-media-card {
  align-self: start;
}

.official-daily-card,
.official-radar-countdowns,
.official-media-card {
  padding: 24px 22px;
  background: linear-gradient(180deg, #191512 0%, #261a13 100%);
  color: #f8f1e8;
  border: 1px solid rgba(242,189,43,0.18);
}

.official-radar-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.official-radar-title strong {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.official-radar-title span {
  max-width: 320px;
  color: rgba(248,241,232,0.74);
  line-height: 1.55;
}

.official-radar-cards,
.official-daily-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.official-radar-card {
  padding: 20px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f8f1e8;
}

.official-radar-card h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.68rem;
  line-height: 0.95;
}

.official-radar-side {
  display: grid;
  gap: 18px;
}

.official-media-cover {
  display: block;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
}

.official-media-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.official-media-card h3,
.official-daily-card h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.8rem;
  line-height: 0.96;
}

.official-media-card p:not(.entry-kicker),
.official-daily-card p:not(.entry-kicker) {
  color: rgba(248,241,232,0.8);
  line-height: 1.65;
}

.home-faq-legacy {
  padding: 22px 24px 24px;
  background: #161515;
  color: #f5f0e8;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-faq-legacy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.home-faq-legacy-head h2 {
  margin: 2px 0 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 0.96;
  color: #fff6ea;
}

.faq-badge,
.guide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(242,189,43,0.45);
  color: #f6c534;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-faq-legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-faq-legacy-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  min-height: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff6ea;
}

.home-faq-legacy-number {
  color: #f6c534;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1;
  padding-top: 2px;
}

.home-faq-legacy-copy {
  min-width: 0;
}

.home-faq-legacy-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.34;
  margin-bottom: 6px;
}

.home-faq-legacy-item p {
  margin: 0;
  color: rgba(248,241,232,0.76);
  font-size: 0.84rem;
  line-height: 1.55;
}

.home-faq-foldout {
  margin-top: 14px;
}

.home-faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}

.home-faq-summary::-webkit-details-marker {
  display: none;
}

.home-faq-summary-copy {
  display: grid;
  gap: 4px;
}

.home-faq-summary-copy strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.home-faq-summary-copy small {
  color: rgba(248,241,232,0.72);
  font-size: 0.8rem;
  line-height: 1.4;
}

.home-faq-summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(242,189,43,0.35);
  color: #f6c534;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}

.home-faq-open-label {
  display: none;
}

.home-faq-foldout[open] .home-faq-closed-label {
  display: none;
}

.home-faq-foldout[open] .home-faq-open-label {
  display: inline;
}

.home-faq-foldout .home-faq-legacy-grid {
  padding-top: 12px;
}

.home-mini-guide .section-heading h2 {
  max-width: 780px;
}

.home-guide-foldout {
  display: grid;
  gap: 0;
}

.home-guide-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}
body[data-page="home"] .home-guide-summary {
  justify-content: flex-end;
}

.home-guide-summary::-webkit-details-marker {
  display: none;
}

.home-guide-summary-copy {
  color: var(--muted);
  line-height: 1.6;
}

.home-guide-summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(23,20,17,0.12);
  background: rgba(255,255,255,0.54);
  color: #8c6710;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-guide-open-label {
  display: none;
}

.home-guide-foldout[open] .home-guide-closed-label {
  display: none;
}

.home-guide-foldout[open] .home-guide-open-label {
  display: inline;
}

.home-guide-foldout .mini-guide-grid {
  padding-top: 12px;
}

.mini-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-guide-card {
  padding: 16px 16px 15px;
  background: linear-gradient(180deg, #1e1b19 0%, #2c1d14 100%);
  color: #f8f1e8;
  border: 1px solid rgba(242,189,43,0.16);
  min-height: 100%;
}

.mini-guide-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.18rem;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.mini-guide-card p {
  margin: 0;
  color: rgba(248,241,232,0.78);
  line-height: 1.52;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .official-daily-grid,
  .official-radar-grid {
    grid-template-columns: 1fr;
  }

  .official-radar-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-faq-legacy {
    padding: 22px 18px 24px;
  }

  .home-faq-legacy-head,
  .official-radar-title {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .home-faq-legacy-grid {
    grid-template-columns: 1fr;
  }

  .home-faq-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-guide-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-guide-grid {
    grid-template-columns: 1fr;
  }

  .official-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="home"] .hero-feature-copy {
  background: rgba(251, 247, 241, 0.92);
  border-color: rgba(189, 136, 18, 0.22);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(19, 15, 12, 0.12);
  backdrop-filter: blur(8px);
}

body[data-page="home"] .hero-feature-kicker {
  color: #8c6710;
}

body[data-page="home"] .hero-feature-copy small {
  color: #5f564f;
}

body[data-page="home"] .hero-facebook-card {
  color: var(--ink);
  border-color: rgba(189, 136, 18, 0.16);
  box-shadow: 0 16px 30px rgba(19, 15, 12, 0.12);
}

body[data-page="home"] .hero-facebook-card::before {
  opacity: 0.1;
}

body[data-page="home"] .hero-facebook-card-1 {
  background: linear-gradient(135deg, #fff9f0 0%, #f7ead6 100%);
}

body[data-page="home"] .hero-facebook-card-2 {
  background: linear-gradient(135deg, #fbf6ef 0%, #efe1cf 100%);
}

body[data-page="home"] .hero-facebook-card-3 {
  background: linear-gradient(135deg, #f9f0de 0%, #f2e2c5 100%);
}

body[data-page="home"] .hero-facebook-card-badge,
body[data-page="home"] .hero-facebook-card-kicker {
  color: #8c6710;
}

body[data-page="home"] .hero-facebook-card strong {
  color: #1f1a17;
}

body[data-page="home"] .hero-facebook-card small {
  color: #5f564f;
}

body[data-page="home"] .hero-feature-card-paquita .hero-feature-copy {
  background: rgba(255, 248, 239, 0.92);
  border-color: rgba(189, 136, 18, 0.18);
  color: #1f1a17;
}

body[data-page="home"] .hero-feature-card-paquita .hero-feature-kicker {
  color: #9b7310;
}

body[data-page="home"] .results-marquee,
body[data-page="home"] .official-radar-countdowns,
body[data-page="home"] .official-media-card,
body[data-page="home"] .home-faq-legacy,
body[data-page="home"] .mini-guide-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(246,237,224,0.94) 100%);
  color: var(--ink);
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 18px 36px rgba(19, 15, 12, 0.08);
}

body[data-page="home"] .home-mini-guide {
  padding: 18px 20px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,240,229,0.96) 100%);
  border: 1px solid rgba(23,20,17,0.08);
  box-shadow: 0 14px 28px rgba(19, 15, 12, 0.08);
}

body[data-page="home"] .home-faq-legacy-head,
body[data-page="home"] .home-mini-guide .section-heading {
  align-items: start;
  gap: 14px;
  margin-bottom: 10px;
}

body[data-page="home"] .home-faq-legacy-head h2,
body[data-page="home"] .home-mini-guide .section-heading h2 {
  margin: 2px 0 0;
  max-width: 840px;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

body[data-page="home"] .home-faq-foldout,
body[data-page="home"] .home-guide-foldout {
  margin-top: 2px;
}

body[data-page="home"] .home-faq-summary,
body[data-page="home"] .home-guide-summary {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(191, 152, 48, 0.18);
  box-shadow: 0 10px 22px rgba(19, 15, 12, 0.05);
}

body[data-page="home"] .home-faq-summary-copy,
body[data-page="home"] .home-guide-summary-copy {
  display: grid;
  gap: 3px;
  max-width: 720px;
}

body[data-page="home"] .home-faq-summary-copy strong {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
}

body[data-page="home"] .home-faq-summary-copy small,
body[data-page="home"] .home-guide-summary-copy {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

body[data-page="home"] .results-marquee .eyebrow,
body[data-page="home"] .results-marquee .inline-link,
body[data-page="home"] .results-pill span,
body[data-page="home"] .official-radar-title span,
body[data-page="home"] .official-media-card p:not(.entry-kicker),
body[data-page="home"] .home-faq-legacy .eyebrow,
body[data-page="home"] .mini-guide-card p {
  color: var(--muted);
}

body[data-page="home"] .results-pill,
body[data-page="home"] .official-radar-card,
body[data-page="home"] .home-faq-legacy-item,
body[data-page="home"] .home-faq-summary,
body[data-page="home"] .home-guide-summary {
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  border: 1px solid rgba(23,20,17,0.08);
}

body[data-page="home"] .official-radar-title strong,
body[data-page="home"] .official-radar-card h3,
body[data-page="home"] .official-media-card h3,
body[data-page="home"] .home-faq-legacy-head h2,
body[data-page="home"] .mini-guide-card strong,
body[data-page="home"] .home-mini-guide .section-heading h2 {
  color: #1f1a17;
}

/* The FAQ cards now use the light homepage surface: keep every answer readable. */
body[data-page="home"] .home-faq-legacy-item strong {
  color: #211c18;
}

body[data-page="home"] .home-faq-legacy-item p {
  color: #625950;
  opacity: 1;
  font-size: 0.9rem;
  line-height: 1.55;
}

body[data-page="home"] .official-step,
body[data-page="home"] .official-date,
body[data-page="home"] .faq-badge,
body[data-page="home"] .guide-badge,
body[data-page="home"] .home-faq-legacy-number,
body[data-page="home"] .home-faq-summary-action,
body[data-page="home"] .home-guide-summary-action {
  color: #8c6710;
}

body[data-page="home"] .faq-badge,
body[data-page="home"] .guide-badge,
body[data-page="home"] .home-faq-summary-action,
body[data-page="home"] .home-guide-summary-action {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.76rem;
  border-color: rgba(189, 136, 18, 0.28);
  background: rgba(231, 177, 31, 0.12);
}

body[data-page="home"] .official-countdown span {
  background: linear-gradient(145deg, #4a3428, #271a15);
  border: 0;
}

body[data-page="home"] .home-faq-foldout .home-faq-legacy-grid,
body[data-page="home"] .home-guide-foldout .mini-guide-grid {
  padding-top: 10px;
}

@media (max-width: 720px) {
  body[data-page="home"] .home-mini-guide {
    padding: 16px 14px 18px;
  }

  body[data-page="home"] .home-faq-legacy-head h2,
  body[data-page="home"] .home-mini-guide .section-heading h2 {
    font-size: clamp(1.8rem, 11vw, 2.6rem);
  }

  body[data-page="home"] .home-faq-summary,
  body[data-page="home"] .home-guide-summary {
    padding: 12px 14px;
  }
}

body[data-page="home"] .official-countdown.is-live {
  grid-template-columns: 1fr;
}

body[data-page="home"] .official-countdown-live {
  display: grid;
  place-items: center;
  min-height: 78px;
  border-radius: 18px;
  background: rgba(231, 177, 31, 0.14);
  border: 1px solid rgba(189, 136, 18, 0.26);
}

body[data-page="home"] .official-countdown-live strong {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #8c6710;
}

body[data-page="home"] .official-countdown-live small {
  margin-top: 4px;
  color: #6e645d;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="home"] .official-countdown strong {
  color: #ffc72c;
}

body[data-page="home"] .official-countdown small {
  color: rgba(255, 245, 229, .76);
}

body[data-page="home"] .official-radar-countdowns {
  padding: 18px;
}

body[data-page="home"] .official-radar-title {
  margin-bottom: 12px;
}

body[data-page="home"] .official-radar-card {
  padding: 16px;
}

/* Compact FAQ and beginner-guide accordions: no empty presentation panels. */
body[data-page="home"] .home-faq-legacy,
body[data-page="home"] .home-mini-guide {
  gap: 10px;
  padding: 16px 20px 18px;
  border-radius: 22px;
}

body[data-page="home"] .home-faq-legacy-head,
body[data-page="home"] .home-mini-guide .section-heading {
  margin-bottom: 2px;
}

body[data-page="home"] .home-faq-legacy-head h2,
body[data-page="home"] .home-mini-guide .section-heading h2 {
  font-size: clamp(1.7rem, 2.55vw, 2.3rem);
  line-height: 0.95;
}

body[data-page="home"] .home-faq-summary {
  min-height: 52px;
  padding: 9px 14px;
  box-shadow: none;
}

body[data-page="home"] .home-guide-summary {
  display: inline-flex;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-guide-summary-action {
  min-height: 40px;
  padding: 0 16px;
}

/* Make the two practical modules feel like deliberate homepage highlights. */
body[data-page="home"] .home-faq-legacy,
body[data-page="home"] .home-mini-guide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-width: 1px;
}

body[data-page="home"] .home-faq-legacy {
  border-color: rgba(189,136,18,0.28);
  background:
    radial-gradient(circle at 94% 50%, rgba(231,177,31,0.2), transparent 18%),
    linear-gradient(135deg, #fffdf9 0%, #f8efdf 100%);
}

body[data-page="home"] .home-mini-guide {
  border-color: rgba(127,83,25,0.22);
  background:
    radial-gradient(circle at 94% 50%, rgba(117,75,30,0.13), transparent 19%),
    linear-gradient(135deg, #fffaf2 0%, #f4e7cf 100%);
}

body[data-page="home"] .home-faq-legacy::before,
body[data-page="home"] .home-mini-guide::before {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: -1;
  color: rgba(143,101,16,0.1);
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 8rem;
  line-height: 0.7;
  transform: translateY(-50%);
}

body[data-page="home"] .home-faq-legacy::before { content: "?"; }
body[data-page="home"] .home-mini-guide::before { content: "20"; }

body[data-page="home"] .home-faq-legacy-head h2,
body[data-page="home"] .home-mini-guide .section-heading h2 {
  color: #211c18;
}

body[data-page="home"] .home-faq-summary {
  border-color: rgba(189,136,18,0.22);
  background: rgba(255,255,255,0.82);
}

body[data-page="home"] .home-faq-summary-action,
body[data-page="home"] .home-guide-summary-action {
  background: #211c18;
  border-color: #211c18;
  color: #fff8ec;
}

body[data-page="home"] .home-faq-summary-action:hover,
body[data-page="home"] .home-guide-summary-action:hover {
  background: #9b7010;
  border-color: #9b7010;
}

body[data-page="home"] .community-cta + .home-official-radar {
  margin-top: 22px;
}

/* Global search */
.global-search { position: relative; z-index: 40; }
.header-center .global-search { justify-self: center; }
.header-center .global-search form { left: 50%; right: auto; transform: translateX(-50%); }
.global-search summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 11px;
  border: 1px solid rgba(23, 20, 17, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.62);
  color: #3d3530; cursor: pointer; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; list-style: none;
}
.global-search summary::-webkit-details-marker { display: none; }
.global-search summary > span:first-child { font-size: 1.3rem; line-height: 1; transform: rotate(-18deg); }
.global-search[open] summary { border-color: rgba(189, 136, 18, 0.42); background: #fff9ea; }
.global-search form {
  position: absolute; top: calc(100% + 10px); right: 0; display: grid;
  grid-template-columns: minmax(210px, 1fr) auto; gap: 7px; width: min(360px, calc(100vw - 40px));
  padding: 9px; border: 1px solid rgba(23, 20, 17, 0.12); border-radius: 16px; background: #fffdf9;
  box-shadow: 0 16px 32px rgba(31, 24, 18, 0.18);
}
.global-search input, .search-page-form input {
  min-width: 0; border: 1px solid rgba(23, 20, 17, 0.14); border-radius: 11px; background: #fff; color: var(--ink); font: inherit;
}
.global-search input { min-height: 40px; padding: 0 11px; font-size: 0.86rem; }
.global-search button, .search-page-form button {
  border: 0; border-radius: 11px; background: var(--gold); color: #211c18; font: inherit;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.global-search button { min-width: 44px; }

.search-page { padding-top: 6px; }
.search-hero {
  padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(23, 20, 17, 0.08); border-radius: 24px;
  background: radial-gradient(circle at right 20%, rgba(231, 177, 31, 0.2), transparent 26%), linear-gradient(135deg, #fffdf9, #f6ecdc);
}
.search-hero h1 {
  margin: 6px 0 20px; color: #211c18; font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.96;
}
.search-page-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 760px; }
.search-page-form input { min-height: 52px; padding: 0 16px; font-size: 1rem; }
.search-page-form button { min-width: 138px; padding: 0 18px; }
.search-results { margin-top: 24px; }
.search-type-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.search-type-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 9px 11px;
  border: 1px solid rgba(23,20,17,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.76);
  color: #544a42;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.search-type-tab strong {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(189,136,18,0.12);
  color: #8c6710;
  font-size: 0.78rem;
}
.search-type-tab:hover { transform: translateY(-2px); border-color: rgba(189,136,18,0.38); }
.search-type-tab.active { background: #211c18; border-color: #211c18; color: #fff8ec; }
.search-type-tab.active strong { background: var(--gold); color: #211c18; }
.search-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 4px 14px; color: #5f564f; }
.search-results-head p { margin: 0; }
.search-results-head strong { color: #211c18; }
.search-results-head span { font-size: 0.86rem; }
.search-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.search-result-card {
  display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 13px; min-height: 142px; padding: 12px;
  border: 1px solid rgba(23, 20, 17, 0.1); border-radius: 18px; background: rgba(255, 255, 255, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.search-result-card:hover { transform: translateY(-3px); border-color: rgba(189, 136, 18, 0.35); box-shadow: 0 12px 22px rgba(31, 24, 18, 0.1); }
.search-result-card img, .search-result-fallback { width: 86px; height: 116px; border-radius: 12px; object-fit: cover; background: linear-gradient(145deg, #f5dfad, #e3b940); }
.search-result-fallback { display: grid; place-items: center; color: #5d4611; font-size: 2.4rem; transform: rotate(-18deg); }
.search-result-type { display: block; margin-bottom: 5px; color: #9b7010; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.search-result-card h2 { margin: 0; color: #211c18; font-size: 1rem; line-height: 1.15; }
.search-result-card p { margin: 7px 0; color: #675e56; font-size: 0.83rem; line-height: 1.38; }
.search-result-link { color: #8c6710; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.search-empty { margin-top: 24px; padding: 24px; border: 1px solid rgba(23, 20, 17, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.76); }
.search-empty strong { color: #211c18; font-size: 1.12rem; }
.search-empty p { margin: 6px 0 0; color: #625950; }

@media (max-width: 900px) { .search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .search-type-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .global-search summary > span:last-child { display: none; }
  .global-search summary { width: 38px; padding: 0; justify-content: center; }
  .search-page-form { grid-template-columns: 1fr; }
  .search-page-form button { min-height: 48px; }
  .search-results-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .search-results-grid { grid-template-columns: 1fr; }
  .search-type-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Always-visible search field below the language chooser. */
.header-center .global-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(560px, 100%);
  min-height: 44px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(23, 20, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 7px 16px rgba(31,24,18,0.07);
}

.header-center .global-search-icon {
  display: grid;
  place-items: center;
  margin-right: 8px;
  color: #8c6710;
}

.header-center .global-search-icon svg,
.header-center .global-search button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2px;
}

.header-center .global-search input {
  width: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.88rem;
  color: #302924;
}

.header-center .global-search input::placeholder { color: #81766d; opacity: 1; }

.header-center .global-search button {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .header-center .global-search { width: min(100%, 390px); }
  .header-center .global-search button { min-width: auto; font-size: 0.68rem; }
}

@media (max-width: 760px) {
  body[data-page="logiciels"] .software-landing-hero {
    margin: 6px 14px 12px;
    padding: 24px 18px 22px;
  }

  body[data-page="logiciels"] .software-landing-copy {
    text-align: left;
  }

  body[data-page="logiciels"] .software-landing-ribbon {
    margin-left: 0;
  }

  body[data-page="logiciels"] .software-landing-points,
  body[data-page="logiciels"] .software-landing-actions {
    justify-content: flex-start;
  }

  body[data-page="logiciels"] .software-journey {
    width: calc(100% - 28px);
    margin-bottom: 4px;
  }

  body[data-page="logiciels"] .software-journey a {
    flex: 0 0 auto;
  }

  body[data-page="logiciels"] .software-landing-actions .btn {
    width: 100%;
  }

  body[data-page="logiciels"] .software-download-tab {
    top: auto;
    right: 14px;
    bottom: 14px;
    width: auto;
    min-height: 0;
    padding: 11px 14px;
    border-radius: 999px;
    transform: none;
    font-family: inherit;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.07em;
  }

  body[data-page="logiciels"] .software-download-tab span {
    display: inline;
    margin-right: 5px;
    font-size: 1rem;
  }

  body[data-page="logiciels"] .software-benefits {
    grid-template-columns: 1fr;
  }

  body[data-page="logiciels"] .software-update-grid,
  body[data-page="logiciels"] .software-feature-grid,
  body[data-page="logiciels"] .software-language-grid,
  body[data-page="logiciels"] .software-step-grid {
    grid-template-columns: 1fr;
  }
}
