:root {
    --mhj-green-dark: #173b30;
    --mhj-green: #5cbd50;
    --mhj-green-hover: #48a73f;
    --mhj-teal: #007c68;
    --mhj-text: #53615b;
    --mhj-muted: #686d73;
    --mhj-bg-soft: #eef7f6;
    --mhj-bg-page: #f4f4f4;
}

.mhj-template-container {
    width: min(100% - 3rem, 1140px);
    margin-inline: auto;
}

.mhj-empty {
    margin: 0;
    color: #5b7068;
    text-align: center;
}

.mhj-material-icon {
    direction: ltr;
    display: inline-block;
    font-family: "Material Symbols Outlined";
    font-feature-settings: "liga";
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1;
    overflow-wrap: normal;
    text-transform: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

.mhj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--mhj-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.mhj-button:hover,
.mhj-button:focus {
    background: var(--mhj-green-hover);
    color: #fff;
}

.mhj-button--small {
    min-height: 30px;
    padding: 8px 14px;
    font-size: 0.82rem;
}

.mhj-button--outline {
    border: 1px solid var(--mhj-green);
    background: transparent;
    color: var(--mhj-green);
}

.mhj-button--outline:hover,
.mhj-button--outline:focus {
    background: var(--mhj-green);
    color: #fff;
}

.mhj-button--light {
    background: #fff;
    color: var(--mhj-teal);
}

.mhj-button--light:hover,
.mhj-button--light:focus {
    background: #f0faf7;
    color: var(--mhj-teal);
}

.mhj-centered-heading,
.mhj-template-heading,
.mhj-detail-title {
    margin: 0 0 42px;
    color: var(--mhj-green-dark);
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    line-height: 1.15;
}

.mhj-centered-heading,
.mhj-detail-title {
    text-align: center;
}

.mhj-section-lead {
    max-width: 880px;
    margin: 0 0 34px;
    color: var(--mhj-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.mhj-section-lead--center {
    margin-inline: auto;
    text-align: center;
}

/* Doctor cards and lists */
.mhj-orvos-lista {
    display: grid;
    gap: clamp(48px, 7vw, 88px);
}

.mhj-orvos-section {
    width: 100%;
}

.mhj-orvos-section__title {
    margin: 0 0 28px;
    color: var(--mhj-green-dark);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.2;
    text-align: center;
}

.mhj-orvos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.mhj-orvos-card,
.mhj-orvos-slider-card {
    min-width: 0;
}

.mhj-orvos-card__media,
.mhj-orvos-slider-card__media {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    background: #e8f3ee;
    aspect-ratio: 1 / 1;
}

.mhj-orvos-card__media {
    width: min(100%, 220px);
    margin-inline: auto;
}

.mhj-orvos-card__image,
.mhj-orvos-slider-card__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mhj-orvos-card__image--placeholder,
.mhj-orvos-slider-card__image--placeholder,
.mhj-doctor-photo--placeholder,
.mhj-specialty-photo--placeholder {
    background:
        linear-gradient(135deg, rgba(0, 124, 104, 0.16), rgba(92, 189, 80, 0.22)),
        #e8f3ee;
}

.mhj-orvos-card__body {
    padding-top: 12px;
}

.mhj-orvos-slider-card__body {
    padding-top: 18px;
}

.mhj-orvos-card__title,
.mhj-orvos-slider-card__title {
    margin: 0 0 8px;
    color: var(--mhj-green-dark);
    line-height: 1.35;
}

.mhj-orvos-card__title {
    font-size: 1rem;
}

.mhj-orvos-slider-card__title {
    color: #43506a;
    font-size: 1.18rem;
}

.mhj-orvos-card__title a,
.mhj-orvos-slider-card__title a {
    color: inherit;
    text-decoration: none;
}

.mhj-orvos-card__title a:hover,
.mhj-orvos-card__title a:focus,
.mhj-orvos-slider-card__title a:hover,
.mhj-orvos-slider-card__title a:focus {
    color: var(--mhj-green);
}

.mhj-orvos-card__role,
.mhj-orvos-slider-card__role {
    color: var(--mhj-green);
    font-weight: 700;
    line-height: 1.35;
}

.mhj-orvos-card__role {
    margin: 0 0 10px;
    font-size: 0.92rem;
}

.mhj-orvos-slider-card__role {
    margin: 0 0 18px;
    font-size: 1rem;
}

.mhj-orvos-card__excerpt,
.mhj-orvos-slider-card__excerpt {
    color: var(--mhj-text);
    line-height: 1.6;
}

.mhj-orvos-card__excerpt {
    margin: 0 0 12px;
    font-size: 0.92rem;
}

.mhj-orvos-slider-card__excerpt {
    margin: 0 0 22px;
    font-size: 0.98rem;
}

.mhj-orvos-slider-section {
    width: 100%;
}

.mhj-orvos-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 16px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
}

.mhj-orvos-slider-card {
    scroll-snap-align: start;
}

.mhj-orvos-adatok {
    display: grid;
    gap: 24px;
    color: var(--mhj-green-dark);
}

.mhj-orvos-adatok__role {
    margin: 0;
    color: var(--mhj-green);
    font-size: 1.08rem;
    font-weight: 700;
}

.mhj-orvos-adatok__block h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.mhj-orvos-adatok__block p {
    margin: 0;
}

.mhj-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mhj-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid var(--mhj-green);
    border-radius: 999px;
    color: #327c2d;
    font-weight: 700;
    text-decoration: none;
}

.mhj-link-list a:hover,
.mhj-link-list a:focus {
    background: var(--mhj-green);
    color: #fff;
}

/* Specialty list shortcode */
.mhj-szakrendeles-lista {
    display: grid;
    gap: clamp(58px, 8vw, 96px);
    padding-block: clamp(18px, 3vw, 34px);
}

.mhj-szakrendeles-lista--flat .mhj-szakrendeles-grid {
    max-width: 1040px;
    margin-inline: auto;
}

.mhj-szakrendeles-group {
    display: grid;
    gap: clamp(46px, 7vw, 76px);
}

.mhj-szakrendeles-group__intro {
    display: grid;
    justify-items: center;
    color: var(--mhj-green-dark);
    text-align: center;
}

.mhj-szakrendeles-group__media {
    width: 100%;
    aspect-ratio: 3 / 1;
    margin: 0 auto 22px;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(188, 247, 182, 0.92), rgba(226, 255, 221, 0.96)),
        #d5f8d0;
}

.mhj-szakrendeles-group__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.mhj-szakrendeles-group__intro h2 {
    max-width: 900px;
    margin: 0 0 14px;
    color: var(--mhj-green);
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.12;
}

.mhj-szakrendeles-group__intro p {
    max-width: 720px;
    margin: 0;
    color: var(--mhj-text);
    font-size: 1rem;
    line-height: 1.65;
}

.mhj-szakrendeles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(58px, 7vw, 92px) clamp(42px, 6vw, 76px);
}

.mhj-szakrendeles-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    padding-top: 22px;
}

.mhj-szakrendeles-card__icon {
    display: none;
}

.mhj-szakrendeles-card__title {
    position: relative;
    margin: 0 0 12px;
    color: var(--mhj-green-dark);
    font-size: 1.12rem;
    line-height: 1.35;
}

.mhj-szakrendeles-card__title::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: var(--mhj-green);
}

.mhj-szakrendeles-card__title a {
    color: inherit;
    text-decoration: none;
}

.mhj-szakrendeles-card__title a:hover,
.mhj-szakrendeles-card__title a:focus {
    color: var(--mhj-teal);
}

.mhj-szakrendeles-card__excerpt {
    max-width: 300px;
    margin: 0 0 18px;
    color: var(--mhj-text);
    font-size: 0.94rem;
    line-height: 1.62;
}

.mhj-szakrendeles-card__link {
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--mhj-green);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.mhj-szakrendeles-card__link:hover,
.mhj-szakrendeles-card__link:focus {
    background: var(--mhj-green-hover);
    color: #fff;
}

/* Detail shortcodes */
.mhj-szakrendeles-detail-block {
    width: 100%;
}

.mhj-tunet-text {
    display: grid;
    gap: 10px;
    color: inherit;
}

.mhj-tunet-text p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.mhj-price-list {
    position: relative;
    overflow: hidden;
    border: 1px solid #d1d6d3;
    border-top: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.mhj-price-list--even::after {
    content: none;
}

.mhj-price-list__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr);
    gap: 0;
    align-items: center;
    min-height: 94px;
    border-top: 1px solid #d1d6d3;
    color: var(--mhj-green-dark);
    font-size: clamp(1.18rem, 1.7vw, 1.55rem);
    font-weight: 800;
    background: #fff;
}

.mhj-price-list__row > span,
.mhj-price-list__row > strong {
    display: flex;
    align-items: center;
    min-height: 94px;
    padding: 24px clamp(18px, 2.2vw, 34px);
    overflow-wrap: anywhere;
}

.mhj-price-list__row > strong {
    border-left: 1px solid #d1d6d3;
}

.mhj-price-list__row strong {
    color: var(--mhj-green-dark);
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
}

/* Single doctor */
.mhj-single-orvos {
    color: #1b3d31;
    background: #fff;
}

.mhj-doctor-hero {
    padding: clamp(44px, 6vw, 70px) 0 clamp(52px, 7vw, 86px);
    background: #fff;
}

.mhj-doctor-hero__grid,
.mhj-specialty-hero__grid {
    display: grid;
    align-items: center;
}

.mhj-doctor-hero__grid {
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: clamp(44px, 8vw, 96px);
}

.mhj-doctor-hero__content,
.mhj-specialty-hero__content {
    min-width: 0;
}

.mhj-doctor-hero__image {
    width: 100%;
    justify-self: start;
}

.mhj-doctor-hero h1 {
    margin: 0 0 22px;
    color: #1f4035;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.08;
}

.mhj-doctor-hero__role {
    margin: 0 0 22px;
    color: #61bd4f;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35;
}

.mhj-doctor-hero__content h2 {
    margin: 0 0 18px;
    color: #1f4035;
    font-size: 1.18rem;
    line-height: 1.3;
}

.mhj-doctor-hero__mission {
    max-width: 560px;
    margin: 0 0 28px;
    color: #6f747a;
    font-size: 0.95rem;
    line-height: 1.7;
}

.mhj-doctor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.mhj-doctor-actions .mhj-button {
    gap: 8px;
    min-width: 194px;
    text-transform: uppercase;
}

.mhj-doctor-actions .mhj-material-icon {
    font-size: 1.15rem;
}

.mhj-doctor-actions--center {
    justify-content: center;
}

.mhj-doctor-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 44px rgba(23, 59, 48, 0.08);
}

.mhj-doctor-specialty-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.mhj-doctor-specialty-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 18px;
    border: 1px solid var(--mhj-green);
    border-radius: 999px;
    color: var(--mhj-green);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.mhj-doctor-specialty-pills a:hover,
.mhj-doctor-specialty-pills a:focus,
.mhj-doctor-specialty-pills a.is-active {
    background: var(--mhj-green);
    color: #fff;
}

.mhj-doctor-intro-section,
.mhj-doctor-booking-section,
.mhj-doctor-editor-section {
    background: var(--mhj-bg-page);
}

.mhj-doctor-intro-section {
    padding: clamp(42px, 6vw, 66px) 0 clamp(34px, 5vw, 54px);
    text-align: center;
}

.mhj-doctor-narrow {
    max-width: 1020px;
}

.mhj-doctor-intro-section h2,
.mhj-doctor-booking-section h2 {
    margin: 0 0 26px;
    color: #1f4035;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.18;
    text-align: center;
}

.mhj-doctor-intro-text,
.mhj-doctor-booking-section p {
    color: var(--mhj-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.mhj-doctor-intro-text p {
    margin: 0 0 18px;
}

.mhj-doctor-intro-text p:last-child {
    margin-bottom: 0;
}

.mhj-doctor-booking-section {
    padding: clamp(34px, 5vw, 58px) 0 clamp(54px, 7vw, 80px);
    text-align: center;
}

.mhj-doctor-booking-section h2 {
    max-width: 720px;
    margin-inline: auto;
}

.mhj-doctor-booking-section p {
    max-width: 620px;
    margin: 0 auto 28px;
}

/* Single specialty */
.mhj-single-szakrendeles {
    color: var(--mhj-green-dark);
    background: #fff;
}

.mhj-specialty-hero {
    padding: clamp(72px, 9vw, 128px) 0 clamp(62px, 8vw, 96px);
    background: #fff;
    overflow: hidden;
}

.mhj-specialty-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
    gap: clamp(68px, 9vw, 150px);
}

.mhj-specialty-hero h1 {
    max-width: 650px;
    margin: 0 0 34px;
    color: var(--mhj-green-dark);
    font-size: clamp(2.55rem, 4.4vw, 4rem);
    line-height: 1.15;
}

.mhj-specialty-hero p {
    max-width: 620px;
    margin: 0 0 34px;
    color: #5c6473;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.58;
}

.mhj-specialty-hero__image {
    justify-self: end;
    width: 100%;
    max-width: 560px;
}

.mhj-specialty-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.mhj-specialty-help,
.mhj-specialty-symptoms,
.mhj-specialty-doctors,
.mhj-specialty-final-cta,
.mhj-specialty-process,
.mhj-specialty-price-section,
.mhj-specialty-prepare-section,
.mhj-specialty-content-sections,
.mhj-specialty-mid-cta,
.mhj-specialty-editor-section {
    padding: clamp(58px, 7vw, 86px) 0;
}

.mhj-specialty-process,
.mhj-specialty-editor-section {
    background: white;
}

.mhj-specialty-price-section {
    background: #fff;
}

.mhj-specialty-mid-cta {
    background: #f4f4f4;
    text-align: center;
}

.mhj-specialty-mid-cta h2 {
    max-width: 760px;
    margin: 0 auto 24px;
    color: var(--mhj-green-dark);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.16;
}

.mhj-specialty-mid-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: #686d73;
    font-size: 0.98rem;
    line-height: 1.55;
}

.mhj-specialty-content-sections {
    background: #fff;
}

.mhj-specialty-content-stack {
    display: grid;
    gap: clamp(58px, 8vw, 92px);
}

.mhj-specialty-content-section {
    display: grid;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.mhj-specialty-content-section__media {
    width: 100%;
    aspect-ratio: 3.2 / 1;
    margin: 0 0 clamp(30px, 4vw, 44px);
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(210, 239, 204, 0.92), rgba(242, 250, 239, 0.95)),
        #e8f5e5;
}

.mhj-specialty-section-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mhj-specialty-content-section h2 {
    max-width: 980px;
    margin: 0 0 28px;
    color: var(--mhj-green-dark);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
}

.mhj-specialty-content-section__text {
    max-width: 1060px;
    color: #344b43;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
}

.mhj-specialty-content-section__text p {
    margin: 0 0 22px;
}

.mhj-specialty-content-section__text p:last-child {
    margin-bottom: 0;
}

.mhj-specialty-price-inner .mhj-centered-heading {
    margin-bottom: 34px;
}

.mhj-specialty-price-inner .mhj-section-lead {
    max-width: 1120px;
    margin-bottom: 36px;
    color: #344b43;
    font-size: clamp(1rem, 1.28vw, 1.15rem);
    line-height: 1.55;
}

.mhj-specialty-editor-content {
    max-width: 960px;
}

.mhj-specialty-editor-content > *:first-child {
    margin-top: 0;
}

.mhj-specialty-editor-content > *:last-child {
    margin-bottom: 0;
}

.mhj-specialty-info-grid,
.mhj-prepare-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.mhj-specialty-info-card,
.mhj-symptom-card {
    min-width: 0;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid rgba(23, 59, 48, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 59, 48, 0.1);
}

.mhj-specialty-info-card .mhj-material-icon,
.mhj-symptom-card .mhj-material-icon {
    margin-bottom: 18px;
    color: var(--mhj-teal);
    font-size: 1.8rem;
}

.mhj-specialty-info-card--warm .mhj-material-icon {
    color: #ef9b5b;
}

.mhj-specialty-info-card h3,
.mhj-symptom-card h3 {
    margin: 0 0 10px;
    color: var(--mhj-green-dark);
    font-size: 1.05rem;
}

.mhj-specialty-info-card p,
.mhj-symptom-card p {
    margin: 0;
    color: #5c6473;
    font-size: 0.98rem;
    line-height: 1.65;
}

.mhj-symptom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mhj-symptom-card--featured {
    grid-column: 1 / span 2;
    background: var(--mhj-teal);
    color: #fff;
}

.mhj-symptom-grid > .mhj-symptom-card:nth-child(2) {
    grid-column: 3;
}

.mhj-symptom-grid > .mhj-symptom-card:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.mhj-symptom-card--featured h3,
.mhj-symptom-card--featured p,
.mhj-symptom-card--featured .mhj-material-icon {
    color: #fff;
}

.mhj-symptom-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.mhj-symptom-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #f6a35e;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

.mhj-symptom-card--notice {
    grid-column: 2 / span 2;
    grid-row: 2;
    background: #e9def0;
}

.mhj-symptom-card--notice h3,
.mhj-symptom-card--notice .mhj-material-icon {
    color: #d21f1f;
}

.mhj-specialty-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: clamp(40px, 8vw, 92px);
    align-items: center;
}

.mhj-process-list {
    display: grid;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mhj-process-list li {
    position: relative;
    padding-left: 54px;
}

.mhj-process-list li::before {
    content: counter(list-item);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--mhj-teal);
    border-radius: 999px;
    color: var(--mhj-teal);
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.mhj-process-list strong,
.mhj-process-list span {
    display: block;
}

.mhj-process-list strong {
    margin-bottom: 4px;
    color: var(--mhj-teal);
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
}

.mhj-process-list span {
    color: #5c6473;
    line-height: 1.55;
}

.mhj-specialty-process__image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 124, 104, 0.75), rgba(23, 59, 48, 0.8)),
        var(--mhj-teal);
}

.mhj-specialty-process__image .mhj-material-icon {
    color: #fff;
    font-size: clamp(5rem, 12vw, 9rem);
}

.mhj-prepare-card {
    max-width: 820px;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 18px;
    background: #e4d7ed;
}

.mhj-prepare-card h2 {
    margin: 0 0 18px;
    color: #5c268b;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.mhj-prepare-card p,
.mhj-prepare-columns span {
    color: #5c6473;
    line-height: 1.65;
}

.mhj-prepare-columns {
    margin-top: 28px;
}

.mhj-prepare-columns strong,
.mhj-prepare-columns span {
    display: block;
}

.mhj-prepare-columns strong {
    margin-bottom: 8px;
    color: var(--mhj-teal);
}

.mhj-specialty-doctor-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 18px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
}

.mhj-specialty-doctor-grid > .mhj-orvos-card {
    scroll-snap-align: start;
}

.mhj-final-cta-card {
    display: grid;
    justify-items: center;
    max-width: 1120px;
    padding: clamp(34px, 5vw, 58px);
    border-radius: 14px;
    background: var(--mhj-teal);
    color: #fff;
    text-align: center;
}

.mhj-final-cta-card h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.mhj-final-cta-card p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
}

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

    .mhj-specialty-doctor-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(280px, 46vw);
    }

    .mhj-orvos-slider {
        grid-template-columns: none;
        grid-auto-columns: minmax(250px, 42vw);
    }

    .mhj-doctor-hero__grid,
    .mhj-specialty-hero__grid,
    .mhj-specialty-info-grid,
    .mhj-specialty-process__grid,
    .mhj-prepare-columns {
        grid-template-columns: 1fr;
    }

    .mhj-specialty-hero {
        padding-top: clamp(48px, 8vw, 72px);
    }

    .mhj-specialty-hero h1 {
        max-width: 720px;
        font-size: clamp(2.45rem, 7vw, 3.45rem);
    }

    .mhj-specialty-hero p {
        max-width: 680px;
    }

    .mhj-specialty-hero__image {
        justify-self: center;
        max-width: 560px;
    }

    .mhj-specialty-content-section__media {
        aspect-ratio: 2.4 / 1;
        border-radius: 20px;
    }

    .mhj-doctor-hero__image {
        justify-self: start;
        max-width: 420px;
    }

    .mhj-symptom-card--featured,
    .mhj-symptom-card--notice,
    .mhj-symptom-grid > .mhj-symptom-card:nth-child(2),
    .mhj-symptom-grid > .mhj-symptom-card:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .mhj-symptom-card--featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .mhj-template-container {
        width: min(100% - 1.5rem, 1140px);
    }

    .mhj-orvos-grid,
    .mhj-szakrendeles-grid,
    .mhj-symptom-grid,
    .mhj-specialty-info-grid {
        grid-template-columns: 1fr;
    }

    .mhj-specialty-doctor-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(245px, 82vw);
    }

    .mhj-specialty-hero {
        padding-top: 42px;
    }

    .mhj-specialty-hero h1 {
        margin-bottom: 24px;
        font-size: clamp(2.1rem, 10vw, 2.85rem);
        line-height: 1.18;
    }

    .mhj-specialty-hero p {
        margin-bottom: 28px;
        font-size: 1rem;
    }

    .mhj-specialty-hero .mhj-doctor-actions {
        gap: 12px;
    }

    .mhj-specialty-hero .mhj-button {
        min-width: 0;
        padding-inline: 20px;
    }

    .mhj-specialty-hero__image {
        max-width: min(100%, 440px);
        margin-top: 26px;
    }

    .mhj-szakrendeles-group__media {
        aspect-ratio: 2.2 / 1;
        margin-bottom: 18px;
    }

    .mhj-orvos-section__title,
    .mhj-detail-title {
        text-align: left;
    }

    .mhj-price-list__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mhj-price-list__row > span,
    .mhj-price-list__row > strong {
        min-height: 0;
        padding: 18px;
    }

    .mhj-price-list__row > strong {
        border-top: 1px solid #d1d6d3;
        border-left: 0;
    }

    .mhj-orvos-slider {
        grid-auto-columns: minmax(245px, 82vw);
        gap: 20px;
    }
}
