/* Proportions recovered from the original Magic Dent template, not a new identity. */
.md-review-card .md-review-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;line-height:1.55}
.md-review-more{border:0;background:none;color:#087c36;padding:0;text-align:left;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.md-review-more[hidden]{display:none}.md-review-expandable{cursor:pointer}
.md-review-dialog{width:min(680px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:0;border-radius:24px;padding:32px;color:#323232;background:#fff}
.md-review-dialog::backdrop{background:#10271caa}.md-review-dialog h2{font-size:26px;margin:18px 0}.md-review-dialog-text{white-space:pre-line;line-height:1.65;margin-bottom:0}
.md-review-close{display:block;margin-left:auto;border:0;background:#e7f3eb;color:#16472b;border-radius:20px;padding:8px 16px}
.md-doctor-card .md-card-photo{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.md-doctor-photo-frame{display:block;width:100%;aspect-ratio:3/4;overflow:hidden;background:#edf3ef}
.md-doctor-photo-frame>.md-card-photo,.md-doctor-photo-frame>.md-doctor-portrait{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 0;border-radius:0;transform:scale(var(--md-portrait-zoom,1));transform-origin:50% 0}
.md-doctor-photo-detail{border-radius:24px}
@media(max-width:600px){.md-doctor-photo-detail{max-width:330px}}
.md-doctor-detail-placeholder{width:min(100%,330px);height:auto;aspect-ratio:3/4;border-radius:24px;margin:0 0 28px}
.md-recovery-notice{background:#e7f3eb;color:#16472b;padding:14px 0;font-family:Roboto,Arial,sans-serif;font-size:15px;line-height:1.5;border-bottom:1px solid #c3ddcc}
.md-recovery-notice strong{font-weight:700}
@media(max-width:600px){.md-recovery-notice{font-size:14px;padding:12px 0}.md-recovery-notice strong{display:block;margin-bottom:3px}}
.md-wrap{max-width:1600px;width:calc(100% - 40px)}
.md-top-inner{min-height:68px}
.md-top-contacts>a{font-family:Roboto,Arial,sans-serif;font-size:20px}
.md-nav-wrap{padding-bottom:10px}
.md-nav{min-height:76px;padding:12px 16px;border-radius:30px;gap:20px}
.md-nav-links{font-weight:400}
.md-button{font-family:Roboto,Arial,sans-serif;font-size:15px;font-weight:700;padding:11px 24px}
.md-nav-book,.md-floating-book{font-size:14px;padding:11px 24px}
.md-home .md-nav-wrap{margin-bottom:-92px}
.md-home:not(.md-scrolled):not(.md-menu-open) .md-nav{background:rgba(255,255,255,.04);backdrop-filter:blur(20px)}
.md-hero{margin:0;background:#28372f;border-radius:0 0 30px 30px}
.md-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:60px;align-items:center;padding:155px 0 85px;min-height:calc(100svh - 68px)}
.md-hero h1{font-size:clamp(76px,8.9vw,128px);font-weight:650;letter-spacing:-.035em;line-height:1.03;margin-bottom:32px}
.md-hero-copy>p{font-size:24px;line-height:1.3;margin-bottom:30px;max-width:700px}
.md-hero-stock{min-height:170px;display:flex;flex-direction:column;padding:26px 28px;border-radius:30px;background:rgba(255,255,255,.10);color:#fff}
.md-hero-stock:hover{background:rgba(255,255,255,.17);color:#fff}
.md-hero-stocks{display:grid;gap:24px}
.md-hero-stock h2{font-size:24px;line-height:1.3;font-weight:500;margin-bottom:20px}
.md-hero-stock>span{display:grid;place-items:center;align-self:flex-end;width:34px;height:34px;margin-top:auto;background:#fff;color:#109548;border-radius:50%}
.md-intro{padding-top:60px;padding-bottom:0;gap:60px;grid-template-columns:53fr 76fr}
.md-intro h2{font-size:36px;font-weight:400;line-height:1.2;letter-spacing:-.025em;margin-bottom:32px}
.md-intro>div:last-child{font-family:Roboto,Arial,sans-serif;font-size:16px;line-height:1.45;color:#626762;padding-top:7px}
.md-intro .md-welcome{font-family:Mulish,Arial,sans-serif;font-size:24px;line-height:1.3;color:#323232;margin-top:25px}
.md-section{padding-top:60px}
.md-section-heading{margin-bottom:30px}
.md-section-heading h2{font-size:48px;font-weight:400;line-height:1.2;margin:0}
.md-text-link{font-size:15px;font-weight:500}
.md-departments{gap:0;background:#e5e5e5;max-width:840px;border-radius:30px 30px 0 0;margin-bottom:0;overflow:hidden}
.md-departments>a{flex:1;justify-content:center;border-radius:30px 30px 0 0;padding:21px 20px;font-size:20px;gap:14px;font-weight:700;background:transparent}
.md-departments>a:first-child{background:#fff;color:#109548}
.md-directions{padding:20px;background:#fff;border-radius:0 30px 30px 30px;gap:20px}
.md-directions>a{min-height:165px;background:#f6f7f5;padding:24px 20px;border-radius:30px}
.md-directions h3{font-size:22px;line-height:1.25;font-weight:750}
.md-grid{gap:20px}
.md-card{border-radius:30px}
.md-card-body{padding:22px}
.md-card h3{font-size:24px;line-height:1.2;font-weight:750}
.md-card p{font-size:15px;line-height:1.4}
.md-grid-services{grid-template-columns:repeat(4,minmax(0,1fr))}
.md-grid-services .md-card-body{min-height:190px;padding:22px 20px}
.md-grid-services .md-card h3{font-size:22px}
.md-grid-services .md-card-body>p:not(.md-service-price){font-size:14px;line-height:1.4;color:#707770;margin-bottom:15px}
.md-grid-services .md-service-price{color:#109548;font-size:20px;font-weight:500;margin:0 0 16px}
.md-grid-services .md-card-arrow{width:30px;height:30px;border-radius:50%;justify-content:center;align-items:center}
.md-grid-doctors{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.md-grid-doctors .md-card-body{padding:18px;min-height:185px}
.md-grid-doctors .md-card h3{font-size:19px;overflow-wrap:anywhere}
.md-grid-doctors .md-card p{font-size:14px;line-height:1.45}
.md-doctor-profile{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);gap:30px;align-items:start}
.md-doctor-portrait{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:24px}
.md-doctor-profile-content{min-width:0;white-space:normal}
@media(max-width:600px){.md-doctor-profile{grid-template-columns:1fr;gap:24px}.md-doctor-portrait{max-width:330px}}
.md-grid-cases .md-card{min-height:235px;background:rgba(255,255,255,.65)}
.md-grid-cases .md-card:hover{background:#fff}
.md-grid-cases .md-card:has(.md-card-photo){display:grid;grid-template-columns:38% minmax(0,1fr);padding:15px;gap:0}
.md-grid-cases .md-card-photo{aspect-ratio:1;width:100%;height:auto;align-self:start;border-radius:26px}
.md-grid-cases .md-card h3{font-size:22px}
.md-grid-cases .md-card:has(.md-card-photo) .md-card-body{padding:3px 5px 3px 20px}
.md-page-title{font-size:48px;line-height:1.15;font-weight:400;max-width:1200px;margin-bottom:35px}
.md-article{padding:30px;font-size:16px;line-height:1.65;border-radius:30px}
.md-article h2{font-size:30px;font-weight:400}
.md-article h3{font-size:25px;font-weight:500}
.md-detail-aside{border-radius:30px}
.md-footer{background:#e9eae8}
.md-footer-columns{font-family:Roboto,Arial,sans-serif;font-size:15px}
.md-footer h2{font-family:Mulish,Arial,sans-serif;font-size:20px}
@media(min-width:1600px){.md-hero-inner{grid-template-columns:minmax(0,1fr) 420px}.md-hero h1{font-size:128px}}
@media(max-width:1279px){
 .md-hero-inner{grid-template-columns:minmax(0,1fr) 345px;gap:35px}
 .md-hero h1{font-size:90px}.md-hero-stock{min-height:170px;padding:22px}.md-hero-stock h2{font-size:23px}
 .md-nav{gap:16px}.md-nav-links{gap:15px}.md-grid-services{grid-template-columns:repeat(3,minmax(0,1fr))}
 .md-intro{gap:40px}.md-intro h2{font-size:32px}
}
@media(max-width:1023px){
 .md-hero h1{font-size:64px}.md-hero-copy>p{font-size:21px}.md-hero-inner{grid-template-columns:minmax(0,1fr) 310px;gap:25px}
 .md-hero-stock h2{font-size:21px}.md-hero-stock{padding:20px;min-height:160px}
 .md-section-heading h2{font-size:40px}.md-directions{grid-template-columns:repeat(3,minmax(0,1fr))}
 .md-grid-cases .md-card:has(.md-card-photo){display:flex;flex-direction:column;padding:15px}.md-grid-cases .md-card-photo{width:100%;max-height:none}.md-grid-cases .md-card:has(.md-card-photo) .md-card-body{padding:20px 5px 5px}
}
@media(max-width:850px){
 .md-wrap{width:calc(100% - 36px)}.md-nav{min-height:74px;padding:15px 20px;border-radius:40px}
 .md-home .md-nav-wrap{margin-bottom:-98px}
 .md-hero-inner{grid-template-columns:1fr;gap:35px;min-height:720px;padding:150px 10px 30px;align-content:end}
 .md-hero h1{font-size:64px;margin-bottom:28px}.md-hero-copy>p{font-size:19px;margin-bottom:24px}
 .md-hero-stocks{grid-template-columns:1fr 1fr;gap:15px}.md-hero-stock{min-height:150px}
 .md-intro{grid-template-columns:1fr;gap:25px;padding-top:50px}.md-intro h2{font-size:32px;margin-bottom:24px}.md-intro>div:last-child{font-size:16px;padding-top:0}
 .md-section{padding-top:45px}.md-section-heading h2{font-size:36px}.md-section-heading .md-text-link{font-size:14px}
 .md-departments>a{font-size:18px;padding:18px}.md-directions{gap:15px;padding:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.md-directions>a{min-height:140px;padding:22px 18px}.md-directions h3{font-size:21px}
 .md-grid-services,.md-grid-doctors{grid-template-columns:repeat(2,minmax(0,1fr))}.md-card h3{font-size:22px}
 .md-page-title{font-size:38px}.md-article{font-size:17px;padding:28px}
 .md-floating-book{font-size:16px;text-transform:none;padding:12px 27px}
}
@media(max-width:520px){
 .md-hero{border-radius:0 0 30px 30px}.md-hero-inner{padding-top:145px;min-height:720px;gap:36px;padding-inline:8px}
 .md-hero h1{font-size:48px;font-weight:700;margin-bottom:26px;line-height:1.05;letter-spacing:-.025em}
 .md-hero-copy>p{font-family:Roboto,Arial,sans-serif;font-size:17px;line-height:1.4;max-width:330px}
 .md-hero-copy>.md-button{font-size:14px;padding:12px 20px}
 .md-hero-stocks{gap:12px}.md-hero-stock{border-radius:24px;min-height:150px;padding:17px 15px}.md-hero-stock h2{font-size:16px;line-height:1.35;font-weight:600}.md-hero-stock>span{width:28px;height:28px}.md-hero-stock svg{width:20px;height:20px}
 .md-intro{padding-top:42px}.md-intro h2{font-size:29px}.md-intro .md-welcome{font-size:22px}
 .md-section-heading h2{font-size:32px}.md-section-heading .md-text-link{font-size:13px}
 .md-departments{border-radius:24px 24px 0 0}.md-departments>a{font-size:14px;border-radius:24px 24px 0 0;padding:17px 12px}
 .md-directions{padding:12px;gap:12px;border-radius:0 24px 24px 24px}.md-directions>a{padding:19px 15px;min-height:125px;border-radius:23px}.md-directions h3{font-size:18px}
 .md-grid-services,.md-grid-doctors{grid-template-columns:1fr}.md-grid-services .md-card-body{min-height:170px;padding:24px}.md-grid-services .md-card h3{font-size:23px}.md-grid-services .md-service-price{font-size:21px}
 .md-card h3{font-size:22px}.md-card p{font-size:15px}.md-card-body{padding:24px}
 .md-page-title{font-size:33px}.md-article{padding:25px 22px}.md-article h2{font-size:27px}
}
