.matching-guide {
    margin-top: 30px;
    color: #263f51;
}

.matching-guide__header,
.matching-overview-grid article,
.matching-kootas,
.matching-consideration-grid article,
.matching-faq {
    border: 1px solid #d5dfe5;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 58, 80, .06);
}

.matching-guide__header {
    padding: 30px;
    border-top: 4px solid #8b1f32;
}

.matching-guide__header h2,
.matching-section-heading h2,
.matching-overview-grid h2,
.matching-consideration-grid h2 {
    margin: 7px 0 10px;
    color: #173b54;
    line-height: 1.3;
}

.matching-guide__header h2 {
    font-size: clamp(27px, 3vw, 36px);
}

.matching-guide p {
    margin: 0;
    color: #506979;
    line-height: 1.75;
}

.matching-guide__header p {
    max-width: 920px;
    font-size: 17px;
}

.matching-kundli-link {
    display: inline-block;
    margin-top: 16px;
    color: #0b5f91;
    font-weight: 800;
    text-underline-offset: 3px;
}

.matching-overview-grid,
.matching-consideration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.matching-overview-grid article,
.matching-consideration-grid article {
    padding: 24px;
}

.matching-overview-grid h2,
.matching-consideration-grid h2 {
    font-size: 21px;
}

.matching-kootas,
.matching-faq {
    margin-top: 22px;
    padding: 27px;
}

.matching-section-heading {
    margin-bottom: 18px;
}

.matching-section-heading h2 {
    font-size: 27px;
}

.matching-koota-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.matching-koota-card {
    padding: 18px;
    border: 1px solid #d8e1e6;
    border-left: 3px solid #b58a37;
    background: #fbfcfd;
}

.matching-koota-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.matching-koota-card h3 {
    margin: 0;
    color: #173b54;
    font-size: 19px;
}

.matching-koota-card span {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf3f6;
    color: #315c76;
    font-size: 12px;
    font-weight: 800;
}

.matching-koota-card p {
    font-size: 14px;
    line-height: 1.65;
}

.matching-faq__list {
    border-top: 1px solid #d8e1e6;
}

.matching-faq details {
    border-bottom: 1px solid #d8e1e6;
}

.matching-faq summary {
    position: relative;
    padding: 16px 34px 16px 2px;
    color: #173b54;
    font-weight: 800;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.matching-faq summary::-webkit-details-marker {
    display: none;
}

.matching-faq summary::after {
    position: absolute;
    top: 15px;
    right: 4px;
    content: '+';
    color: #8b1f32;
    font-size: 21px;
    line-height: 1;
}

.matching-faq details[open] summary::after {
    content: '−';
}

.matching-faq details p {
    padding: 0 34px 17px 2px;
}

@media (max-width: 760px) {
    .matching-guide {
        margin-top: 22px;
    }

    .matching-guide__header,
    .matching-kootas,
    .matching-faq,
    .matching-overview-grid article,
    .matching-consideration-grid article {
        padding: 20px 17px;
    }

    .matching-overview-grid,
    .matching-consideration-grid,
    .matching-koota-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .matching-guide__header p {
        font-size: 15px;
    }
}
