/* Baggerstown homepage. Mobile-first; every rule is scoped under .bt-home to avoid collisions with the theme. */
html:has(.bt-home){scroll-behavior:smooth;scroll-padding-top:20px}

.bt-home{--green:#85fe01;--purple:#742f8a;--ink:#080808;--panel:#121212;--white:#fff;--muted:#c7c7c7;background:var(--ink);color:var(--white);font-family:var(--wp--preset--font-family--roboto,Roboto),Roboto,Arial,sans-serif;font-size:17px;line-height:1.6;margin-top:0!important;overflow-x:clip}
.bt-home *{box-sizing:border-box}

/* Neutralise theme / block-layout defaults inside the page. */
.bt-home :where(.wp-block-group,.wp-block-buttons)>*{margin-block-start:0;margin-block-end:0}
.bt-home p{margin:0 0 16px}
.bt-home h2,.bt-home h3{font-family:inherit;color:inherit;font-weight:700;line-height:1;margin:0;letter-spacing:-.03em;text-transform:uppercase}
.bt-home a:not(.wp-element-button){color:inherit;font-family:inherit;text-decoration:none}
.bt-home a:focus-visible,.bt-home button:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.bt-home img{display:block;max-width:100%;height:auto}
.bt-home figure.wp-block-image{margin:0}
.bt-home mark{background:transparent!important;color:inherit}
.bt-home h2 mark{color:var(--green)!important}
.bt-home strong{font-weight:700}

.bt-home .wrap{width:calc(100% - 36px);max-width:1240px;margin-left:auto;margin-right:auto}
.bt-home .section{padding-top:64px;padding-bottom:64px}

/* Buttons */
.bt-home .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.bt-home .wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 22px;background:var(--green);color:#080808;border:2px solid var(--green);border-radius:0;font-family:inherit;font-size:15px;font-weight:700;letter-spacing:.06em;line-height:1.2;text-transform:uppercase;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.bt-home .wp-block-button .wp-block-button__link:hover{background:#fff;border-color:#fff;color:#080808}
.bt-home .wp-block-button .wp-block-button__link:after{content:none}
.bt-home .wp-block-button.is-purple .wp-block-button__link{background:var(--purple);border-color:var(--purple);color:#fff}
.bt-home .wp-block-button.is-purple .wp-block-button__link:hover{background:#fff;border-color:#fff;color:var(--purple)}
.bt-home .wp-block-button.is-outline .wp-block-button__link{background:transparent;border-color:#fff;color:#fff}
.bt-home .wp-block-button.is-outline .wp-block-button__link:hover{background:#fff;color:#080808}
.bt-home .wp-block-button.is-black .wp-block-button__link{background:#080808;border-color:#080808;color:#fff}
.bt-home .wp-block-button.is-black .wp-block-button__link:hover{background:var(--green);border-color:var(--green);color:#080808}

/* Shared type */
.bt-home .eyebrow{color:var(--green);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 0 14px}
.bt-home h2{font-size:clamp(40px,10vw,76px)}
.bt-home .lead{font-size:18px;color:#e3e3e3;max-width:600px;margin-top:22px}

/* 01 Quick actions bar */
.bt-home .quick-bar{background:var(--ink);border-bottom:1px solid #2a2a2a;padding:14px 0}
.bt-home .quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;align-items:center}
.bt-home .quick-grid>.wp-block-buttons{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bt-home .quick-grid>.wp-block-buttons .wp-block-button__link{width:100%;font-size:13px;padding:12px 10px;letter-spacing:.04em}
.bt-home .qa{margin:0;font-size:14px;line-height:1.35}
.bt-home .qa strong{display:block;color:var(--green);font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:2px}
.bt-home .qa a{text-decoration:underline!important;text-underline-offset:4px;text-decoration-color:#555!important}
.bt-home .qa a:hover{color:var(--green)}

/* 02 Hero video (Custom HTML block: <div class="bt-hero-video"><iframe ...></iframe></div>, Bunny Stream player) */
.bt-home .hero-video{position:relative;background:#000;margin:0}
.bt-home .hero-video .bt-hero-video{position:relative;height:56.25vw;max-height:78vh;overflow:hidden}
.bt-home .hero-video .bt-hero-video iframe{position:absolute;top:50%;left:50%;width:100%;height:56.25vw;min-height:100%;transform:translate(-50%,-50%);border:0}
/* Sound / pause buttons added by hero-video.js */
.bt-home .bt-video-controls{position:absolute;right:14px;top:14px;z-index:2;display:flex;gap:8px}
.bt-home .bt-video-btn{min-height:44px;padding:10px 16px;border:2px solid #fff;background:rgba(8,8,8,.75);color:#fff;font:700 13px/1 var(--wp--preset--font-family--roboto,Roboto),Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.bt-home .bt-video-btn:hover{background:var(--green);border-color:var(--green);color:#080808}
.bt-home .bt-video-sound{background:var(--green);border-color:var(--green);color:#080808}
.bt-home .bt-video-sound[aria-pressed="true"]{background:rgba(8,8,8,.75);border-color:#fff;color:#fff}
@media(min-width:720px){.bt-home .bt-video-controls{right:28px;top:24px}}

/* 03 Restaurant */
.bt-home .restaurant-grid{display:grid;gap:36px;align-items:center}
.bt-home .restaurant .wp-block-buttons{margin-top:28px}

/* Food carousel (Gallery block with class bt-carousel; carousel.js adds autoplay + controls) */
.bt-home .bt-carousel-wrap{position:relative}
.bt-home .bt-carousel.wp-block-gallery{display:flex!important;flex-wrap:nowrap!important;gap:0!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;margin:0;border:3px solid var(--purple);box-shadow:10px 10px 0 #742f8a80}
.bt-home .bt-carousel.wp-block-gallery::-webkit-scrollbar{display:none}
.bt-home .bt-carousel.wp-block-gallery figure.wp-block-image:not(#individual-image){flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important;scroll-snap-align:start;aspect-ratio:4/3}
.bt-home .bt-carousel.wp-block-gallery figure.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.bt-home .bt-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.bt-home .bt-carousel-dots{display:flex;gap:8px}
.bt-home .bt-carousel-dots button{width:28px;height:6px;padding:0;border:0;background:#444;cursor:pointer}
.bt-home .bt-carousel-dots button[aria-current="true"]{background:var(--green)}
.bt-home .bt-carousel-arrows{display:flex;gap:8px}
.bt-home .bt-carousel-arrows button{width:44px;height:44px;border:2px solid #fff;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.bt-home .bt-carousel-arrows button:hover{background:var(--green);border-color:var(--green);color:#080808}

/* 04 Gaming */
.bt-home .games{background:linear-gradient(180deg,rgba(18,18,18,0) 0,rgba(18,18,18,0) 30%,var(--panel) 55%),url('../baggerstown-events/assets/graffiti.png') center top/100% auto no-repeat,var(--panel)}
.bt-home .section-heading{margin-bottom:36px}
.bt-home .game-grid{display:grid;gap:28px}
.bt-home .game-card{background:#080808;border:1px solid #333;border-top:6px solid var(--green);display:flex;flex-direction:column}
.bt-home .game-card:nth-child(2){border-top-color:var(--purple)}
.bt-home .game-card>figure img{width:100%;aspect-ratio:3/2;object-fit:cover}
.bt-home .game-card-body{padding:26px 22px 28px;display:flex;flex-direction:column;flex:1}
.bt-home .game-card h3{font-size:30px}
.bt-home .game-card p{color:#d5d5d5;margin-top:14px;flex:1}
.bt-home .game-card p strong{color:var(--green)}
.bt-home .game-card .wp-block-buttons{margin-top:10px}

.bt-home .more-play{margin-top:56px}
.bt-home .more-play h3{font-size:28px}
.bt-home .more-play>p{color:var(--muted);margin:10px 0 24px}
.bt-home .play-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bt-home .play-card{background:#080808;border:1px solid #333;border-left:4px solid var(--green);padding:18px 16px}
.bt-home .play-card figure.wp-block-image img{width:36px;height:36px}
.bt-home .play-card h4{font-family:inherit;font-size:18px;font-weight:700;line-height:1.15;margin:12px 0 4px;color:#fff;text-transform:uppercase;letter-spacing:-.01em}
.bt-home .play-card p{margin:0;font-size:14px;color:#d5d5d5}
.bt-home .play-card p.walk-in{margin-top:6px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green)}
.bt-home .play-card:last-child:nth-child(odd){grid-column:1/-1}

/* 05 Private events */
.bt-home .events{background:var(--purple);position:relative;overflow:hidden}
.bt-home .split{display:grid;gap:36px;align-items:center}
.bt-home .split>figure img{width:100%;aspect-ratio:3/2;object-fit:cover}
.bt-home .events .split>figure{box-shadow:10px 10px 0 var(--green)}
.bt-home .events .eyebrow{color:#fff}
.bt-home .events .lead strong{color:#fff}
.bt-home .events .wp-block-buttons,.bt-home .careers .wp-block-buttons{margin-top:28px}

/* 06 Careers */
.bt-home .careers .split>figure{box-shadow:-10px 10px 0 var(--purple)}
.bt-home .careers .lead strong{color:var(--green)}

/* Newsletter (keeps the header "Join Our List" link working) */
.bt-home .join-list{border-top:1px solid #2a2a2a;text-align:center}
.bt-home .join-list h2{font-size:clamp(32px,7vw,48px)}
.bt-home .join-list .lead{margin:14px auto 24px}
.bt-home .join-list .forminator-guttenberg,.bt-home .join-list .forminator-ui{max-width:560px;margin-left:auto;margin-right:auto}

@media(min-width:720px){
  .bt-home .wrap{width:calc(100% - 64px)}
  .bt-home .section{padding-top:90px;padding-bottom:90px}
  .bt-home .quick-grid{display:flex;justify-content:space-between;gap:24px}
  .bt-home .quick-grid>.wp-block-buttons{display:flex;order:2;flex-wrap:nowrap}
  .bt-home .quick-grid>.wp-block-buttons .wp-block-button__link{width:auto;padding:12px 20px}
  .bt-home .qa-phone{order:1}
  .bt-home .qa-address{order:3;text-align:right}
  .bt-home .game-grid{grid-template-columns:1fr 1fr}
  .bt-home .play-grid{grid-template-columns:repeat(3,1fr)}
  .bt-home .play-card:last-child:nth-child(odd){grid-column:auto}
}
@media(min-width:1000px){
  .bt-home{font-size:18px}
  .bt-home .restaurant-grid{grid-template-columns:1fr 1.1fr;gap:64px}
  .bt-home .split{grid-template-columns:1.1fr 1fr;gap:64px}
  .bt-home .careers .split>figure{order:2}
  .bt-home .play-grid{grid-template-columns:repeat(5,1fr)}
}
@media(prefers-reduced-motion:reduce){html:has(.bt-home){scroll-behavior:auto}.bt-home .bt-carousel.wp-block-gallery{scroll-behavior:auto}.bt-home *{transition:none!important}}
