/*
Theme Name: Louisilan Schoolwear Reference
Description: Bilingual editorial schoolwear theme for Wuhan Louisilan Apparel Co., Ltd.
Version: 1.2.0
Requires PHP: 7.4
*/

:root{--ink:#14243a;--red:#c52d39;--line:#e4e7eb;--soft:#f4f6f8;--max:1280px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font:16px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans SC",sans-serif}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
.skip{position:absolute;left:-9999px;top:auto}.skip:focus{left:12px;top:12px;z-index:1000;padding:10px;background:#fff}
.site-header{position:relative;z-index:100;background:#fff;border-bottom:1px solid rgba(20,36,58,.08)}
.upgrade-notice{padding:9px 18px;background:#f8e9e8;color:#8f2430;text-align:center;font-size:14px;font-weight:700;line-height:1.5;letter-spacing:.04em;border-top:1px solid rgba(143,36,48,.12)}
.louisilan-home .upgrade-notice{background:rgba(248,233,232,.96)}
@media(max-width:600px){.upgrade-notice{padding:8px 14px;font-size:12px;letter-spacing:0}}
.louisilan-home .site-header{position:absolute;inset:0 0 auto;background:rgba(14,33,52,.72);border:0;color:#fff}
.louisilan-home .menu .sub-menu{color:var(--ink)}
.louisilan-home .lang-switch{border-color:rgba(255,255,255,.55)}
.louisilan-home .menu>li>a:hover{color:#ffc8cc}
.header-inner{width:min(calc(100% - 36px),var(--max));min-height:78px;margin:auto;display:flex;align-items:center;gap:28px}
.brand{display:flex;flex:0 0 auto;align-items:center}
.brand img{width:54px;height:54px;object-fit:contain}
.primary-navigation{margin-left:auto}
.menu{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.7vw,28px);padding:0;margin:0;list-style:none}
.menu>li{position:relative;list-style:none}
.menu>li>a{display:flex;align-items:center;min-height:78px;font-size:13px;font-weight:700;letter-spacing:.015em;white-space:nowrap}
.menu>li>a:hover,.menu .current-menu-item>a,.menu .current-menu-ancestor>a{color:var(--red)}
.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:214px;margin:0;padding:12px;background:#fff;box-shadow:0 14px 32px rgba(9,27,48,.13);border-top:3px solid var(--red);list-style:none}
.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}
.menu .sub-menu li{list-style:none}
.menu .sub-menu a{display:block;padding:9px 12px;font-size:13px;white-space:nowrap}
.menu .sub-menu a:hover{color:var(--red);background:var(--soft)}
.lang-switch{border:1px solid var(--line);padding:6px 10px;font-size:12px;font-weight:700;white-space:nowrap}
.menu-toggle{display:none;background:#fff;border:1px solid var(--line);padding:10px;flex-direction:column;gap:5px}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--ink)}
.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;background:var(--red);border:1px solid var(--red);color:#fff!important;font-weight:700;font-size:13px;line-height:1.2;border-radius:0}
.button:hover,.wp-block-button__link:hover{background:#a9232e}
.button.light{background:#fff;border-color:#fff;color:var(--ink)!important}
.eyebrow{margin:0 0 12px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--red)}
h1,h2,h3,p{overflow-wrap:anywhere}
h1,h2,h3{line-height:1.16}
h1{font-size:clamp(36px,4.7vw,68px);margin:0}
h2{font-size:clamp(28px,3.2vw,45px);margin:0 0 16px}
h3{font-size:21px;margin:0 0 12px}
.section-container{width:min(calc(100% - 40px),var(--max));margin:auto}
.home-hero{position:relative;min-height:max(850px,calc(100svh - 88px));display:flex;align-items:center;color:#fff;overflow:hidden;background:#243850}
.home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,27,47,.82),rgba(10,27,47,.37) 55%,rgba(10,27,47,.05))}
.home-hero .hero-content{position:relative;z-index:1;width:min(calc(100% - 40px),var(--max));margin:auto;padding:90px 0}
.home-hero .hero-content>div{max-width:670px}
.home-hero .eyebrow{color:#f6bdc2}
.home-hero p:not(.eyebrow){font-size:18px;max-width:580px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.home-index{position:absolute;z-index:2;right:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}
.home-index a{color:#fff;border-bottom:1px solid rgba(255,255,255,.5);padding:5px;font-size:11px}
.home-section{padding:92px 0}
.home-section.soft{background:var(--soft)}
.home-news{background:#14243a;color:#fff}
.home-news .content-toolbar a{color:#f4aeb5}
.home-news .eyebrow{color:#f4aeb5}
.home-news .news-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:-5px 0 28px}
.home-news .news-tabs a{display:inline-block;border:1px solid rgba(255,255,255,.45);padding:8px 15px;font-size:12px;font-weight:700}
.home-news .news-tabs a:hover,.home-news .news-tabs a:focus-visible{background:#fff;color:#14243a}
.home-news .card-grid{grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr));gap:16px}
.home-news .entry-card:first-child img{height:300px}
.home-news .empty{background:#203750;color:#e5ebf0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center}
.split img{width:100%;max-height:560px;object-fit:cover}
.split p{color:#596574}
.stats{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line)}
.stats div{padding:29px 12px;text-align:center;border-right:1px solid var(--line)}
.stats div:last-child{border-right:0}
.stats strong{display:block;font-size:30px;line-height:1.2}
.stats span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#687685}
.section-heading{text-align:center;max-width:760px;margin:0 auto 38px}
.section-heading p{color:#5c6876}
.number-nav{display:flex;justify-content:center;gap:25px;margin:0 0 30px}
.number-nav a{font-size:13px;font-weight:700;color:#687685}
.number-nav a:hover{color:var(--red)}
.showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.showcase-card{position:relative;overflow:hidden;background:#e7edf2}
.showcase-card img{display:block;width:100%;height:390px;object-fit:cover;object-position:center 25%;transition:transform .25s ease}
.showcase-card:hover img{transform:scale(1.04)}
.showcase-card .copy{padding:17px 16px;background:#fff}
.showcase-card small{display:block;color:var(--red);font-size:11px;letter-spacing:.1em}
.showcase-card h3{font-size:18px;margin:6px 0}
.showcase-card p{font-size:13px;color:#61707d;margin:0}
.teaser-grid,.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.school-steps .teaser{border-top:3px solid var(--red)}
.school-steps .teaser h3{margin-top:10px}
.process-action{text-align:center;margin-top:30px}
.contact-actions{justify-content:center}
.contact-actions .button.light{border-color:var(--ink)}
.contact-actions .button.light:hover{background:var(--ink);color:#fff!important}
.contact-wechat{margin-top:18px;font-size:14px}
.teaser,.entry-card{background:#fff;border:1px solid var(--line)}
.teaser{padding:27px}
.teaser small{color:var(--red);letter-spacing:.1em}
.teaser p,.entry-card p{color:#65717e;font-size:14px}
.entry-card img{display:block;width:100%;height:225px;object-fit:cover}
.entry-card .copy{padding:22px}
.entry-card time{font-size:12px;color:#788491}
.entry-card h3{margin:10px 0}
.entry-card a:hover h3{color:var(--red)}
.empty{padding:28px;background:var(--soft);color:#647180}
.page-hero{position:relative;min-height:455px;display:flex;align-items:stretch;background:#dce5ec;color:#fff;margin-bottom:52px}
.page-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.page-hero .text{position:relative;z-index:1;width:100%;padding:95px max(20px,calc((100% - var(--max))/2)) 58px;background:linear-gradient(90deg,rgba(16,36,59,.84),rgba(16,36,59,.35) 57%,rgba(16,36,59,.08));display:flex;flex-direction:column;justify-content:flex-end}
.page-hero h1{font-size:clamp(32px,3.7vw,52px)}
.page-hero p:not(.eyebrow){font-size:16px;line-height:1.6}
.page-hero .eyebrow{color:#ffb9c0}
.crumbs{position:absolute;left:0;right:0;bottom:-52px;min-height:52px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0;padding:9px max(20px,calc((100% - var(--max))/2));background:#f4f6f8;font-size:12px;color:#65717e}
.crumbs a:hover{color:var(--red);text-decoration:underline}
.section-nav{display:flex;justify-content:safe center;gap:16px;overflow-x:auto;border:0;background:#fff;padding:28px 20px 6px}
.section-nav a{flex:0 0 auto;min-width:160px;padding:16px 22px;white-space:nowrap;text-align:center;font-size:13px;font-weight:700;line-height:1.3;border:0;background:#f2f3f5}
.section-nav a:hover,.section-nav a.active{border-color:var(--red);background:var(--red);color:#fff}
.section-nav a:focus-visible,.menu a:focus-visible,.lang-switch:focus-visible,.menu-toggle:focus-visible,.button:focus-visible{outline:3px solid #f3ad38;outline-offset:3px}
.brand:focus-visible,.home-index a:focus-visible,.number-nav a:focus-visible,.showcase-card:focus-visible,.style-inspiration-card:focus-visible,.entry-card a:focus-visible,.footer-inner a:focus-visible{outline:3px solid #f3ad38;outline-offset:3px}
.page-content{padding:70px 0 100px}
.page-content .article{width:min(100%,920px);margin:auto}
.article h2{margin-top:45px}
.article p{color:#536170}
.article img{height:auto}
.article .wp-block-image img{width:100%}
.article video,.article iframe,.article embed,.article object{max-width:100%}
.article .wp-block-video video{width:100%;height:auto}
.article .wp-block-file a{overflow-wrap:anywhere}
.content-intro{font-size:18px;color:#566372;margin-bottom:34px}
.content-list{margin-top:60px}
.content-list .entry-card img{height:240px}
.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.content-toolbar h2{margin:0}
.content-toolbar a{color:var(--red);font-weight:700}
.content-list .content-toolbar{padding-bottom:18px;border-bottom:1px solid var(--line)}
.content-list .content-toolbar span{max-width:480px;text-align:right;color:#65717e;line-height:1.5}
.content-list .entry-card{height:100%}
.content-list .entry-card>a{display:flex;flex-direction:column;height:100%}
.content-list .entry-card .copy{flex:1}
.content-divider{height:1px;background:var(--line);margin:70px 0}
.post-meta{color:#7b8790;font-size:13px}
.single-hero{background:#f2f5f7;padding:70px 0}
.single-hero .section-container{max-width:900px}
.single-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:28px;color:#667280;font-size:14px;line-height:1.5}
.single-breadcrumb a{color:inherit;text-decoration:none}
.single-breadcrumb a:hover{color:var(--red);text-decoration:underline}
.single-breadcrumb a:focus-visible{outline:3px solid #f3ad38;outline-offset:3px}
.single-image{width:100%;max-height:560px;object-fit:cover;margin:35px 0}
.pagination{margin-top:35px}
.pagination .page-numbers{display:inline-block;border:1px solid var(--line);padding:6px 12px;margin-right:6px}
.pagination .current{background:var(--red);border-color:var(--red);color:#fff}
.site-footer{background:#14243a;color:#fff;padding:70px 20px 20px}
.footer-inner{width:min(100%,var(--max));margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}
.footer-inner h2{font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:24px}
.footer-inner a{display:block;margin:9px 0;color:#d8e0e8;font-size:13px}
.footer-inner a:hover{color:#fff;text-decoration:underline}
.footer-brand p{font-weight:700}
.footer-brand small{color:#c7d2dc}
.footer-bottom{width:min(100%,var(--max));margin:50px auto 0;padding-top:16px;border-top:1px solid #43546a;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#b9c6d2}
@media(max-width:1080px){.menu{gap:11px}.menu>li>a{font-size:11px}.header-inner{gap:12px}}
@media(max-width:900px){.header-inner{min-height:66px}.brand img{width:47px;height:47px}.menu-toggle{display:flex;margin-left:auto}.louisilan-home .menu-toggle{background:transparent}.louisilan-home .menu-toggle span{background:#fff}.primary-navigation{display:none;position:absolute;top:66px;left:0;right:0;margin:0;padding:10px 20px 20px;background:#fff;color:var(--ink);box-shadow:0 15px 30px rgba(0,0,0,.12)}.primary-navigation.open{display:block}.menu{display:block}.menu>li>a{min-height:0;padding:12px 4px;font-size:15px}.menu .sub-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 15px}.menu .sub-menu a{font-size:13px;padding:7px}.split{gap:30px}.showcase-grid{grid-template-columns:repeat(2,1fr)}.teaser-grid,.card-grid,.home-news .card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.primary-navigation{max-height:calc(100vh - 66px);max-height:calc(100dvh - 66px);overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:620px){.home-hero{min-height:540px}.home-hero>img{object-position:62% center}.home-hero:after{background:linear-gradient(90deg,rgba(10,27,47,.78),rgba(10,27,47,.3))}.home-hero .hero-content{padding:55px 0}.home-hero h1{font-size:39px}.home-hero p:not(.eyebrow){font-size:15px}.home-index{display:none}.home-section{padding:58px 0}.stats{grid-template-columns:1fr 1fr}.stats div:nth-child(2){border-right:0}.stats div:last-child{grid-column:1/-1;border-top:1px solid var(--line)}.split{grid-template-columns:1fr}.showcase-grid{gap:12px}.showcase-card img{height:240px}.showcase-card .copy{padding:12px}.showcase-card h3{font-size:15px}.showcase-card p{font-size:12px}.teaser-grid,.card-grid,.home-news .card-grid{grid-template-columns:1fr}.home-news .entry-card:first-child img{height:225px}.page-hero{display:flex;flex-direction:column}.page-hero>img{position:relative;height:255px;object-position:center 30%}.page-hero .text{width:100%;padding:30px 20px 38px;background:#14243a}.page-hero h1{font-size:32px}.section-nav a{padding:14px}.page-content{padding:54px 0}.footer-inner{grid-template-columns:1fr;gap:20px}.footer-bottom{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* 2026 visual refinement: readable editorial hierarchy on desktop and phone. */
body{font-size:17px;line-height:1.78}
.header-inner{min-height:88px;gap:24px}
.brand img{width:44px;height:44px}
.menu{gap:clamp(12px,1.35vw,22px)}
.menu>li>a{min-height:88px;font-size:15px;font-weight:650;letter-spacing:0}
.louisilan-home .menu>li.current-menu-item>a,
.louisilan-home .menu>li.current-menu-ancestor>a{color:#fff}
.menu .sub-menu a{font-size:15px;padding:11px 14px}
.lang-switch{font-size:14px;padding:8px 12px}
.eyebrow{font-size:14px;letter-spacing:.12em;line-height:1.5}
h1,h2,h3{line-height:1.28;overflow-wrap:normal;word-break:break-word}
h1{font-size:clamp(40px,4.6vw,70px)}
h2{font-size:clamp(32px,3.25vw,48px)}
h3{font-size:clamp(22px,2vw,27px)}
.button,.wp-block-button__link{font-size:16px;line-height:1.35;padding:14px 25px}
.home-section{padding:100px 0}
.home-hero p:not(.eyebrow){font-size:clamp(18px,1.5vw,21px);line-height:1.65}
.stats strong{font-size:34px}
.stats span{font-size:14px;letter-spacing:.02em}
.section-heading{max-width:850px}
.section-heading p:not(.eyebrow),.split p{font-size:18px;line-height:1.85}
.showcase-card small,.teaser small{font-size:14px;letter-spacing:.04em}
.showcase-card h3{font-size:22px;line-height:1.3}
.showcase-card p,.teaser p,.entry-card p{font-size:16px;line-height:1.7}
.teaser{padding:31px}
.entry-card time,.post-meta{font-size:14px}
.entry-card h3{font-size:23px}
.home-news .news-tabs a{font-size:15px;padding:10px 18px}
.content-toolbar a,.content-toolbar span{font-size:16px}
.page-hero{min-height:430px}
.page-hero h1{font-size:clamp(38px,3.8vw,56px)}
.page-hero p:not(.eyebrow){font-size:18px;line-height:1.7}
.crumbs{font-size:14px}
.section-nav a{font-size:16px;padding:16px 23px}
.article{font-size:18px;line-height:1.9}
.article h2{margin-top:50px}
.article p{line-height:1.9}
.footer-inner h2{font-size:18px;letter-spacing:0}
.footer-inner a,.footer-brand small{font-size:15px;line-height:1.65}
.footer-inner span{display:block;color:#d8e0e8;font-size:15px;line-height:1.65;margin:9px 0}
.footer-brand p{font-size:18px}
.footer-bottom{font-size:13px}
.concept-note{padding:18px 22px;border-left:4px solid var(--red);background:#f8f2f1;color:#60464a;font-size:16px;line-height:1.7}
.cases-showcase{padding:4px 0 54px}
.cases-showcase h2{max-width:840px;margin:14px 0 17px;color:var(--ink);font-size:clamp(30px,3vw,46px);line-height:1.2}
.cases-showcase-lead{max-width:880px;color:#596875;font-size:17px;line-height:1.8}
.cases-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:32px 0 24px}
.cases-showcase-grid article{min-height:235px;padding:27px 25px;background:#f4f6f7;border-top:3px solid #b99053}
.cases-showcase-grid span{color:#a02b39;font-size:12px;font-weight:700;letter-spacing:.06em}
.cases-showcase-grid h3{margin:22px 0 10px;color:var(--ink);font-size:24px}
.cases-showcase-grid p{margin:0;color:#5d6b77;font-size:15px;line-height:1.7}
.cases-showcase-status{padding:16px 19px;background:#ecf1f3;color:#364e5d;font-size:14px;line-height:1.7}
@media(max-width:800px){.cases-showcase-grid{grid-template-columns:1fr}.cases-showcase-grid article{min-height:0}.cases-showcase{padding-bottom:32px}}
.concept-emblem{display:block;width:100%;height:220px;padding:28px;background:linear-gradient(145deg,#e8edf0,#f8f7f1)}
.entry-card .concept-emblem svg{display:block;width:100%;height:100%;object-fit:contain}
.entry-card .concept-tag{display:block;color:#9b3340;font-size:14px;font-weight:700;margin-bottom:7px}
.contact-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0 36px}
.contact-facts>div{padding:24px;background:var(--soft);border-top:3px solid var(--red)}
.contact-facts strong{display:block;font-size:15px;color:#667280;margin-bottom:8px}
.contact-facts a,.contact-facts span{display:block;font-size:18px;font-weight:650;overflow-wrap:anywhere}
.editorial-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:36px 0}
.editorial-steps>div{padding:25px;background:var(--soft);border-top:3px solid var(--red)}
.editorial-steps strong{display:block;font-size:21px;margin-bottom:9px}
.editorial-steps p{font-size:16px;margin:0}
@media(max-width:1120px){
  .header-inner{min-height:72px}
  .brand img{width:40px;height:40px}
  .menu-toggle{display:flex;margin-left:auto}
  .louisilan-home .menu-toggle{background:transparent}
  .louisilan-home .menu-toggle span{background:#fff}
  .primary-navigation{display:none;position:absolute;top:72px;left:0;right:0;margin:0;padding:10px 24px 24px;background:#fff;color:var(--ink);box-shadow:0 15px 30px rgba(0,0,0,.12);max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain}
  .primary-navigation.open{display:block}
  .menu{display:block}
  .menu>li>a{min-height:0;padding:13px 4px;font-size:17px}
  .louisilan-home .primary-navigation .menu>li>a,
  .louisilan-home .primary-navigation .menu>li.current-menu-item>a,
  .louisilan-home .primary-navigation .menu>li.current-menu-ancestor>a{color:var(--ink)}
  .primary-navigation .menu>li.current-menu-item>a,
  .primary-navigation .menu>li.current-menu-ancestor>a,
  .louisilan-home .primary-navigation .menu>li.current-menu-item>a,
  .louisilan-home .primary-navigation .menu>li.current-menu-ancestor>a{color:var(--red)}
  .menu .sub-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 15px}
  .menu .sub-menu a{font-size:15px;padding:8px}
}
@media(max-width:720px){
  body{font-size:16px}
  .home-hero{min-height:650px}
  .home-hero .hero-content{padding:92px 0 60px}
  .home-hero h1{font-size:clamp(36px,8vw,49px)}
  .home-hero p:not(.eyebrow){font-size:18px}
  .home-section{padding:68px 0}
  .section-heading p:not(.eyebrow),.split p{font-size:17px}
  .showcase-grid{grid-template-columns:1fr}
  .showcase-card img{height:360px}
  .showcase-card .copy{padding:20px}
  .showcase-card h3{font-size:21px}
  .showcase-card p{font-size:16px}
  .page-hero h1{font-size:clamp(34px,7vw,43px)}
  .page-hero p:not(.eyebrow){font-size:17px}
  .section-nav a{font-size:15px;padding:14px 16px}
  .content-list .content-toolbar{align-items:flex-start;flex-direction:column;gap:8px}
  .content-list .content-toolbar span{text-align:left}
  .article{font-size:17px}
  .contact-facts,.editorial-steps{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr;gap:24px}
}

/* The crest is the exact transparent artwork, scaled with its photograph. */
.uniform-visual{display:block;overflow:hidden}
.home-hero>svg.uniform-visual,.page-hero>svg.uniform-visual{position:absolute;inset:0;width:100%;height:100%}
.split>svg.uniform-visual{width:100%;max-height:560px;aspect-ratio:2/3}
.showcase-card svg.uniform-visual{width:100%;height:390px;transition:transform .25s ease}
.showcase-card:hover svg.uniform-visual{transform:scale(1.04)}
.style-inspiration-heading{margin:55px 0 20px}
.product-inspiration{margin:44px 0 60px}
.style-inspiration-heading h3{margin:3px 0 0}
.style-inspiration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.style-inspiration-card{display:block;background:#fff;overflow:hidden;border:1px solid var(--line)}
.style-inspiration-card svg.uniform-visual{width:100%;height:auto;aspect-ratio:3/2;transition:transform .25s ease}
.style-inspiration-card:hover svg.uniform-visual{transform:scale(1.025)}
.style-inspiration-card>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:18px 22px}
.style-inspiration-card strong{font-size:21px}
.style-inspiration-card span{font-size:15px;color:#65717e}
@media(max-width:720px){
  .showcase-card svg.uniform-visual{height:360px}
  .style-inspiration-grid{grid-template-columns:1fr}
  .style-inspiration-card>div{display:block}
  .style-inspiration-card span{display:block;margin-top:4px}
}
@media(max-width:620px){
  .home-hero h1 br{display:none}
  .page-hero>svg.uniform-visual{position:relative;height:255px;flex:none}
}

/* Subpage hierarchy: image banner, breadcrumb strip and clear section tabs. */
@media(max-width:720px){
  .page-hero{min-height:370px;display:flex;align-items:flex-end;margin-bottom:52px}
  .page-hero>img,.page-hero>svg.uniform-visual{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .page-hero .text{width:100%;min-height:370px;padding:90px 20px 28px;background:linear-gradient(0deg,rgba(16,36,59,.93),rgba(16,36,59,.2) 72%);justify-content:flex-end}
  .page-hero h1{font-size:clamp(32px,8vw,43px)}
  .page-hero p:not(.eyebrow){font-size:16px;line-height:1.55}
  .crumbs{bottom:-52px;padding:8px 20px;font-size:13px}
  .section-nav{justify-content:flex-start;gap:10px;padding:20px 20px 0}
  .section-nav a{min-width:128px;padding:13px 14px;font-size:15px}
}

/* Give each main section a visual route into its child pages. */
.section-overview{margin:58px 0 72px}
.section-overview-heading{margin-bottom:24px}
.section-overview-heading h2{margin:0}
.section-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.section-overview-card{display:flex;min-width:0;flex-direction:column;background:#fff;border:1px solid var(--line);transition:box-shadow .2s ease,transform .2s ease}
.section-overview-card:hover{box-shadow:0 12px 28px rgba(20,36,58,.11);transform:translateY(-3px)}
.section-overview-card:focus-visible{outline:3px solid #f3ad38;outline-offset:3px}
.section-overview-image{overflow:hidden;background:#e6ebef;aspect-ratio:4/3}
.section-overview-image>img,.section-overview-image>svg.uniform-visual{display:block;width:100%;height:100%;object-fit:cover}
.section-overview-copy{position:relative;flex:1;padding:21px 52px 23px 22px}
.section-overview-copy h3{margin:0 0 8px;font-size:21px}
.section-overview-copy p{margin:0;color:#5d6977;font-size:15px;line-height:1.65}
.section-overview-copy span{position:absolute;right:22px;top:19px;color:var(--red);font-size:22px;line-height:1}
@media(max-width:720px){
  .section-overview{margin:46px 0 58px}
  .section-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .section-overview-copy{padding:15px 32px 18px 15px}
  .section-overview-copy h3{font-size:17px}
  .section-overview-copy p{font-size:13px}
  .section-overview-copy span{right:12px;top:13px;font-size:18px}
}
@media(max-width:480px){.section-overview-grid{grid-template-columns:1fr}.section-overview-image{aspect-ratio:3/2}}

/* Keep child-page tabs readable and touch-friendly on narrow screens. */
@media(max-width:720px){
  .section-nav{scroll-snap-type:x proximity;scroll-padding-inline:20px;scrollbar-width:thin;scrollbar-color:#c52d39 #e4e7eb;padding-bottom:12px}
  .section-nav a{flex:0 0 auto;scroll-snap-align:start}
  .section-nav::-webkit-scrollbar{height:5px}
  .section-nav::-webkit-scrollbar-track{background:#e4e7eb}
  .section-nav::-webkit-scrollbar-thumb{background:#c52d39}
}
