/* Varzech Sports Club site styles. Plain CSS, no build step. */

body{margin:0}
.vz a{color:#0B6B4F}
.vz a:hover{color:#084B38}
.vz{font-family:'Instrument Sans',system-ui,sans-serif;color:#13231D;background:#EEF2EC;font-size:17px;line-height:1.55}
.vz h1,.vz h2,.vz h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;margin:0;letter-spacing:-0.02em;line-height:1.05;font-weight:800}
.vz p{margin:0}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px;box-sizing:border-box}

/* Header. The Book a court button sits after the links on wide screens and
   next to the logo on phones (CSS order only, no menu script). */
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px;padding:20px 0}
.vz a.brand{display:flex;align-items:center;gap:10px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:26px;letter-spacing:-0.03em;color:#13231D;text-decoration:none}
.brand img{display:block;width:34px;height:34px;border-radius:5px}
.links{display:flex;flex-wrap:wrap;gap:8px 28px;margin-left:auto;align-items:center;order:1}
.nav .cta{order:2}
.vz .links a{color:#13231D;text-decoration:none;font-weight:600;font-size:16px;padding:10px 0}
.vz .links a.on{box-shadow:0 3px 0 #0B6B4F}
.short{display:none}

.vz a.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:6px;background:#F4D23C;color:#13231D;font-weight:700;font-size:16px;text-decoration:none;box-sizing:border-box}
.vz a.btn:hover{background:#E6C22A}
.vz a.btn.green{background:#0B6B4F;color:#fff}
.vz a.btn.green:hover{background:#084B38;color:#fff}
.vz a.btn.ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px #fff}
.vz a.btn.ghost:hover{background:rgba(255,255,255,.1)}
.vz a:not([href]){cursor:default}

.foot{background:#0E2A22;color:#D6E2DB;padding:48px 0;font-size:15.5px}
.vz .foot a{color:#fff}
.vz .foot h3{color:#fff;font-size:18px;margin-bottom:8px}
.footgrid{display:flex;flex-wrap:wrap;gap:32px 64px}
.footgrid>div{flex:1 1 220px}
.line{border:0;border-top:2px solid #13231D;margin:0}
.crumb{font-size:15.5px;font-weight:600}
.facts{display:flex;flex-wrap:wrap;gap:16px 48px;margin:0;padding:0}
.facts div{display:flex;flex-direction:column}
.facts dt{font-size:14.5px;color:#3F5148}
.facts dd{margin:0;font-weight:700;font-size:18px}
.ph{border:2px dashed #9DB0A6;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:24px;box-sizing:border-box;color:#3F5148;font-size:16px}
.tag{display:inline-block;align-self:flex-start;font-size:13px;font-weight:700;background:#13231D;color:#fff;padding:4px 10px;border-radius:4px}
.dark .tag{background:#F4D23C;color:#13231D}

/* The slot the site gives an embed. Never a fixed height or overflow here. */
.slot{display:flex;flex-direction:column;gap:12px;min-width:0}
.slotnote{font-size:15px;color:#3F5148}
.dark .slotnote{color:#B7C7BE}
.vz .dark a{color:#fff}
.slotrow{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}

/* The element the Athlema loader fills with an iframe. */
.embed-frame{position:relative}
.embed-frame[hidden]{display:none}

/* State 1: waiting for the first height. site.js sets min-height from
   data-height, the text comes from data-loading. */
.embed-frame.is-waiting{background:#E0E7E0;border-radius:12px}
.embed-frame.is-waiting::before{content:attr(data-loading);position:absolute;top:20px;left:20px;color:#3F5148;font-size:16px;font-weight:600}
/* The iframe paints over the words once Athlema draws something. */
.embed-frame.is-waiting iframe{position:relative}
.dark .embed-frame.is-waiting{background:#1A3B31}
.dark .embed-frame.is-waiting::before{color:#B7C7BE}

/* States 3 and 4: did not load / needs JavaScript. */
.fail{background:#fff;border:2px solid #13231D;border-radius:6px;padding:20px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;color:#13231D}
.fail[hidden]{display:none}
.vz .fail .fail-title{font-weight:700;font-size:18px}
.vz .dark .fail a.btn.green{color:#fff}

/* The lab page status list. */
.status{background:#fff;border:2px solid #13231D;border-radius:6px;padding:16px 20px;font-size:15.5px;display:flex;flex-direction:column;gap:6px}

/* The plain iframe page: fixed height, scrolls inside. */
.plain-frame{display:block;width:100%;height:900px;border:0}

@media (max-width:640px){
  .wrap{padding:0 20px}
  .nav{gap:4px 12px;padding:16px 0 8px}
  .vz a.brand{font-size:24px}
  .brand img{width:30px;height:30px}
  .nav .cta{order:1;margin-left:auto;min-height:44px;padding:0 16px;font-size:15px}
  .links{order:2;margin-left:0;width:100%;gap:0 22px}
  .vz .links a{font-size:15px}
  .long{display:none}
  .short{display:inline}
  .plain-frame{height:700px}
}
