/* GM Cruise 2.0 — den nye krydstogt-visning på websitet. Indlæses KUN når visningen er aktiv
   (jes@/dianna@, eller alle efter gmcruise_public = 1). Alt er scoped under .gmc.
   🪤 Sitets mu-plugin (sumedha) tvinger Merriweather !important på p/a/div/label/h1–h6:
   overskrifter og brødtekst bruger den; små UI-tekster har klassen .ui og sættes eksplicit. */
.gmc {
  --gmc-green: #2C4A3A; --gmc-green-2: #3A6350; --gmc-gold: #B8883A; --gmc-gold-ink: #8F6A24; --gmc-gold-pale: #F6EEDD;
  --gmc-cream: #FAF8F3; --gmc-ink: #1C1A16; --gmc-text: #2E2C28; --gmc-muted: #5E5A51; --gmc-soft: #7A776E;
  --gmc-line: #E8E3DA; --gmc-line-2: #E0DACD; --gmc-ph: #EAE4D8; --gmc-red: #A23B2C;
  --gmc-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 1060px; margin: 0 auto; padding: 8px 16px 56px; color: var(--gmc-text); line-height: 1.7; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.gmc *, .gmc *::before, .gmc *::after { box-sizing: border-box; }
.gmc .ui, .gmc .ui * { font-family: var(--gmc-ui) !important; }
.gmc img { max-width: 100%; height: auto; display: block; }
.gmc a { color: var(--gmc-green); }
.gmc h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; color: var(--gmc-ink); margin: 44px 0 14px; font-weight: 700; text-wrap: balance; }
.gmc h3 { font-size: 19px; line-height: 1.3; color: var(--gmc-ink); margin: 26px 0 8px; font-weight: 700; }
.gmc p, .gmc li, .gmc dd { margin: 0 0 14px; }
.gmc ul, .gmc ol { padding-left: 22px; margin: 0 0 16px; }
.gmc-label { font-size: 11px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gmc-gold-ink); margin: 0 0 8px !important; }
.gmc-kick { font-size: 11.5px !important; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gmc-gold-ink); margin: 0 0 6px !important; }

/* Beta-bånd + markeringer til Diannas gennemsyn (kun jes@/dianna@) */
.gmc-beta { background: var(--gmc-gold-pale); color: var(--gmc-gold-ink); border: 1px solid #E7D3A8; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 6px 0 14px; line-height: 1.45; }
.gmc-beta strong { color: var(--gmc-ink); }
.gmc-flag { margin: 36px 0 -30px !important; font-size: 13px !important; line-height: 1.45; color: var(--gmc-gold-ink); background: var(--gmc-gold-pale); border-left: 3px solid var(--gmc-gold); padding: 8px 12px; border-radius: 0 8px 8px 0; }

/* Brødkrumme */
.gmc-crumbs { font-size: 13px; color: var(--gmc-soft); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 12px; }
.gmc-crumbs a { color: var(--gmc-soft); text-decoration: none; }
.gmc-crumbs a:hover { color: var(--gmc-green); }
.gmc-crumbs b { color: var(--gmc-ink); font-weight: 600; }

/* Topbillede */
.gmc-hero { position: relative; border-radius: 22px; overflow: hidden; background: var(--gmc-green); min-height: 360px; display: flex; align-items: flex-end; margin: 0 0 18px; }
.gmc-hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.gmc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,22,0) 22%, rgba(28,26,22,.45) 55%, rgba(28,26,22,.86) 100%); }
.gmc-hero-in { position: relative; z-index: 2; padding: 28px 30px; max-width: 760px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.gmc-hero .gmc-kick { color: #E7CF9C; }
.gmc-h1 { color: #fff !important; font-size: clamp(27px, 4.4vw, 42px) !important; line-height: 1.12 !important; margin: 0 0 8px !important; font-weight: 700; text-wrap: balance; }
.gmc-by { color: rgba(255,255,255,.9); font-size: 14px !important; margin: 0 !important; }
.gmc-hero--plain { min-height: 0; background: var(--gmc-cream); border: 1px solid var(--gmc-line); }
.gmc-hero--plain::after { display: none; }
.gmc-hero--plain .gmc-h1 { color: var(--gmc-ink) !important; }
.gmc-hero--plain .gmc-kick { color: var(--gmc-gold-ink); }
.gmc-lead { font-size: 20px; line-height: 1.55; color: var(--gmc-muted); max-width: 64ch; margin: 6px 0 18px !important; }

/* Fakta */
.gmc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--gmc-line); border: 1px solid var(--gmc-line); border-radius: 16px; overflow: hidden; margin: 0 0 18px; }
.gmc-facts > div { background: #fff; padding: 12px 14px; }
.gmc-facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gmc-soft); }
.gmc-facts dd { margin: 2px 0 0 !important; font-size: 15px; font-weight: 600; color: var(--gmc-ink); line-height: 1.35; }
.gmc-facts .is-score dd { font-size: 24px; color: var(--gmc-green); font-variant-numeric: tabular-nums; }

/* Ruten */
.gmc-route { border: 1px solid var(--gmc-line); border-radius: 16px; padding: 16px 18px 12px; margin: 0 0 8px; background: #fff; }
.gmc-stops { list-style: none; margin: 0 !important; padding: 0 !important; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.gmc-stops::before { content: ""; position: absolute; left: 8%; right: 8%; top: 7px; border-top: 1.5px dashed var(--gmc-gold); }
.gmc-stop { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; margin: 0 !important; }
.gmc-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--gmc-green); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--gmc-green); position: relative; }
.gmc-stop.is-hav .gmc-dot { width: 11px; height: 11px; margin-top: 2px; background: #fff; box-shadow: 0 0 0 1.5px var(--gmc-gold); }
.gmc-stop.is-aflyst .gmc-dot { background: #fff; box-shadow: 0 0 0 1.5px var(--gmc-red); }
.gmc-stop.is-aflyst .gmc-dot::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; border-top: 1.5px solid var(--gmc-red); transform: rotate(-45deg); }
.gmc-stop b { font-size: 13px; line-height: 1.2; color: var(--gmc-ink); font-weight: 600; }
.gmc-stop small { font-size: 12px; color: var(--gmc-soft); }
.gmc-stop.is-aflyst b { text-decoration: line-through; color: var(--gmc-soft); }

/* Hubbens dage */
.gmc-days, .gmc-rest, .gmc-guides { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .gmc-days, .gmc-rest, .gmc-guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .gmc-days, .gmc-rest, .gmc-guides { grid-template-columns: repeat(3, 1fr); } }
.gmc-day { display: flex; flex-direction: column; border: 1px solid var(--gmc-line); border-radius: 16px; overflow: hidden; text-decoration: none; background: #fff; transition: transform .2s, box-shadow .2s; }
.gmc-day:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(28,26,22,.1); }
.gmc-day-img { position: relative; aspect-ratio: 4/3; background: var(--gmc-ph); overflow: hidden; }
.gmc-day-img img { width: 100%; height: 100% !important; object-fit: cover; }
.gmc-day-n { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--gmc-gold-ink); border-radius: 999px; min-width: 30px; height: 30px; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.gmc-day-in { padding: 11px 13px 14px; display: grid; gap: 3px; }
.gmc-day-in small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gmc-soft); }
.gmc-day-in b { font-size: 16px; line-height: 1.3; color: var(--gmc-ink); }
.gmc-day-meta { font-size: 13px; color: var(--gmc-muted); line-height: 1.4; }

/* Restauranter på hubben */
.gmc-r { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; border: 1px solid var(--gmc-line); border-radius: 14px; padding: 8px; text-decoration: none; background: #fff; }
.gmc-r-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--gmc-ph); }
.gmc-r-img img { width: 100%; height: 100% !important; object-fit: cover; }
.gmc-r b { display: block; color: var(--gmc-ink); font-size: 15.5px; line-height: 1.25; }
.gmc-r small { display: block; font-size: 12.5px; color: var(--gmc-soft); }
.gmc-stars { color: var(--gmc-gold); letter-spacing: 1px; font-size: 14px; }
.gmc-stars i { color: var(--gmc-line-2); font-style: normal; }

/* Guides */
.gmc-guide { display: grid; gap: 3px; border: 1px solid var(--gmc-line-2); border-radius: 14px; padding: 13px 15px; text-decoration: none; background: #fff; }
.gmc-guide b { color: var(--gmc-ink); font-size: 15px; }
.gmc-guide small { color: var(--gmc-muted); font-size: 13px; line-height: 1.4; }
.gmc-guide:hover { border-color: var(--gmc-green); }

/* Samlet vurdering */
.gmc-verdict { margin-top: 36px; background: var(--gmc-green); color: #EDF2EE; border-radius: 20px; padding: 24px 26px; }
.gmc-verdict .gmc-label { color: #E7CF9C; }
.gmc-verdict p { color: #EDF2EE; font-size: 18px; line-height: 1.55; margin: 0 !important; max-width: 62ch; }
.gmc-verdict .gmc-score { font-size: 46px !important; line-height: 1 !important; color: #fff; margin: 0 0 10px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.gmc-verdict .gmc-score span { font-size: 20px; opacity: .7; }

/* Dagens afsnit */
.gmc-toc { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; margin: 4px 0 0; scrollbar-width: none; }
.gmc-toc::-webkit-scrollbar { display: none; }
.gmc-toc a { flex: none; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--gmc-ink); border: 1px solid var(--gmc-line-2); border-radius: 999px; padding: 7px 12px; background: #fff; white-space: nowrap; }
.gmc-toc a:hover { border-color: var(--gmc-green); color: var(--gmc-green); }
.gmc-sec { scroll-margin-top: 90px; max-width: 760px; }
.gmc-body { max-width: 760px; }
.gmc-meal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; border: 1px solid var(--gmc-line); border-radius: 14px; padding: 12px 14px; text-decoration: none; background: var(--gmc-cream); margin: 4px 0 14px; }
.gmc-meal .gmc-kick { margin: 0 !important; }
.gmc-meal b { color: var(--gmc-ink); font-size: 17px; }
.gmc-meal .gmc-more { margin-left: auto; font-size: 13px; color: var(--gmc-green); font-weight: 600; }

/* Galleri */
.gmc-g { display: grid; gap: 8px; margin: 10px 0 18px; grid-template-columns: repeat(2, 1fr); }
.gmc-g--1 { grid-template-columns: 1fr; }
.gmc-g--3 .gmc-fig:first-child, .gmc-g--4 .gmc-fig:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .gmc-g--4 { grid-template-columns: repeat(3, 1fr); } .gmc-g--4 .gmc-fig:first-child { grid-column: span 2; grid-row: span 2; } }
.gmc-fig { margin: 0 !important; border-radius: 12px; overflow: hidden; background: var(--gmc-ph); aspect-ratio: 4/3; }
.gmc-g--1 .gmc-fig { aspect-ratio: auto; }
.gmc-zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gmc-zoom img { width: 100%; height: 100% !important; object-fit: cover; }
.gmc-zoom:focus-visible { outline: 2px solid var(--gmc-gold); outline-offset: 2px; }
.gmc-lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.gmc-lb::backdrop { background: rgba(15,14,12,.9); }
.gmc-lb img { max-width: 96vw; max-height: 88vh; width: auto; border-radius: 10px; }
.gmc-lb p { color: #EDE8DE; font-size: 14px; margin: 8px 2px 0 !important; }

/* Blokke */
.gmc-pull { margin: 26px 0 !important; padding: 4px 0 4px 20px !important; border-left: 3px solid var(--gmc-gold); }
.gmc-pull p { font-size: 22px; line-height: 1.45; color: var(--gmc-ink); font-style: italic; margin: 0 0 6px !important; }
.gmc-pull cite { font-style: normal; font-size: 13px; color: var(--gmc-soft); }
.gmc-tip { background: var(--gmc-cream); border: 1px solid var(--gmc-line); border-radius: 14px; padding: 14px 16px; margin: 20px 0; }
.gmc-tip p:last-child { margin-bottom: 0 !important; }
.gmc-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 10px 0 18px; }
.gmc-pc > div { border: 1px solid var(--gmc-line); border-radius: 14px; padding: 14px 16px 4px; }
.gmc-pc h3 { margin-top: 0 !important; font-size: 16px; }
.gmc-pc .is-good { border-top: 3px solid var(--gmc-green); }
.gmc-pc .is-bad { border-top: 3px solid var(--gmc-red); }
.gmc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 18px; }
.gmc th, .gmc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--gmc-line); vertical-align: top; }
.gmc th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gmc-soft); }
.gmc tr:last-child td { font-weight: 700; color: var(--gmc-ink); }
.gmc dl { margin: 0; }
.gmc dt { font-weight: 700; color: var(--gmc-ink); margin-top: 14px; }
.gmc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 8px 0 18px; }
.gmc-card { border: 1px solid var(--gmc-line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.gmc-card-img { aspect-ratio: 4/3; background: var(--gmc-ph); overflow: hidden; }
.gmc-card-img img { width: 100%; height: 100% !important; object-fit: cover; }
.gmc-card-in { padding: 14px 16px 6px; }
.gmc-card h3 { margin: 0 0 2px !important; }
.gmc-card .gmc-stars { display: block; margin-bottom: 8px; }
.gmc-card p { font-size: 15.5px; line-height: 1.6; }
.gmc-card.is-plain { background: var(--gmc-cream); }
.gmc-check { border: 1px solid var(--gmc-line); border-radius: 14px; padding: 12px 16px; margin: 10px 0 16px; }
.gmc-check h3 { margin-top: 4px !important; }
.gmc-check ul { list-style: none; padding: 0 !important; }
.gmc-check li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px !important; }
.gmc-check input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--gmc-green); flex: none; }
.gmc-check input:checked + label { color: var(--gmc-soft); text-decoration: line-through; }
.gmc-faq { border-bottom: 1px solid var(--gmc-line); padding: 4px 0; }
.gmc-faq summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; font-weight: 700; color: var(--gmc-ink); position: relative; }
.gmc-faq summary::-webkit-details-marker { display: none; }
.gmc-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 20px; color: var(--gmc-gold); }
.gmc-faq[open] summary::after { content: "–"; }

/* Forrige/næste + læs også */
.gmc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 10px; max-width: 760px; }
.gmc-pn a { border: 1px solid var(--gmc-line-2); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--gmc-ink); font-weight: 600; font-size: 15px; display: grid; gap: 2px; }
.gmc-pn a.is-next { text-align: right; }
.gmc-pn small { font-size: 12px; color: var(--gmc-soft); font-weight: 500; }
.gmc-also { margin-top: 26px; }
.gmc-also ul { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.gmc-also li { margin: 0 !important; }
.gmc-also a { display: inline-block; font-size: 13.5px; font-weight: 600; border: 1px solid var(--gmc-line-2); border-radius: 999px; padding: 7px 13px; text-decoration: none; color: var(--gmc-ink); }

@media (max-width: 640px) {
  .gmc { font-size: 16.5px; padding-inline: 14px; }
  .gmc-hero { min-height: 300px; border-radius: 18px; }
  .gmc-hero-in { padding: 20px 18px; }
  .gmc-lead { font-size: 18px; }
  .gmc-stop b { font-size: 11px; } .gmc-stop small { font-size: 10.5px; }
  .gmc-pn { grid-template-columns: 1fr; }
  .gmc-pn a.is-next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .gmc-day { transition: none; } }
