/* ==================================================================
   SONG — loaded only on single song pages
   ================================================================== */

/* ============================
   CREDITS ROW (composer / artist)
   ============================ */

/* One line if they fit, two lines if not */
.jsdk-song-meta {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 16px !important;
    row-gap: 4px !important;
}

/* Fixed-width icons so both names line up when stacked */
.jsdk-meta-item i {
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    color: #414b59;
}

/* Desktop: names, A buttons and share/print on one row, label above the buttons */
@media (min-width: 768px) {
    .jsdk-song-toprow {
        flex-wrap: nowrap !important;
        align-items: flex-end !important;
        gap: 16px !important;
    }
    .jsdk-song-meta {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    .jsdk-share-print-group {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        gap: 190px !important;
    }

    /* "Tekststørrelse ⓘ" on top of the A buttons */
    .jsdk-share-print-group .jsdk-font-size-control {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin: 0 !important;
    }
    .jsdk-share-print-group .jsdk-icon-label-control {
        order: 0 !important;
        margin: 0 !important;
        white-space: nowrap;
    }
    .jsdk-share-print-group .jsdk-font-buttons {
        order: 1 !important;
        margin: 0 !important;
    }
}

/* Mobile: one row, font controls left, share/print right */
@media (max-width: 767px) {
    .jsdk-share-print-group {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    .jsdk-share-print-group .jsdk-font-size-control {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .jsdk-share-print-group .jsdk-font-buttons {
        order: 1 !important;
        margin: 0 !important;
    }
    .jsdk-share-print-group .jsdk-icon-label-control {
        order: 0 !important;
        margin: 0 !important;
        white-space: nowrap;
    }

    .jsdk-share-print-buttons {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        position: relative !important;
    }

    /* Popups float instead of taking up space */
    .jsdk-share-dropdown {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        z-index: 50;
    }
    .jsdk-info-icon {
        position: relative !important;
    }
    .jsdk-info-tooltip {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 200px !important;
        max-width: 80vw !important;
        z-index: 50;
    }
}

/* ============================
   LAYOUT
   ============================ */
.jsdk-song-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    align-items: start;
    box-sizing: border-box;
    margin: 0 -10px;
}
.jsdk-song-layout * { box-sizing: border-box; }

.jsdk-song-content-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 30px;
    align-items: start;
    margin-top: 25px;
}

.jsdk-song-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0;
    color: #102337;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.jsdk-song-meta {
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 15px;
}

.jsdk-song-video iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 10px; }
.jsdk-video-heading { margin: 25px 0 10px; }
.jsdk-song-thumbnail { position: relative; }
.jsdk-song-thumbnail img { width: 100%; height: auto; border-radius: 10px; }

.jsdk-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.jsdk-meta-item a,
.jsdk-meta-item a:hover,
.jsdk-meta-item a:focus {
    color: #414b59 !important;
}

/* Sidebar column */
.jsdk-song-col-sidebar {
    min-width: 0;
    width: 315px;
    position: sticky;
    top: 120px;
    align-self: start;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

@media (max-width: 900px) {
    .jsdk-song-col-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .jsdk-song-title {
        font-size: 26px;
        line-height: 1.3;
    }
}

@media (max-width: 900px) {
    .jsdk-song-layout,
    .jsdk-song-content-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .jsdk-song-col-lyrics,
    .jsdk-song-col-media,
    .jsdk-song-col-sidebar {
        min-width: 0;
    }
}

/* Space below the random button, before the next section */
.jsdk-song-random-btn {
    margin-bottom: 25px;
}

/* ============================
   PREV / NEXT + "SE ALLE JULESANGE"
   ============================ */
.post-navigation {
    margin: 30px 0;
    border-top: 1px solid #e7e1d8;
    padding-top: 0px !important;
    background: #fff;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
    order: 3;
}

.post-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #990000 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-navigation a:hover {
    color: #660000 !important;
}

.single .post-navigation a p {
    font-size: 15px;
}

.single .entry-header .post-thumb img {
    border-radius: 10px;
}

@media (max-width: 600px) {
    .post-navigation .nav-links.nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .post-navigation .nav-links .nav-previous {
        order: 1;
        flex: 1 1 0;
        min-width: 0;
        text-align: left;
    }

    .post-navigation .nav-links .nav-next {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        text-align: right;
    }

    .post-navigation .nav-links .jsdk-see-all-songs {
        order: 3;
        flex-basis: 100%;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e7e1d8;
        padding: 12px 0 0;
        margin-top: 4px;
        text-align: center;
    }

    /* Show the song titles (Astra hides them on mobile) */
    .single .post-navigation a p {
        display: block !important;
        font-size: 13px;
        line-height: 1.3;
        margin: 4px 0 0;
    }
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.post-navigation .nav-previous {
    order: 1;
}

.jsdk-see-all-songs {
    order: 2;
    flex: 0 0 auto;
    margin-top: 0;
    text-align: center;
    white-space: nowrap;
    border-left: 1px solid #e7e1d8;
    border-right: 1px solid #e7e1d8;
    padding-right: 40px;
    padding-left: 20px;
}

.jsdk-see-all-songs a {
    display: inline-block;
    background: none;
    color: #990000 !important;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.jsdk-see-all-songs a:hover {
    color: #660000 !important;
}

.nav-previous:after {
    display: none;
}

/* ============================
   "OM JULESANGEN" CARD
   ============================ */
.jsdk-song-info-card {
    background: #fdf9f3;
    border: 1px solid #e7e1d8;
    border-radius: 10px;
    padding: 20px 24px 24px;
    margin: 25px 0;
}

.jsdk-song-info-card h3 {
    margin-top: 0;
}

.jsdk-info-row {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border-bottom: 1px solid #ede7dc;
    font-size: 14px;
}

.jsdk-info-row:last-child {
    border-bottom: none;
}

.jsdk-song-info-rows {
    margin-bottom: 16px;
}

.jsdk-info-icon {
    width: 20px;
    text-align: center;
    color: #990000;
}

.jsdk-info-label {
    color: #555;
    width: 10px;
    flex-shrink: 0;
}

.jsdk-info-value {
    color: #222;
    font-weight: 600;
}

.jsdk-om-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.jsdk-read-more {
    display: inline-block;
    color: #990000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin: 10px 0 20px;
}

.jsdk-read-more:hover {
    color: #660000;
}

.jsdk-fun-fact {
    display: flex;
    gap: 12px;
    background: #fdf3df;
    border: 1px solid #f0e2bb;
    border-radius: 8px;
    padding: 14px 16px;
}

.jsdk-fun-fact-title {
    font-weight: 700;
    color: #222;
    font-size: 14px;
    margin: 0 0 4px;
}

.jsdk-fun-fact p:last-child {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* ============================
   "SYNG VIDERE" GRID
   ============================ */
.jsdk-syng-videre {
    width: auto;
    max-width: 1260px;
    margin: 0 auto;
    position: static;
    left: auto;
    right: auto;
    background: #f8f1eb;
}

.jsdk-syng-videre-inner.ast-container {
    display: block;
    max-width: none;
    padding: 0;
    margin-left: -20px;
    margin-right: -20px;
}

.jsdk-syng-videre-inner {
    border: 1px solid #e7e1d8;
    border-radius: 10px;
    padding: 0;
    background: #e6ece5;
}

.jsdk-syng-videre-heading {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.jsdk-syng-videre-heading .jsdk-sidebar-heading {
    margin-bottom: 0;
    margin-right: -5px;
}

.jsdk-syng-subtitle {
    font-size: 13px;
    color: #605f5e;
}

.jsdk-syng-videre .js-song-grid {
    margin-top: 15px;
}

.jsdk-syng-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    padding: 10px;
}

.jsdk-syng-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: -20px;
}

.jsdk-syng-image img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.jsdk-syng-info {
    padding: 0px 12px;
}

.jsdk-syng-info h3 {
    margin: 0 0 3px;
    font-size: 13px;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3;
}

.jsdk-syng-info p {
    margin: 0;
    font-size: 11px;
    color: #707070;
}

@media (max-width: 900px) {
    .jsdk-syng-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 500px) {
    .jsdk-syng-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        padding: 50px;
    }
    .jsdk-syng-videre-inner.ast-container {
        padding: 20px;
    }
}

.jsdk-syng-card {
    display: block;
    background: #fff;
    border: 1px solid #e7e1d8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    color: #102337 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: 10px;
}

.jsdk-syng-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.jsdk-syng-link {
    display: block;
    text-decoration: none !important;
    color: #102337 !important;
}

.entry-content .jsdk-syng-composer {
    margin: 0;
    padding: 0 12px;
    font-size: 11px;
}

.jsdk-syng-composer a {
    color: #707070;
    text-decoration: none;
}

.jsdk-syng-composer a:hover {
    color: #990000;
    text-decoration: none;
}

/* ============================
   LYRICS: VERSE NUMBERS
   ============================ */
.jsdk-song-lyrics {
    counter-reset: verse;
}

.jsdk-song-lyrics p {
    counter-increment: verse;
    position: relative;
    padding-left: 32px;
    margin-bottom: 24px;
}

.jsdk-song-lyrics p::before {
    content: counter(verse) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #102337;
    font-family: Georgia, "Times New Roman", serif;
}

/* ============================
   ADS BETWEEN VERSES
   ============================ */
.jsdk-verse-ad {
    margin: 25px 0;
    padding: 15px 0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    transition: min-height 0.2s ease, margin 0.2s ease, padding 0.2s ease;
}

.jsdk-verse-ad ins,
.jsdk-verse-ad .jsdk-ad-slot {
    width: 100%;
    transition: min-height 0.2s ease;
}

/* Fully collapses the box once the script finds the ad unfilled or blocked */
.jsdk-verse-ad.jsdk-ad-empty {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* ============================
   SHARE / PRINT BUTTONS
   ============================ */
.jsdk-share-print-buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    border-radius: 0;
    box-shadow: none;
}

.jsdk-icon-btn:focus,
.jsdk-icon-btn:active,
.jsdk-icon-btn.jsdk-share-btn:focus,
.jsdk-icon-btn.jsdk-print-btn:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
    outline: none;
}

.jsdk-icon-btn .jsdk-icon-circle {
    background-color: #fff !important;
}

.jsdk-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.jsdk-icon-btn:hover {
    background: none !important;
    border: none;
    padding: 0;
    cursor: pointer;
}

.jsdk-icon-circle {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    border: 1px solid #e0b3b3;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #990000;
    font-size: 14px !important;
    flex-shrink: 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.jsdk-icon-btn:hover .jsdk-icon-circle {
    background: none !important;
    border-color: #990000 !important;
}

.jsdk-share-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e7e1d8;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    padding: 8px;
    z-index: 10;
    min-width: 160px;
}

.jsdk-share-dropdown.jsdk-dropdown-open {
    display: block;
}

.jsdk-share-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
}

.jsdk-share-dropdown a:hover {
    background: #fdf0f0;
    color: #990000;
}

/* ============================
   FONT SIZE CONTROL + ⓘ TOOLTIP
   ============================ */
.jsdk-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    margin-left: 1px;
    border-radius: 50%;
    background: #faf7f2;
    color: #333;
    border: 1px solid #333;
    font-size: 9px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    cursor: pointer;
    vertical-align: middle;
}

.jsdk-info-tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #f6efe4;
    color: #414b59;
    font-size: 11.5px;
    font-weight: 400;
    font-style: normal;
    padding: 8px 10px;
    border-radius: 6px;
    white-space: normal;
    width: 330px;
    text-align: left;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 10;
}

.jsdk-info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
}

@media (max-width: 600px) {
    .jsdk-info-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 12px;
        border-top-color: transparent !important;
        border-bottom-color: #333 !important;
    }
}

.jsdk-info-icon:hover .jsdk-info-tooltip,
.jsdk-info-icon:focus .jsdk-info-tooltip {
    opacity: 1;
    visibility: visible;
}

.jsdk-share-print-group {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    margin-left: auto;
}

.jsdk-font-btn {
    width: 40px;
    background: #fff;
    border: 1px solid #e0b3b3;
    color: #990000;
    border-radius: 6px;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jsdk-font-btn:hover {
    background: #fdf0f0;
    border-color: #990000;
    color: #990000;
}

.jsdk-font-btn i {
    font-size: 10px;
    margin-left: 2px;
    vertical-align: middle;
}

.jsdk-icon-label-control {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

@media (min-width: 901px) {
    .jsdk-song-toprow {
        margin-bottom: -30px;
    }
}

.jsdk-font-buttons {
    display: flex;
    gap: 6px;
}

.jsdk-song-toprow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px !important;
}

/* ============================
   TABLET (601px – 900px)
   ============================ */
@media (max-width: 900px) and (min-width: 601px) {

    .jsdk-song-toprow {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px !important;
        margin-bottom: 16px;
    }

    .jsdk-song-meta {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .jsdk-share-print-group {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 28px;
        width: 100%;
    }

    .jsdk-share-print-buttons {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .jsdk-share-print-buttons .jsdk-icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .jsdk-font-btn {
        width: 38px;
        padding: 4px 0;
        font-size: 13px;
    }

    .jsdk-font-btn i {
        font-size: 10px;
        margin-left: 1px;
        vertical-align: middle;
    }

    .jsdk-icon-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================
   MOBILE (max 600px)
   ============================ */
@media (max-width: 600px) {

    .jsdk-song-toprow {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px !important;
        margin-bottom: 12px;
    }

    .jsdk-song-meta {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        margin-bottom: -10px;
    }

    .jsdk-share-print-group {
        margin-bottom: -20px;
    }

    .jsdk-share-print-buttons .jsdk-icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .jsdk-font-btn {
        width: 34px;
        padding: 4px 0;
        font-size: 12px;
    }

    .jsdk-font-btn i {
        font-size: 9px;
        margin-left: 1px;
        vertical-align: middle;
    }

    .jsdk-icon-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile: hide "Mest populære" and "Syng videre", keep "Relaterede sange" */
@media (max-width: 600px) {
    .jsdk-syng-videre,
    .jsdk-sidebar-heading,
    .mpj-list {
        display: none;
    }

    /* Everything after the random-song card stays visible = Relaterede sange */
    .jsdk-song-random-btn ~ .jsdk-sidebar-heading,
    .jsdk-song-random-btn ~ .mpj-list {
        display: block;
    }
}

/* Tablet/mobile: sidebar uses the full width */
@media (max-width: 900px) {
    .jsdk-song-col-sidebar {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .jsdk-song-layout {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .jsdk-breadcrumbs {
        margin-left: 0 !important;
    }
}

/* Credits: names flow as normal text, icon lines up with the first line */
.jsdk-meta-item {
    align-items: baseline;
}
.jsdk-meta-names {
    min-width: 0;
}


/* ============================
   "HØR SANGEN" CARD
   Desktop: only the big video preview shows (as before).
   Mobile: compact card; tapping "Afspil sangen" opens the player in the card.
   ============================ */
.jsdk-listen__top,
.jsdk-listen__info,
.jsdk-listen__play,
.jsdk-listen__hint {
    display: none;
}

@media (max-width: 767px) {
    .jsdk-song-video .jsdk-video-heading {
        display: none;
    }

    .jsdk-listen {
        background: #fdf9f3;
        border: 1px solid #e7e1d8;
        border-radius: 14px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .jsdk-listen__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 20px;
    }

    .jsdk-listen__label {
        margin: 0;
        line-height: 1.2;
    }

    .jsdk-listen__close {
        display: none;
        width: 44px;
        height: 44px;
        margin: -12px -12px -12px 0;
        padding: 0;
        border: 0;
        background: none;
        color: #5c5548;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .jsdk-listen__close:hover,
    .jsdk-listen__close:focus {
        background: none;
        color: #102337;
    }

    .jsdk-listen__info {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .jsdk-listen__img {
        width: 84px;
        height: 84px;
        flex-shrink: 0;
        object-fit: cover;
        object-position: center top;
        border-radius: 10px;
    }

    .jsdk-listen__text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .jsdk-listen__title {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.3;
        color: #102337;
    }

    .jsdk-listen__credits {
        font-size: 13px;
        color: #5c5548;
    }

    .jsdk-listen__source {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #5c5548;
    }

    .jsdk-listen__play {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 52px;
        padding: 0 16px;
        border: 0;
        border-radius: 26px;
        background: #990000;
        color: #fff;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
    }

    .jsdk-listen__play:hover,
    .jsdk-listen__play:focus {
        background: #730b09;
        color: #fff;
    }

    .jsdk-listen__hint {
        display: block;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 1.45;
        color: #5c5548;
        text-align: center;
    }

    /* The video preview stays hidden until "Afspil sangen" is tapped */
    .jsdk-listen .yt-facade {
        display: none;
    }

    /* Open: close button + player; image, play button and hint hidden */
    .jsdk-listen.is-open .jsdk-listen__close {
        display: flex;
    }
    .jsdk-listen.is-open .jsdk-listen__img,
    .jsdk-listen.is-open .jsdk-listen__source,
    .jsdk-listen.is-open .jsdk-listen__play,
    .jsdk-listen.is-open .jsdk-listen__hint {
        display: none;
    }
    .jsdk-listen.is-open .yt-facade {
        display: block;
    }
}

/* Mobile: a bit more space between the song title and the credits */
@media (max-width: 767px) {
    .jsdk-song-title {
        margin-bottom: 8px;
    }
}

/* Mobile: tighter spacing around "Om julesangen", the sidebar and prev/next */
@media (max-width: 767px) {
    /* 1. Empty space at the bottom of the "Om julesangen" card */
    .jsdk-song-info-card {
        padding-bottom: 16px;
        margin-bottom: 0;
    }
    .jsdk-om-content > :last-child,
    .jsdk-song-info-card > :last-child {
        margin-bottom: 0;
    }

    /* 2. Gap between the "Om julesangen" card and "Hvad skal vi synge nu?" */
    .jsdk-song-layout {
        row-gap: 20px;
    }

    /* 3. Gap between "Relaterede sange" and Forrige/Næste sang */
    .jsdk-song-col-sidebar .mpj-list {
        margin-bottom: 0;
    }
    .post-navigation {
        margin-top: 20px;
    }
}

.post-navigation .ast-post-nav {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.post-navigation .nav-links p {
    margin: 0;
    font-weight: 400;
}

.post-navigation .nav-links p {
    line-height: 1.4;
    padding-bottom: 0.15em;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    overflow: visible;
}