/* Yeovil Business Club: presentation layer matched to the existing live site.
   Booking, newsletter and administration behaviour stays in the original files. */
:root { --green:#4dac26; --deep:#123f23; --dark:#296f2c; --pale:#f3f7f1; --white:#fff; --mint:#dbead5; --ink:#12251a; --muted:#66766d; --line:rgba(18,63,35,.18); }
body { font-family:"Manrope",Arial,Helvetica,sans-serif; font-size:16px; -webkit-font-smoothing:antialiased; }
h1,h2,h3 { font-family:"Sora","Arial Black",sans-serif; font-weight:800; letter-spacing:-.045em; line-height:1.02; overflow-wrap:break-word; }
h3 { letter-spacing:-.025em; line-height:1.2; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline-color:var(--dark); }
.wrap { width:min(1376px,calc(100% - 64px)); }
.site-header { width:min(1440px,calc(100% - 64px)); min-height:92px; gap:24px; }
.brand { display:inline-flex; gap:13px; letter-spacing:-.02em; }
.brand-mark { width:42px; height:42px; flex:0 0 42px; background:var(--green); color:white; font-family:"Manrope",Arial,sans-serif; font-size:11px; letter-spacing:.08em; }
.brand-name { font-family:"Sora","Arial Black",sans-serif; font-size:17px; font-weight:800; line-height:1.2; }
.site-header nav { gap:30px; font-size:14px; font-weight:700; }
.button,button { background:var(--green); color:white; font-weight:800; transition:background 160ms ease,color 160ms ease,transform 160ms ease; }
.button:hover,button:hover { background:var(--dark); color:white; transform:translateY(-1px); }
.button.small { min-height:46px; padding:11px 23px; font-size:14px; }
.button.light { background:white; color:var(--deep); }
.button.light:hover { background:var(--mint); }
.button.outline:hover { background:var(--deep); color:white; }
button:disabled { transform:none; }
.hero.wrap { width:min(1440px,calc(100% - 64px)); }
.hero { grid-template-columns:minmax(0,1.02fr) minmax(0,.82fr); gap:clamp(48px,7vw,112px); align-items:start; padding:clamp(64px,8vw,118px) 0 92px; }
.hero-copy { padding-top:18px; }
.hero h1 { max-width:800px; margin-bottom:28px; font-size:clamp(58px,6.7vw,104px); line-height:.94; }
.eyebrow { font-size:12px; font-weight:800; letter-spacing:.15em; line-height:1.4; color:var(--dark); margin-bottom:26px; }
.dot { flex:0 0 9px; box-shadow:0 0 0 6px #4dac2626; }
.hero .intro { max-width:680px; color:#50635a; font-size:clamp(18px,1.4vw,21px); line-height:1.65; }
.hero-note { display:flex; align-items:flex-start; gap:20px; max-width:520px; margin-top:30px; }
.hero-note p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.hero-note strong { color:var(--ink); }
.note-line { width:56px; height:2px; flex:0 0 56px; margin-top:11px; background:var(--green); }
.hero-card,.event-card,.panel,.updates-form { min-width:0; position:relative; overflow:hidden; background:white; color:var(--ink); border:1px solid #16383224; border-radius:26px; box-shadow:0 24px 80px #1f383212; }
.hero-card::before,.event-card::before,.panel::before,.updates-form::before { content:""; position:absolute; inset:0 0 auto; width:auto; height:6px; border:0; border-radius:26px 26px 0 0; box-shadow:none; background:linear-gradient(90deg,var(--green) 0 45%,var(--mint) 45% 68%,var(--deep) 68%); }
.hero-card { padding:clamp(28px,4vw,46px); }
.hero-card .eyebrow { color:var(--dark); margin-bottom:12px; }
.hero-card h2 { margin-top:26px; font-size:clamp(31px,3vw,42px); line-height:1.04; }
.hero-card > p:not(.eyebrow):not(.price) { color:var(--muted); }
.hero-card .price { font-size:56px; margin:32px 0 18px; }
.hero-card .price span { color:var(--muted); font-weight:500; }
.hero-card .details { border-color:var(--line); font-size:14px; gap:9px; }
.hero-card .button { width:100%; margin-top:28px; border-radius:12px; }
.status { padding:6px 11px; border-color:var(--line); color:var(--deep); font-weight:700; line-height:1.6; }
.ticker { min-height:78px; align-items:center; justify-content:center; gap:26px; padding:20px 32px; background:var(--deep); color:white; text-transform:uppercase; letter-spacing:.11em; font-size:11px; font-weight:800; }
.ticker span + span::before { content:""; display:inline-block; width:5px; height:5px; margin-right:26px; border-radius:50%; background:var(--green); vertical-align:middle; }
.section { padding-block:clamp(70px,8vw,120px); }
.why-section { background:white; padding-block:clamp(90px,10vw,150px); }
.section .section-intro,.section-intro { max-width:900px; }
.section-intro h2,.for-copy h2 { font-size:clamp(48px,5.5vw,82px); line-height:1.02; }
.section-intro > p:last-child { max-width:700px; font-size:18px; line-height:1.7; }
.cards { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-top:76px; border-top:1px solid var(--line); }
.card { min-width:0; padding:34px 34px 36px 0; border:0; border-right:1px solid var(--line); border-radius:0; background:transparent; }
.card + .card { padding-left:34px; }
.card:last-child { border-right:0; }
.card .number { margin-bottom:80px; font-size:11px; letter-spacing:.12em; color:var(--dark); font-weight:800; }
.card h3 { margin-bottom:16px; }
.card p { max-width:360px; }
.section-heading h2 { margin-bottom:0; font-size:clamp(40px,4.5vw,64px); }
.section-heading > p { max-width:350px; margin-bottom:0; }
.event-grid { gap:24px; margin-top:40px; }
.event-card { padding:34px; box-shadow:0 16px 60px #1f383207; }
.event-card h3 { margin-top:22px; font-size:29px; }
.event-card > p:not(.eyebrow):not(.event-price) { color:var(--muted); }
.event-card .event-price { font-size:32px; margin-block:26px 18px; }
.event-card .button { margin-top:18px; border-radius:12px; }
.for-section { padding-block:clamp(80px,9vw,130px); background:var(--green); color:white; }
.for-layout { display:grid; grid-template-columns:1fr .9fr; gap:9vw; align-items:start; }
.for-section .eyebrow { color:white; }
.for-copy h2 { margin-bottom:0; }
.audience-list { display:grid; grid-template-columns:1fr 1fr; align-content:start; border-top:1px solid #ffffff66; }
.audience-list span { padding:22px 6px; border-bottom:1px solid #ffffff66; font-size:14px; font-weight:800; }
.audience-list span:nth-child(odd) { border-right:1px solid #ffffff66; }
.audience-list span:nth-child(even) { padding-left:24px; }
.updates { display:block; margin:0; padding:clamp(80px,9vw,130px) 0; border-radius:0; background:var(--deep); color:white; }
.updates-layout { display:grid; grid-template-columns:1fr .9fr; align-items:center; gap:9vw; }
.updates h2 { font-size:clamp(44px,5.3vw,76px); line-height:.98; }
.updates .eyebrow { color:#a8df8d; }
.updates .updates-note { color:#c0d3c2; font-size:13px; }
.updates .social-link { display:inline-block; margin-top:10px; font-size:14px; font-weight:700; text-underline-offset:5px; }
.updates a:focus-visible { outline-color:white; }
.updates-form { padding:clamp(28px,3.5vw,42px); }
.updates-form button { border-radius:12px; }
.updates-form a:focus-visible { outline-color:var(--dark); }
.updates-form .privacy-note { margin:15px 0 0; }
.suggestions h2 { font-size:clamp(44px,4.5vw,62px); }
.cookie-tools { padding-bottom:32px; }
.cookie-tools .button { font-size:12px; }
.site-footer { display:block; margin-top:70px; padding:44px 0; border:0; background:#092817; color:#c8d3cc; }
body:has(.hero) .site-footer { margin-top:0; }
.site-footer .footer-inner { display:grid; gap:24px; font-size:inherit; }
.site-footer .footer-heading { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.site-footer .brand { color:white; }
.site-footer p { margin:0; color:inherit; font-size:13px; }
.site-footer .footer-links { gap:24px; font-size:12px; }
.site-footer small { color:inherit; font-size:11px; }
.site-footer a:focus-visible { outline-color:white; }
.page-title h1 { font-size:clamp(38px,5vw,68px); }
.booking-layout { grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr); }
.panel { padding:36px; }
.two-col { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
label { min-width:0; gap:8px; font-weight:700; }
input,select,textarea { min-width:0; padding:13px 14px; border-color:#16383233; border-radius:11px; font-size:16px; line-height:1.5; }
input,select { min-height:48px; }
input:hover,select:hover,textarea:hover { border-color:#16383273; }
input::placeholder,textarea::placeholder { color:#71817a; }
input[type=checkbox] { min-height:19px; accent-color:var(--dark); }
.check { font-weight:500; }
fieldset { border-radius:16px; background:var(--pale); }
legend { font-weight:800; }
#pay-button { width:100%; border-radius:12px; }
.text-link { font-weight:800; }
.host-page .page-title { padding-top:0; }
.host-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr); gap:clamp(32px,5vw,80px); align-items:start; }
.host-form h2 { font-size:28px; margin:10px 0 24px; }
.host-form h2:not(:first-of-type) { margin-top:34px; }
.host-form button { width:100%; }
.host-facilities { display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; }
.host-facilities .check { margin:0; }
.host-aside { padding-top:24px; }
.host-aside h2 { font-size:clamp(32px,3vw,46px); }
.host-aside p { color:var(--muted); }
.host-updates { padding-top:30px; margin-top:30px; border-top:1px solid var(--line); }
.host-confirmation { max-width:800px; }
.host-confirmation h2 { font-size:clamp(30px,4vw,46px); }
.metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.metric { border-radius:16px; }
.date { font-size:14px; font-weight:600; }
@media(max-width:1080px) {
  .hero { grid-template-columns:1fr; gap:48px; }
  .hero-card { width:100%; max-width:760px; }
  .for-layout,.updates-layout { grid-template-columns:1fr; gap:50px; }
  .updates-form { width:100%; max-width:760px; }
}
@media(max-width:900px) {
  .host-layout { grid-template-columns:minmax(0,1fr); }
  .booking-layout { grid-template-columns:minmax(0,1fr); }
  .summary { position:static; grid-row:1; }
  .site-header nav { gap:18px; }
  .site-header nav>a:not(.button) { display:none; }
  .section-heading > p { margin-top:22px; }
}
@media(max-width:760px) {
  .host-facilities { grid-template-columns:minmax(0,1fr); }
  .wrap,.site-header,.hero.wrap { width:calc(100% - 36px); }
  .site-header { min-height:80px; gap:14px; }
  .brand { gap:9px; }
  .brand-name { font-size:12.5px; max-width:130px; }
  .site-header nav>a:not(.button) { display:none; }
  .site-header .button { min-height:44px; padding:11px 14px; font-size:11px; white-space:nowrap; }
  .hero { padding:54px 0 64px; gap:44px; }
  .hero-copy { padding-top:0; }
  .hero h1 { font-size:clamp(50px,13vw,78px); }
  .hero .intro { font-size:17px; }
  .hero-card { padding:30px 24px; border-radius:18px; }
  .hero-card h2 { font-size:34px; }
  .hero-note { gap:14px; }
  .note-line { width:34px; flex-basis:34px; }
  .ticker { justify-content:flex-start; gap:15px 20px; padding:22px 20px; font-size:10px; }
  .ticker span+span::before { display:none; }
  .section { padding-block:65px; }
  .why-section,.for-section,.updates { padding-block:76px; }
  .section-intro h2,.for-copy h2 { font-size:clamp(40px,10vw,62px); }
  .section-intro>p:last-child { font-size:16px; }
  .cards { grid-template-columns:1fr; margin-top:48px; }
  .card,.card+.card { padding:30px 0; border-right:0; border-bottom:1px solid var(--line); }
  .card:last-child { border-bottom:0; }
  .card .number { margin-bottom:38px; }
  .event-card { padding:30px 24px; border-radius:18px; }
  .audience-list { grid-template-columns:1fr; }
  .audience-list span:nth-child(odd) { border-right:0; }
  .audience-list span:nth-child(even) { padding-left:6px; }
  .updates h2 { font-size:clamp(42px,10vw,64px); }
  .updates-form,.panel { padding:30px 22px; border-radius:18px; }
  .two-col { grid-template-columns:minmax(0,1fr); gap:0; }
  .metrics { grid-template-columns:minmax(0,1fr); }
  .section-heading h2 { font-size:42px; }
  .actions .button { flex:1 1 180px; }
  .page-title { padding-top:46px; }
  fieldset { padding:20px 16px; }
  .site-footer .footer-heading { flex-direction:column; align-items:flex-start; gap:18px; }
  .site-footer { margin-top:50px; }
}
@media(max-width:380px) {
  .site-header .brand-name { display:none; }
  .hero h1 { font-size:46px; }
  .eyebrow { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition-duration:.01ms!important; }
}

.finance-summary { margin-top:28px; margin-bottom:22px; }
.finance-summary h2 { font-size:28px; margin-bottom:20px; }
.finance-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.finance-metrics .metric { min-width:0; padding:20px 16px; box-shadow:none; }
.finance-metrics strong { font-size:clamp(22px,2.4vw,32px); overflow-wrap:anywhere; line-height:1.2; margin-bottom:10px; }
.finance-metrics .finance-net { background:var(--deep); color:white; border-color:var(--deep); }
.finance-metrics .finance-net span { color:white; }
@media(max-width:1000px) { .finance-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .finance-metrics { grid-template-columns:minmax(0,1fr); } }

.attendance-count { display:inline-grid; place-items:center; min-width:36px; min-height:36px; padding:4px 10px; border-radius:10px; background:var(--deep); color:white; font-size:18px; }
.email-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr); gap:32px; align-items:start; margin-top:30px; }
.email-layout>*,.email-layout form { min-width:0; }
.email-preview { font:inherit; white-space:pre-wrap; overflow-wrap:anywhere; padding:24px; border-radius:12px; background:var(--pale); }
.email-subject { font-size:clamp(24px,3vw,36px); overflow-wrap:anywhere; }
@media(max-width:900px) { .email-layout { grid-template-columns:minmax(0,1fr); } }

.venue-section { margin-top:74px; padding-top:54px; border-top:1px solid var(--line); scroll-margin-top:20px; }
.venue-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.venue-heading h2 { font-size:clamp(32px,4vw,48px); margin-bottom:12px; }
.venue-heading h3 { margin:0; }
.venue-heading p { max-width:680px; }
.venue-search { margin:28px 0 40px; }
.venue-search button:disabled { opacity:.55; cursor:not-allowed; }
.venue-connection { margin-top:22px; border-top:1px solid var(--line); padding-top:20px; }
.venue-connection summary,.venue-card summary { cursor:pointer; font-weight:700; }
.venue-connection form { margin-top:20px; max-width:640px; }
.venue-connection form+form { margin-top:12px; }
.venue-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:24px 0 38px; }
.venue-card { min-width:0; padding:28px; overflow-wrap:anywhere; box-shadow:none; }
.venue-card h3 { font-size:27px; line-height:1.18; margin-top:14px; }
.venue-card p { font-size:15px; }
.venue-card .venue-address { color:var(--muted); }
.venue-card .eyebrow { font-size:10px; margin:0; }
.venue-status { display:inline-block; font-size:11px; font-weight:800; background:var(--pale); border:1px solid var(--line); border-radius:20px; padding:7px 11px; white-space:nowrap; }
.venue-card dt { font-size:12px; text-transform:uppercase; letter-spacing:.06em; font-weight:800; margin-top:16px; }
.venue-card dd { margin:5px 0 14px; font-size:15px; }
.venue-card .actions { margin-top:18px; }
.venue-card form { margin-top:20px; }
.venue-card .actions .button { padding:12px 16px; font-size:12px; }
.venue-google { padding:24px; border:1px solid var(--line); border-radius:18px; margin-bottom:40px; background:#fff; }
.google-attribution { height:18px; width:auto; margin:10px 10px 5px; }
.venue-link { overflow-wrap:anywhere; font-size:14px; }
.venue-ready h2 { font-size:30px; }
@media(max-width:760px) { .venue-grid { grid-template-columns:minmax(0,1fr); } .venue-google { padding:20px 16px; } .venue-card { padding:24px 20px; } .venue-section { margin-top:50px; padding-top:40px; } }

.noticeboard-heading { max-width:850px; margin-bottom:52px; }
.noticeboard-heading h1 { font-size:clamp(48px,7vw,86px); }
.noticeboard-heading .intro { max-width:680px; font-size:19px; color:var(--muted); }
.notice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; }
.notice-post { min-width:0; scroll-margin-top:30px; }
.notice-post h2 { font-size:clamp(26px,3.1vw,39px); margin:22px 0; overflow-wrap:anywhere; }
.notice-meta { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:12px; color:var(--muted); }
.notice-pin { display:inline-block; background:var(--deep); color:white; padding:5px 11px; border-radius:20px; font-size:11px; font-weight:700; }
.notice-body { font-size:15px; line-height:1.85; overflow-wrap:anywhere; margin-bottom:24px; }
.notice-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:24px 0; }
.notice-gallery.single { grid-template-columns:minmax(0,1fr); }
.notice-gallery a { display:block; border-radius:12px; overflow:hidden; background:var(--pale); }
.notice-gallery img { display:block; width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; }
.notice-gallery.single img { max-height:560px; height:auto; aspect-ratio:auto; object-fit:contain; }
.notice-empty { max-width:760px; padding:45px; }
.notice-empty h2 { font-size:40px; }
.notice-pagination { align-items:center; justify-content:center; margin-top:40px; }
.notice-editor { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr); align-items:start; gap:32px; margin-top:30px; }
.notice-editor>* { min-width:0; }
.notice-editor-help h2 { font-size:34px; }
.notice-editor-subhead { font-size:28px; margin-top:30px; }
.notice-photo-edit { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:24px; }
.notice-photo-edit img { display:block; width:100%; height:150px; object-fit:cover; border-radius:10px; margin-bottom:14px; }
.notice-filter { display:flex; align-items:end; gap:14px; margin:30px 0; }
.notice-filter label { min-width:200px; margin:0; }
.notice-teaser-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:30px; }
.notice-teaser-grid>* { min-width:0; overflow-wrap:anywhere; }
.notice-teaser-grid h3 { font-size:27px; }
@media(max-width:900px) { .notice-editor,.notice-teaser-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:760px) { .notice-grid { grid-template-columns:minmax(0,1fr); gap:22px; } .noticeboard-heading { margin-bottom:34px; } .noticeboard-heading h1 { font-size:48px; } .notice-empty { padding:30px 22px; } .notice-empty h2 { font-size:32px; } .notice-photo-edit { grid-template-columns:minmax(0,1fr); } .notice-filter { flex-wrap:wrap; } }
