/* ------------------------------------------------------------------------------------------------
   Løgismosestrand Camping — Concept A
   Design tokens taken from the approved design boards (see C:\git\LogismosestrandDesign).
   ------------------------------------------------------------------------------------------------ */

:root {
  --teal: #1B7F94;
  --teal-dark: #146273;
  --tint: #E6F2F5;
  --sand: #F6EFE3;
  --sand-stamp: #F3E5C3;
  --mist: #CFE3E8;          /* secondary text on the teal grounds */
  --accent: #E08A3C;
  --accent-deep: #B0621C;   /* the accent under white text: #E08A3C is too light for it (2.7:1, this is 4.6:1) */
  --ink: #17262B;
  --ink-soft: #2F4348;      /* running text on white */
  --muted: #4F6369;
  --line: #E3ECEF;
  --line-strong: #C9D9DE;
  --ground: #FFFFFF;

  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: 80px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 8px rgba(23, 38, 43, .06);
  --shadow-lg: 0 10px 30px rgba(23, 38, 43, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (max-width: 1100px) { .container { padding-inline: 40px; } }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--teal-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:where(a, button, input, label, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- buttons ---------------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--sand { background: var(--sand-stamp); color: var(--ink); }
.btn--sand:hover { background: var(--sand); color: var(--ink); }
/* The 2px border comes out of the padding, so it is as tall as a filled button. */
.btn--outline { background: transparent; border: 2px solid var(--teal); color: var(--teal-dark); padding-block: 11px; }
.btn--outline:hover { background: var(--tint); color: var(--teal-dark); }
.btn--icon { display: inline-flex; align-items: center; gap: 10px; }
.btn--icon svg { flex-shrink: 0; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---- topbar ------------------------------------------------------------------------------------ */

.topbar {
  background: var(--teal-dark);
  color: #fff;
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Languages (Partials/languages): listed only once a page is published in more than one culture. */
.langs {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.langs a { color: var(--mist); text-decoration: none; }
.langs a.is-current { color: #fff; font-weight: 700; }
.langs a:hover { color: #fff; }
.langs__code { display: none; }

/* The languages sit on the left, the hours and contacts together on the right. */
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--sand-stamp);
  font-weight: 600;
}
.topbar__contact { display: flex; gap: 28px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__basket { color: #fff; font-weight: 600; --dp-accent: var(--accent); --dp-focus: var(--accent); }
.topbar svg { flex-shrink: 0; }

@media (max-width: 860px) {
  .topbar__hours { display: none; }
  .topbar__inner { justify-content: space-between; gap: 12px; }
  .topbar__contact { gap: 14px; margin-left: auto; }
}
/* The phone board has no topbar; the footer carries the phone and hours. */
@media (max-width: 560px) {
  .topbar { display: none; }
}

/* ---- header ----------------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 120px;
}

.site-header__logo { text-decoration: none; margin-right: auto; }

/* The logo from the current logismosestrand.dk: a 976x225 PNG on white, sized by height. */
.site-header__logo-img {
  display: block;
  width: auto;
  height: 56px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav__list,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--teal-dark); border-bottom-color: var(--line-strong); }
.site-nav__list a.is-current { color: var(--teal-dark); border-bottom-color: var(--teal); }

.lang-switch {
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.lang-switch a {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a.is-current { color: var(--teal-dark); }

.site-nav__cta { display: inline-flex; align-items: center; gap: 8px; }
.site-nav__cta svg { flex-shrink: 0; }

/* The board's 38px spacing only fits once the viewport is this wide; below it the nav would wrap. */
@media (min-width: 1400px) {
  .site-nav, .site-nav__list { gap: 38px; }
  .site-nav__list a { font-size: 1rem; }
}

/* On desktop the topbar carries the languages; the drawer keeps its own switch. */
@media (min-width: 961px) {
  .lang-switch { display: none; }
}

.nav-toggle, .nav-toggle__button { display: none; }

@media (max-width: 960px) {
  .site-header__inner { min-height: 64px; flex-wrap: wrap; }
  .site-header__logo-img { height: 40px; }

  /* Three 17px bars, 5.4px apart, as the board's 26px icon draws them. */
  .nav-toggle__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    cursor: pointer;
  }
  .nav-toggle__button span {
    display: block;
    width: 17px;
    height: 2.4px;
    background: var(--ink);
    border-radius: 2px;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav__list a.is-current { border-bottom-color: var(--teal); }

  .lang-switch { border-left: 0; padding: 14px 0 0; }
  .site-nav__cta { margin-top: 14px; justify-content: center; }
}

@media (max-width: 720px) {
  .site-header__inner { min-height: 84px; }
}

/* The basket beside the menu on phones, where the topbar with its own basket is hidden; a 44px target. */
.site-header__basket { display: none; }
@media (max-width: 560px) {
  .site-header__basket { display: block; color: var(--ink); --dp-accent: var(--accent); --dp-focus: var(--accent); }
  .site-header__basket::part(link) { justify-content: center; min-width: 44px; min-height: 44px; }
}

/* ---- block grid ------------------------------------------------------------------------------- */
/* Umbraco emits the markup and the custom properties but ships no layout CSS. */

.umb-block-grid__layout-container {
  display: grid;
  /* minmax(0, …): a plain 1fr cannot shrink below its content, so one row of chips that scrolls
     sideways would otherwise widen the whole grid past a phone's screen. */
  grid-template-columns: repeat(var(--umb-block-grid--grid-columns, 12), minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.umb-block-grid__layout-item {
  grid-column: span var(--umb-block-grid--item-column-span, 12);
  grid-row: span var(--umb-block-grid--item-row-span, 1);
  min-width: 0;
}

/* Eleven 32px gaps alone are wider than a phone's content box, so the columns tighten too. Quarter-width
   items pair up two to a row; everything else goes full width. */
@media (max-width: 860px) {
  .umb-block-grid__layout-container { column-gap: 14px; }
  .umb-block-grid__layout-item { grid-column: span var(--umb-block-grid--grid-columns, 12); }
  .umb-block-grid__layout-item[data-col-span="3"] { grid-column: span 6; }
}

.block { padding-block: 0; }
.block__heading { margin-bottom: .4em; }
.block__intro { color: var(--muted); max-width: 62ch; margin-bottom: .6em; }
.block--text .rte { max-width: 70ch; }

.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte h2 { margin: 1.6em 0 .5em; font-size: 1.375rem; color: var(--teal-dark); }
/* A question or topic under a section heading (Bookingbetingelser). */
.rte h3 { margin: 1.5em 0 .4em; font-size: 1.1875rem; color: var(--teal-dark); }

/* Price tables (PageContent.Table): the label column on the left, prices right-aligned. A table wider
   than a phone scrolls inside its wrapper instead of widening the page. */
.rte .table-wrap { margin: 0 0 1.25em; overflow-x: auto; }
.rte table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.rte th, .rte td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rte thead th { border-bottom: 2px solid var(--teal); color: var(--teal-dark); font-weight: 700; white-space: nowrap; }
.rte tbody th { font-weight: 600; color: var(--ink); }
.rte td, .rte thead th:not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rte tbody tr:nth-child(even) { background: var(--sand); }

/* ---- decorative marks (Partials/decor: wave, squiggle) ------------------------------------------ */

/* The wave edge of a coloured ground; its parent needs position: relative. */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 64px;
  display: block;
  pointer-events: none;
  fill: var(--ground);
}
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }

.squiggle { display: block; flex-shrink: 0; color: var(--teal); }
.band--teal .squiggle { color: var(--sand-stamp); }

@media (max-width: 720px) {
  .wave { height: 36px; }
  .squiggle { width: 56px; }
}

/* ---- bands (sectionBlock) --------------------------------------------------------------------- */
/* A full-width band whose contents stay within the container. The board's rhythm: 104px above a white
   section, a coloured band set 88px off with 96/88 inside, 72px after a coloured band. A white band has
   no bottom padding; the next band's top provides the gap. */

.band { position: relative; padding-block: 104px 0; }
.band:not(.band--white) { margin-top: 88px; padding-block: 96px 88px; }
.umb-block-grid__layout-item:has(> .band:not(.band--white)) + .umb-block-grid__layout-item > .band--white { padding-top: 72px; }

/* The teal band is set further off and taller. */
.band.band--teal { margin-top: 104px; padding-block: 104px 96px; }
.umb-block-grid__layout-item:has(> .band.band--teal) + .umb-block-grid__layout-item > .band--white { padding-top: 96px; }

/* The bands carry the spacing on the front page, so the top-level grid adds none. Content pages keep it
   (their blocks sit inside article.page). */
main > .umb-block-grid > .umb-block-grid__layout-container { row-gap: 0; }


/* A block nested in a band already sits in the band's container, so its own container adds no gutter. */
.band .container .container { padding-inline: 0; max-width: none; }

/* Cards in a band sit closer than the default grid gap; rows keep it. */
.band .umb-block-grid__area .umb-block-grid__layout-container { column-gap: 24px; }
@media (max-width: 860px) {
  .umb-block-grid__area .umb-block-grid__layout-container,
  .band .umb-block-grid__area .umb-block-grid__layout-container { gap: 14px; }
}

.band--white { background: var(--ground); }
.band--sand { background: var(--sand); }
.band--tint { background: var(--tint); }
.band--creme { background: var(--sand-stamp); }
.band--teal { background: var(--teal-dark); color: #fff; }

.band--teal :is(h2, h3, .band__heading) { color: #fff; }
.band--teal .band__intro { color: rgba(255, 255, 255, .85); }
.band--teal .band__link { color: #fff; }
.band--teal .rte a { color: #fff; }

.band__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.band__titles { display: flex; flex-direction: column; gap: 10px; }

.band__heading { color: var(--teal-dark); margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.375rem); }
.band__intro { color: var(--ink-soft); margin: 0; font-size: 1.125rem; }

.band__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
}
.band__link svg { flex-shrink: 0; }
.band__link:hover { color: #0F4B59; }
.band--teal .band__link:hover { color: var(--sand-stamp); }

@media (min-width: 721px) {
  .band:not(.band--white) .band__header { margin-bottom: 32px; }
}

@media (max-width: 720px) {
  .band { padding-block: 48px 0; }
  .band:not(.band--white), .band.band--teal { margin-top: 48px; padding-block: 56px 48px; }
  .umb-block-grid__layout-item:has(> .band:not(.band--white)) + .umb-block-grid__layout-item > .band--white { padding-top: 40px; }
  .umb-block-grid__layout-item:has(> .band.band--teal) + .umb-block-grid__layout-item > .band--white { padding-top: 48px; }
  .band__header { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
  .band__titles { gap: 14px; }
  .band:not(.band--white) .band__header { margin-bottom: 18px; }
  .band:not(.band--white) .band__titles { gap: 18px; }

  /* The phone board shows the front page's bands with the heading alone: no intro, no "see all" link.
     Content pages keep theirs. */
  main > .umb-block-grid .band__intro,
  main > .umb-block-grid .band__header:has(.band__heading) > .band__link:not(.band__link--instagram) { display: none; }

  /* An Instagram header stays one row: the heading, and the glyph alone as a 44px link at the right. */
  .band__header:has(.band__link--instagram) { flex-direction: row; align-items: flex-end; }
  .band__header:has(.band__link--instagram) .band__squiggle { display: none; }
  .band__link--instagram { justify-content: center; width: 44px; height: 44px; }
  .band__link--instagram svg { width: 22px; height: 22px; }
  /* Off screen but still the link's name. */
  .band__link--instagram .band__link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---- hero ------------------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 820px;
  color: #fff;
  background: var(--teal-dark);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Several photos crossfade (site.js); without the script the first one simply stays. */
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__dots { display: none; margin: 22px -6px -6px; }
.hero--slider-ready .hero__dots { display: flex; }
/* A 24px button, big enough to tap, around the 12px dot that is drawn: side by side, the dots sit 12px apart. */
.hero__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}
.hero__dot:hover::before { transform: scale(1.15); }
.hero__dot.is-active::before { background: #fff; }
.hero__dot:focus-visible { outline: 2px solid var(--sand-stamp); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }
/* A background video plays over the hero's first photo; with reduced motion it is hidden and the photo shows. */
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* Only the lower part of the photo is shaded, behind the text; the top stays untinted. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 460px;
  background: linear-gradient(180deg, rgba(15, 50, 60, 0) 0%, rgba(15, 50, 60, .78) 55%);
}


/* Above the shade; the search card (z-index 10) still overlaps it. */
.hero .wave { z-index: 1; }

/* The bottom padding keeps the text clear of the search card, which overlaps the hero by 132px. */
.hero__body {
  position: relative;
  z-index: 1;
  padding-block: 64px 216px;
}

.hero__heading em { font-style: italic; color: var(--sand-stamp); }

.hero__heading {
  color: #fff;
  max-width: 800px;
  font-size: clamp(2.2rem, 4.1vw, 3.625rem);   /* 58px on the board */
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero__sub {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);   /* 20px on the board */
  line-height: 1.5;
  color: var(--tint);
  margin-bottom: 0;
}
.hero__sub + .btn { margin-top: 22px; }

/* ---- split (text with image) ------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__media > img { border-radius: 16px; box-shadow: 0 16px 40px rgba(20, 98, 115, .18); }
/* A photo on the left gets the board's leaf curve on its lower-left corner. */
.split:not(.split--reverse) .split__media > img { border-radius: 16px 16px 16px 120px; }

.split__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split__body h2 { color: var(--teal-dark); font-size: clamp(1.7rem, 2.8vw, 2.375rem); line-height: 1.2; margin: 0; }
.split__body .rte { font-size: 1.125rem; color: var(--ink-soft); }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Lists in the text column are checklists. */
.split__body .rte ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.split__body .rte li { position: relative; padding-left: 28px; }
.split__body .rte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(.825em - 9px);      /* centred on the first line */
  width: 18px;
  height: 18px;
  background-color: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The badge field drawn as the board's stamp on the photo's top-right corner. */
.split__stamp {
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  padding: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transform: rotate(8deg);
}
.split__stamp-label { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.split__stamp-main { font-family: var(--font-heading); font-size: 1.625rem; line-height: 1; }
.split__stamp-note { max-width: 80px; font-size: .6875rem; font-weight: 700; line-height: 1.3; }

/* Without a photo there is nothing to stamp, so the badge is a pill above the heading. */
.split__badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* A second photo turns the media into the board's composition: the photo top-left and a tilted polaroid
   over its bottom-right corner. */
.split__media:has(.split__inset) { height: 520px; }
.split__media:has(.split__inset) > img { width: calc(100% - 64px); height: 415px; object-fit: cover; }

.split__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  height: 240px;
  margin: 0;
  padding: 10px 10px 34px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(20, 98, 115, .22);
  transform: rotate(4deg);
}
.split__inset img { width: 100%; height: 100%; object-fit: cover; }
.split__inset figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: .875rem;
  line-height: 1.2;
  color: var(--muted);
  text-align: center;
}

/* On teal the pladskort map sits in a tilted white frame showing a zoomed crop. On desktop the frame is
   taken out of the grid, so the text sets the band's height and the band clips the frame's overhang. */
.band--teal { overflow: hidden; }
.band--teal .wave { z-index: 2; }
.band--teal .split__media {
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  transform: rotate(-3deg);
}
.band--teal .split__media > img {
  position: absolute;
  left: -100px;
  top: -150px;
  width: 1040px;
  max-width: none;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.band--teal .split__body { gap: 18px; }
.band--teal .split__body .rte { color: #fff; }
.band--teal .split__body .rte p { color: var(--mist); line-height: 1.6; }
.band--teal .split__body .rte li::before { background-color: var(--sand-stamp); }

/* A teal primary button would vanish on the teal ground; the board draws it in sand. */
.band--teal .split__body .btn--primary { background: var(--sand-stamp); color: var(--teal-dark); padding: 14px 26px; }
.band--teal .split__body .btn--primary:hover { background: var(--sand); color: var(--teal-dark); }
.band--teal .btn--outline { border-color: var(--sand-stamp); color: #fff; }
.band--teal .btn--outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }

@media (min-width: 861px) {
  .band--teal .split { position: relative; }
  .band--teal .split__media { position: absolute; top: -32px; left: calc(50% + 40px); width: 760px; height: 540px; }
  .band--teal .split__body { position: relative; z-index: 1; }
  /* The board puts the teal band's squiggle under the heading on desktop, above it on phones. */
  .band--teal .split__body h2 { order: -1; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
  /* The phone board keeps the teal band's text first, then the map, then the button: the text column is
     dissolved into the grid so the map can sit between its paragraph and its button. */
  .band--teal .split { gap: 18px; }
  .band--teal .split__body { display: contents; }
  .band--teal .split--reverse .split__media { order: 2; }
  .band--teal .split__actions { order: 3; }

  .split__media:has(.split__inset) { height: 300px; }
  .split__media:has(.split__inset) > img { height: 230px; }
  .split__inset { width: 170px; height: 150px; padding: 7px 7px 26px; border-radius: 5px; box-shadow: 0 12px 30px rgba(20, 98, 115, .22); }
  .split__inset figcaption { bottom: 6px; font-size: .6875rem; }
  .split__inset-more { display: none; }

  .band--teal .split__media { height: 220px; margin: 8px 4px; border-width: 4px; border-radius: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); transform: rotate(-2deg); }
  .band--teal .split__media > img { left: -60px; top: -90px; width: 640px; }
}

@media (max-width: 720px) {
  .split { gap: 16px; }
  .split__body, .band--teal .split { gap: 14px; }
  /* The phone board drops the pladskort checklist. */
  .band--teal .split__body .rte ul { display: none; }
  .band--teal .split__body .rte p:last-of-type { margin-bottom: 0; }
  .split__media:has(.split__inset) > img { width: 78%; }
  .split__media:has(.split__stamp) > img { width: 100%; height: 240px; object-fit: cover; }
  .split__body .rte { font-size: 1rem; line-height: 1.6; }
  .split__actions { margin-top: 0; }
  .split__media > img { border-radius: 14px; box-shadow: 0 12px 30px rgba(20, 98, 115, .18); }
  .split:not(.split--reverse) .split__media > img { border-radius: 14px 14px 14px 70px; }
  .band--teal .split__body .btn--primary { padding: 13px 22px; }

  .split__stamp { width: 96px; height: 96px; top: -14px; right: -6px; padding: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
  .split__stamp-label { font-size: .5625rem; letter-spacing: .12em; }
  .split__stamp-main { font-size: 1.125rem; }
  .split__stamp-note { max-width: 64px; font-size: .5625rem; }
}

/* ---- cards ------------------------------------------------------------------------------------ */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  height: 100%;
}

.card__frame {
  width: 100%;
  height: 300px;
  border: 4px solid #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(20, 98, 115, .12);
}
.card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__frame img { transform: scale(1.04); }

.card__body { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.card__heading {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--teal-dark);
  margin: 0;
}
.card__text { font-size: .9375rem; color: var(--muted); line-height: 1.5; margin: 0; }

.card__badge {
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}

.card__link { font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--teal-dark); }
.card__link::after { content: " \2192"; }
.card__link:hover { text-decoration: underline; }

/* The heading's link covers the whole card. */
.card__cover { color: inherit; text-decoration: none; }
.card__cover::after { content: ""; position: absolute; inset: 0; }
.card__cover:hover { color: inherit; }

/* On white the framed look has nothing to stand out from: the board draws plain, left-aligned cards. */
.band--white .card { align-items: stretch; text-align: left; gap: 12px; }
.band--white .card__body { align-items: flex-start; gap: 12px; }
.band--white .card__frame { height: 260px; border: 0; box-shadow: none; border-radius: 16px; }
.band--white .card__text { font-size: 1rem; }

@media (max-width: 860px) {
  .card__frame { height: 220px; }
}

/* Quarter-width cards pair up on phones (see block grid), so they shrink to the board's small cards. */
@media (max-width: 720px) {
  [data-col-span="3"] > .card, [data-col-span="3"] .card__body { gap: 8px; }
  [data-col-span="3"] .card__frame { height: 190px; border-width: 3px; border-radius: 12px; box-shadow: 0 8px 20px rgba(20, 98, 115, .12); }
  [data-col-span="3"] .card__heading { font-size: 1.0625rem; }
  [data-col-span="3"] .card__text { font-size: .8125rem; }
  [data-col-span="3"] .card__badge { display: none; }
}

/* ---- gallery ---------------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery__item img { aspect-ratio: 1; object-fit: cover; width: 100%; }

@media (max-width: 720px) {
  .gallery { gap: 8px; }
  .gallery__item { border-radius: 10px; }
}

/* The tiles open the lightbox (site.js). */
a.gallery__item { cursor: zoom-in; }
a.gallery__item img { transition: transform .4s ease; }
a.gallery__item:hover img { transform: scale(1.03); }
a.gallery__item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- lightbox: a gallery's photos one at a time, over the page ------------------------------- */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 22, 26, .92);
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
html:has(.lightbox[open]) { overflow: hidden; }

.lightbox__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 64px 88px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.lightbox__count {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--mist);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox--single .lightbox__nav,
.lightbox--single .lightbox__count { display: none; }

/* Phones: the photo takes the width, and the arrows sit below it (a swipe works too). */
@media (max-width: 720px) {
  .lightbox__figure { padding: 64px 12px 96px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* ---- page ------------------------------------------------------------------------------------- */

/* No bottom padding: the footer's top margin is the gap after the last block. */
.page { padding-block: 48px 0; }
.page__title { max-width: 24ch; }

/* ---- footer ----------------------------------------------------------------------------------- */

/* The footer's margin is the white gap after the last block (a white band ends without bottom padding);
   the top wave (Partials/decor/wave) then bites into the teal, so the content starts below it. */
.site-footer {
  position: relative;
  margin-top: 112px;
  background: var(--teal-dark);
  color: var(--mist);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 96px 40px;
}

.site-footer__about { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.site-footer__address { font-size: 1rem; line-height: 1.6; margin: 0; }
.site-footer__address > span { display: block; }

.site-footer__squiggle { margin-top: 6px; color: var(--sand-stamp); }

.site-footer__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 10px;
}

.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.25;
}

/* The rule sits inside the container, so it stops at the content edges. */
.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .875rem;
}
.site-footer__legal small { font-size: inherit; }
.site-footer .langs a.is-current { font-weight: 400; }

@media (max-width: 860px) {
  .site-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__about { grid-column: 1 / -1; }
}

/* The phone board has no link columns: the links of all three run together in one two-column grid under
   the address, and the column headings are left to screen readers. */
@media (max-width: 720px) {
  .site-footer { margin-top: 56px; }
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding-block: 52px 24px; }
  .site-footer__about { gap: 8px; margin-bottom: 12px; }
  .site-footer__brand { font-size: 1rem; letter-spacing: .06em; }
  .site-footer__address { font-size: .9375rem; }
  .site-footer__squiggle { display: none; }
  .site-footer__col:not(.site-footer__about), .site-footer__links { display: contents; }
  .site-footer__links a { font-size: .9375rem; }
  .site-footer__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .site-footer__legal { padding-block: 16px 24px; font-size: .8125rem; }
  .site-footer__langs { gap: 14px; }
  .site-footer__langs .langs__name { display: none; }
  .site-footer__langs .langs__code { display: inline; }
}

/* ---- hero eyebrow and stamp --------------------------------------------------------------------- */

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-stamp);
  margin: 0 0 22px;
}
.hero__squiggle { width: 48px; color: inherit; }

/* 148px inside a 3px white rim, as the board draws it. */
.hero__stamp {
  position: absolute;
  top: 56px;
  right: 120px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 154px;
  height: 154px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--sand-stamp);
  color: var(--teal-dark);
  text-align: center;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(15, 50, 60, .25);
  transform: rotate(-8deg);
}

.hero__stamp-stars { display: flex; gap: 2px; }
.hero__stamp-stars svg { display: block; }

/* balance breaks "Åbent hele året" as the board does: "Åbent" / "hele året". */
.hero__stamp-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.1;
  text-wrap: balance;
}

.hero__stamp-sub {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero:not(.hero--plain) { min-height: 560px; }
  .hero:not(.hero--plain)::after { height: 400px; background: linear-gradient(180deg, rgba(15, 50, 60, 0) 0%, rgba(15, 50, 60, .82) 55%); }
  .hero__body { padding-bottom: 108px; }
}

@media (max-width: 720px) {
  .hero__eyebrow { gap: 10px; font-size: .75rem; letter-spacing: .12em; margin-bottom: 18px; }
  .hero__squiggle { width: 40px; }
  .hero:not(.hero--plain) { min-height: 680px; }
  /* The narrow measure breaks the heading into the board's four lines. */
  .hero__heading { max-width: 256px; font-size: 2.125rem; line-height: 1.15; margin-bottom: 18px; }
  .hero__stamp { width: 98px; height: 98px; top: 20px; right: 16px; gap: 2px; padding: 8px; box-shadow: 0 8px 24px rgba(15, 50, 60, .25); }
  .hero__stamp-stars svg { width: 9px; height: 9px; }
  .hero__stamp-text { font-size: .8125rem; line-height: 1.15; }
  .hero__stamp-sub { display: none; }
}

/* The phone board sets the hero text 20px in, wider than the 16px page gutter. */
@media (max-width: 640px) {
  .hero .hero__body { padding-inline: 20px; }
}

/* ---- stats -------------------------------------------------------------------------------------- */

/* One row of equal sand boxes, however many figures are filled in. */
.stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--sand);
  border-radius: 12px;
}
.band:is(.band--sand, .band--creme) .stats__item { background: #fff; }
.stats__value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--teal-dark);
  line-height: 1;
}
.stats__label {
  margin: 0;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 720px) {
  .stats { gap: 10px; }
  .stats__item { padding: 12px; }
  .stats__value { font-size: 1.375rem; }
  .stats__label { font-size: .75rem; }
}

/* ---- gallery handle ----------------------------------------------------------------------------- */

.gallery__handle {
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: .9em;
}

/* ---- mega menu ---------------------------------------------------------------------------------- */
/* CSS only: the panel opens on hover and on keyboard focus, so it works without JavaScript.
   The pointer heads for a link in the panel on a slant, so it leaves the menu item before it gets there: the
   panel stays a moment after it leaves (and, while it is shown, holds itself open once the pointer is on it).
   It opens a moment after the pointer arrives, so a slant across the next item does not open that one. */

.site-nav__list > li { position: static; }

.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transition: opacity .12s ease .35s, visibility .12s linear .35s;
}

.has-panel:hover > .megamenu,
.has-panel:focus-within > .megamenu {
  visibility: visible;
  opacity: 1;
  transition: opacity .12s ease .1s, visibility 0s linear .1s;
}
/* The item under the pointer shows its panel over one that is still on its way out. */
.has-panel:hover > .megamenu { z-index: 61; }

/* The panel opens at the bottom of the header, but the link is centred in it. Stretch each item to the
   full header height, so the pointer never leaves the item (and closes the panel) on its way down. */
@media (min-width: 961px) {
  .site-nav { align-self: stretch; }
  .site-nav__list { align-self: stretch; align-items: stretch; }
  .site-nav__list > li { display: flex; align-items: center; }
}

.megamenu__inner { padding-block: 32px 36px; }

.megamenu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 40px;
}
.megamenu__list li { break-inside: avoid; margin-bottom: 4px; }
.megamenu__list a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  border-bottom: 1px solid var(--line);
}
.megamenu__list a:hover { color: var(--teal-dark); }

@media (max-width: 960px) {
  /* On small screens the panel is simply an indented list under its parent. */
  .megamenu {
    position: static;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }
  .megamenu__inner { padding: 0; max-width: none; padding-inline: 0; }
  .megamenu__list { columns: 1; }
  .megamenu__list a {
    padding: 11px 0 11px 18px;
    font-weight: 400;
    font-size: .94rem;
    color: var(--muted);
  }
}

/* ---- booking search bar ------------------------------------------------------------------------- */

.searchbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 98, 115, .20);
  padding: 24px 28px 28px;
  position: relative;
  z-index: 10;
}

/* Directly under a hero the card lifts over it, as the front page board draws it (its grid has no row gap). */
.umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item .searchbar { margin-top: -132px; }

.searchbar__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-bottom: 20px;
}

/* An h2, or a <p> in the stand-in form inside the booking widget (searchBarBlock.cshtml): the same type either way. */
.searchbar__heading { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 400; line-height: 1.2; color: var(--teal-dark); }

.searchbar__types { display: flex; flex-wrap: wrap; gap: 10px; }
.searchbar__radio { position: absolute; opacity: 0; pointer-events: none; }
.searchbar__chip {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .94rem;
  line-height: 1.25;
  cursor: pointer;
}
.searchbar__chip:hover { border-color: var(--teal); }
.searchbar__radio:checked + .searchbar__chip {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.searchbar__radio:focus-visible + .searchbar__chip { outline: 3px solid var(--accent); outline-offset: 2px; }

/* One row of equal columns, however many guest fields the campsite's person types give (searchBarBlock). */
.searchbar__fields {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.searchbar__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.searchbar__field span {
  font-size: .8125rem;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.searchbar__field input {
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: normal;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.searchbar__field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

.searchbar__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 22px;
  font-size: 1.0625rem;
  white-space: nowrap;
}
.searchbar__submit svg { flex-shrink: 0; }

@media (max-width: 860px) {
  .searchbar { padding: 24px 20px 28px; box-shadow: 0 16px 40px rgba(20, 98, 115, .20); }
  .umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item .searchbar { margin-top: -32px; }
  .searchbar__fields { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .searchbar__submit { grid-column: 1 / -1; }
}

/* The booking widget's elements (Infrastructure/BookingWidget.cs), dressed in the site's tokens. Their
   inside is the widget's own shadow DOM: only the --dp-* properties and ::part() reach it. */
dp-search-bar,
dp-search-results,
dp-seasons,
dp-campsite-map,
dp-rentals,
dp-group-rental {
  --dp-primary: var(--teal);
  --dp-primary-contrast: #fff;
  --dp-text: var(--ink);
  --dp-muted: var(--muted);
  --dp-border: var(--line-strong);
  --dp-focus: var(--accent);
  --dp-font: var(--font-body);
  --dp-radius: 16px;
  --dp-control-radius: 10px;
  --dp-shadow: 0 20px 50px rgba(20, 98, 115, .20);
}
dp-search-bar {
  display: block;
  position: relative;
  z-index: 10;
}
dp-search-bar::part(submit):hover,
dp-search-results::part(choose):hover,
dp-seasons::part(season-button):hover,
dp-campsite-map::part(map-book):hover,
dp-rentals::part(rental-button):hover,
dp-group-rental::part(rental-button):hover { background: var(--teal-dark); filter: none; }
/* The search page ("Søg & book", Concept A), the seasonal pitches and the campsite map: headings in the serif, the bar
   as a flat card in the left column. */
dp-search-results,
dp-seasons,
dp-campsite-map,
dp-rentals,
dp-group-rental {
  --dp-font-display: var(--font-heading);
  --dp-heading: var(--teal-dark);
  --dp-accent: var(--accent);
}
dp-search-results dp-search-bar { --dp-shadow: none; }
/* Each booking step scrolls the search page's top into view: below the sticky site header (120px, 64px from 960px
   down, 84px from 720px down), with room to spare. */
dp-search-results { scroll-margin-top: 136px; }
@media (max-width: 960px) { dp-search-results { scroll-margin-top: 80px; } }
@media (max-width: 720px) { dp-search-results { scroll-margin-top: 100px; } }
.booking-help { padding: 20px; border-radius: 16px; background: var(--sand); font-size: .95rem; line-height: 1.5; }
/* Where the widget should be, while it loads and if it cannot (Partials/bookingFallback). */
.booking-fallback { max-width: 640px; padding: 24px; border-radius: 16px; background: var(--sand); line-height: 1.5; }
.booking-fallback strong { display: block; color: var(--teal-dark); }
.booking-fallback p { margin: 6px 0 0; }
.booking-fallback a { color: inherit; }
.booking-help strong { display: block; margin-bottom: 4px; color: var(--teal-dark); }
.booking-help p { margin: 0; }
.booking-help a { color: inherit; }
/* Until the script has loaded the site's own form shows, and the slotted copies stay out of the way. */
dp-search-bar:not(:defined) > [slot] { display: none; }
.umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item dp-search-bar { margin-top: -132px; }
.umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item dp-search-bar .searchbar { margin-top: 0; }
@media (max-width: 860px) {
  .umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item dp-search-bar { margin-top: -32px; }
}

/* On phones the chips are one row that scrolls sideways, running out to the card's edges. */
@media (max-width: 720px) {
  .searchbar { padding: 20px 18px 18px; }
  /* No wrapping: in a wrapping column each line is as wide as its widest item, and the chip row that
     scrolls sideways would widen the card past the screen. */
  .searchbar__top { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; margin-bottom: 16px; }
  .searchbar__types {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin: -5px -18px;
    padding: 5px 18px;          /* room for the focus ring, which the scroller would clip */
    scrollbar-width: none;
  }
  .searchbar__chip { padding: 9px 14px; font-size: .875rem; white-space: nowrap; }
  .searchbar__fields { gap: 10px; }
  .searchbar__submit { margin-top: 6px; }
  .searchbar__field { gap: 5px; }
  .searchbar__field span { font-size: .75rem; }
  .searchbar__field input { height: 48px; padding: 0 12px; font-size: 1rem; }
}

/* ---- offer cards ---------------------------------------------------------------------------------- */

/* The grid aligns items to the start; offers stretch so the bordered cards in a row share one height. */
.umb-block-grid__layout-item:has(> .offer) { align-self: stretch; }

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.offer:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.offer__media { position: relative; }
.offer__media img { width: 100%; height: 210px; aspect-ratio: auto; object-fit: cover; }

.offer__flag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-deep);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  transform: rotate(-4deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.offer__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; gap: 8px; }

.offer__label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.offer__heading { font-size: 1.375rem; color: var(--ink); margin: 0; }
.offer__text { font-size: 1rem; line-height: 1.5; color: var(--muted); margin: 0; }

.offer__price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0; }
.offer__price-prefix, .offer__price-note { font-size: .875rem; font-weight: 600; color: var(--muted); }
.offer__price-value {
  font-family: var(--font-heading);
  font-size: 2.125rem;
  color: var(--teal-dark);
  line-height: 1;
}

.offer__link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .94rem; color: var(--teal-dark); text-decoration: none; }
.offer__link::after { content: " \2192"; }
.offer__link:hover { text-decoration: underline; }

/* The heading's link covers the whole card. */
.offer__cover { color: inherit; text-decoration: none; }
.offer__cover::after { content: ""; position: absolute; inset: 0; }
.offer__cover:hover { color: inherit; }

/* "Booking": the stay's calendar in the card or its booking box (offerBlock.cshtml). The card is no link and does not
   lift on hover; the heading and the photo link to the offer, "Se ledighed" or the box at the card's foot. */
.offer--booking:hover { box-shadow: none; transform: none; }
.offer__title-link { color: inherit; text-decoration: none; }
.offer__title-link:hover { color: var(--teal-dark); text-decoration: underline; }
.offer__media-link { display: block; }
/* The price with "Se ledighed" to its right, under it where there is no room; the calendar opens under both, the row's
   whole width (<dp-availability>: the row must wrap). */
/* At the card's bottom, so the cards of a row (one min-height, site.js) have their prices and buttons on one line. */
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; padding-top: 16px; }
.offer__foot .offer__price { margin: 0; }
.offer__booking { margin-top: auto; padding-top: 14px; }
/* In a grid with such a card, every offer is as tall as itself, at the top of its row: opening one card's calendar grows
   only that card, not the cards beside it (without one, the offers stretch to share the row's height, as the board
   draws them). site.js gives the cards of a row the tallest closed card's height as their min-height. */
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .offer--booking) > .umb-block-grid__layout-item:has(> .offer) { align-self: start; }
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .offer--booking) .offer { height: auto; }

/* On phones an offer is a row: a 120px photo strip on the left, full card height, and the text without
   its description. */
@media (max-width: 720px) {
  .offer { flex-direction: row; border-radius: 14px; }
  .offer__media { flex: 0 0 120px; }
  .offer__media img { position: absolute; inset: 0; height: 100%; }
  .offer__flag { top: 8px; left: 8px; padding: 4px 8px; font-size: .625rem; letter-spacing: .08em; }
  .offer__body { padding: 14px 16px; gap: 3px; min-width: 0; }
  .offer__label { font-size: .75rem; }
  .offer__heading { font-size: 1rem; }
  .offer__text { display: none; }
  .offer__price { gap: 5px; margin-top: 0; }
  .offer__price-value { font-size: 1.5rem; }
  .offer__price-prefix, .offer__price-note { font-size: .75rem; }
  /* With a calendar the card stays a column, the photo a strip on top, so the calendar has the card's width. */
  .offer--booking { flex-direction: column; }
  .offer--booking .offer__media { flex: none; height: 140px; }
}

/* =================================================================================================
   Content pages — the sub-page boards (Overnatning, Hytter, Sauna, Oplevelser, Galleri, Det sker)
   ================================================================================================= */

/* A block nested in another block's container adds no second gutter. */
.umb-block-grid .container .container { padding-inline: 0; max-width: none; }

/* Blocks carry their own spacing on content pages too; the page grid adds none between rows. */
.page > .umb-block-grid > .umb-block-grid__layout-container { row-gap: 0; }
.page--hero { padding-top: 0; }

/* The steps of a "Nummer" feature row count themselves (see .feature__number). */
.umb-block-grid__layout-container { counter-reset: step; }

/* ---- page rhythm ---------------------------------------------------------------------------------- */
/* The sub-page boards sit their sections closer than the front page: 80px between white sections,
   16px under a hero, 48px under the chips. */

.page .band { padding-top: 80px; }
.page .umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item > .band { padding-top: 16px; }
.page .umb-block-grid__layout-item:has(.page-nav) + .umb-block-grid__layout-item > .band { padding-top: 48px; }
.page .band:not(.band--white):not(.band--box) { margin-top: 104px; padding-block: 88px 96px; }

/* The closing call to action, at the page's top level. */
.page > .umb-block-grid > .umb-block-grid__layout-container > .umb-block-grid__layout-item:has(> .container > .cta) { margin-top: 104px; }
.page > .umb-block-grid > .umb-block-grid__layout-container > .umb-block-grid__layout-item:has(> .container > .cta--sand) { margin-top: 96px; }

/* ---- page hero -------------------------------------------------------------------------------------- */

.hero--page { min-height: 460px; }
.hero--page.hero--stamped { min-height: 560px; }
.hero--page::after {
  height: 320px;
  background: linear-gradient(180deg, rgba(15, 50, 60, 0) 0%, rgba(15, 50, 60, .82) 60%);
}
.hero--page.hero--stamped::after { height: 380px; }

.hero--page .hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-block: 64px 88px;
}
.hero--page.hero--stamped .hero__body { padding-bottom: 96px; }
.hero--page .hero__eyebrow { margin: 0; font-size: .8125rem; }
.hero--page .hero__heading { max-width: 820px; font-size: clamp(2.2rem, 3.9vw, 3.5rem); line-height: 1.1; margin: 0; }
.hero--page .hero__sub { max-width: 680px; font-size: 1.1875rem; line-height: 1.6; color: var(--mist); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .875rem; line-height: 1.4; color: var(--mist); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* The sauna board's stamp: smaller, a label over two serif lines, no stars. */
.hero--page .hero__stamp { width: 140px; height: 140px; top: 48px; right: 80px; border-width: 4px; gap: 2px; }
.hero__stamp-label { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero--page .hero__stamp-text,
.hero--page .hero__stamp-sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

/* Without a photo the hero is a sand panel with teal type, as on the gallery board. */
.hero--plain { background: var(--sand); color: var(--ink); min-height: 0; }
.hero--plain::after { content: none; }
.hero--plain .hero__body { padding-block: 72px 96px; gap: 18px; }
.hero--plain .breadcrumb { color: var(--muted); }
.hero--plain .breadcrumb a:hover { color: var(--teal-dark); }
.hero--plain .breadcrumb [aria-current] { color: var(--ink); }
.hero--plain .hero__eyebrow { color: var(--teal-dark); }
.hero--plain .hero__heading { color: var(--teal-dark); max-width: 900px; }
.hero--plain .hero__heading em { color: inherit; }
.hero--plain .hero__sub { color: var(--ink); line-height: 1.7; max-width: 720px; }
.hero__filter { margin-top: 10px; }

/* ---- chips ------------------------------------------------------------------------------------------ */

.chips,
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-block;
  padding: 9px 17px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--teal-dark);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }

.page-nav { padding-top: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--teal-dark);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.pill--sand { background: var(--sand); }
.pill .icon { flex-shrink: 0; }

.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.btn--sm { padding: 12px 22px; font-size: .9375rem; }
.btn--outline.btn--sm { padding: 10px 20px; }
.btn--icon .icon { margin-left: 2px; }
.btn--ghost { background: transparent; border: 2px solid var(--mist); color: #fff; padding-block: 14px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .icon { color: var(--teal); }

/* ---- sand box (sectionBlock "Sand (boks)") -------------------------------------------------------- */
/* A rounded sand panel inside the page's margins, like "Godt at vide" on the Overnatning board. */

.band.band--box { background: none; margin-top: 0; padding-block: 96px 0; }
.band--box > .container { position: relative; isolation: isolate; padding: 48px calc(var(--gutter) + 56px); }
.band--box > .container::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  border-radius: 24px;
  background: var(--sand);
}
.band--box .band__header { margin-bottom: 28px; }
.band--box .band__heading { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.band--box .umb-block-grid__area .umb-block-grid__layout-container { column-gap: 32px; }

/* ---- columns ------------------------------------------------------------------------------------------ */

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
}
.columns--wide { grid-template-columns: minmax(0, 1fr) 420px; }

/* Clear of the sticky site header. */
.columns__aside { position: sticky; top: 144px; }

.columns .umb-block-grid__area .umb-block-grid__layout-container { gap: 20px; }

/* ---- heading block ---------------------------------------------------------------------------------- */

.heading-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.heading-block__titles { display: flex; flex-direction: column; gap: 10px; }
.heading-block__heading { margin: 0; color: var(--teal-dark); font-size: clamp(1.7rem, 2.8vw, 2.375rem); line-height: 1.22; }
.heading-block__heading em { font-style: italic; }
.heading-block__intro { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.heading-block--section { margin-bottom: 8px; }

/* A group heading: the text beside it, on its baseline. */
.heading-block--group .heading-block__titles { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.heading-block--group .heading-block__heading { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.heading-block--group .heading-block__intro { font-size: 1rem; }
.umb-block-grid__layout-item:not(:first-child) > .container > .heading-block--group { margin-top: 40px; }

.heading-block--small .heading-block__heading { font-size: clamp(1.4rem, 2vw, 1.625rem); }
.umb-block-grid__layout-item:not(:first-child) > .container > .heading-block--small { margin-top: 36px; }

/* The lead and the note under a section heading in a main column (sauna, excursions). */
.columns__main .block--text .rte > p { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.columns__main .block--text .rte > p:first-child { font-size: 1.1875rem; color: var(--ink); }
.columns__main .block--text .rte { max-width: none; }

/* ---- features ------------------------------------------------------------------------------------------ */

.feature { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.feature__heading { margin: 0; }
.feature__text { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

.feature--tick .feature__heading { display: flex; align-items: center; gap: 8px; font-size: 1.1875rem; color: var(--teal-dark); }
.feature--tick .icon { color: var(--teal); }

.feature--step { gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 16px; }
.feature--step .feature__heading { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.feature__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--sand-stamp);
  font-size: 1.125rem;
}
.feature__number::before { counter-increment: step; content: counter(step); }

.feature--fact { gap: 6px; padding: 26px 28px; border-radius: 16px; background: var(--sand); }
.feature--fact .feature__heading { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.1; color: var(--teal-dark); }
.feature--fact .feature__text { font-size: 1rem; }

.umb-block-grid__layout-item:has(> .feature--step),
.umb-block-grid__layout-item:has(> .feature--fact) { align-self: stretch; }

/* ---- sub-page cards (cardBlock with a price or tags) ---------------------------------------------- */

.umb-block-grid__layout-item:has(> .card--framed) { align-self: stretch; }

.card.card--framed {
  align-items: stretch;
  gap: 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card--framed .card__frame { height: 220px; border: 0; border-radius: 0; box-shadow: none; background: var(--tint); }
[data-col-span="6"] > .card--framed .card__frame { height: 240px; }
.card--framed .card__body { flex-grow: 1; align-items: stretch; gap: 10px; padding: 20px 22px 22px; }
.card--framed .card__heading { font-size: 1.375rem; line-height: 1.3; }
.card--framed .card__text { flex-grow: 1; font-size: 1rem; }
[data-col-span="6"] > .card--framed .card__text { font-size: .9375rem; }

.card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}
.card__price { font-weight: 700; }
.card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-weight: 700; white-space: nowrap; }

/* ---- units (Hytter board) -------------------------------------------------------------------------- */

.unit {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.unit__media { position: relative; min-height: 240px; background: var(--tint); }
.unit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.unit__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.unit__flag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.unit__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px 24px; }
.unit__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.unit__heading { margin: 0; font-size: 1.5rem; line-height: 1.25; color: var(--teal-dark); }
.unit__specs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }

.unit__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.unit__price { display: flex; flex-direction: column; margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.unit__price span { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.unit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* "Ledighed i kortet": the buttons stand in the foot itself, the price pushing them right, so the calendar that opens
   under "Se ledighed" (<dp-availability>) takes the foot's whole width. */
.unit__foot--calendar { justify-content: flex-start; gap: 10px; }
.unit__foot--calendar .unit__actions { display: contents; }
.unit__foot--calendar .unit__price { margin-right: auto; }
/* "Bookingboks": the stay's calendar and guests across the whole card, under the photo and the text. */
.unit__booking { grid-column: 1 / -1; padding: 0 26px 24px; }

/* ---- info box, link card, link bar -------------------------------------------------------------- */

.infobox { display: flex; flex-direction: column; gap: 12px; border-radius: 16px; }
.infobox--white { padding: 22px 26px 24px; border: 1px solid var(--line); background: #fff; }
.infobox--sand { gap: 14px; padding: 26px 28px 28px; background: var(--sand); }
.infobox__heading { margin: 0; font-size: 1.25rem; color: var(--teal-dark); }

.infobox__text { font-size: .9375rem; line-height: 1.6; }
.infobox__text p { margin: 0 0 12px; }
.infobox__text a { font-weight: 700; text-decoration: none; }

/* A list reads as ticked points with a bold lead... */
.infobox__text ul { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; line-height: 1.5; }
.infobox__text li { position: relative; padding-left: 26px; }
.infobox__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 16px;
  height: 16px;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ...unless every point is just a link: then it is a list of links with arrows ("Guider & ruter"). */
.infobox__text ul:has(> li > a:only-child) { gap: 0; }
.infobox__text li:has(> a:only-child) { padding-left: 0; }
.infobox__text li:has(> a:only-child)::before { content: none; }
.infobox__text li > a:only-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #E8DFCB;
  font-size: 1rem;
  font-weight: 600;
}
.infobox__text li > a:only-child::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.infobox__text ul + p { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.infobox__text > :last-child { margin-bottom: 0; }

.infobox__button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding-block: 0; }

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.link-card:hover { border-color: var(--line-strong); color: var(--ink); }
.link-card__thumb { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.link-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--teal-dark);
}
.link-card__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.link-card__heading { color: var(--teal-dark); font-weight: 700; }
.link-card__sub { color: var(--muted); font-size: .875rem; }

.link-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
}
.link-bar:hover { color: var(--ink); }
.link-bar__text { display: flex; flex-direction: column; gap: 4px; }
.link-bar__heading { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.3; color: var(--teal-dark); }
.link-bar__sub { color: var(--muted); font-size: .9375rem; }
.link-bar__action { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-weight: 700; white-space: nowrap; }

/* ---- excursions --------------------------------------------------------------------------------------- */

.umb-block-grid__layout-item:has(> .excursion) { align-self: stretch; }

.excursion {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.excursion__media { height: 160px; flex-shrink: 0; background: var(--tint); }
.excursion__media img { width: 100%; height: 100%; object-fit: cover; }
.excursion__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.excursion__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.excursion__category { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.excursion__heading { margin: 0; font-size: 1.1875rem; line-height: 1.3; color: var(--teal-dark); }
.excursion__text { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* ---- photo mosaic (Galleri) -------------------------------------------------------------------------- */

/* A tile has no height of its own (its photo is absolutely placed), so its rows are 280px. Another block in the same
   grid, the columns under the Pladskort's photo, makes its row as tall as it needs. */
.umb-block-grid__layout-container:has(> [data-content-element-type-alias="photoBlock"]) {
  grid-auto-rows: minmax(280px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}

/* The grid aligns its cells to the top; a tile fills its row (or two). */
.umb-block-grid__layout-item[data-content-element-type-alias="photoBlock"] { align-self: stretch; }

.photo { position: relative; height: 100%; margin: 0; overflow: hidden; border-radius: 16px; background: var(--tint); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, rgba(15, 50, 60, 0) 0%, rgba(15, 50, 60, .7) 100%);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.photo__category { color: var(--sand-stamp); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---- activity types (Det sker) ------------------------------------------------------------------------ */

.activity-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.activity-type::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.activity-type--boern { color: var(--accent); }
.activity-type--natur-vand { color: var(--teal); }
.activity-type--sauna-wellness { color: var(--teal-dark); }
.activity-type--musik-mad { color: #B5651D; }
.activity-type--udenfor-pladsen { color: var(--muted); }

/* ---- week programme ---------------------------------------------------------------------------------- */

.program__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.program__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.program__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

.program__header { margin: 72px 0 28px; }

.program__tabs { display: none; }

.program__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px; align-items: start; }
.program__day { display: flex; flex-direction: column; gap: 10px; }
.program__day-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  color: var(--teal-dark);
  font-size: 1.125rem;
}
.program__day.is-today { margin: -12px; padding: 12px; border-radius: 16px; background: var(--sand); }
.program__day.is-today .program__day-name { border-bottom-color: var(--teal); }
.program__today { color: var(--accent); font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.program__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.program__item[hidden] { display: none; }
.program__time { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-size: .8125rem; font-weight: 700; }
.program__title { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.program__item .activity-type { font-size: .625rem; }

.program__legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 4px 0 0; list-style: none; }

/* ---- events ---------------------------------------------------------------------------------------- */

.event {
  display: grid;
  grid-template-columns: 96px 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
/* The rows of the list touch: undo the column's gap between two events. */
.umb-block-grid__layout-item[data-content-element-type-alias="eventBlock"] + .umb-block-grid__layout-item[data-content-element-type-alias="eventBlock"] { margin-top: -20px; }

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 16px;
  background: var(--sand);
  color: var(--teal-dark);
}
.event__day { font-family: var(--font-heading); font-size: 2.125rem; line-height: 1; }
.event__month { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event__media { height: 130px; border-radius: 12px; overflow: hidden; background: var(--tint); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.event__heading { margin: 0; font-size: 1.5rem; line-height: 1.25; color: var(--teal-dark); }
.event__text { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.event__location { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .875rem; }
.event__action { white-space: nowrap; }

/* ---- activity calendar (GoVisit, activityCalendarBlock) --------------------------------------------- */
/* The calendar's own page in an iframe, as tall as it says it is (site.js); 1400px until it has. */
.activity-calendar { display: block; width: 100%; height: 1400px; border: 0; background: #fff; }

/* ---- search bar in a section or a sidebar ---------------------------------------------------------- */

.searchbar__submit .icon--arrow { display: none; }

/* In a section: one sand row, the heading inline (Overnatning board). */
.umb-block-grid__area .searchbar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 22px 28px;
  border: 0;
  border-radius: 16px;
  background: var(--sand);
  box-shadow: none;
}
.umb-block-grid__area .searchbar__top { margin: 0; padding-bottom: 12px; }
.umb-block-grid__area .searchbar__heading { white-space: nowrap; }
.umb-block-grid__area .searchbar__fields { display: flex; align-items: flex-end; gap: 16px; }
.umb-block-grid__area .searchbar__field:nth-child(1),
.umb-block-grid__area .searchbar__field:nth-child(2) { width: 170px; }
.umb-block-grid__area .searchbar__field:nth-child(3) { width: 100px; }
.umb-block-grid__area .searchbar__field:nth-child(4) { width: 130px; }
.umb-block-grid__area .searchbar__field span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.umb-block-grid__area .searchbar__field input { height: 48px; padding: 0 12px; border-radius: 8px; font-size: 1rem; }
.umb-block-grid__area .searchbar__submit { width: auto; height: 48px; padding: 0 26px; font-size: 1rem; }
.umb-block-grid__area .searchbar__magnifier { display: none; }
.umb-block-grid__area .searchbar__submit .icon--arrow { display: inline-block; }

/* In a sidebar: stacked, two fields a row, the button full width (Hytter board). */
.columns__aside .searchbar { flex-direction: column; align-items: stretch; gap: 14px; padding: 24px 26px 26px; }
.columns__aside .searchbar__top { padding: 0; }
.columns__aside .searchbar__fields { display: grid; grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.columns__aside .searchbar__field:nth-child(n) { width: auto; }
.columns__aside .searchbar__submit { grid-column: 1 / -1; width: 100%; height: 50px; }

/* ---- photo strips (galleryBlock with up to four photos) --------------------------------------------- */

.gallery--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery--strip .gallery__item { border-radius: 16px; }
.gallery--strip .gallery__item img { aspect-ratio: auto; height: 240px; }
.gallery--3 .gallery__item img { height: 280px; }

/* ---- one whole image (galleryBlock with a single image: the pladskort) ----------------------------- */

.figure { margin: 0; }
.figure__link { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.figure__link img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.figure__link:hover img { transform: scale(1.01); }
/* The booking widget's campsite map (campsiteMapBlock): its picture shows until the widget has loaded. */
.campsite-map { display: block; }
.campsite-map__fallback { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.figure__caption { margin-top: 12px; font-size: .95rem; text-align: right; }
.figure__caption a { color: var(--teal-dark); font-weight: 600; }

/* ---- call to action ------------------------------------------------------------------------------- */

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
  padding: 64px;
  border-radius: 24px;
  background: var(--teal-dark);
  color: #fff;
}
.cta__content { display: flex; flex-direction: column; gap: 16px; }
.cta__squiggle { color: var(--sand-stamp); }
.cta__heading { margin: 0; color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.2; }
.cta__heading em { font-style: italic; }
.cta__text { max-width: 640px; margin: 0; color: var(--mist); font-size: 1.1875rem; line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--sand { color: var(--teal-dark); }

.cta--sand { gap: 48px; padding: 48px 56px; background: var(--sand); color: var(--ink); }
.cta--sand .cta__content { gap: 12px; }
.cta--sand .cta__squiggle { color: var(--teal); }
.cta--sand .cta__heading { color: var(--teal-dark); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.cta--sand .cta__text { color: var(--muted); font-size: 1.0625rem; }
.cta--sand .cta__text strong { color: var(--ink); }

/* ---- content pages: narrower screens ----------------------------------------------------------------- */

@media (max-width: 1180px) {
  .program__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .event { grid-template-columns: 96px 180px minmax(0, 1fr); }
  .event__action { grid-column: 3; justify-self: start; }
}

@media (max-width: 1100px) {
  .columns, .columns--wide { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .columns__aside { position: static; }
  .band--box > .container { padding-inline: calc(40px + 40px); }
  .band--box > .container::before { inset: 0 40px; }
  .umb-block-grid__area .searchbar { flex-wrap: wrap; }
  .cta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .program__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band--box .umb-block-grid__area .umb-block-grid__layout-container { column-gap: 14px; }
  .umb-block-grid__layout-container:has(> [data-content-element-type-alias="photoBlock"]) { grid-auto-rows: minmax(200px, auto); gap: 12px; }
  .umb-block-grid__layout-item[data-content-element-type-alias="photoBlock"] { grid-column: span 6; }
  .umb-block-grid__layout-item[data-content-element-type-alias="photoBlock"][data-col-span="8"] { grid-column: span 12; }
  .umb-block-grid__area .searchbar { flex-direction: column; align-items: stretch; }
  .umb-block-grid__area .searchbar__fields { display: grid; grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .umb-block-grid__area .searchbar__field:nth-child(n) { width: auto; }
  .umb-block-grid__area .searchbar__submit { grid-column: 1 / -1; width: 100%; }
  .gallery--strip, .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery--strip .gallery__item img, .gallery--3 .gallery__item img { height: 180px; }
}

@media (max-width: 720px) {
  .page .band { padding-top: 48px; }
  .page .umb-block-grid__layout-item:has(> .hero) + .umb-block-grid__layout-item > .band { padding-top: 16px; }
  .page .umb-block-grid__layout-item:has(.page-nav) + .umb-block-grid__layout-item > .band { padding-top: 32px; }
  .page .band:not(.band--white):not(.band--box) { margin-top: 56px; padding-block: 56px 48px; }
  .page > .umb-block-grid > .umb-block-grid__layout-container > .umb-block-grid__layout-item:has(> .container > .cta) { margin-top: 56px; }

  .hero--page, .hero--page.hero--stamped { min-height: 440px; }
  .hero--page .hero__body { gap: 12px; padding-block: 48px 72px; }
  .hero--page .hero__heading { max-width: none; font-size: 2.125rem; line-height: 1.15; }
  .hero--page .hero__sub { font-size: 1.0625rem; }
  .hero--page .hero__stamp { width: 100px; height: 100px; top: 20px; right: 16px; border-width: 3px; }
  .hero--page .hero__stamp-text, .hero--page .hero__stamp-sub { font-size: .75rem; }
  .hero--page .hero__stamp-sub { display: block; }
  .hero--plain .hero__body { padding-block: 40px 72px; }

  /* The chips run in one row that scrolls sideways. */
  .page-nav, .hero__filter, .program__bar > .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .chip { padding: 8px 14px; font-size: .875rem; }

  .band.band--box { padding-top: 48px; }
  .band--box .umb-block-grid__area .umb-block-grid__layout-container { gap: 20px; }
  .band--box .umb-block-grid__layout-item[data-col-span="3"] { grid-column: span 12; }
  .band--box > .container { padding: 32px 40px; }
  .band--box > .container::before { inset: 0 16px; }

  .unit { grid-template-columns: minmax(0, 1fr); }
  .unit__media { min-height: 200px; }
  .unit__top { flex-direction: column; gap: 8px; }
  .unit__specs { justify-content: flex-start; }
  .unit__body { padding: 18px 18px 20px; }
  .unit__booking { padding: 0 18px 20px; }

  .program__header { margin-top: 40px; }
  .program--tabbed .program__tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .program__tab {
    flex: 1 0 auto;
    padding: 8px 12px;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--teal-dark);
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
  }
  .program__tab.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
  .program--tabbed .program__grid { grid-template-columns: minmax(0, 1fr); }
  .program--tabbed .program__day:not(.is-active) { display: none; }
  .program--tabbed .program__day.is-today { margin: 0; }
  .program:not(.program--tabbed) .program__grid { grid-template-columns: minmax(0, 1fr); }

  .event { grid-template-columns: 72px minmax(0, 1fr); gap: 14px 16px; align-items: start; }
  .event__date { width: 72px; height: 72px; }
  .event__day { font-size: 1.625rem; }
  .event__media { grid-column: 1 / -1; grid-row: 1; height: 160px; }
  .event__action { grid-column: 1 / -1; justify-self: stretch; text-align: center; }

  .cta { padding: 32px 26px; gap: 24px; border-radius: 20px; }
  .cta--sand { padding: 32px 26px; }
  .cta__text { font-size: 1.0625rem; }
  .cta__actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  .link-bar { flex-direction: column; align-items: flex-start; }
}
