/* MDT 1.15.80 - public course catalogue and sales pages only.
 * Loaded after site.css for recognised WordPress sales/library pages.
 * LearnDash learning pages never receive these presentation classes. */

body.mdt-catalogue-page,
body.mdt-sales-page {
    background:#fff;
    color:#102044;
    font-family:"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif;
    font-size:1.0625rem;
    line-height:1.7;
}
body.mdt-catalogue-page .container,
body.mdt-sales-page .container { width:min(1160px,calc(100% - 80px)); }
body.mdt-catalogue-page .section,
body.mdt-sales-page .section { padding:72px 0; }
body.mdt-catalogue-page .section.compact,
body.mdt-sales-page .section.compact { padding:48px 0; }
body.mdt-catalogue-page .section.cream,
body.mdt-sales-page .section.cream { background:#f6f9ff; }
body.mdt-catalogue-page .section.mint,
body.mdt-sales-page .section.mint { background:#eff9f4; }
body.mdt-catalogue-page .eyebrow,
body.mdt-sales-page .eyebrow { color:#d41268; font-size:.875rem; }
body.mdt-catalogue-page .eyebrow::before,
body.mdt-sales-page .eyebrow::before { background:#d41268; }
body.mdt-catalogue-page .lead,
body.mdt-sales-page .lead { color:#45536c; font-size:1.125rem; line-height:1.75; }
body.mdt-catalogue-page .btn,
body.mdt-sales-page .btn {
    min-height:52px;
    padding:13px 22px;
    font-size:1rem;
    font-weight:800;
    line-height:1.5;
    white-space:normal;
}
body.mdt-catalogue-page .btn.primary,
body.mdt-sales-page .btn.primary:not(.is-disabled):not(:disabled):not([aria-disabled="true"]) {
    color:#fff;
    background:#d41268;
    box-shadow:0 8px 20px #d4126823;
}
body.mdt-catalogue-page .btn.primary:hover,
body.mdt-sales-page .btn.primary:not(.is-disabled):not(:disabled):not([aria-disabled="true"]):hover { background:#b90e59; }
body.mdt-catalogue-page .btn.secondary,
body.mdt-sales-page .btn.secondary {
    color:#102044;
    background:#fff;
    border-color:#ccd8e8;
    box-shadow:0 4px 12px #14244605;
}
body.mdt-catalogue-page .btn:focus-visible,
body.mdt-catalogue-page .mini-course:focus-visible,
body.mdt-sales-page .btn:focus-visible,
body.mdt-sales-page .course-anchor-inner a:focus-visible,
body.mdt-sales-page .sales-card-link:focus-visible,
body.mdt-sales-page summary:focus-visible {
    outline:3px solid #2d5df6;
    outline-offset:5px;
}

/* Catalogue: keep the four groups, publication filter and destinations. */
body.mdt-catalogue-page .page-hero {
    padding:72px 0 68px;
    border-bottom:1px solid #e5edf5;
    background:linear-gradient(120deg,#eaf7ff,#f3f4ff 60%,#fff1f7);
}
body.mdt-catalogue-page .page-hero h1 {
    font-size:clamp(2.5rem,5vw,3.75rem);
    line-height:1.08;
    letter-spacing:-.04em;
}
body.mdt-catalogue-page .mdt-catalogue-chooser { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-top:26px; }
body.mdt-catalogue-page .mdt-catalogue-chooser p { margin:0; font-size:1rem; color:#45536c; }
body.mdt-catalogue-page .mdt-catalogue-chooser .btn { gap:12px; }
body.mdt-catalogue-page .category-layout {
    grid-template-columns:minmax(240px,.7fr) minmax(0,1.7fr);
    gap:44px;
}
body.mdt-catalogue-page .category-intro h2 { font-size:clamp(1.875rem,3vw,2.375rem); line-height:1.15; }
body.mdt-catalogue-page .category-intro p { color:#45536c; line-height:1.8; }
body.mdt-catalogue-page .mdt-catalogue-category-icon { display:block; width:56px; height:56px; margin-bottom:18px; }
body.mdt-catalogue-page .mdt-catalogue-category-icon img { display:block; width:56px; height:56px; object-fit:contain; }
body.mdt-catalogue-page .category-course-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
body.mdt-catalogue-page .category-course-list.mdt-catalogue-count-1 { grid-template-columns:minmax(0,1fr); max-width:520px; }
body.mdt-catalogue-page .mini-course.mdt-catalogue-card {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    min-width:0;
    padding:0;
    overflow:hidden;
    border:1px solid #e4eaf1;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 35px #1e345813;
}
body.mdt-catalogue-page .mini-course.mdt-catalogue-card:hover {
    border-color:#edbfd4;
    transform:translateY(-3px);
    box-shadow:0 16px 38px #1e34581c;
}
body.mdt-catalogue-page .mdt-catalogue-image {
    position:relative;
    display:grid;
    place-items:center;
    gap:0;
    width:100%;
    aspect-ratio:1.8;
    overflow:hidden;
    background:linear-gradient(130deg,#e7f5ff,#f8edf6);
}
body.mdt-catalogue-page .mdt-catalogue-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
body.mdt-catalogue-page .mdt-catalogue-category-number { color:#475d86; font-size:3.5rem; line-height:1; font-weight:850; }
body.mdt-catalogue-page .mdt-catalogue-copy { display:flex; flex-direction:column; gap:12px; padding:24px; flex:1; min-width:0; }
body.mdt-catalogue-page .mdt-catalogue-copy strong { color:#102044; font-size:1.25rem; line-height:1.3; }
body.mdt-catalogue-page .mdt-catalogue-copy small { color:#45536c; font-size:1.0625rem; line-height:1.7; }
body.mdt-catalogue-page .mini-course .mdt-catalogue-link {
    margin:0 24px;
    padding:16px 0 20px;
    border-top:1px solid #e9edf3;
    color:#254cc7;
    font-size:1rem;
    line-height:1.5;
}
body.mdt-catalogue-page .professional-callout {
    border:1px solid #e5e8f3;
    border-radius:30px;
    background:linear-gradient(125deg,#eaf7ff,#f4f0ff 55%,#fff0f6);
    color:#102044;
}
body.mdt-catalogue-page .professional-callout h2 { color:#102044; }
body.mdt-catalogue-page .professional-callout .lead { color:#45536c; }
body.mdt-catalogue-page .professional-callout .eyebrow { color:#d41268; }
body.mdt-catalogue-page .professional-callout .btn.secondary { color:#102044; border-color:#ccd8e8; background:#fff; }

/* Sales heroes and section navigation. */
body.mdt-sales-page .course-hero {
    padding:72px 0;
    background:linear-gradient(120deg,#eaf7ff,#f3f4ff 60%,#fff1f7);
    border-bottom:1px solid #e5edf5;
}
body.mdt-sales-page .course-hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; }
body.mdt-sales-page .course-hero-copy { min-width:0; }
body.mdt-sales-page .course-hero-copy h1 { font-size:clamp(2.5rem,4.5vw,3.75rem); line-height:1.08; letter-spacing:-.04em; }
body.mdt-sales-page .sales-v2 .sales-subtitle { margin-top:0; color:#344968; font-size:1.375rem; line-height:1.4; }
body.mdt-sales-page .course-hero-image {
    border:8px solid #fff;
    border-radius:28px;
    background:#eaf3fb;
    box-shadow:0 16px 40px #1e34581c;
}
body.mdt-sales-page .course-hero-badges { gap:8px; }
body.mdt-sales-page .course-hero-badges span { border:1px solid #e1e8f1; border-radius:12px; color:#45536c; font-size:.875rem; line-height:1.5; }
body.mdt-sales-page .sales-hero-panel {
    min-height:300px;
    padding:30px;
    border:1px solid #fff;
    border-radius:28px;
    background:linear-gradient(135deg,#fff,#eef8ff 55%,#fff2f8);
    color:#102044;
    box-shadow:0 16px 40px #1e345818;
}
body.mdt-sales-page .sales-hero-panel-kicker { color:#d41268; font-size:.875rem; }
body.mdt-sales-page .sales-hero-panel strong { border-color:#dce5ef; }
body.mdt-sales-page .section.course-anchor-strip { padding:18px 0; background:#fff; border-bottom:1px solid #e5edf5; }
body.mdt-sales-page .course-anchor-inner { justify-content:flex-start; gap:8px; }
body.mdt-sales-page .course-anchor-inner a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:9px 14px;
    border:1px solid #e0e7f1;
    border-radius:999px;
    background:#f6f9ff;
    color:#254cc7;
    font-size:1rem;
    line-height:1.5;
}
body.mdt-sales-page .course-anchor-inner a:hover { color:#b51658; border-color:#edbfd4; background:#fff0f7; }

/* Existing sales copy, facts and reviews are unchanged. */
body.mdt-sales-page .sales-v2 .sales-section + .sales-section { padding-top:72px; }
body.mdt-sales-page .sales-heading { max-width:850px; }
body.mdt-sales-page .sales-heading h2 { font-size:clamp(1.875rem,3.3vw,2.625rem); line-height:1.15; }
body.mdt-sales-page .sales-prose { color:#45536c; font-size:1.0625rem; line-height:1.8; }
body.mdt-sales-page .sales-card-grid { gap:24px; }
body.mdt-sales-page .sales-card {
    padding:26px;
    border:1px solid #e4eaf1;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 35px #1e345813;
}
body.mdt-sales-page .sales-card h3 { color:#102044; font-size:1.375rem; line-height:1.25; }
body.mdt-sales-page .sales-card p { color:#45536c; font-size:1.0625rem; line-height:1.75; }
body.mdt-sales-page .sales-card-link span { color:#254cc7; font-size:1rem; }
body.mdt-sales-page .sales-list-card { border-color:#dfeae6; border-radius:24px; background:#edf8f2; }
body.mdt-sales-page .check-list li { color:#45536c; font-size:1.0625rem; line-height:1.7; }
body.mdt-sales-page .check-list li::before { background:#d9f2e4; color:#15835c; }
body.mdt-sales-page .related-sales-section { background:#f6f9ff; }
body.mdt-sales-page .sales-reviews { background:linear-gradient(135deg,#eef9ff,#fff3f8); border-color:#e4eaf1; }
body.mdt-sales-page .sales-review-card { border-color:#e4eaf1; border-radius:24px; box-shadow:0 12px 35px #1e345813; }
body.mdt-sales-page .sales-review-card::before { color:#d41268; }
body.mdt-sales-page .sales-review-card blockquote p { color:#102044; font-size:1.0625rem; line-height:1.8; }
body.mdt-sales-page .sales-review-card figcaption { color:#52627b; font-size:.875rem; line-height:1.6; }
body.mdt-sales-page .course-safety-note { border-left-color:#eab83b; background:#fff9e9; border-radius:22px; }
body.mdt-sales-page .course-safety-note p { color:#45536c; }
body.mdt-sales-page .course-trainer-strip {
    border:1px solid #e5e8f3;
    border-radius:30px;
    background:linear-gradient(125deg,#eaf7ff,#f4f0ff 55%,#fff0f6);
    color:#102044;
}
body.mdt-sales-page .course-trainer-strip p:not(.eyebrow) { color:#45536c; }
body.mdt-sales-page .course-trainer-strip .eyebrow { color:#d41268; }
body.mdt-sales-page .course-trainer-strip .btn.secondary { color:#102044; border-color:#ccd8e8; background:#fff; }

/* Native FAQ details keep their existing content and behaviour. */
body.mdt-sales-page .course-faq details { margin:12px 0; background:#fff; border:1px solid #e4eaf1; border-radius:18px; }
body.mdt-sales-page .course-faq details[open] { background:#fffafd; border-color:#edbfd4; }
body.mdt-sales-page .course-faq summary { min-height:64px; padding:20px 54px 20px 22px; color:#102044; font-size:1.0625rem; line-height:1.5; }
body.mdt-sales-page .course-faq summary::after { right:20px; top:16px; color:#d41268; }
body.mdt-sales-page .course-faq details > p { margin:0; padding:0 22px 22px; color:#45536c; font-size:1.0625rem; line-height:1.8; }

/* Package presentation only: prices, benefits, IDs and POST forms unchanged. */
body.mdt-sales-page .sales-pricing-heading { max-width:780px; }
body.mdt-sales-page .sales-pricing-heading h2 { font-size:clamp(1.875rem,3.3vw,2.625rem); line-height:1.15; }
body.mdt-sales-page .sales-pricing-heading p:last-child { color:#45536c; }
body.mdt-sales-page .sales-pricing-grid { gap:24px; }
body.mdt-sales-page .sales-price-card { border-color:#e0e7f0; border-radius:26px; box-shadow:0 12px 35px #1e345813; }
body.mdt-sales-page .sales-price-card.package-support { border-color:#d41268; box-shadow:0 16px 40px #d412681c; transform:none; }
body.mdt-sales-page .sales-price-card-head { padding:26px; background:linear-gradient(130deg,#eff8ff,#f9f2fb); border-color:#e4eaf1; }
body.mdt-sales-page .sales-price-card.package-support .sales-price-card-head { background:linear-gradient(130deg,#fff0f7,#f5f0ff); }
body.mdt-sales-page .sales-package-badge { background:#d41268; color:#fff; font-size:.875rem; line-height:1.5; }
body.mdt-sales-page .sales-price-card h3 { color:#102044; font-size:1.375rem; line-height:1.3; }
body.mdt-sales-page .sales-price-amount { color:#102044; }
body.mdt-sales-page .sales-price-features { padding:24px 26px 8px; }
body.mdt-sales-page .sales-price-features li { color:#45536c; font-size:1.0625rem; line-height:1.7; border-color:#e9edf3; }
body.mdt-sales-page .sales-price-features li::before { background:#e3f5eb; color:#15835c; }
body.mdt-sales-page .sales-purchase-form { padding:20px 26px 26px; }
body.mdt-sales-page .sales-coming-soon { background:linear-gradient(125deg,#eaf7ff,#fff0f6); border:1px solid #e5e8f3; border-radius:26px; }
body.mdt-sales-page .sales-coming-soon .is-disabled[aria-disabled="true"] { background:#edf2f7; color:#52627b; border-color:#dce4ef; box-shadow:none; }
body.mdt-sales-page .sales-availability-note { color:#52627b; font-size:1rem; }

@media (max-width:1100px) {
    body.mdt-catalogue-page .container,
    body.mdt-sales-page .container { width:calc(100% - 48px); }
    body.mdt-catalogue-page .category-layout { grid-template-columns:minmax(220px,.7fr) minmax(0,1.7fr); gap:32px; }
    body.mdt-sales-page .course-hero-grid { gap:32px; }
}
@media (max-width:980px) {
    body.mdt-catalogue-page .category-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
    body.mdt-catalogue-page .category-intro { max-width:680px; }
    body.mdt-sales-page .course-hero-grid { grid-template-columns:minmax(0,1fr); }
    body.mdt-sales-page .course-hero-image { width:100%; max-width:720px; }
    body.mdt-sales-page .sales-pricing-grid,
    body.mdt-sales-page .sales-pricing-grid.sales-pricing-count-1,
    body.mdt-sales-page .sales-pricing-grid.sales-pricing-count-2 { grid-template-columns:minmax(0,1fr); max-width:620px; margin-inline:auto; }
}
@media (max-width:760px) {
    body.mdt-catalogue-page .container,
    body.mdt-sales-page .container { width:calc(100% - 36px); }
    body.mdt-catalogue-page .section,
    body.mdt-sales-page .section,
    body.mdt-sales-page .sales-v2 .sales-section + .sales-section { padding:48px 0; }
    body.mdt-catalogue-page .section.compact,
    body.mdt-sales-page .section.compact { padding:36px 0; }
    body.mdt-catalogue-page .page-hero,
    body.mdt-sales-page .course-hero { padding:48px 0; }
    body.mdt-catalogue-page .page-hero h1,
    body.mdt-sales-page .course-hero-copy h1 { font-size:2.125rem; }
    body.mdt-catalogue-page .lead,
    body.mdt-sales-page .lead { font-size:1.0625rem; }
    body.mdt-catalogue-page .professional-callout,
    body.mdt-sales-page .course-trainer-strip { padding:28px 24px; }
    body.mdt-sales-page .section.course-anchor-strip { padding:16px 0; }
    body.mdt-sales-page .course-anchor-inner { flex-wrap:wrap; overflow-x:visible; }
    body.mdt-sales-page .course-anchor-inner a { white-space:normal; }
    body.mdt-sales-page .sales-card { padding:24px; }
    body.mdt-sales-page .sales-price-card-head { padding:24px; }
    body.mdt-sales-page .sales-price-features { padding:20px 24px 8px; }
    body.mdt-sales-page .sales-purchase-form { padding:20px 24px 24px; }
    body.mdt-sales-page .hero-actions .btn { flex:1 1 220px; }
}
@media (max-width:600px) {
    body.mdt-catalogue-page .category-course-list,
    body.mdt-catalogue-page .category-course-list.mdt-catalogue-count-1 { grid-template-columns:minmax(0,1fr); max-width:none; }
    body.mdt-catalogue-page .mdt-catalogue-copy { padding:22px; }
    body.mdt-catalogue-page .mini-course .mdt-catalogue-link { margin:0 22px; }
}
@media (prefers-reduced-motion:reduce) {
    body.mdt-catalogue-page .mini-course.mdt-catalogue-card:hover { transform:none; }
}
