/* Homepage search uses the existing catalogue matcher and detail-sheet flow. */
html body .home-podcast-search { display: none; }
html body .mobile-home-search-overlay { display: none; }

@media (max-width: 768px) {
  html body.mobile-home-search-overlay-open.page-forside .mobile-home-search-overlay {
    position: fixed;
    z-index: 5000;
    top: var(--mobile-search-overlay-top, 0px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: var(--mobile-search-overlay-height, 100dvh);
    min-height: 0;
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    overflow: hidden;
    background: #fffdf9;
  }

  html body.mobile-home-search-overlay-open.page-forside .mobile-home-search-overlay[hidden] { display: none; }
  html body.mobile-home-search-overlay-open.page-forside #pageIntroPanel { pointer-events: none; }
  html body.mobile-home-search-overlay-open.page-forside .page-shell > .topbar > nav.site-nav[aria-label="Hovednavigation"] { display: none !important; }

  html body.page-forside .mobile-home-search-overlay__header { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding-bottom: 12px; }
  html body.page-forside .mobile-home-search-overlay__close { min-height: 44px; padding: 0 4px; border: 0; color: var(--accent-deep); background: transparent; font: 800 .9rem/1 "Manrope", sans-serif; cursor: pointer; }
  html body.page-forside .mobile-home-search-overlay__close::before { content: "←"; margin-right: 6px; font-size: 1.25rem; vertical-align: -1px; }
  html body.page-forside .mobile-home-search-overlay__form { display: grid; grid-template-columns: 20px minmax(0, 1fr) 44px; align-items: center; gap: 9px; min-width: 0; padding: 0 6px 0 14px; border: 1px solid rgba(183, 113, 59, .34); border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(91, 55, 27, .08); }
  html body.page-forside .mobile-home-search-overlay__icon { width: 20px; height: 20px; fill: none; stroke: #8f7563; stroke-width: 2.2; stroke-linecap: round; }
  html body.page-forside .mobile-home-search-overlay__input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: #2f2118; background: transparent; font: inherit; }
  html body.page-forside .mobile-home-search-overlay__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
  html body.page-forside .mobile-home-search-overlay__input::placeholder { color: #927d6d; }
  html body.page-forside .mobile-home-search-overlay__clear { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #8f7563; background: transparent; font: 500 1.5rem/1 sans-serif; cursor: pointer; }
  html body.page-forside .mobile-home-search-overlay__clear:active { background: #fff1e5; }
  html body.page-forside .mobile-home-search-overlay__results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border: 1px solid rgba(183, 113, 59, .2); border-radius: 14px; background: #fff; box-shadow: 0 16px 30px rgba(66, 39, 19, .12); }
  html body.page-forside .mobile-home-search-overlay__result { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 10px 12px; border: 0; border-bottom: 1px solid rgba(110, 82, 61, .11); color: #2f2118; background: transparent; text-align: left; }
  html body.page-forside .mobile-home-search-overlay__result:last-child { border-bottom: 0; }
  html body.page-forside .mobile-home-search-overlay__result.is-active, html body.page-forside .mobile-home-search-overlay__result:active { background: #fff1e5; }
  html body.page-forside .mobile-home-search-overlay__cover, html body.page-forside .mobile-home-search-overlay__cover img { display: block; width: 42px; height: 42px; border-radius: 8px; }
  html body.page-forside .mobile-home-search-overlay__cover { overflow: hidden; background: #f0e4d8; }
  html body.page-forside .mobile-home-search-overlay__cover img { object-fit: cover; }
  html body.page-forside .mobile-home-search-overlay__copy { display: grid; min-width: 0; gap: 2px; }
  html body.page-forside .mobile-home-search-overlay__copy strong, html body.page-forside .mobile-home-search-overlay__copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body.page-forside .mobile-home-search-overlay__copy strong { font-size: .88rem; line-height: 1.2; }
  html body.page-forside .mobile-home-search-overlay__copy span, html body.page-forside .mobile-home-search-overlay__match { color: #7d6655; font-size: .72rem; line-height: 1.2; }
  html body.page-forside .mobile-home-search-overlay__match { white-space: nowrap; }
  html body.page-forside .mobile-home-search-overlay__empty { margin: 0; padding: 14px; color: #6f5c4d; font-size: .84rem; }

  html body.page-forside .home-podcast-search { position: relative; z-index: 1; order: 1; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px; width: 100%; min-width: 0; margin: 0 0 14px; padding: 0 14px; border: 1px solid rgba(183, 113, 59, .23); border-radius: 14px; background: rgba(255, 252, 248, .92); box-shadow: 0 5px 14px rgba(91, 55, 27, .06); }
  html body.page-forside .home-podcast-search:focus-within { border-color: rgba(236, 97, 28, .58); box-shadow: 0 0 0 3px rgba(236, 97, 28, .1); }
  html body.page-forside .home-podcast-search__icon { width: 20px; height: 20px; fill: none; stroke: #8f7563; stroke-width: 2.2; stroke-linecap: round; }
  html body.page-forside .home-podcast-search__input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; color: #2f2118; background: transparent; font: inherit; }
  html body.page-forside .home-podcast-search__input::placeholder { color: #927d6d; }
  html body.page-forside .home-podcast-search__results { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; left: 0; max-height: min(43dvh, 340px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(183, 113, 59, .2); border-radius: 14px; background: #fffdf9; box-shadow: 0 16px 30px rgba(66, 39, 19, .16); }
  html body.page-forside .home-podcast-search__results.is-hidden { display: none; }
  html body.page-forside .home-podcast-search__result { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 10px 12px; border: 0; border-bottom: 1px solid rgba(110, 82, 61, .11); color: #2f2118; background: transparent; text-align: left; }
  html body.page-forside .home-podcast-search__result:last-child { border-bottom: 0; }
  html body.page-forside .home-podcast-search__result.is-active, html body.page-forside .home-podcast-search__result:active { background: #fff1e5; }
  html body.page-forside .home-podcast-search__cover, html body.page-forside .home-podcast-search__cover img { display: block; width: 42px; height: 42px; border-radius: 8px; }
  html body.page-forside .home-podcast-search__cover { overflow: hidden; background: #f0e4d8; }
  html body.page-forside .home-podcast-search__cover img { object-fit: cover; }
  html body.page-forside .home-podcast-search__copy { display: grid; min-width: 0; gap: 2px; }
  html body.page-forside .home-podcast-search__copy strong, html body.page-forside .home-podcast-search__copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body.page-forside .home-podcast-search__copy strong { font-size: .88rem; line-height: 1.2; }
  html body.page-forside .home-podcast-search__copy span, html body.page-forside .home-podcast-search__match { color: #7d6655; font-size: .72rem; line-height: 1.2; }
  html body.page-forside .home-podcast-search__match { white-space: nowrap; }
  html body.page-forside .home-podcast-search__empty { margin: 0; padding: 14px; color: #6f5c4d; font-size: .84rem; }

  html body.has-home-search-focus.page-forside .home-podcast-search.is-focused {
    position: fixed;
    z-index: 1800;
    top: var(--home-search-viewport-top, 12px);
    right: max(16px, env(safe-area-inset-right, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    width: auto;
    margin: 0;
  }

  html body.has-home-search-focus.page-forside .home-podcast-search.is-focused .home-podcast-search__results {
    max-height: var(--home-search-results-height, 45dvh);
    -webkit-overflow-scrolling: touch;
  }

  html body.has-home-search-keyboard.page-forside .page-shell > .topbar > nav.site-nav[aria-label="Hovednavigation"] {
    display: none !important;
  }

  /* Keep Popular among users cards focused on title, hosts and rating. */
  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__metadata-separator,
  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__metadata-publisher,
  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__metadata--hostless {
    display: none !important;
  }

  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__copy h3 {
    margin: 0 0 5px !important;
    min-height: 0 !important;
    color: #211813 !important;
    font: 800 1rem / 1.15 "Manrope", sans-serif !important;
  }

  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__metadata {
    margin: 0 0 5px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #756a61 !important;
    font: 500 0.9375rem / 1.35 "Manrope", sans-serif !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__metadata-host {
    display: inline !important;
  }

  html body.page-forside.page-forside #pageIntroPanel .home-popular .home-popular-card__rating {
    margin: 0 !important;
  }

  /* Match the homepage's featured recommendation bleed without changing any
     section's own card padding, grid gaps, or carousel item sizing. */
  html body.page-forside.page-forside #pageIntroPanel .home-podcast-search,
  html body.page-forside.page-forside #pageIntroPanel .home-quick-cards,
  html body.page-forside.page-forside #pageIntroPanel .home-popular,
  html body.page-forside.page-forside #pageIntroPanel .home-genres,
  html body.page-forside.page-forside #pageIntroPanel .home-editorial-latest,
  html body.page-forside.page-forside #pageIntroPanel .home-community-cta {
    box-sizing: border-box !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    margin-inline: -20px !important;
  }
}

/* MOBILE RANKING COLLAPSIBLE FILTERS */
@media (max-width: 768px) {
  body.page-ranglister .ranking-main-column {
    gap: 8px !important;
  }

  body.page-ranglister .ranking-search-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    order: 1 !important;
  }

  body.page-ranglister .ranking-search-strip .search-field {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-ranglister .ranking-search-strip #searchInput {
    display: block;
    box-sizing: border-box;
    height: 46px;
    min-height: 46px !important;
    padding: 0 12px 0 38px !important;
    font-size: 0.95rem !important;
  }

  body.page-ranglister .ranking-mobile-filter-bar {
    display: flex !important;
    align-items: stretch;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  body.page-ranglister .ranking-mobile-filter-summary,
  body.page-ranglister .ranking-mobile-filter-remove {
    display: none !important;
  }

  body.page-ranglister .ranking-mobile-filter-toggle {
    min-width: 76px;
    height: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid rgba(214, 153, 108, 0.72);
    border-radius: 13px;
    background: rgba(255, 251, 246, 0.94);
    color: #6a3d26;
    font: 800 0.78rem/1 "Manrope", Inter, system-ui, sans-serif;
    white-space: nowrap;
    box-sizing: border-box;
  }

  body.page-ranglister .ranking-mobile-filter-count {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #f45110;
    color: #fff;
    font-size: 0.68rem;
    line-height: 1;
  }

  body.page-ranglister .ranking-mobile-filter-count[hidden] {
    display: none !important;
  }

  body.page-ranglister .ranking-mobile-filter-chevron {
    width: 7px;
    height: 7px;
    margin: -3px 0 0 1px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  body.page-ranglister .ranking-mobile-filter-toggle[aria-expanded="true"] .ranking-mobile-filter-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
  }

  body.page-ranglister .ranking-filter-panel[hidden] {
    display: none !important;
  }

  body.page-ranglister .ranking-filter-panel {
    display: flex !important;
    flex-direction: column;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    order: 2 !important;
  }

  body.page-ranglister .ranking-filter-controls {
    display: contents !important;
  }

  body.page-ranglister .ranking-source-field {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-ranglister .ranking-source-field > span {
    display: none !important;
  }

  html body.page-ranglister .ranking-filter-panel .ranking-source-toggle,
  body.page-ranglister .ranking-language-toggle {
    min-height: 42px !important;
    padding: 3px !important;
    gap: 3px !important;
    border-color: rgba(225, 211, 197, 0.92) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  html body.page-ranglister .ranking-filter-panel .ranking-source-button,
  body.page-ranglister .ranking-language-button {
    min-height: 36px !important;
    border-radius: 9px !important;
    box-sizing: border-box;
  }

  body.page-ranglister .genre-nav-header h3,
  body.page-ranglister .ranking-language-filter h3 {
    color: #756258 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.095em !important;
  }

  body.page-ranglister .ranking-user-sort-field[hidden] {
    display: none !important;
  }

  body.page-ranglister .ranking-list-panel .ranking-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
  }

  body.page-ranglister .ranking-toolbar #resultsText {
    grid-column: 1;
    min-width: 0;
    margin: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  body.page-ranglister .ranking-toolbar .mobile-sort-toggle {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    width: auto !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    font-size: 0.78rem !important;
  }

  body.page-ranglister .ranking-filter-panel .genre-nav {
    display: block !important;
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-ranglister .ranking-filter-panel .genre-helper {
    display: none !important;
  }

  body.page-ranglister .ranking-filter-panel .genre-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 5px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.page-ranglister .ranking-filter-panel .genre-chip {
    flex: 0 0 auto !important;
    max-width: calc(50% - 4px) !important;
    min-height: 29px !important;
    padding: 0 7px !important;
    font-size: 0.74rem !important;
  }

  body.page-ranglister .ranking-filter-panel .ranking-language-filter {
    display: flex !important;
    flex-direction: column;
    order: 3 !important;
    gap: 6px;
    width: 100% !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.page-ranglister .ranking-filter-panel .ranking-language-filter h3 {
    margin: 0;
  }

  body.page-ranglister .ranking-filter-panel .ranking-language-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    min-height: 42px;
    padding: 3px;
    border: 1px solid rgba(225, 211, 197, 0.92);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  body.page-ranglister .ranking-filter-panel .ranking-language-button {
    min-width: 0;
    min-height: 36px;
    padding: 0 4px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #342b26;
    font: 700 0.72rem/1.1 "Manrope", Inter, system-ui, sans-serif;
  }

  body.page-ranglister .ranking-filter-panel .ranking-language-button.active {
    background: linear-gradient(180deg, #ff6a1a, #f45110);
    color: #fff;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    order: 4 !important;
    gap: 8px;
    width: 100% !important;
    min-height: 36px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #342b26 !important;
    font-size: 0.78rem !important;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter span {
    order: 1;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter input {
    order: 2;
    flex: 0 0 36px;
    width: 36px;
    height: 22px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(126, 104, 84, 0.3);
    border-radius: 999px;
    background: rgba(224, 214, 203, 0.88);
    cursor: pointer;
    position: relative;
    transition: background-color 140ms ease, border-color 140ms ease;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter input::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(66, 41, 20, 0.2);
    transition: transform 140ms ease;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter input:checked {
    border-color: #f45110;
    background: #f45110;
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter input:checked::before {
    transform: translateX(14px);
  }

  body.page-ranglister .ranking-filter-panel .ranking-free-only-filter input:focus-visible {
    outline: 2px solid rgba(255, 92, 22, 0.58);
    outline-offset: 3px;
  }

  body.page-ranglister .rating-filter-section,
  body.page-ranglister .sort-field,
  body.page-ranglister .controls-sidebar {
    display: none !important;
  }

  body.page-ranglister .ranking-filter-panel__header {
    display: none !important;
  }
}

/* MOBILE GENRE CHIP LINK NORMALIZATION */
@media (max-width: 768px) {
  body.page-ranglister .ranking-filter-panel .genre-chip {
    text-decoration: none !important;
  }
}

/* UDFORSK MOBILE CLEAN CARDS START */
@media (max-width: 768px) {

  html body.page-udforsk .explore-personal-modules {
    gap: 12px !important;
  }

  html body.page-udforsk .explore-personal-modules > section,
  html body.page-udforsk .explore-personal-modules > .explore-recommendations,
  html body.page-udforsk .explore-personal-modules > .explore-popular,
  html body.page-udforsk .explore-personal-modules > .explore-gems {
    border-top-width: 1px !important;
    border-radius: 18px !important;
  }

  html body.page-udforsk .explore-personal-modules .explore-grid {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
    padding-right: 0 !important;
    scroll-snap-type: x proximity !important;
  }

  /* Four or more: show about 3.3 cards so the next item peeks in. */
  html body.page-udforsk .explore-personal-modules .explore-grid > .explore-card {
    flex: 0 0 34% !important;
    width: 34% !important;
    min-width: 34% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: start !important;
  }

  /* Three or fewer: use the full available width. */
  html body.page-udforsk
  .explore-personal-modules
  .explore-grid:not(:has(> .explore-card:nth-child(4)))
  > .explore-card {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  html body.page-udforsk .explore-card__cover {
    border-radius: 11px !important;
  }

  html body.page-udforsk .explore-card__favorite {
    top: 5px !important;
    right: 5px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid rgba(80, 68, 58, 0.22) !important;
    border-radius: 9px !important;
    color: #514840 !important;
    background: rgba(255, 252, 248, 0.94) !important;
    box-shadow: 0 2px 7px rgba(54, 38, 25, 0.10) !important;
  }

  html body.page-udforsk .explore-card__favorite > span:first-child {
    width: 18px !important;
    height: 18px !important;
  }

  html body.page-udforsk .explore-card__favorite.is-saved {
    color: #ffffff !important;
    border-color: #ff5c16 !important;
    background: #ff5c16 !important;
  }

  html body.page-udforsk
  .explore-card__rating[data-score-source="Podcastlisten"]
  .explore-card__community-score
  > span:not(.explore-card__community-star) {
    display: none !important;
  }
}
/* UDFORSK MOBILE CLEAN CARDS END */

/* EXPLORE SEED PODCAST LINK START */
.page-udforsk .explore-seed-podcast-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #df5410;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
  text-transform: inherit;
  vertical-align: baseline;
  cursor: pointer;
}

.page-udforsk .explore-seed-podcast-link:hover,
.page-udforsk .explore-seed-podcast-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-udforsk .explore-seed-podcast-link:focus-visible {
  outline: 2px solid rgba(223, 84, 16, 0.35);
  outline-offset: 2px;
  border-radius: 3px;
}
/* EXPLORE SEED PODCAST LINK END */

/* Keep personal-recommendation seed titles readable without truncating them. */
@media (max-width: 768px) {
  html body.page-udforsk .explore-section-header h2:has(.explore-seed-podcast-link) {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(1rem, 4.1vw, 1.05rem) !important;
    letter-spacing: -0.025em !important;
    text-wrap: pretty;
  }
}

/* Mobile Explore section headers share the card-content edge without the
   decorative marker; swipe and dot carousel navigation remain available. */
@media (max-width: 768px) {
  html body.page-udforsk .explore-section-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 8px !important;
  }

  html body.page-udforsk .explore-section-header::before {
    content: none !important;
    display: none !important;
  }

  html body.page-udforsk .explore-carousel-arrow {
    display: none !important;
  }
}
