/* Homepage membership promo — light panel under the calendar */

.totn-promo:not(.is-placed) {
    display: none;
}

.totn-promo.is-placed {
    display: block;
    width: 80%;
    max-width: 1400px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 0 48px;
    background: transparent;
    color: #111;
}

.totn-promo-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 24px;
    background: #fff;
    border: 0;
    border-left: 6px solid #EDD74A;
    border-radius: 0;
}

.totn-promo-banner {
    display: block;
    flex: 0 0 320px;
    width: 320px;
    height: 190px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.totn-promo-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.totn-promo-copy p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.55;
    color: #111;
}

.totn-promo-copy .totn-promo-kicker {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #111;
}

.totn-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    background: #EDD74A;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
}

.totn-promo-btn:hover,
.totn-promo-btn:focus-visible {
    color: #000;
}

.totn-promo :focus-visible {
    outline: 2px dashed #111;
    outline-offset: 2px;
}

@media (max-width: 979px) {
    .totn-promo.is-placed {
        width: calc(100% - 32px);
        padding: 0 0 32px;
    }

    .totn-promo-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        border-left: 0;
        border-top: 6px solid #EDD74A;
    }

    .totn-promo-banner {
        flex: none;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .totn-promo-copy p {
        font-size: 15px;
    }

    .totn-promo-btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }
}
