@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/SuisseIntl-Regular-WebS-30d27c56.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/SuisseIntl-RegularItalic-WebS-96efefca.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/SuisseIntl-Medium-WebS-1951f801.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/SuisseIntl-MediumItalic-WebS-08e352a6.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/SuisseIntl-SemiBold-WebS-11daaa34.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/SuisseIntl-SemiBoldItalic-WebS-33bfa6f1.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/SuisseIntl-Bold-WebS-56770ca7.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/SuisseIntl-BoldItalic-WebS-89bca368.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/SuisseIntl-Black-WebS-a9f6cfb4.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/SuisseIntl-BlackItalic-WebS-edbd4a9a.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-Regular-WebS-6d91d721.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-RegularItalic-WebS-eee01c9a.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-Medium-WebS-6b61ba82.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-MediumItalic-WebS-6071a2e7.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-Semibold-WebS-038d2585.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-SemiboldItalic-WebS-cec25020.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-Bold-WebS-c5caeebf.woff2") format('woff2');
}

@font-face {
  font-family: 'Suisse Intl Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/SuisseIntlCond-BoldItalic-WebS-fa448d0f.woff2") format('woff2');
}


:root {
  --clr-white: #fff;
  --clr-black: #2d2d2d;
  --clr-true-black: #000;
  --clr-logo: #231f20;


  --clr-red: #e1200b;
  --clr-cream: #FAF9E7;
  --clr-sand: #E2E0D3;

  --clr-bg: var(--clr-white);
  --clr-fg: var(--clr-black);

  --clr-menu: var(--clr-bg);

  --clr-grey-100: #f4f4f5;
  --clr-grey-200: #e4e4e7;
  --clr-grey-300: #d4d4d8;
  --clr-grey-400: #a1a1aa;
  --clr-grey-500: #71717a;
  --clr-grey-600: #52525b;
  --clr-grey-700: #17176d;
  --clr-grey-750: #2e2f31;
  --clr-grey-800: #28292A;

  --clr-white-200: rgba(255, 255, 255, 0.9);
  --clr-white-300: rgba(255, 255, 255, 0.7);

  --clr-border: var(--clr-grey-300);
  --clr-action: #3c85c6;
  --clr-error: var(--clr-red);

  --ff-base: 'Suisse Intl', sans-serif;
  --ff-heading: 'Suisse Intl Condensed', 'Suisse Intl', sans-serif;

  --n-columns: 13;

  --m-column: calc(100vw / var(--n-columns));
  --m-menu-height: 200px;

  --fs-xxl: clamp(4.2rem, 6vw + 1rem, 8rem);
  --fs-xl: clamp(3.2rem, 4vw + 1rem, 5.6rem);
  --fs-l: clamp(2.4rem, 2vw + 1rem, 3.8rem);
  --fs-m: clamp(1.6rem, 1vw + 0.6rem, 3.2rem);
  --fs-s: clamp(1.4rem, 1vw + 0.4rem, 1.6rem);

  --ls-xxl: -0.02em;
  --ls-xl: -0.015em;
  --ls-l: -0.01em;

  --ms-xs: .236em;
  --m-s: .345984em;
  --m-m: .786096em;
  --m-l: 1em;
  --m-xl: 1.618em;

  font: 10px/1.3 var(--ff-base);
}


body {
  background-color: var(--clr-bg);
  color: var(--clr-fg);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
}

header,
footer {
  flex-grow: 0;
}

header {
  z-index: 100;
  position: absolute;

  &.clr__negative {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    --clr-fg: var(--clr-white);

    & svg {
      filter: drop-shadow(0px 0px 3px rgb(0 0 0 / 0.2));
      fill: var(--clr-fg);
    }
  }
}

strong {
  font-weight: 600;
}

h1,
.article__heading,
.article__heading-h1,
.tile__poster-content h2 {
  font-family: var(--ff-heading);
  letter-spacing: var(--ls-xl);
}

main {
  flex-grow: 1;
}

footer {
  flex-grow: 0;
  background-color: var(--clr-grey-800);
  color: var(--clr-white-200);
}

.breakable {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.nowrap {
  white-space: nowrap;
}

.base__grid {
  display: grid;
  gap: 0 0;
  grid-template-columns: repeat(var(--n-columns), minmax(0, 1fr));
  max-width: 100%;
}

.base__grid-header {
  padding-top: calc(var(--m-column) / 2);
  align-items: center;
}


#skip-to-content-link {
  position: absolute;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;

  font-size: 1.6rem;
  line-height: 1;
  background: var(--clr-black);
  color: var(--clr-white);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 2px;
  left: 50%;
  top: 1em;
  transform: translateX(-50%);

  &:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
  }
}

header {
  top: 0;
  left: 0;
  right: 0;

  & ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  & a {
    color: var(--clr-fg);
    text-decoration: none;

    &.open {
      text-decoration-color: var(--clr-grey-500);
      text-decoration-line: underline;
      text-decoration-thickness: 2px;
      text-underline-offset: 0.2em;
    }
  }
}

.header__logo {
  grid-column: 2 / span 4;

  & svg {
    display: block;
    fill: var(--clr-logo);
  }
}


.header__menu-sub {
  display: none;
}

.open+.header__menu-sub {
  display: block;
}

.cta__links {
  display: none;
}


.cta__links {
  font-size: 1.8rem;

  & li+li {
    margin-top: 0.8em;
  }

}

a[data-icon] {
  padding-left: 2em;
  text-decoration: none;
  background-position: left 50%;
  background-repeat: no-repeat;
  background-size: 1.6em;

}

[data-icon='billet'] {
  background-image: url("/assets/ico-ticket-452641ad.svg");

}

[data-icon='book-omvisning'] {
  background-image: url("/assets/ico-booking-f967ea53.svg");
}

[data-icon='nyhedsbrev'] {
  background-image: url("/assets/ico-nyhedsbrev-17e15493.svg");
}

[data-icon='webshop'] {
  background-image: url("/assets/ico-webshop-ec36a418.svg");
}

.header__menu-langhours {
  font-size: 1.8rem;

  & ul {
    display: flex;
    justify-content: start;
  }

  & li>a {
    text-decoration: none;
    color: var(--clr-fg);
    text-transform: capitalize;
  }

  & li+li::before {
    content: '/';
    margin: 0 0.2em;
    color: var(--clr-grey-400);
  }
}



.burger-menu-button {
  grid-column: span 1 / -2;
  border: none;
  cursor: pointer;
  justify-self: end;
  width: 48px;
  height: 48px;
  background-color: transparent;
  position: relative;


  &.is-open {
    position: relative;

    .burger-inner::before {
      top: 0;
      rotate: 45deg;
      transition:
        top 0.15s ease 0s,
        rotate 0.15s ease-out 0.3s,
        background-color 1s ease 0s;
    }

    & .burger-inner::after {
      top: 0;
      rotate: -45deg;
      transition:
        top 0.15s ease 0s,
        rotate 0.15s ease-out 0.3s,
        background-color 1s ease 0s;
    }

    & .burger-inner::before,
    .burger-inner::after {
      background-color: var(--clr-fg);
    }

    & .burger-inner {
      background-color: transparent;
      transition: background-color 0.3s ease 0.15s;
    }
  }
}

.burger-inner {
  left: 12px;
  top: 23px;
  width: 24px;
  height: 2px;
  background-color: var(--clr-fg, #000);
  border-radius: 4px;
  position: absolute;

  &::before,
  &::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--clr-fg, #000);
    border-radius: 4px;
    position: absolute;
    transition:
      rotate 0.15s ease-out 0s,
      top 0.15s ease 0.3s;
  }

  &:before {
    top: -8px;
  }

  &:after {
    top: 8px;
  }
}

.header__menu {
  display: none;
  font-size: 2.4rem;
}


.footer__inner {
  margin: var(--m-column) 0;
  font-size: 1.6rem;
  line-height: 1.5;

  & h4 {
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0;

    &.open button::after {
      rotate: 45deg;
    }
  }

  & button {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    appearance: none;
    font-family: var(--ff-base);
    background-color: transparent;
    border: 0;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--clr-white-200);

    &::after {
      background: url("/assets/ico-plus-white-32296e4f.svg") no-repeat 100% 50% scroll;
      content: ' ';
      width: 21px;
      height: 21px;
      display: block;
      transition: rotate 0.3s ease-in-out 0.1s;
    }
  }

  & a {
    color: var(--clr-white-300);

    &:hover {
      color: var(--clr-white-200);
    }
  }

  & li+li {
    margin-top: 0.2em;
  }

  & ul,
  .foldable>div {
    list-style: none;
    margin: 1.8rem 0 0 0;
    padding: 0;
  }
}

.some {
  background: #1a312e;
  margin: 0;
  padding: calc(var(--m-column) / 2) var(--m-column);
  display: flex;
  justify-content: space-between;
  align-items: center;

  & .parkmuseerne {
    display: block;
    width: 68px;
  }

  & ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    gap: 1.4em;
    margin: 0;
  }

  & li:last-of-type {
    margin-left: 0.8em;
  }

  & a {
    display: block;


  }

  & svg {
    fill: #fff;
  }

}


.youtube-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;  
  gap: 1em;
  padding: 1em;
  box-sizing: border-box;
  flex-direction: column;
  font-size: 1.4rem;
  color: var(--clr-white);
  container-type: inline-size;
  --clr-section: var(--clr-white);

  & > div {
    &:first-of-type {
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    &:last-of-type {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 1em;
      padding-top: 0;      
    }
  }

  & a[target="_blank"]::after {
    content: '';
    width: 9px;
    margin-left: 0.25em;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    aspect-ratio: 1;
    background-image: url("/assets/ico-link-ce9dcabc.svg");
  }
}

.play-youtube-inline-button {
  cursor: pointer;
  background-color: transparent;
  border: none;
  width: 90px;
  aspect-ratio: 29/20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 62px;

  & svg {
    transition: width 0.15s ease 0s;        
    width: 69px;
  }

  &:hover svg {
    width: 88px;
  }
}

@container (max-width: 390px) {
  .youtube-inline {
    order: -1;
  }  
  
  .play-youtube-inline-button {
    margin-top: 0;
  }
}
    



.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  position: relative;
  
  & iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.gecko-container {

  &:empty {
    aspect-ratio: 16/9;
  }

  &:has(.gecko-inline-button) {
    display: flex;
    flex-direction: column;
    gap: 1em;

    & > div:last-of-type {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1em;
      & > div:first-of-type { 
        font-size: 0.8em;
      }
    }
  }

  border: 2px solid hsla(0, 0%, 10%, 0.2);
  border-radius: 8px;
  padding: 1em;

  & h5 {
    margin: 0;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.2em;

    & svg {
      width: 1.4em;
      fill: currentColor;
    }
  }

  & p {
    margin: 1em 0;
  }

  

  & button {
    cursor: pointer;
    background: #145624;
    appearance: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.6rem;
    padding: 0.6em 1em;        
    line-height: 1.4;
    
    
  }

  & a[target="_blank"]::after {
    content: '';
    width: 9px;
    margin-left: 0.25em;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    aspect-ratio: 1;
    background-image: url("/assets/ico-link-green-a972d030.svg");
  }
}

.pop-up {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--clr-grey-800);
  color: var(--clr-white-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: var(--m-column);
  font-size: 1.6rem;
  line-height: 1.4;
  gap: var(--m-column);
  z-index: 100;
  
  & a {
    color: var(--clr-white-200);
  }

  & .btns {
    display: flex;
    gap: 1em;
    
  }
  
  & button {
    background-color: var(--clr-white-200);
    color: var(--clr-grey-800);  
    text-decoration: none;  
    border-radius: 2px;    
    padding: 0.6em 1em 0.5em 1em;  
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: color .1s ease-in-out, background-color .1s ease-in-out;
    
    &:hover {
      
      color: var(--clr-black);
      background-color: var(--clr-white);
    }
  }
}


/* Small only */
@media (max-width: 1023px) {

  .header__menu-main {
    & > li+li {
      margin-top: 0.4em;
    }
  }

  .header__menu-sub {
    font-size: 1.8rem;
    margin: 1em 0 2em 0em;

    & > li+li {
      margin-top: 0.6em;
    }
  }

  .footer__inner {
    & > div {
      grid-column: 2 / -2;
      grid-row: auto;
    }

    & .foldable {
      display: none;
    }

    & h4.open~.foldable {
      display: block;
    }

    & h4 {
      margin-top: 1.5em;
    }

    & > div:first-of-type h4 {
      margin-top: 0;
    }
  }

  header:has(button.is-open) {

    background-color: var(--clr-menu);
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.15);

    &.clr__negative {
      text-shadow: none;
      --clr-fg: var(--clr-black);

      & svg {
        filter: none;
        fill: var(--clr-logo);
      }
    }

    & .header__menu {
      padding: 32px 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      grid-column: 2 / -2;
    }

    & .cta__links {
      display: block;
    }

    .header__menu-langhours {
      display: block;
    }

  }

  .header__menu-langhours ul {
    margin-bottom: 4px;
  }
}



/* L */
@media (min-width: 1024px) {
  :root {
    --n-columns: 23;
  }

  .pop-up {
    font-size: 1.8rem;
    flex-direction: row;  

    & button {
      font-size: 1.8rem;
    }
  }
  

  header:has(a.open) {

    &.clr__negative {
      text-shadow: none;
      --clr-fg: var(--clr-black);

      & svg {
        filter: none;
        fill: var(--clr-logo);
      }
    }

    & .cta__links {
      display: block;
    }

    &::before {
      content: '';
      position: absolute;
      background-color: var(--clr-menu);
      box-shadow: 0 2px 6px 0 rgba(0,0,0,.15);
      left: 0;
      top: 0;
      right: 0;
      padding-bottom: var(--m-column);
      height: var(--m-menu-height);
      z-index: -1;
    }

  }


  .header__menu {
    font-size: 1.8rem;
    grid-column: span 14 / -2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;

  }

  .burger-menu-button {
    display: none;
  }

  .header__menu-sub {
    position: absolute;
    left: calc(var(--m-column) * 8);
    top: 150%;
    width: calc(var(--m-column) * 10);
    font-size: 2.4rem;
    display: none;

    & li+li {
      margin-top: 0.6em;
    }
  }

  .header__menu-main {
    display: flex;
    justify-content: flex-start;
    gap: 2em;

    & a {
      white-space: nowrap;
    }
  }

  .cta__links {
    position: absolute;
    left: calc(var(--m-column) * 1);
    top: 150%;
    font-size: 1.8rem;
    padding-top: 8px;
  }

  .opening__hours {
    font-size: 1.6rem;
    margin-top: 0.2em;
  }

  .header__menu-langhours {
    text-align: right;

    & ul {
      justify-content: end;
    }
  }

  .footer__inner {

    & > div:nth-child(1) {
      grid-column: 2 / span 5;
    }

    & > div:nth-child(2) {
      grid-column: 8 / span 5;
    }

    & > div:nth-child(3) {
      grid-column: 14 / span 5;
    }

    & > div:nth-child(4) {
      grid-column: 20 / span 3;
    }

    .foldable+h4 {
      margin-top: 1.6em;
    }
  }


}

/*  XL */
@media (min-width: 1300px) {

  .header__menu {
    grid-column: span 12 / -2;
  }

  .header__menu-sub {
    left: calc(var(--m-column) * 10);
  }

}
