/*
Theme Name: My Natural Hair Extensions Homepage
Theme URI: https://mynaturalhairextensions.com/
Author: Editorial Theme
Description: Installable full-width editorial homepage with configurable sections in Appearance > Hair Extensions Options.
Version: 2.2.0
Requires PHP: 7.4
Text Domain: mhe-homepage
*/

.mhe-home{--ink:#2f2630;--muted:#746873;--rose:#a96b82;--plum:#563b57;--cream:#fcf8f6;--line:#e9dfe5;--pink:#f7eaf0;font-family:Georgia,serif;color:var(--ink);font-size:17px;line-height:1.8;max-width:1380px;margin:auto}
.mhe-home *{box-sizing:border-box}.mhe-home a{color:var(--plum);text-decoration:underline;text-underline-offset:3px}.mhe-home .hero{display:grid;grid-template-columns:1.04fr .96fr;min-height:530px;border-radius:22px;overflow:hidden;background:#f9f0f1;border:1px solid var(--line)}
.mhe-home .hero-copy{padding:clamp(28px,5vw,74px);display:flex;flex-direction:column;justify-content:center}.mhe-home .eyebrow{text-transform:uppercase;letter-spacing:2.2px;font:700 12px Arial,sans-serif;color:#9b6177}.mhe-home h1{font-size:clamp(38px,4.4vw,68px);line-height:1.08;letter-spacing:-1.7px;margin:20px 0;color:#372b37}.mhe-home .hero p{font-size:19px;color:#5b5059}.mhe-home .hero-art{position:relative;min-height:350px;background:#e7d5d9}.mhe-home .hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}.mhe-home .hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(37,24,35,.3),transparent 45%)}.mhe-home .hero-stamp{position:absolute;bottom:22px;left:22px;z-index:2;background:#fff9;padding:10px 15px;border-radius:5px;font:700 11px Arial,sans-serif;letter-spacing:1px;text-transform:uppercase}
.mhe-home .buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.mhe-home .btn{display:inline-block;padding:12px 19px;background:var(--plum);color:white;text-decoration:none;border-radius:7px;font:700 13px Arial,sans-serif}.mhe-home .btn.alt{background:transparent;border:1px solid #ab91a4;color:var(--plum)}
.mhe-home .quicknav{display:flex;justify-content:space-around;gap:10px;flex-wrap:wrap;padding:23px 0;border-bottom:1px solid var(--line);font:700 13px Arial,sans-serif}.mhe-home .quicknav a{text-decoration:none}.mhe-home .shell{padding:10px clamp(10px,3vw,38px) 60px}.mhe-home .sectionhead{margin:60px 0 22px}.mhe-home .sectionhead .eyebrow{display:block}.mhe-home .sectionhead h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:10px 0}.mhe-home .sectionhead p{color:var(--muted);max-width:780px}.mhe-home .pathgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mhe-home .path{background:#fbf7f9;border:1px solid var(--line);border-radius:14px;padding:23px;text-decoration:none!important;min-height:150px}.mhe-home .path .n{font:700 11px Arial,sans-serif;color:var(--rose)}.mhe-home .path h3{font-size:22px;margin:9px 0 6px}.mhe-home .path p{font-size:14px;color:var(--muted);margin:0}
.mhe-home .features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mhe-home .feature{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white}.mhe-home .feature img{width:100%;aspect-ratio:1.65;object-fit:cover}.mhe-home .feature .inner{padding:18px}.mhe-home .feature h3{margin:4px 0;font-size:20px}.mhe-home .feature p{font-size:14px;color:var(--muted)}
.mhe-home .pillargrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mhe-home .pillar{padding:19px;background:#fff;border:1px solid var(--line);border-radius:12px;min-height:170px}.mhe-home .pillar .num{font:700 12px Arial,sans-serif;color:var(--rose)}.mhe-home .pillar h3{font-size:17px;line-height:1.35;margin:9px 0}.mhe-home .pillar p{font:14px/1.6 Arial,sans-serif;color:var(--muted);margin:0}.mhe-home .pillar strong em{font-style:italic}
.mhe-home .insight{background:#f8eef2;border-left:4px solid var(--rose);padding:22px 28px;margin:35px 0;border-radius:0 12px 12px 0}.mhe-home .insight p{margin:0}.mhe-home .details{max-width:970px;margin:0 auto}.mhe-home .details section{padding:30px 0;border-top:1px solid var(--line);scroll-margin-top:30px}.mhe-home .details h2{font-size:clamp(25px,2.7vw,35px);line-height:1.25;margin:0 0 15px}.mhe-home .details h3{font-size:23px;margin:22px 0 8px}.mhe-home .details p,.mhe-home .details li{line-height:1.85}.mhe-home .details strong em{color:#874c6a;background:#fbedf3;padding:0 2px}.mhe-home .table-responsive{overflow-x:auto;margin:22px 0}.mhe-home table{width:100%;border-collapse:collapse;font:14px/1.6 Arial,sans-serif;min-width:570px}.mhe-home th{background:#f1e3e9;text-align:left}.mhe-home th,.mhe-home td{padding:12px 14px;border:1px solid #eadde4;vertical-align:top}.mhe-home tr:nth-child(even) td{background:#fcf9fa}.mhe-home ul,.mhe-home ol{padding-left:25px}.mhe-home .sources{background:#f8f3f5;padding:24px;border-radius:14px}.mhe-home .sources li{margin-bottom:8px}.mhe-home .disclaimer{font:13px/1.7 Arial,sans-serif;color:var(--muted)}
@media(max-width:900px){.mhe-home .pillargrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mhe-home .pathgrid,.mhe-home .features{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.mhe-home .hero{grid-template-columns:1fr}.mhe-home .hero-art{min-height:270px;order:-1}.mhe-home .hero-copy{padding:26px}.mhe-home .pathgrid,.mhe-home .features{grid-template-columns:1fr}.mhe-home .pillargrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mhe-home .pillar{padding:13px;min-height:155px}.mhe-home .pillar h3{font-size:15px}.mhe-home .quicknav{justify-content:flex-start}.mhe-home .details{padding:0 3px}}@media(prefers-reduced-motion:reduce){.mhe-home *{scroll-behavior:auto!important}}

.mhe-home .collection-jump{display:inline-block;margin-top:12px;font:700 12px Arial,sans-serif;color:#68415d;text-decoration:none;border-bottom:1px solid #b99cad}.mhe-home .collection-jump:hover{text-decoration:underline}.mhe-home .editorial-citation{padding:12px 15px;border-left:3px solid #a96b82;background:#faf3f6;font:13px/1.65 Arial,sans-serif}.mhe-home a:focus-visible{outline:3px solid #a96b82;outline-offset:3px}.mhe-home img{max-width:100%;height:auto}.mhe-home .details figure img{object-fit:contain}.mhe-home .hero-art img{object-fit:contain;background:#e7d5d9}.mhe-home .hero-art{overflow:hidden}.mhe-home .pillar{scroll-margin-top:30px}@media(prefers-reduced-motion:reduce){.mhe-home *{scroll-behavior:auto!important;transition:none!important}}

/* Beauty editorial redesign — visually matched to supplied concept */
.mhe-home{--ink:#30242d;--muted:#685c65;--rose:#b66a91;--plum:#742b59;--cream:#fff9f7;--line:#eadfe4;--pink:#f8e4ed;max-width:1600px;background:#fffdfc;font-family:Georgia,'Times New Roman',serif;line-height:1.65;overflow:hidden}
.mhe-home .quicknav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(22px,4vw,65px);border:0;background:#fff;box-shadow:0 4px 25px #2d17280d;font:500 13px Arial,sans-serif;flex-wrap:wrap}
.mhe-home .quicknav .mini-brand{font:23px/1.05 Georgia,serif;letter-spacing:-.4px;color:#30242d;max-width:195px}.mhe-home .quicknav .mini-brand b{display:block;font:700 9px Arial,sans-serif;letter-spacing:3px;color:#8b3f65;margin-top:6px}
.mhe-home .quicknav .navlinks{display:flex;gap:clamp(12px,2.5vw,34px);flex-wrap:wrap}.mhe-home .quicknav a{text-decoration:none;color:#392c36}.mhe-home .quicknav a:hover{color:#a65179}
.mhe-home .quicknav .navcta{background:#742b59;color:white;border-radius:30px;padding:12px 21px;font-weight:700;white-space:nowrap}
.mhe-home .hero{display:grid;grid-template-columns:52% 48%;min-height:515px;border:0;border-radius:0;background:linear-gradient(115deg,#fff9f7 0%,#fbf0f1 65%,#f1dbe5 100%)}
.mhe-home .hero-copy{padding:clamp(32px,5.2vw,84px) clamp(24px,5vw,82px);position:relative;z-index:1}
.mhe-home .hero h1{font-size:clamp(42px,4.8vw,78px);letter-spacing:-2px;line-height:1.06;margin:16px 0 18px;font-weight:500;max-width:740px}
.mhe-home .hero h1 em{font-style:italic;color:#87395f;font-weight:400}.mhe-home .hero .eyebrow{color:#b75e86;letter-spacing:1.3px;font-size:12px}
.mhe-home .hero p{font:clamp(16px,1.35vw,19px)/1.65 Arial,sans-serif;color:#51464d;max-width:620px;margin:0}
.mhe-home .buttons{margin:27px 0 0;gap:14px}.mhe-home .btn{border-radius:40px;padding:15px 26px;background:#742b59;font:700 14px Arial,sans-serif}.mhe-home .btn.alt{border:1px solid #bc8da7;background:#fff9;color:#742b59}
.mhe-home .hero-trust{display:flex;flex-wrap:wrap;gap:16px 25px;margin-top:34px;color:#74445f;font:12px Arial,sans-serif}
.mhe-home .hero-art{background:radial-gradient(circle at 55% 45%,#f4cfde 0%,#e9b7ce 60%,#f9e4ea 100%);min-height:470px;overflow:hidden}
.mhe-home .hero-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;background:transparent}
.mhe-home .hero-art:after{display:none}.mhe-home .hero-mark{position:absolute;right:18px;top:32px;color:#7e3059;background:#fff9;border:1px solid #fff9;border-radius:30px;padding:9px 14px;font:italic 16px Georgia,serif;z-index:2}
.mhe-home .shell{padding:0 clamp(16px,3.8vw,60px) 70px}
.mhe-home #start{padding:28px 0 35px;background:linear-gradient(180deg,#fff,#fffaf9);margin:0 calc(-1 * clamp(16px,3.8vw,60px));padding-left:clamp(16px,3.8vw,60px);padding-right:clamp(16px,3.8vw,60px)}
.mhe-home #start .sectionhead{text-align:center;margin:0 auto 27px}.mhe-home #start .sectionhead .eyebrow{display:none}.mhe-home #start .sectionhead h2{font-size:clamp(31px,3.5vw,51px);font-weight:500;letter-spacing:-1.3px;margin:0 0 9px}.mhe-home #start .sectionhead p{max-width:800px;margin:0 auto;font:16px/1.6 Arial,sans-serif}
.mhe-home .pathgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(9px,1.25vw,20px)}
.mhe-home .path{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;border:0;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 9px 24px #492a3a15;transition:transform .2s ease,box-shadow .2s ease;color:#31252e!important}
.mhe-home .path:hover{transform:translateY(-5px);box-shadow:0 17px 32px #492a3a20}
.mhe-home .path-image{display:block;position:relative;aspect-ratio:1.16;overflow:hidden;background:#f4e0e8}.mhe-home .path-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.mhe-home .path:hover img{transform:scale(1.04)}
.mhe-home .path .n{position:absolute;top:9px;left:9px;width:41px;height:41px;border:3px solid white;border-radius:50%;display:grid;place-items:center;background:#f0c7d9;color:#713b5c;font:700 15px Arial,sans-serif;box-shadow:0 2px 10px #30152c19}
.mhe-home .path:nth-child(2) .n{background:#d9c0e5}.mhe-home .path:nth-child(3) .n{background:#d59db7}.mhe-home .path:nth-child(4) .n{background:#ecc7b2}.mhe-home .path:nth-child(5) .n{background:#c0d0bf}.mhe-home .path:nth-child(6) .n{background:#e0c4df}
.mhe-home .path-copy{padding:15px 13px 17px;display:flex;flex-direction:column;flex:1;gap:7px}.mhe-home .path-title{font:500 clamp(16px,1.45vw,22px)/1.15 Georgia,serif;letter-spacing:-.3px}.mhe-home .path-description{font:13px/1.55 Arial,sans-serif;color:#625760;flex:1}.mhe-home .path-arrow{width:30px;height:30px;border-radius:50%;background:#f2d1df;color:#723657;display:grid;place-items:center;font:19px Arial,sans-serif;margin-top:5px}
.mhe-home .sectionhead{margin-top:55px}.mhe-home .pillar{background:#fffafb;box-shadow:0 4px 15px #492a3a08}.mhe-home .pillar:hover{border-color:#cc9eb5}.mhe-home .details{max-width:1030px}.mhe-home .details section{scroll-margin-top:50px}
@media(max-width:1250px){.mhe-home .pathgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.mhe-home .path-image{aspect-ratio:1.7}.mhe-home .hero{grid-template-columns:54% 46%}.mhe-home .quicknav .navlinks{gap:13px}}
@media(max-width:760px){.mhe-home .quicknav{padding:14px 18px}.mhe-home .quicknav .navlinks{order:3;width:100%;justify-content:space-between;gap:10px;font-size:12px}.mhe-home .quicknav .navcta{padding:9px 13px;font-size:11px}.mhe-home .hero{grid-template-columns:1fr}.mhe-home .hero-copy{padding:38px 23px}.mhe-home .hero h1{font-size:clamp(40px,10vw,60px)}.mhe-home .hero-art{order:0;min-height:350px}.mhe-home .pathgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mhe-home .path-image{aspect-ratio:1.15}.mhe-home .path-copy{padding:12px}.mhe-home .path-title{font-size:18px}.mhe-home .path-description{font-size:12px}.mhe-home .hero-trust{gap:10px}.mhe-home .pillargrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.mhe-home .pathgrid{grid-template-columns:1fr}.mhe-home .path-image{aspect-ratio:1.8}.mhe-home .quicknav .navcta{display:none}}
@media(prefers-reduced-motion:reduce){.mhe-home .path,.mhe-home .path img{transition:none!important}}

/* FULL-BLEED WORDPRESS / GENERATEPRESS OVERRIDES */
body:has(.mhe-home) .site.grid-container,
body:has(.mhe-home) .site-content,
body:has(.mhe-home) .content-area,
body:has(.mhe-home) #primary,
body:has(.mhe-home) #main,
body:has(.mhe-home) .inside-article,
body:has(.mhe-home) .entry-content,
body:has(.mhe-home) .wp-block-post-content,
body:has(.mhe-home) .wp-block-group:has(> .mhe-home){max-width:none!important;width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;}
body:has(.mhe-home) .site.grid-container,
body:has(.mhe-home) .site-content,
body:has(.mhe-home) .inside-article,
body:has(.mhe-home) .entry-content{padding:0!important;}
body:has(.mhe-home) .content-area,
body:has(.mhe-home) #primary{float:none!important;}
body:has(.mhe-home) #right-sidebar,body:has(.mhe-home) #left-sidebar{display:none!important;}
/* Theme-generated page title, not the editorial hero heading */
body:has(.mhe-home) .entry-header:has(.entry-title),
body:has(.mhe-home) .entry-content > h1:first-child:not(.mhe-home h1),
body:has(.mhe-home) .wp-block-post-title{display:none!important;}
/* Escape constrained Gutenberg blocks and theme wrappers even when a parent width remains fixed */
body .mhe-home{display:block!important;position:relative!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:100vw!important;width:100dvw!important;max-width:none!important;margin:0!important;padding:0!important;overflow:clip!important;background:#fffaf9!important;color:#2f2630!important;box-sizing:border-box!important;}
body .mhe-home .hero{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,52%) minmax(0,48%)!important;min-height:610px!important;}
body .mhe-home .hero-copy{padding:clamp(35px,5.2vw,100px)!important;}
body .mhe-home .hero-art{min-height:610px!important;}
body .mhe-home .quicknav{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:18px clamp(20px,5vw,90px)!important;}
body .mhe-home .quicknav .navlinks{display:flex!important;align-items:center!important;gap:clamp(12px,2vw,30px)!important;flex-wrap:wrap!important;}
body .mhe-home .shell{width:100%!important;max-width:1760px!important;margin:0 auto!important;padding:0 clamp(20px,4vw,78px) 80px!important;}
body .mhe-home #start{margin-left:calc(-1 * clamp(20px,4vw,78px))!important;margin-right:calc(-1 * clamp(20px,4vw,78px))!important;padding:45px clamp(20px,4vw,78px) 50px!important;}
body .mhe-home .pathgrid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:clamp(12px,1.25vw,22px)!important;}
body .mhe-home .path{display:flex!important;flex-direction:column!important;padding:0!important;min-width:0!important;}
body .mhe-home .path-image{display:block!important;position:relative!important;aspect-ratio:1.16!important;}
body .mhe-home .path-copy{display:flex!important;flex-direction:column!important;flex:1!important;}
body .mhe-home .hero h1{font-family:Georgia,serif!important;font-size:clamp(42px,4.8vw,84px)!important;line-height:1.08!important;letter-spacing:-1.8px!important;}
@media(max-width:1250px){body .mhe-home .pathgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}body .mhe-home .path-image{aspect-ratio:1.7!important;}}
@media(max-width:800px){body .mhe-home .hero{grid-template-columns:1fr!important;min-height:0!important;}body .mhe-home .hero-art{min-height:380px!important;order:-1!important;}body .mhe-home .hero-copy{padding:38px 24px!important;}body .mhe-home .quicknav{flex-wrap:wrap!important;padding:16px 20px!important;}body .mhe-home .quicknav .navlinks{width:100%!important;order:3!important;}body .mhe-home .pathgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body .mhe-home .path-image{aspect-ratio:1.3!important;}}
@media(max-width:440px){body .mhe-home .pathgrid{grid-template-columns:1fr!important;}body .mhe-home .path-image{aspect-ratio:1.8!important;}}



/* 20-HUB editorial overview: responsive, scoped to the homepage */
.mhe-home .mhe-hub-overview{margin:clamp(52px,7vw,104px) 0 72px;padding:clamp(22px,3vw,48px);border-radius:28px;background:linear-gradient(135deg,#fff7f9 0%,#f6edf5 54%,#fefaf7 100%);border:1px solid #ead9e2;box-shadow:0 22px 70px rgba(82,47,75,.07)}
.mhe-home .mhe-hub-overview .sectionhead{margin-bottom:28px}
.mhe-home .mhe-hub-overview .sectionhead h2{max-width:920px}
.mhe-home .mhe-hub-table-scroll{overflow-x:auto;border:1px solid #e7d8e0;border-radius:19px;background:#fff;box-shadow:0 12px 35px rgba(73,37,63,.055)}
.mhe-home .mhe-hub-table{border-collapse:collapse;width:100%;min-width:730px;margin:0;table-layout:fixed;font-size:15px;line-height:1.6}
.mhe-home .mhe-hub-table th{background:#633451;color:#fff;text-align:left;padding:17px 18px;font:700 12px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:1.2px;border:0}
.mhe-home .mhe-hub-table th:first-child{width:88px}.mhe-home .mhe-hub-table th:nth-child(2){width:34%}
.mhe-home .mhe-hub-table td{padding:17px 18px;vertical-align:top;border:0;border-bottom:1px solid #f0e7eb;color:#5f515c}
.mhe-home .mhe-hub-table tr:last-child td{border-bottom:0}
.mhe-home .mhe-hub-table tbody tr:nth-child(even){background:#fffbfd}
.mhe-home .mhe-hub-table tbody tr:hover{background:#f8edf3}
.mhe-home .mhe-hub-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#f3dbe6;color:#783e5e;font:700 13px Arial,sans-serif}
.mhe-home .mhe-hub-guide-link{display:inline-block;font-size:16px;line-height:1.45;color:#683652!important;text-decoration:none!important;border-bottom:1px solid #caa3b5;padding-bottom:3px}
.mhe-home .mhe-hub-guide-link:hover,.mhe-home .mhe-hub-guide-link:focus-visible{color:#9b5278!important;border-bottom-color:#9b5278;outline-offset:4px}
.mhe-home .mhe-hub-note{margin:18px 0 0;color:#766574;font:14px/1.6 Arial,sans-serif}
.mhe-home .pillar{scroll-margin-top:110px}.mhe-home .mhe-hub-overview{scroll-margin-top:90px}
@media(max-width:767px){.mhe-home .mhe-hub-overview{padding:18px 12px;border-radius:18px;margin:48px 0}.mhe-home .mhe-hub-table{min-width:640px}.mhe-home .mhe-hub-table td{padding:13px}.mhe-home .mhe-hub-table th{padding:14px 13px}}

/* Theme layout guardrails */
html,body{max-width:100%;overflow-x:clip}body{margin:0;background:#fffaf9}.mhe-home{max-width:100%!important;width:100%!important;left:auto!important;transform:none!important;margin:0 auto!important;overflow-x:clip!important}.mhe-home .shell{max-width:1760px;margin:0 auto}.mhe-home .pathgrid>*{min-width:0}.mhe-home .hero>*{min-width:0}.mhe-home img{max-width:100%}.mhe-home .mhe-hub-table-scroll,.mhe-home .table-responsive{max-width:100%}@media(max-width:1250px){body .mhe-home .pathgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:800px){body .mhe-home .hero{grid-template-columns:1fr!important}body .mhe-home .pathgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:440px){body .mhe-home .pathgrid{grid-template-columns:1fr!important}}

/* v2.1 — Balanced HUB cards and long-form reading widths */
@media (min-width: 1101px) {
  body .mhe-home .pillargrid {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
    gap: clamp(14px, 1.35vw, 24px);
  }
  body .mhe-home .details {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
  }
}
@media (min-width: 1600px) {
  body .mhe-home .pillargrid { max-width: 1460px; }
  body .mhe-home .details { max-width: 1360px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  body .mhe-home .pillargrid { width: 100%; max-width: 100%; margin-inline: auto; }
  body .mhe-home .details { width: 100%; max-width: 100%; margin-inline: auto; }
}
@media (max-width: 700px) {
  body .mhe-home .pillargrid,
  body .mhe-home .details { width: 100%; max-width: 100%; margin-inline: auto; }
}


/* v2.2 — narrower overall content, closer reading cards, larger card typography */
@media (min-width: 1251px) {
  body .mhe-home .shell {
    width: 100% !important;
    max-width: 1580px !important;
    padding-left: clamp(34px, 4.2vw, 72px) !important;
    padding-right: clamp(34px, 4.2vw, 72px) !important;
  }
  body .mhe-home #start {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body .mhe-home .pathgrid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: clamp(9px, .75vw, 13px) !important;
  }
  body .mhe-home .pillargrid { max-width: 1370px !important; gap: 12px !important; }
  body .mhe-home .details { max-width: 1300px !important; }
}
@media (min-width: 1251px) and (max-width: 1500px) {
  body .mhe-home .shell { padding-left: 38px !important; padding-right: 38px !important; }
}
body .mhe-home .path-copy { padding: 18px 16px 20px !important; gap: 10px !important; }
body .mhe-home .path-title { font-size: clamp(20px, 1.35vw, 25px) !important; line-height: 1.22 !important; letter-spacing: -.35px !important; }
body .mhe-home .path-description { font-size: clamp(15px, .92vw, 17px) !important; line-height: 1.58 !important; }
body .mhe-home .path-arrow { width: 35px !important; height: 35px !important; font-size: 21px !important; }
@media (min-width: 801px) and (max-width: 1250px) {
  body .mhe-home .shell { max-width: 1060px !important; padding-left: 28px !important; padding-right: 28px !important; }
  body .mhe-home #start { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  body .mhe-home .pathgrid { gap: 12px !important; }
}
@media (max-width: 800px) {
  body .mhe-home .shell { padding-left: 18px !important; padding-right: 18px !important; }
  body .mhe-home #start { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  body .mhe-home .pathgrid { gap: 12px !important; }
  body .mhe-home .path-title { font-size: 21px !important; }
  body .mhe-home .path-description { font-size: 15px !important; }
}

/* v2.3 — compact transition from six reading cards to the 20-HUB roadmap.
   Override earlier generous section margins without altering card design/content. */
body .mhe-home #start { padding-bottom: 12px !important; }
body .mhe-home .mhe-hub-overview {
  margin-top: 20px !important;
  margin-bottom: 48px !important;
}
body .mhe-home #start + .mhe-hub-overview { margin-top: 16px !important; }
@media (max-width: 800px) {
  body .mhe-home #start { padding-bottom: 10px !important; }
  body .mhe-home .mhe-hub-overview { margin-top: 16px !important; margin-bottom: 34px !important; }
}

/* v2.4: keep the full 20-topic roadmap heading on one line on wide desktops. */
@media (min-width: 1350px) {
  body .mhe-home .mhe-hub-overview .sectionhead h2 {
    max-width: none !important;
    width: 100% !important;
    font-size: clamp(29px, 2.1vw, 43px) !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap !important;
  }
}
@media (min-width: 801px) and (max-width: 1349px) {
  body .mhe-home .mhe-hub-overview .sectionhead h2 {
    max-width: none !important;
    font-size: clamp(29px, 3.1vw, 39px) !important;
    letter-spacing: -0.025em !important;
  }
}

/* v2.5 — roadmap description: approximately two lines on wide desktop, without affecting mobile. */
@media (min-width: 1350px) {
  body .mhe-home .mhe-hub-overview .sectionhead > p {
    max-width: 1340px !important;
    width: 100% !important;
    font-size: clamp(17px, 1.12vw, 20px) !important;
    line-height: 1.55 !important;
  }
}
@media (min-width: 801px) and (max-width: 1349px) {
  body .mhe-home .mhe-hub-overview .sectionhead > p {
    max-width: 100% !important;
    width: 100% !important;
  }
}
