/*
Theme Name: Constructo Child Theme — Диомид
Template: constructo
Version: 1.1.2
Text Domain: constructo-child
*/
.dm-home{color:#254b3f;font:16px/1.6 Arial,sans-serif;padding-bottom:35px}.dm-home h1,.dm-home h2,.dm-home h3{font-family:Georgia,serif;font-weight:400;color:#254b3f}.dm-home h1{font-size:54px;line-height:1.12;margin:22px 0}.dm-home h2{font-size:38px;line-height:1.2;margin:12px 0 24px}.dm-home h3{font-size:25px;line-height:1.25}.dm-home p{color:#64766c}.dm-hero{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:28px;min-height:500px}.dm-hero-copy{padding:44px 36px;background:#edf3ee;border-radius:22px}.dm-eyebrow{font:700 11px/1.5 Arial,sans-serif;letter-spacing:1.8px;text-transform:uppercase;color:#9b773b}.dm-hero-photo{position:relative;overflow:hidden;border-radius:22px}.dm-hero-photo>img{width:100%;height:100%;object-fit:cover}.dm-photo-note{position:absolute;bottom:20px;left:20px;right:20px;padding:18px;background:#fffffff0;border-radius:14px}.dm-photo-note span{display:block;font-size:12px;color:#64766c}.dm-btn{display:inline-block;padding:15px 25px;background:#254f42;color:#fff!important;border-radius:32px;margin-top:12px;font:14px/1.5 Arial,sans-serif}.dm-btn:hover{background:#183c30}.dm-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:25px}.dm-quick a{padding:15px 0;border-bottom:1px solid #d7e0d6;display:flex;justify-content:space-between}.dm-home section{margin-top:70px}.dm-section-head{display:flex;justify-content:space-between;align-items:center;gap:35px}.dm-section-head p{max-width:350px;font-size:14px}.dm-search{width:100%!important;border:1px solid #d6e0d7!important;border-radius:12px!important;padding:16px 20px!important;margin:12px 0 24px!important;background:white!important}.dm-services{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#d6e0d7;border:1px solid #d6e0d7;border-radius:16px;overflow:hidden}.dm-service{background:white;padding:26px;color:#254f42;min-height:175px}.dm-service:hover{background:#edf3ee}.dm-service small{color:#9b773b;font-size:10px;letter-spacing:1px}.dm-service h3{margin:16px 0 10px;font-family:Arial,sans-serif;font-size:21px}.dm-service p{font-size:13px;margin:0}.dm-service[hidden]{display:none}.dm-empty{background:#edf3ee;padding:20px}.dm-programs{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:20px}.dm-program{padding:28px;border-radius:18px;background:#f2efe7}.dm-program:first-child{background:#254f42;color:white}.dm-program:first-child h3,.dm-program:first-child p,.dm-program:first-child a{color:white}.dm-program p{min-height:70px;font-size:14px}.dm-program a{border-bottom:1px solid;padding-bottom:5px;font-size:13px}.dm-patient{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid #d6e0d7;padding-top:40px}.dm-patient-links a{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid #d6e0d7}.dm-contacts{background:#edf3ee;border-radius:20px;padding:38px}.dm-contact-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.dm-contact-row .dm-btn{white-space:nowrap}.dm-index{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.dm-index a{padding:22px;background:#edf3ee;border-radius:14px;color:#254f42;font-size:18px}.site-header .logo img{max-height:75px;width:auto}.dm-foot{background:#254f42;color:#fff;padding:30px max(5%,20px);font-size:13px}.dm-foot a{color:white}.dm-foot p{margin:10px 0}.dm-foot small{opacity:.75}.dm-contact-top{background:#254f42;color:white;padding:9px 5%;display:flex;justify-content:space-between;font-size:13px}.dm-contact-top a{color:white}.page-heading{background:#edf3ee!important}.home .page-heading{display:none}.site-footer{display:none}a:focus-visible,input:focus-visible{outline:2px solid #9b773b;outline-offset:4px}@media(max-width:767px){.dm-hero{grid-template-columns:1fr}.dm-hero-copy{padding:28px}.dm-home h1{font-size:39px}.dm-home h2{font-size:30px}.dm-hero-photo{height:310px}.dm-services,.dm-index{grid-template-columns:1fr 1fr}.dm-service{padding:18px}.dm-section-head,.dm-contact-row{display:block}.dm-programs,.dm-patient{grid-template-columns:1fr;gap:20px}.dm-contacts{padding:25px}.dm-quick{gap:10px;font-size:12px}.dm-contact-top{font-size:11px}.dm-home section{margin-top:45px}}
/* Preserve the source logo ratio instead of Constructo inline 158x33. */
.site-header .site-logo img.logo-mobile,.site-header .site-logo img.logo-sticky{width:158px!important;height:auto!important;max-height:none!important;object-fit:contain}

/* Original diomid.com footer: four columns, charcoal background and legal strip. */
.site-footer.dm-original-footer{display:block;background:#242424;color:#d9d9d9}
.dm-original-footer .widget-title{color:#fff!important}
.dm-original-footer a,.dm-original-footer p,.dm-original-footer .important{color:#d9d9d9}
.dm-original-footer a:hover,.dm-original-footer a:focus{color:#43b425}
.dm-original-footer .copyright-footer{background:#0f0f0f;color:#d9d9d9}
.dm-original-footer .widget_anpsimages img{width:220px;max-width:100%;height:auto}
.dm-original-footer iframe{max-width:100%;border:0}
@media(max-width:767px){.dm-original-footer .col-xs-6{width:100%;float:none}.dm-original-footer .widget{margin-bottom:24px}.dm-original-footer .copyright-footer{padding:20px 0}.dm-original-footer .extendedwopts-mobile{display:none}}

.dm-original-footer strong,.dm-original-footer span{color:#d9d9d9!important}.dm-original-footer .anpstext-desc{font-size:13px}.dm-original-footer .important{white-space:nowrap}@media(min-width:992px){.dm-original-footer .widget_custom_html{display:block!important}}

/* Shared presentation for native WPBakery elements. Content stays in the editor. */
.dm-program-hero.vc_row{background:#eaf0e2;border:1px solid #dce5d3;border-radius:28px;padding:34px 24px;margin-bottom:38px;overflow:hidden}
.dm-program-hero .dm-program-eyebrow{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:700;color:#426c31}
.dm-program-image img{border-radius:20px;width:100%;height:auto}
.dm-program-section.vc_row{margin-top:34px;margin-bottom:24px}
.dm-program-cards.vc_row{margin-bottom:30px}
.dm-program-card>.vc_column-inner{background:#fffdf7;border:1px solid #e0e5d5;border-radius:22px;padding:24px!important;height:100%}
.dm-program-cards>.vc_column_container{padding:0 10px;margin-bottom:20px}
.dm-program-note>.vc_column-inner{background:#eaf0e2;border-radius:22px;padding:26px!important}
.dm-program-booking.vc_row{background:#244830;border-radius:24px;padding:28px 24px;margin-top:24px;margin-bottom:36px}
.dm-program-booking p{color:#e1e9da}
.dm-program-hero p,.dm-program-card p,.dm-program-section p{line-height:1.75}
.dm-program-hero .vc_btn3,.dm-program-booking .vc_btn3{font-weight:700}
@media(max-width:767px){.dm-program-hero.vc_row,.dm-program-booking.vc_row{padding:24px 10px;border-radius:22px}.dm-program-hero h2{font-size:30px!important}.dm-program-card>.vc_column-inner{padding:22px!important}.dm-program-image{margin-top:20px}.dm-program-section.vc_row{margin-top:24px}}

.dm-program-booking h2{color:#fff!important}.dm-program-section ul{padding-left:22px}.dm-program-section li{margin-bottom:12px;line-height:1.7}

.dm-program-booking a:not(.vc_btn3){color:#fff!important}.dm-program-price strong{font-size:36px;line-height:1.2;color:#307820}.dm-program-card ul{padding-left:20px;line-height:1.7}.dm-program-card li{margin-bottom:8px}

/* Native program layouts inside specialty pages. */
.dm-specialty :is(.dm-program-hero,.dm-program-section,.dm-program-cards,.dm-program-booking) .wpb_text_column{background:transparent;border-radius:0;padding:0}
.dm-specialty .dm-program-booking .vc_btn3{background:#fff!important;color:#244830!important}
.page-id-9014 .dm-program-section .dm-profile-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
