/* Warm paper, forest green and restrained gilt details across the project. */
:root { --hg-paper:#f3edde; --hg-surface:#fffaf0; --hg-ink:#243a26; --hg-gold:#b99a59; --fundo-footer:#f3edde; }
body { color:var(--hg-ink); background-color:var(--hg-paper); background-image:radial-gradient(ellipse at 8% 18%,rgba(185,154,89,.1),transparent 45%),radial-gradient(ellipse at 94% 65%,rgba(87,115,72,.06),transparent 42%); }
main > section:not(.intro):not(.green),main.hg-games > section.hg-game-hero,main.hg-games > section.hg-game-tools,main.hg-games > section.hg-game-explore { background-color:transparent; }
main h1,main h2,main h3,.footer-heading { font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif; }
main h1,main h2,main h3,main .cor1 { color:#304d2e; }
main > section h2::after { background:var(--hg-gold); }
main > section .articles article,.hg-game-card,.hg-platform-game,.hg-person-card,.newsletter-list .newsletter-item,.partners-grid > li,.hg-network-form { background:var(--hg-surface); border:1px solid #ded3b9; border-radius:14px; box-shadow:0 6px 22px rgba(36,58,38,.07); }
main > section .articles article h3,.hg-platform-game h3 { font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif; color:#304d2e; }
main > section > div > h2:first-child,main > section > div .main_content > h2:first-child { color:#304d2e; }
main > section > div > h2:first-child::after,main > section > div .main_content > h2:first-child::after { background:#b99a59; }
main .articles > article:hover,.hg-platform-game:hover { box-shadow:0 10px 28px rgba(36,58,38,.12); }
.hg-game-card-body,.hg-platform-game-body,.hg-person-body { background:var(--hg-surface); }
.hg-game-resource,.hg-person-photo { border-color:#e0d6bd; }
.hg-person-photo,.newsletter-thumb,main .articles article figure { background-color:#eee8d9; }
.hg-platform-game img { object-fit:contain; background:#e9e4d6; }
main .botao,.hg-games .hg-game-button,.hg-network-form button { border:1px solid #415e31; background:#36572e; color:#fff8e6; border-radius:6px; box-shadow:0 2px 5px rgba(36,58,38,.1); }
main .botao:hover,.hg-games .hg-game-button:hover { background:#274525; }
.hg-games .hg-game-button-secondary { color:#36572e; background:transparent; }
.hg-games .hg-game-button-secondary:hover { color:#fff8e6; }
#mc_embed_signup { background:var(--hg-surface) !important; border:1px solid #ded3b9; border-radius:14px; box-shadow:0 6px 22px rgba(36,58,38,.07) !important; }
#mc_embed_signup .button { background:#36572e !important; color:#fff8e6; }
footer#site-footer { background:#eae3d2; border-top:1px solid #d8c9a7; }
.hg-section-kicker { margin:0 0 .65rem; color:#736138; font-size:.64rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase; }
.hg-home-gallery button.hg-home-gallery-toggle { width:auto; height:27px; min-width:54px; top:7px; right:3.2%; transform:none; padding:0 9px; border-color:#b99a59; border-radius:20px; background:#1c3425; color:#fff5de; font-size:.6rem; }
.hg-home-gallery-item a:hover { background:rgba(215,191,126,.07); }
.hg-network-callout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); margin:2rem 0 3rem; overflow:hidden; background:#fffaf0; border:1px solid #d9c9a2; border-radius:14px; box-shadow:0 8px 28px rgba(36,58,38,.07); }
.hg-network-callout > img { width:100%; height:100%; min-height:240px; object-fit:cover; }
.hg-network-callout > div { padding:2rem; }
.hg-network-callout h2 { margin:0 0 .75rem; font-size:1.65rem; line-height:1.2; }
.hg-network-callout p { margin:0 0 1rem; }
.hg-network-callout .botao { margin-top:.4rem; }
.hg-home-moments { padding-top:2rem; }
.hg-home-moments > div { max-width:1180px; }
.hg-home-moments h2 { margin-bottom:.6rem; }
.hg-moments-intro { max-width:680px; color:#5c6654; }
.hg-moments-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
.hg-moments-grid figure { margin:0; overflow:hidden; border:1px solid #ded3b9; border-radius:12px; background:var(--hg-surface); box-shadow:0 4px 15px rgba(36,58,38,.06); }
.hg-moments-grid a { display:flex; height:100%; flex-direction:column; text-decoration:none; color:var(--hg-ink); }
.hg-moments-grid img { display:block; width:100%; height:170px; object-fit:contain; background:#e8e3d5; }
.hg-moments-grid figcaption { display:flex; justify-content:space-between; gap:.5rem; padding:.85rem; font-family:Georgia,serif; font-size:.77rem; }
.hg-moments-grid a:hover figcaption { color:#4d6b30; }
.hg-join-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:3rem; width:min(1120px,100%); max-width:1120px; margin:0 auto; align-items:start; }
.hg-join-intro h1 { margin:0 0 1rem; font-size:clamp(2rem,3.5vw,3rem); line-height:1.13; font-weight:400; }
.hg-join-intro > img { width:100%; margin:1.4rem 0; border-radius:14px; }
.hg-network-form { padding:2rem; position:relative; }
.hg-network-form h2 { margin:0 0 .7rem; font-size:1.7rem; font-weight:400; }
main.hg-join-page .hg-network-form h2,main .hg-home-moments h2 { color:#304d2e; }
#site-footer .footer-heading,#site-footer p { color:#5c6653; }
.hg-network-form p { margin:0 0 1.2rem; }
.hg-network-form label { display:block; margin:0 0 1.2rem; font-size:.8rem; font-weight:600; }
.hg-network-form input[type=text],.hg-network-form input[type=email] { width:100%; height:46px; margin-top:.45rem; padding:.65rem .8rem; border:1px solid #bdb79e; border-radius:5px; background:#fffdf7; color:#243a26; font-size:.88rem; }
.hg-network-form input:focus { outline:2px solid #5b773a; outline-offset:2px; }
.hg-form-name-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.hg-network-form .hg-form-consent { display:flex; gap:.7rem; align-items:flex-start; font-size:.75rem; line-height:1.6; font-weight:400; }
.hg-form-consent input { width:18px; height:18px; margin-top:4px; flex-shrink:0; accent-color:#36572e; }
.hg-form-note { font-size:.69rem; line-height:1.65; color:#616953; }
.hg-form-note a { text-decoration:underline; }
.hg-network-form button { margin:.1rem 0 1rem; cursor:pointer; }
.hg-form-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.hg-catalogue-notice { grid-column:1/-1; padding:1.5rem; border:1px solid #d9c9a2; border-radius:10px; background:var(--hg-surface); }
@media(max-width:1000px) { .hg-moments-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hg-join-layout { gap:1.5rem; } }
@media(max-width:720px) { .hg-network-callout,.hg-join-layout { grid-template-columns:1fr; } .hg-network-callout > img { min-height:0; height:180px; } .hg-network-callout > div,.hg-network-form { padding:1.4rem; } .hg-home-gallery button.hg-home-gallery-toggle { right:7%; } }
@media(max-width:420px) { .hg-form-name-row { grid-template-columns:1fr; gap:0; } .hg-moments-grid { gap:.7rem; } .hg-moments-grid img { height:130px; } .hg-moments-grid figcaption { font-size:.65rem; padding:.65rem; } }

/* Compact highlights retain the shared banner's dimensions. */
.hg-home-gallery { padding-top:24px; padding-bottom:24px; }
.hg-home-gallery-track { align-items:center; gap:18px; }
.hg-home-gallery-item { flex-basis:calc((100% - 54px)/3.6); height:100%; border-radius:10px; box-shadow:0 5px 18px #07190e40; }
.hg-home-gallery-item figcaption { padding:9px 12px; height:126px; }
.hg-home-gallery-item > a > img,.hg-home-gallery-item > a > .hg-home-gallery-visual { height:calc(100% - 126px); }
.hg-home-gallery-item figcaption strong { font-size:.84rem; }
.hg-home-gallery-item figcaption > span { font-size:.65rem; }
.hg-governance-page .hg-person-card { width:100%; border-radius:12px; }
.hg-governance-page .hg-person-photo { height:116px; padding-top:12px; }
.hg-governance-page .hg-person-photo img { width:96px; height:96px; }
.hg-governance-page .hg-person-body { padding:.8rem .9rem 1rem; gap:.25rem; }
.hg-governance-page .hg-person-name { font-size:.94rem; margin:.25rem 0 .45rem; line-height:1.25; }
.hg-governance-page .hg-person-role { font-size:.72rem; margin:0 0 .5rem; letter-spacing:.02em; }
.hg-governance-page .hg-person-affiliation { font-size:.7rem; margin:0 0 .5rem; }
.hg-governance-page .hg-person-bio { font-size:.72rem; line-height:1.55; }
.hg-join-welcome { display:grid; grid-template-columns:1.3fr 1fr; gap:2rem; align-items:center; margin-bottom:2rem; }
.hg-join-welcome h1 { font-size:clamp(1.7rem,3vw,2.7rem); line-height:1.15; margin:0 0 1rem; }
.hg-join-welcome img { width:100%; border-radius:14px; }
.hg-join-original > p { max-width:950px; }
.hg-join-page .hg-join-welcome { display:block; max-width:900px; }
.hg-join-page .hg-network-callout h2 { color:var(--hg-ink); }
.hg-join-page #mc_embed_signup { scroll-margin-top:calc(var(--altura-barra-header) + 1rem); }
.hg-join-original #mc_embed_signup { margin:2rem auto; width:min(100%,700px); }
.hg-stakeholder-map iframe { display:block; width:100%; max-width:100%; height:600px; border:0; border-radius:14px; background:#e9e4d6; }
.hg-map-link { font-size:.8rem; }
.hg-final-kpt-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.hg-final-kpt-gallery figure { margin:0; }
.hg-final-kpt-gallery img { width:100%; height:220px; object-fit:contain; background:#e9e4d6; border-radius:10px; }
@media(max-width:1000px) { .hg-home-gallery-item { flex-basis:calc((100% - 36px)/2.45); } }
@media(max-width:680px) {
 .hg-home-gallery { padding-top:22px; padding-bottom:22px; }
 .hg-home-gallery-item { flex-basis:76%; }
 .hg-join-welcome { grid-template-columns:1fr; gap:1rem; }
 .hg-join-welcome img { max-height:180px; object-fit:cover; }
 .hg-stakeholder-map iframe { height:480px; }
 .hg-final-kpt-gallery { grid-template-columns:1fr; }
}

/* A denser catalogue with readable text and no artificial empty description area. */
.hg-games .hg-platform-catalog { width:min(1040px,92%); gap:1.1rem; margin-top:1.8rem; }
.hg-games .hg-platform-game img { height:168px; }
.hg-games .hg-platform-game-body { padding:1rem 1.05rem; }
.hg-games .hg-platform-game-body h3 { font-size:1rem; line-height:1.3; margin:0; }
.hg-games .hg-platform-game-body p { margin:.55rem 0; font-size:.78rem; line-height:1.55; text-align:left; }
.hg-games .hg-platform-game-body .hg-platform-game-place { font-size:.7rem; }
.hg-games .hg-platform-game-open { padding-top:.8rem; font-size:.76rem; }
.hg-join-page #mc_embed_signup .hg-form-name-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.hg-join-page #mc_embed_signup .hg-form-name-row .mc-field-group { width:100%; min-height:0; }
.hg-join-page #mc_embed_signup input[type=text],.hg-join-page #mc_embed_signup input[type=email] { border:1px solid #c8c1ac; border-radius:6px; padding:11px 12px; background:#fffdf7; font-size:15px; }
.hg-join-page #mc_embed_signup input:focus-visible { outline:2px solid #516e3b; outline-offset:2px; }
.hg-join-page #mc_embed_signup .hg-form-optional { color:#6e7363; font-size:12px; font-weight:400; }
.hg-join-page #mc_embed_signup input#mc-embedded-subscribe.button { width:100%; height:auto !important; min-height:48px; padding:13px 24px !important; margin:15px 0 !important; border:1px solid #36572e !important; border-radius:8px !important; background:#36572e !important; color:#fff8e6 !important; font-size:15px !important; line-height:1.3 !important; letter-spacing:.02em; text-transform:none; box-shadow:0 4px 10px #243a261f; transition:background .2s,box-shadow .2s; }
.hg-join-page #mc_embed_signup input#mc-embedded-subscribe.button:hover { background:#274525 !important; box-shadow:0 6px 14px #243a2629; }
@media(max-width:600px) { .hg-games .hg-platform-catalog { width:min(380px,92%); } .hg-games .hg-platform-game img { height:160px; } .hg-join-page #mc_embed_signup .hg-form-name-row { grid-template-columns:1fr; gap:0; } }

.hg-join-page #mc_embed_signup h2 { color:#304d2e !important; font-family:Georgia,serif; font-size:1.5rem; font-weight:400; }

/* Preserve each partner's original people and rows, with consistent centred spacing. */
.hg-partner-page .hg-partner-team-heading { text-align:center; margin:2.8rem auto 1.6rem; }
.hg-partner-page .hg-partner-team-row { display:flex !important; flex-wrap:wrap !important; justify-content:center !important; align-items:flex-start !important; gap:1.6rem 2rem !important; width:100% !important; max-width:900px; margin:0 auto 2rem !important; padding:0; }
.hg-partner-page .hg-partner-team-member { flex:0 1 190px !important; width:190px !important; min-width:0; margin:0 !important; padding:0; text-align:center; }
.hg-partner-page .hg-partner-team-member figure,.hg-partner-page .hg-partner-team-member .wp-block-image { margin:0 auto !important; padding:0; background:transparent; }
.hg-partner-page .hg-partner-team-member img:not(.emoji) { display:block; width:100px !important; height:100px !important; max-width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; margin:0 auto 1rem !important; }
.hg-partner-page .hg-partner-team-member p { margin:.45rem 0; text-align:center !important; line-height:1.45; overflow-wrap:anywhere; }
.hg-partner-page .hg-partner-team-member p:empty { display:none; }
.hg-partner-page .hg-partner-team-member strong,.hg-partner-page .hg-partner-team-member b { font-size:16px; line-height:1.45; }
.hg-partner-page .hg-partner-official-site { background:transparent !important; box-shadow:none; border:0; border-bottom:1px solid #d9c9a2; border-radius:0; padding:1rem 0 1.3rem; }
.hg-partner-page .hg-partner-logo { display:flex; align-items:center; justify-content:center; margin:2rem auto !important; padding:0 !important; background:transparent !important; box-shadow:none !important; border:0; }
.hg-partner-page .hg-partner-logo img { width:auto !important; height:auto !important; max-width:min(360px,85vw) !important; max-height:130px; object-fit:contain; background:transparent !important; box-shadow:none !important; border:0; border-radius:0; padding:0 !important; }
/* Home alone uses the newly composed shallow panorama. Inner banners stay untouched. */
.hg-home-gallery { background-image:url('category-banners/home-heritage-panorama-20261016.webp'); background-position:center; background-size:cover; }
.hg-home-gallery-item { background:rgba(17,39,27,.58); border-color:rgba(224,197,138,.48); }
.hg-home-gallery-item figcaption { background:rgba(12,31,21,.6); text-shadow:0 1px 3px #07170d; }
.hg-home-gallery-item figcaption > span { color:#f3f5ed; }
.hg-home-gallery-item a:hover { background:rgba(17,39,27,.17); }
body.home #mc_embed_signup { scroll-margin-top:calc(var(--altura-barra-header) + 1rem); }
@media(max-width:600px) { .hg-partner-page .hg-partner-team-row { gap:1.5rem 1rem !important; } .hg-partner-page .hg-partner-team-member { flex-basis:calc(50% - 1rem) !important; width:calc(50% - 1rem) !important; } .hg-partner-page .hg-partner-team-member strong,.hg-partner-page .hg-partner-team-member b { font-size:14px; } }
/* Layered important typography overrides legacy and embedded form styles consistently. */
@layer hgTypography {
 body,body *:not(.fa,.fas,.far,.fab,.fal,.fad,.dashicons,[class^="eicon-"],[class*=" eicon-"]) { font-family:Helvetica,Arial,sans-serif !important; }
 body .hg-page-banner-title,body .hg-page-banner-title * { font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif !important; }
 body .hg-home-gallery,body .hg-home-gallery * { font-family:"Helvetica Neue",Helvetica,Arial,"Segoe UI",sans-serif !important; }
 .hg-home-gallery-item figcaption > strong,.hg-home-gallery-item figcaption > strong * { font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif !important; }
}

/* TECHN&ART introduction: a local preview image; the player loads only on request. */
.hg-techneart-card { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; width:min(950px,100%); margin:2rem 0; border:1px solid #d9c9a2; border-radius:14px; overflow:hidden; background:#fffaf0; box-shadow:0 6px 22px #243a2612; }
.hg-techneart-preview { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:#173727; color:#fff8e6; text-decoration:none; }
.hg-techneart-preview::after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,#07170dd9); pointer-events:none; }
.hg-techneart-preview > img { display:block; width:100%; height:100%; object-fit:cover; filter:brightness(.85); box-shadow:none; border-radius:0; }
.hg-techneart-play { position:absolute; z-index:1; top:50%; left:50%; display:grid; place-items:center; width:64px; height:64px; transform:translate(-50%,-50%); border:1px solid #d4bd87; border-radius:50%; background:#183e2be8; box-shadow:0 5px 20px #07170d66; }
.hg-techneart-play svg { width:28px; height:28px; margin-left:3px; }
.hg-techneart-watch { position:absolute; z-index:1; bottom:17px; left:20px; right:20px; color:#fff8e6; font-size:14px; font-weight:600; }
.hg-techneart-preview:hover .hg-techneart-play { background:#36572e; }
.hg-techneart-preview:focus-visible { outline:3px solid #b99a59; outline-offset:-4px; }
.hg-techneart-copy { padding:1.6rem; }
.hg-techneart-copy h2 { font-size:1.35rem; line-height:1.25; margin:0 0 .8rem; color:#304d2e; }
.hg-techneart-copy p { margin:0 0 .9rem; font-size:.82rem; line-height:1.6; }
.hg-techneart-copy .hg-section-kicker { font-size:.62rem; margin-bottom:.6rem; }
.hg-techneart-links { display:flex; flex-wrap:wrap; gap:.5rem 1rem; font-size:.75rem; }
.hg-techneart-links a { color:#36572e; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.hg-video-modal { position:fixed; inset:0; margin:auto; width:min(1000px,94vw); max-width:94vw; height:fit-content; max-height:calc(100dvh - 2rem); padding:0; overflow:auto; border:1px solid #bba36a; border-radius:14px; background:#102a1e; color:#fff8e6; box-shadow:0 20px 80px #0009; }
.hg-video-modal::backdrop { background:#06170dd9; }
.hg-video-modal-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; }
.hg-video-modal-top h2 { margin:0; font-size:clamp(16px,2vw,22px); line-height:1.3; color:#fff8e6; }
.hg-video-modal-top h2::after { display:none; }
.hg-video-modal-close { flex-shrink:0; padding:8px 12px; border:1px solid #d4bd8777; border-radius:6px; background:transparent; color:#fff8e6; cursor:pointer; font-size:14px; }
.hg-video-modal-close span { margin-left:7px; font-size:20px; vertical-align:middle; }
.hg-video-modal-close:hover { background:#d4bd871c; }
.hg-video-modal a:focus-visible,.hg-video-modal button:focus-visible { outline:3px solid #d4bd87; outline-offset:3px; }
.hg-video-player { width:100%; aspect-ratio:16/9; background:#000; }
.hg-video-player iframe { display:block; width:100%; height:100%; border:0; }
.hg-video-modal-footer { margin:0; padding:.75rem 1.25rem; text-align:right; font-size:13px; }
.hg-video-modal-footer a { color:#e8d5a7; }
@media(max-width:650px) { .hg-techneart-card { grid-template-columns:1fr; } .hg-techneart-copy { padding:1.25rem; } .hg-video-modal-top { padding:.8rem; gap:.5rem; } .hg-video-modal-close { padding:6px 9px; } }

.hg-techneart-preview > img { margin:0 !important; padding:0; border:0; }
.hg-techneart-preview .hg-techneart-play,.hg-techneart-preview .hg-techneart-watch { color:#fff8e6 !important; }
.hg-techneart-copy .hg-techneart-links a { color:#36572e; }
.hg-video-modal .hg-video-modal-footer a { color:#e8d5a7 !important; }

/* TECHN&ART uses the supplied reference image without changing the source. */
.hg-get-involved { scroll-margin-top:120px; margin:2.5rem 0; }
.hg-get-involved > h2 { margin:0 0 1rem; }
.hg-techneart-invitation { max-width:900px; }
.hg-get-involved .hg-techneart-card { width:100%; max-width:1100px; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:stretch; margin-top:1.25rem; }
.hg-techneart-media { display:flex; flex-direction:column; justify-content:center; padding:1rem; gap:1rem; background:#eae6d8; min-width:0; }
.hg-techneart-research { display:block; overflow:hidden; border:1px solid #d9c9a2; border-radius:8px; background:#fff; }
.hg-techneart-research > img { display:block; width:100%; height:auto; margin:0 !important; border:0; border-radius:0; box-shadow:none; }
.hg-techneart-media .hg-techneart-preview { aspect-ratio:2.8/1; border-radius:8px; }
.hg-techneart-media .hg-techneart-play { width:44px; height:44px; left:32px; top:50%; transform:translateY(-50%); }
.hg-techneart-media .hg-techneart-watch { left:84px; right:8px; top:50%; bottom:auto; transform:translateY(-50%); font-size:13px; }
.hg-techneart-copy h3 { margin:0 0 1rem; font-size:1.45rem; line-height:1.3; }
.hg-techneart-copy .hg-techneart-context { padding-top:.9rem; border-top:1px solid #d9c9a2; color:#4b5b43; }
main > section .articles article.hg-resource-card-techneart figure img { object-fit:cover; object-position:center bottom; }
.hg-home-gallery-item[data-hg-kind="techneart"] > a > img { object-fit:contain; object-position:center; background:transparent; padding:6px; box-sizing:border-box; }
.hg-techneart-research:focus-visible { outline:3px solid #b99a59; outline-offset:3px; }
@media(max-width:650px) { .hg-get-involved .hg-techneart-card { grid-template-columns:1fr; } }

/* Two Results panels share one page and an accessible tab bar. */
.hg-results-sections { display:flex; flex-wrap:wrap; gap:.6rem; margin:0 0 1.8rem; }
main .hg-results-sections a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:.7rem 1rem; border:1px solid #b99a59; border-radius:7px; color:#36572e; background:transparent; font-size:.8rem; line-height:1.4; text-decoration:none; }
main .hg-results-sections a[aria-selected="true"],main .hg-results-sections a:hover { color:#fff8e6; background:#36572e; }
main .hg-results-sections a:focus-visible { outline:3px solid #987b3e; outline-offset:3px; }
.hg-results-panel { scroll-margin-top:120px; }
.hg-results-panel[hidden] { display:none !important; }
.hg-results-panel:focus-visible { outline:2px solid #b99a59; outline-offset:5px; }
.hg-results-panel .newsletter-list { max-width:1040px; margin:2rem auto; }
@media(max-width:720px) {
 header input:checked + nav { max-height:calc(100dvh - var(--altura-barra-header)); overflow-y:auto; }
}

/* Home has one continuous panorama behind the menu/logo and carousel. */
.hg-home-hero { position:relative; width:100%; background:#153827 url('category-banners/home-heritage-hero-20261016-v2.webp') center / cover no-repeat; }
.hg-home-hero > header { position:relative; top:0; width:100%; background:transparent; z-index:1000; }
.hg-home-hero > header a { text-shadow:0 1px 5px #071b10aa; }
.hg-home-hero .hg-home-gallery { width:100%; height:300px; max-height:none; margin:0; padding-top:16px; padding-bottom:24px; background:transparent; }
.hg-home-hero .hg-home-gallery button.hg-home-gallery-toggle { top:-15px; z-index:1001; }
@media(max-width:720px) {
 .hg-home-hero { padding-top:var(--altura-barra-header); background-position:40% center; }
 .hg-home-hero > header { position:fixed; left:0; right:0; min-height:var(--altura-barra-header); }
 .hg-home-hero > header > div { height:var(--altura-barra-header); }
 .hg-home-hero > header h1 { display:flex; align-items:center; min-height:var(--altura-barra-header); margin:0; transform:none; background-position:12px center; }
 .hg-home-hero > header h1 a { margin-top:0; }
 body.home.sticky .hg-home-hero > header { background:#183b2bf5; }
 .hg-home-hero .hg-home-gallery { height:280px; }
 .hg-home-hero:has(#hamburguer:checked) .hg-home-gallery-toggle { visibility:hidden; }
}
