.hero-gallery {margin:0}
.hero-gallery .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}
.hero-gallery .hero-image {background:#dedbd3}
.hero-gallery [hidden] {display:none!important}
.hero-slide {position:absolute;inset:0}
.hero-slide img,.hero-slide video {display:block;width:100%;height:100%;object-fit:cover}
.hero-slide video {object-fit:contain;background:#39372f}
.hero-gallery .hero-image-label {font-size:.75rem;letter-spacing:.1em;max-width:70%;color:#323a32}
.hero-gallery .hero-image-label>span:last-child {background:rgba(250,249,246,.78);padding:5px 8px}
.hero-gallery .image-line {background:#7c8173;margin-top:5px}
.hero-gallery .image-cta {font-size:.875rem;gap:25px;min-height:44px}
.hero-gallery .image-caption {font-size:.75rem;letter-spacing:.06em;background:rgba(250,249,246,.8);padding:4px 7px}
.hero-gallery-controls {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-bottom:1px solid var(--line)}
.hero-gallery-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.hero-gallery button {border:0;color:var(--ink);font:inherit;background:transparent;cursor:pointer}
.hero-gallery-tabs button {display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 20px;text-align:left;border-top:3px solid transparent;font-size:.875rem}
.hero-gallery-tabs button:first-child {padding-left:0}
.hero-gallery-tabs button[aria-selected=true] {border-top-color:var(--green)}
.hero-gallery-tabs button:hover {background:var(--light)}
.hero-gallery-tabs small {color:var(--muted);font-size:.75rem}
.hero-gallery button:focus-visible {outline:2px solid var(--ink);outline-offset:-4px}
.hero-gallery-paging {display:flex;align-items:center;gap:12px;padding-left:20px}
.hero-gallery-paging span {font-size:.75rem;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.hero-gallery-paging button {font-size:.875rem;min-height:44px;padding:10px 12px;border:1px solid var(--line)}
.hero-media-note {display:flex;justify-content:space-between;gap:16px;margin:12px 0 0;color:var(--muted);font-size:.75rem;line-height:1.6}
.hero-media-note a {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.hero-video-error {position:absolute;top:20px;left:20px;right:20px;padding:20px;background:var(--paper);font-size:1rem}
.hero-video-error a {text-decoration:underline}
@media(max-width:900px) {
 .hero-gallery-controls {grid-template-columns:1fr}
 .hero-gallery-paging {justify-content:flex-end;padding:10px 0;border-top:1px solid var(--line)}
 .hero-gallery-tabs button {padding:12px;min-height:65px}
}
@media(max-width:600px) {
 .hero-gallery-tabs button {display:block;line-height:1.4;padding:12px 10px}
 .hero-gallery-tabs small {display:block;margin-bottom:5px}
 .hero-gallery .hero-image-label {top:15px;left:14px;font-size:.75rem;max-width:85%;line-height:1.4}
 .hero-gallery .hero-image-label>span:last-child {padding:4px 6px}
 .hero-gallery .image-cta {bottom:18px;left:14px;font-size:.875rem;gap:10px;padding:10px 12px}
 .hero-media-note {flex-wrap:wrap}
}
