.sju-bidden {
    width: 100%;
    max-width: 517px;
    color: #ffffff;
}

.sju-bidden__card {
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
}

.sju-bidden__header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sju-bidden__heading {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sju-bidden__title,
.sju-bidden__subtitle,
.sju-bidden__question {
    margin: 0;
    color: #ffffff;
    font-family: "Bogue Regular", Bogue, Georgia, serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.sju-bidden__title {
    font-size: 32px;
    line-height: 32px;
}

.sju-bidden__subtitle,
.sju-bidden__question {
    font-size: 18px;
    line-height: 20px;
}

.sju-bidden__external {
    width: 24px;
    height: 24px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    text-decoration: none;
}

.sju-bidden__external:hover,
.sju-bidden__external:focus-visible {
    color: #faf6e8;
}

.sju-bidden__external:focus-visible,
.sju-bidden__read:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.sju-bidden__external svg,
.sju-bidden__read svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sju-bidden-player.sj-podcast-player {
    width: 100%;
    max-width: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.sju-bidden-player .sj-podcast-player__time {
    margin: 0;
    color: #ffffff;
    font-family: "Bogue Regular", Bogue, Georgia, serif;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    letter-spacing: 0;
}

.sju-bidden-player .sj-podcast-player__controls {
    width: 100%;
    height: 51px;
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sju-bidden-player .sj-podcast-player__play {
    width: 51px;
    height: 51px;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(7.65px);
    backdrop-filter: blur(7.65px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 51px;
    padding: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.sju-bidden-player .sj-podcast-player__play:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.sju-bidden-player .sj-podcast-player__play:focus-visible,
.sju-bidden-player .sj-podcast-player__range:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.sju-bidden-player .sj-podcast-player__icon {
    display: inline-flex;
    width: 30.6px;
    height: 30.6px;
    align-items: center;
    justify-content: center;
}

.sju-bidden-player .sj-podcast-player__icon svg {
    width: 30.6px;
    height: 30.6px;
    display: block;
}

.sju-bidden-player .sj-podcast-player__icon--pause,
.sju-bidden-player.is-playing .sj-podcast-player__icon--play {
    display: none;
}

.sju-bidden-player.is-playing .sj-podcast-player__icon--pause {
    display: inline-flex;
}

.sju-bidden-player .sj-podcast-player__progress-wrap {
    flex: 1 1 auto;
    min-width: 0;
    height: 51px;
    display: flex;
    align-items: center;
}

.sju-bidden-player .sj-podcast-player__range {
    --sj-podcast-progress: 0%;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 22px;
    border: 0;
    border-radius: 20px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(
        90deg,
        #c5460c 0%,
        #c5460c var(--sj-podcast-progress),
        #d9d9d9 var(--sj-podcast-progress),
        #d9d9d9 100%
    );
    cursor: pointer;
}

.sju-bidden-player .sj-podcast-player__range::-webkit-slider-runnable-track {
    height: 22px;
    border-radius: 20px;
    background: transparent;
}

.sju-bidden-player .sj-podcast-player__range::-moz-range-track {
    height: 22px;
    border-radius: 20px;
    background: transparent;
}

.sju-bidden-player .sj-podcast-player__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0;
    height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-top: 0;
}

.sju-bidden-player .sj-podcast-player__range::-moz-range-thumb {
    width: 0;
    height: 0;
    border: 0;
    background: transparent;
}

.sju-bidden-player.is-disabled {
    opacity: 0.55;
}

.sju-bidden-player.is-disabled .sj-podcast-player__play,
.sju-bidden-player.is-disabled .sj-podcast-player__range,
.sju-bidden__read:disabled {
    cursor: not-allowed;
}

.sju-bidden__read {
    border: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Bogue Regular", Bogue, Georgia, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.sju-bidden__read:hover:not(:disabled) {
    color: #faf6e8;
}

.sju-bidden__read:disabled {
    opacity: 0.55;
}

.sju-bidden-fallback {
    margin: 0;
    font-family: "Massilia", Arial, sans-serif;
    color: #593510;
}

.sju-bidden-modal[hidden] {
    display: none !important;
}

.sju-bidden-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    width: 100vw;
    height: 100vh;
}

.sju-bidden-modal__backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.sju-bidden-modal__panel {
    position: relative;
    width: min(760px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    padding: 36px 40px 40px;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: auto;
    background: #f5f2e8;
    color: #593510;
    box-shadow: 0 24px 80px rgba(53, 35, 10, 0.12);
    overscroll-behavior: contain;
}

.sju-bidden-modal__title {
    margin: 0 56px 22px 0;
    color: #593510;
    font-family: "Bogue Regular", Bogue, Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0;
}

.sju-bidden-modal__content {
    color: #593510;
    font-family: "Massilia", Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    max-width: 100%;
    white-space: normal;
}

.sju-bidden-modal__content p:first-child {
    margin-top: 0;
}

.sju-bidden-modal__content p:last-child {
    margin-bottom: 0;
}

.sju-bidden-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    color: #5b3b14;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 8px 20px rgba(53, 35, 10, 0.08);
}

.sju-bidden-modal__close:hover,
.sju-bidden-modal__close:focus-visible {
    background: #faf6e8;
}

.sju-bidden-modal__close svg {
    display: block;
    width: 20px;
    height: 20px;
}

body.sju-bidden-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .sju-bidden__card {
        padding: 0;
        gap: 20px;
    }

    .sju-bidden__title {
        font-size: 28px;
        line-height: 30px;
    }

    .sju-bidden__subtitle,
    .sju-bidden__question,
    .sju-bidden__read {
        font-size: 16px;
        line-height: 19px;
    }

    .sju-bidden-player.sj-podcast-player {
        gap: 6px;
    }

    .sju-bidden-player .sj-podcast-player__time {
        font-size: 14px !important;
        line-height: 16px !important;
    }

    .sju-bidden-player .sj-podcast-player__controls {
        height: 44px;
        min-height: 44px;
        gap: 12px;
    }

    .sju-bidden-player .sj-podcast-player__play {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .sju-bidden-player .sj-podcast-player__progress-wrap {
        height: 44px;
    }

    .sju-bidden-player .sj-podcast-player__range,
    .sju-bidden-player .sj-podcast-player__range::-webkit-slider-runnable-track,
    .sju-bidden-player .sj-podcast-player__range::-moz-range-track {
        height: 18px;
    }

    .sju-bidden-player .sj-podcast-player__icon,
    .sju-bidden-player .sj-podcast-player__icon svg {
        width: 24px;
        height: 24px;
    }

    .sju-bidden-modal__backdrop {
        padding: 16px;
    }

    .sju-bidden-modal__panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
        padding: 28px 18px 24px;
        border-radius: 20px;
    }

    .sju-bidden-modal__title {
        font-size: 26px;
        line-height: 30px;
    }

    .sju-bidden-modal__content {
        font-size: 16px;
        line-height: 1.6;
    }

    .sju-bidden-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}
