@charset "UTF-8";
/*
Theme Name: Dansk Live 2026
Description: Theme developed for Dansk Live
Author: Jan Hesselvig Krogh
Author URI: https://janslyn.dk
*/
/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}

/* colors */
:root {
  --color-primary: rgba(89, 89, 225, 1.00);
  --color-primary-contrast: color-mix(in srgb, rgba(89, 89, 225, 1.00) 70%, black);
  --color-accent: rgba(89, 231, 205, 1.00);
  --color-accent-contrast: color-mix(in srgb, rgba(89, 231, 205, 1.00) 55%, black);
  --color-accent-faded: rgba(222, 250, 245, 1.00);
}

.palette-1 {
  --color-primary: rgba(89, 89, 225, 1.00);
  --color-primary-contrast: color-mix(in srgb, rgba(89, 89, 225, 1.00) 70%, black);
  --color-accent: rgba(89, 231, 205, 1.00);
  --color-accent-contrast: color-mix(in srgb, rgba(89, 231, 205, 1.00) 55%, black);
  --color-accent-faded: rgba(222, 250, 245, 1.00);
}

.palette-2 {
  --color-primary: rgba(166, 89, 122, 1.00);
  --color-primary-contrast: color-mix(in srgb, rgba(166, 89, 122, 1.00) 70%, black);
  --color-accent: rgba(134, 134, 233, 1.00);
  --color-accent-contrast: color-mix(in srgb, rgba(134, 134, 233, 1.00) 55%, black);
  --color-accent-faded: rgba(242, 242, 253, 1.00);
}

.palette-3 {
  --color-primary: rgba(120, 0, 50, 1.00);
  --color-primary-contrast: color-mix(in srgb, rgba(120, 0, 50, 1.00) 70%, black);
  --color-accent: rgba(255, 209, 0, 1.00);
  --color-accent-contrast: color-mix(in srgb, rgba(255, 209, 0, 1.00) 55%, black);
  --color-accent-faded: rgba(255, 243, 190, 1.00);
}

.palette-4 {
  --color-primary: rgba(89, 134, 140, 1.00);
  --color-primary-contrast: color-mix(in srgb, rgba(89, 134, 140, 1.00) 70%, black);
  --color-accent: rgba(255, 139, 159, 1.00);
  --color-accent-contrast: color-mix(in srgb, rgba(255, 139, 159, 1.00) 55%, black);
  --color-accent-faded: rgba(255, 225, 230, 1.00);
}

.contrast-enhance {
  --color-primary: var(--color-primary-contrast);
  --color-accent: var(--color-accent-contrast);
}

@media (prefers-contrast: more) {
  body {
    --color-primary: var(--color-primary-contrast);
    --color-accent: var(--color-accent-contrast);
  }
}
/* TYPOGRAPHY */
@font-face {
  font-family: "Scandia";
  src: url("fonts/Scandia-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Scandia";
  src: url("fonts/Scandia-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Scandia";
  src: url("fonts/Scandia-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  text-wrap: pretty;
}

body {
  font-family: "Scandia", sans-serif;
  font-size: 1.125rem;
  color: rgb(59, 59, 59);
  line-height: 1.4;
}

a {
  color: var(--color-primary, rgb(59, 59, 59));
}

h1, h2, h3, h4, h5, p {
  margin-bottom: 0.5em;
}

p + h1, p + h2, p + h3, p + h4, p + h5 {
  margin-top: 1em;
}

.body-text h2, .body-text h3, .body-text h4, .body-text h5 {
  margin-top: 1em;
}

.cat + h1, h2, h3, h4, h5 {
  margin-top: 0.25em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.2;
}
@media screen and (min-width : 70em) {
  h1 {
    font-size: 7.5rem;
  }
  h1.smaller {
    font-size: 4.5rem;
  }
}
.single-nyhed h1, .single-podcast h1, .single-arrangement h1 {
  text-transform: none;
  margin-bottom: 0;
}
@media screen and (min-width : 70em) {
  .single-nyhed h1, .single-podcast h1, .single-arrangement h1 {
    font-size: 3.75rem;
  }
}
h1.hero-block__heading {
  font-size: 2rem;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: inherit;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
@media screen and (min-width : 60em) {
  h1.hero-block__heading {
    font-size: 4.5rem;
    -webkit-text-stroke-width: 2px;
  }
}

.hero-block__body, .intro {
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--color-primary);
}
@media screen and (min-width : 60em) {
  .hero-block__body, .intro {
    font-size: 1.625rem;
  }
}

h2 {
  font-size: 1.875rem;
  line-height: 1.3;
  color: var(--color-primary);
}
@media screen and (min-width : 60em) {
  h2 {
    font-size: 3.75rem;
  }
}
.split-banner-block h2 {
  color: rgb(59, 59, 59);
}
.body-text h2 {
  font-size: 1.625rem;
  font-weight: 500;
}
.feature-block h2 {
  font-size: 2rem;
}
@media screen and (min-width : 60em) {
  .feature-block h2 {
    font-size: 2.875rem;
  }
}
h2 {
  /* Restate the base h2 size/weight so the CTA heading keeps its own scale
     when the block is nested inside .body-text, which would otherwise shrink
     it (equal specificity, later source order). */
}
.cta-block h2 {
  text-transform: uppercase;
  font-size: 1.875rem;
  font-weight: 700;
}
@media screen and (min-width : 60em) {
  .cta-block h2 {
    font-size: 3.75rem;
  }
}
h2 {
  /*.cta-block &, .newsletter-block &, */
}
.featured-podcasts-block h2, .more-podcasts-block h2 {
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: center;
}
@media screen and (min-width : 60em) {
  .featured-podcasts-block h2, .more-podcasts-block h2 {
    margin-bottom: 120px;
  }
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25em;
  color: var(--color-primary);
}
@media screen and (min-width : 60em) {
  h3 {
    font-size: 1.5rem;
  }
}

h4 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.more-news h4 {
  font-size: 1.125rem;
}
.news-item h4 {
  margin-bottom: 0.25em;
}

nav {
  font-size: 1rem;
}

header nav {
  font-weight: 500;
}
header nav .menu-item-description {
  font-size: 0.875rem;
  font-weight: 400;
}

footer {
  font-size: 1rem;
}

a.btn, .wp-element-button {
  text-decoration: none;
  text-align: center;
  font-weight: 500;
}
a.btn strong, .wp-element-button strong {
  font-weight: 500;
}

a.btn--layered {
  text-transform: uppercase;
  font-size: 1.25rem;
}

#primary-nav {
  color: var(--color-primary);
}
@media screen and (min-width : 60em) {
  #primary-nav li {
    color: var(--color-primary);
    transition: color 0.3s cubic-bezier(0.45, 0, 0.55, 1);
  }
  .home #primary-nav li {
    color: white;
  }
  .home.sub-menu-is-open #primary-nav li, .home.search-is-open #primary-nav li {
    color: var(--color-primary);
  }
}
#primary-nav a {
  color: inherit;
}
#primary-nav ul {
  list-style: none;
  padding-left: 0;
}

.cat {
  font-size: 1.125rem;
  font-weight: 500;
}
.more-news .cat {
  font-size: 0.875rem;
}
.podcast-item .cat {
  font-size: 1rem;
}

footer {
  color: white;
}
footer a {
  color: inherit;
}

.podcast-item {
  color: white;
  font-size: 1rem;
}

.news-item .cat {
  color: var(--color-accent);
}
.podcast-item .cat {
  color: var(--color-accent);
}

.news-item h4 {
  color: var(--color-primary);
}

.square-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}
.square-link::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  margin-left: -20px;
  top: 4px;
}

@media screen and (min-width : 60em) {
  .news-grid:not(.front) .news-item:nth-child(1) p {
    font-size: 120%;
  }
  .news-grid:not(.front) .news-item:nth-child(1) h3, .news-grid:not(.front) .news-item:nth-child(1) h4 {
    font-size: 1.875rem;
  }
}

.more-news .news-item {
  font-size: 0.9375rem;
}

.cta-block, .newsletter-block {
  color: var(--color-primary);
}
.cta-block p, .newsletter-block p {
  font-size: 1.25rem;
  font-weight: 500;
}
@media screen and (min-width : 60em) {
  .cta-block p, .newsletter-block p {
    font-size: 1.375rem;
  }
}

.also {
  font-weight: 500;
}

.body-text {
  line-height: 1.6;
}

.news-body-wrapper .date, .podcast-body-wrapper .date {
  text-align: right;
  color: var(--color-primary);
  font-size: 1rem;
}
@media screen and (min-width : 60em) {
  .news-body-wrapper .date, .podcast-body-wrapper .date {
    font-size: 1.5rem;
  }
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.navigation.pagination a {
  text-decoration: none;
  color: rgb(59, 59, 59);
}

cite, .wp-block-pullquote cite {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgb(59, 59, 59);
  font-style: normal;
  text-transform: none;
}

.wp-block-quote {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1.25rem;
}
.wp-block-quote::before {
  width: 50px;
  transform: translateX(calc(-100% - 5px));
  top: -10px;
}
@media screen and (min-width : 60em) {
  .wp-block-quote::before {
    width: 100px;
    transform: translateX(calc(-100% - 10px));
    top: -20px;
  }
}
@media screen and (min-width : 70em) {
  .wp-block-quote {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 8 + 210px);
    max-width: calc(calc((100% - 330px) / 12) * 8 + 210px);
  }
}

.wp-block-pullquote {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1.75rem;
  padding: 0;
  text-align: left;
  line-height: 1.2;
}
.wp-block-pullquote p {
  margin-bottom: 30px;
}
@media screen and (min-width : 60em) {
  .wp-block-pullquote {
    font-size: 2.5rem;
  }
}
@media screen and (min-width : 70em) {
  .wp-block-pullquote {
    font-size: 3.75rem;
  }
}
.wp-block-pullquote::before {
  width: 80px;
  transform: translateX(-50px);
  top: -10px;
}
@media screen and (min-width : 60em) {
  .wp-block-pullquote::before {
    width: 170px;
    transform: translateX(-100px);
    top: -20px;
  }
}

.wp-block-quote, .wp-block-pullquote {
  border: none;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  margin-left: calc(calc((100% - 220px) / 12) * 1 + 20px);
}
@media screen and (min-width : 60em) {
  .wp-block-quote, .wp-block-pullquote {
    margin-left: calc(calc((100% - 330px) / 12) * 1 + 30px);
  }
}
.wp-block-quote::before, .wp-block-pullquote::before {
  position: absolute;
  content: "";
  display: block;
  aspect-ratio: 176/113;
  background-color: var(--color-accent-faded);
  -webkit-mask-image: url("images/quote.svg");
          mask-image: url("images/quote.svg");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  z-index: -1;
}

/* DETAILS / SUMMARY
   Matches the core Accordion block's toggle typography.
   Layout/structure rules live in _layout.scss */
.wp-block-details summary {
  color: rgb(59, 59, 59);
  font-weight: 500;
  font-size: 1rem;
}
@media screen and (min-width : 70em) {
  .wp-block-details summary {
    font-size: 1.125rem;
  }
}
.wp-block-details summary:hover {
  color: var(--color-primary);
}
.wp-block-details summary::after {
  font-weight: 400;
  font-size: 1.25rem;
}

/* HEADER */
button.hamburger {
  height: 40px;
  width: 40px;
}

div.hamburger {
  height: 40px;
  width: 40px;
}
div.hamburger > .inner {
  top: 50%;
}

.hamburger {
  background-color: transparent;
  border: 0 transparent solid;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  opacity: 1;
  overflow: visible;
  padding: 4px;
  text-transform: none;
  transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger:hover {
  background-color: transparent;
  opacity: 1;
}
.hamburger:hover span.bar {
  background-color: #000;
}
.hamburger:hover > .inner:nth-child(1)::before, .hamburger:hover > .inner:nth-child(1)::after, .hamburger:hover > .inner:nth-child(2)::before, .hamburger:hover > .inner:nth-child(2)::after, .hamburger:hover > .inner:nth-child(3)::before, .hamburger:hover > .inner:nth-child(3)::after,
.hamburger:hover span.bar:nth-child(1)::before,
.hamburger:hover span.bar:nth-child(1)::after,
.hamburger:hover span.bar:nth-child(2)::before,
.hamburger:hover span.bar:nth-child(2)::after,
.hamburger:hover span.bar:nth-child(3)::before,
.hamburger:hover span.bar:nth-child(3)::after {
  background-color: #000;
}
.hamburger.active {
  background-color: transparent;
}
.hamburger.active span.bar {
  background-color: #000;
}
.hamburger.active > .inner:nth-child(1)::before, .hamburger.active > .inner:nth-child(1)::after, .hamburger.active > .inner:nth-child(2)::before, .hamburger.active > .inner:nth-child(2)::after, .hamburger.active > .inner:nth-child(3)::before, .hamburger.active > .inner:nth-child(3)::after,
.hamburger.active span.bar:nth-child(1)::before,
.hamburger.active span.bar:nth-child(1)::after,
.hamburger.active span.bar:nth-child(2)::before,
.hamburger.active span.bar:nth-child(2)::after,
.hamburger.active span.bar:nth-child(3)::before,
.hamburger.active span.bar:nth-child(3)::after {
  background-color: #000;
}
.hamburger > .inner {
  margin: 0;
  margin-top: -1px;
  position: relative;
  width: 100%;
}
.hamburger span.bar {
  background-color: #000;
  border-radius: 0;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 100%;
}
.hamburger span.bar:nth-child(1) {
  top: -8px;
}
.hamburger span.bar:nth-child(3) {
  top: 8px;
}
.hamburger:focus {
  outline: 0;
}

.hamburger--dive span.bar {
  transition: transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger--dive span.bar:nth-child(1) {
  top: 0;
  transform: translate3d(0, -6px, 0);
}
.hamburger--dive span.bar:nth-child(2) {
  top: 0;
  transform: translate3d(0, 6px, 0);
}
.hamburger--dive span.bar:nth-child(3) {
  display: none;
}
.hamburger--dive.active span.bar:nth-child(1) {
  transform: rotate(135deg);
}
.hamburger--dive.active span.bar:nth-child(2) {
  transform: rotate(45deg);
}

body.menu-open {
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: white;
  transition: top 0.3s cubic-bezier(0.45, 0, 0.55, 1), background-color 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.home header.at-top {
  background-color: transparent;
}
header.header-hidden {
  top: -100%;
}
@media screen and (min-width : 60em) {
  header {
    transition: none;
    position: relative;
    top: auto;
    background-color: transparent;
  }
}
header .wrapper-regular {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 201;
  padding-top: 20px;
  padding-bottom: 20px;
}
header .home-link {
  max-width: 25%;
  position: relative;
  z-index: 201;
}

nav ul, nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger {
  position: relative;
  z-index: 201;
}
@media screen and (min-width : 60em) {
  .hamburger {
    display: none;
  }
}
.hamburger span.bar {
  transition: all 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}

body:not(.menu-open).home .at-top .hamburger span.bar {
  background-color: white;
}

#primary-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: white;
  overflow-y: auto;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
  padding-top: 120px;
}
body.menu-open #primary-nav {
  transform: translateX(0);
}
@media screen and (min-width : 60em) {
  #primary-nav {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: auto;
    z-index: auto;
    background: none;
    overflow: visible;
    padding: 0;
    transform: none;
    transition: none;
  }
}

#primary-nav > ul > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
@media screen and (min-width : 60em) {
  #primary-nav > ul > li {
    display: block;
    border-bottom: none;
  }
}

#primary-nav > ul > li > a {
  flex: 1;
  padding: 16px 0;
  text-decoration: none;
}
@media screen and (min-width : 60em) {
  #primary-nav > ul > li > a {
    flex: none;
    padding: 10px 0;
  }
}

.nav__toggle {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px 12px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__toggle::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.is-expanded .nav__toggle::before {
  transform: rotate(45deg);
}
@media screen and (min-width : 60em) {
  .nav__toggle {
    display: none;
  }
}

.sub-menu {
  flex-basis: 100%;
  list-style: none;
  margin: 0;
  flex-grow: 1;
  padding: 0;
  background: var(--color-accent-faded);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.45, 0, 0.55, 1);
  margin-left: -20px;
  margin-right: -20px;
}
.sub-menu.is-expanded {
  max-height: 600px;
}

.sub-menu > li {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
}
.sub-menu > li:first-child {
  padding-top: 20px;
}
.sub-menu > li:last-child {
  padding-bottom: 20px;
  border-bottom: none;
}

.sub-menu a {
  text-decoration: none;
}

.menu-item-description {
  display: block;
}
.menu-icon {
  margin-right: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.menu-icon svg * {
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
@media screen and (min-width : 60em) {
  .nav-search {
    position: static;
    gap: 0;
    padding: 0;
    margin-left: auto;
    align-self: stretch;
  }
}

.nav-search__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}
@media screen and (min-width : 60em) {
  .nav-search__toggle {
    padding-left: 15px;
    padding-right: 15px;
    transition: color 0.3s cubic-bezier(0.45, 0, 0.55, 1);
  }
  .home .nav-search__toggle {
    color: white;
  }
  .home.sub-menu-is-open .nav-search__toggle, .home.search-is-open .nav-search__toggle {
    color: var(--color-primary);
  }
}

.nav-search__icon {
  display: block;
  width: 23px;
  height: 23px;
}
.nav-search__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.nav-search__icon--search svg {
  fill: currentColor;
  stroke: none;
}
.nav-search__icon--close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-search__icon--close {
  display: none;
}

body.search-is-open .nav-search .nav-search__icon--search {
  display: none;
}
body.search-is-open .nav-search .nav-search__icon--close {
  display: block;
}

.nav-search__form {
  flex: 1;
  min-width: 0;
}

.nav-search__heading {
  display: none;
}

.nav-search__field {
  width: 100%;
  padding: 8px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-primary);
  color: inherit;
  font: inherit;
}
.nav-search__field:focus {
  outline: none;
  border-bottom-width: 2px;
}

@media screen and (min-width : 60em) {
  #primary-nav {
    position: relative;
    display: flex;
    align-items: stretch;
    border-bottom: solid 2px #D8D8D8;
  }
  #primary-nav > ul {
    position: static;
    display: flex;
    align-items: center;
    border-bottom: none;
  }
  #primary-nav > ul > li {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: solid 2px transparent;
    margin-bottom: -2px;
    padding-left: 15px;
    padding-right: 15px;
  }
  #primary-nav > ul > li:hover, #primary-nav > ul > li.current-menu-ancestor, #primary-nav > ul > li.current-menu-item {
    border-bottom: solid 2px var(--color-primary);
  }
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-basis: auto;
    max-height: none;
    overflow: visible;
    background: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 60px 30px 30px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.45, 0, 0.55, 1) 0.15s, transform 0.25s cubic-bezier(0.45, 0, 0.55, 1) 0.15s;
  }
  .sub-menu > li {
    flex: 0 0 auto;
    gap: 8px;
    min-width: 180px;
    max-width: min(280px, 20vw);
    padding: 0;
    border-bottom: none;
  }
  .sub-menu > li:first-child, .sub-menu > li:last-child {
    padding: 0;
    border-bottom: none;
  }
  body:not(.search-is-open) #primary-nav > ul > li:hover > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  body:not(.search-is-open) #primary-nav > ul > li:hover > .sub-menu::before {
    content: "";
    position: absolute;
    /* dæk fra panelets venstrekant og helt ud til venstre side af siden */
    left: -100vw;
    right: 0;
    /* start oppe ved triggerens underkant, så der ikke er et lodret hul */
    top: 0;
    bottom: 0;
    /* usynlig, men fanger musen */
    background: transparent;
    pointer-events: auto;
    z-index: -1; /* ligger bag indholdet, så den ikke blokerer klik */
  }
  .sub-menu .menu-icon {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .sub-menu .menu-icon svg {
    width: 100%;
    height: 100%;
  }
  .sub-menu .menu-item-description {
    display: block;
  }
  .nav-search__form {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 80vw;
    max-width: 600px;
    z-index: 100;
    flex: none;
    padding: 30px 0 60px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.45, 0, 0.55, 1), transform 0.25s cubic-bezier(0.45, 0, 0.55, 1);
  }
  body.search-is-open .nav-search__form {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.15s;
  }
  .nav-search__form-inner {
    width: 100%;
  }
  .nav-search__heading {
    display: block;
    margin: 0 0 16px;
  }
  .nav-search__field {
    padding: 20px 0;
    border-bottom-width: 2px;
    font-size: 3rem;
    line-height: 1.2;
  }
  .nav-search__field::-moz-placeholder {
    opacity: 0.4;
  }
  .nav-search__field::placeholder {
    opacity: 0.4;
  }
}
@media screen and (min-width : 70em) {
  .menu-icon {
    margin-top: -4px;
  }
}
.mega-menu-bg {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
body.menu-open .mega-menu-bg {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (min-width : 60em) {
  .mega-menu-bg {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    z-index: 99;
    background: var(--color-accent-faded);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1) 0.3s;
  }
  body.menu-open .mega-menu-bg {
    transform: translateY(-100%);
  }
  body.sub-menu-is-open .mega-menu-bg, body.search-is-open .mega-menu-bg {
    transform: translateY(0);
    transition-delay: 0s;
  }
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 5px;
  margin-top: 30px;
  margin-bottom: 30px;
  justify-content: center;
}
.navigation.pagination .nav-links .page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px var(--color-primary);
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.navigation.pagination .nav-links .page-numbers:hover:not(.current, .dots) {
  transform: translateY(-4px);
}
.navigation.pagination .nav-links .page-numbers.current {
  border: solid 1px var(--color-accent-faded);
  background-color: var(--color-accent-faded);
}

/* LAYOUT */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

main {
  margin-top: 90px;
}
.page-template-template-front-page main {
  margin-top: 0;
}
main > *:not(.hero-block, .split-banner-block, .featured-podcasts-block, .feature-block, .more-podcasts-block, .wrapper-regular, .alignfull, .alignwide, .more-news) {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (min-width : 70em) {
  main > *:not(.hero-block, .split-banner-block, .featured-podcasts-block, .feature-block, .more-podcasts-block, .wrapper-regular, .alignfull, .alignwide, .more-news) {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.alignfull {
  padding: 20px;
}
@media screen and (min-width : 60em) {
  .alignfull {
    max-width: calc(100vw - 60px);
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
  }
}

.alignwide {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}
@media screen and (min-width : 60em) {
  .alignwide {
    padding: 30px;
  }
}
.single-nyhed .alignwide.wp-block-image {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width : 70em) {
  .page main > .wrapper-regular > p {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 8 + 210px);
    max-width: calc(calc((100% - 330px) / 12) * 8 + 210px);
  }
}

main .split-banner-block, main .featured-podcasts-block, main .feature-block,
.editor-styles-wrapper .split-banner-block,
.editor-styles-wrapper .featured-podcasts-block,
.editor-styles-wrapper .feature-block {
  margin-top: 60px;
  margin-bottom: 60px;
}
@media screen and (min-width : 70em) {
  main .split-banner-block, main .featured-podcasts-block, main .feature-block,
  .editor-styles-wrapper .split-banner-block,
  .editor-styles-wrapper .featured-podcasts-block,
  .editor-styles-wrapper .feature-block {
    margin-top: 120px;
    margin-bottom: 120px;
  }
}

img {
  height: auto;
}

.wrapper-regular {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media screen and (min-width : 70em) {
  .wrapper-regular {
    padding-left: 30px;
    padding-right: 30px;
  }
}
.wrapper-regular .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 20px;
}
@media screen and (min-width : 60em) {
  .wrapper-regular .alignfull {
    padding: 30px;
  }
}
.wrapper-regular .alignwide {
  width: min(100vw - 60px, 1440px);
  margin-left: calc(50% - min(100vw - 60px, 1440px) / 2);
  padding: 20px;
}
@media screen and (min-width : 60em) {
  .wrapper-regular .alignwide {
    padding: 30px;
  }
}

.intro p, p.intro, .wp-block-accordion-item {
  margin-bottom: 1em;
}
@media screen and (min-width : 70em) {
  .intro p, p.intro, .wp-block-accordion-item {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 10 + 270px);
    max-width: calc(calc((100% - 330px) / 12) * 10 + 270px);
  }
}

.mega-menu-bg + .wrapper-regular {
  margin-top: 120px;
}

.more-news {
  background-color: var(--color-accent-faded);
  padding: 90px 0;
}
@media screen and (min-width : 70em) {
  .more-news {
    padding: 150px 0;
  }
}
.more-news {
  /* Full-bleed breakout when rendered as the acf/more-news-block inside post
     content. Does not apply on single-nyhed.php, where .more-news is a sibling
     of .wrapper-regular rather than a descendant. */
}
.wrapper-regular .more-news {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.more-news .wrapper-regular {
  position: relative;
}
.more-news .also {
  position: absolute;
  left: 20px;
  top: -50px;
}
@media screen and (min-width : 70em) {
  .more-news .also {
    left: 30px;
    top: -80px;
  }
}
.more-news .square-link {
  position: absolute;
  right: 20px;
  top: -50px;
}
@media screen and (min-width : 70em) {
  .more-news .square-link {
    right: 30px;
    top: -80px;
  }
}
@media screen and (min-width : 60em) {
  .more-news .news-items {
    display: flex;
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
.more-news .news-item {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 30px auto 1fr;
}
@media screen and (min-width : 60em) {
  .more-news .news-item {
    width: 50%;
  }
}
@media screen and (min-width : 70em) {
  .more-news .news-item {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
.more-news .news-item__image {
  aspect-ratio: 1/1;
  grid-column: 1/span 6;
  grid-row: 1/span 2;
}
@media screen and (min-width : 70em) {
  .more-news .news-item__image {
    grid-column: 1/span 3;
  }
}
.more-news .news-item__image img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}
.more-news .news-item__text {
  background-color: var(--color-accent-faded);
  grid-row: 2/span 2;
  grid-column: 4/-1;
  padding: 20px;
  /* Wins the intentional row-2 overlap with __image. Needed because the
     fade-in transform gives the image its own stacking context, which
     would otherwise paint it above this text. Matches .news-grid. */
  position: relative;
  z-index: 1;
}
@media screen and (min-width : 70em) {
  .more-news .news-item__text {
    grid-column: 3/span 4;
  }
}

.podcast-grid {
  display: grid;
  gap: 60px;
  margin-bottom: 60px;
}
@media screen and (min-width : 60em) {
  .podcast-grid {
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media screen and (min-width : 70em) {
  .podcast-grid {
    grid-template-columns: 1fr 1fr 1fr;
    -moz-column-gap: 30px;
         column-gap: 30px;
    row-gap: 90px;
  }
}
.podcast-grid .podcast-item {
  background-color: var(--color-primary);
  padding: 20px;
  position: relative;
}
@media screen and (min-width : 60em) {
  .podcast-grid .podcast-item {
    display: flex;
    flex-direction: column;
  }
  .podcast-grid .podcast-item p {
    margin-bottom: 30px;
  }
  .podcast-grid .podcast-item .btn {
    width: -moz-fit-content;
    width: fit-content;
    margin-top: auto;
  }
}
@media screen and (min-width : 70em) {
  .podcast-grid .podcast-item {
    padding: 30px;
  }
}
.podcast-grid .podcast-item__icon {
  position: absolute;
  right: 10px;
  top: -45px;
}
@media screen and (min-width : 70em) {
  .podcast-grid .podcast-item__icon {
    top: -40px;
  }
}
.podcast-grid .podcast-item__icon path {
  fill: var(--color-accent);
}

/* Full-bleed breakout when the news-grid block is nested in post content.
   Done in CSS rather than via block.json align support so it applies to
   already-saved block instances without them needing to be re-saved. */
.wrapper-regular .news-grid-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.search-results {
  margin-top: 30px;
}
@media screen and (min-width : 60em) {
  .search-results {
    margin-top: 60px;
  }
}

.search-result {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-accent-faded);
}
.search-result:last-child {
  border-bottom: none;
}
@media screen and (min-width : 60em) {
  .search-result {
    max-width: 800px;
  }
}
.search-result__title {
  font-size: 1.5rem;
}
@media screen and (min-width : 60em) {
  .search-result__title {
    font-size: 2rem;
  }
}
.search-result__title a {
  text-decoration: none;
}

.search-again {
  margin-top: 30px;
  max-width: 600px;
}

.news-grid {
  margin-top: 30px;
}
@media screen and (min-width : 60em) {
  .news-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 120px;
  }
}
.news-grid .news-item {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 80px 1fr;
}
@media screen and (min-width : 70em) {
  .news-grid .news-item {
    margin-bottom: 90px;
  }
}
.news-grid .news-item__image {
  grid-column: 1/-1;
  grid-row: 1/span 2;
}
.news-grid .news-item__image img {
  width: 100%;
}
.news-grid .news-item__text {
  grid-row: 2/span 2;
  background-color: white;
  padding: 20px;
  position: relative;
  z-index: 1;
}
@media screen and (min-width : 60em) {
  .news-grid .news-item:nth-child(2n+1) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 5 + 120px);
    max-width: calc(calc((100% - 330px) / 12) * 5 + 120px);
  }
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(2n+1) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 4 + 90px);
    max-width: calc(calc((100% - 330px) / 12) * 4 + 90px);
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto 90px 1fr;
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(2n+1) .news-item__image {
    grid-column: 1/-1;
    grid-row: 1/span 2;
  }
}
.news-grid .news-item:nth-child(2n+1) .news-item__text {
  grid-column: 1/span 10;
  padding-left: 0;
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(2n+1) .news-item__text {
    padding: 30px;
    grid-row: 2/span 2;
    grid-column: 1/span 3;
    width: calc(100% + 30px);
  }
}
@media screen and (min-width : 60em) {
  .news-grid .news-item:nth-child(2n+2) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 6 + 150px);
    max-width: calc(calc((100% - 330px) / 12) * 6 + 150px);
  }
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(2n+2) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 7 + 180px);
    max-width: calc(calc((100% - 330px) / 12) * 7 + 180px);
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 90px auto 1fr;
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
.news-grid .news-item:nth-child(2n+2) .news-item__text {
  grid-column: 3/span 10;
  padding-right: 0;
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(2n+2) .news-item__text {
    padding: 30px;
    grid-column: 5/span 3;
    width: calc(100% + 30px);
    margin-left: -30px;
  }
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(4n+1) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 7 + 180px);
    max-width: calc(calc((100% - 330px) / 12) * 7 + 180px);
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 90px auto 1fr;
  }
  .news-grid .news-item:nth-child(4n+1) .news-item__text {
    grid-column: 1/span 3;
    grid-row: 2/span 2;
  }
  .news-grid .news-item:nth-child(4n+1) .news-item__image {
    grid-column: 2/-1;
  }
}
@media screen and (min-width : 70em) {
  .news-grid .news-item:nth-child(4n+2) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 4 + 90px);
    max-width: calc(calc((100% - 330px) / 12) * 4 + 90px);
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto 90px 1fr;
  }
  .news-grid .news-item:nth-child(4n+2) .news-item__text {
    grid-column: 1/span 3;
    grid-row: 2/span 2;
    margin-left: 0;
  }
  .news-grid .news-item:nth-child(4n+2) .news-item__image {
    grid-column: 1/-1;
    grid-row: 1/span 2;
  }
}
@media screen and (min-width : 60em) {
  .news-grid:not(.front) .news-item:nth-child(1) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 7 + 180px);
    max-width: calc(calc((100% - 330px) / 12) * 7 + 180px);
  }
}
@media screen and (min-width : 70em) {
  .news-grid:not(.front) .news-item:nth-child(1) {
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto 90px 1fr;
  }
  .news-grid:not(.front) .news-item:nth-child(1) .news-item__image {
    grid-column: 1/-1;
    grid-row: 1/span 2;
  }
  .news-grid:not(.front) .news-item:nth-child(1) .news-item__text {
    grid-column: 2/span 6;
    grid-row: 2/span 2;
    width: calc(100% + 30px);
    margin-left: -30px;
    padding: 30px;
  }
}
@media screen and (min-width : 60em) {
  .news-grid:not(.front) .news-item:nth-child(2) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 5 + 120px);
    max-width: calc(calc((100% - 330px) / 12) * 5 + 120px);
    align-self: flex-end;
  }
}
@media screen and (min-width : 70em) {
  .news-grid:not(.front) .news-item:nth-child(2) {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 4 + 90px);
    max-width: calc(calc((100% - 330px) / 12) * 4 + 90px);
    margin-top: 150px;
  }
}

.news-top, .podcast-top, .event-top {
  position: relative;
}
@media screen and (min-width : 60em) {
  .news-top, .podcast-top, .event-top {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
  }
  .news-top .img-wrapper, .news-top .iframe-wrapper, .podcast-top .img-wrapper, .podcast-top .iframe-wrapper, .event-top .img-wrapper, .event-top .iframe-wrapper {
    width: 50%;
    flex-shrink: 0;
  }
  .news-top .iframe-wrapper, .podcast-top .iframe-wrapper, .event-top .iframe-wrapper {
    display: flex;
    align-items: center;
    aspect-ratio: 1/1;
  }
  .news-top img, .podcast-top img, .event-top img {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    height: auto;
  }
}

.podcast-top__icon {
  position: absolute;
  z-index: -1;
  right: 0;
  margin-top: -20px;
}
@media screen and (min-width : 60em) {
  .podcast-top__icon {
    right: initial;
    margin-top: -60px;
    margin-left: -10px;
  }
}
@media screen and (min-width : 70em) {
  .podcast-top__icon {
    margin-left: -35px;
    margin-top: -35px;
  }
}
.podcast-top__icon path {
  fill: var(--color-accent);
}

.body-text {
  margin-bottom: 120px;
}
@media screen and (min-width : 60em) {
  .body-text {
    margin-bottom: 240px;
  }
}
.body-text .alignwide {
  flex: 0 0 calc(calc((100% - 240px) / 9) * 12 + 330px);
  max-width: calc(calc((100% - 240px) / 9) * 12 + 330px);
  margin-left: calc(calc((100% - 240px) / 9) * -2 + -60px);
}
@media screen and (min-width : 60em) {
  .body-text .alignwide {
    flex: 0 0 calc(calc((100% - 210px) / 8) * 10 + 270px);
    max-width: calc(calc((100% - 210px) / 8) * 10 + 270px);
    margin-left: calc(calc((100% - 210px) / 8) * -1 + -30px);
  }
}

.news-body-wrapper, .podcast-body-wrapper, .event-body-wrapper {
  position: relative;
  flex: 0 0 calc(calc((100% - 220px) / 12) * 9 + 160px);
  max-width: calc(calc((100% - 220px) / 12) * 9 + 160px);
  margin-left: calc(calc((100% - 220px) / 12) * 2 + 40px);
}
@media screen and (min-width : 60em) {
  .news-body-wrapper, .podcast-body-wrapper, .event-body-wrapper {
    flex: 0 0 calc(calc((100% - 330px) / 12) * 8 + 210px);
    max-width: calc(calc((100% - 330px) / 12) * 8 + 210px);
    margin-left: calc(calc((100% - 330px) / 12) * 2 + 60px);
  }
}
.news-body-wrapper .date, .podcast-body-wrapper .date, .event-body-wrapper .date {
  position: absolute;
  transform: translateX(calc(-100% - 20px + 5px));
}
@media screen and (min-width : 60em) {
  .news-body-wrapper .date, .podcast-body-wrapper .date, .event-body-wrapper .date {
    transform: translateX(calc(-100% - 30px));
  }
}

/* Arrangementer show date, time and place as a box under the title. The title
   and box are wrapped together so they form one flex child of .event-top,
   sitting beside the image rather than becoming a third column. */
@media screen and (min-width : 60em) {
  .event-top__text {
    flex: 1 1 auto;
    min-width: 0;
  }
}
.event-top__text .event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  background-color: var(--color-accent-faded);
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: 500;
}
@media screen and (min-width : 60em) {
  .event-top__text .event-facts {
    padding: 30px;
    margin-bottom: 0;
  }
}

/* Arrangement archive: date-led rows, one arrangement per row.
   Deliberately a single column rather than auto-fit — the featured image sits
   beside the text, which needs the full width to stay readable. With auto-fit
   the tracks would collapse to ~280px as soon as a few events were published,
   leaving too little room for image and text side by side. */
.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}
@media screen and (min-width : 60em) {
  .event-grid {
    gap: 30px;
    margin-top: 120px;
  }
}

.event-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--color-accent-faded);
  padding: 20px;
}
@media screen and (min-width : 60em) {
  .event-item {
    padding: 30px;
  }
}
.event-item {
  /* Image left, text right — only once there is room for both. Below medium
     the image stacks above the text, which is why the row direction and the
     negative insets are scoped to the breakpoint. */
}
@media screen and (min-width : 60em) {
  .event-item--har-billede {
    flex-direction: row;
    align-items: stretch;
    gap: 30px;
    /* The image bleeds to the card's top, left and bottom edges rather
       than floating inside the padding. */
    padding-left: 0;
  }
}
.event-item__image {
  display: block;
  margin-bottom: 20px;
  /* Cancels the card padding so the image meets the card edges on
     mobile, where it sits above the text. */
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
}
@media screen and (min-width : 60em) {
  .event-item__image {
    /* 370px against the card's stretched height lands within ~1% of the
       900x586 the thumbnails are cropped to. The height still follows
       the text column, so object-fit below absorbs any drift. */
    flex: 0 0 370px;
    margin: -30px 0;
  }
}
.event-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.event-item {
  /* Holds the column layout the card had before the image was added, so the
     text stack and the button-to-foot rule work the same in both variants. */
}
.event-item__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}
.event-item__date {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 0.25em;
}
@media screen and (min-width : 70em) {
  .event-item__date {
    font-size: 2.5rem;
  }
}
.event-item__place {
  font-weight: 500;
  margin-bottom: 0.5em;
}
.event-item h4 {
  margin-bottom: 0.25em;
}
.event-item {
  /* Pushes the button to the card foot so buttons line up across a row
     regardless of how long each title runs. */
}
.event-item .btn {
  margin-top: auto;
}

.no-events {
  margin-top: 30px;
}

.event-body-wrapper .event-signup {
  margin-top: 60px;
}

.more-podcasts-block {
  background-color: var(--color-accent-faded);
  padding: 30px 0;
}
@media screen and (min-width : 60em) {
  .more-podcasts-block {
    padding: 90px 0;
  }
}
.post-type-archive-podcast .more-podcasts-block {
  margin-top: 60px;
}

.archive-link {
  padding: 60px 0 90px 0;
  text-align: center;
}

.has-logo-watermark main {
  position: relative;
  overflow: hidden;
}
@supports (background-color: color-mix(in srgb, red 50%, transparent)) {
  .has-logo-watermark main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: color-mix(in srgb, var(--color-accent-faded) 30%, transparent);
    -webkit-mask-image: url("images/DL-logo-white.svg");
            mask-image: url("images/DL-logo-white.svg");
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: 350%;
            mask-size: 350%;
    pointer-events: none;
  }
}

.watermark-pos-1 main::before {
  -webkit-mask-position: 10% 5%;
          mask-position: 10% 5%;
}

.watermark-pos-2 main::before {
  -webkit-mask-position: 110% 8%;
          mask-position: 110% 8%;
}

.watermark-pos-3 main::before {
  -webkit-mask-position: 40% 20%;
          mask-position: 40% 20%;
}

.watermark-pos-4 main::before {
  -webkit-mask-position: 80% 7%;
          mask-position: 80% 7%;
}

.watermark-pos-5 main::before {
  -webkit-mask-position: 86% 2%;
          mask-position: 86% 2%;
}

.watermark-pos-6 main::before {
  -webkit-mask-position: 130% 20%;
          mask-position: 130% 20%;
}

.wp-block-accordion-panel {
  padding-bottom: 1em;
  margin-block-start: 15px;
}

/* DETAILS / SUMMARY
   Styled to match the core Accordion block's visual language (primary-colour
   heading with a + / - affordance), so the two disclosure widgets read as one
   component even though their markup differs. */
.wp-block-details summary {
  /* Remove the native disclosure triangle */
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary {
  /* + / - affordance, mirrors .wp-block-accordion-heading__toggle-icon */
}
.wp-block-details summary::after {
  content: "+";
  flex: 0 0 auto;
  /* Square, centred box so the glyph sits at the box's midpoint and
     rotates around its own centre rather than the line box's. */
  display: grid;
  place-items: center;
  width: 1em;
  height: 1.4em; /* matches the summary's line-height */
  line-height: 1;
  /* The glyph's ink centre sits ~0.1em above the em-box centre, so
     pivoting on `center` swings the cross instead of spinning it.
     Offset the origin onto the ink centre. */
  transform-origin: 50% calc(50% - 0.1em);
  transition: transform 0.2s ease-in-out;
}
.wp-block-details summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.wp-block-details[open] summary::after {
  transform: rotate(45deg);
}
.wp-block-details {
  /* Panel */
}
.wp-block-details > *:not(summary) {
  margin-block-start: 0;
  padding-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-details summary::after {
    transition: none;
  }
}
/* FOOTER */
.newsletter-block {
  text-align: center;
  padding: 60px 30px;
}
@media screen and (min-width : 70em) {
  .newsletter-block {
    padding: 120px 30px;
  }
}
.newsletter-block * {
  max-width: calc(1280px / 12 * 10);
  margin-left: auto;
  margin-right: auto;
}
.newsletter-block svg {
  margin-bottom: 60px;
}
.newsletter-block #newsletter-icon {
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

footer {
  margin-left: 20px;
  margin-right: 20px;
  background-color: var(--color-primary);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 60px;
}
@media screen and (min-width : 70em) {
  footer {
    margin-left: 30px;
    margin-right: 30px;
  }
}
footer .social {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media screen and (min-width : 60em) {
  footer .social {
    margin-top: auto;
  }
}
@media screen and (min-width : 60em) {
  footer .wrapper-regular {
    display: flex;
    flex-wrap: wrap;
  }
}
footer .wrapper-regular > div {
  padding: 30px 0;
}
@media screen and (min-width : 60em) {
  footer .footer__column-1 {
    flex: 0 0 calc(calc((100% - 220px) / 12) * 6 + 100px);
    max-width: calc(calc((100% - 220px) / 12) * 6 + 100px);
  }
}
@media screen and (min-width : 70em) {
  footer .footer__column-1 {
    flex: 0 0 calc(calc((100% - 220px) / 12) * 4 + 60px);
    max-width: calc(calc((100% - 220px) / 12) * 4 + 60px);
    display: flex;
    flex-direction: column;
  }
}
footer .footer__column-1 nav {
  margin-top: 30px;
}
@media screen and (min-width : 70em) {
  footer .footer__column-1 nav {
    margin-top: 60px;
  }
}
@media screen and (min-width : 60em) {
  footer .footer__column-2 {
    flex: 0 0 calc(calc((100% - 220px) / 12) * 6 + 100px);
    max-width: calc(calc((100% - 220px) / 12) * 6 + 100px);
  }
}
@media screen and (min-width : 70em) {
  footer .footer__column-2 {
    flex: 0 0 calc(calc((100% - 220px) / 12) * 3 + 40px);
    max-width: calc(calc((100% - 220px) / 12) * 3 + 40px);
    margin-left: calc(calc((100% - 220px) / 12) * 1 + 20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }
}
footer .footer__column-2 nav {
  margin-bottom: 30px;
}
@media screen and (min-width : 70em) {
  footer .footer__column-3 {
    flex: 0 0 calc(calc((100% - 220px) / 12) * 4 + 60px);
    max-width: calc(calc((100% - 220px) / 12) * 4 + 60px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
footer .footer__column-3 .logo {
  margin-top: auto;
}
footer .footer__column-3 img {
  margin-top: 60px;
  width: 100%;
  max-width: 240px;
}

.footer-spacer {
  height: 20px;
}
@media screen and (min-width : 70em) {
  .footer-spacer {
    height: 30px;
  }
}

footer nav li.menu-item {
  margin-bottom: 6px;
}

.btn, .wp-element-button {
  position: relative;
  display: inline-block;
  padding: 8px 28px 7px;
  border: var(--color-primary) solid 3px;
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  margin-top: 30px;
  border-radius: 0;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.btn:hover, .wp-element-button:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--color-primary);
}
.btn::after, .wp-element-button::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  bottom: -3px;
  right: -3px;
  transition: right 0.35s cubic-bezier(0.45, 0, 0.55, 1);
}
.btn:hover::after, .wp-element-button:hover::after {
  right: calc(100% - 11px);
}
.btn.wp-block-file__button, .wp-element-button.wp-block-file__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn.wp-block-file__button::after, .wp-element-button.wp-block-file__button::after {
  display: none;
}
.news-item .btn, .news-item .wp-element-button {
  background-color: white;
}
.podcast-item .btn, .podcast-item .wp-element-button {
  border-color: white;
  color: white;
}
.podcast-item .btn:hover, .podcast-item .wp-element-button:hover {
  box-shadow: 3px 3px 0 white;
}
.podcast-item .btn::after, .podcast-item .wp-element-button::after {
  background-color: white;
}
footer .btn, footer .wp-element-button {
  border-color: white;
  color: white;
  margin-top: 0px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 300px;
  display: block;
}
@media screen and (min-width : 60em) {
  footer .btn, footer .wp-element-button {
    min-width: 300px;
  }
}
footer .btn:hover, footer .wp-element-button:hover {
  box-shadow: 3px 3px 0 white;
}
footer .btn::after, footer .wp-element-button::after {
  background: white;
}
.btn--layered, .wp-element-button--layered {
  border: var(--color-accent) solid 5px;
  background-color: white;
  padding: 12px 40px 10px;
}
.btn--layered:before, .wp-element-button--layered:before {
  content: "";
  position: absolute;
  width: calc(100% + 3px);
  height: calc(100% + 3px);
  background-color: var(--color-primary);
  z-index: -1;
  left: 8px;
  top: 8px;
  transition: left 0.2s cubic-bezier(0.45, 0, 0.55, 1), top 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.btn--layered:hover, .wp-element-button--layered:hover {
  transform: none;
  box-shadow: none;
}
.btn--layered:hover::before, .wp-element-button--layered:hover::before {
  left: 10px;
  top: 11px;
}
.btn--layered::after, .wp-element-button--layered::after {
  background: var(--color-accent);
}
.split-banner-block .btn--layered, .split-banner-block .wp-element-button--layered {
  border: solid white 5px;
  background-color: var(--color-accent);
  color: white;
}
.split-banner-block .btn--layered::before, .split-banner-block .wp-element-button--layered::before {
  background-color: var(--color-primary);
}
.split-banner-block .btn--layered::after, .split-banner-block .wp-element-button--layered::after {
  background-color: white;
}
.more-podcasts-block .btn--layered, .more-podcasts-block .wp-element-button--layered {
  border: solid var(--color-primary) 5px;
  background-color: var(--color-accent-faded);
}
.more-podcasts-block .btn--layered::before, .more-podcasts-block .wp-element-button--layered::before {
  background-color: var(--color-accent);
}
.more-podcasts-block .btn--layered::after, .more-podcasts-block .wp-element-button--layered::after {
  background-color: var(--color-primary);
}

.btn-layered-wrap {
  display: inline-block;
  isolation: isolate;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
.btn-layered-wrap:hover {
  transform: translateY(-2px);
}

/* Gutenberg file block */
.wp-block-file {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wp-block-file .wp-block-file__button {
  order: -1;
  flex-shrink: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 0;
}

/* Gutenberg standard buttons */
[data-fade-in] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-fade-in].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-fade-in] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.editor-styles-wrapper [data-fade-in] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Block styles */
@media screen and (min-width : 60em) {
  .mega-menu-bg + .hero-block, main .hero-block:first-child {
    margin-top: -140px;
  }
}

.hero-block + div {
  margin-top: 60px;
}
@media screen and (min-width : 60em) {
  .hero-block + div {
    margin-top: 120px;
  }
}

.hero-block {
  display: grid;
}
.wrapper-regular .hero-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.hero-block {
  grid-template-columns: [full-start] 20px [grid-start] repeat(5, minmax(0, calc(1280px / 12))) [content-split] repeat(7, minmax(0, calc(1280px / 12))) [grid-end] 20px [full-end];
  grid-template-rows: auto auto;
  row-gap: 20px;
}
@media screen and (min-width : 70em) {
  .hero-block {
    grid-template-columns: [full-start] 1fr [grid-start] repeat(5, minmax(0, calc(1280px / 12))) [content-split] repeat(7, minmax(0, calc(1280px / 12))) [grid-end] 1fr [full-end];
    grid-template-rows: 9fr auto auto 5fr;
    row-gap: 30px;
    min-height: 680px;
  }
}
.hero-block__bg-left {
  grid-column: full-start/content-split;
  grid-row: 1/-1;
}
@media screen and (min-width : 70em) {
  .hero-block__bg-left {
    grid-column: full-start/content-split;
    grid-row: 1/-1;
  }
}
.hero-block__bg-right {
  grid-column: content-split/full-end;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  min-height: 60vw;
  background-color: var(--color-accent-faded);
}
@media screen and (min-width : 60em) {
  .hero-block__bg-right {
    margin-left: -100px;
  }
}
@media screen and (min-width : 70em) {
  .hero-block__bg-right {
    margin-left: initial;
    grid-column: content-split/full-end;
    grid-row: 1/-1;
    min-height: unset;
  }
}
.hero-block__bg-right .hero-block__video,
.hero-block__bg-right .hero-block__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.hero-block__heading {
  grid-column: grid-start/grid-end;
  grid-row: 1;
  z-index: 1;
  align-self: center;
  line-height: 1.1;
  margin-top: 150px;
  margin-bottom: 100px;
}
@media screen and (min-width : 70em) {
  .hero-block__heading {
    grid-column: grid-start/span 12;
    grid-row: 2;
    align-self: auto;
    padding: 0 30px 20px 30px;
    margin-top: 250px;
    margin-bottom: initial;
  }
}
.hero-block__heading-bg {
  display: inline;
  background-color: white;
  padding: 0.2em 0.25em 0.1em;
  margin-left: -0.25em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--color-primary);
}
@supports not (-moz-appearance: none) {
  .hero-block__heading-bg {
    padding: 0.08em 0.25em 0.1em;
  }
}
.hero-block__heading-bg span {
  color: var(--color-accent);
}
@media screen and (min-width : 60em) {
  .hero-block__heading-bg {
    -webkit-hyphens: none;
            hyphens: none;
  }
}
.hero-block {
  /*
  .c-primary { color: var(--color-primary); }
  .c-accent  { color: var(--color-accent);  }
  */
}
.hero-block__body {
  grid-column: grid-start/grid-end;
  grid-row: 2;
  z-index: 1;
  padding: 40px 0;
  color: var(--color-primary);
}
@media screen and (min-width : 70em) {
  .hero-block__body {
    grid-column: grid-start/content-split;
    grid-row: 3;
    padding: 0 30px;
  }
}

.wp-block-columns.is-style-dl-card .wp-block-column {
  background-color: var(--color-accent-faded);
  padding: 20px;
}
.wp-block-columns.is-style-dl-card .wp-block-column figure {
  margin-left: -20px;
  margin-right: -20px;
}
.wp-block-columns.is-style-dl-card .wp-block-column figure:first-child {
  margin-top: -20px;
}
