
.pregnancy-topics-section {
    padding: 45px 0;
}

.pregnancy-topics-heading {
    margin-bottom: 28px;
    text-align: center;
}

.pregnancy-topics-heading .section-heading {
    margin-bottom: 8px;
}

.pregnancy-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pregnancy-topic-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 245px;
    padding: 26px;
    border: 1px solid #eadfe5;
    border-radius: 16px;
    background: #fff;
    color: #542744;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pregnancy-topic-card:hover {
    transform: translateY(-5px);
    border-color: #bd8d4b;
    box-shadow: 0 10px 28px rgba(84, 39, 68, .09);
}

.pregnancy-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: 29px;
}

.pregnancy-topic-card--rose .pregnancy-topic-icon {
    background: #f7e9ee;
}

.pregnancy-topic-card--gold .pregnancy-topic-icon {
    background: #f5efdf;
}

.pregnancy-topic-card--violet .pregnancy-topic-icon {
    background: #eeeaf4;
}

.pregnancy-topic-title {
    margin-bottom: 10px;
    color: #542744;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.pregnancy-topic-description {
    margin-bottom: 22px;
    color: #756b73;
    font-size: 14px;
    line-height: 1.65;
}

.pregnancy-topic-link {
    margin-top: auto;
    color: #a77b42;
    font-size: 14px;
    font-weight: 700;
}

.pregnancy-topic-link span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
}

.pregnancy-topic-card:hover .pregnancy-topic-link span {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .pregnancy-topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pregnancy-topics-section {
        padding: 30px 0;
    }

    .pregnancy-topics-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pregnancy-topic-card {
        min-height: auto;
        padding: 22px;
    }

    .pregnancy-topic-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
        font-size: 25px;
    }

    .pregnancy-topic-title {
        font-size: 18px;
    }
}
