/* Match the warm, light introduction on the Medvice homepage. */
/* A compact experience card replaces the legacy dark photo banner. */
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f {
    background:linear-gradient(115deg,#fff0e2,#fffaf5)!important;
    border:1px solid #ecd8c6!important;border-left:4px solid #f77b15!important;
    border-radius:20px!important;padding:28px 30px!important;margin-block:32px!important;
    min-height:0!important;overflow:hidden;
}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f>.elementor-background-overlay {background:none!important;opacity:0!important;}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .elementor-column:not(:has(.elementor-widget)) {display:none;}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .elementor-column:has(.elementor-widget) {width:100%!important;}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .elementor-widget-wrap {padding:0!important;}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .gsc-heading {padding:0!important;margin:0!important;}
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .gsc-heading .title,
body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f .gsc-heading .title span {
    color:#29221d!important;font-family:var(--mdv-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:clamp(23px,2.5vw,30px)!important;font-weight:500!important;line-height:1.3!important;
    letter-spacing:-.03em!important;text-shadow:none!important;max-width:none!important;margin:0!important;
}
@media(max-width:900px) {
    body.mdv-design .mdv-mobile-menu nav {max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;}
    body.mdv-design .mdv-mobile-menu nav a {min-height:44px;touch-action:manipulation;}
}
@media(max-width:600px) {
    body.mdv-design .mdv-page-content .elementor-element.elementor-element-552f {padding:24px!important;margin-block:24px!important;}
}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor {
    font-family:var(--mdv-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
    font-size:17px!important;font-weight:300!important;line-height:1.8!important;color:#6b6058!important;
    max-width:72ch;margin-bottom:18px!important;text-wrap:pretty;
}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor :is(p,li,span,div) {
    color:inherit!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;letter-spacing:normal!important;
}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor :is(strong,b) {font-weight:550!important;color:#29221d!important;}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor :is(h2,h3,h4) {font-weight:550!important;color:#29221d!important;line-height:1.4!important;letter-spacing:-.025em!important;}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor :is(p,li) {margin-bottom:13px!important;}
/* Preserve intentionally white copy in the existing photographic course banners. */
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor:has([style*="color: #ffffff"]) {color:#fff!important;text-shadow:0 2px 8px #0009;}
body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor:has([style*="color: #ffffff"]) :is(strong,b) {color:inherit!important;}
body.mdv-design .mdv-open-catalog {padding:12px 0 0;}
.mdv-open-intro {display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:end;margin:0 0 36px;}
.mdv-open-intro h2 {margin:0;font-size:clamp(27px,3.2vw,38px);line-height:1.22;font-weight:500;letter-spacing:-.04em;color:#211c18;}
.mdv-open-intro .mdv-eyebrow {margin-bottom:16px;}
.mdv-open-lead {margin:0!important;font-size:17px!important;font-weight:300!important;line-height:1.8!important;color:#6b6058!important;max-width:47ch;text-wrap:pretty;}
.mdv-open-catalog .mdv-course-controls {padding-bottom:22px;margin-bottom:30px;}
/* Shared by the homepage and the open-courses page; override the old Elementor kit. */
body.mdv-design .mdv-site .mdv-filter-tabs {display:flex;align-items:center;gap:4px;flex-wrap:nowrap;width:fit-content;max-width:100%;padding:4px;border:1px solid #eadbd0;border-radius:100px;background:#fffdfb;box-sizing:border-box;}
body.mdv-design .mdv-site .mdv-filter-tabs button {flex:0 1 auto;min-width:0;white-space:nowrap;background:transparent!important;color:#6b6058!important;border:0!important;border-radius:100px!important;padding:10px 16px!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;box-shadow:none!important;}
body.mdv-design .mdv-site .mdv-filter-tabs button[aria-pressed="true"] {background:#29221d!important;color:#fff!important;}
body.mdv-design .mdv-site .mdv-filter-tabs button:hover {color:#a54100!important;}
body.mdv-design .mdv-site .mdv-filter-tabs button[aria-pressed="true"]:hover {color:#fff!important;}
body.mdv-design .mdv-site .mdv-filter-search input {background:#fffdfb!important;color:#29221d!important;border:1px solid #dfc6b1!important;border-radius:100px!important;font-family:inherit!important;font-size:14px!important;box-shadow:none!important;}
body.mdv-design .mdv-open-catalog .mdv-course-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
body.mdv-design .mdv-open-catalog .mdv-open-course {display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid #ecded2;border-top:3px solid #f77b15;border-radius:22px;background:#fffdfb;box-shadow:0 8px 24px #552b0b05;}
body.mdv-design .mdv-open-catalog .mdv-open-course[hidden] {display:none!important;}
.mdv-open-card-top {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;}
.mdv-open-number {font-size:13px;font-weight:500;color:#a9927f;font-variant-numeric:tabular-nums;}
.mdv-open-academy {margin:0 0 12px!important;font-size:12px!important;line-height:1.55!important;font-weight:450!important;color:#8a7666!important;}
body.mdv-design .mdv-open-catalog .mdv-open-course h3 {font-size:22px;font-weight:550;line-height:1.38;letter-spacing:-.025em;margin:0 0 28px;color:#29221d;text-wrap:pretty;}
.mdv-open-course h3 a {color:inherit;text-decoration:none;}
.mdv-open-course h3 a:hover {color:#a94505;}
.mdv-open-date {display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:20px;border-top:1px solid #f0e5dc;}
.mdv-open-calendar {display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#fff0e2;color:#b84b00;font-size:22px;}
.mdv-open-date div {display:grid;gap:2px;}
.mdv-open-date div>span {font-size:11px;line-height:1.5;color:#8b7869;}
.mdv-open-date time {font-size:16px;font-weight:500;line-height:1.5;color:#29221d;font-variant-numeric:tabular-nums;}
.mdv-open-status {font-size:12px!important;line-height:1.65!important;font-weight:350!important;color:#6b6058!important;margin:12px 0 22px!important;}
body.mdv-design .mdv-open-catalog .mdv-course-action {display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0;padding:13px 15px;border-radius:12px;background:#fff0e2;color:#29221d;font-size:14px;font-weight:500;text-decoration:none;}
.mdv-open-catalog .mdv-course-action:hover {background:#ffe4cb;}
.mdv-open-help {display:flex;align-items:center;gap:24px;margin-top:40px;padding:28px 30px;border:1px solid #ecd8c6;border-radius:20px;background:linear-gradient(115deg,#fff0e2,#fffaf5);}
.mdv-open-years {flex-shrink:0;font-size:46px;line-height:1;letter-spacing:-.05em;font-weight:550;color:#211c18;}
.mdv-open-years>span {color:#e96b08;}
.mdv-open-help h2 {margin:0 0 6px;font-size:20px;font-weight:500;line-height:1.35;letter-spacing:-.025em;color:#29221d;}
.mdv-open-help p {margin:0;font-size:15px;font-weight:300;line-height:1.8;color:#6b6058;}
.mdv-open-help>.mdv-text-link {margin-left:auto;flex-shrink:0;font-size:14px;}
@media(max-width:1000px) {
    .mdv-open-intro {gap:32px;}
    body.mdv-design .mdv-open-catalog .mdv-course-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
    .mdv-open-help {flex-wrap:wrap;}
    .mdv-open-help>.mdv-text-link {margin-left:0;}
}
@media(max-width:600px) {
    body.mdv-design .mdv-site .mdv-filter-tabs {width:100%;}
    body.mdv-design .mdv-site .mdv-filter-tabs button {flex:1 1 0;min-height:44px;padding:10px 8px!important;font-size:clamp(11px,3vw,12px)!important;}
    body.mdv-design .mdv-page-content .elementor .elementor-widget-text-editor {font-size:16px!important;line-height:1.8!important;}
    .mdv-open-intro {grid-template-columns:1fr;gap:20px;margin-bottom:26px;}
    .mdv-open-intro h2 {font-size:29px;}
    .mdv-open-lead {font-size:16px!important;}
    body.mdv-design .mdv-open-catalog .mdv-course-grid {grid-template-columns:1fr;gap:20px;}
    body.mdv-design .mdv-open-catalog .mdv-open-course {padding:24px;}
    body.mdv-design .mdv-open-catalog .mdv-open-course h3 {font-size:22px;}
    .mdv-open-help {gap:18px;padding:24px;}
    .mdv-open-years {font-size:40px;}
    .mdv-open-help>div {flex:1;min-width:180px;}
    .mdv-open-help>.mdv-text-link {width:100%;}
}
