/* ============================================================
   Echos de Notre Provence — main.css
   Approche: CSS Grid + Flexbox pur
   Style: Magazine éditorial provençal — élégant et lumineux
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  --c-terra: #B85C4F;
  --c-ocre: #E8A33D;
  --c-lavande: #8B7AA8;
  --c-text: #2B2420;
  --c-text-light: #6B5E59;
  --c-cream: #FAF6F1;
  --c-cream-dark: #F2EBE2;
  --c-white: #FFFFFF;
  --c-border: #E0D5CA;

  --ff-serif: 'Fraunces', Georgia, serif;
  --ff-sans: 'Inter', system-ui, sans-serif;

  --radius: 2px;
  --shadow-sm: 0 1px 4px rgba(43,36,32,0.08);
  --shadow-md: 0 4px 16px rgba(43,36,32,0.12);
  --shadow-lg: 0 8px 32px rgba(43,36,32,0.16);

  --max-w: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-terra); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.75rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav__logo a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 72px;
  width: auto;
  display: block;
}

/* Menu principal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
}

.nav-menu__item {
  position: relative;
}

.nav-menu__link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-light);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu__link:hover {
  color: var(--c-terra);
}

.nav-menu__item.active .nav-menu__link {
  color: var(--c-terra);
}

/* Mobile menu toggle — CSS pur */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-terra);
  transition: all 0.3s;
}

#nav-check { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 2px solid var(--c-terra);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  #nav-check:checked ~ .nav-menu {
    display: flex;
  }

  .site-nav__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-menu__link {
    padding: 0.75rem var(--gutter);
    font-size: 0.875rem;
  }

  .site-nav__logo img { height: 52px; }
}

/* ============================================================
   INDEX — ARCHÉTYPE B : Magazine éditorial pleine largeur
   ============================================================ */

/* Label H1 discret en haut à gauche */
.index-label {
  padding-block: 1.5rem 0.75rem;
}

.index-label__h1 {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terra);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.index-label__h1::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
  background: var(--c-terra);
  opacity: 0.4;
}

/* Bannière pleine largeur */
.index-banner {
  width: 100%;
  aspect-ratio: 21/8;
  overflow: hidden;
  position: relative;
  background: var(--c-cream-dark);
}

.index-banner img,
.index-banner > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu éditorial pleine largeur */
.index-editorial {
  padding-block: 3.5rem;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.index-editorial__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.index-editorial__text p,
.index-editorial__text {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-text);
  font-style: italic;
}

.index-editorial__aside {
  padding-left: 2rem;
  border-left: 1px solid var(--c-border);
}

.index-editorial__aside .baseline {
  font-family: var(--ff-serif);
  font-size: 0.9375rem;
  color: var(--c-text-light);
  font-style: italic;
  line-height: 1.6;
}

.index-editorial__aside .site-name {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .index-editorial__grid {
    grid-template-columns: 1fr;
  }
  .index-editorial__aside {
    padding-left: 0;
    border-left: none;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
  }
}

/* Showcase articles */
.index-showcase {
  padding-block: 4rem;
}

.index-showcase__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--c-terra);
}

.index-showcase__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--c-text);
}

.index-showcase__more {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-terra);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.index-showcase__more:hover {
  border-color: var(--c-terra);
  color: var(--c-terra);
}

/* Grille showcase — 3 colonnes sur desktop */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   POST-LOOP — Carte verticale avec accent couleur
   ============================================================ */
.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-cream-dark);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.post-card__cat {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terra);
}

.post-card__cat a {
  color: var(--c-terra);
}

.post-card__cat a:hover {
  color: var(--c-lavande);
}

.post-card__title {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-text);
}

.post-card__title a:hover {
  color: var(--c-terra);
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--c-text-light);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--c-text-light);
  font-family: var(--ff-sans);
  font-weight: 500;
}

.post-card__date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.post-card__date::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-ocre);
}

.post-card__read {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-lavande);
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--c-lavande);
  transition: background 0.2s, color 0.2s;
}

.post-card__read:hover {
  background: var(--c-lavande);
  color: var(--c-white);
}

/* ============================================================
   POST-LIST — Page listing
   ============================================================ */
.page-header {
  background: var(--c-terra);
  padding-block: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  transform: translate(30%, 50%);
}

.page-header__label {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.page-header__h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.15;
  max-width: 640px;
}

.post-list-section {
  padding-block: 4rem;
}

.post-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .post-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .post-list-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.pagination .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.8125rem;
  font-family: var(--ff-sans);
  font-weight: 500;
  color: var(--c-text-light);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: all 0.2s;
}

.pagination .page:hover {
  border-color: var(--c-terra);
  color: var(--c-terra);
}

.pagination .page.active {
  background: var(--c-terra);
  border-color: var(--c-terra);
  color: var(--c-white);
}

/* ============================================================
   POST — Page article
   ============================================================ */
.post-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding-block: 2.5rem;
}

.post-header__inner {
  max-width: 860px;
}

.post-breadcrumb {
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  color: var(--c-text-light);
  margin-bottom: 1.25rem;
}

.post-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-breadcrumb li { list-style: none; }

.post-breadcrumb a:hover { color: var(--c-terra); }
.post-breadcrumb span { opacity: 0.4; }

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-cat-badge {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terra);
  padding: 0.25rem 0.625rem;
  background: rgba(184,92,79,0.1);
}

.post-cat-badge a { color: var(--c-terra); }

.post-date {
  font-size: 0.8125rem;
  color: var(--c-text-light);
  font-family: var(--ff-sans);
}

.post-reading-time {
  font-size: 0.8125rem;
  color: var(--c-text-light);
  font-family: var(--ff-sans);
  margin-left: auto;
}

.post-header__h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 0;
}

/* Layout article */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding-block: 3rem;
  align-items: start;
}

.post-main { min-width: 0; }

.post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-cream-dark);
  margin-bottom: 2.5rem;
}

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

/* Contenu article */
.post-content {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.85;
  color: var(--c-text);
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--c-terra);
}

.post-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content p { margin-bottom: 1.25rem; }

.post-content a {
  color: var(--c-terra);
  border-bottom: 1px solid rgba(184,92,79,0.3);
}

.post-content a:hover { border-color: var(--c-terra); }

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 3px solid var(--c-ocre);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(232,163,61,0.06);
  font-style: italic;
  color: var(--c-text-light);
}

.post-content img {
  border-radius: var(--radius);
  margin-block: 1.5rem;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: calc(72px + 2rem);
}

.sidebar-widget {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget__title {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
}

.toc-widget { font-size: 0.8125rem; font-family: var(--ff-sans); }
.toc-widget a { color: var(--c-text-light); }
.toc-widget a:hover { color: var(--c-terra); }

/* Signatory */
.post-signatory {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--c-cream);
  border-left: 3px solid var(--c-lavande);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.post-signatory__label {
  font-family: var(--ff-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-lavande);
  margin-bottom: 0.375rem;
}

.post-signatory__content {
  font-size: 0.875rem;
  color: var(--c-text-light);
  font-family: var(--ff-sans);
}

/* Articles liés */
.related-section {
  padding-block: 3rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-cream-dark);
}

.related-section__title {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.65);
  padding-block: 3rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.site-footer__brand .logo-text {
  font-family: var(--ff-serif);
  font-size: 1.125rem;
  color: var(--c-cream);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.site-footer__brand .baseline {
  font-size: 0.8125rem;
  font-style: italic;
  font-family: var(--ff-serif);
  opacity: 0.6;
}

.site-footer__copy {
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  text-align: right;
  line-height: 1.8;
}

.site-footer__copy a {
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-footer__copy a:hover {
  color: var(--c-ocre);
  border-color: var(--c-ocre);
}

.footer-divider {
  display: block;
  margin: 0.5rem 0;
  opacity: 0.15;
  border: none;
  border-top: 1px solid #fff;
}

@media (max-width: 576px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__copy { text-align: center; }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.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;
}

.text-terra { color: var(--c-terra); }
.text-ocre  { color: var(--c-ocre); }
.text-lavande { color: var(--c-lavande); }

/* Accent stripe décoratif */
.stripe {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--c-terra) 0%, var(--c-ocre) 50%, var(--c-lavande) 100%);
}

/* ============================================================
   INDEX BANNER — aspect ratio responsive
   ============================================================ */
@media (max-width: 768px) {
  .index-banner { aspect-ratio: 16/9; }
}
@media (max-width: 480px) {
  .index-banner { aspect-ratio: 4/3; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  color: var(--c-text-light);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--c-text-light); }
.breadcrumb a:hover { color: var(--c-terra); }
.breadcrumb__sep { opacity: 0.4; font-size: 0.625rem; }

/* echos-de-provence : retouches de mise en page du 08/11/2026 */

/* Menu : rubriques filles de « Visiter » en sous-menu (rangées par le script de header.html ; cachées au premier niveau sinon) */
.nav-menu > li:has(> a[href*="verdon-haute-provence"]), .nav-menu > li:has(> a[href*="luberon-pays-apt"]),
.nav-menu > li:has(> a[href*="alpilles-crau-camargue"]), .nav-menu > li:has(> a[href*="provence-en-famille"]) { display: none; }
.echos-mere { position: relative; }
.echos-mere > .nav-menu__link::after { content: ""; display: inline-block; margin-left: .45em; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.echos-sous-menu { display: none; position: absolute; top: 100%; left: -.25rem; z-index: 120; min-width: 270px; margin: 0; padding: .45rem 0; list-style: none; background: var(--c-white); border: 1px solid var(--c-border); border-top: 2px solid var(--c-terra); border-radius: 0 0 8px 8px; box-shadow: var(--shadow-md); }
.echos-mere:hover > .echos-sous-menu, .echos-mere:focus-within > .echos-sous-menu { display: block; }
.echos-sous-menu__item { list-style: none; }
.echos-sous-menu__lien { display: block; padding: .62rem 1.1rem; font-family: var(--ff-sans); font-size: .875rem; font-weight: 500; color: #5E524D; white-space: nowrap; }
.echos-sous-menu__lien:hover, .echos-sous-menu__lien:focus { background: var(--c-cream); color: var(--c-terra); outline: none; }
.echos-sous-menu__lien:focus-visible { box-shadow: inset 3px 0 0 transparent; text-decoration: underline; }
@media (max-width: 768px) {
  .echos-mere > .nav-menu__link::after { display: none; }
  .echos-mere { width: 100%; text-align: center; }
  .echos-mere > .nav-menu__link { text-align: center; }
  .echos-sous-menu { display: block; position: static; min-width: 0; margin: .1rem var(--gutter) .5rem; padding: .3rem 0; border: 0; border-radius: 10px; box-shadow: none; background: var(--c-cream); }
  .echos-sous-menu__lien { padding: .7rem 1rem; font-size: .9rem; text-align: center; color: #5E524D; white-space: normal; }
}

/* Accueil : texte éditorial aéré, listes dans la colonne, colonne latérale sans filet vertical */
.index-editorial__text p, .index-editorial__text { font-weight: 400; }
.index-editorial__text p { margin: 0 0 1em; }
.index-editorial__text > :first-child { margin-top: 0; }
.index-editorial__text h2 { font-size: 1.6rem; line-height: 1.3; margin: 1.7em 0 .55em; font-weight: 600; }
.index-editorial__text h3 { font-size: 1.28rem; line-height: 1.35; margin: 1.6em 0 .5em; font-weight: 600; }
.index-editorial__text ul, .index-editorial__text ol { padding-left: 1.45em; margin: 0 0 1.1em; }
.index-editorial__text li { margin-bottom: .5em; }
.index-editorial__text img { margin: 1.5em 0; border-radius: 3px; }
.index-editorial__aside { border-left: 0; padding-left: 0; padding-top: .95rem; border-top: 2px solid var(--c-ocre); }
.index-showcase__header { justify-content: flex-start; }
.index-banner img { object-position: 50% 38%; }

/* Cartes : étiquette en simple texte ; visuel tiré du logo quand l'article n'a pas d'image, partie droite grisée */
.post-card__cat { display: block; font-family: var(--ff-sans); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A4503F; }
a.post-card__thumb { display: block; position: relative; }
.post-card__thumb:not(:has(img)) {
  background: #F6EEE4 url('/img/notreprovence-fr-logo.webp') no-repeat 50% 50% / 40% auto;
}
.post-card__thumb:not(:has(img))::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(57% 0, 100% 0, 100% 100%, 43% 100%);
  -webkit-backdrop-filter: grayscale(1) brightness(1.05);
  backdrop-filter: grayscale(1) brightness(1.05);
  background: rgba(107, 94, 89, .12);
}
.post-card__excerpt:empty { display: none; }
.post-card__meta { margin-top: auto; padding-top: .5rem; }

/* Rubriques : pas de rappel de la rubrique sur ses propres cartes, texte d'introduction sur deux colonnes */
.post-list-grid .post-card__cat { display: none; }
.page-header { background: #A85044; }
.rubrique-fil { color: #fff; letter-spacing: .08em; }
.rubrique-fil ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.rubrique-fil li { list-style: none; }
.rubrique-fil li:has(+ li[aria-current]), .rubrique-fil li[aria-current] { display: none; }
.rubrique-fil a, .rubrique-fil span { color: #fff; }
.rubrique-fil a:hover { text-decoration: underline; }
.rubrique-intro { padding-block: 2.8rem .2rem; }
.rubrique-intro__texte { column-count: 2; column-gap: 3.4rem; font-family: var(--ff-serif); font-size: 1.05rem; line-height: 1.78; color: var(--c-text); }
.rubrique-intro__texte p { margin: 0 0 .95em; }
.rubrique-intro__texte a, .index-editorial__text a { color: #A4503F; font-weight: 600; border-bottom: 1px solid rgba(164, 80, 63, .4); }
.rubrique-intro__texte a:hover, .index-editorial__text a:hover { border-bottom-color: #A4503F; }
.post-list-section { padding-block: 2.6rem 4rem; }
.pagination:not(:has(a)) { display: none; }
@media (max-width: 768px) { .rubrique-intro__texte { column-count: 1; } .rubrique-intro { padding-block: 2rem 0; } }

/* Article : fil sans le titre, ligne auteur et date, colonne de 760 px, texte juste sous l'image */
.post-breadcrumb li:has(+ li[aria-current]), .post-breadcrumb li[aria-current] { display: none; }
/* Rubriques filles de « Visiter » : le fil s'en tient à la rubrique de l'article, comme son BreadcrumbList (aucun jeton Joornal ne
   rend la rubrique mère dans le JSON-LD) ; la mère reste au menu. 7 éléments = Accueil, mère, fille, titre et leurs séparateurs. */
.post-breadcrumb li:nth-child(3):nth-last-child(5), .post-breadcrumb li:nth-child(4):nth-last-child(4) { display: none; }
.rubrique-fil li:nth-child(2):nth-last-child(4), .rubrique-fil li:nth-child(3):nth-last-child(3), .rubrique-fil li:nth-child(4):nth-last-child(2) { display: none; }
.post-breadcrumb a { color: #5E524D; }
.post-header { padding-block: 2rem 1.9rem; }
.post-header__h1 { margin-top: .2rem; }
.post-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.15rem; margin: 1rem 0 0; font-family: var(--ff-sans); font-size: .84rem; color: #5E524D; }
.post-meta-top > span { margin: 0; font-size: inherit; color: inherit; }
.post-meta-top > span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c-ocre); margin-right: 1.15rem; vertical-align: middle; }
.post-auteur { font-weight: 600; color: var(--c-terra) !important; }
.post-layout { grid-template-columns: minmax(0, 760px) 270px; justify-content: space-between; gap: 3.2rem; padding-block: 2.4rem 3rem; }
.post-thumb { margin-bottom: 1.5rem; }
.post-thumb:not(:has(img)) { display: none; }
.post-content > :first-child { margin-top: 0; }
.post-content > p:first-child { font-size: 1.17em; line-height: 1.7; font-weight: 500; color: #3F332E; padding-bottom: .9em; margin-bottom: 1.5em; border-bottom: 1px solid rgba(232, 163, 61, .55); }
.post-content p { margin-bottom: 1.05em; }
.post-content h2 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.1em; margin-bottom: .6em; line-height: 1.3; }
.post-content h3 { margin-top: 1.8em; margin-bottom: .5em; line-height: 1.35; }
.post-content blockquote { border-left: 0; border-radius: 6px; background: rgba(232, 163, 61, .11); padding: 1rem 1.3rem; color: var(--c-text); }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-family: var(--ff-sans); font-size: .92rem; line-height: 1.55; }
.post-content th, .post-content td { padding: .55em .8em; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.post-content thead th, .post-content tr:first-child th { background: rgba(184, 92, 79, .13); font-weight: 600; }
.post-content tbody tr:nth-child(even) td { background: rgba(242, 235, 226, .65); }

/* Sommaire : colonne en ordinateur, replié en tête sur téléphone */
.sommaire-mobile { display: none; }
.toc-widget ul { padding-left: 1em; }
.toc-widget li { margin: .3em 0; }

/* Encadré de l'auteur : photo ronde, nom, courte présentation, fond lavande léger */
.post-signatory { border-left: 0; margin-top: 2.8rem; padding: 1.3rem 1.5rem; background: rgba(139, 122, 168, .09); border-radius: 14px; display: flex; gap: 1.25rem; align-items: center; }
.post-signatory__photo { flex: 0 0 92px; }
.post-signatory__photo img { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; margin: 0; display: block; }
.post-signatory__photo:empty { display: none; }
.post-signatory__nom { font-family: var(--ff-serif); font-size: 1.08rem; font-weight: 600; color: var(--c-text); margin: 0 0 .25rem; }
.post-signatory__bio, .post-signatory__bio p { font-family: var(--ff-sans); font-size: .9rem; line-height: 1.6; color: #5E524D; margin: 0; }

/* L'encadré des articles ne garde que le premier paragraphe de la présentation ; la page de l'auteur la montre en entier */
.post-signatory__bio p:not(:first-child) { display: none; }
.auteur-page__fil { font-family: var(--ff-sans); font-size: .8rem; margin-bottom: 1.4rem; }
.auteur-page__fil a { color: #5E524D; }
.auteur-page__tete { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.auteur-page__photo img { width: 116px; height: 116px; object-fit: cover; border-radius: 50%; margin: 0; }
.auteur-page__photo:empty { display: none; }
.auteur-page__nom { font-family: var(--ff-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; }
.auteur-page__bio p { margin-bottom: 1em; }
.auteur-page__suite a { font-family: var(--ff-sans); font-weight: 600; color: var(--c-terra); border-bottom: 1px solid rgba(184, 92, 79, .35); }

/* Pages fixes et formulaire */
.post-body { padding-block: 2.4rem 3.6rem; }
.post-body .post-content h2 { color: var(--c-terra); }
.echos-membre { display: flex; gap: 1.3rem; align-items: flex-start; margin: 1.6em 0; }
.echos-membre img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; margin: 0; flex: 0 0 120px; }
.echos-membre h3 { margin: 0 0 .3em; font-size: 1.2rem; color: var(--c-text); }
.echos-membre p { margin: 0; }
#contactForm { display: grid; gap: .85rem; max-width: 620px; margin: 1.2rem 0 0; padding: 1.5rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px; font-family: var(--ff-sans); font-size: .95rem; }
#contactForm label { font-weight: 600; color: var(--c-text); font-size: .86rem; }
#contactForm .form-control { width: 100%; padding: .65rem .8rem; border: 1px solid #CDBFB2; border-radius: 8px; font: inherit; background: #fff; color: var(--c-text); }
#contactForm textarea.form-control { min-height: 150px; }
#contactForm button, #contactForm [type="submit"] { justify-self: start; background: var(--c-terra); color: #fff; border: 0; padding: .7rem 1.4rem; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }

/* Pied de page lisible */
.site-footer__copy a { color: rgba(255, 255, 255, .78); }
.site-footer__brand .baseline { opacity: 1; color: #C9BFB8; }

@media (max-width: 768px) {
  .post-content > p:first-child { font-size: 1.1em; }
  .post-layout { grid-template-columns: 1fr; padding-block: 1.6rem 2.4rem; }
  .post-sidebar { display: none; }
  .sommaire-mobile { display: block; margin: 0 0 1.2rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 10px; font-family: var(--ff-sans); font-size: .9rem; }
  .sommaire-mobile summary { padding: .65rem 1rem; cursor: pointer; font-weight: 600; color: var(--c-terra); }
  .sommaire-mobile nav { padding: 0 1rem .8rem; }
  .sommaire-mobile ul { padding-left: 1.1em; }
  .sommaire-mobile ul ul { display: none; }
  .sommaire-mobile li { margin: .3em 0; }
  .post-signatory { padding: 1.1rem 1.1rem; gap: 1rem; }
  .post-signatory__photo { flex-basis: 68px; }
  .post-signatory__photo img { width: 68px; height: 68px; }
  .echos-membre { flex-direction: column; gap: .8rem; }
}
