/* Voyons Patrimoine — hubs thématiques evergreen v3.2.0
   White editorial surface on every viewport; one source of truth. */

.tax-vp_theme .vp-theme-guides{
  padding:54px 0 72px;
  background:#f3f6f8;
  color:var(--vp-navy);
}

.tax-vp_theme .vp-theme-guides-heading{
  display:block;
  width:100%;
  max-width:none;
  margin:0 0 28px;
}

.tax-vp_theme .vp-theme-guides-heading .vp-eyebrow,
.tax-vp_theme .vp-guide-card .vp-term,
.tax-vp_theme .vp-guide-link,
.tax-vp_theme .vp-theme-deeper-title,
.tax-vp_theme .vp-theme-deeper-arrow{
  color:#9a731e;
}

.tax-vp_theme .vp-theme-guides-heading h2{
  display:block;
  width:100%;
  max-width:none;
  margin:0;
  color:var(--vp-navy);
  font-family:Georgia,serif;
  font-size:clamp(30px,3vw,42px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.018em;
}

.tax-vp_theme .vp-guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  align-items:stretch;
}

.tax-vp_theme .vp-guide-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #d9e0e7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(11,31,54,.07);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.tax-vp_theme .vp-guide-card:hover{
  transform:translateY(-3px);
  border-color:rgba(201,161,74,.62);
  box-shadow:0 18px 42px rgba(11,31,54,.13);
}

.tax-vp_theme .vp-guide-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit;
}

.tax-vp_theme .vp-guide-card-media{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#eef2f5;
  border-bottom:1px solid #e0e6ec;
}

.tax-vp_theme .vp-guide-card-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}

.tax-vp_theme .vp-guide-card:hover .vp-guide-card-media img{transform:scale(1.018)}

.tax-vp_theme .vp-guide-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:21px 23px 23px;
}

.tax-vp_theme .vp-guide-card h3{
  margin:0 0 20px;
  color:var(--vp-navy);
  font-size:21px;
  font-weight:800;
  line-height:1.30;
}

.tax-vp_theme .vp-guide-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  font-size:13px;
  font-weight:800;
}

.tax-vp_theme .vp-guide-link span{display:inline-block;transition:transform .18s ease}
.tax-vp_theme .vp-guide-card:hover .vp-guide-link span{transform:translateX(3px)}

.tax-vp_theme .vp-theme-deeper{
  margin-top:32px;
  padding:24px;
  border:1px solid #d9e0e7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(11,31,54,.05);
}

.tax-vp_theme .vp-theme-deeper-title{
  margin:0 0 15px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.tax-vp_theme .vp-theme-deeper-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.tax-vp_theme .vp-theme-deeper-links a{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  min-height:72px;
  padding:16px 18px;
  border:1px solid #e0e6ec;
  border-radius:13px;
  background:#f8fafb;
  color:var(--vp-navy);
  font-size:14px;
  font-weight:750;
  line-height:1.38;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

.tax-vp_theme .vp-theme-deeper-links a:hover,
.tax-vp_theme .vp-theme-deeper-links a:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(201,161,74,.55);
  background:#fff;
  color:var(--vp-navy);
  outline:none;
}

.tax-vp_theme .vp-theme-deeper-arrow{flex:0 0 auto;font-size:18px;font-weight:900;line-height:1;transition:transform .18s ease}
.tax-vp_theme .vp-theme-deeper-links a:hover .vp-theme-deeper-arrow{transform:translateX(3px)}

.tax-vp_theme .vp-theme-publications{
  padding:52px 0 72px;
  background:var(--vp-navy);
  color:var(--vp-white);
}
.tax-vp_theme .vp-theme-publications .vp-card{background:linear-gradient(145deg,var(--vp-card),#0e2742);border-color:var(--vp-line);box-shadow:none}
.tax-vp_theme .vp-theme-publications .vp-card h3{color:var(--vp-white)}
.tax-vp_theme .vp-theme-publications .vp-card .vp-meta{color:var(--vp-gray)}
.tax-vp_theme .vp-theme-publications .vp-term{color:var(--vp-gold2)}
.tax-vp_theme .vp-theme-publications-heading{margin-bottom:22px}

@media(max-width:900px){
  .tax-vp_theme .vp-guide-grid{gap:18px}
  .tax-vp_theme .vp-guide-card-body{padding:18px 19px 20px}
  .tax-vp_theme .vp-guide-card h3{font-size:19px}
}

@media(max-width:760px){
  .tax-vp_theme .vp-theme-guides{padding:26px 14px 34px}
  .tax-vp_theme .vp-theme-guides>.vp-wrap{width:100%}
  .tax-vp_theme .vp-theme-guides-heading{margin:0 0 18px;padding:0 2px}
  .tax-vp_theme .vp-theme-guides-heading h2{font-size:clamp(28px,8vw,34px)}
  .tax-vp_theme .vp-guide-grid{grid-template-columns:1fr;gap:16px}
  .tax-vp_theme .vp-theme-deeper{margin-top:20px;padding:20px}
  .tax-vp_theme .vp-theme-deeper-links{grid-template-columns:1fr;gap:9px}
  .tax-vp_theme .vp-theme-deeper-links a{min-height:0;padding:14px 15px}
}

/* Hero subtitle — v3.2 */
.tax-vp_theme .vp-archive-hero .vp-lead{
  max-width:820px;
  margin:12px 0 0;
  color:#c7d0dd;
  font-size:17px;
  line-height:1.65;
}

@media(max-width:600px){
  .tax-vp_theme .vp-archive-hero{padding:24px 14px 0;background:#f3f6f8;color:var(--vp-navy)}
  .tax-vp_theme .vp-archive-hero>.vp-wrap{width:100%;padding:27px 22px 25px;border:1px solid #dfe5ea;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(11,31,54,.07)}
  .tax-vp_theme .vp-archive-hero .vp-eyebrow{color:#9a731e}
  .tax-vp_theme .vp-archive-hero h1{margin:5px 0 0;color:var(--vp-navy);font-size:clamp(30px,8.5vw,36px);line-height:1.06;letter-spacing:-.025em;overflow-wrap:anywhere}
  .tax-vp_theme .vp-archive-hero .vp-lead{color:#657589;font-size:15px;line-height:1.55}
  .tax-vp_theme .vp-theme-publications{padding:38px 0 48px}
}

/* VP 3.3.7 — Outil pratique facultatif des thématiques */
.vp-theme-tool-section{padding:36px 0 54px;background:#f4f7fa}
.vp-theme-tool-card{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px 42px;background:#fff;border:1px solid #dae3ed;border-radius:16px;box-shadow:0 8px 28px rgba(11,31,54,.06)}
.vp-theme-tool-content{flex:1;min-width:0}
.vp-theme-tool-eyebrow{color:#99721f;font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:12px}
.vp-theme-tool-card h2{color:#0b1f36;font-size:clamp(24px,2.7vw,31px);line-height:1.3;margin:0 0 14px}
.vp-theme-tool-card p{font-size:16px;line-height:1.75;color:#465569;margin:0 0 16px;max-width:740px}
.vp-theme-tool-all{display:inline-block;color:#163a63;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:700}
.vp-theme-tool-all:hover{color:#99721f}
.vp-theme-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:16px 24px;background:#0b1f36;color:#fff!important;text-decoration:none!important;border-radius:9px;font-size:15px;font-weight:700;transition:background .2s}
.vp-theme-tool-button:hover,.vp-theme-tool-button:focus-visible{background:#163a63;color:#fff!important}
@media(max-width:800px){.vp-theme-tool-card{flex-direction:column;align-items:flex-start;padding:28px 24px;gap:24px}}
@media(max-width:480px){.vp-theme-tool-section{padding:24px 0 40px}.vp-theme-tool-button{width:100%;text-align:center}}
