/*
Theme Name: The Boat Inn – Birdingbury Wharf
Theme URI: https://www.theboatinnrugby.com
Author: The Boat Inn
Description: Block theme for The Boat Inn – Birdingbury Wharf. Homepage with log fire video, food, guests, stopovers and parties. Every section is editable in Appearance › Editor.
Version: 1.1.3
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: boatinn
*/

/* ---------- Header ---------- */
.bi-header{background:#16110D;color:#FFF4E6;padding:18px 32px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.bi-header a{color:#FFF4E6;text-decoration:none}
.bi-header .bi-brand{display:flex;align-items:center;gap:14px;margin:0}
.bi-header .bi-brand img{width:64px;height:64px;display:block}
.bi-header .bi-brand-name{font-family:var(--wp--preset--font-family--fraunces);font-size:23px;font-weight:600;line-height:1.1;display:block}
.bi-header .bi-brand-sub{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#F1C9A5;display:block}
.bi-header .wp-block-navigation{flex:1 1 360px;justify-content:center;font-size:15px;font-weight:500}
.bi-header .wp-block-navigation__responsive-container.is-menu-open{background:#16110D;color:#FFF4E6}
.home .bi-header-wrap{position:absolute;top:auto;left:0;right:0;z-index:5}
.home .bi-header{background:transparent}
.bi-topbar{background:#A8341F;color:#FFF4E6;font-size:14px;text-align:center;padding:9px 24px;margin:0}
.bi-topbar a{color:#FFF4E6;font-weight:700}

/* ---------- Buttons ---------- */
.wp-block-button.bi-btn-ember .wp-block-button__link{background:#E0662F;color:#fff;border-radius:999px;font-weight:700;padding:16px 30px}
.wp-block-button.bi-btn-ember .wp-block-button__link:hover{background:#C2501F}
.wp-block-button.bi-btn-ghost .wp-block-button__link{background:transparent;color:#FFF4E6;border:2px solid rgba(255,244,230,.75);border-radius:999px;font-weight:700;padding:14px 28px}
.wp-block-button.bi-btn-ink .wp-block-button__link{background:#16110D;color:#F5EEE2;border-radius:999px;font-weight:700;padding:15px 26px}
.wp-block-button.bi-btn-outline .wp-block-button__link{background:transparent;color:#16110D;border:2px solid #16110D;border-radius:999px;font-weight:700;padding:13px 24px}
.bi-header .wp-block-button .wp-block-button__link{padding:13px 22px;font-size:15px}

/* ---------- Shared ---------- */
.bi-wrap{max-width:1280px;margin-left:auto!important;margin-right:auto!important;padding-left:32px;padding-right:32px;box-sizing:border-box}
.bi-eyebrow{font-size:13px!important;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:#C2501F}
h1 em,h2 em{font-style:italic;font-weight:500}
.bi-row{display:flex;flex-wrap:wrap;gap:16px}
.bi-split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.bi-split>*{flex:1 1 440px;margin:0!important}
.bi-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.bi-head>*{margin:0!important}

/* ---------- Hero ---------- */
.bi-hero{position:relative;min-height:780px;display:flex;flex-direction:column;justify-content:flex-end;background:#16110D;color:#FFF4E6;overflow:hidden;margin:0!important;padding:0!important}
.bi-hero-media{position:absolute;inset:0}
.bi-hero-media video{width:100%;height:100%;object-fit:cover;display:block}
.bi-hero-media::after{content:"";position:absolute;inset:0;background:rgba(18,12,8,.58)}
.bi-hero-inner{position:relative;z-index:1;padding-top:150px;padding-bottom:48px;display:flex;flex-direction:column;gap:24px;width:100%}
.bi-hero-inner>*{margin:0!important}
.bi-hero h1{font-size:clamp(48px,7vw,92px);line-height:.98;max-width:860px;color:#FFF4E6}
.bi-hero h1 em{color:#F6B07A}
.bi-hero .bi-eyebrow{color:#F1C9A5}
.bi-hero-lead{font-size:21px;line-height:1.55;max-width:600px;color:#F3E6D6}
.bi-hero-strip{position:relative;z-index:1;margin:0!important;border-top:1px solid rgba(255,244,230,.2);background:rgba(18,12,8,.35);padding:18px 32px;font-size:15px;font-weight:500;color:#F3E6D6;text-align:center;word-spacing:2px}
.bi-hero-strip a{color:#FFF4E6;font-weight:700}

/* ---------- Offers ---------- */
.bi-offers{padding-top:72px}
.bi-offer{flex:1 1 300px;border-top:3px solid #E0662F;padding-top:22px;margin:0!important}
.bi-offer>*{margin:0 0 8px!important}
.bi-offer h3{font-size:28px}
.bi-offer a{color:#16110D;text-decoration:none}
.bi-offer a:hover{color:#C2501F}

/* ---------- Food grid ---------- */
.bi-food{padding-top:96px;padding-bottom:40px}
.bi-food h2{font-size:clamp(40px,5vw,64px);line-height:1;max-width:720px}
.bi-food h2 em{color:#C2501F}
.bi-mosaic{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px!important}
.bi-mosaic .bi-tile{position:relative;border-radius:20px;overflow:hidden;margin:0!important}
.bi-mosaic .bi-tile img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
.bi-mosaic .bi-tile figcaption{position:absolute;left:16px;bottom:16px;margin:0;background:#16110D;color:#FFF4E6;padding:8px 14px;border-radius:999px;font-weight:700;font-size:15px}
.bi-mosaic .bi-tile.bi-big{flex:1.4 1 420px;min-height:620px}
.bi-mosaic .bi-tile.bi-big figcaption{left:0;right:0;bottom:0;border-radius:0;padding:28px;background:rgba(18,12,8,.6);font-family:var(--wp--preset--font-family--fraunces);font-size:32px;font-weight:600}
.bi-mosaic .bi-small{flex:1 1 420px;display:flex;flex-wrap:wrap;gap:16px;margin:0!important}
.bi-mosaic .bi-small .bi-tile{flex:1 1 200px;min-height:302px}

/* ---------- Guests ---------- */
.bi-guests{padding-top:56px;padding-bottom:56px}
.bi-guests h2{font-size:clamp(36px,4.5vw,56px);line-height:1.02;max-width:760px}
.bi-guests h2 em{color:#C2501F}
.bi-guests .bi-row{margin-top:32px!important}
.bi-guests figure{margin:0!important;height:440px;border-radius:20px;overflow:hidden}
.bi-guests figure img{width:100%;height:100%;object-fit:cover;display:block}
.bi-guests .g1{flex:2 1 520px}.bi-guests .g2{flex:1 1 280px}.bi-guests .g3{flex:1 1 360px}

/* ---------- Stopovers ---------- */
.bi-stop-wrap{padding-top:56px;padding-bottom:56px}
.bi-stop{background:#1E3B37;color:#F5EEE2;border-radius:28px;overflow:hidden;display:flex;flex-wrap:wrap-reverse;margin:0!important}
.bi-stop-text{flex:1 1 460px;padding:64px;display:flex;flex-direction:column;gap:18px;justify-content:center;margin:0!important;box-sizing:border-box}
.bi-stop-text>*{margin:0!important}
.bi-stop h2{font-size:clamp(36px,4vw,52px);line-height:1.02;color:#FFF4E6}
.bi-stop h2 em{color:#F6B07A}
.bi-stop .bi-eyebrow{color:#F1C9A5}
.bi-stop-text p{color:#DCE5E1;font-size:18px;line-height:1.6}
.bi-stop .bi-chips{color:#F5EEE2;font-weight:500;font-size:15px}
.bi-stop figure{flex:1 1 460px;max-width:620px;min-height:560px;margin:0!important}
.bi-stop figure img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- Parties ---------- */
.bi-parties{padding-top:56px;padding-bottom:96px}
.bi-parties figure{max-width:580px;height:480px;border-radius:24px;overflow:hidden}
.bi-parties figure img{width:100%;height:100%;object-fit:cover;display:block}
.bi-parties h2{font-size:clamp(36px,4vw,52px);line-height:1.02}
.bi-parties h2 em{color:#C2501F}
.bi-parties .wp-block-group>*{margin:0 0 18px!important}

/* ---------- Reviews ---------- */
.bi-reviews{background:#EADFCC;margin:0!important;padding:64px 0}
.bi-reviews h2{font-size:40px}

/* ---------- Find us ---------- */
.bi-find{padding-top:96px;padding-bottom:96px}
.bi-find h2{font-size:48px;line-height:1.05}
.bi-hours{background:#fff;border-radius:18px;padding:24px 28px;font-size:16px;line-height:1.7}
.bi-hours h3{font-size:22px;margin:0 0 4px}
.bi-map{border-radius:24px;overflow:hidden;min-height:440px}
.bi-map iframe{width:100%;height:100%;min-height:440px;border:0;display:block}

/* ---------- Footer ---------- */
.bi-footer{background:#16110D;color:#E6D9C6;padding:56px 0 32px;margin:0!important}
.bi-footer a{color:#FFF4E6}
.bi-footer h2{font-size:30px;color:#FFF4E6}
.bi-footer .bi-small-print{font-size:13px;color:#A99A88}

/* ---------- Small screens ---------- */
@media (max-width:700px){
  .bi-wrap{padding-left:20px;padding-right:20px}
  .bi-header{padding:12px 20px;flex-wrap:nowrap;gap:12px}
  .bi-header .wp-block-buttons{display:none}
  .bi-header .wp-block-navigation{flex:0 0 auto;margin-left:auto}
  .bi-header .bi-brand img{width:48px;height:48px}
  .bi-header .bi-brand-name{font-size:20px}
  .bi-topbar{font-size:13px;padding:8px 16px}
  .bi-hero{min-height:680px}
  .bi-hero-inner{padding-top:190px}
  .bi-hero-lead{font-size:18px}
  .bi-stop-text{padding:36px 24px}
  .bi-mosaic .bi-tile.bi-big{min-height:420px}
  .bi-stop figure{min-height:320px}
  .bi-parties figure,.bi-guests figure{height:300px}
}
@media (prefers-reduced-motion:reduce){.bi-hero-media video{display:none}.bi-hero-media{background:#16110D url(assets/img/fire-poster.webp) center/cover}}

/* No gaps between header, page and footer */
.wp-site-blocks{padding-top:0;padding-bottom:0}
.wp-site-blocks>*+*{margin-block-start:0}
.home .bi-header-wrap{top:0}

/* ---------- Inner pages ---------- */
.bi-page{margin:0!important}
.bi-page .wp-block-post-content>*{margin-top:0;margin-bottom:0}
.bi-prose{padding-top:56px;padding-bottom:56px;max-width:1000px}
.bi-prose h1{font-size:clamp(36px,5vw,56px);margin:0 0 20px}
.bi-prose h2{font-size:clamp(26px,3vw,36px);margin:36px 0 12px}
.bi-prose h3{font-size:22px;margin:24px 0 8px}
.bi-prose p,.bi-prose li{font-size:17px;line-height:1.7;margin:0 0 14px}
.bi-prose a{color:#C2501F}
.bi-eye{font-size:13px!important;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:#C2501F}
.bi-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:24px 0}
.bi-gallery figure{margin:0;border-radius:14px;overflow:hidden}
.bi-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.bi-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.bi-btn{display:inline-flex;align-items:center;min-height:48px;padding:12px 24px;border-radius:999px;background:#E0662F;color:#fff!important;font-weight:700;text-decoration:none}
.bi-btn:hover{background:#C2501F}
