/* MDT 1.15.77: approved homepage concept. Loaded only on is_front_page().
 * Component selectors and tokens are scoped to body.mdt-homepage.
 * Shared header/footer markup and navigation JS remain in use. */

/* Adapt the shared WordPress shell without changing other page types. */
body.mdt-homepage .site-header {
    position: relative;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e6eef5;
    backdrop-filter: none;
}
body.mdt-homepage .site-header .nav {
    width: min(1160px, calc(100% - 80px));
    height: auto;
    min-height: 88px;
    gap: 24px;
}
body.mdt-homepage .mika-brand-lockup { gap: 7px; }
body.mdt-homepage .mika-brand-mark { width: 66px; height: 66px; flex-basis: 66px; }
body.mdt-homepage .mika-brand-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
body.mdt-homepage .mika-brand-name {
    font-size: 33px;
    font-weight: 900;
    letter-spacing: .015em;
    line-height: 1.02;
    color: #102044;
}
body.mdt-homepage .mika-brand-subtitle {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.2;
    color: #102044;
}
body.mdt-homepage .nav-links,
body.mdt-homepage .primary-menu { gap: 25px; }
body.mdt-homepage .nav-links a {
    font-size: 1.0625rem;
    font-weight: 650;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
body.mdt-homepage .nav-links a:not(.btn):hover { color: #d41268; }
body.mdt-homepage .nav-account-link {
    padding-left: 20px;
    border-left: 1px solid #e5eaf1;
}
body.mdt-homepage .nav-links .nav-cta {
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 800;
    min-height: 44px;
}
body.mdt-homepage .btn.primary,
body.mdt-homepage .mobile-cta {
    background: #d41268;
    color: #fff;
    box-shadow: 0 8px 20px #d4126823;
}
body.mdt-homepage .btn.primary:hover,
body.mdt-homepage .mobile-cta:hover { background: #b90e59; }
body.mdt-homepage .menu-btn {
    background: #f4f7fb;
    border-radius: 12px;
    min-width: 44px;
    min-height: 44px;
}
body.mdt-homepage > footer {
    background: #102044;
    color: #d4dce9;
    padding: 49px 0 22px;
}
body.mdt-homepage > footer > .container { width: min(1160px, calc(100% - 80px)); }
body.mdt-homepage .footer-grid {
    grid-template-columns: 1.2fr 1.15fr .65fr .85fr;
    gap: 45px;
    padding-bottom: 38px;
}
body.mdt-homepage .footer-logo {
    background: none;
    padding: 0;
    margin: 0 0 16px;
}
body.mdt-homepage .footer-logo .mika-brand-mark {
    background: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    flex-basis: 56px;
}
body.mdt-homepage .footer-logo .mika-brand-name { color: #fff; font-size: 30px; }
body.mdt-homepage .footer-logo .mika-brand-subtitle { color: #fff; font-size: 8px; }
body.mdt-homepage .footer-brand-block > p { font-size: .875rem; line-height: 1.9; color: #bdc8dd; }
body.mdt-homepage .footer-grid > div > h3 {
    font-size: .875rem;
    letter-spacing: 0;
    font-weight: 800;
    margin: 10px 0 18px;
}
body.mdt-homepage .footer-grid > div > a:not(.mika-brand-lockup) {
    font-size: .875rem;
    line-height: 1.6;
    margin: 10px 0;
}
body.mdt-homepage .footer-grid > div > a:not(.mika-brand-lockup):hover { color: #ffb9d6; }
body.mdt-homepage .footer-bottom {
    margin-top: 0;
    padding-top: 20px;
    border-color: #ffffff1e;
    font-size: .875rem;
    color: #b6c3d9;
}
@media (max-width: 1100px) {
    body.mdt-homepage .site-header .nav,
    body.mdt-homepage > footer > .container { width: calc(100% - 48px); }
    body.mdt-homepage .nav-links,
    body.mdt-homepage .primary-menu { gap: 19px; }
    body.mdt-homepage .nav-links .nav-cta { display: none; }
    body.mdt-homepage .footer-grid { gap: 28px; }
}
@media (max-width: 980px) {
    body.mdt-homepage .site-header .nav { min-height: 74px; }
    body.mdt-homepage .nav-links {
        top: 100%;
        left: 0;
        right: 0;
        padding: 16px 23px;
        gap: 0;
        align-items: stretch;
        border: 0;
        border-bottom: 1px solid #e5eaf1;
        border-radius: 0;
        box-shadow: 0 12px 20px #1020440a;
    }
    body.mdt-homepage .primary-menu { gap: 0; align-items: stretch; }
    body.mdt-homepage .primary-menu > li > a { width: 100%; }
    body.mdt-homepage .nav-links a { padding: 7px 5px; min-height: 46px; }
    body.mdt-homepage .nav-account-link {
        border: 0;
        border-top: 1px solid #e5eaf1;
        margin-top: 7px;
        padding-top: 14px;
    }
    body.mdt-homepage .nav-links .nav-cta { display: flex; margin-top: 12px; }
}
@media (max-width: 760px) {
    body.mdt-homepage .site-header .nav,
    body.mdt-homepage > footer > .container { width: calc(100% - 36px); }
    body.mdt-homepage .mika-brand-mark { width: 54px; height: 54px; flex-basis: 54px; }
    body.mdt-homepage .mika-brand-name { font-size: 28px; }
    body.mdt-homepage .mika-brand-subtitle { font-size: 8px; }
    body.mdt-homepage > footer { padding-top: 33px; }
    body.mdt-homepage .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 20px;
        padding-bottom: 25px;
    }
    body.mdt-homepage .footer-brand-block { grid-column: 1 / -1; }
    body.mdt-homepage .footer-grid > div > h3 { margin-top: 0; margin-bottom: 16px; }
    body.mdt-homepage .footer-grid > div > a:not(.mika-brand-lockup) { margin: 12px 0; }
    body.mdt-homepage .footer-bottom { display: block; font-size: .875rem; }
    body.mdt-homepage .footer-bottom > span { display: block; }
    body.mdt-homepage .footer-bottom > span + span { margin-top: 7px; }
}

/* Neutralize inherited element styles where the concept has its own component. */
body.mdt-homepage .mdt-h-eyebrow::before { content: none; }
body.mdt-homepage .mdt-h-hero { padding: 0; }
body.mdt-homepage .mdt-h-hero-actions { margin-bottom: 0; }
body.mdt-homepage .mdt-h-trainer-photo {
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    background: none;
    isolation: isolate;
}
body.mdt-homepage .mdt-h-trainer-layout.mdt-h-trainer-no-photo { grid-template-columns: 1fr; }
body.mdt-homepage .mdt-h-faq-list summary::after { content: none; }
body.mdt-homepage .mdt-h-faq-list details > p { margin-bottom: 0; }

body.mdt-homepage {
    --ink:#102044;
    --copy:#45536c;
    --pink:#d41268;
    --pink-bright:#f22b83;
    --blue:#2d5df6;
    --green:#15835c;
    --line:#e5eaf1;
    --shadow:0 12px 35px rgba(30,52,88,.075);
    --radius:24px;
    --max:1160px;
}

body.mdt-homepage * {
    box-sizing:border-box;
}

body.mdt-homepage {
    margin:0;
    color:var(--ink);
    background:#fff;
    font-family:"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif;
    font-size:1.0625rem;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
}

body.mdt-homepage a {
    color:inherit;
    text-decoration:none;
}

body.mdt-homepage button {
    font:inherit;
}

body.mdt-homepage img {
    display:block;
    max-width:100%;
    height:auto;
}

body.mdt-homepage h1,
body.mdt-homepage h2,
body.mdt-homepage h3,
body.mdt-homepage p {
    margin:0;
}

body.mdt-homepage h1,
body.mdt-homepage h2,
body.mdt-homepage h3 {
    line-height:1.13;
    letter-spacing:-.04em;
}

body.mdt-homepage h1,
body.mdt-homepage h2 {
    font-weight:850;
}

body.mdt-homepage h2 {
    font-size:clamp(30px,3.1vw,42px);
}

body.mdt-homepage h3 {
    font-size:24px;
    font-weight:800;
}

body.mdt-homepage .mdt-h-container {
    width:min(var(--max),calc(100% - 80px));
    margin-inline:auto;
}

body.mdt-homepage .mdt-h-section {
    padding:76px 0;
}

body.mdt-homepage .mdt-h-icon-library {
    position:absolute;
    width:0;
    height:0;
    overflow:hidden;
}

body.mdt-homepage .mdt-h-icon {
    width:22px;
    height:22px;
    display:inline-block;
    flex-shrink:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.85;
    stroke-linecap:round;
    stroke-linejoin:round;
}

body.mdt-homepage .mdt-h-eyebrow {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--pink);
    font-size:.875rem;
    letter-spacing:.11em;
    text-transform:uppercase;
    font-weight:800;
    line-height:1.6;
    margin-bottom:12px;
}

body.mdt-homepage .mdt-h-section-heading {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:30px;
}

body.mdt-homepage .mdt-h-section-intro {
    color:var(--copy);
    max-width:630px;
    margin-top:18px;
    line-height:1.7;
}

body.mdt-homepage .mdt-h-text-link {
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:#234ac4;
    font-size:1rem;
    font-weight:800;
    min-height:44px;
    flex-shrink:0;
}

body.mdt-homepage .mdt-h-text-link .mdt-h-icon {
    width:19px;
}

body.mdt-homepage .mdt-h-text-link:hover {
    color:var(--pink);
}

body.mdt-homepage .mdt-h-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:13px 23px;
    min-height:51px;
    border:1px solid transparent;
    border-radius:999px;
    font-size:1rem;
    font-weight:800;
    line-height:1.5;
    transition:transform .15s,box-shadow .15s,background .15s;
}

body.mdt-homepage .mdt-h-button:hover {
    transform:translateY(-2px);
}

body.mdt-homepage .mdt-h-button-pink {
    background:var(--pink);
    color:#fff;
    box-shadow:0 8px 20px #d4126823;
}

body.mdt-homepage .mdt-h-button-pink:hover {
    background:#b90e59;
    box-shadow:0 12px 24px #d4126833;
}

body.mdt-homepage .mdt-h-button-white {
    background:#fff;
    color:var(--ink);
    border-color:#cddbe8;
    box-shadow:0 4px 12px #14244605;
}

body.mdt-homepage .mdt-h-button-blue {
    background:var(--blue);
    color:#fff;
    box-shadow:0 8px 20px #2d5df62a;
}

body.mdt-homepage a:focus-visible,
body.mdt-homepage button:focus-visible,
body.mdt-homepage summary:focus-visible {
    outline:3px solid var(--blue);
    outline-offset:5px;
}

body.mdt-homepage .mdt-h-hero {
    position:relative;
    overflow:hidden;
    background:#e6f7ff url('../images/mdt-day3-landscape.webp') center bottom/cover no-repeat;
}

body.mdt-homepage .mdt-h-hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(234,248,255,.98) 0%,rgba(236,249,255,.94) 35%,rgba(234,248,255,.61) 57%,rgba(234,248,255,0) 83%);
}

body.mdt-homepage .mdt-h-hero-inner {
    position:relative;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    min-height:590px;
    align-items:center;
    gap:10px;
}

body.mdt-homepage .mdt-h-hero-copy {
    position:relative;
    z-index:2;
    padding:65px 0 80px;
}

body.mdt-homepage .mdt-h-hero-eyebrow {
    display:inline-flex;
    background:#fff9fc;
    border:1px solid #f6d3e4;
    border-radius:999px;
    padding:6px 13px;
    letter-spacing:.07em;
    font-size:.875rem;
    margin-bottom:22px;
}

body.mdt-homepage .mdt-h-hero-eyebrow .mdt-h-icon {
    width:17px;
    height:17px;
    fill:currentColor;
    stroke-width:.5;
}

body.mdt-homepage .mdt-h-hero h1 {
    font-size:clamp(44px,4.9vw,67px);
    max-width:670px;
    line-height:1.03;
    letter-spacing:-.052em;
}

body.mdt-homepage .mdt-h-hero h1 span {
    position:relative;
    isolation:isolate;
}

body.mdt-homepage .mdt-h-hero h1 span::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:9px;
    bottom:5px;
    background:#ffcbe0;
    z-index:-1;
    border-radius:7px;
    transform:rotate(-1deg);
}

body.mdt-homepage .mdt-h-hero-description {
    font-size:1.0625rem;
    max-width:560px;
    line-height:1.75;
    color:#334960;
    margin-top:24px;
}

body.mdt-homepage .mdt-h-hero-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:27px;
}

body.mdt-homepage .mdt-h-hero-trust {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:24px;
    font-size:.875rem;
    font-weight:700;
    color:#2b4856;
}

body.mdt-homepage .mdt-h-hero-trust span {
    display:flex;
    gap:6px;
    align-items:center;
}

body.mdt-homepage .mdt-h-hero-trust .mdt-h-icon {
    width:15px;
    height:15px;
    stroke:var(--green);
    stroke-width:2.4;
}

body.mdt-homepage .mdt-h-hero-art {
    align-self:stretch;
    position:relative;
    min-width:0;
}

body.mdt-homepage .mdt-h-hero-dog {
    position:absolute;
    bottom:-105px;
    left:-3%;
    width:470px;
    max-width:110%;
    height:590px;
    object-fit:contain;
    object-position:center bottom;
    filter:drop-shadow(0 0 1px #fff) drop-shadow(0 15px 14px #183d4e15);
}

body.mdt-homepage .mdt-h-handwritten {
    position:absolute;
    top:62px;
    left:14%;
    font:700 22px/1.1 "Comic Sans MS","Trebuchet MS",cursive;
    transform:rotate(-12deg);
    z-index:1;
}

body.mdt-homepage .mdt-h-handwritten span {
    display:block;
    color:var(--pink);
    font-size:33px;
    margin-left:54px;
    margin-top:4px;
}

body.mdt-homepage .mdt-h-coach-note {
    position:absolute;
    right:-10px;
    bottom:78px;
    display:flex;
    gap:12px;
    align-items:center;
    background:#ffffffed;
    border:1px solid #fff;
    padding:15px 18px;
    border-radius:18px;
    box-shadow:var(--shadow);
    max-width:270px;
    transform:rotate(3deg);
}

body.mdt-homepage .mdt-h-note-icon {
    width:40px;
    height:40px;
    border-radius:50%;
    background:#fff0f6;
    display:grid;
    place-items:center;
    color:var(--pink);
    flex-shrink:0;
}

body.mdt-homepage .mdt-h-coach-note strong {
    display:block;
    font-size:14px;
    font-weight:850;
}

body.mdt-homepage .mdt-h-coach-note small {
    display:block;
    font-size:.875rem;
    line-height:1.5;
    margin-top:3px;
    color:var(--copy);
}

body.mdt-homepage .mdt-h-choice-section {
    position:relative;
    margin-top:-25px;
    z-index:3;
    background:#fff;
    border:1px solid #edf1f5;
    border-radius:27px;
    padding:27px 28px 25px;
    box-shadow:0 13px 35px #10204409;
}

body.mdt-homepage .mdt-h-choice-heading {
    margin-bottom:20px;
    align-items:center;
    gap:20px;
}

body.mdt-homepage .mdt-h-choice-heading .mdt-h-eyebrow {
    font-size:.875rem;
    margin-bottom:4px;
}

body.mdt-homepage .mdt-h-choice-heading h2 {
    font-size:23px;
}

body.mdt-homepage .mdt-h-choice-heading>p {
    font-size:.875rem;
    color:var(--copy);
    text-align:right;
}

body.mdt-homepage .mdt-h-choice-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

body.mdt-homepage .mdt-h-choice-card {
    display:grid;
    grid-template-columns:37px minmax(0,1fr) 17px;
    align-items:center;
    gap:10px;
    background:#fafbfe;
    border:1px solid #e8edf4;
    border-radius:15px;
    padding:14px 10px;
    transition:transform .15s,border-color .15s;
}

body.mdt-homepage .mdt-h-choice-card:hover {
    transform:translateY(-3px);
    border-color:#f0b8d2;
}

body.mdt-homepage .mdt-h-choice-icon {
    width:37px;
    height:37px;
    display:grid;
    place-items:center;
    border-radius:12px;
}

body.mdt-homepage .mdt-h-choice-icon .mdt-h-icon {
    width:21px;
    height:21px;
}

body.mdt-homepage .mdt-h-choice-icon.mdt-h-pink {
    background:#ffe7f1;
    color:#ce1d66;
}

body.mdt-homepage .mdt-h-choice-icon.mdt-h-blue {
    background:#e7efff;
    color:#2e57c4;
}

body.mdt-homepage .mdt-h-choice-icon.mdt-h-green {
    background:#e3f5eb;
    color:#167853;
}

body.mdt-homepage .mdt-h-choice-icon.mdt-h-gold {
    background:#fff2c9;
    color:#8e6310;
}

body.mdt-homepage .mdt-h-choice-card strong {
    display:block;
    font-size:1rem;
    line-height:1.45;
    letter-spacing:-.015em;
}

body.mdt-homepage .mdt-h-choice-card small {
    display:block;
    font-size:.875rem;
    color:#65748d;
    margin-top:4px;
}

body.mdt-homepage .mdt-h-choice-arrow {
    width:16px;
    height:16px;
    color:#64718a;
}

body.mdt-homepage .mdt-h-courses-section {
    padding-top:73px;
    background:linear-gradient(180deg,#fff,#fbfcff);
}

body.mdt-homepage .mdt-h-course-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

body.mdt-homepage .mdt-h-course-card {
    display:flex;
    flex-direction:column;
    border:1px solid #e4eaf1;
    border-radius:var(--radius);
    background:#fff;
    overflow:hidden;
    box-shadow:var(--shadow);
    scroll-margin-top:28px;
    transition:transform .18s,box-shadow .18s;
}

body.mdt-homepage .mdt-h-course-card:hover {
    transform:translateY(-5px);
    box-shadow:0 18px 38px #1e345819;
}

body.mdt-homepage .mdt-h-course-card:target {
    outline:3px solid #e895ba;
    outline-offset:6px;
}

body.mdt-homepage .mdt-h-course-image {
    position:relative;
    display:block;
    aspect-ratio:1.65;
    overflow:hidden;
}

body.mdt-homepage .mdt-h-course-image>img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s;
}

body.mdt-homepage .mdt-h-course-card:hover .mdt-h-course-image>img {
    transform:scale(1.035);
}

body.mdt-homepage .mdt-h-image-label {
    position:absolute;
    bottom:14px;
    left:16px;
    background:#fffffff5;
    border-radius:999px;
    font-size:.875rem;
    line-height:1.4;
    padding:6px 11px;
    font-weight:800;
    color:#273b59;
}

body.mdt-homepage .mdt-h-course-body {
    padding:23px 23px 18px;
    display:flex;
    flex-direction:column;
    flex:1;
}

body.mdt-homepage .mdt-h-course-body h3 {
    font-size:25px;
    letter-spacing:-.045em;
    min-height:57px;
}

body.mdt-homepage .mdt-h-course-body>p {
    font-size:1.0625rem;
    line-height:1.8;
    color:var(--copy);
    margin-top:14px;
}

body.mdt-homepage .mdt-h-course-tags {
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin:20px 0 19px;
    padding-top:4px;
}

body.mdt-homepage .mdt-h-course-tags span {
    padding:4px 8px;
    background:#f0f5fb;
    border-radius:6px;
    font-size:.875rem;
    line-height:1.6;
    color:#3e5472;
    font-weight:700;
}

body.mdt-homepage .mdt-h-course-link {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:47px;
    font-size:1rem;
    font-weight:800;
    border-top:1px solid #e9edf3;
    margin-top:auto;
    color:#274dcc;
    padding-top:12px;
}

body.mdt-homepage .mdt-h-course-link .mdt-h-icon {
    width:18px;
}

body.mdt-homepage .mdt-h-course-link:hover {
    color:var(--pink);
}

body.mdt-homepage .mdt-h-more-course-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    margin-top:23px;
    scroll-margin-top:24px;
}

body.mdt-homepage .mdt-h-compact-course {
    display:grid;
    grid-template-columns:140px 1fr;
    gap:20px;
    background:#fff;
    border:1px solid #e4eaf1;
    border-radius:22px;
    padding:14px;
    align-items:stretch;
}

body.mdt-homepage .mdt-h-compact-course>.mdt-h-compact-media {
    width:100%;
    height:100%;
    min-height:180px;
    object-fit:cover;
    border-radius:13px;
}

body.mdt-homepage .mdt-h-compact-course>div:not(.mdt-h-compact-media) {
    padding:5px 5px 0 0;
    display:flex;
    flex-direction:column;
    min-width:0;
}

body.mdt-homepage .mdt-h-compact-course .mdt-h-eyebrow {
    font-size:.875rem;
    margin-bottom:6px;
}

body.mdt-homepage .mdt-h-compact-course h3 {
    font-size:22px;
}

body.mdt-homepage .mdt-h-compact-course p:not(.mdt-h-eyebrow) {
    font-size:1.0625rem;
    color:var(--copy);
    line-height:1.75;
    margin-top:9px;
}

body.mdt-homepage .mdt-h-compact-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
    padding-top:10px;
}

body.mdt-homepage .mdt-h-compact-bottom>span {
    font-size:.875rem;
    color:#5a6a83;
}

body.mdt-homepage .mdt-h-round-link {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    flex-shrink:0;
    border-radius:50%;
    background:#eef3ff;
    color:#254dc8;
}

body.mdt-homepage .mdt-h-round-link .mdt-h-icon {
    width:17px;
}

body.mdt-homepage .mdt-h-round-link:hover {
    background:#fce7f0;
    color:var(--pink);
}

body.mdt-homepage .mdt-h-method-section {
    background:linear-gradient(130deg,#f0f9ff,#f8f6ff 60%,#fff5f9);
    position:relative;
    border-top:1px solid #e6eff6;
    border-bottom:1px solid #e6eff6;
}

body.mdt-homepage .mdt-h-center-heading {
    text-align:center;
    max-width:660px;
    margin:0 auto 38px;
}

body.mdt-homepage .mdt-h-center-heading .mdt-h-eyebrow {
    justify-content:center;
}

body.mdt-homepage .mdt-h-center-heading>p:last-child {
    font-size:1.0625rem;
    line-height:1.8;
    color:var(--copy);
    margin-top:18px;
}

body.mdt-homepage .mdt-h-method-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:25px;
    position:relative;
}

body.mdt-homepage .mdt-h-method-grid::before {
    content:"";
    position:absolute;
    top:47px;
    left:16%;
    right:16%;
    border-top:2px dashed #d6bfd7;
}

body.mdt-homepage .mdt-h-method-card {
    position:relative;
    text-align:center;
    background:#ffffffd9;
    border:1px solid #fff;
    border-radius:24px;
    padding:25px 27px 29px;
    z-index:1;
}

body.mdt-homepage .mdt-h-step-number {
    position:absolute;
    top:14px;
    left:16px;
    display:grid;
    place-items:center;
    width:27px;
    height:27px;
    background:#ffe3ee;
    color:#b5155a;
    border:3px solid #fff;
    border-radius:50%;
    font-size:12px;
    font-weight:850;
}

body.mdt-homepage .mdt-h-method-icon {
    display:grid;
    place-items:center;
    width:61px;
    height:61px;
    margin:0 auto 19px;
    border-radius:20px;
    background:#fff0c2;
    color:#87601c;
    transform:rotate(-6deg);
    box-shadow:0 5px 12px #aa7a0b0a;
}

body.mdt-homepage .mdt-h-method-icon .mdt-h-icon {
    width:27px;
    height:27px;
    transform:rotate(6deg);
}

body.mdt-homepage .mdt-h-method-card h3 {
    font-size:22px;
}

body.mdt-homepage .mdt-h-method-card>p {
    font-size:1.0625rem;
    line-height:1.85;
    color:var(--copy);
    margin-top:13px;
}

body.mdt-homepage .mdt-h-method-footnote {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:27px;
    font-size:.875rem;
    color:#45645c;
    font-weight:650;
}

body.mdt-homepage .mdt-h-method-footnote .mdt-h-icon {
    color:var(--green);
    width:17px;
    height:17px;
}

body.mdt-homepage .mdt-h-trainer-section {
    padding-top:85px;
    padding-bottom:85px;
}

body.mdt-homepage .mdt-h-trainer-layout {
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:82px;
    align-items:center;
}

body.mdt-homepage .mdt-h-trainer-photo {
    position:relative;
    max-width:440px;
    margin-right:20px;
}

body.mdt-homepage .mdt-h-trainer-photo::before {
    content:"";
    position:absolute;
    inset:-12px 12px 14px -12px;
    background:#e9f6ef;
    border-radius:30px;
    transform:rotate(-3deg);
    z-index:-1;
}

body.mdt-homepage .mdt-h-trainer-photo>img {
    width:100%;
    height:375px;
    object-fit:cover;
    object-position:50% 33%;
    border-radius:26px;
}

body.mdt-homepage .mdt-h-trainer-badge {
    position:absolute;
    right:-27px;
    bottom:20px;
    display:flex;
    gap:12px;
    align-items:center;
    background:#fff;
    border:1px solid #f4e9e5;
    border-radius:17px;
    padding:14px 19px;
    box-shadow:var(--shadow);
    font-size:.875rem;
    line-height:1.6;
}

body.mdt-homepage .mdt-h-trainer-badge>.mdt-h-icon {
    width:35px;
    height:35px;
    color:#cb2469;
    fill:#cb2469;
    stroke-width:.25;
}

body.mdt-homepage .mdt-h-trainer-lead {
    font-size:1.0625rem;
    line-height:1.85;
    color:var(--copy);
    margin-top:23px;
}

body.mdt-homepage .mdt-h-trainer-points {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:23px 0 27px;
    font-size:.875rem;
    font-weight:650;
}

body.mdt-homepage .mdt-h-trainer-points span {
    display:flex;
    align-items:center;
    gap:9px;
}

body.mdt-homepage .mdt-h-trainer-points .mdt-h-icon {
    width:17px;
    height:17px;
    color:var(--green);
}

body.mdt-homepage .mdt-h-articles-section {
    background:#fbfcfe;
    border-top:1px solid #eef2f6;
    border-bottom:1px solid #eef2f6;
}

body.mdt-homepage .mdt-h-article-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

body.mdt-homepage .mdt-h-article-card {
    display:flex;
    flex-direction:column;
    background:white;
    border-radius:22px;
    border:1px solid #e4eaf1;
    overflow:hidden;
}

body.mdt-homepage .mdt-h-article-image {
    display:block;
    aspect-ratio:1.8;
}

body.mdt-homepage .mdt-h-article-image>img {
    height:100%;
    width:100%;
    object-fit:cover;
}

body.mdt-homepage .mdt-h-article-card>div {
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

body.mdt-homepage .mdt-h-article-category {
    color:var(--pink);
    font-size:.875rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:11px;
}

body.mdt-homepage .mdt-h-article-card h3 {
    font-size:22px;
    line-height:1.25;
}

body.mdt-homepage .mdt-h-article-card p {
    font-size:1.0625rem;
    color:var(--copy);
    line-height:1.8;
    margin-top:14px;
}

body.mdt-homepage .mdt-h-article-card .mdt-h-text-link {
    font-size:1rem;
    justify-content:space-between;
    margin-top:auto;
    padding-top:22px;
    min-height:55px;
}

body.mdt-homepage .mdt-h-faq-layout {
    display:grid;
    grid-template-columns:.75fr 1.25fr;
    gap:70px;
    align-items:start;
}

body.mdt-homepage .mdt-h-faq-layout .mdt-h-text-link {
    margin-top:17px;
}

body.mdt-homepage .mdt-h-faq-list {
    border-top:1px solid var(--line);
}

body.mdt-homepage .mdt-h-faq-list details {
    border-bottom:1px solid var(--line);
    padding:0 0 0 0;
}

body.mdt-homepage .mdt-h-faq-list summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    font-size: 1.0625rem;
    font-weight:750;
    padding:21px 0;
    cursor:pointer;
    line-height:1.5;
    list-style:none;
}

body.mdt-homepage .mdt-h-faq-list summary::-webkit-details-marker {
    display:none;
}

body.mdt-homepage .mdt-h-faq-list summary>span {
    display:grid;
    place-items:center;
    color:var(--pink);
    font-size:23px;
    font-weight:400;
    flex-shrink:0;
    width:26px;
}

body.mdt-homepage .mdt-h-faq-list details[open] summary>span {
    transform:rotate(45deg);
}

body.mdt-homepage .mdt-h-faq-list details>p {
    color:var(--copy);
    font-size: 1.0625rem;
    line-height:1.9;
    padding:0 36px 23px 0;
}

body.mdt-homepage .mdt-h-final-section {
    padding-top:0;
    padding-bottom:24px;
}

body.mdt-homepage .mdt-h-final-cta {
    text-align:center;
    position:relative;
    overflow:hidden;
    background:linear-gradient(125deg,#eaf7ff,#f4f0ff 55%,#fff0f6);
    border:1px solid #e8e9f3;
    border-radius:30px;
    padding:45px 30px 48px;
}

body.mdt-homepage .mdt-h-final-cta .mdt-h-eyebrow {
    justify-content:center;
}

body.mdt-homepage .mdt-h-final-cta h2 {
    font-size:clamp(30px,3.3vw,44px);
    line-height:1.13;
}

body.mdt-homepage .mdt-h-final-cta>p:not(.mdt-h-eyebrow) {
    color:var(--copy);
    font-size:1.0625rem;
    line-height:1.8;
    max-width:620px;
    margin:21px auto 26px;
}

body.mdt-homepage .mdt-h-final-paw {
    display:grid;
    place-items:center;
    width:49px;
    height:49px;
    border-radius:50%;
    background:#fff;
    border:1px solid #fff;
    box-shadow:0 4px 12px #d412680a;
    margin:0 auto 16px;
}

body.mdt-homepage .mdt-h-final-paw .mdt-h-icon {
    width:26px;
    height:26px;
    fill:#d41268;
    stroke:#d41268;
    stroke-width:.5;
}

body.mdt-homepage .mdt-h-returning-students {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 0 35px;
    font-size:.875rem;
    color:var(--copy);
}

body.mdt-homepage .mdt-h-returning-students>.mdt-h-icon {
    width:17px;
    height:17px;
}

body.mdt-homepage .mdt-h-returning-students a {
    color:#254cc7;
    font-weight:750;
    text-decoration:underline;
    text-underline-offset:3px;
}

@media(min-width:1450px) {
    body.mdt-homepage .mdt-h-hero-inner {
        min-height:610px;
    }

    body.mdt-homepage .mdt-h-hero h1 {
        font-size:68px;
    }

}

@media(max-width:1100px) {
    body.mdt-homepage .mdt-h-container {
        width:calc(100% - 48px);
    }

    body.mdt-homepage .mdt-h-hero-inner {
        grid-template-columns:1.2fr .8fr;
        min-height:560px;
    }

    body.mdt-homepage .mdt-h-hero h1 {
        font-size:54px;
    }

    body.mdt-homepage .mdt-h-hero-dog {
        left:-20%;
        max-width:125%;
        height:520px;
        bottom:-65px;
    }

    body.mdt-homepage .mdt-h-coach-note {
        right:-4px;
        max-width:230px;
        padding:12px;
        bottom:62px;
    }

    body.mdt-homepage .mdt-h-handwritten {
        left:12%;
        font-size:19px;
        top:48px;
    }

    body.mdt-homepage .mdt-h-hero-description {
        font-size:1.0625rem;
    }

    body.mdt-homepage .mdt-h-hero-trust {
        font-size:.875rem;
        gap:12px;
    }

    body.mdt-homepage .mdt-h-choice-section {
        padding:23px;
    }

    body.mdt-homepage .mdt-h-choice-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    body.mdt-homepage .mdt-h-choice-card {
        padding:14px;
    }

    body.mdt-homepage .mdt-h-choice-card strong {
        font-size:1rem;
    }

    body.mdt-homepage .mdt-h-choice-card small {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-course-grid {
        gap:16px;
    }

    body.mdt-homepage .mdt-h-course-body {
        padding:20px 18px 14px;
    }

    body.mdt-homepage .mdt-h-course-body h3 {
        font-size:22px;
        min-height:51px;
    }

    body.mdt-homepage .mdt-h-more-course-grid {
        gap:16px;
    }

    body.mdt-homepage .mdt-h-compact-course {
        grid-template-columns:110px 1fr;
        gap:14px;
        padding:12px;
    }

    body.mdt-homepage .mdt-h-compact-course h3 {
        font-size:21px;
    }

    body.mdt-homepage .mdt-h-trainer-layout {
        gap:45px;
    }

    body.mdt-homepage .mdt-h-trainer-photo {
        margin-right:10px;
    }

    body.mdt-homepage .mdt-h-trainer-copy h2 {
        font-size:34px;
    }

}

@media(max-width:760px) {
    body.mdt-homepage .mdt-h-container {
        width:calc(100% - 36px);
    }

    body.mdt-homepage .mdt-h-section {
        padding:48px 0;
    }

    body.mdt-homepage .mdt-h-hero-inner {
        grid-template-columns:1fr;
        gap:0;
        min-height:0;
    }

    body.mdt-homepage .mdt-h-hero::before {
        background:linear-gradient(180deg,rgba(235,249,255,.99),rgba(235,249,255,.94) 40%,rgba(235,249,255,.05) 100%);
    }

    body.mdt-homepage .mdt-h-hero {
        background-position:64% bottom;
        background-size:auto 520px;
        background-color:#e7f7ff;
    }

    body.mdt-homepage .mdt-h-hero-copy {
        padding:38px 0 0;
    }

    body.mdt-homepage .mdt-h-hero-eyebrow {
        font-size:.875rem;
        padding:5px 10px;
        margin-bottom:19px;
    }

    body.mdt-homepage .mdt-h-hero h1 {
        font-size:45px;
        max-width:570px;
        line-height:1.05;
        letter-spacing:-.045em;
    }

    body.mdt-homepage .mdt-h-hero h1 span::after {
        height:7px;
        bottom:3px;
    }

    body.mdt-homepage .mdt-h-hero-description {
        font-size:1.0625rem;
        line-height:1.8;
        margin-top:20px;
        max-width:550px;
    }

    body.mdt-homepage .mdt-h-hero-actions {
        gap:10px;
        margin-top:23px;
    }

    body.mdt-homepage .mdt-h-hero-actions .mdt-h-button {
        font-size:1rem;
        padding:12px 18px;
        min-height:49px;
    }

    body.mdt-homepage .mdt-h-hero-trust {
        gap:12px;
        font-size:.875rem;
        margin-top:19px;
    }

    body.mdt-homepage .mdt-h-hero-trust .mdt-h-icon {
        width:13px;
        height:13px;
    }

    body.mdt-homepage .mdt-h-hero-art {
        height:270px;
        min-height:270px;
        margin:0 -18px;
    }

    body.mdt-homepage .mdt-h-hero-dog {
        left:48%;
        bottom:-99px;
        height:370px;
        width:310px;
        max-width:none;
        transform:translateX(-50%);
    }

    body.mdt-homepage .mdt-h-handwritten {
        top:40px;
        left:12%;
        font-size:18px;
        width:90px;
    }

    body.mdt-homepage .mdt-h-handwritten span {
        font-size:25px;
        margin-left:25px;
    }

    body.mdt-homepage .mdt-h-coach-note {
        right:17px;
        bottom:55px;
        max-width:175px;
        padding:10px;
        gap:8px;
        border-radius:14px;
        transform:rotate(3deg);
    }

    body.mdt-homepage .mdt-h-note-icon {
        width:30px;
        height:30px;
    }

    body.mdt-homepage .mdt-h-note-icon .mdt-h-icon {
        width:17px;
        height:17px;
    }

    body.mdt-homepage .mdt-h-coach-note strong {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-coach-note small {
        font-size:.875rem;
        line-height:1.5;
    }

    body.mdt-homepage .mdt-h-choice-section {
        padding:22px 16px 16px;
        border-radius:22px;
        margin-top:-18px;
    }

    body.mdt-homepage .mdt-h-choice-heading {
        display:block;
        margin-bottom:17px;
    }

    body.mdt-homepage .mdt-h-choice-heading .mdt-h-eyebrow {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-choice-heading h2 {
        font-size:22px;
        max-width:250px;
    }

    body.mdt-homepage .mdt-h-choice-heading>p {
        text-align:left;
        font-size:.875rem;
        margin-top:9px;
    }

    body.mdt-homepage .mdt-h-choice-grid {
        gap:8px;
        grid-template-columns:1fr;
    }

    body.mdt-homepage .mdt-h-choice-card {
        padding:12px;
        gap:12px;
        grid-template-columns:37px minmax(0,1fr) 17px;
    }

    body.mdt-homepage .mdt-h-choice-card strong {
        font-size:1rem;
    }

    body.mdt-homepage .mdt-h-choice-card small {
        font-size:.875rem;
        margin-top:1px;
    }

    body.mdt-homepage .mdt-h-section-heading {
        display:block;
        margin-bottom:24px;
    }

    body.mdt-homepage .mdt-h-section-heading h2 {
        font-size:31px;
    }

    body.mdt-homepage .mdt-h-section-heading>.mdt-h-text-link {
        margin-top:15px;
    }

    body.mdt-homepage .mdt-h-section-intro {
        font-size:1.0625rem;
        margin-top:15px;
    }

    body.mdt-homepage .mdt-h-desktop-break {
        display:none;
    }

    body.mdt-homepage .mdt-h-course-grid {
        grid-template-columns:1fr;
        gap:21px;
    }

    body.mdt-homepage .mdt-h-course-image {
        aspect-ratio:1.65;
    }

    body.mdt-homepage .mdt-h-course-body {
        padding:22px;
    }

    body.mdt-homepage .mdt-h-course-body h3 {
        font-size:26px;
        min-height:0;
    }

    body.mdt-homepage .mdt-h-course-body>p {
        font-size:1.0625rem;
        line-height:1.8;
    }

    body.mdt-homepage .mdt-h-course-tags {
        margin-top:17px;
    }

    body.mdt-homepage .mdt-h-course-tags span {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-course-link {
        font-size:1rem;
    }

    body.mdt-homepage .mdt-h-more-course-grid {
        grid-template-columns:1fr;
        gap:15px;
        margin-top:21px;
    }

    body.mdt-homepage .mdt-h-compact-course {
        grid-template-columns:94px 1fr;
        gap:14px;
        padding:11px;
        border-radius:20px;
    }

    body.mdt-homepage .mdt-h-compact-course>.mdt-h-compact-media {
        min-height:190px;
    }

    body.mdt-homepage .mdt-h-compact-course .mdt-h-eyebrow {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-compact-course h3 {
        font-size:21px;
    }

    body.mdt-homepage .mdt-h-compact-course p:not(.mdt-h-eyebrow) {
        font-size:1.0625rem;
        line-height:1.7;
    }

    body.mdt-homepage .mdt-h-compact-bottom>span {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-round-link {
        width:34px;
        height:34px;
    }

    body.mdt-homepage .mdt-h-center-heading {
        margin-bottom:26px;
    }

    body.mdt-homepage .mdt-h-center-heading h2 {
        font-size:31px;
    }

    body.mdt-homepage .mdt-h-center-heading>p:last-child {
        font-size:1.0625rem;
        line-height:1.8;
        margin-top:15px;
    }

    body.mdt-homepage .mdt-h-method-grid {
        grid-template-columns:1fr;
        gap:15px;
    }

    body.mdt-homepage .mdt-h-method-grid::before {
        top:10%;
        bottom:10%;
        left:50%;
        right:auto;
        border-top:0;
        border-left:2px dashed #d6bfd7;
    }

    body.mdt-homepage .mdt-h-method-card {
        padding:23px 27px;
    }

    body.mdt-homepage .mdt-h-method-icon {
        width:53px;
        height:53px;
        border-radius:16px;
        margin-bottom:15px;
    }

    body.mdt-homepage .mdt-h-method-card h3 {
        font-size:23px;
    }

    body.mdt-homepage .mdt-h-method-card>p {
        font-size:1.0625rem;
    }

    body.mdt-homepage .mdt-h-method-footnote {
        font-size:.875rem;
        gap:6px;
        flex-wrap:wrap;
        margin-top:22px;
    }

    body.mdt-homepage .mdt-h-trainer-layout {
        grid-template-columns:1fr;
        gap:41px;
    }

    body.mdt-homepage .mdt-h-trainer-photo {
        margin:5px 13px 0;
        max-width:none;
    }

    body.mdt-homepage .mdt-h-trainer-photo>img {
        height:305px;
    }

    body.mdt-homepage .mdt-h-trainer-badge {
        right:-9px;
        bottom:17px;
        font-size:.875rem;
        padding:12px 16px;
    }

    body.mdt-homepage .mdt-h-trainer-badge>.mdt-h-icon {
        width:29px;
        height:29px;
    }

    body.mdt-homepage .mdt-h-trainer-copy h2 {
        font-size:33px;
    }

    body.mdt-homepage .mdt-h-trainer-lead {
        font-size:1.0625rem;
        margin-top:17px;
    }

    body.mdt-homepage .mdt-h-trainer-points {
        font-size:.875rem;
        gap:8px;
        margin:20px 0 23px;
    }

    body.mdt-homepage .mdt-h-article-grid {
        grid-template-columns:1fr;
        gap:19px;
    }

    body.mdt-homepage .mdt-h-article-card>div {
        padding:21px;
    }

    body.mdt-homepage .mdt-h-article-card h3 {
        font-size:24px;
    }

    body.mdt-homepage .mdt-h-article-image {
        aspect-ratio:1.8;
    }

    body.mdt-homepage .mdt-h-article-card p {
        font-size:1.0625rem;
    }

    body.mdt-homepage .mdt-h-article-category {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-article-card .mdt-h-text-link {
        font-size:1rem;
        padding-top:16px;
    }

    body.mdt-homepage .mdt-h-faq-layout {
        grid-template-columns:1fr;
        gap:25px;
    }

    body.mdt-homepage .mdt-h-faq-layout h2 {
        font-size:33px;
    }

    body.mdt-homepage .mdt-h-faq-layout .mdt-h-section-intro {
        margin-top:12px;
    }

    body.mdt-homepage .mdt-h-faq-layout .mdt-h-text-link {
        margin-top:10px;
    }

    body.mdt-homepage .mdt-h-faq-list summary {
        font-size: 1.0625rem;
        gap:15px;
        padding:20px 0;
    }

    body.mdt-homepage .mdt-h-faq-list details>p {
        font-size: 1.0625rem;
        padding-right:20px;
    }

    body.mdt-homepage .mdt-h-final-section {
        padding-top:0;
        padding-bottom:19px;
    }

    body.mdt-homepage .mdt-h-final-cta {
        border-radius:24px;
        padding:31px 20px 33px;
    }

    body.mdt-homepage .mdt-h-final-cta h2 {
        font-size:29px;
    }

    body.mdt-homepage .mdt-h-final-cta .mdt-h-eyebrow {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-final-cta>p:not(.mdt-h-eyebrow) {
        font-size:1.0625rem;
        line-height:1.9;
        margin:18px auto 23px;
    }

    body.mdt-homepage .mdt-h-returning-students {
        font-size:.875rem;
        align-items:flex-start;
        text-align:center;
        gap:7px;
        padding-bottom:27px;
    }

    body.mdt-homepage .mdt-h-returning-students .mdt-h-icon {
        display:none;
    }

}

@media(max-width:350px) {
    body.mdt-homepage .mdt-h-hero h1 {
        font-size:39px;
    }

    body.mdt-homepage .mdt-h-hero-actions .mdt-h-button {
        width:100%;
    }

    body.mdt-homepage .mdt-h-hero-trust {
        gap:8px;
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-choice-card strong {
        font-size:1rem;
    }

    body.mdt-homepage .mdt-h-coach-note {
        max-width:160px;
        right:10px;
    }

    body.mdt-homepage .mdt-h-handwritten {
        left:7%;
    }

    body.mdt-homepage .mdt-h-compact-course {
        grid-template-columns:80px 1fr;
        gap:10px;
    }

    body.mdt-homepage .mdt-h-compact-course>.mdt-h-compact-media {
        min-height:210px;
    }

    body.mdt-homepage .mdt-h-compact-bottom {
        gap:5px;
    }

    body.mdt-homepage .mdt-h-compact-bottom>span {
        font-size:.875rem;
    }

    body.mdt-homepage .mdt-h-course-body {
        padding:19px;
    }

    body.mdt-homepage .mdt-h-final-cta h2 {
        font-size:26px;
    }

}

@media(prefers-reduced-motion:reduce) {
    body.mdt-homepage *,
    body.mdt-homepage *::before,
    body.mdt-homepage *::after {
        transition:none!important;
    }

}


/* Keep both attachment images and empty-image fallbacks in the same crop. */
body.mdt-homepage .mdt-h-compact-media {
    overflow: hidden;
    padding: 0;
}
body.mdt-homepage .mdt-h-compact-media > img,
body.mdt-homepage .mdt-h-compact-media > .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.mdt-homepage .mdt-h-course-image > .image-placeholder {
    position: absolute;
    inset: 0;
}
body.mdt-homepage .mdt-h-hero-copy { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.mdt-homepage .mdt-h-course-card:hover,
    body.mdt-homepage .mdt-h-choice-card:hover,
    body.mdt-homepage .mdt-h-button:hover,
    body.mdt-homepage .mdt-h-course-card:hover .mdt-h-course-image > img { transform: none; }
}

/* MDT v1.15.77 - preserve text sizes on small screens; let the layout grow. */
body.mdt-homepage .nav-links,
body.mdt-homepage .primary-menu { gap:20px; }
body.mdt-homepage .mdt-h-section-heading { flex-wrap:wrap; }
body.mdt-homepage .mdt-h-section-heading > div { min-width:0; max-width:100%; }
body.mdt-homepage .mdt-h-choice-card {
    min-height:112px;
    padding:16px 14px;
}
body.mdt-homepage .mdt-h-choice-card > span { min-width:0; }
body.mdt-homepage .mdt-h-choice-card small { line-height:1.5; }
body.mdt-homepage .mdt-h-hero-eyebrow { max-width:100%; }
body.mdt-homepage .mdt-h-course-tags { gap:8px; }
body.mdt-homepage .mdt-h-course-tags span { padding:5px 9px; }
body.mdt-homepage .mdt-h-course-link { line-height:1.5; min-height:52px; }
body.mdt-homepage .mdt-h-compact-bottom > span { line-height:1.6; }
body.mdt-homepage .mdt-h-image-label { max-width:calc(100% - 32px); }
body.mdt-homepage .mdt-h-returning-students > p { min-width:0; }
body.mdt-homepage .mdt-h-faq-list summary { line-height:1.5; }
body.mdt-homepage .footer-bottom { flex-wrap:wrap; line-height:1.65; }
@media (max-width:1100px) {
    body.mdt-homepage .nav-links,
    body.mdt-homepage .primary-menu { gap:18px; }
}
@media (max-width:980px) {
    body.mdt-homepage .nav-links,
    body.mdt-homepage .primary-menu { gap:0; }
}
@media (max-width:760px) {
    body.mdt-homepage .mdt-h-choice-card { min-height:104px; }
    body.mdt-homepage .mdt-h-hero-actions .mdt-h-button { flex:1 1 240px; }
    body.mdt-homepage .mdt-h-hero-art { min-height:300px; height:300px; }
    body.mdt-homepage .mdt-h-coach-note { max-width:220px; bottom:24px; }
    body.mdt-homepage .mdt-h-compact-course { grid-template-columns:minmax(0,1fr); }
    body.mdt-homepage .mdt-h-compact-course > .mdt-h-compact-media {
        min-height:0;
        height:auto;
        aspect-ratio:1.8;
    }
    body.mdt-homepage .mdt-h-compact-course > div:not(.mdt-h-compact-media) { padding:8px; }
    body.mdt-homepage .mdt-h-compact-bottom { padding-top:16px; }
}

/* MDT v1.15.79 - user-provided homepage artwork, 168px PNGs at 56px. */
body.mdt-homepage .mdt-h-choice-card {
    grid-template-columns:56px minmax(0,1fr) 17px;
}
body.mdt-homepage .mdt-h-choice-icon {
    width:56px;
    height:56px;
    border-radius:0;
    background:transparent;
}
body.mdt-homepage .mdt-h-choice-image,
body.mdt-homepage .mdt-h-method-image {
    display:block;
    width:56px;
    height:56px;
    max-width:none;
    object-fit:contain;
}
body.mdt-homepage .mdt-h-method-icon {
    width:64px;
    height:64px;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    transform:none;
}
