/* ============================================
    TA — HOT DEALS
    Page sections: ta-dhero, ta-lcta. JS: copy.js.
============================================ */

/* ==========================================================================
   HOT DEALS HERO — coupon card + sale artwork
   abbr: ta-dhero
   The photo is the section background. No vertical padding on the band
   itself; it lives on the columns so they set the height.
   ========================================================================== */
.ta-dhero {
    padding-block: 0;
    background-color: #6b6436;
    background-image: url("../imgs/hotdeals-hero-bg.jpg");
    background-size: cover;
    background-position: center;
}
.ta-dhero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 108px;
}
.ta-dhero-right {
    padding-block: 108px;
}
.ta-dhero-offer {
    width: 100%;
    max-width: 343px;
}

/* ---- Coupon card ---- */
.ta-coupon {
    padding: 21px 18px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 27px;
    background: rgba(40, 42, 46, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ta-white);
}
.ta-coupon p {
    margin: 0;
}
.ta-coupon-pre {
    padding-left: 9px;
    font-size: 1.5rem;
    line-height: 1.2;
}
.ta-coupon-title {
    margin: 6px 0 0;
    padding-left: 5px;
    font-size: 3.6rem;
    font-weight: var(--ta-fw-black);
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: var(--ta-sun);
    text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.55);
}
.ta-coupon .ta-coupon-sub {
    margin-top: 10px;
    padding-left: 9px;
    font-size: 1.125rem;
    font-weight: var(--ta-fw-bold);
    color: var(--ta-green);
}
.ta-coupon .ta-coupon-note {
    margin-top: 22px;
    padding-left: 9px;
    font-size: var(--ta-fs-14);
    color: #e8e8ee;
}
.ta-coupon-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 47px;
    margin-top: 20px;
    padding: 0 5px 0 18px;
    border-radius: var(--ta-radius-8);
    background-color: var(--ta-white);
}
.ta-coupon-code-text {
    font-size: 1.125rem;
    font-weight: var(--ta-fw-bold);
    letter-spacing: 0.02em;
    color: var(--ta-black);
}
.ta-coupon-copy {
    min-width: 88px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--ta-radius-4);
    background-color: var(--ta-orange);
    font-size: var(--ta-fs-13);
    font-weight: var(--ta-fw-bold);
    text-transform: uppercase;
    color: var(--ta-black);
    transition: background-color var(--ta-ease);
}
.ta-coupon-copy:hover {
    background-color: var(--ta-orange-hover);
}
.ta-coupon-copy.is-copied {
    background-color: var(--ta-green);
}

.ta-dhero-btns {
    display: flex;
    gap: 7px;
    margin-top: 12px;
}
.ta-dhero-btn {
    flex: 1;
    min-height: 40px;
    padding: 9px 12px;
    font-size: var(--ta-fs-16);
}
.ta-dhero-btn-light {
    background-color: var(--ta-mint);
}

/* ---- Sale artwork ---- */
.ta-dhero-img {
    display: block;
    width: 100%;
    max-width: 404px;
    border-radius: 29px;
    box-shadow: 10px 10px 0 rgba(30, 30, 30, 0.35), 0 18px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
    .ta-dhero-left {
        padding-block: 56px 0;
    }
    .ta-dhero-right {
        padding-block: 40px 56px;
    }
    .ta-dhero-img {
        max-width: 340px;
    }
}
@media (max-width: 575.98px) {
    .ta-coupon-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
   LIFETIME CTA — "Get access to all courses!"
   abbr: ta-lcta
   ========================================================================== */
.ta-lcta {
    padding: 0 0 71px;
}
.ta-lcta-media {
    display: flex;
    justify-content: center;
    padding-left: 50px;
}
.ta-lcta-img {
    display: block;
    width: 316px;
}
.ta-lcta-body {
    max-width: 460px;
    padding-left: 8px;
}
.ta-lcta-title {
    margin: 0;
    font-size: var(--ta-fs-30);
    font-weight: var(--ta-fw-bold);
    line-height: 1.2;
}
.ta-lcta-text {
    margin: 22px 0 0;
    font-size: var(--ta-fs-14);
    line-height: 1.34;
}
.ta-lcta-btn {
    min-width: 257px;
    min-height: 43px;
    margin-top: 30px;
    border-radius: var(--ta-radius-8);
    font-size: var(--ta-fs-16);
    font-weight: var(--ta-fw-bold);
}

@media (max-width: 991.98px) {
    .ta-lcta-media {
        padding-left: 0;
    }
    .ta-lcta-body {
        max-width: 520px;
        margin-inline: auto;
        padding-left: 0;
        text-align: center;
    }
}
@media (max-width: 575.98px) {
    .ta-lcta-img {
        width: 270px;
    }
    .ta-lcta-btn {
        width: 100%;
        min-width: 0;
    }
}
