/* Guides : mêmes dimensions de couverture, de titres et de recherche que l’accueil. */
@media(min-width:701px){
 html body.ve-guide-complet #content.gf-page .gf-hero,html body.page-guides-villes .gv-hero,html body .guide-ancienne-hero{height:var(--ve-guide-home-height)!important;min-height:var(--ve-guide-home-height)!important;margin:0!important;align-items:center!important;overflow:hidden!important}
 html body{--ve-guide-home-height:clamp(500px,calc(100svh - 160px),650px)}
 html body.ve-guide-complet #content.gf-page .gf-hero-content,html body.page-guides-villes .gv-hero-copy{padding-top:var(--hero-content-edge-space,60px)!important;padding-bottom:calc(var(--hero-content-edge-space,60px) + var(--search-panel-overlap,34px))!important}
 html body.ve-guide-complet #content.gf-page .gf-hero-content{width:min(calc(100% - 40px),var(--max,1740px))!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
 html body.ve-guide-complet #content.gf-page .gf-hero h1,html body.page-guides-villes .gv-hero h1,html body .guide-ancienne-hero h1{font-size:var(--title-1)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin-bottom:20px!important;max-width:1180px!important}
 html body.ve-guide-complet #content.gf-page .gf-hero h1 em,html body.page-guides-villes .gv-hero h1 em{font-size:inherit!important;line-height:inherit!important}
 html body.ve-guide-complet #content.gf-page .gf-hero-content>p:not(.gf-kicker):not(.gf-hero-note):not(.gf-share-feedback),html body.page-guides-villes .gv-hero-lead{font-size:clamp(1.05rem,1.5vw,1.25rem)!important;line-height:1.6!important;max-width:820px!important}
}
@media(min-width:1200px){html body{--ve-guide-home-height:calc(100svh - 145px)}}
@media(min-width:701px) and (max-height:620px){html body{--ve-guide-home-height:max(390px,calc(100svh - 70px))}}
html body .ve-guide-home-search{position:relative!important;inset:auto!important;z-index:6!important;display:block!important;width:min(calc(100% - 40px),var(--max,1740px))!important;max-width:none!important;margin:calc(-1 * var(--search-panel-overlap,34px)) auto 0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body .ve-guide-home-search form{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:12px!important;width:100%!important;margin:0!important;padding:14px!important;border:0!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--shadow,0 14px 35px #10253f12)!important;box-sizing:border-box!important}
html body .ve-guide-home-search .ve-guide-search-label{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;margin:0!important;padding:0 12px!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body .ve-guide-home-search .ve-guide-search-label>span[aria-hidden]{font-size:16px!important;line-height:1.65!important;color:var(--brand,#0087a3)!important}
html body .ve-guide-home-search input{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;outline:none!important;background:#fff!important;box-shadow:none!important;color:var(--ink,#10253f)!important;font:600 16px/1.65 var(--font-sans,Inter,ui-sans-serif,system-ui,sans-serif)!important}
html body .ve-guide-home-search button[type=submit]{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-sizing:border-box!important;min-height:48px!important;height:auto!important;margin:0!important;padding:.72rem 1.2rem!important;border:1px solid transparent!important;border-radius:999px!important;background:var(--accent,#ff7657)!important;color:#fff!important;font:800 16px/1.65 var(--font-sans,Inter,ui-sans-serif,system-ui,sans-serif)!important;white-space:nowrap!important;box-shadow:0 10px 24px #ff76572e!important;cursor:pointer!important}
html body .ve-guide-home-search .ve-guide-search-accessible{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){html body .ve-guide-home-search{width:calc(100% - 28px)!important;margin:18px auto 0!important}html body .ve-guide-home-search form{grid-template-columns:1fr!important;gap:16px!important}html body .ve-guide-home-search .ve-guide-search-label{min-height:52px!important}html body .ve-guide-home-search button[type=submit]{width:100%!important;font-size:14px!important}}
@media print{html body .ve-guide-home-search{display:none!important}}
/* Le menu fourni adapte l’accueil à sa hauteur réelle au-delà de 1250 px. */
@media(min-width:1250px){html body{--ve-guide-home-height:max(430px,calc(100svh - var(--ve2-header-height,76px) - 70px))}}
html body .ve-guide-home-search button[type=submit]{border:0!important}
html body.ve-guide-complet #content.gf-page .gf-nav{top:var(--ve2-header-height,76px)!important}
/* Garde le surtitre et les actions dans le bandeau sur les fenêtres basses. */
@media(min-width:701px) and (max-height:700px){html body.ve-guide-complet #content.gf-page .gf-hero-content,html body.page-guides-villes .gv-hero-copy{padding-top:0!important;padding-bottom:0!important}}

/* Cartes choisies dans la véritable collection : aucune inscription superposée. */
html body #cartes-postales[data-ve-real-postcards] .ve-postcard-message{display:none!important}
html body #cartes-postales[data-ve-real-postcards] .plv-postcards{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;align-items:center!important;gap:clamp(24px,4vw,60px)!important;border:1px solid #e1cba2;border-radius:22px;padding:clamp(24px,3vw,48px);background:radial-gradient(ellipse at 15% 10%,#fffdf4,#faf2df 60%,#f2e4c8);box-shadow:0 14px 45px #7955260b}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-preview{position:relative;display:block!important;min-width:0;max-width:100%;background:#fff;padding:10px 10px 24px;border:1px solid #e5d5b9;border-radius:4px;transform:rotate(-2deg);box-shadow:0 12px 28px #79552626;text-decoration:none}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-preview img{display:block;width:100%!important;height:auto!important;object-fit:contain!important;aspect-ratio:auto!important}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-preview>span{display:block;text-align:center;font-size:11px;color:#735626;padding-top:12px;font-weight:700}
html body #cartes-postales[data-ve-real-postcards] .plv-postcards-copy{min-width:0}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-benefits{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:24px 0}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-benefits li{font-size:11px;font-weight:700;padding:7px 11px;border:1px solid #dcc8a4;background:#fffaf0;border-radius:30px}
html body #cartes-postales[data-ve-real-postcards] .plv-postcard-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 20px;border-radius:9px;background:#ae1534!important;color:#fff!important;text-decoration:none;font-weight:800;line-height:1.4}
html body .ve-guide-red-button,html body .ve-guide-red-button *{color:#fff!important}
/* Sommaire plus compact : retour à la ligne au lieu d’un défilement horizontal. */
html body.ve-guide-complet #content.gf-page .gf-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:2px!important;padding:8px 12px!important;overflow:visible!important;white-space:normal!important;max-width:100%!important}
html body.ve-guide-complet #content.gf-page .gf-nav a{min-width:0!important;padding:8px!important;font-size:clamp(10px,.7vw,12px)!important;line-height:1.3!important;white-space:normal!important;text-align:center!important}
html body .ve-guide-local-toc{position:sticky;top:var(--ve2-header-height,76px);z-index:30;background:#fff;border-bottom:1px solid #d8e3e3}
html body .ve-guide-local-toc>summary{padding:12px 20px;font-weight:800;cursor:pointer;color:#173343}
@media(min-width:701px){html body .ve-guide-local-toc{display:contents}html body .ve-guide-local-toc>summary{display:none}}
@media(max-width:700px){
 html body #cartes-postales[data-ve-real-postcards] .plv-postcards{grid-template-columns:minmax(0,1fr)!important;padding:24px 18px!important;gap:30px!important}
 html body #cartes-postales[data-ve-real-postcards] .plv-postcard-preview{transform:rotate(-1deg)}
 html body.ve-guide-complet #content.gf-page .ve-guide-local-toc .gf-nav{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0 12px 12px!important;border:0!important}
 html body.ve-guide-complet #content.gf-page .ve-guide-local-toc .gf-nav a{font-size:11px!important;padding:10px 8px!important}
}

/* Pas de rubrique de cartes lorsqu’aucune collection correspondante n’existe. */
html body[data-ve-no-postcards] #cartes-postales,html body .gv-breadcrumb{display:none!important}
/* Aucun défilement horizontal du sommaire. Les liens reviennent à la ligne. */
html body.ve-guide-complet #content.gf-page .gf-nav{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:clip!important;overflow-y:visible!important;flex-wrap:wrap!important}
html body.ve-guide-complet #content.gf-page .gf-nav a{flex:0 1 auto!important;max-width:100%!important;overflow-wrap:anywhere!important}
/* Le monument reste entièrement dans son cadre, sans agrandissement ni recadrage. */
html body .gv-spots-grid .gv-spot img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;object-position:center!important;background:#edf3f2!important;transform:none!important}
html body .gv-spots-grid .gv-spot:hover img{transform:none!important}

/* Sommaire pleine largeur : espacement sous la recherche et maintien sous le menu. */
html body .ve-guide-toc-anchor{display:block;width:100%;height:0;margin:16px 0 0;padding:0;border:0;pointer-events:none}
html body .ve-guide-local-toc{display:block!important;box-sizing:border-box!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #d8e3e3!important;background:#fff!important;z-index:9000!important}
html body .ve-guide-local-toc.ve-guide-toc-pinned{position:fixed!important;top:var(--ve2-header-height,76px)!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;box-shadow:0 5px 18px #10253f0c}
@media(min-width:701px){
 html body.ve-guide-complet #content.gf-page .ve-guide-local-toc .gf-nav{position:static!important;top:auto!important;width:100%!important;max-width:none!important;justify-content:space-between!important;gap:3px!important;padding:8px clamp(8px,1.2vw,24px)!important;margin:0!important}
 html body.ve-guide-complet #content.gf-page .ve-guide-local-toc .gf-nav a{flex:1 1 auto!important;padding:9px 7px!important;font-size:clamp(11px,.75vw,13px)!important;white-space:nowrap!important;text-align:center!important}
}
html body.ve-guide-complet #content.gf-page [id]{scroll-margin-top:calc(var(--ve2-header-height,76px) + var(--ve-guide-toc-height,50px) + 18px)!important}
