/* === TOPIC CARDS === */
.topic-cards {
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.topic-cards__title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.topic-cards__grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
}

.topic-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing-unit) * 3);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--color-primary);
    transition: transform var(--transition), box-shadow var(--transition);
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.topic-card--accent {
    border-top-color: var(--color-accent);
}

.topic-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--radius-md);
    background-color: rgba(26, 95, 95, 0.08);
    color: var(--color-primary);
}

.topic-card--accent .topic-card__icon {
    color: var(--color-accent);
    background-color: rgba(224, 122, 95, 0.1);
}

.topic-card__svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    max-width: 100%;
    max-height: 100%;
    flex-shrink: 0;
}

.topic-card__heading {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-unit);
}

.topic-card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

@media (min-width: 600px) {
    .topic-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .topic-cards__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
