/* Gold access and protected-download messages */
.gold-access-card {
    position: relative;
    display: flex;
    gap: 1.3rem;
    margin: 0 0 1.8rem;
    padding: 1.7rem;
    border: 1px solid #f0c45d;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffdf6 0%, #fff6dc 100%);
    box-shadow: 0 12px 30px rgba(113, 82, 18, .12);
    overflow: hidden;
}

.gold-access-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -65px;
    top: -70px;
    border-radius: 50%;
    background: rgba(240, 184, 62, .13);
}

.gold-access-card__badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f2c14f, #df951e);
    box-shadow: 0 8px 18px rgba(212, 145, 24, .25);
    font: 700 1rem/1 Ubuntu, sans-serif;
    letter-spacing: .08em;
    color: #fff;
}

.gold-access-card__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.gold-access-card h2 {
    margin: 0 0 .55rem;
    font: 700 1.35rem/1.3 Ubuntu, sans-serif;
    color: #2f3539;
}

.gold-access-card p {
    margin: 0 0 .85rem;
    font: 400 1rem/1.55 Ubuntu, sans-serif;
    color: #4f5968;
}

.gold-access-card__note {
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    border-left: 4px solid #e9aa2f;
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, .72);
    font: 500 .94rem/1.5 Ubuntu, sans-serif;
    color: #49515f;
}

.gold-access-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gold-access-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .65rem 1.25rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #6f96f2, #537fe8);
    box-shadow: 0 8px 18px rgba(83, 127, 232, .22);
    font: 600 .96rem/1.3 Ubuntu, sans-serif;
    color: #fff !important;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.gold-access-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(83, 127, 232, .3);
}

.gold-access-card__footer span {
    font: 400 .9rem/1.45 Ubuntu, sans-serif;
    color: #7a6842;
}

.content section.catalog .container .flex-row .left .work-info .work-body .download .button.button-gold-required {
    border-color: #dfa02c;
    background: linear-gradient(135deg, #edb642, #d9911a);
}

.download-alert[hidden] {
    display: none;
}

.download-alert {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.download-alert__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 35, 55, .62);
    backdrop-filter: blur(4px);
}

.download-alert__card {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 31, 55, .3);
    text-align: center;
}

.download-alert__close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #8792a6;
    cursor: pointer;
}

.download-alert__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff3d4;
    color: #d98b12;
    font: 700 1.8rem/1 Ubuntu, sans-serif;
}

.download-alert h3 {
    margin: 0 0 .65rem;
    font: 700 1.35rem/1.35 Ubuntu, sans-serif;
    color: #2f3747;
}

.download-alert p {
    margin: 0;
    font: 400 1rem/1.55 Ubuntu, sans-serif;
    color: #657188;
}

.download-alert__actions {
    display: flex;
    justify-content: center;
    gap: .7rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.download-alert__action,
.download-alert__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .6rem 1.2rem;
    border-radius: 23px;
    font: 600 .95rem/1.2 Ubuntu, sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.download-alert__action {
    border: 0;
    background: #6191f3;
    color: #fff !important;
}

.download-alert__dismiss {
    border: 1px solid #dfe5ef;
    background: #fff;
    color: #647189;
}

.download-alert-open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .gold-access-card {
        display: block;
        padding: 1.25rem;
        border-radius: 15px;
    }

    .gold-access-card__badge {
        width: 58px;
        height: 58px;
        margin-bottom: 1rem;
        border-radius: 15px;
    }

    .gold-access-card h2 {
        font-size: 1.18rem;
    }

    .gold-access-card p {
        font-size: .96rem;
    }

    .gold-access-card__note {
        font-size: .9rem;
    }

    .gold-access-card__footer {
        display: block;
    }

    .gold-access-card__button {
        width: 100%;
        margin-bottom: .8rem;
    }

    .gold-access-card__footer span {
        display: block;
        text-align: center;
    }

    .download-alert__card {
        padding: 1.7rem 1.15rem;
        border-radius: 18px;
    }

    .download-alert h3 {
        font-size: 1.2rem;
    }

    .download-alert p {
        font-size: .96rem;
    }

    .download-alert__actions {
        display: block;
    }

    .download-alert__action,
    .download-alert__dismiss {
        width: 100%;
        margin-top: .55rem;
    }
}
