/* ==========================================================================
   LANDING PAGE: USEFUL MATERIALS SECTION
   ========================================================================== */

.useful-materials-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.useful-materials-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.useful-materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .useful-materials-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.material-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.material-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.material-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.material-icon svg { width: 20px; height: 20px; }

.articles-icon-bg { background: rgba(74, 124, 219, 0.15); color: var(--secondary); }
.news-icon-bg { background: rgba(255, 193, 7, 0.15); color: #FFC107; } /* Желтый для новостей */
.vocal-icon-bg { background: rgba(232, 101, 74, 0.15); color: var(--accent); }

.material-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
}

/* Список материалов */
.material-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1; /* Чтобы список растягивался, а кнопка падала вниз */
    margin-bottom: 24px;
}

.material-list li a {
    font-size: 15px;
    color: var(--text-secondary); /* ИЗМЕНЕНО: Вернули светло-серый цвет текста */
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
    display: inline-block;
    border-bottom: 1px dashed var(--text-secondary); /* Пунктир оставляем */
    padding-bottom: 1px;
}

.material-list li a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Кнопки внутри карточек */
.material-btn {
    margin-top: auto;
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;

    /* Стиль главной кнопки */
    background: var(--accent);
    color: #fff;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(232, 101, 74, 0.25);
}

.material-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 101, 74, 0.4);
}

.material-btn:active {
    transform: scale(0.98);
}