/* Storkøbenhavns Jagtforening – stylesheet
   Farver og typografi samlet i variabler øverst, så de er nemme at justere. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --forest: #1f3a2b;
  --forest-2: #2c4d3a;
  --moss: #5c7a4e;
  --brass: #b8862b;
  --brass-2: #9c6f1f;
  --cream: #f5f0e4;
  --paper: #fbf8f1;
  --white: #ffffff;
  --ink: #1c211e;
  --muted: #5d645e;
  --line: #e2dac6;
  --sold: #9b2c2c;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 33, 30, .06), 0 8px 24px rgba(28, 33, 30, .08);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-2); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* ---------- knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: var(--brass-2); color: var(--white); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-2); color: var(--white); }
.btn--light { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: var(--white); color: var(--forest); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }
.offer__actions .btn, .range__actions .btn { text-transform: uppercase; letter-spacing: .06em; }

.badge { display: inline-block; padding: .25em .7em; border-radius: 999px; background: var(--cream); color: var(--forest); font-size: .78rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.badge--sold { background: var(--sold); color: var(--white); }

/* ---------- header */
.top { background: var(--forest); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.top__bar { background: #17301f; font-size: .82rem; color: rgba(255,255,255,.8); }
.top__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; flex-wrap: wrap; }
.top__bar a { color: inherit; text-decoration: none; }
.top__bar a:hover { color: var(--white); text-decoration: underline; }
.top__bar-links { display: flex; gap: 18px; }
.top__main { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__name { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.3rem; line-height: 1.15; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link, .nav__btn {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px;
  color: var(--white); background: none; border: 0; font: 500 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover, .nav__btn:hover, .nav__item.is-active > .nav__link, .nav__item.is-active > .nav__btn { background: rgba(255,255,255,.1); color: var(--white); }
.nav__btn svg { transition: transform .15s; opacity: .8; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); display: none;
}
.nav__sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--cream); color: var(--forest); }
.nav__btn[aria-expanded="true"] + .nav__sub { display: block; }
.nav__item--cta { margin-left: 10px; }

.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--white); border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--font-body); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) and (min-width: 1081px) {
  .nav__link, .nav__btn { padding: 10px 8px; font-size: .9rem; }
  .brand__name { font-size: 1.1rem; }
}
@media (max-width: 1080px) {
  .top__bar-inner > span:first-child { display: none; }
  .top__bar-inner { justify-content: flex-end; }
  .menu-toggle { display: inline-flex; }
  .top__main { flex-wrap: wrap; min-height: 68px; }
  .nav { display: none; width: 100%; padding-bottom: 16px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link, .nav__btn { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__sub { position: static; box-shadow: none; background: rgba(255,255,255,.06); border-radius: 0; padding: 4px 0 8px; }
  .nav__sub a { color: var(--white); padding: 11px 20px; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--white); }
  .nav__item--cta { margin: 16px 0 0; }
  .nav__item--cta .btn { width: 100%; padding: .9em; }
}
@media (max-width: 520px) {
  .brand__name { font-size: 1.05rem; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle__label { display: none; }
}

/* ---------- page head */
.page-head { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); color: var(--white); padding: clamp(32px, 6vw, 64px) 0 clamp(28px, 5vw, 48px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,43,.25), transparent 70%); pointer-events: none; }
.page-head h1 { color: var(--white); margin: 0; max-width: 22ch; }
.page-head .lead { font-size: 1.15rem; color: rgba(255,255,255,.88); margin: .75em 0 0; max-width: 60ch; }
.page-head .btn { margin-top: 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: #e7c786; margin: 0 0 .6em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--white); }
.byline { color: rgba(255,255,255,.8); margin: .6em 0 0; }

.page { padding-block: clamp(28px, 5vw, 56px); }
.page--with-aside { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page--events { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 900px) { .page--with-aside, .page--events { grid-template-columns: 1fr; } }
.back { margin: 0 0 48px; }

.aside { position: sticky; top: 130px; }
@media (max-width: 900px) { .aside { position: static; } }
.aside__box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.aside__box summary { list-style: none; font: 600 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 10px 12px; cursor: pointer; }
.aside__box summary::-webkit-details-marker { display: none; }
.aside__box ul { list-style: none; margin: 0; padding: 0; }
.aside__box a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.aside__box a:hover { background: var(--cream); }
.aside__box a[aria-current="page"] { background: var(--forest); color: var(--white); }
.aside--notes .note { background: var(--white); border-left: 4px solid var(--brass); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 16px; font-size: .92rem; box-shadow: var(--shadow); }
.aside--notes .note p { margin: 0; }
.aside--notes strong { color: var(--forest); }

/* ---------- indhold (migreret HTML + Markdown) */
.prose { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 48px); min-width: 0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose--wide { max-width: none; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.3em; }
.prose h4 { font-size: 1.08rem; margin: 1em 0 .4em; font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose img { border-radius: var(--radius-sm); display: block; margin: .5em 0 1em; }
.prose a img { display: block; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.prose tr:nth-child(even) td { background: #faf7ef; }
.prose figure { margin: 0 0 1em; }
.prose figcaption { font-size: .92rem; color: var(--muted); margin-top: .3em; }
.prose figcaption h2, .prose figcaption h3 { font-size: 1.05rem; color: var(--ink); font-family: var(--font-body); font-weight: 500; line-height: 1.5; margin: .4em 0 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.prose .fremhaevet { font-weight: 600; font-size: 1.05rem; color: var(--forest); }
.prose figcaption .fremhaevet { font-weight: 500; color: var(--ink); font-size: 1rem; margin: .4em 0 0; }
.prose blockquote { margin: 1em 0; padding: .5em 1.2em; border-left: 4px solid var(--brass); background: var(--paper); }

/* kolonner fra det gamle sidelayout */
.kolonner { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin: 0 0 1.5em; align-items: start; }
.kolonner > div > :first-child { margin-top: 0; }
@media (max-width: 760px) { .kolonner { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 1000px) { .kolonner { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); } }

/* billedgallerier */
.galleri { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1em 0 2em; }
.galleri figure { margin: 0; position: relative; }
.galleri img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.galleri img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.galleri figcaption { font-size: .85rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 16, 12, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: var(--white); margin-top: 12px; text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; background: rgba(255,255,255,.12); color: var(--white); border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 600px) { .lightbox figure { padding: 56px 8px; } }

/* ---------- forside */
.hero { position: relative; min-height: clamp(460px, 72vh, 720px); color: var(--white); overflow: hidden; display: flex; align-items: flex-end; background: var(--forest); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide figcaption { position: absolute; right: var(--gutter); top: 24px; background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 999px; font-size: .85rem; backdrop-filter: blur(4px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,20,.15) 0%, rgba(15,30,20,.35) 45%, rgba(15,30,20,.88) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; padding-bottom: 88px; }
.hero__title { color: var(--white); font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 16ch; margin-bottom: .2em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__sub { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); margin: 0 0 1.2em; color: #f1e3c2; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.hero__controls { position: absolute; z-index: 2; bottom: 24px; left: 0; right: 0; display: flex; justify-content: flex-end; gap: 8px; }
.hero__btn { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.35); cursor: pointer; font-size: 18px; line-height: 1; }
.hero__btn[data-slide="pause"] { font-size: 11px; letter-spacing: -2px; }
.hero__btn:hover { background: rgba(255,255,255,.3); }

.band { padding-block: clamp(40px, 7vw, 88px); }
.band--paper { background: var(--paper); }
.band--forest { background: var(--forest); color: var(--white); }
.band--forest .section-title { color: var(--white); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.band__head .section-title { margin: 0; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .6em; }
.section-title--center { text-align: center; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.month { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--muted); margin: 28px 0 10px; }

.range { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.range__img img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.3); width: 100%; }
.range__lines { list-style: none; padding: 0; margin: 0 0 1.5em; font-size: 1.08rem; }
.range__lines li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.range__lines li:first-child { font-weight: 600; }
.range__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); padding: 8px 16px; border-radius: 999px; font-weight: 600; margin: 0 0 1.4em; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #6ad08a; box-shadow: 0 0 0 4px rgba(106,208,138,.25); }
@media (max-width: 800px) { .range { grid-template-columns: 1fr; } }

.offers { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.offer { flex: 1 1 240px; max-width: 320px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
@media (max-width: 560px) { .offer { max-width: none; } }
.offer__img { display: block; background: var(--cream); }
.offer__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.offer__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.offer__title { font-size: 1.25rem; margin-bottom: .3em; }
.offer__sub { font-weight: 600; color: var(--brass-2); margin: 0 0 .6em; }
.offer__text { font-size: .93rem; color: var(--muted); }
.offer__text p { margin: 0 0 .6em; }
.offer__actions { margin: auto 0 0; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.contact-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.contact-card p { margin: 0 0 .6em; }

.split { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.sponsors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sponsors a { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 18px; height: 110px; }
.sponsors img { max-height: 74px; width: auto; object-fit: contain; }

/* ---------- lister */
.list { list-style: none; padding: 0; margin: 0 0 1em; }
.list a { display: flex; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: baseline; }
.list a:hover .list__title { color: var(--brass-2); }
.list__date { flex: 0 0 150px; color: var(--muted); font-size: .9rem; }
.list__title { font-weight: 600; color: var(--forest); }
@media (max-width: 560px) { .list a { flex-direction: column; gap: 2px; } .list__date { flex: none; } }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.card a:hover { transform: translateY(-2px); }
.card__date { font-size: .85rem; color: var(--muted); }
.card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--forest); line-height: 1.25; }
.card__text { font-size: .92rem; color: var(--muted); }

/* ---------- arrangementer */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.events--home { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.event__link { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; text-decoration: none; color: var(--ink); height: 100%; transition: transform .15s, box-shadow .15s; }
.event__link:hover { transform: translateY(-2px); color: var(--ink); }
.event__date { flex: 0 0 64px; height: 68px; border-radius: 10px; background: var(--forest); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event__day { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; }
.event__month { text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; margin-top: 4px; color: #e7c786; }
.event__body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.event__title { font-weight: 700; color: var(--forest); font-size: 1.05rem; line-height: 1.3; }
.event__meta { font-size: .85rem; color: var(--muted); }
.event__excerpt { font-size: .9rem; color: var(--ink); opacity: .85; }
.event .badge { align-self: flex-start; }
.events--home .event .badge { display: none; }
.events--past .event__date { background: #8d948e; }
.past { margin-top: 40px; }
.past summary { cursor: pointer; font-weight: 600; color: var(--forest); padding: 12px 0; }
.event.is-past:not(.events--past .event) { display: none; }

.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); margin-bottom: 40px; }
.feature:hover { color: var(--ink); }
.feature:hover .feature__more { color: var(--brass-2); }
.feature__img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; display: block; }
.feature__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.feature__date { color: var(--brass-2); font-weight: 600; }
.feature__title { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--forest); line-height: 1.2; }
.feature__excerpt { color: var(--muted); }
.feature__more { font-weight: 600; color: var(--forest); margin-top: auto; }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; } .feature__img { aspect-ratio: 16/9; min-height: 0; } }

.page-head--event .event-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 1em 0 0; color: rgba(255,255,255,.9); }
.event-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.ikon { flex: none; }
.page--event { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.event-side { position: sticky; top: 130px; display: grid; gap: 16px; }
.event-side__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.event-side__box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.event-side__date { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--forest); }
.event-side__day { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.event-side__month { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--muted); }
.event-side .badge--sold { font-size: 1rem; padding: .6em 1em; text-align: center; }
.event-past-note { background: var(--cream); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; }
@media (max-width: 900px) { .page--event { grid-template-columns: 1fr; } .event-side { position: static; order: -1; } }

/* ---------- formularer */
.form { margin-top: 2em; padding-top: 1.5em; border-top: 1px solid var(--line); display: grid; gap: 16px; max-width: 560px; }
.form h2 { margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfc6b0; border-radius: var(--radius-sm); background: var(--paper); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.form .hp { position: absolute; left: -9999px; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer */
.foot { background: #142619; color: rgba(255,255,255,.82); padding-top: 56px; margin-top: 0; font-size: .95rem; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #e7c786; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot__logo { width: 56px; height: 56px; object-fit: contain; }
.foot__name { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--white); margin: .5em 0; }
.foot__h { color: #e7c786; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.foot__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px 28px; font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .top, .foot, .aside, .event-side .btn, .hero__controls { display: none !important; }
  .prose { box-shadow: none; padding: 0; }
  .page-head { background: none; color: var(--ink); padding: 0; }
  .page-head h1 { color: var(--ink); }
}
