/* gm-esterena — websiden /esterena/ (0.1.6). Jes 16/11: «Siderne er slet ikke bygget på samme måde. Det skal passe til
   web på web. I app'en er det fint.»
   Bygget af FORSIDENS byggesten: gm-forside/assets/forside.css (.gmfs, farver og skrifter i --ink/--green/--gold/--cream,
   --display = EB Garamond, --body = DM Sans) indlæses før denne fil. Her står kun det, forsiden ikke har.
   KUN px: temaet sætter html{font-size:10px}, så appens rem-mål (esterena.css) blev 37,5 % for små på web.
   Mobil først; desktop fra 1024 px som forsiden. */

.gmest-web{max-width:1110px;margin:0 auto;padding:0 0 56px}
.gmest-web .gmest-txt{display:block;font:400 15px/1.65 var(--body);color:#4F5A54;max-width:770px}

/* Helten: forsidens .gmfs-hero med ét slide. Teksten er længere end en opskriftstitel → lidt mindre end forsidens 46 px. */
.gmest-web .gmest-helt{margin-top:16px}
.gmest-web .gmest-helt .gmfs-hero-h{font-size:30px}

/* Introkortet: som forsidens (cremefarvet, afsender, H1 med guldstreg, logo i guldring til højre på desktop).
   H1 i serif som forsidens H1 og sektionshoveder (EB Garamond 700). */
.gmest-web .gmest-intro{position:relative;max-height:none;margin:28px 0 0;padding:18px 18px 22px;background:var(--cream);border:1px solid #E6DEC9;border-radius:18px}
.gmest-web .gmest-intro-by{display:flex;align-items:center;gap:12px}
.gmest-web .gmest-ikoner{display:flex;align-items:center;gap:6px;flex:none}
.gmest-web .gmest-ikoner img{width:30px;height:30px;object-fit:contain;border-radius:7px}
.gmest-web .gmest-intro .gmfs-eyebrow{color:var(--gold-deep)}
.gmest-web h1.gmest-h1{margin:14px 0 0;padding:0;font-family:var(--display);font-size:28px;font-weight:700;line-height:1.14;letter-spacing:0;text-transform:none;color:var(--ink);text-wrap:balance;max-width:780px}
.gmest-web h1.gmest-h1::after{content:"";display:block;width:44px;height:2px;margin-top:14px;background:var(--gold)}
.gmest-web .gmest-intro-p{display:block;margin-top:14px;font:400 14px/1.6 var(--body);color:#4F5A54;max-width:770px}
.gmest-web .gmest-intro-logo{display:none}

/* Eksperterne fortæller (0.1.7): Alice Sabatinos video som hvidt kort med 9:16-plakat (forsidens kort-stil) */
.gmest-web .gmest-eksperter{display:grid;gap:14px}
.gmest-web .gmest-eks{-webkit-appearance:none;appearance:none;display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;width:100%;min-height:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none;color:var(--ink);text-align:left;text-transform:none;letter-spacing:normal;font:inherit;cursor:pointer}
.gmest-web .gmest-eks:hover{border-color:var(--gold)}
.gmest-web .gmest-eks:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.gmest-web .gmest-eks-ph{position:relative;display:block;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:var(--green)}
.gmest-web .gmest-eks-play{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;display:grid;place-items:center;background:rgba(20,28,24,.4);border:1.5px solid rgba(255,255,255,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;transition:transform .2s,background .2s}
.gmest-web .gmest-eks-play svg{width:17px;height:17px;margin-left:2px;fill:currentColor}
.gmest-web .gmest-eks:hover .gmest-eks-play{transform:scale(1.08);background:rgba(20,28,24,.6)}
.gmest-web .gmest-eks-tx{display:grid;gap:4px;align-content:center;min-width:0}
.gmest-web .gmest-eks-tx small{font:600 11px/1.35 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--gold-deep)}
.gmest-web .gmest-eks-tx strong{font:600 22px/1.15 var(--display);color:var(--ink);text-wrap:balance}
.gmest-web .gmest-eks-navn{margin-top:4px;font:600 14px/1.3 var(--body);color:var(--ink)}
.gmest-web .gmest-eks-rolle{font:500 13px/1.4 var(--body);color:var(--muted)}
.gmest-web .gmest-eks-se{display:inline-flex;align-items:center;gap:7px;justify-self:start;margin-top:10px;padding:9px 15px;border-radius:999px;background:var(--green);color:#fff;font:600 13px/1 var(--body)}
.gmest-web .gmest-eks-se svg{width:11px;height:11px;fill:currentColor}
.gmest-web .gmest-eksperter>.gmest-dev{margin:0}

/* Instagram-knappen */
.gmest-web .gmest-ig{margin-top:14px}
/* 0.2.3: Instagram-navnene er 30 tegn — knappen (gmfs-btn: nowrap) må bryde inden for kortet */
.gmest-ig.gmfs-btn{max-width:100%;white-space:normal;text-align:left;line-height:1.3}
.gmest-ig-tx{display:flex;flex-direction:column;min-width:0}
.gmest-ig-navn{font-size:12px;font-weight:500;opacity:.85;overflow-wrap:anywhere}
.gmest-web .gmest-ig svg{width:16px;height:16px;flex:none}

/* Fokus: hvidt kort som forsidens .gmfs-about */
.gmest-web .gmest-fokus{display:grid;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 18px}
.gmest-web .gmest-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.gmest-web .gmest-fejl{text-decoration:underline wavy #c0392b;text-underline-offset:3px}

/* Opskrifterne: forsidens .gmfs-card, 2 kolonner på mobil og 3 fra 768 px (9 retter = 3 hele rækker) */
.gmest-web .gmest-gitter{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px}
.gmest-web .gmest-kortboks{position:relative;min-width:0}
.gmest-web .gmest-wk .gmfs-ph{aspect-ratio:4/5}
.gmest-web .gmest-wk .gmfs-ph img{transition:transform .35s ease}
.gmest-web .gmest-wk:hover .gmfs-ph img{transform:scale(1.03)}
.gmest-web .gmest-wk .gmfs-card-t{font-size:16px}
.gmest-web .gmest-wk:hover .gmfs-card-t{color:var(--green-2)}
.gmest-web .gmest-maerke{display:inline-block;justify-self:start;font:700 11px/1.3 var(--body);font-style:normal;color:#8a3b2c;background:#fbe9e4;border-radius:6px;padding:2px 6px}
.gmest-web .gmest-ntal{display:grid;grid-template-columns:repeat(2,1fr);gap:4px}
.gmest-web .gmest-ntal span{display:block;min-width:0;background:var(--cream);border-radius:8px;padding:6px 4px;text-align:center;font:700 13px/1.15 var(--body);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.gmest-web .gmest-ntal i{display:block;margin-bottom:3px;font:600 10px/1.2 var(--body);font-style:normal;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.gmest-web .gmest-sloer{display:block;width:70%;height:10px;margin:2px auto 0;border-radius:999px;background:linear-gradient(90deg,#E3D7B8,#EFE6CF 60%,#E3D7B8);filter:blur(2px)}
.gmest-web .gmest-premium{display:flex;align-items:center;gap:10px;margin-top:18px;font:500 13px/1.4 var(--body);color:var(--muted)}
.gmest-web .gmest-premium .gmfs-dyn{flex:none}

/* Videoknappen over fotoets hjørne (uden for linket) */
.gmest-web .gmest-play{-webkit-appearance:none;appearance:none;position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;height:32px;min-height:0;margin:0;padding:0 12px 0 9px;border:0;border-radius:999px;background:rgba(20,28,24,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:none;color:#fff;font:600 12px/1 var(--body);letter-spacing:.02em;text-transform:none;cursor:pointer}
.gmest-web .gmest-play svg{width:13px;height:13px;fill:currentColor}
.gmest-web .gmest-play:hover{background:rgba(20,28,24,.8)}
.gmest-web .gmest-play:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Citatet: forsidens grønne blok (.gmfs-season) */
.gmest-web .gmest-citat{display:grid;gap:12px;margin:28px 0 0;padding:26px 20px;border-radius:20px;background:var(--green);color:#fff}
.gmest-web .gmest-citat .gmfs-eyebrow{color:var(--gold)}
.gmest-web blockquote.gmest-bq{margin:0;padding:0;border:0;background:none;quotes:none;font-style:normal}
.gmest-web blockquote.gmest-bq::before,.gmest-web blockquote.gmest-bq::after{content:none!important;display:none!important}
.gmest-web .gmest-c1{display:block;font:600 28px/1.12 var(--display);color:#fff;text-wrap:balance;max-width:26ch}
.gmest-web .gmest-c2{display:block;margin-top:12px;font:400 15px/1.55 var(--body);color:rgba(255,255,255,.82);max-width:56ch}

/* Hvem står bag: to kort som forsidens «Om Dianna» (.gmfs-about) */
.gmest-web .gmest-folk{display:grid;gap:12px;margin-top:18px}
.gmest-web .gmest-folk .gmfs-about-ph{aspect-ratio:1}

/* Det gør vi sammen: forsidens cremefarvede .gmfs-prem */
.gmest-web .gmest-sammen .gmest-txt{font-size:14px;color:var(--ink)}

/* Afslutning */
.gmest-web .gmest-lockup{display:flex;align-items:center;justify-content:center;gap:12px}
.gmest-web .gmest-lockup img{width:auto;height:40px;object-fit:contain}
.gmest-web .gmest-lockup .gmest-gm{border-radius:9px}
.gmest-web .gmest-og{font:500 22px/1 var(--display);color:#A49A8A}
.gmest-web .gmest-slut{margin-top:44px}

/* Kun kredsen: udviklingslinje og pladsholdere */
.gmest-web .gmest-devlinje{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:16px 0 0;padding:10px 14px;background:#FFF8E6;border:1px dashed var(--gold);border-radius:12px;font:500 12px/1.2 var(--body);color:#6B5320}
.gmest-web .gmest-kun{font-weight:700}
.gmest-web .gmest-gruppe{display:inline-flex;align-items:center;gap:6px}
.gmest-web .gmest-knap{display:inline-block;padding:6px 11px;border:1px solid #E3D7B8;border-radius:999px;background:#fff;color:var(--ink);font:600 12px/1 var(--body)}
.gmest-web .gmest-knap.gmest-aktiv{background:var(--green);border-color:var(--green);color:#fff}
.gmest-web .gmest-taelling{color:var(--muted)}
.gmest-web .gmest-dev{display:block;margin-top:12px;padding:12px;border:2px dashed #C9A14A;border-radius:12px;background:repeating-linear-gradient(135deg,#FFFAF0,#FFFAF0 10px,#FBF3E2 10px,#FBF3E2 20px);font:500 13px/1.4 var(--body);color:#6B5320}
.gmest-web .gmest-dev b{display:block;margin-bottom:4px;font:700 11px/1.2 var(--body);letter-spacing:.08em;text-transform:uppercase;color:#8A6A1F}
.gmest-web .gmfs-ph>.gmest-dev{height:100%;margin:0;border-radius:12px}

@media (min-width:768px){
  .gmest-web .gmest-gitter{grid-template-columns:repeat(3,1fr);gap:30px 20px}
  .gmest-web .gmest-eksperter{grid-template-columns:1fr 1fr;gap:16px;align-items:start}
  .gmest-web .gmest-eks{grid-template-columns:150px minmax(0,1fr);padding:14px}
  .gmest-web .gmest-ntal{grid-template-columns:repeat(4,1fr)}
  .gmest-web .gmest-folk{grid-template-columns:1fr 1fr;gap:16px}
}

@media (min-width:1024px){
  .gmest-web .gmest-helt{margin-top:18px}
  .gmest-web .gmest-helt .gmfs-hero-h{font-size:42px}
  .gmest-web .gmest-intro{margin-top:40px;padding:24px 230px 30px 30px;min-height:240px}
  .gmest-web h1.gmest-h1{font-size:40px}
  .gmest-web .gmest-intro-p{font-size:15px}
  .gmest-web .gmest-intro-logo{position:absolute;top:50%;right:48px;display:grid;place-items:center;width:140px;height:140px;margin-top:-70px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--gold)}
  .gmest-web .gmest-intro-logo img{width:84px;height:auto;object-fit:contain}
  .gmest-web .gmest-fokus{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:40px;align-items:center;padding:30px}
  .gmest-web .gmest-wk .gmfs-card-t{font-size:19px}
  .gmest-web .gmest-eks{grid-template-columns:170px minmax(0,1fr);gap:24px;padding:16px}
  .gmest-web .gmest-eks-tx strong{font-size:26px}
  .gmest-web .gmest-citat{padding:44px 48px}
  .gmest-web .gmest-c1{font-size:40px}
  .gmest-web .gmest-c2{font-size:16px}
}

/* Videoafspilleren (esterena.js lægger laget på <body>) — px-udgaven af appens regler */
body.gmest-side .gmest-vlag{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,16,14,.88)}
body.gmest-side .gmest-vramme{position:relative;width:min(100%,calc(86vh * .5625),460px);aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#000;box-shadow:0 16px 48px rgba(0,0,0,.45)}
body.gmest-side .gmest-vramme iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
body.gmest-side .gmest-vluk{-webkit-appearance:none;appearance:none;position:absolute;top:16px;right:16px;width:44px;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);box-shadow:none;color:#fff;font:400 26px/1 var(--body,system-ui);cursor:pointer}
body.gmest-side .gmest-vluk:focus-visible{outline:2px solid #fff;outline-offset:2px}
