/* Общий блок дополнительных материалов уроков курса «Познание Бога». */
.lesson-resources {
    background: linear-gradient(135deg, #fff, var(--paper));
}

.lesson-resources .material-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.lesson-resources .material-heading h2 {
    min-width: 0;
    line-height: 1.25;
}

.lesson-resources .section-number {
    flex-shrink: 0;
    margin-top: 3px;
}

.lesson-resources-description {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.lesson-resources .lesson-resources-button {
    display: inline-grid;
    grid-template-columns: 22px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    min-height: 52px;
    margin-top: 22px;
    padding: 13px 22px;
    border: 1px solid var(--sky);
    border-radius: 99px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
}

.lesson-resources-button svg {
    display: block;
    width: 22px;
    height: 22px;
    color: var(--sky);
}

.lesson-resources-button .resources-external-icon {
    width: 16px;
    height: 16px;
}

.lesson-resources .lesson-resources-button:hover {
    background: var(--pale);
    box-shadow: 0 8px 20px rgba(11, 49, 73, .09);
}

.lesson-resources-button:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .lesson-resources .material-heading h2 {
        font-size: 24px;
    }

    .lesson-resources .lesson-resources-button {
        width: 100%;
        gap: 10px;
        padding-inline: 16px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .lesson-resources .material-heading {
        gap: 10px;
    }

    .lesson-resources .material-heading h2 {
        font-size: 22px;
    }

    .lesson-resources .lesson-resources-button {
        gap: 8px;
        padding-inline: 12px;
    }
}
