.tm-lesson-download,
.tm-lesson-download * {
    box-sizing: border-box;
}

.tm-lesson-download {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: clamp(22px, 4vw, 34px) 0;
    padding: clamp(16px, 3vw, 22px);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.86)),
        radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.14), transparent 34%);
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.tm-lesson-download__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.tm-lesson-download__icon span {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.tm-lesson-download__body {
    min-width: 0;
}

.tm-lesson-download__eyebrow {
    margin: 0 0 5px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-lesson-download h2 {
    margin: 0;
    color: #0b2a66;
    font-size: clamp(20px, 3.4vw, 28px);
    line-height: 1.1;
}

.tm-lesson-download__body p:last-child {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.tm-lesson-download__actions {
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

.tm-lesson-download__actions svg,
.tm-lesson-download__actions .tm-google-g {
    display: none !important;
}

.tm-lesson-download__button,
.tm-lesson-download__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 900;
    white-space: nowrap;
}

.tm-lesson-download__button {
    padding: 11px 18px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.tm-lesson-download__link {
    padding: 8px 14px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: #1e40af !important;
    font-size: 13px;
}

@media (max-width: 720px) {
    .tm-lesson-download {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
        text-align: left;
    }

    .tm-lesson-download__icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .tm-lesson-download__actions {
        width: 100%;
    }

    .tm-lesson-download__button,
    .tm-lesson-download__link {
        width: 100%;
        min-height: 42px;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .tm-lesson-download {
        margin: 18px 0;
        padding: 12px;
    }
}
