/* Sjöberg Stall – shared design (public pages + Mitt stall).
   Built for readers of all ages: large text, clear buttons with words, strong contrast, simple navigation. */
/* The two fonts are loaded with <link> tags in each page's head (faster than @import here). */

:root {
  /* Swedish nature in three colours. Green leads, blue and yellow only support, all slightly muted.
     brand: forest green. Used for headings, links, main buttons and dark surfaces */
  --brand: #1f4d3c;
  --brand-2: #2c6a52;
  --brand-soft: #e3ece6;
  /* "included", "done" and "free to book". Kept apart from the brand, so the brand colour can change without touching the booking tiles */
  --ok: #2c6a52;
  --ok-2: #1f4d3c;
  --ok-soft: #e3ece6;
  /* grounds, from light to dark */
  --paper: #fffdf8;
  --linen: #f6f2e8;
  --mist: #e4edf0;      /* pale sky: page headers, table heads, information boxes */
  --sand: #ebe3d1;
  --deep: #1f4d3c;      /* dark surfaces: top strip, Mitt stall header, footer */
  --band: #2f5a70;      /* lake blue: the one coloured band across a page */
  /* buttercup yellow, in small amounts: map dots, the marked menu item, small tags, "waiting for approval" */
  --ochre: #a8852f;
  --ochre-2: #e2b541;
  --ink: #17221d;
  --ink-2: #3c4842;
  --line: #d9d2c0;
  --amber: #b4610f;
  --amber-soft: #fbead3;
  --red: #a3302b;
  --red-soft: #f8e1df;
  --focus: #1f5fbf;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(23, 34, 29, .06), 0 6px 18px rgba(23, 34, 29, .07);
  --max: 1180px;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 19px; line-height: 1.6; color: var(--ink); background: var(--linen); }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--brand); }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.015em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.01em; }
h3 { font-size: 23px; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.lead { font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.muted { color: var(--ink-2); }
.small { font-size: 16px; color: var(--ink-2); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border-radius: 3px;
  border: 2px solid var(--brand-2); background: var(--brand-2); color: #fff; font: 600 18px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--brand); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--brand-2); }
.btn.secondary:hover { background: var(--brand-soft); color: var(--brand); }
.btn.light { background: #fff; border-color: #fff; color: var(--brand); }
.btn.light:hover { background: var(--linen); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); }
.btn.on-dark { background: var(--linen); border-color: var(--linen); color: var(--ink); }
.btn.on-dark:hover { background: #fff; color: var(--ink); }
.btn.danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: var(--red-soft); }
.btn.small-btn { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.topbar { background: var(--deep); color: #f3ead6; font-size: 16px; text-align: center; padding: 8px 16px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243, 239, 230, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); margin-right: auto; white-space: nowrap; flex: none; }
.brand-name { font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 12px; border-radius: 4px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; white-space: nowrap; }
.main-nav .nav-member { display: none; }
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; box-shadow: inset 0 -3px 0 var(--ochre-2); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn:not(.secondary) { background: var(--deep); border-color: var(--deep); }
.header-cta .btn:not(.secondary):hover { background: var(--brand-2); border-color: var(--brand-2); }
.menu-btn { display: none; min-height: 48px; padding: 8px 16px; border-radius: 4px; border: 2px solid var(--brand-2); background: #fff; color: var(--brand-2); font: 700 17px var(--sans); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1320px) { .header-cta .btn.secondary { display: none; } }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .main-nav .nav-member { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 20px; padding: 14px 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }            /* Mitt stall is in the bottom bar and in the menu on phones */
}
@media (max-width: 560px) {
  .brand-name { font-size: 25px; }
  .site-header .wrap { gap: 10px; min-height: 66px; padding: 0 16px; }
  .wrap { padding: 0 18px; }
  .topbar { font-size: 15px; }
}
html, body { overflow-x: clip; }

/* ---------- start page: the farm from above, with places you can press ---------- */
/* The photo sits in .map-canvas, which always keeps the photo's own shape. The pins are placed in per cent of
   that canvas (--x, --y), so they stay on the right building at every screen size, also when the hero crops the photo. */
.map-hero { position: relative; overflow: hidden; height: min(63.4vw, calc(100svh - 76px), 880px); min-height: 560px; background: var(--deep); color: #fff; }
.map-canvas { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 2400 / 1521; }
.map-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-canvas::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14, 36, 28, .72) 0, rgba(14, 36, 28, .42) 30%, rgba(14, 36, 28, 0) 56%); }
.map-text { position: absolute; z-index: 2; left: max(24px, calc((100% - var(--max)) / 2 + 24px)); top: clamp(36px, 5.6vw, 84px); width: min(540px, 44%); }
.map-text h1 { color: #fff; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.04; margin: 0; }
.map-text .lead { color: #fff; font-size: 22px; margin: 22px 0 0; }
.map-text .lead strong { display: table; font: 700 18px/1.3 var(--sans); margin-bottom: 12px; padding: 5px 11px; border-radius: 3px; background: var(--ochre-2); color: var(--ink); }
.map-text .btn-row { margin-top: 26px; }
.btn.on-photo { background: rgba(14, 36, 28, .5); border-color: #fff; color: #fff; }
.btn.on-photo:hover { background: rgba(14, 36, 28, .75); color: #fff; }

.pin { position: absolute; z-index: 1; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; min-height: 44px; transform: translate(-9px, -50%);
  font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.pin::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ochre-2); border: 3px solid var(--linen); box-shadow: 0 1px 4px rgba(0, 0, 0, .45); transition: transform .15s; }
.pin span { padding: 7px 13px; border-radius: 3px; background: var(--linen); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: background .15s, color .15s; }
.pin small { display: block; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.pin:hover, .pin:focus-visible { color: #fff; }
.pin:hover::before, .pin:focus-visible::before { transform: scale(1.25); }
.pin:hover span, .pin:focus-visible span { background: var(--brand); }
.pin:hover small, .pin:focus-visible small { color: #fff; }
.pin:focus-visible { outline: 0; }
.pin:focus-visible span { outline: 3px solid #fff; outline-offset: 2px; }
.pin-hint { position: absolute; z-index: 2; left: max(24px, calc((100% - var(--max)) / 2 + 24px)); bottom: 26px; margin: 0; padding: 8px 14px; border-radius: 3px; background: rgba(14, 36, 28, .66); font-size: 17px; }

/* phones and narrow tablets: the text first, then the whole photo with shorter labels */
@media (max-width: 1000px) {
  .map-hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .map-text { position: static; width: auto; padding: 18px 18px 30px; order: 3; }
  .map-canvas { position: relative; top: auto; transform: none; order: 1; }
  .map-canvas::after { display: none; }
  .pin { font-size: 15px; gap: 6px; transform: translate(-8px, -50%); }
  .pin::before { width: 16px; height: 16px; }
  .pin span { padding: 5px 9px; }
  .pin small { display: none; }
  .pin.flip { flex-direction: row-reverse; transform: translate(calc(-100% + 8px), -50%); }
  .pin-hint { position: static; order: 2; padding: 12px 18px 0; border-radius: 0; background: none; font-size: 16px; color: #e6dbcd; }
}

.facts + .section-head { margin-top: 64px; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
@media (max-width: 960px) { .places { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
@media (max-width: 600px) { .places { grid-template-columns: 1fr; } }
.place { display: block; color: var(--ink); text-decoration: none; scroll-margin-top: 104px; }
.place img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.place h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 16px 0 4px; }
.place p { margin: 0; color: var(--ink-2); font-size: 18px; }
.place .go { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.place:hover { color: var(--ink); }
.place:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* the place you pressed on the map: a frame in the brand colour, drawn once */
.place:target img { outline: 4px solid var(--brand); outline-offset: 5px; animation: place-arrive 1.2s ease 1; }
@keyframes place-arrive { 0% { outline-offset: 22px; outline-color: transparent; } 100% { outline-offset: 5px; outline-color: var(--brand); } }
.places-also { margin: 40px 0 0; font-family: var(--serif); font-size: 21px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pin::before, .pin span { transition: none; }
  .place:target img { animation: none; }
}

/* page header: the text beside a framed photo, shown nearly whole and never enlarged (photo on top on phones) */
.page-hero { position: relative; overflow: hidden; background: var(--mist); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; padding: 56px 24px 64px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); max-width: 13em; }
.page-hero .lead { color: var(--ink); margin-bottom: 0; }
.page-hero-photo { margin: 0; justify-self: end; width: min(100%, 420px); aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: 26px; padding: 22px 18px 40px; }
  .page-hero-photo { order: -1; justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; }
  .page-hero .crumbs { margin-bottom: 12px; }
}
.crumbs { font-size: 16px; margin-bottom: 18px; }
.crumbs a { color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.white { background: var(--paper); }
.section.band { background: var(--band); color: #f3ebe1; }
.section.band h2, .section.band h3 { color: #fff; }
.section.band .eyebrow, .section.band .lead { color: #dfe9ee; }
.section-head { max-width: 760px; margin-bottom: 36px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; gap: 28px; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo.tall img { aspect-ratio: 4 / 5; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 5; }
.facts div { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--sans); font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.15; letter-spacing: -.01em; }
.facts span { font-size: 17px; color: var(--ink-2); }
@media (max-width: 520px) { .facts strong { font-size: 23px; } .facts div { padding: 16px 16px; } .facts span { font-size: 16px; } }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; } .facts div { border-top: 1px solid var(--line); } .facts div:nth-child(-n+2) { border-top: 0; } }

/* link cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .go { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--brand-2); }

/* prices */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1060px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; display: flex; flex-direction: column; border-top: 5px solid var(--brand-2); }
.plan.full { border-top-color: var(--ochre); }
.plan .plan-type { font-size: 17px; font-weight: 600; color: var(--ink-2); margin: 0 0 4px; }
.plan h3 { font-size: 26px; margin-bottom: 8px; }
.plan .price { font-family: var(--serif); font-weight: 500; font-size: 46px; color: var(--ink); line-height: 1; margin: 6px 0 18px; letter-spacing: -.02em; }
.plan .price span { font: 400 18px var(--sans); color: var(--ink-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; }
.plan li { padding: 8px 0 8px 32px; border-top: 1px solid var(--line); position: relative; font-size: 17.5px; }
.plan li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.plan .plan-note { font-size: 16px; color: var(--ink-2); margin-top: auto; }
table.compare { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 17px; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--mist); color: var(--brand); font-weight: 700; border-bottom: 2px solid var(--brand); }
table.compare tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--ink-2); }

/* info boxes */
.box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 22px; }
.box.green-box { background: var(--ok-soft); box-shadow: none; border: 1px solid #cfd6bf; }
.box.gold-box { background: #f8efdc; box-shadow: none; border: 1px solid #e6d3a8; }
.box h3 { margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 36px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 6px; top: 16px; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list li strong { white-space: nowrap; color: var(--brand); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 700; display: grid; place-items: center; }
.quote { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; color: #fff; max-width: 22em; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 15px; color: var(--ink-2); padding: 6px 2px 0; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* film */
.film-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play-big { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); color: #fff; cursor: pointer; font: 700 20px var(--sans); }
.play-big span { display: inline-flex; align-items: center; gap: 12px; background: rgba(31, 77, 60, .92); padding: 16px 28px; border-radius: 3px; border: 2px solid var(--linen); }
.play-big svg { width: 28px; height: 28px; }

/* forms */
.form { display: grid; gap: 18px; }
.form label, .field-label { font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; font-size: 18px; }
.form .hint { font-size: 16px; color: var(--ink-2); margin: -2px 0 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 19px var(--sans); color: var(--ink); background: #fff; border: 2px solid #b9b19c; border-radius: 4px; padding: 13px 14px; min-height: 54px; }
input:focus, select:focus, textarea:focus { border-color: var(--ok); outline: 3px solid var(--focus); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--red); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 2px solid #c7bfa9; background: #fff; border-radius: 4px; padding: 14px 16px; font-weight: 600; min-height: 54px; }
.choice small { display: block; font-weight: 400; color: var(--ink-2); font-size: 16px; }
.choice input:checked + span { border-color: var(--ok); background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* footer */
.site-footer { background: var(--deep); color: #eadfd2; padding: 56px 0 120px; font-size: 17px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 19px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* mobile shortcut bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 66px; font: 600 14px var(--sans); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .mobile-bar svg { width: 26px; height: 26px; }
  .mobile-bar .on { color: var(--brand); font-weight: 700; }
  body { padding-bottom: 70px; }
}

/* dialogs and toasts */
dialog.dlg { border: 0; border-radius: 6px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); background: var(--paper); }
dialog.dlg::backdrop { background: rgba(12, 26, 20, .5); }
.dlg-body { padding: 30px 28px 26px; }
.dlg-body h2 { font-family: var(--sans); font-weight: 700; font-size: 26px; }
.dlg-close { float: right; margin: 14px 14px 0 0; min-height: 44px; padding: 6px 16px; border-radius: 3px; border: 2px solid var(--line); background: #fff; font: 600 16px var(--sans); cursor: pointer; color: var(--ink); }
dialog.video-dlg { width: min(1100px, calc(100vw - 24px)); background: #000; }
dialog.video-dlg video { width: 100%; max-height: calc(100vh - 120px); }
dialog.video-dlg .dlg-close { position: absolute; right: 0; top: 0; z-index: 3; float: none; }
/* the guide film in Mitt stall opens in the member dialog (#app-dialog gets .video-dlg) */
dialog.video-dlg .dlg-body { padding: 0; }
dialog.video-dlg .dlg-body video { display: block; max-height: calc(100vh - 150px); background: #000; }
dialog.video-dlg.portrait { width: min(470px, calc((100vh - 120px) * 9 / 16), calc(100vw - 24px)); }
dialog.video-dlg.portrait .dlg-body video { width: 100%; aspect-ratio: 9 / 16; max-height: calc(100vh - 120px); object-fit: contain; }
.guide-text { color: #f1e8dc; padding: 6px 20px 14px; font-size: 17px; }
.guide-text summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 700; color: var(--ochre-2); }
.guide-text p { margin: 0 0 10px; max-width: 70ch; }
dialog.photo-dlg { width: min(1000px, calc(100vw - 24px)); background: #111; }
dialog.photo-dlg img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
dialog.photo-dlg p { color: #eee; padding: 10px 18px 16px; margin: 0; }
dialog.photo-dlg .dlg-close { position: absolute; right: 0; top: 0; float: none; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--deep); color: #fff; padding: 16px 24px; border-radius: 4px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--red); }

/* =====================================================================================
   Mitt stall (member app)
   ===================================================================================== */
.app-top { background: var(--deep); color: #f1e8dc; }
.app-top .wrap { padding-top: 34px; padding-bottom: 0; }
.app-top h1 { color: #fff; font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); margin-bottom: 6px; }
.app-top p { margin: 0 0 18px; color: #e6dbcd; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-top: 6px; }
.tabs a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 4px 14px 0 0; color: #f1e8dc; text-decoration: none; font-weight: 700; font-size: 18px; }
.tabs a svg { width: 22px; height: 22px; }
.tabs a:hover { background: rgba(255,255,255,.08); color: #fff; }
.tabs a[aria-current="page"] { background: var(--linen); color: var(--brand); }
.tabs .count { background: var(--ochre-2); color: var(--ink); border-radius: 999px; font-size: 14px; padding: 1px 9px; }
.app-main { padding: 32px 0 80px; }
.app-status { min-height: 1.6em; font-weight: 600; margin-bottom: 8px; }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 22px; margin-bottom: 22px; }
.panel h2 { font-family: var(--sans); font-weight: 700; font-size: 27px; }
.panel h3 { font-size: 21px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .panel-grid { grid-template-columns: 1fr; } }
.welcome h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr 1fr; } }
.quick a { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--brand); font-weight: 700; font-size: 19px; border: 2px solid transparent; }
.quick a:hover { border-color: var(--ochre); }
.quick a svg { width: 34px; height: 34px; color: var(--brand); }
.quick a small { font-weight: 400; color: var(--ink-2); font-size: 16px; }
.progress { height: 14px; background: var(--sand); border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.duty-list { list-style: none; padding: 0; margin: 12px 0 0; }
.duty-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; }
.tick.done { background: var(--ok); color: #fff; }
.tick.todo { background: #fff; border: 2px dashed var(--amber); color: var(--amber); }
.upcoming { list-style: none; padding: 0; margin: 0; }
.upcoming li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.upcoming li:first-child { border-top: 0; }
.date-chip { flex: none; width: 64px; text-align: center; background: var(--brand-soft); border-radius: 4px; padding: 6px 0; color: var(--brand); line-height: 1.1; }
.date-chip b { display: block; font-size: 24px; }
.date-chip span { font-size: 15px; }
.upcoming .what { flex: 1; }
.upcoming .what strong { display: block; }
.upcoming .what span { color: var(--ink-2); font-size: 17px; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok-2); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.gold { background: #f6ebd2; color: #7c5d22; }
.tag.grey { background: #ece8de; color: var(--ink-2); }

/* month switcher + filters */
.month-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.month-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.month-switch button { min-height: 52px; padding: 10px 20px; border-radius: 3px; border: 2px solid var(--brand-2); background: #fff; color: var(--brand-2); font: 700 18px var(--sans); cursor: pointer; }
.month-switch button[aria-pressed="true"] { background: var(--brand-2); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 46px; padding: 8px 16px; border-radius: 3px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 600 16px var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--sand); color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 16px; color: var(--ink-2); margin: 6px 0 18px; }
.legend i { display: inline-block; width: 18px; height: 18px; border-radius: 5px; vertical-align: -3px; margin-right: 6px; }
.legend .l-free { border: 2px solid var(--ok); background: #fff; }
.legend .l-cat { background: #fff; border: 3px solid var(--cat); box-shadow: inset 4px 0 0 var(--cat); }
.legend .l-extra { background: var(--paper); border: 2px dashed #b3aa94; }
.legend .l-mine { background: var(--ok-2); }
.legend .l-pending { background: #fff8e8; border: 2px dashed var(--ochre); }
.legend .l-taken { background: #ece8de; border: 1px solid #d3cdbd; }
.legend .l-help { background: var(--amber-soft); border: 2px solid var(--amber); }

/* the three kinds of obligatory passes: one colour each, used in the calendar, the "kvar" buttons and Hem */
.c-helg { --cat: #2c6a52; --cat-soft: #e3ece6; --cat-ink: #173a2e; }
.c-kvall { --cat: #3b55a3; --cat-soft: #e6ebf8; --cat-ink: #22336b; }
.c-lunch { --cat: #a65a0e; --cat-soft: #fbead3; --cat-ink: #6b3a07; }

/* "kvar att välja": what the member still has to pick this month; the buttons stick below the site header */
.need-head { margin: 2px 0 10px; }
.need-title { margin: 0; font-size: 19px; }
.need-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 4px; border: 2px dashed var(--ochre); background: #fff8e8; color: #5c4214; font-size: 17px; }
.need-bar { position: sticky; top: calc(var(--head-h, 77px) + 8px); z-index: 30; margin: 0 0 18px; padding: 8px; border-radius: 6px;
  background: rgba(250, 247, 241, .96); box-shadow: 0 1px 2px rgba(23, 34, 29, .08), 0 10px 26px rgba(23, 34, 29, .14); backdrop-filter: blur(6px); }
.need-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.need-chip { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 12px; border-radius: 4px; border: 3px solid var(--cat); background: #fff;
  color: var(--cat-ink); font: inherit; text-align: left; cursor: pointer; transition: background .15s, transform .1s; }
.need-chip:hover { background: var(--cat-soft); }
.need-chip:active { transform: translateY(1px); }
.need-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cat); color: #fff; font: 700 18px/1 var(--sans); }
.need-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.need-text b { font-size: 17px; }
.need-text .tiny { display: none; }
.need-text small { font-size: 15px; font-weight: 700; }
.need-of { font-weight: 400; color: var(--ink-2); }
.need-chip.done { border-width: 2px; background: var(--cat-soft); }
.need-chip.done .need-icon { background: #fff; color: var(--cat); box-shadow: inset 0 0 0 2px var(--cat); }
.need-chip[aria-pressed="true"] { background: var(--cat); color: #fff; }
.need-chip[aria-pressed="true"] .need-icon { background: #fff; color: var(--cat); box-shadow: none; }
.need-chip[aria-pressed="true"] .need-of { color: rgba(255, 255, 255, .85); }
.need-chip.all { --cat: var(--deep); --cat-soft: var(--brand-soft); --cat-ink: var(--brand); border-color: var(--line); }
.need-chip.all[aria-pressed="true"] { border-color: var(--deep); }
/* phones: the buttons become a toolbar attached under the header, four small buttons in one row */
@media (max-width: 760px) {
  .need-bar { top: var(--head-h, 67px); margin: 0 -24px 16px; padding: 8px 24px; border-radius: 0; background: var(--linen); backdrop-filter: none;
    box-shadow: 0 8px 14px -10px rgba(23, 34, 29, .35); }
  .need-chips { gap: 6px; }
  .need-chip { flex-direction: column; justify-content: center; gap: 3px; min-height: 64px; padding: 6px 2px; text-align: center; border-radius: 4px; }
  .need-icon { width: 28px; height: 28px; font-size: 16px; }
  .need-text { align-items: center; }
  .need-text b { font-size: 15px; }
  .need-text .full, .need-text small { display: none; }
  .need-text .tiny { display: inline; }
}
/* small phones: months side by side, tighter panels and a two-column legend */
@media (max-width: 560px) {
  .need-bar { margin: 0 -18px 16px; padding: 8px 18px; }
  .month-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .month-switch button { padding: 10px 8px; font-size: 17px; }
  .panel { padding: 20px 18px 18px; }
  .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 15px; }
}

/* home: an unfinished kind of pass links straight to the free passes of that kind */
.duty-list .tick.todo { border-color: var(--cat, var(--amber)); color: var(--cat-ink, var(--amber)); }
.duty-list .tick.done { background: var(--cat, var(--ok)); }
.duty-go { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 52px; margin: -6px -10px; padding: 6px 10px; border-radius: 4px; color: inherit; text-decoration: none; }
.duty-go:hover { background: var(--cat-soft); color: inherit; }
.duty-go .go { margin-left: auto; flex: none; padding: 7px 14px; border-radius: 3px; background: var(--cat); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }

/* pass calendar */
.week-title { font-size: 18px; font-weight: 700; color: var(--ink-2); margin: 26px 0 10px; }
.day { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: stretch; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; }
.day.weekend { border-left: 6px solid var(--ochre-2); }
.day.past { opacity: .55; }
.day-name { display: flex; flex-direction: column; justify-content: center; padding-left: 6px; }
.day-name b { font-size: 21px; color: var(--brand); text-transform: capitalize; }
.day-name span { font-size: 16px; color: var(--ink-2); }
.day-passes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pass { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 76px; padding: 10px 14px; border-radius: 4px; text-align: left;
  font: 600 17px/1.25 var(--sans); cursor: pointer; border: 2px solid var(--ok); background: #fff; color: var(--ink); }
.pass small { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.pass .who { font-weight: 700; font-size: 16px; }
.pass.free:hover { background: var(--ok-soft); }
.pass.mine { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.pass.mine small { color: #e3ead9; }
.pass.taken { background: #f1ede3; border: 1px solid #ddd6c5; color: var(--ink-2); cursor: default; }
.pass.help { background: var(--amber-soft); border-color: var(--amber); color: #6b3a07; }
.pass.help small { color: #6b3a07; }
.pass[disabled] { cursor: not-allowed; }
.pass.past-pass { opacity: .6; cursor: default; }
/* a free pass that counts for you: solid outline in its colour + a stripe; an extra pass: dashed grey outline */
.pass.free.counts { border: 3px solid var(--cat); box-shadow: inset 7px 0 0 var(--cat); padding-left: 20px; color: var(--cat-ink); }
.pass.free.counts small { color: var(--cat-ink); font-weight: 700; }
.pass.free.counts:hover { background: var(--cat-soft); }
.pass.free.extra { border: 2px dashed #b3aa94; background: var(--paper); color: var(--ink); }
.pass.free.extra small { color: var(--ink-2); }
.pass.free.extra:hover { background: #f4efe3; border-color: var(--ink-2); }
.pass.mine.c-helg, .pass.mine.c-kvall, .pass.mine.c-lunch { background: var(--cat); border-color: var(--cat); }
.pass.mine.c-helg small, .pass.mine.c-kvall small, .pass.mine.c-lunch small { color: rgba(255, 255, 255, .88); }
.pass.mine > span::before { content: '✓ '; }
.pass.mine.pending { background: #fff8e8; border: 3px dashed var(--ochre); color: #5c4214; }
.pass.mine.pending small { color: #7c5d22; font-weight: 700; }
.pass.mine.pending > span::before { content: none; }
.pass.taken.pending-other { background: #faf6ec; border: 2px dashed #c9b88f; }
/* fewer passes per day when one kind is chosen: keep the buttons a comfortable size */
.day-passes.n1 { grid-template-columns: minmax(0, 340px); }
.day-passes.n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.day-passes.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .day { grid-template-columns: 1fr; }
  .day-name { flex-direction: row; gap: 10px; align-items: baseline; }
  .day-passes, .day-passes.n3 { grid-template-columns: 1fr 1fr; }
  .day-passes.n1 { grid-template-columns: 1fr; }
  .day-passes.n2 { grid-template-columns: 1fr 1fr; }
  /* one pass per day: day name and pass side by side, so more days fit on the screen */
  .day.single { grid-template-columns: minmax(96px, 32%) 1fr; align-items: center; gap: 10px; padding: 10px; }
  .day.single .day-name { flex-direction: column; align-items: flex-start; gap: 0; padding-left: 2px; }
  .day.single .day-name b { font-size: 19px; }
  .day.single .day-name span { font-size: 15px; }
}

/* training times: the trainer ticks the hours she can hold training (".time-grid" beats the ".form label" rule) */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 4px; }
.time-grid .time-chip { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; margin: 0; padding: 6px;
  border-radius: 4px; border: 2px solid var(--ok); background: #fff; color: var(--ink); font: 700 20px/1.2 var(--sans); cursor: pointer; user-select: none; }
.time-grid .time-chip input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.time-grid .time-chip small { font: 500 14px var(--sans); color: var(--ink-2); }
.time-grid .time-chip:hover { background: var(--ok-soft); }
.time-grid .time-chip:has(input:checked) { background: var(--ok-2); border-color: var(--ok-2); color: #fff; }
.time-grid .time-chip:has(input:checked) small { color: #e3ead9; }
.time-grid .time-chip:has(input:checked) > span::before { content: '✓ '; }
.time-grid .time-chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.time-grid .time-chip.off { background: #f1ede3; border: 1px solid #ddd6c5; color: var(--ink-2); cursor: not-allowed; }
.time-grid .time-chip.off input { cursor: not-allowed; }
.train-day { font-family: var(--sans); font-size: 19px; margin: 20px 0 2px; }
.train-day::first-letter { text-transform: uppercase; }

/* time booking */
.resources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .resources { grid-template-columns: 1fr 1fr; } }
.resource { display: flex; flex-direction: column; text-align: left; border: 3px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; padding: 0; font: inherit; color: var(--ink); }
.resource img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.resource span { padding: 12px 16px 14px; display: block; }
.resource b { display: block; color: var(--brand); font-size: 19px; }
.resource small { color: var(--ink-2); font-size: 15px; }
.resource[aria-pressed="true"] { border-color: var(--ok); }
.days-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 2px 10px; }
.days-row button { flex: none; width: 92px; min-height: 84px; border-radius: 4px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: 600 16px/1.2 var(--sans); color: var(--ink); }
.days-row button b { display: block; font-size: 26px; color: var(--ink); }
.days-row button[aria-pressed="true"] { border-color: var(--ok); background: var(--ok-soft); }
.days-row button[disabled] { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.slot { min-height: 70px; border-radius: 4px; border: 2px solid var(--ok); background: #fff; color: var(--ink); font: 700 19px/1.2 var(--sans); cursor: pointer; padding: 8px 10px; }
.slot small { display: block; font: 500 15px var(--sans); color: var(--ink-2); }
.slot:hover { background: var(--ok-soft); }
.slot.mine { background: var(--ok-2); color: #fff; border-color: var(--ok-2); }
.slot.mine small { color: #e3ead9; }
.slot.taken, .slot.blocked { background: #f1ede3; border: 1px solid #ddd6c5; color: var(--ink-2); cursor: default; }
.slot.gone { opacity: .45; cursor: default; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; color: var(--brand); margin: 26px 0 12px; }
.step-title i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-size: 18px; }

/* admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
/* pass overview: the name, the extra passes and the status open the member's passes */
.cell-btn { background: none; border: 0; margin: -8px -6px; padding: 8px 6px; min-height: 44px; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 4px;
  text-decoration: underline; text-decoration-color: var(--ochre-2); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cell-btn:hover { background: var(--brand-soft); }
.cell-btn:has(.tag) { text-decoration: none; }
.cell-btn .tag { box-shadow: 0 0 0 1px currentColor; }
.admin-table th { color: var(--brand); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form select { width: auto; min-height: 46px; padding: 6px 10px; font-size: 17px; }
.empty { padding: 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }
.notice { padding: 14px 18px; border-radius: 4px; background: var(--mist); color: var(--ink); margin-bottom: 16px; } /* plain information: pale sky, never a warning colour */
.notice.amber { background: var(--amber-soft); color: #6b3a07; }
.notice-panel { border: 2px solid var(--ochre-2); }
.notice-panel h2 { font-family: var(--sans); font-weight: 700; font-size: 27px; }
/* test accounts: choose Anna or Admin without a ChatGPT account */
.test-chooser { border: 2px solid var(--ochre-2); background: linear-gradient(180deg, #fffaf0, var(--paper)); }
.test-chooser h2 { font-family: var(--sans); font-weight: 700; font-size: 27px; margin-bottom: 6px; }
.test-accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 16px; }
.test-account { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 14px 18px; border-radius: 6px; border: 2px solid var(--brand-2);
  background: #fff; color: var(--brand); font: inherit; text-align: left; cursor: pointer; transition: background .15s, transform .1s; }
.test-account:hover { background: var(--brand-soft); }
.test-account:active { transform: translateY(1px); }
.test-account strong { display: block; font-size: 20px; }
.test-account small { display: block; font-size: 16px; color: var(--ink-2); }
.test-account .avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-2); color: #fff; font: 700 22px var(--sans); }
.test-account[data-as="admin"] .avatar { background: var(--ochre-2); color: var(--ink); }
.test-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; margin-bottom: 18px;
  border-radius: 4px; background: var(--amber-soft); color: #6b3a07; font-size: 18px; }
.app-bottom { display: none; }
@media (max-width: 760px) {
  .tabs { display: none; }
  .app-bottom { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .app-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; font: 700 14px var(--sans); color: var(--ink-2); text-decoration: none; }
  .app-bottom a svg { width: 26px; height: 26px; }
  .app-bottom a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
  .app-bottom a { position: relative; }
  .app-bottom .count { position: absolute; top: 5px; left: calc(50% + 8px); font-size: 12px; line-height: 18px; min-width: 20px; padding: 0 6px; text-align: center; }
  .app-top .wrap { padding-bottom: 18px; }
}

/* the guide film card: on Hem beside the greeting, and on the login page */
.welcome-guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; }
@media (max-width: 760px) { .welcome-guide { grid-template-columns: 1fr; gap: 18px; } }
.guide-card { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: var(--brand); text-align: left; cursor: pointer; }
.guide-pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow); }
.guide-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.guide-card:hover .guide-pic img { transform: scale(1.03); }
.guide-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--linen); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .15s; }
.guide-play svg { margin-left: 4px; }
.guide-card:hover .guide-play { transform: scale(1.08); }
.guide-label b { display: block; font-size: 19px; }
.guide-label small { display: block; font-size: 15px; color: var(--ink-2); }
.guide-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }

/* =====================================================================================
   Landscape edges: no straight lines between the parts of a page
   =====================================================================================
   Walking down a page is like walking through the farm: a hill, a meadow, the lake, the forest.
   Every section draws its own top edge, in its own colour, over the end of the part above it:
   - a light section rises as a rolling hill (two shapes, mirrored in turn, so no two edges in a row look the same)
   - the blue band starts with a water line, with a paler wave behind it
   - the footer is a spruce forest edge
   The shapes are masks on ::before, so they follow the colour variables by themselves. */
:root {
  --edge-hill-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C160 8 330 2 520 16s360 40 560 26 250-30 360-22v40Z'/%3E%3C/svg%3E");
  --edge-hill-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V20c140-14 300-6 470 12s330 26 520 8 300-34 450-16v36Z'/%3E%3C/svg%3E");
  --edge-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22q90-22 180 0t180 0 180 0 180 0v18Z'/%3E%3C/svg%3E");
  --edge-trees: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140'%3E%3Cpath d='M0 140L-20.0 140L-20.0 140.0L-9.0 129.7L-15.9 126.7L-7.2 116.3L-11.5 113.3L-5.4 103.0L-6.8 100.0L-1.0 86.7L4.9 100.0L3.5 103.0L9.6 113.3L5.3 116.3L13.9 126.7L7.0 129.7L18.0 140.0L18.0 140L-0.4 140L-0.4 140.0L19.3 121.0L5.5 118.0L21.8 99.1L11.6 96.1L24.3 77.1L18.0 74.1L27.0 55.1L24.9 52.1L33.6 30.1L42.2 52.1L40.1 55.1L49.1 74.1L42.8 77.1L55.6 96.1L45.4 99.1L61.6 118.0L47.8 121.0L67.5 140.0L67.5 140L44.7 140L44.7 140.0L63.1 124.0L50.2 121.0L65.4 105.0L55.9 102.0L67.8 86.0L61.9 83.0L70.3 67.1L68.4 64.1L76.5 45.1L84.6 64.1L82.6 67.1L91.1 83.0L85.1 86.0L97.1 102.0L87.5 105.0L102.8 121.0L89.8 124.0L108.3 140.0L108.3 140L92.3 140L92.3 140.0L103.0 127.6L96.3 124.6L104.7 112.2L100.5 109.2L106.5 96.8L105.1 93.8L110.8 78.4L116.4 93.8L115.1 96.8L121.0 109.2L116.8 112.2L125.2 124.6L118.5 127.6L129.2 140.0L129.2 140L121.4 140L121.4 140.0L137.9 124.0L126.3 121.0L140.0 105.0L131.4 102.0L142.1 86.1L136.8 83.1L144.4 67.1L142.6 64.1L149.9 45.1L157.1 64.1L155.3 67.1L162.9 83.1L157.6 86.1L168.3 102.0L159.7 105.0L173.4 121.0L161.8 124.0L178.3 140.0L178.3 140L164.5 140L164.5 140.0L185.6 121.4L170.8 118.4L188.3 99.8L177.3 96.8L191.0 78.2L184.2 75.2L193.9 56.7L191.7 53.7L200.9 32.1L210.2 53.7L208.0 56.7L217.6 75.2L210.8 78.2L224.5 96.8L213.6 99.8L231.1 118.4L216.2 121.4L237.4 140.0L237.4 140L206.9 140L206.9 140.0L219.8 131.9L211.7 128.9L221.8 120.8L216.8 117.8L223.9 109.7L222.3 106.7L229.1 95.7L235.9 106.7L234.2 109.7L241.4 117.8L236.4 120.8L246.4 128.9L238.4 131.9L251.2 140.0L251.2 140L232.1 140L232.1 140.0L254.8 126.1L238.8 123.1L257.6 109.1L245.9 106.1L260.6 92.2L253.2 89.2L263.7 75.3L261.2 72.3L271.2 55.3L281.2 72.3L278.7 75.3L289.2 89.2L281.8 92.2L296.5 106.1L284.8 109.1L303.6 123.1L287.6 126.1L310.3 140.0L310.3 140L281.7 140L281.7 140.0L302.5 125.2L287.9 122.2L305.1 107.5L294.4 104.5L307.8 89.7L301.1 86.7L310.7 71.9L308.5 68.9L317.6 51.2L326.7 68.9L324.5 71.9L334.1 86.7L327.4 89.7L340.8 104.5L330.1 107.5L347.3 122.2L332.7 125.2L353.5 140.0L353.5 140L332.9 140L332.9 140.0L351.8 117.2L338.5 114.2L354.1 91.4L344.4 88.4L356.6 65.6L350.5 62.6L359.1 39.7L357.1 36.7L365.4 10.9L373.6 36.7L371.6 39.7L380.3 62.6L374.2 65.6L386.4 88.4L376.7 91.4L392.2 114.2L379.0 117.2L397.8 140.0L397.8 140L365.8 140L365.8 140.0L389.4 116.7L372.8 113.7L392.4 90.4L380.2 87.4L395.5 64.1L387.8 61.1L398.7 37.8L396.2 34.8L406.5 8.5L416.9 34.8L414.4 37.8L425.2 61.1L417.6 64.1L432.9 87.4L420.7 90.4L440.2 113.7L423.7 116.7L447.3 140.0L447.3 140L414.7 140L414.7 140.0L427.6 124.9L419.5 121.9L429.6 106.8L424.6 103.8L431.7 88.7L430.1 85.7L436.9 67.6L443.8 85.7L442.1 88.7L449.2 103.8L444.2 106.8L454.3 121.9L446.2 124.9L459.1 140.0L459.1 140L448.3 140L448.3 140.0L471.8 121.9L455.3 118.9L474.8 100.8L462.6 97.8L477.9 79.7L470.3 76.7L481.1 58.5L478.6 55.5L488.9 34.4L499.2 55.5L496.7 58.5L507.5 76.7L499.9 79.7L515.2 97.8L503.0 100.8L522.5 118.9L506.0 121.9L529.5 140.0L529.5 140L496.2 140L496.2 140.0L512.0 116.7L500.9 113.7L514.0 90.4L505.8 87.4L516.1 64.0L511.0 61.0L518.3 37.7L516.6 34.7L523.6 8.4L530.5 34.7L528.8 37.7L536.1 61.0L531.0 64.0L541.3 87.4L533.1 90.4L546.2 113.7L535.1 116.7L551.0 140.0L551.0 140L539.5 140L539.5 140.0L563.8 126.2L546.7 123.2L566.8 109.4L554.3 106.4L570.0 92.6L562.2 89.6L573.3 75.7L570.7 72.7L581.4 55.9L592.0 72.7L589.4 75.7L600.6 89.6L592.8 92.6L608.5 106.4L595.9 109.4L616.0 123.2L599.0 126.2L623.2 140.0L623.2 140L600.9 140L600.9 140.0L622.0 119.4L607.2 116.4L624.6 95.8L613.7 92.8L627.4 72.2L620.6 69.2L630.2 48.6L628.0 45.6L637.2 22.0L646.5 45.6L644.2 48.6L653.9 69.2L647.1 72.2L660.8 92.8L649.9 95.8L667.3 116.4L652.5 119.4L673.6 140.0L673.6 140L650.2 140L650.2 140.0L670.1 116.9L656.1 113.9L672.6 90.8L662.3 87.8L675.2 64.8L668.8 61.8L677.9 38.7L675.8 35.7L684.6 9.6L693.3 35.7L691.2 38.7L700.3 61.8L693.9 64.8L706.8 87.8L696.5 90.8L713.0 113.9L699.0 116.9L718.9 140.0L718.9 140L708.6 140L708.6 140.0L732.2 121.1L715.6 118.1L735.2 99.2L723.0 96.2L738.3 77.4L730.7 74.4L741.5 55.5L739.0 52.5L749.4 30.6L759.8 52.5L757.2 55.5L768.1 74.4L760.5 77.4L775.8 96.2L763.6 99.2L783.1 118.1L766.5 121.1L790.2 140.0L790.2 140L755.8 140L755.8 140.0L764.8 125.8L759.2 122.8L766.2 108.6L762.7 105.6L767.7 91.4L766.5 88.4L771.3 71.2L776.0 88.4L774.9 91.4L779.9 105.6L776.4 108.6L783.4 122.8L777.8 125.8L786.8 140.0L786.8 140L772.5 140L772.5 140.0L793.6 122.4L778.8 119.4L796.2 101.9L785.3 98.9L798.9 81.3L792.1 78.3L801.8 60.7L799.6 57.7L808.8 37.2L818.1 57.7L815.8 60.7L825.5 78.3L818.7 81.3L832.4 98.9L821.5 101.9L838.9 119.4L824.1 122.4L845.2 140.0L845.2 140L820.9 140L820.9 140.0L831.5 130.7L824.8 127.7L833.2 118.4L829.1 115.4L835.0 106.1L833.6 103.1L839.3 90.8L844.9 103.1L843.6 106.1L849.5 115.4L845.3 118.4L853.7 127.7L847.0 130.7L857.7 140.0L857.7 140L846.7 140L846.7 140.0L871.4 125.2L854.0 122.2L874.5 107.4L861.7 104.4L877.8 89.6L869.8 86.6L881.1 71.9L878.5 68.9L889.4 51.1L900.3 68.9L897.6 71.9L909.0 86.6L901.0 89.6L917.1 104.4L904.2 107.4L924.7 122.2L907.3 125.2L932.1 140.0L932.1 140L918.7 140L918.7 140.0L942.0 120.5L925.6 117.5L944.9 98.1L932.8 95.1L947.9 75.6L940.4 72.6L951.1 53.2L948.6 50.2L958.8 27.7L969.1 50.2L966.6 53.2L977.3 72.6L969.8 75.6L984.9 95.1L972.8 98.1L992.1 117.5L975.7 120.5L999.0 140.0L999.0 140L969.2 140L969.2 140.0L991.3 121.2L975.8 118.2L994.0 99.4L982.6 96.4L996.9 77.5L989.8 74.5L999.9 55.7L997.5 52.7L1007.2 30.9L1016.9 52.7L1014.5 55.7L1024.6 74.5L1017.5 77.5L1031.8 96.4L1020.4 99.4L1038.6 118.2L1023.2 121.2L1045.2 140.0L1045.2 140L1015.3 140L1015.3 140.0L1033.5 116.6L1020.8 113.6L1035.8 90.2L1026.4 87.2L1038.2 63.7L1032.3 60.7L1040.7 37.3L1038.7 34.3L1046.7 7.9L1054.7 34.3L1052.7 37.3L1061.1 60.7L1055.2 63.7L1067.0 87.2L1057.6 90.2L1072.6 113.6L1059.9 116.6L1078.1 140.0L1078.1 140L1059.2 140L1059.2 140.0L1076.3 124.6L1064.3 121.6L1078.4 106.2L1069.6 103.2L1080.7 87.8L1075.2 84.8L1083.0 69.4L1081.2 66.4L1088.7 48.0L1096.2 66.4L1094.4 69.4L1102.2 84.8L1096.7 87.8L1107.8 103.2L1098.9 106.2L1113.1 121.6L1101.1 124.6L1118.2 140.0L1118.2 140L1108.6 140L1108.6 140.0L1127.1 117.9L1114.1 114.9L1129.4 92.9L1119.8 89.9L1131.8 67.8L1125.8 64.8L1134.3 42.7L1132.3 39.7L1140.5 14.7L1148.6 39.7L1146.6 42.7L1155.1 64.8L1149.1 67.8L1161.1 89.9L1151.5 92.9L1166.8 114.9L1153.9 117.9L1172.4 140.0L1172.4 140L1148.6 140L1148.6 140.0L1169.0 121.1L1154.7 118.1L1171.6 99.2L1161.0 96.2L1174.2 77.3L1167.6 74.3L1177.0 55.4L1174.8 52.4L1183.8 30.6L1192.8 52.4L1190.6 55.4L1200.0 74.3L1193.4 77.3L1206.6 96.2L1196.0 99.2L1212.9 118.1L1198.6 121.1L1219.0 140.0L1219.0 140L1189.5 140L1189.5 140.0L1202.4 125.4L1194.3 122.4L1204.4 107.9L1199.4 104.9L1206.5 90.3L1204.8 87.3L1211.7 69.8L1218.5 87.3L1216.8 90.3L1224.0 104.9L1219.0 107.9L1229.0 122.4L1221.0 125.4L1233.9 140.0L1233.9 140L1215.7 140L1215.7 140.0L1234.8 117.6L1221.4 114.6L1237.1 92.2L1227.3 89.2L1239.6 66.7L1233.5 63.7L1242.2 41.3L1240.2 38.3L1248.5 12.9L1256.9 38.3L1254.9 41.3L1263.6 63.7L1257.5 66.7L1269.8 89.2L1259.9 92.2L1275.7 114.6L1262.3 117.6L1281.3 140.0L1281.3 140L1258.5 140L1258.5 140.0L1267.3 131.8L1261.8 128.8L1268.7 120.5L1265.3 117.5L1270.2 109.3L1269.0 106.3L1273.7 95.0L1278.4 106.3L1277.2 109.3L1282.1 117.5L1278.7 120.5L1285.6 128.8L1280.1 131.8L1288.9 140.0L1288.9 140L1279.6 140L1279.6 140.0L1292.5 129.6L1284.4 126.6L1294.6 116.2L1289.5 113.2L1296.7 102.9L1295.0 99.9L1301.9 86.5L1308.7 99.9L1307.1 102.9L1314.2 113.2L1309.2 116.2L1319.3 126.6L1311.2 129.6L1324.2 140.0L1324.2 140L1311.8 140L1311.8 140.0L1332.4 118.6L1318.0 115.6L1334.9 94.3L1324.3 91.3L1337.6 69.9L1331.0 66.9L1340.4 45.5L1338.2 42.5L1347.2 18.2L1356.2 42.5L1354.0 45.5L1363.5 66.9L1356.9 69.9L1370.1 91.3L1359.5 94.3L1376.5 115.6L1362.1 118.6L1382.6 140.0L1382.6 140L1351.5 140L1351.5 140.0L1372.0 123.8L1357.6 120.8L1374.6 104.5L1364.0 101.5L1377.3 85.3L1370.7 82.3L1380.1 66.0L1377.9 63.0L1386.9 43.8L1395.9 63.0L1393.7 66.0L1403.2 82.3L1396.6 85.3L1409.9 101.5L1399.2 104.5L1416.2 120.8L1401.8 123.8L1422.3 140.0L1422.3 140L1393.5 140L1393.5 140.0L1415.3 121.6L1400.0 118.6L1418.0 100.2L1406.7 97.2L1420.8 78.8L1413.8 75.8L1423.8 57.4L1421.5 54.4L1431.1 33.0L1440.6 54.4L1438.3 57.4L1448.3 75.8L1441.3 78.8L1455.4 97.2L1444.1 100.2L1462.2 118.6L1446.9 121.6L1468.7 140.0L1468.7 140L1439.0 140L1439.0 140.0L1459.7 125.0L1445.2 122.0L1462.3 107.0L1451.6 104.0L1465.0 89.1L1458.3 86.1L1467.8 71.1L1465.6 68.1L1474.7 50.1L1483.7 68.1L1481.5 71.1L1491.0 86.1L1484.4 89.1L1497.8 104.0L1487.1 107.0L1504.2 122.0L1489.6 125.0L1510.3 140.0L1510.3 140L1440 140Z'/%3E%3C/svg%3E");
}
.section, .site-footer { position: relative; }
.section { background-color: var(--linen); }
.section::before, .section.band::after, .site-footer::before { content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); pointer-events: none;
  background: inherit; -webkit-mask: var(--edge) bottom / 100% 100% no-repeat; mask: var(--edge) bottom / 100% 100% no-repeat; }
.section::before { --edge: var(--edge-hill-a); height: 56px; }
.section:nth-of-type(even)::before { --edge: var(--edge-hill-b); }
.section:nth-of-type(3n)::before { transform: scaleX(-1); }
/* the lake: a water line, and a paler wave half a step behind it */
.section.band::before, .section.band::after { --edge: var(--edge-wave); height: 34px; transform: none;
  -webkit-mask: var(--edge) bottom left / 360px 100% repeat-x; mask: var(--edge) bottom left / 360px 100% repeat-x; }
.section.band::after { height: 46px; opacity: .4; -webkit-mask-position: 90px bottom; mask-position: 90px bottom; }
/* the forest edge above the footer */
.site-footer::before { --edge: var(--edge-trees); height: 118px;
  -webkit-mask: var(--edge) bottom left / auto 100% repeat-x; mask: var(--edge) bottom left / auto 100% repeat-x; }
/* room for the edges, so they never cover text or buttons */
main > .section:last-child { padding-bottom: 176px; }
.page-hero .wrap { padding-bottom: 104px; }
.pin-hint { bottom: 84px; }
/* the facts strip lies across the first hill, half on the photo */
#garden .facts { margin-top: -150px; }
/* the place cards stand at slightly different heights, like buildings on a slope */
@media (min-width: 961px) {
  .places .place:nth-child(3n + 2) { transform: translateY(30px); }
  .places .place:nth-child(3n) { transform: translateY(12px); }
  .places-also { margin-top: 70px; }
}
@media (max-width: 1000px) {
  .map-text { padding-bottom: 76px; }
  .pin-hint { bottom: auto; }
  #garden .facts { margin-top: -96px; }
  .section::before { height: 34px; }
  .site-footer::before { height: 84px; }
  main > .section:last-child { padding-bottom: 130px; }
}

/* =====================================================================================
   Notice board (news, events, to-do board), the news panel on the start page, the custom price card
   ===================================================================================== */
.section.mist { background-color: var(--mist); }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-head h2 { margin: 0; }
.list-title { margin-top: 26px; }
/* long rows: the text first, the buttons under it when there is no room beside it */
.upcoming.wrap li { flex-wrap: wrap; }
.upcoming.wrap .btn-row { margin-left: auto; }
.upcoming .what .note-text { display: block; margin-top: 4px; color: var(--ink); }
.upcoming .what .tag { margin-right: 6px; }
.upcoming li.is-done { opacity: .7; }
.upcoming li.empty { display: block; }
@media (max-width: 700px) { .upcoming.wrap .btn-row { flex-basis: 100%; margin-left: 0; } }
.news-item { padding: 16px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-item h3 { margin-bottom: 2px; }
.news-item p { margin: 0 0 8px; }
.news-line { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.news-public { align-items: start; }
.news-public h3 { margin-bottom: 14px; }
.news-public .upcoming li:first-child { padding-top: 0; }
input[type=time] { width: 100%; font: 19px var(--sans); color: var(--ink); background: #fff; border: 2px solid #b9b19c; border-radius: 4px; padding: 13px 14px; min-height: 54px; }
.form label.check { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.check input { width: 26px; height: 26px; flex: none; accent-color: var(--brand); }
/* "Eget upplägg": a wide card under the fixed plans */
.plan.custom { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; border-top-color: var(--ochre-2); }
.plan.custom p { margin: 0; }
.plan.custom h3 { margin-bottom: 10px; }
.plan.custom .price { font-size: 36px; margin: 0 0 16px; }
.plan.custom .price span { display: block; margin-top: 6px; }
.plan-custom-side { justify-self: end; text-align: right; }
@media (max-width: 760px) { .plan.custom { grid-template-columns: 1fr; } .plan-custom-side { justify-self: start; text-align: left; } }
/* the next coming event, named at the top of the start page */
.next-event { position: absolute; z-index: 2; right: max(24px, calc((100% - var(--max)) / 2 + 24px)); bottom: 84px; margin: 0; }
@media (max-width: 1000px) { .next-event { position: static; order: 2; padding: 14px 18px 0; } }
.next-event a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 14px 8px 12px; border-radius: 3px; background: rgba(14, 36, 28, .6); color: #fff; text-decoration: none; font-size: 17px; }
.next-event a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ochre-2); }
.next-event a:hover { background: rgba(14, 36, 28, .85); color: #fff; }
.next-event strong { text-decoration: underline; text-underline-offset: 4px; }
