/* ════════════════════════════════════════════════════════════════════
   Toutelafrance.ru — style.css
   French feminine design: navy header, bordeaux accents, Playfair Display
   ════════════════════════════════════════════════════════════════════ */

/* ── Utilities ──────────────────────────────────────────────────── */
.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; }

/* ── Breaking news ticker ───────────────────────────────────────── */
.ticker-bar {
  background: var(--accent); color: #fff;
  padding: .3rem 0; font-size: .82rem; overflow: hidden; white-space: nowrap;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-label {
  flex-shrink: 0; background: rgba(0,0,0,.25); font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; font-size: .72rem;
  padding: .1rem .7rem; margin-right: .75rem; border-radius: 2px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-text { display: inline-block; animation: tickerScroll 30s linear infinite; padding-right: 3rem; }
@keyframes tickerScroll { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ── Mobile nav overlay ─────────────────────────────────────────── */
.mobile-nav { display: none !important; }
@media (max-width: 1024px) {
  .mobile-nav {
    display: none !important;
    flex-direction: column;
    position: fixed; top: 57px; left: 0; right: 0;
    z-index: 999; background: #0f1e38;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: .5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    max-height: calc(100vh - 57px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .mobile-nav.open { display: flex !important; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-nav a {
    padding: .75rem 1.25rem; font-size: .95rem; font-weight: 600;
    color: rgba(255,255,255,.75); text-decoration: none;
    border-left: 3px solid transparent;
    transition: color .12s, border-color .12s, background .12s;
  }
  .mobile-nav a:hover, .mobile-nav a.active {
    color: #fff; border-left-color: var(--accent);
    background: rgba(255,255,255,.05); text-decoration: none;
  }
  body.nav-open { overflow: hidden; }
}

/* ── Category nav bar ───────────────────────────────────────────── */
.header-cats {
  background: #0f1e38;
  border-top: 1px solid rgba(255,255,255,.07);
}
.header-cats .wrap {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.header-cats .wrap::-webkit-scrollbar { display: none; }
.header-cats .wrap::after { content: ''; flex-shrink: 0; width: 1.25rem; }
.header-cats a {
  display: inline-block; padding: .5rem .9rem;
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.55);
  text-decoration: none; white-space: nowrap;
  letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  font-family: var(--font);
  transition: color .15s, border-color .15s;
}
.header-cats a:hover { color: rgba(255,255,255,.9); border-bottom-color: var(--accent); text-decoration: none; }
.header-cats a.active { color: #fff; border-bottom-color: var(--accent); }
@media (max-width: 1024px) { .header-cats { display: none !important; } }

/* ── Top banner ad ──────────────────────────────────────────────── */
.ad-banner-top {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  text-align: center; padding: .5rem 0;
}

/* ── Site body (main + sidebar grid) ───────────────────────────── */
.site-body {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 960px) {
  .site-body { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.sidebar { position: sticky; top: 5.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.widget-header {
  background: transparent; color: var(--text);
  font-size: .73rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .6rem .85rem .5rem;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font);
}
.widget-body { padding: .85rem; }

/* Trending */
.trending-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.trending-item { display: flex; gap: .6rem; align-items: flex-start; }
.trending-num {
  font-size: 1.2rem; font-weight: 400;
  color: var(--accent); line-height: 1.1;
  flex-shrink: 0; width: 1.6rem; text-align: right;
  font-family: var(--font-heading);
}
.trending-link {
  font-size: .855rem; font-weight: 600; line-height: 1.38;
  color: var(--text); text-decoration: none;
}
.trending-link:hover { color: var(--accent); text-decoration: none; }
.trending-meta { font-size: .73rem; color: var(--muted); margin-top: .1rem; }

/* Category widget */
.cat-widget-list { list-style: none; }
.cat-widget-item a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; border-bottom: 1px solid var(--border);
  font-size: .875rem; color: var(--text); text-decoration: none;
  transition: color .15s;
}
.cat-widget-item:last-child a { border-bottom: none; }
.cat-widget-item a:hover { color: var(--accent); text-decoration: none; }
.cat-count {
  font-size: .72rem; color: #888;
  background: var(--surface-2); padding: 2px 8px;
  border-radius: 10px; line-height: 1.4;
}

/* Ad widget */
.ad-slot { text-align: center; }
.ad-slot-label {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin-bottom: .3rem; display: block;
}

/* Subscribe widget */
.tg-widget .widget-body { padding: 1rem .85rem; }
.tg-subscribe-btn {
  display: block; padding: .55rem .85rem;
  background: var(--accent); color: #fff;
  border-radius: 6px; font-size: .85rem; font-weight: 600;
  text-decoration: none; text-align: center;
  transition: opacity .15s;
}
.tg-subscribe-btn:hover { opacity: .85; text-decoration: none; }
.vk-subscribe-btn { background: #0077ff; }

/* ── Partner widget ─────────────────────────────────────────────── */
.partner-card {
  display: block; padding: .75rem; margin-bottom: .6rem;
  border: 1px solid var(--border); border-radius: 7px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.partner-card:last-child { margin-bottom: 0; }
.partner-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(181,41,78,.1); text-decoration: none; }
.partner-badge {
  display: inline-block; font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: #fff; background: #64748b; border-radius: 2px;
  padding: .05rem .4rem; margin-bottom: .3rem;
}
.partner-badge--sponsor { background: var(--gold); }
.partner-name { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.partner-desc { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.partner-cta {
  display: inline-block; margin-top: .45rem;
  font-size: .78rem; font-weight: 600; color: var(--accent);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: .5rem 1.3rem;
  background: var(--accent); color: #fff;
  border-radius: 5px; font-size: .9rem; font-weight: 600;
  text-decoration: none; transition: opacity .15s, transform .1s;
  border: none; cursor: pointer;
}
.btn:hover { opacity: .88; text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── Tags ───────────────────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 2px 8px;
  background: rgba(168,29,75,.12); color: #a81d4b;
  border: none; border-radius: 10px; font-size: 10.5px;
  text-decoration: none; transition: background .15s, color .15s;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.tag:hover { background: transparent; color: #a81d4b; text-decoration: none; }
.tag--active { background: var(--accent); color: #fff !important; }

/* ── HERO SECTION ───────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-bottom: 2rem;
}
@media (max-width: 840px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-secondary { display: none; }
}

.hero-main {
  grid-row: 1 / 3;
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--header-bg); cursor: pointer;
  min-height: 380px;
}
.hero-main a.hero-link { display: block; height: 100%; text-decoration: none; }
.hero-main img {
  width: 100%; height: 100%; min-height: 380px;
  object-fit: cover; display: block; opacity: .75;
  transition: opacity .35s, transform .4s;
}
.hero-main:hover img { opacity: .88; transform: scale(1.03); }
.hero-main-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,30,56,.95) 0%, rgba(15,30,56,.5) 55%, transparent 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  pointer-events: none;
}
.hero-main-overlay a { pointer-events: all; }
.hero-cat {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: .18rem .55rem; border-radius: 3px;
  text-decoration: none; margin-bottom: .6rem;
}
.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700; line-height: 1.22; color: #fff; margin-bottom: .6rem;
}
.hero-main-title a { color: inherit; text-decoration: none; }
.hero-main-title a:hover { text-decoration: underline; }
.hero-main-meta { font-size: .8rem; color: rgba(255,255,255,.6); }

.hero-main--text {
  background: linear-gradient(145deg, #0f1e38 0%, #1e3a6e 100%);
  display: flex; align-items: flex-end;
}
.hero-main--text .hero-main-overlay { position: static; background: none; pointer-events: all; }

.hero-secondary {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; flex-direction: column;
  height: 100%;
  transition: box-shadow .2s, transform .15s;
}
.hero-secondary:hover { box-shadow: 0 4px 20px rgba(0,0,0,.09); transform: translateY(-2px); }
.hero-secondary-img {
  display: block; height: 130px; overflow: hidden; position: relative;
}
.hero-secondary-img img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s; display: block;
}
.hero-secondary:hover .hero-secondary-img img { transform: scale(1.04); }
.hero-secondary-img-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--header-bg) 0%, #1e3a6e 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-secondary-img-placeholder .placeholder-label {
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .08em;
}
.hero-secondary-body { padding: .75rem; flex: 1; display: flex; flex-direction: column; }
.hero-secondary-cat {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--accent); text-decoration: none;
  margin-bottom: .25rem;
}
.hero-secondary-title {
  font-size: .875rem; font-weight: 600; line-height: 1.38;
  color: var(--text); text-decoration: none; flex: 1;
}
.hero-secondary-title:hover { color: var(--accent); text-decoration: none; }
.hero-secondary-meta { font-size: .72rem; color: var(--muted); margin-top: .4rem; }

/* ── Section header ─────────────────────────────────────────────── */
.section-head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
}
.section-head-title {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); letter-spacing: .01em;
}
.section-head-title::before {
  content: '';
  display: inline-block; width: 4px; height: 1.1em;
  background: var(--accent); border-radius: 2px;
  vertical-align: text-bottom; margin-right: .5rem;
}
.section-head-more {
  font-size: .85rem; color: var(--accent); white-space: nowrap;
}
.section-head-more:hover { text-decoration: underline; }

.french-arrow {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; width: 28px; height: 28px;
  font-size: 1.1rem; line-height: 1; cursor: pointer;
  color: var(--text); display: flex; align-items: center; justify-content: center;
  padding: 0; transition: background .15s;
}
.french-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.french-slider-wrap { overflow: hidden; margin-bottom: 2rem; }
.french-slider {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.french-slider::-webkit-scrollbar { display: none; }
.french-slider .post-card {
  flex: 0 0 260px; scroll-snap-align: start;
}

/* ── French list block ──────────────────────────────────────────── */
.french-list {
  display: flex; flex-direction: column; gap: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 2rem;
}
.french-item {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  transition: background .15s;
}
.french-item:last-child { border-bottom: none; }
.french-item:hover { background: var(--bg); text-decoration: none; }
.french-item-title { font-size: .95rem; font-weight: 500; line-height: 1.4; }
.french-item:hover .french-item-title { color: var(--accent); }
.french-item-date { font-size: .8rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* ── Post grid ──────────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 560px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: var(--surface);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover {
  box-shadow: 0 6px 24px rgba(27,42,74,.1);
  transform: translateY(-3px);
}
.card-img-link {
  display: block; overflow: hidden;
  aspect-ratio: 16/9; position: relative;
}
.card-img-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--header-bg) 0%, #1e3a6e 100%);
  display: flex; align-items: center; justify-content: center;
}
.card-img-placeholder .placeholder-label {
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: .08em;
}
.card-img-link img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.post-card:hover .card-img-link img { transform: scale(1.05); }

.card-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.card-category {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--accent); margin-bottom: .3rem;
  text-decoration: none;
}
.card-category:hover { text-decoration: underline; }
.card-title {
  font-family: var(--font-heading);
  font-size: .98rem; font-weight: 600; line-height: 1.4;
  margin-bottom: .5rem;
}
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
  font-size: .875rem; color: var(--muted); line-height: 1.55;
  flex: 1; margin-bottom: .75rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .78rem; color: var(--muted); margin-top: auto;
}
.card-date { font-size: .75rem; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: .3rem; }

/* In-feed ad */
.infeed-ad {
  border: 1px dashed var(--border); border-radius: 12px;
  background: var(--surface-2); text-align: center;
  padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 120px;
}

/* ── Post list (search results) ─────────────────────────────────── */
.post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.post-row { padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.post-row:last-child { border-bottom: none; }

/* ── Article page ───────────────────────────────────────────────── */
.article-header { margin-bottom: 1.5rem; }
.article-category {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--accent); text-decoration: none;
}
.article-category:hover { text-decoration: underline; }

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.2;
  margin: .5rem 0 1rem;
  color: var(--text);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  font-size: .875rem; color: var(--muted);
  margin-bottom: .75rem;
}
.article-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.article-cover { margin: 1.5rem 0; border-radius: 12px; overflow: hidden; }
.article-cover img { width: 100%; border-radius: 12px; }

/* Gallery */
.article-gallery { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-track { display: flex; transition: transform .35s ease; }
.gallery-slide { min-width: 100%; flex-shrink: 0; }
.gallery-slide img { width: 100%; display: block; border-radius: 0; max-height: 500px; object-fit: cover; }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4); color: #fff; border: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gallery-btn:hover { background: rgba(0,0,0,.7); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0;
  transition: background .2s;
}
.gallery-dot.active { background: #fff; }

/* Article body */
.article-body { color: var(--text); line-height: 1.75; }
.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; line-height: 1.25;
  color: var(--text);
}
.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 .5rem;
}
.article-body h4 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .4rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.5rem; }
.article-body li { margin-bottom: .4rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: .85rem 1.25rem; margin: 1.75rem 0;
  color: var(--muted); font-style: italic;
  font-family: var(--font-heading);
  background: var(--surface-2); border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
}
.article-body pre {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem 1.25rem;
  overflow-x: auto; margin-bottom: 1.25rem;
  font-size: .9rem; line-height: 1.5;
}
.article-body code {
  background: var(--surface-2); padding: .15em .4em;
  border-radius: 3px; font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.article-body pre code { background: none; padding: 0; font-size: inherit; }
.article-body img { border-radius: 10px; margin: 1.25rem 0; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.article-body th, .article-body td {
  border: 1px solid var(--border); padding: .5rem .75rem; text-align: left;
}
.article-body th { background: var(--surface-2); font-weight: 600; }
.article-body a { text-decoration: underline; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Article TOC */
.article-toc {
  margin: 1.5rem 0; padding: 1rem 1.25rem;
  background: var(--surface-2); border-radius: 10px;
  border-left: 3px solid var(--accent); font-size: .9rem;
}
.toc-title {
  display: block; margin-bottom: .5rem;
  font-size: .8rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
}
.article-toc ol { margin: 0; padding-left: 1.25rem; }
.article-toc li { margin-bottom: .25rem; }
.article-sections { display: none; }

.article-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.article-tags-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }

/* ── Related posts ──────────────────────────────────────────────── */
.related-posts { margin: 2.5rem 0 1.5rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.related-title {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.related-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.related-card-body { padding: .75rem; flex: 1; }
.related-card-title {
  font-size: .9rem; font-weight: 600; line-height: 1.4;
  margin-bottom: .35rem; text-align: left;
  font-family: var(--font-heading);
}
.related-card-excerpt { font-size: .8rem; color: var(--muted); line-height: 1.4; text-align: left; }

/* ── Breadcrumbs ────────────────────────────────────────────────── */
.breadcrumbs { margin-bottom: 1.25rem; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: .25rem; align-items: center;
  font-size: .85rem; color: var(--muted);
}
.breadcrumbs li + li::before { content: "›"; margin-right: .25rem; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ── Page header ────────────────────────────────────────────────── */
.page-header { margin-bottom: 1.75rem; }
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700;
  line-height: 1.2; color: var(--text);
}
.page-subtitle { color: var(--muted); margin-top: .4rem; font-size: .95rem; }

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: .4rem; margin: 2.5rem 0;
}
.page-numbers { display: flex; gap: .3rem; align-items: center; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2rem; height: 2.2rem; padding: 0 .6rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: .9rem; color: var(--text); text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.page-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.page-link.page-current {
  background: var(--accent); border-color: var(--accent);
  color: #fff; font-weight: 600;
}
.page-link.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.page-ellipsis { color: var(--muted); padding: 0 .25rem; }

/* ── Search page ────────────────────────────────────────────────── */
.search-form-full { display: flex; gap: .5rem; margin: 1.5rem 0; }
.search-form-full input {
  flex: 1; padding: .65rem 1rem;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 1rem; background: var(--surface); color: var(--text);
}
.search-form-full input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.search-summary { color: var(--muted); margin-bottom: 1.5rem; }
.search-snippet { font-size: .9rem; color: var(--muted); margin: .4rem 0 .6rem; }
.search-snippet mark { background: rgba(181,41,78,.12); color: var(--accent); border-radius: 2px; }

/* ── Language switcher ──────────────────────────────────────────── */
.lang-switcher { display: flex; gap: .35rem; margin-bottom: 1rem; }
.lang-btn {
  padding: .25rem .65rem; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--muted);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── 404 & error page ───────────────────────────────────────────── */
.error-page { text-align: center; padding: 5rem 0 3rem; }
.error-code {
  font-family: var(--font-heading);
  font-size: 8rem; font-weight: 700; line-height: 1;
  color: var(--accent); opacity: .3;
}
.error-title {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700; margin: .75rem 0 1rem;
}
.error-desc { color: var(--muted); margin-bottom: 2rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── Empty state ────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 0; color: var(--muted); }
.empty-state .btn { margin-top: 1rem; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; padding: 2.5rem 0 1.5rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700; color: #fff;
  text-decoration: none; display: inline-block; margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.footer-logo:hover { opacity: .85; text-decoration: none; }
.footer-logo .logo-toute  { color: #002395; -webkit-text-stroke: .2px rgba(255,255,255,.5); }
.footer-logo .logo-la     { color: #ffffff; }
.footer-logo .logo-france { color: #ED2939; }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-col-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35);
  margin-bottom: .75rem;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col-links a { font-size: .85rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.footer-col-links a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── About / Contacts / static pages ───────────────────────────── */
.static-content {
  max-width: 720px;
}
.static-content h1, .static-content h2, .static-content h3 {
  font-family: var(--font-heading);
}
.static-content p { margin-bottom: 1.25rem; }
.static-content ul, .static-content ol { margin: 0 0 1.25rem 1.5rem; }
.static-content li { margin-bottom: .4rem; }
.static-content a { text-decoration: underline; }
