/*
Theme Name: F3 Sports.Social
Author: Samyog
Description: Custom WordPress theme for F3 Sports.Social — a tropical, open-air Waterfront sports venue at Darwin's Lagoon. Atmosphere-first, mobile-first, with a client-managed What's On events calendar, persistent Book a Table + Contact CTAs, a Live Sport feed slot (Full House Venues), and an Events & Functions enquiry flow.
Version: 3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: f3sportssocial
*/

/* ============================================================
   F3 SPORTS.SOCIAL — BRAND STYLES
   Palette sampled from the 2026 logo:
   navy #18394A · gold #CFA25C · slate #76A0BD · warm white #F9F2E9
   ============================================================ */

/* Brand fonts (proprietary — supplied by client) */
@font-face {
  font-family: 'FX Neofara';
  src: url('assets/fonts/Fx-Neofara-Regular.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Authenia Textured';
  src: url('assets/fonts/Authenia-Textured.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #18394A;
  --navy-deep: #122A38;
  --gold: #CFA25C;
  --gold-bright: #DDB574;
  --gold-ink: #A57C34;
  --slate: #76A0BD;
  --slate-soft: #a7c2d3;
  --sand: #F9F2E9;
  --paper: #ffffff;
  --ink: #18394A;
  --soft: #6c747b;
  --line: rgba(48, 67, 77, 0.14);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--sand);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--navy-deep); }

.f3-container { max-width: var(--maxw); margin: 0 auto; padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }

/* skip link */
.f3-skip { position: absolute; left: -9999px; top: 0; background: var(--navy-deep); color: #F9F2E9; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.f3-skip:focus { left: 0; }

/* ---------- Typography helpers ---------- */
.f3-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.f3-eyebrow--light { color: var(--gold-bright); }
.f3-eyebrow--navy { color: var(--navy-deep); }
.f3-kicker { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.f3-serif { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-style: italic; font-weight: 800; }

h1, h2, h3, h4 { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-weight: 700; font-style: italic; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.f3-h1 { font-size: clamp(38px, 6vw, 68px); }
.f3-lead { color: var(--soft); font-size: 18px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.f3-btn { display: inline-block; border: none; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: none; text-align: center; transition: background .15s ease, color .15s ease, transform .15s ease; }
.f3-btn-gold { background: var(--gold); color: var(--navy-deep); font-weight: 700; padding: 14px 26px; box-shadow: 0 6px 16px -8px rgba(208,158,78,0.9); }
.f3-btn-gold:hover { background: #B0863F; }
.f3-btn-navy { background: var(--navy); color: var(--paper); padding: 12px 22px; }
.f3-btn-navy:hover { background: var(--navy-deep); }
.f3-btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); padding: 13px 21px; }
.f3-btn-outline:hover { background: var(--navy); color: var(--paper); }
.f3-btn-ghost { background: rgba(255,255,255,0.06); color: #F9F2E9; border: 1px solid rgba(255,255,255,0.45); padding: 14px 27px; }
.f3-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.f3-btn-dark { background: var(--navy-deep); color: #F9F2E9; font-weight: 700; padding: 14px 27px; }
.f3-btn-dark:hover { background: #0C1C27; }
.f3-btn-lg { font-size: 16px; padding: 16px 30px; }

/* ---------- Header ---------- */
.f3-header { position: sticky; top: 0; z-index: 50; background: rgba(249,242,233,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.f3-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.f3-logo img { height: 36px; width: auto; }
.f3-nav { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.f3-nav li { list-style: none; margin: 0; padding: 0; }
.f3-nav li::marker, .f3-nav li::before { content: none; }
.f3-mobilenav ul { list-style: none; margin: 0; padding: 0; }
.f3-mobilenav li { list-style: none; }
.f3-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.f3-nav a:hover { color: var(--gold-ink); }
.f3-nav a.is-active { font-weight: 700; color: var(--navy-deep); border-bottom-color: var(--gold); }
.f3-header__cta { display: flex; align-items: center; gap: 10px; }
.f3-header__cta .f3-btn-outline { display: inline-block; }
.f3-burger { display: none; flex-direction: column; gap: 4px; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; }
.f3-burger span { display: block; width: 18px; height: 2px; background: var(--navy); }

/* ---------- Mobile nav ---------- */
.f3-mobilenav { position: fixed; inset: 0; z-index: 60; background: var(--navy-deep); padding: 26px clamp(18px,5vw,40px); display: none; flex-direction: column; }
.f3-mobilenav.is-open { display: flex; animation: f3Fade .25s ease; }
.f3-mobilenav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.f3-mobilenav__top img { height: 30px; width: auto; }
.f3-mobilenav__close { border: none; background: none; color: #F9F2E9; font-size: 30px; cursor: pointer; line-height: 1; }
.f3-mobilenav a { text-decoration: none; color: #F9F2E9; font-family: 'FX Neofara', 'DM Sans', sans-serif; font-size: 32px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.f3-mobilenav__actions { margin-top: auto; display: flex; gap: 12px; padding-top: 28px; }
.f3-mobilenav__actions .f3-btn { flex: 1; padding: 15px; }

/* ---------- Hero ---------- */
.f3-hero { position: relative; height: min(88vh, 780px); min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.f3-hero__bg { position: absolute; inset: 0; background: linear-gradient(157deg,#76A0BD 0%,#c4d6e0 24%,#EAD9B8 62%,#CFA25C 108%); animation: f3Drift 20s ease-in-out infinite alternate; }
.f3-hero__weave { position: absolute; inset: 0;  }
.f3-hero__scrim { position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 100%, rgba(249,242,233,0.55) 0%, rgba(249,242,233,0) 55%); }
.f3-hero__content { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 clamp(18px,4vw,40px) clamp(42px,7vw,84px); }
.f3-hero__inner { max-width: 780px; animation: f3Rise .9s cubic-bezier(.2,.7,.2,1) both; }
.f3-hero h1 { font-family: 'Authenia Textured', cursive; font-style: normal; font-weight: 700; color: var(--navy-deep); font-size: clamp(40px,8vw,85px); line-height: 0.92; letter-spacing: 0; margin-top: 12px; }
.f3-hero__lead { color: rgba(18,42,56,0.82); font-size: 15px; line-height: 1.6; max-width: 540px; margin: 20px 0 0; }
.f3-edw { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-family: 'FX Neofara', 'DM Sans', sans-serif; font-style: italic; font-weight: 800; font-size: clamp(16px,2vw,22px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy); }
.f3-edw span.dot { color: var(--gold-ink); }
.f3-photo-tag { position: absolute; top: 18px; left: 18px; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.08em; color: rgba(18,42,56,0.62); background: rgba(249,242,233,0.55); padding: 5px 10px; border-radius: 6px; }
.f3-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* hero variants for inner page headers */
.f3-pagehero { position: relative; overflow: hidden; }
.f3-pagehero__bg-navy { position: absolute; inset: 0; background: linear-gradient(125deg,#18394A,#122A38 130%); }
.f3-pagehero__bg-warm { position: absolute; inset: 0; background: linear-gradient(155deg,#76A0BD,#DDB574 55%,#CFA25C 120%); }
.f3-pagehero__weave { position: absolute; inset: 0;  }
.f3-pagehero__bg-navy + .f3-pagehero__weave { display: none; }
.f3-pagehero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,90px) clamp(18px,4vw,40px); }
.f3-pagehero--short { height: min(58vh,460px); min-height: 340px; display: flex; align-items: flex-end; }
.f3-pagehero--short .f3-pagehero__inner { padding-bottom: clamp(32px,5vw,56px); }

/* ---------- Sections ---------- */
.f3-section { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,90px) clamp(18px,4vw,40px); }
.f3-section.f3-split { padding-top: clamp(36px,5vw,60px); padding-bottom: clamp(36px,5vw,60px); }
.f3-section--tight { padding-top: clamp(44px,6vw,72px); padding-bottom: 0; }
.f3-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f3-band__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,84px) clamp(18px,4vw,40px); }

.f3-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px,3.5vw,48px); align-items: center; }
.f3-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.f3-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.f3-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.f3-section-head h2 { font-size: clamp(28px,4vw,46px); }
.f3-intro-link { margin-top: 26px; display: inline-block; border: none; background: none; color: var(--navy); font-size: 16px; font-weight: 600; cursor: pointer; padding: 0 0 3px; border-bottom: 2px solid var(--gold); text-decoration: none; }
.f3-intro-link:hover { opacity: .65; }

/* ---------- Photo placeholders ---------- */
.f3-photo { position: relative; border-radius: 18px; overflow: hidden; }
.f3-photo__weave { position: absolute; inset: 0;  }
.f3-photo__label { position: absolute; bottom: 14px; left: 14px; font-family: 'DM Sans', sans-serif; font-size: 11px; color: #F9F2E9; background: rgba(18,42,56,0.45); padding: 5px 10px; border-radius: 6px; z-index: 2; }
.f3-photo--a { background: linear-gradient(150deg,#76A0BD,#CFA25C); }
.f3-photo--b { background: linear-gradient(150deg,#76A0BD,#18394A); }
.f3-photo--c { background: linear-gradient(150deg,#CFA25C,#A57C34); }
.f3-photo--d { background: linear-gradient(150deg,#18394A,#76A0BD); }
.f3-photo--portrait { aspect-ratio: 4/3; max-height: 420px; }
.f3-photo--food { aspect-ratio: 5/4; }
.f3-photo--wide { aspect-ratio: 16/10; }

/* ---------- Cards (Eat Drink Watch + Pathways) ---------- */
.f3-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); }
.f3-card--sand { background: var(--sand); }
a.f3-card { transition: transform .15s ease, box-shadow .15s ease; }
a.f3-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(18,42,56,0.45); }
.f3-card__media { position: relative; height: 170px; }
.f3-card__media--sm { height: 150px; }
.f3-card__word { position: absolute; top: 14px; left: 14px; font-family: 'FX Neofara', 'DM Sans', sans-serif; font-style: italic; font-size: 30px; color: #F9F2E9; }
.f3-card__tag { position: absolute; bottom: 12px; left: 12px; font-family: 'DM Sans', sans-serif; font-size: 10px; color: #F9F2E9; background: rgba(18,42,56,0.4); padding: 4px 8px; border-radius: 5px; }
.f3-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.f3-card__body h3 { font-weight: 600; font-size: 27px; margin: 8px 0; }
.f3-card__body p { color: var(--soft); font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.f3-card__cta { color: var(--navy); font-size: 15px; font-weight: 600; }

/* ---------- Atmosphere strip ---------- */
.f3-atmos { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; }
.f3-atmos__bg { position: absolute; inset: 0; background: linear-gradient(120deg,#76A0BD 0%,#DDB574 55%,#CFA25C 110%); }
.f3-atmos__weave { display: none; }
.f3-atmos__inner { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(56px,9vw,100px) clamp(18px,4vw,40px); text-align: center; }
.f3-atmos__quote { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-style: italic; font-weight: 400; color: var(--navy-deep); font-size: clamp(28px,4.5vw,46px); line-height: 1.2; margin: 20px 0 0; }
.f3-atmos__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- What's On / Events ---------- */
.f3-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 4px; }
.f3-chip { font-size: 14px; font-weight: 600; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(24,57,74,0.2); background: transparent; color: var(--navy); }
.f3-chip.is-active { background: var(--navy); color: var(--sand); border-color: var(--navy); }
.f3-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-top: 28px; }
.f3-event { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.f3-event__media { position: relative; height: 130px; }
.f3-event__type { position: absolute; top: 12px; left: 12px; font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #F9F2E9; padding: 5px 10px; border-radius: 999px; }
.f3-type-sport { background: #18394A; } .f3-pm-sport { background: linear-gradient(150deg,#76A0BD,#18394A); }
.f3-type-activation { background: #A57C34; } .f3-pm-activation { background: linear-gradient(150deg,#CFA25C,#A57C34); }
.f3-type-club { background: #5d7d93; } .f3-pm-club { background: linear-gradient(150deg,#76A0BD,#CFA25C); }
.f3-type-weekly { background: #6c747b; } .f3-pm-weekly { background: linear-gradient(150deg,#18394A,#76A0BD); }
.f3-event__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.f3-event__when { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--soft); letter-spacing: 0.04em; }
.f3-event__body h3 { font-weight: 600; font-size: 25px; line-height: 1.1; margin: 8px 0; }
.f3-event__body p { color: var(--soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.f3-event__cta { align-self: flex-start; }

/* ---------- Live Sport ---------- */
.f3-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; align-items: center; }
.f3-live h1 { color: #F9F2E9; font-size: clamp(38px,6vw,66px); }
.f3-live__meta { color: rgba(249,242,233,0.82); font-size: 19px; margin: 16px 0 0; }
.f3-live__copy { color: rgba(249,242,233,0.68); font-size: 16px; line-height: 1.7; max-width: 480px; margin: 14px 0 0; }
.f3-live__badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
.f3-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.f3-dot--live { animation: f3Pulse 1.6s ease-in-out infinite; }
.f3-dot--idle { background: rgba(24,57,74,0.25); }
.f3-stat { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 26px; }
.f3-stat__num { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-size: 46px; font-weight: 600; color: var(--gold-ink); line-height: 1; }
.f3-stat h3 { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; margin: 12px 0 6px; }
.f3-stat p { color: var(--soft); font-size: 14.5px; line-height: 1.6; margin: 0; }
.f3-feed { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.f3-feed__row { padding: 16px 22px; display: grid; grid-template-columns: 1.6fr 1fr 0.9fr; gap: 12px; align-items: center; }
.f3-feed__head { background: var(--navy-deep); color: #F9F2E9; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.f3-feed__body .f3-feed__row { border-top: 1px solid var(--line); }
.f3-feed__body .f3-feed__row:nth-child(even) { background: rgba(24,57,74,0.02); }
.f3-feed__row.is-live { background: rgba(208,158,78,0.12) !important; }
.f3-feed__match { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.f3-feed__comp, .f3-feed__day { color: var(--soft); font-size: 14px; }
.f3-feed__screen { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--navy); font-weight: 500; }
.f3-devnote { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--soft); margin: 14px 0 0; }

/* ---------- Dining menu ---------- */
.f3-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px,5vw,64px); }
.f3-menu__head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 18px; }
.f3-menu__head h2 { font-weight: 600; font-size: 30px; }
.f3-menu__note { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.f3-menu__item { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.f3-menu__item .name { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.f3-menu__item .desc { color: var(--soft); font-size: 14px; line-height: 1.5; margin: 3px 0 0; }
.f3-menu__item .price { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--gold-ink); white-space: nowrap; }
.f3-menu-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.f3-menu-foot span { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--soft); }

/* ---------- Functions ---------- */
.f3-space { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; overflow: hidden; }
.f3-space__media { position: relative; height: 120px; }
.f3-space__body { padding: 20px; }
.f3-space__body h3 { font-weight: 600; font-size: 23px; margin: 0 0 6px; }
.f3-space__cap { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--gold-ink); }
.f3-space__body p { color: var(--soft); font-size: 14px; line-height: 1.6; margin: 10px 0 0; }
.f3-package { border-radius: 16px; padding: 28px; background: linear-gradient(160deg,#18394A,#122A38); color: #F9F2E9; }
.f3-package__tag { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); }
.f3-package h3 { font-weight: 600; font-size: 26px; margin: 12px 0 14px; }
.f3-package__inc { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14.5px; color: rgba(249,242,233,0.85); }
.f3-package__inc .m { color: var(--gold-bright); flex-shrink: 0; }

/* ---------- Forms ---------- */
.f3-formcard { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px,5vw,56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px,4vw,56px); }
.f3-form { display: flex; flex-direction: column; gap: 14px; }
.f3-input { width: 100%; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid rgba(24,57,74,0.2); border-radius: 10px; padding: 13px 14px; outline: none; }
.f3-input:focus { border-color: var(--gold); }
.f3-form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.f3-form .row .f3-input { flex: 1; min-width: 140px; }
.f3-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--soft); }
.f3-faq { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.f3-faq__item { border-top: 1px solid var(--line); padding-top: 14px; }
.f3-faq__item p.q { font-weight: 600; font-size: 15px; margin: 0 0 4px; color: var(--ink); }
.f3-faq__item p.a { color: var(--soft); font-size: 14px; line-height: 1.6; margin: 0; }
.f3-formnote { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--soft); margin: 0; line-height: 1.5; }
.f3-formnote a { color: var(--gold-ink); text-decoration: underline; }
/* hidden attribute must always win over display rules */
[hidden] { display: none !important; }

.f3-thanks { min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.f3-thanks .emoji { font-size: 44px; }
.f3-thanks h3 { font-weight: 600; font-size: 28px; }
.f3-thanks p { color: var(--soft); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Club ---------- */
.f3-club-block { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 30px; }
.f3-club-block__num { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-size: 40px; font-weight: 600; color: var(--gold-ink); }
.f3-club-block h3 { font-weight: 600; font-size: 25px; margin: 8px 0 10px; }
.f3-club-block p { color: var(--soft); font-size: 15px; line-height: 1.65; margin: 0; }
.f3-club-model { background: linear-gradient(160deg,#CFA25C,#A57C34); border-radius: 20px; padding: clamp(28px,3.4vw,40px); color: var(--navy-deep); }
.f3-club-model p { font-size: 16px; line-height: 1.6; max-width: 900px; margin: 0 0 12px; color: rgba(18,42,56,0.86); }
.f3-club-model p:last-of-type { margin-bottom: 0; }
.f3-club-model h2 { font-size: clamp(26px,3.4vw,38px); margin: 0 0 14px; max-width: 680px; }
.f3-club-model .f3-actions { margin-top: 22px; }
.f3-club-grow { border: 1px dashed var(--line); border-radius: 16px; padding: 36px; text-align: center; }
.f3-club-grow p { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-style: italic; font-size: clamp(20px,3vw,30px); line-height: 1.35; max-width: 680px; margin: 14px auto 0; color: var(--ink); }

/* ---------- About ---------- */
.f3-story { max-width: 820px; margin: 0 auto; padding: clamp(48px,7vw,90px) clamp(18px,4vw,40px) clamp(24px,4vw,40px); }
.f3-story__lead { font-family: 'FX Neofara', 'DM Sans', sans-serif; font-size: clamp(22px,3vw,30px); line-height: 1.4; color: var(--ink); margin: 0 0 28px; text-wrap: pretty; }
.f3-story p { color: var(--soft); font-size: 18px; line-height: 1.8; margin: 0 0 22px; }
.f3-story p:last-of-type { margin-bottom: 0; }

/* ---------- Contact ---------- */
.f3-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px,4vw,48px); align-items: start; }
.f3-contact-info { display: flex; flex-direction: column; gap: 24px; }
.f3-contact-info__item { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.f3-contact-info__item .lbl { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.f3-contact-info__item p { font-size: 18px; line-height: 1.6; margin: 8px 0 0; color: var(--ink); white-space: pre-line; }
.f3-map { margin-top: 24px; position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg,#76A0BD,#18394A); }
.f3-map__grid { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px); }
.f3-map__pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; background: var(--gold); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 6px 16px rgba(0,0,0,0.4); }

/* ---------- Footer ---------- */
.f3-footer { background: var(--navy-deep); color: rgba(249,242,233,0.78); }
.f3-footer__top { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,7vw,88px) clamp(18px,4vw,40px) 44px; display: grid; grid-template-columns: minmax(260px,1.3fr) repeat(3, minmax(150px,1fr)); gap: 48px 32px; }
.f3-footer__brand { max-width: 400px; }
.f3-footer__brand img { height: 48px; width: auto; }
.f3-footer__brand p { font-size: 15px; line-height: 1.75; margin: 20px 0 0; color: rgba(249,242,233,0.68); }
.f3-footer h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.f3-footer__col p { font-size: 15px; line-height: 1.75; margin: 16px 0 0; }
.f3-footer__col p a { color: inherit; text-decoration: none; }
.f3-footer__col p a:hover { color: #F9F2E9; text-decoration: underline; }
.f3-footer__links { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; align-items: flex-start; }
.f3-footer__links a { text-decoration: none; color: rgba(249,242,233,0.78); font-size: 15px; transition: color .15s ease, transform .15s ease; }
.f3-footer__links a:hover { color: var(--gold-bright); transform: translateX(2px); }
.f3-footer__bar { border-top: 1px solid rgba(255,255,255,0.1); }
.f3-footer__bar-inner { max-width: var(--maxw); margin: 0 auto; padding: 22px clamp(18px,4vw,40px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.f3-footer__copy { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(249,242,233,0.5); }
.f3-footer__bar .f3-btn-outline { color: #F9F2E9; border-color: rgba(255,255,255,0.3); padding: 9px 18px; font-size: 13px; }
.f3-footer__bar .f3-btn-outline:hover { background: rgba(255,255,255,0.12); }
.f3-footer__bar .f3-btn-gold { padding: 9px 18px; font-size: 13px; box-shadow: none; }

/* ---------- Home — What's On preview strip (scrollable) ---------- */
.f3-onpreview { display: flex; overflow-x: auto; gap: 20px; scroll-snap-type: x mandatory; padding: 8px 0 18px; }
.f3-onpreview::-webkit-scrollbar { height: 6px; }
.f3-onpreview::-webkit-scrollbar-track { background: var(--line); border-radius: 3px; }
.f3-onpreview::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.f3-onpreview { scrollbar-width: thin; scrollbar-color: var(--gold) var(--line); }
.f3-onpreview .f3-event { flex: 0 0 300px; scroll-snap-align: start; }

/* ---------- Weekly Specials ---------- */
.f3-specials { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px,4vw,40px) clamp(48px,7vw,90px); }
.f3-specials h2 { text-align: center; font-size: clamp(26px,3.6vw,38px); margin-bottom: 28px; }
.f3-specials-grid { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.f3-specials-grid::-webkit-scrollbar { height: 6px; }
.f3-specials-grid::-webkit-scrollbar-track { background: var(--line); border-radius: 3px; }
.f3-specials-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.f3-specials-grid { scrollbar-width: thin; scrollbar-color: var(--gold) var(--line); }
.f3-specials-grid::-webkit-scrollbar { display: none; }
.f3-special { flex: 0 0 calc(25% - 12px); min-width: 150px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.f3-special__photo { position: relative; aspect-ratio: 1/1; }
.f3-special__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f3-special__day { display: block; text-align: center; padding: 10px 8px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); border-top: 1px solid var(--line); }

/* ---------- About — Team ---------- */
.f3-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.f3-team-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.f3-team-card__photo { position: relative; aspect-ratio: 1/1; background: linear-gradient(150deg,#9cbcd2,#d09e4e); }
.f3-team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f3-team-card__body { padding: 16px; }
.f3-team-card__body h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.f3-team-card__body p { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--soft); margin: 0 0 4px; line-height: 1.5; }
.f3-team-card__body p b { color: var(--ink); font-weight: 600; }
.f3-team-card__body .extra { margin-top: 8px; font-style: italic; color: var(--gold-ink); }
@media (max-width: 860px) { .f3-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .f3-team-grid { grid-template-columns: 1fr; } }

/* ---------- Booking modal ---------- */
.f3-modal { position: fixed; inset: 0; z-index: 80; background: rgba(18,42,56,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.f3-modal.is-open { display: flex; animation: f3Fade .25s ease; }
.f3-modal__card { background: var(--paper); border-radius: 20px; width: 100%; max-width: 480px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); animation: f3Rise .35s cubic-bezier(.2,.7,.2,1) both; }
.f3-modal__head { background: linear-gradient(140deg,#18394A,#122A38); padding: 24px 28px; position: relative; }
.f3-modal__head h3 { color: #F9F2E9; font-weight: 600; font-size: 30px; margin: 8px 0 0; }
.f3-modal__close { position: absolute; top: 16px; right: 18px; border: none; background: rgba(255,255,255,0.12); color: #F9F2E9; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.f3-modal__body { padding: 28px; }
.f3-modal__note { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--soft); text-align: center; margin: 2px 0 0; }
.f3-modal__embed { min-height: 120px; }

/* ---------- Animations ---------- */
@keyframes f3Rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes f3Fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes f3Drift { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes f3Pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- Utilities ---------- */
.f3-mt-0 { margin-top: 0; }
.f3-maxw-760 { max-width: 760px; }
.f3-maxw-640 { max-width: 640px; }
.f3-maxw-620 { max-width: 620px; }
.f3-mb-band { margin-bottom: 36px; }
.f3-spacer-sm { height: clamp(36px,5vw,56px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .f3-nav { display: none; }
  .f3-header .f3-header__cta .f3-btn-outline { display: none; }
  .f3-burger { display: flex; }
  .f3-footer__top { grid-template-columns: repeat(3, 1fr); }
  .f3-footer__brand { grid-column: 1 / -1; max-width: none; }
  .f3-feed__row { grid-template-columns: 1.6fr 1fr; }
  .f3-feed__day { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .f3-hero__bg, .f3-dot--live { animation: none; }
  * { scroll-behavior: auto; }
}
@media (max-width: 560px) {
  .f3-footer__top { grid-template-columns: 1fr; }
}

/* WordPress core required classes */
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }

/* ---------- AI Concierge chat ---------- */
.f3-chat { position: fixed; right: clamp(14px,3vw,28px); bottom: clamp(90px,9vw,110px); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.f3-chat__bubble { display: flex; align-items: center; gap: 10px; border: none; cursor: pointer; background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(24,57,74,0.5); }
.f3-chat__bubble:hover { background: #c08f3e; }
.f3-chat__bubble-icon { font-size: 18px; line-height: 1; }
.f3-chat__panel[hidden] { display: none; }
.f3-chat__panel { width: min(360px, calc(100vw - 28px)); height: min(520px, calc(100vh - 120px)); background: var(--paper); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.45); overflow: hidden; display: flex; flex-direction: column; animation: f3Rise .3s cubic-bezier(.2,.7,.2,1) both; }
.f3-chat__head { display: flex; align-items: center; gap: 12px; background: linear-gradient(140deg,var(--navy),var(--navy-deep)); padding: 16px 18px; color: #F9F2E9; position: relative; }
.f3-chat__head img { height: 26px; width: auto; }
.f3-chat__head strong { display: block; font-size: 15px; }
.f3-chat__head span { display: block; font-size: 12px; opacity: .75; }
.f3-chat__close { position: absolute; top: 10px; right: 12px; border: none; background: rgba(255,255,255,0.12); color: #F9F2E9; width: 28px; height: 28px; border-radius: 50%; font-size: 17px; cursor: pointer; line-height: 1; }
.f3-chat__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--sand); }
.f3-chat__row { display: flex; }
.f3-chat__row--user { justify-content: flex-end; }
.f3-chat__row--bot { justify-content: flex-start; }
.f3-chat__bubble-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.f3-chat__bubble-msg--bot { background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.f3-chat__bubble-msg--user { background: var(--navy); color: #F9F2E9; border-bottom-right-radius: 4px; }
.f3-chat__bubble-msg.is-typing { color: var(--soft); font-style: italic; }
.f3-chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.f3-chat__input { flex: 1; border: 1px solid rgba(24,57,74,0.2); border-radius: 999px; padding: 11px 16px; font-family: 'DM Sans', sans-serif; font-size: 14.5px; outline: none; }
.f3-chat__input:focus { border-color: var(--gold); }
.f3-chat__send { border: none; background: var(--gold); color: var(--navy-deep); width: 42px; height: 42px; border-radius: 50%; font-size: 16px; cursor: pointer; flex-shrink: 0; }
.f3-chat__send:hover { background: #c08f3e; }
@media (max-width: 480px) {
  .f3-chat__bubble-label { display: none; }
  .f3-chat__bubble { padding: 14px; }
}

/* ---------- Food & Drinks — full menu images ---------- */
.f3-menupages { display: flex; flex-direction: column; align-items: center; gap: 32px; margin-top: 36px; }
.f3-menupages > * { width: 100%; max-width: 900px; }
.f3-menupage__photo { position: relative; aspect-ratio: 1/1.414; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.f3-menupage__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper); }

/* Home pathway cards — align buttons across the three cards */
.f3-card__body p { min-height: 0; }
@media (min-width: 961px) { .f3-grid-3 .f3-card .f3-card__body p { min-height: 96px; } }

/* Club partner logos */
.f3-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 200px)); gap: 20px; margin-top: 22px; justify-content: center; }
.f3-partner { aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 16px; }
.f3-partner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.f3-partner span { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #a8b0b6; }

/* --- Header fixes: WordPress custom logo + no-wrap nav/buttons --- */
.f3-header .custom-logo-link { display: flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.f3-header .custom-logo-link img,
.f3-header .custom-logo { height: 40px; width: auto; max-width: 260px; display: block; }
.f3-logo { flex: 0 0 auto; }
.f3-header__inner { flex-wrap: nowrap; }
.f3-nav a, .f3-header__cta .f3-btn { white-space: nowrap; }
.f3-nav { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 1180px) { .f3-nav { gap: 18px; } .f3-nav a { font-size: 14px; } }

/* --- Header: keep nav on one line --- */
.f3-header__inner { gap: 12px; }
.f3-nav { flex-wrap: nowrap; gap: 20px; }
@media (max-width: 1400px) { .f3-nav { gap: 15px; } .f3-nav a { font-size: 14px; } }
@media (max-width: 1250px) { .f3-nav { gap: 11px; } .f3-nav a { font-size: 13px; } .f3-header .custom-logo-link img, .f3-header .custom-logo, .f3-logo img { height: 32px; } .f3-header__cta .f3-btn { padding: 10px 16px; font-size: 13px; } }

/* Logo: drop any white background (works for JPG logos too) */
.f3-header .custom-logo-link img, .f3-header .custom-logo, .f3-logo img { mix-blend-mode: multiply; background: transparent; }
.f3-mobilenav__top img, .f3-footer__brand img { mix-blend-mode: normal; }

/* ============================================================
   Small phones — tighten spacing so nothing crowds or overflows
   (audited at 360-600px; desktop/tablet untouched)
   ============================================================ */
@media (max-width: 600px) {
  /* Header: keep logo + Book a Table + burger on one line at 360px */
  .f3-header__inner { height: 68px; gap: 8px; }
  .f3-header .f3-logo img, .f3-header .custom-logo { height: 28px; }
  .f3-header__cta { gap: 6px; }
  .f3-header__cta .f3-btn-gold { padding: 10px 14px; font-size: 13px; }
  .f3-burger { width: 40px; height: 40px; }

  /* Hero: shorter so the CTAs sit above the fold on small screens */
  .f3-hero { min-height: 480px; height: min(84vh, 640px); }
  .f3-hero__lead { font-size: 16px; }

  /* Live Sport feed: less padding, smaller type so 2 columns breathe */
  .f3-feed__row { padding: 13px 14px; gap: 8px; }
  .f3-feed__match { font-size: 14px; gap: 8px; }
  .f3-feed__comp { font-size: 13px; }
  .f3-feed__screen { font-size: 12px; }

  /* Weekly specials: show ~2 cards, still swipeable */
  .f3-special { flex: 0 0 46%; min-width: 140px; }

  /* What's On preview cards fit the screen */
  .f3-onpreview .f3-event { flex: 0 0 82vw; }

  /* Team: single column below 600 (was 480) so cards aren't cramped */
  .f3-team-grid { grid-template-columns: 1fr; }

  /* Menus + packages: trim inner padding */
  .f3-package, .f3-club-block { padding: 22px; }
  .f3-formcard { padding: 22px; }
  .f3-menu-foot { gap: 10px; }

  /* Chat bubble clear of the thumb zone */
  .f3-chat { bottom: 14px; right: 14px; }
}

@media (max-width: 380px) {
  .f3-header__cta .f3-btn-gold { padding: 9px 12px; font-size: 12px; }
  .f3-header .f3-logo img, .f3-header .custom-logo { height: 25px; }
  .f3-btn-lg { padding: 14px 20px; font-size: 15px; }
}

/* Never allow a stray wide element to cause sideways scrolling */
html, body { max-width: 100%; overflow-x: hidden; }
img, iframe, video { max-width: 100%; }

/* ============================================================
   Cross-browser / cross-device compatibility
   ============================================================ */

/* iOS Safari: 100vh includes the address bar, so the chat panel could run off
   screen. dvh tracks the *visible* viewport; the vh rule above stays as the
   fallback for browsers without dvh. */
@supports (height: 100dvh) {
  .f3-chat__panel { height: min(520px, calc(100dvh - 120px)); }
}

/* iOS Safari zooms the whole page when a focused input is under 16px.
   Bumping to 16px on touch-sized screens prevents that jarring zoom. */
@media (max-width: 820px) {
  .f3-input, .f3-chat__input, select.f3-input, textarea.f3-input { font-size: 16px; }
}

/* aspect-ratio is Safari 15+. Older iOS would collapse these boxes to zero
   height, so give them a real fallback height when it's unsupported. */
@supports not (aspect-ratio: 1 / 1) {
  .f3-menupage__photo { height: 0; padding-bottom: 141.4%; }
  .f3-photo--portrait { height: 0; padding-bottom: 125%; }
  .f3-photo--food     { height: 0; padding-bottom: 80%; }
  .f3-photo--wide     { height: 0; padding-bottom: 62.5%; }
  .f3-map             { height: 0; padding-bottom: 56.25%; }
  .f3-team-card__photo{ height: 0; padding-bottom: 100%; }
}

/* Momentum scrolling for the swipeable strips on iOS */
.f3-specials-grid, .f3-onpreview { -webkit-overflow-scrolling: touch; }

/* Safari sometimes leaves a 1px seam under the sticky header while scrolling */
.f3-header { -webkit-transform: translateZ(0); transform: translateZ(0); }

/* Respect users who ask for less motion (also stops the hero pan on mobile) */
@media (prefers-reduced-motion: reduce) {
  .f3-hero__bg, .f3-atmos__bg { animation: none !important; }
}

/* Print: keep the pages legible if anyone prints a menu or the contact details */
@media print {
  .f3-header, .f3-chat, .f3-mobilenav, .f3-modal, .f3-burger { display: none !important; }
  body { background: #fff; }
  .f3-footer { background: #fff; color: #000; }
}

/* Click-to-edit wrappers must never affect layout */
.f3-ed { display: inline; }

/* Per-section style wrappers must not affect layout */
.f3-sec { display: block; }

/* ---------- Widget areas ---------- */
.f3-prefooter { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(28px,4vw,48px) 0; }
.f3-footer__widgets {
	max-width: var(--maxw); margin: 0 auto;
	padding: 0 clamp(18px,4vw,40px) clamp(28px,4vw,44px);
	display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 28px;
	border-top: 1px solid rgba(255,255,255,0.1); padding-top: clamp(28px,4vw,40px);
}
.f3-footer__wcol { color: rgba(249,242,233,0.78); font-size: 15px; line-height: 1.7; }
.f3-widget__title {
	font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--gold-bright); font-weight: 500; margin: 0 0 10px;
}
.f3-footer__wcol a { color: rgba(249,242,233,0.78); text-decoration: none; }
.f3-footer__wcol a:hover { color: #F9F2E9; }
.f3-footer__wcol ul { list-style: none; margin: 0; padding: 0; }
.f3-footer__wcol li { padding: 3px 0; }
.f3-prefooter .f3-widget__title { color: var(--gold-ink); }

/* Admin-only edit pencil on event cards */
.f3-event { position: relative; }
.f3-editlink {
	position: absolute; top: 10px; right: 10px; z-index: 6;
	width: 30px; height: 30px; border-radius: 50%;
	background: #2271b1; color: #fff; text-decoration: none;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.35);
	opacity: 0; transition: opacity .15s ease;
}
.f3-event:hover .f3-editlink, .f3-editlink:focus { opacity: 1; }
.f3-editlink:hover { background: #135e96; color: #fff; }

/* Section edit pencil, sits beside a heading */
.f3-editlink--sec {
	position: static; display: inline-flex; vertical-align: middle;
	width: 26px; height: 26px; margin-left: 10px; font-size: 13px;
	opacity: .45;
}
.f3-editlink--sec:hover { opacity: 1; }

/* Admin-only: click a photo (or its placeholder) to upload one */
.f3-photo, .f3-card__media, .f3-space__media, .f3-team-card__photo,
.f3-special__photo, .f3-menupage__photo, .f3-partner, .f3-hero, .f3-pagehero { position: relative; }
.f3-editphoto { cursor: pointer;
	position: absolute; inset: 0; z-index: 7;
	display: flex; align-items: center; justify-content: center;
	text-decoration: none; background: rgba(18,42,56,0);
	opacity: 0; transition: opacity .15s ease, background .15s ease;
}
.f3-editphoto:hover, .f3-editphoto:focus { opacity: 1; background: rgba(18,42,56,.55); }
.f3-editphoto__btn {
	background: #2271b1; color: #fff; font-family: 'DM Sans', sans-serif;
	font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0,0,0,.4); white-space: nowrap;
}
.f3-editphoto:hover .f3-editphoto__btn { background: #135e96; }
/* Keep the hero overlay from covering its headline */
.f3-hero > .f3-editphoto, .f3-pagehero > .f3-editphoto { inset: 0 0 auto auto; width: 170px; height: 60px; }

/* Club model block with a photo background: switch to light text */
.f3-club-model[style*="url("] { color: #F9F2E9; }
.f3-club-model[style*="url("] h2,
.f3-club-model[style*="url("] p,
.f3-club-model[style*="url("] .f3-eyebrow { color: #F9F2E9 !important; }
.f3-club-model { position: relative; }

.f3-special__dish { display: block; font-size: 13px; color: var(--soft); margin-top: 2px; line-height: 1.35; text-align: center; padding: 0 8px 2px; }

/* Cleared fields should leave no gap */
.f3-eyebrow:empty, .f3-kicker:empty, .f3-lead:empty,
.f3-hero__lead:empty, .f3-atmos__quote:empty,
.f3-special__dish:empty, .f3-event__when:empty,
h1:empty, h2:empty, h3:empty, p:empty { display: none; }
.f3-ed:empty { display: none; }

/* Partner tiles link out when a website is given */
.f3-partner > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.f3-partner > a:hover { opacity: .82; }

/* Weave never shows over a real photo */
.f3-photo:has(img) .f3-photo__weave,
.f3-card__media:has(img) .f3-photo__weave,
.f3-event__media:has(img) .f3-photo__weave,
.f3-special__photo:has(img) .f3-photo__weave,
.f3-space__media:has(img) .f3-photo__weave,
.f3-team-card__photo:has(img) .f3-photo__weave,
.f3-menupage__photo:has(img) .f3-photo__weave { display: none; }

/* ---------- Functions hero: text beside the package panel ---------- */
.f3-funchero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: clamp(28px,5vw,64px); align-items: start; }
.f3-funchero__text { min-width: 0; }

.f3-dlpanel {
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--f3-radius, 16px); padding: clamp(24px,3vw,32px);
	position: relative;
}
.f3-dlpanel__title { font-size: clamp(22px,2.6vw,30px); margin: 0; }
.f3-dlpanel__body { color: var(--soft); font-size: 15.5px; line-height: 1.65; margin: 10px 0 0; }
.f3-dlpanel__list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.f3-dlitem { display: flex; flex-direction: column; gap: 6px; }
.f3-dlitem__btn { text-align: center; text-decoration: none; }
.f3-dlitem__btn.is-empty { opacity: .5; cursor: default; }
.f3-dlitem__note { font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: var(--soft); text-align: center; }

@media (max-width: 860px) {
	.f3-funchero { grid-template-columns: 1fr; }
}

/* ---------- Footer social buttons ---------- */
.f3-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.f3-social__btn {
	width: 34px; height: 34px; border-radius: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; text-decoration: none;
	transition: transform .15s ease, opacity .15s ease;
}
.f3-social__btn:hover { transform: translateY(-2px); opacity: .9; color: #fff; }
.f3-social__btn--facebook { background: #1877F2; }
.f3-social__btn--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.f3-social__btn--tiktok { background: #1b1b1b; border: 1px solid rgba(255,255,255,.22); }
.f3-social__btn svg { display: block; width: 17px; height: 17px; }

/* Atmosphere strip with a real photo: light text so it stays readable */
.f3-atmos.has-photo .f3-atmos__quote,
.f3-atmos.has-photo .f3-eyebrow { color: #F9F2E9; }
.f3-atmos.has-photo .f3-atmos__quote { text-shadow: 0 2px 18px rgba(18,42,56,.55); }
.f3-atmos.has-photo .f3-eyebrow { color: var(--gold-bright); }
.f3-atmos.has-photo .f3-btn-dark { background: var(--gold); color: var(--navy-deep); }
.f3-atmos.has-photo .f3-btn-dark:hover { background: #b98d47; }
.f3-atmos.has-photo .f3-atmos__btn2 { border-color: rgba(249,242,233,.7); color: #F9F2E9; }
.f3-atmos.has-photo .f3-atmos__btn2:hover { background: rgba(249,242,233,.14); color: #F9F2E9; }
.f3-atmos__btn2 { border-color: var(--navy-deep); color: var(--navy-deep); }
