body.amma-med-theme .amma-patient-guide-hero {
    padding-top: 34px;
}

body.amma-med-theme .amma-patient-guide-hero__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: start;
    padding: 34px;
}

body.amma-med-theme .amma-patient-guide-hero__content {
    display: grid;
    gap: 18px;
}

body.amma-med-theme .amma-patient-guide-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

body.amma-med-theme .amma-patient-guide-hero__aside {
    display: grid;
    gap: 18px;
}

body.amma-med-theme .amma-patient-guide-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.amma-med-theme .amma-patient-guide-stat {
    display: grid;
    gap: 6px;
    padding: 22px 20px;
    border-radius: 24px;
}

body.amma-med-theme .amma-patient-guide-stat strong {
    color: var(--amma-title);
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

body.amma-med-theme .amma-patient-guide-side {
    padding: 26px;
    display: grid;
    gap: 16px;
}

body.amma-med-theme .amma-patient-guide-side__contacts {
    display: grid;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--amma-border);
}

body.amma-med-theme .amma-patient-guide-side__contacts a {
    color: var(--amma-accent);
    font-weight: 700;
}

body.amma-med-theme .amma-patient-guide-section {
    scroll-margin-top: 120px;
}

body.amma-med-theme .amma-patient-guide-section + .amma-patient-guide-section {
    padding-top: 6px;
}

body.amma-med-theme .amma-patient-guide-section__head {
    max-width: 920px;
}

body.amma-med-theme .amma-patient-guide-cards {
    align-items: stretch;
}

body.amma-med-theme .amma-patient-guide-card,
body.amma-med-theme .amma-service-guide-card {
    display: grid;
    gap: 16px;
    padding: 28px;
    height: 100%;
}

body.amma-med-theme .amma-patient-guide-card .amma-entry-content,
body.amma-med-theme .amma-service-guide-card .amma-entry-content {
    max-width: none;
}

body.amma-med-theme .amma-patient-guide-card h3,
body.amma-med-theme .amma-service-guide-card h3 {
    margin: 0;
}

body.amma-med-theme .amma-patient-guide-list,
body.amma-med-theme .amma-service-guide-card__list {
    margin: 0;
    padding-left: 20px;
}

body.amma-med-theme .amma-patient-guide-note,
body.amma-med-theme .amma-service-guide-card__note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(47, 128, 237, 0.08);
    color: var(--amma-text);
}

body.amma-med-theme .amma-patient-guide-cta {
    padding: 30px 32px;
}

body.amma-med-theme .amma-service-guides-section {
    padding-top: 8px;
}

body.amma-med-theme .amma-service-guides-grid {
    align-items: stretch;
}

body.amma-med-theme .amma-service-guide-card__actions {
    margin-top: auto;
}

body.amma-med-theme .amma-service-guide-card .amma-kicker {
    justify-self: start;
}

@media (max-width: 1180px) {
    body.amma-med-theme .amma-patient-guide-hero__wrap {
        grid-template-columns: 1fr;
    }

    body.amma-med-theme .amma-patient-guide-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.amma-med-theme .amma-patient-guide-cards.amma-grid-3,
    body.amma-med-theme .amma-patient-guide-cards.amma-grid-2,
    body.amma-med-theme .amma-service-guides-grid.amma-grid-3,
    body.amma-med-theme .amma-service-guides-grid.amma-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.amma-med-theme .amma-patient-guide-hero {
        padding-top: 22px;
    }

    body.amma-med-theme .amma-patient-guide-hero__wrap {
        padding: 24px;
        gap: 22px;
    }

    body.amma-med-theme .amma-patient-guide-stats {
        grid-template-columns: 1fr;
    }

    body.amma-med-theme .amma-patient-guide-side,
    body.amma-med-theme .amma-patient-guide-card,
    body.amma-med-theme .amma-service-guide-card,
    body.amma-med-theme .amma-patient-guide-cta {
        padding: 22px;
    }

    body.amma-med-theme .amma-patient-guide-nav {
        gap: 10px;
    }
}

body.amma-med-theme .smed-cat-guides {
    padding-top: 10px;
}

body.amma-med-theme .smed-cat-guides .amma-section-heading {
    max-width: 980px;
    margin-bottom: 20px;
}

body.amma-med-theme .smed-cat-guides .amma-service-guides-grid {
    align-items: stretch;
}

body.amma-med-theme .smed-cat-guides .amma-service-guide-card {
    min-height: 100%;
}

body.amma-med-theme .smed-cat-guides .amma-service-guide-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 767px) {
    body.amma-med-theme .smed-cat-guides .amma-section-heading {
        margin-bottom: 16px;
    }

    body.amma-med-theme .smed-cat-guides .amma-service-guide-card__actions {
        flex-direction: column;
    }

    body.amma-med-theme .smed-cat-guides .amma-service-guide-card__actions .amma-btn {
        width: 100%;
    }
}
