/* Event promotions shared by the main MESTO pages. */
/* One continuous photograph behind the header and the page content. */
.home-hero { position: relative; isolation: isolate; overflow: hidden; }
#wrapper > .bg, #wrapper > .bg.fixed {
 position: absolute; inset: 0; width: 100%; height: 100%;
 transform: none !important;
 background-image: linear-gradient(#0002, #0002), url("../../images/bg.jpg");
 background-position: center top;
 background-size: 100% 100%, 100% var(--event-photo-height, 119.05vw);
 background-repeat: no-repeat;
 background-attachment: scroll;
}
.home-hero #intro.hidden { opacity: 1; visibility: visible; transform: none; }
#intro + #header { height: 0; margin-top: 0; padding: 0; }
#intro + #header .logo { display: none; }
#intro { padding: 80px 44px 100px; justify-content: center; min-height: 100svh; }
.hero-layout { width: 100%; max-width: 1040px; display: grid; grid-template-columns: 180px minmax(0,640px) 180px; align-items: center; gap: 20px; }
.hero-copy { grid-column: 2; grid-row: 1; }
#intro .hero-copy h1 { font-size: 5rem; margin-bottom: 38px; }
#intro .hero-copy p { font-size: 1.25rem; line-height: 1.8; margin: 0 0 28px; }
#intro .hero-copy .hero-hours { font-size: 1.25rem; letter-spacing: 0; }
#intro .hero-copy .hero-details { font-size: 1.25rem; max-width: none; margin: 0 auto 36px; }
.hero-promo { display: block; color: #fff !important; border: 1px solid #ffffff38 !important; background: #17121beF; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 60px #0007; text-align: left; transition: transform .2s, border-color .2s; }
.hero-promo:hover { transform: translateY(-5px); border-color: #fff9 !important; }
.hero-promo:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.hero-promo { display: flex; flex-direction: column; align-self: center; }
.hero-promo .promo-copy { display: flex; flex-direction: column; flex: 1; }
.hero-promo .promo-description { flex: 1; }
#intro .hero-copy .actions { justify-content: center; }
.hero-promo.scary { grid-column: 1; grid-row: 1; }
.hero-promo.dracula { grid-column: 3; grid-row: 1; background: #251016f2; }
.promo-art { width: 100%; height: 220px; display: block; object-fit: cover; }
.dracula .promo-art { object-position: center 42%; }
.promo-copy { display: block; padding: 14px 12px 0; }
.promo-date { color: #e7c795; font: 800 10px/1.4 'Source Sans Pro',sans-serif; letter-spacing: .04em; }
#intro .promo-title { display: block; font: 900 18px/1.05 'Source Sans Pro',sans-serif; letter-spacing: .015em; margin: 9px 0; min-height: 38px; text-transform: uppercase; }
.promo-description { display: block; color: #e2d9df; font: 12px/1.5 Arial,sans-serif; min-height:54px; }
.promo-cta { display: flex; justify-content: space-between; border-top: 1px solid #ffffff25; margin-top: 17px; padding: 14px 0; font: 800 12px/1.4 'Source Sans Pro',sans-serif; letter-spacing: .1em; }
@media(max-width:1100px) and (min-width:737px) {
 .hero-layout { grid-template-columns: 150px minmax(0,1fr) 150px; gap: 16px; }
 #intro { padding-left: 24px; padding-right: 24px; }
 .promo-art { height: 185px; }
 #intro .hero-copy p, #intro .hero-copy .hero-hours, #intro .hero-copy .hero-details { font-size: 16px; }
}
@media(max-width:736px) {
 #intro { padding: 78px 20px 32px; min-height: 100svh; justify-content: center; }
 .hero-layout { grid-template-columns: repeat(2,minmax(0,156px)); justify-content: center; gap: 12px; max-width: 480px; }
 .hero-copy { grid-column: 1 / -1; grid-row: 1; }
 #intro .hero-copy h1 { font-size: 58px; margin-bottom: 19px; }
 #intro .hero-copy p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
 #intro .hero-copy .hero-hours { font-size: 12px; }
 #intro .hero-copy .hero-details { font-size: 12px; max-width: 290px; margin-bottom: 25px; }
 #intro .hero-copy .actions { display:none; }
 .hero-promo.scary { grid-column: 1; grid-row: 2; }
 .hero-promo.dracula { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 156px; }
 .hero-promo { align-self: stretch; border-radius: 8px; }
 .promo-art { height: 115px; }
 .promo-copy { padding: 10px 10px 0; }
 .promo-date { font-size: 10px; letter-spacing: .05em; }
 #intro .promo-title { font-size: 16px; min-height: 34px; margin: 8px 0; }
 .hero-promo .promo-description { display: none; }
 .promo-cta { font-size: 10px; padding: 10px 0; margin-top: 4px; }
}
@media(prefers-reduced-motion:reduce) { .hero-promo { transition:none; } }

/* Short, horizontal banners fit beside the logo on the inner pages. */
#header.event-header { height: auto; min-height: 20rem; padding: 36px 24px 6rem; }
.event-header-layout { display: grid; grid-template-columns: 260px minmax(180px,1fr) 260px; gap: 26px; align-items: center; width: 100%; max-width: 1040px; margin: auto; }
.event-header-layout > .logo { grid-column: 2; grid-row: 1; justify-self: center; }
.event-header-layout .hero-promo { flex-direction: row; pointer-events: auto; width: 260px; }
.event-header-layout .promo-art { width: 98px; height: 150px; flex-shrink: 0; }
.event-header-layout .promo-copy { padding: 12px 10px 0; }
.event-header-layout .promo-title { font: 900 16px/1.05 'Source Sans Pro',sans-serif; text-transform: uppercase; letter-spacing: .015em; margin: 9px 0; min-height: 34px; }
.event-header-layout .promo-description { display: none; }
.event-header-layout .promo-title br { display: initial; }
.event-header-layout .promo-cta { font-size: 10px; margin-top: auto; padding: 10px 0; }
.event-header-layout .promo-date { font-size: 10px; letter-spacing: 0; }
@media(max-width:980px) and (min-width:737px) {
 #header.event-header { min-height: 14rem; padding: 24px; }
 .event-header-layout { grid-template-columns: 225px minmax(150px,1fr) 225px; gap: 16px; }
 .event-header-layout .hero-promo { width: 225px; }
 .event-header-layout .promo-art { width: 76px; height: 132px; }
 .event-header-layout > .logo { font-size: 1.8rem; padding: .75rem 1rem; }
}
@media(max-width:736px) {
 #header.event-header { min-height: 0; padding: 64px 20px 32px; }
 .event-header-layout { grid-template-columns: repeat(2,minmax(0,156px)); justify-content: center; gap: 22px 12px; }
 .event-header-layout > .logo { grid-column: 1 / -1; grid-row: 1; }
 .event-header-layout .hero-promo { width: auto; flex-direction: column; }
 .event-header-layout .hero-promo.scary { grid-column: 1; grid-row: 2; }
 .event-header-layout .hero-promo.dracula { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 156px; }
 .event-header-layout .promo-art { width: 100%; height: 115px; }
 .event-header-layout .promo-copy { padding: 10px 10px 0; }
}

/* Public headers between event promotions. */
.hero-layout { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.hero-copy { grid-column: 1; }
.event-header-layout { grid-template-columns: minmax(0, 1fr); }
.event-header-layout > .logo { grid-column: 1; }
#nav ul.links li a { padding-inline: 1.15rem; white-space: nowrap; }
#intro .hero-photo-link { margin: 0 0 30px; }
.hero-photo-link a { display: inline-flex; align-items: center; gap: 1rem; padding: .8rem 1.2rem; border: 1px solid #ffffff80; border-radius: 8px; font: 800 .9rem/1.5 'Source Sans Pro', sans-serif; letter-spacing: .04em; }
.hero-photo-link a:hover { border-color: white; background: #ffffff18; }
.hero-photo-link a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.event-photo-entry { margin: 2rem 0 3rem; scroll-margin-top: 2rem; }
.event-photo-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0 0 1.5rem; border: 1px solid #dedfd4; border-radius: 12px; overflow: hidden; background: #f6f4ed; color: #293d32; }
.event-photo-card img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event-photo-copy { display: flex; flex-direction: column; justify-content: center; gap: .65rem; padding: 1.5rem; font-size: .95rem; line-height: 1.5; }
.event-photo-copy strong { font: 900 1.8rem/1.15 'Source Sans Pro', sans-serif; }
.event-photo-date { font: 800 .75rem/1.5 'Source Sans Pro', sans-serif; letter-spacing: .08em; }
.event-photo-cta { margin-top: .25rem; font-weight: bold; }
.event-photo-card:hover { border-color: #293d32; }
.event-photo-card:focus-visible { outline: 3px solid #293d32; outline-offset: 4px; }
@media (max-width: 736px) {
 .hero-layout { max-width: 480px; }
 .event-photo-card { grid-template-columns: minmax(0, 1fr); }
 .event-photo-copy { padding: 1.25rem; }
}
