:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202a4a;background:#fff;--accent:#0b55d9;--border:#dbe4f2;--muted:#68738d}
*{box-sizing:border-box}body{margin:0;line-height:1.6}a{color:inherit}.wrap{width:min(1240px,calc(100% - 40px));margin:0 auto}
.site-header{background:#fff;border-bottom:1px solid #edf1f6}.site-header .wrap{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;font-weight:700;text-decoration:none;font-size:20px}.brand img{display:block;max-width:170px;max-height:52px;width:auto;height:auto}.site-header nav{display:flex;gap:24px;flex-wrap:wrap}.site-header nav a{text-decoration:none}.site-header nav a:hover{color:var(--accent)}
.page{margin:0;padding:0}.page-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(34px,5vw,78px);align-items:center;padding:clamp(34px,5vw,72px) 0 clamp(28px,4vw,56px)}
.page-hero__content{display:grid;align-content:start;gap:clamp(16px,1.6vw,24px)}
.lio-breadcrumbs{margin:0}.lio-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:5px 7px;margin:0;padding:0;list-style:none;color:var(--muted);font-size:13px}.lio-breadcrumbs li:not(:last-child)::after{content:"/";margin-left:7px;color:#a5adbd}.lio-breadcrumbs a{text-decoration:none}.lio-breadcrumbs a:hover{color:var(--accent)}
.page-hero h1{margin:0;max-width:900px;font-size:clamp(36px,4.2vw,64px);line-height:1.06;letter-spacing:-.012em;font-weight:600}.page-hero__summary{max-width:760px;font-size:clamp(17px,1.25vw,20px);line-height:1.5}.page-hero__summary p{margin:0}.page-hero__date{color:var(--muted);font-size:14px}
.page-hero__actions{display:flex;gap:12px;flex-wrap:wrap}.cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid var(--accent);border-radius:999px;color:var(--accent);text-decoration:none;font-weight:600;transition:background-color .18s ease,color .18s ease,border-color .18s ease}.cta:hover,.cta:focus-visible{background:var(--accent);border-color:var(--accent);color:#fff;text-decoration:none}.cta--primary{background:var(--accent);color:#fff}.cta--primary:hover{background:#0848b8}
.page-hero__media{min-width:0}.page-hero__media img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain}
.content{width:100%;font-size:18px;padding:clamp(24px,3vw,42px) 0 clamp(54px,6vw,88px);border-top:1px solid #eef2f7}.content img{max-width:100%;height:auto;border-radius:14px}.content>:first-child{margin-top:0}
.site-footer{padding:30px 0 50px;border-top:1px solid #edf1f6;color:var(--muted);font-size:14px}.footer-logo{display:block;max-width:170px;max-height:56px;width:auto;height:auto}
@media(max-width:900px){.page-hero{grid-template-columns:1fr}.page-hero__media{order:-1}.page-hero__media img{max-height:340px;margin:0 auto}.page-hero h1{font-size:clamp(34px,8vw,52px)}}
@media(max-width:720px){.site-header .wrap{align-items:flex-start;flex-direction:column;padding:18px 0}.wrap{width:min(100% - 24px,1240px)}.page-hero{padding:28px 0 24px;gap:24px}.page-hero__content{gap:16px}.page-hero__actions{display:grid}.cta{width:100%}.content{font-size:17px;padding-top:24px}}
.lio-section-page{display:grid;gap:24px}.lio-section-intro{display:none}.lio-section-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lio-section-child{padding:20px;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden}.lio-section-child-image{display:block;margin:-20px -20px 16px;aspect-ratio:16/9;overflow:hidden;background:#f3f6fa}.lio-section-child-image img{display:block;width:100%;height:100%;object-fit:cover}
.lio-section-child h2{margin:0 0 8px;font-size:22px;line-height:1.25}.lio-section-child h2 a{text-decoration:none}.lio-section-child p{margin:0 0 14px;color:var(--muted)}.lio-section-child-link{font-weight:700;text-decoration:none;color:var(--accent)}.lio-section-empty{margin:0;color:var(--muted)}
@media(max-width:720px){.lio-section-children{grid-template-columns:1fr}}
.lio-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px}.lio-pagination a,.lio-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;text-decoration:none;font-weight:700}.lio-pagination a:hover{background:#f2f6fd}.lio-pagination-current{background:var(--accent)!important;color:#fff;border-color:var(--accent)!important}
/* LIO starter component: hero split media */
.lio-component-hero--split-media{display:grid;grid-template-columns:minmax(0,58fr) minmax(320px,42fr);gap:clamp(32px,5vw,72px);align-items:center;padding:clamp(32px,5vw,72px) 0}
.lio-component-hero__content{display:grid;align-content:start;gap:16px;min-width:0}.lio-component-hero__eyebrow{font-size:12px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:700}.lio-component-hero__title{margin:0;font-size:clamp(36px,4.2vw,64px);line-height:1.06}.lio-component-hero__lead{margin:0;max-width:760px;font-size:clamp(17px,1.25vw,20px);line-height:1.5;color:var(--muted)}
.lio-component-hero__media{margin:0;min-width:0}.lio-component-hero__media img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:14px}.lio-component-hero__media figcaption{margin-top:8px;font-size:12px;line-height:1.4;color:var(--muted)}
.lio-component-hero__actions{display:flex;gap:12px;flex-wrap:wrap}.lio-component-hero__cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid var(--accent);border-radius:999px;text-decoration:none;font-weight:600}.lio-component-hero__cta--primary{background:var(--accent);color:#fff}.lio-component-hero__cta--secondary{color:var(--accent)}
.lio-component-hero__meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid var(--border)}.lio-component-hero__meta strong{font-size:18px}.lio-component-hero__meta span{font-size:13px;color:var(--muted)}
.lio-component-hero--media-left .lio-component-hero__media{grid-column:1;grid-row:1}.lio-component-hero--media-left .lio-component-hero__content{grid-column:2;grid-row:1}.lio-component-hero--no-media{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.lio-component-hero--split-media{grid-template-columns:1fr;gap:24px}.lio-component-hero--media-left .lio-component-hero__media,.lio-component-hero--media-left .lio-component-hero__content{grid-column:auto;grid-row:auto}.lio-component-hero__media{order:-1}}
@media(max-width:760px){.lio-component-hero--hide-media-mobile .lio-component-hero__media{display:none}.lio-component-hero__actions{display:grid}.lio-component-hero__cta{width:100%}.lio-component-hero__meta{align-items:flex-start;flex-direction:column;gap:4px}}

/* Gallery attached to a published page: responsive, lightweight, no JS dependency. */
.lio-page-gallery{margin:0 0 clamp(36px,5vw,70px)}
.lio-page-gallery__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;align-items:start}
.lio-page-gallery__item{display:block;max-width:480px;border-radius:14px;overflow:hidden;background:#eef2f7;aspect-ratio:4/3}
.lio-page-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.lio-page-gallery__item:hover img,.lio-page-gallery__item:focus-visible img{transform:scale(1.025)}
.lio-page-gallery__item:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:720px){.lio-page-gallery__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px}}
/* Three rich-text image placements; HTML img width attribute persists through safe sanitation. */
.content .lio-content-image{display:table;max-width:100%;width:fit-content;clear:both;margin:1.25em auto}
.content .lio-content-image img{display:block;max-width:100%;height:auto;border-radius:12px}
.content .lio-content-image figcaption{display:table-caption;caption-side:bottom;padding-top:8px;font-size:13px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.content .lio-content-image--left{float:left;clear:left;margin:.25em 1.35em 1em 0}
.content .lio-content-image--center{float:none;clear:both;margin:1.35em auto}
.content .lio-content-image--right{float:right;clear:right;margin:.25em 0 1em 1.35em}
.content::after{content:"";display:block;clear:both}
@media(max-width:720px){.content .lio-content-image--left,.content .lio-content-image--right{float:none;clear:both;margin:1.2em auto}}

/* Gallery lightbox: native dialog isolates page interaction and keyboard focus. */
.lio-gallery-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:20px;border:0;overflow:hidden;background:rgba(13,19,31,.96);color:#fff}
.lio-gallery-lightbox::backdrop{background:rgba(0,0,0,.78)}
.lio-gallery-lightbox__surface{height:100%;width:min(1400px,100%);margin:auto;display:flex;flex-direction:column;justify-content:center;position:relative}
.lio-gallery-lightbox__figure{min-width:0;margin:0;display:grid;justify-items:center;gap:12px}
.lio-gallery-lightbox__stage{width:100%;min-width:0;display:flex;align-items:center;justify-content:center}
.lio-gallery-lightbox__image-wrap{position:relative;display:inline-flex;max-width:100%;flex:0 1 auto;align-items:center;justify-content:center}
.lio-gallery-lightbox__image-wrap img{display:block;max-width:100%;max-height:calc(100dvh - 155px);width:auto;height:auto;object-fit:contain;box-shadow:0 16px 50px rgba(0,0,0,.22)}
.lio-gallery-lightbox__figure figcaption{text-align:center;font-size:14px;line-height:1.4;color:#e4e8ef;overflow-wrap:anywhere}
.lio-gallery-lightbox__counter{color:#abb7c7;font-size:12px;font-variant-numeric:tabular-nums}
.lio-gallery-lightbox__close,.lio-gallery-lightbox__arrow{appearance:none;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font-family:inherit}
.lio-gallery-lightbox__arrow svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lio-gallery-lightbox__close{position:absolute;right:12px;top:12px;width:44px;height:44px;z-index:2;font-size:28px;padding:0}
.lio-gallery-lightbox__close svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;pointer-events:none}
/* Controls are attached to the displayed picture, not the dialog viewport. */
.lio-gallery-lightbox__arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;font-size:34px;line-height:1;z-index:2}
.lio-gallery-lightbox__arrow[data-gallery-prev]{left:12px}
.lio-gallery-lightbox__arrow[data-gallery-next]{right:12px}
.lio-gallery-lightbox__arrow[hidden]{display:none!important}
.lio-gallery-lightbox__close:hover,.lio-gallery-lightbox__arrow:hover,.lio-gallery-lightbox__close:focus-visible,.lio-gallery-lightbox__arrow:focus-visible{background:rgba(255,255,255,.23);outline:2px solid #fff;outline-offset:3px}
@media(max-width:720px){.lio-gallery-lightbox{padding:12px}.lio-gallery-lightbox__arrow{width:36px;height:36px;font-size:28px}.lio-gallery-lightbox__arrow[data-gallery-prev]{left:8px}.lio-gallery-lightbox__arrow[data-gallery-next]{right:8px}.lio-gallery-lightbox__close{right:8px;top:8px;width:36px;height:36px}.lio-gallery-lightbox__image-wrap img{max-height:calc(100dvh - 135px)}.lio-gallery-lightbox__figure figcaption{font-size:12px}}

/* Site-specific editorial presentation */
:root{color:#252d30;background:#f7f7f3;--accent:#126a70;--border:#d9d8cf;--muted:#526367}
.wrap{width:min(1794px,calc(100% - 64px))}.site-header{background:#f7f7f3;border-color:#d9d8cf}.brand{color:#126a70}.page-hero{padding-block:clamp(40px,6vw,100px);grid-template-columns:1fr}.page-hero h1{font-size:clamp(42px,6vw,92px);max-width:1100px}.page-hero__summary{max-width:950px}.content{border-color:#d9d8cf}.material-intro{max-width:1000px;margin-bottom:40px}.material-kicker{font-size:12px;letter-spacing:.18em;color:#126a70;font-weight:700}.material-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 48px}.material-card{padding:24px;border:1px solid #d9d8cf;background:#fff;border-top:4px solid #126a70;border-radius:4px}.material-card h3{font-size:20px;line-height:1.3;margin:12px 0}.material-card p{font-size:16px;margin:0;color:#526367}.material-num{font-weight:700;color:#126a70;font-size:14px}.material-note{background:#eee6d8;padding:clamp(20px,3vw,45px);border-radius:4px}.material-note h2{margin-top:0}.site-footer{border-color:#d9d8cf}@media(max-width:1100px){.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wrap{width:calc(100% - 28px)}.material-grid{grid-template-columns:1fr}.material-card{padding:20px}}

.material-card h3 a{text-decoration:none}.material-card h3 a:hover,.material-card h3 a:focus-visible{color:#126a70;text-decoration:underline}.material-note ul{columns:2;column-gap:38px}.material-note li{break-inside:avoid;margin-bottom:8px}.material-related{border-top:1px solid #d9d8cf;padding-top:18px}.site-header nav{gap:clamp(8px,1.3vw,22px);font-size:14px}.content>p,.content>ul:not(.material-grid){max-width:1100px}.content h2{margin-top:1.4em}.material-card h3{overflow-wrap:anywhere}@media(max-width:700px){.material-note ul{columns:1}.site-header nav{gap:8px 14px}}

/* Site layout: the Calm adapter uses its own wrappers, not the legacy .wrap. */
body.lio-theme.lio-theme--calm{--lio-content-width:1794px !important;--lio-accent:#126a70 !important}
body.lio-theme--calm :is(.calm-wrap,.lio-footer){box-sizing:border-box;width:min(1794px,calc(100% - 64px));max-width:1794px;margin-inline:auto;padding-inline:0}
body.lio-theme--calm main.calm-wrap{display:block}
body.lio-theme--calm main.calm-wrap :is(.calm-article,.calm-body){width:100%;max-width:none;margin-inline:0}
body.lio-theme--calm main.calm-wrap .calm-article .calm-lead{max-width:none;width:100%}
body.lio-theme--calm main.calm-wrap .calm-body .material-intro{max-width:none}
body.lio-theme--calm main.calm-wrap .calm-body :is(p,ul,ol){overflow-wrap:break-word}
@media(max-width:720px){body.lio-theme--calm :is(.calm-wrap,.lio-footer){width:calc(100% - 28px);padding-inline:0}}

/* KVARTZ editorial typography — 2026-11-27 */
body.lio-theme--calm main.calm-wrap .calm-article{padding-block:clamp(28px,3vw,52px) 64px}
body.lio-theme--calm main.calm-wrap .calm-article h1{font-size:clamp(30px,2.8vw,48px);line-height:1.16;letter-spacing:-.025em;font-weight:600;margin:0 0 18px;max-width:none}
body.lio-theme--calm main.calm-wrap .calm-article .calm-lead{font-size:clamp(17px,1.1vw,19px);line-height:1.65;color:#526367;margin:0 0 32px}
body.lio-theme--calm main.calm-wrap .calm-body{font-size:17px;line-height:1.75;padding-bottom:28px;min-width:0}
body.lio-theme--calm main.calm-wrap .calm-body p{font-size:inherit;line-height:1.75;margin:0 0 16px}
body.lio-theme--calm main.calm-wrap .calm-body h2{font-size:clamp(22px,1.65vw,30px);font-weight:600;line-height:1.3;letter-spacing:-.015em;margin:32px 0 12px}
body.lio-theme--calm main.calm-wrap .calm-body h3{font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.01em;margin:24px 0 12px}
body.lio-theme--calm main.calm-wrap .calm-body > :first-child{margin-top:0}
body.lio-theme--calm main.calm-wrap .calm-body :is(ul,ol){padding-inline-start:1.5em;margin:12px 0 22px}
body.lio-theme--calm main.calm-wrap .calm-body li{margin:5px 0}
body.lio-theme--calm main.calm-wrap .calm-body div[style*="overflow-x"]{max-width:100%;overflow-x:auto;margin:12px 0 32px;border:1px solid #d6dfdc;border-radius:10px;background:#fff}
body.lio-theme--calm main.calm-wrap .calm-body table{display:table;width:100%;min-width:0;max-width:100%;border-collapse:collapse;border-spacing:0;font-size:16px;line-height:1.5;margin:0;text-align:left;color:#252d30}
body.lio-theme--calm main.calm-wrap .calm-body :is(th,td){padding:14px 18px;text-align:left;vertical-align:top;border-bottom:1px solid #d6dfdc;border-right:1px solid #e0e7e3;overflow-wrap:normal}
body.lio-theme--calm main.calm-wrap .calm-body :is(th,td):last-child{border-right:0}
body.lio-theme--calm main.calm-wrap .calm-body th{background:#e5efec;color:#174c50;font-weight:650}
body.lio-theme--calm main.calm-wrap .calm-body tbody tr:nth-child(even){background:#f4f7f5}
body.lio-theme--calm main.calm-wrap .calm-body tbody tr:last-child td{border-bottom:0}
body.lio-theme--calm main.calm-wrap .calm-body .material-card h3{font-size:19px;margin:0 0 10px}
body.lio-theme--calm main.calm-wrap .calm-body .material-card p{font-size:16px;margin:0}
body.lio-theme--calm main.calm-wrap .calm-body .material-note{border:1px solid #ddd7c8;border-radius:10px;margin:26px 0;padding:24px}
body.lio-theme--calm main.calm-wrap .calm-body .material-note h2{margin-top:0}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-article .calm-lead{color:#b2c1bc}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-body div[style*="overflow-x"]{background:#202c2d;border-color:#455a56}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-body table{color:#e4eae8}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-body :is(th,td){border-color:#455a56}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-body th{background:#304944;color:#e4eae8}
body.lio-theme--calm.lio-mode-dark main.calm-wrap .calm-body tbody tr:nth-child(even){background:#293a38}
@media(max-width:720px){
body.lio-theme--calm main.calm-wrap .calm-article h1{font-size:30px}
body.lio-theme--calm main.calm-wrap .calm-body{font-size:16px}
body.lio-theme--calm main.calm-wrap .calm-body h2{font-size:23px;margin-top:26px}
body.lio-theme--calm main.calm-wrap .calm-body h3{font-size:19px}
body.lio-theme--calm main.calm-wrap .calm-body div[style*="overflow-x"] table{min-width:540px;font-size:15px}
body.lio-theme--calm main.calm-wrap .calm-body :is(th,td){padding:11px 12px}
}

/* Materials engineering brand: domain-independent mark + live text. */
body.lio-theme--calm .lio-brand--with-tagline{flex-direction:row;align-items:center;gap:10px;flex-shrink:0}
body.lio-theme--calm .lio-brand--with-tagline .lio-brand__main{flex:none}
body.lio-theme--calm .lio-brand--with-tagline img{width:42px;height:42px;max-width:42px;max-height:42px;object-fit:contain}
body.lio-theme--calm .lio-brand--with-tagline .lio-brand__tagline{font-size:1.02rem;font-weight:750;letter-spacing:-.025em;color:inherit;line-height:1.18;max-width:130px}
@media(max-width:720px){body.lio-theme--calm .lio-brand--with-tagline img{width:36px;height:36px;max-width:36px;max-height:36px}body.lio-theme--calm .lio-brand--with-tagline .lio-brand__tagline{font-size:.95rem;max-width:150px}}

/* Materials portal footer enhancement — site-owned. */
body.lio-theme--calm .lio-footer.lio-footer--extended{
  --materials-footer-text:#344b4d;--materials-footer-muted:#52676a;--materials-footer-line:#cbdad7;
  box-sizing:border-box;width:min(1794px,calc(100% - 64px));max-width:1794px;margin:32px auto 0;
  padding:36px clamp(22px,3vw,52px) 20px;background:#edf3f1;color:var(--materials-footer-text);
  border:1px solid var(--materials-footer-line);border-radius:16px 16px 0 0;font-size:.94rem;
}
body.lio-theme--calm .lio-footer__main{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:28px clamp(20px,4vw,64px)}
body.lio-theme--calm .lio-footer__identity{max-width:480px;gap:12px}
body.lio-theme--calm .lio-footer__brand{display:flex;align-items:center;gap:12px;min-height:48px;color:inherit;font-size:1.15rem;line-height:1.2}
body.lio-theme--calm .lio-footer__brand img{width:48px;height:48px;max-width:48px;max-height:48px;object-fit:contain;flex:none}
body.lio-theme--calm .lio-footer__identity p{color:var(--materials-footer-muted);line-height:1.65}
body.lio-theme--calm .lio-footer__column h3{color:inherit;font-size:1.03rem;margin:5px 0 14px}
body.lio-theme--calm .lio-footer__column nav{gap:4px}
body.lio-theme--calm .lio-footer__column a{display:inline-flex;align-items:center;min-height:36px;color:inherit;text-decoration:none;line-height:1.4}
body.lio-theme--calm .lio-footer__column a:hover,body.lio-theme--calm .lio-footer__column a:focus-visible{color:var(--lio-accent,#126a70);text-decoration:underline;text-underline-offset:4px}
body.lio-theme--calm .lio-footer__bottom{border-color:var(--materials-footer-line);margin-top:28px;padding-top:16px;color:var(--materials-footer-muted)}
body.lio-theme--calm .materials-back-top{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--materials-footer-line);border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer;min-height:42px}
body.lio-theme--calm .materials-back-top:hover{background:#dbe9e5}
body.lio-theme--calm .materials-back-top:focus-visible{outline:2px solid currentColor;outline-offset:3px}
body.lio-theme--calm.lio-mode-dark .lio-footer.lio-footer--extended{--materials-footer-text:#e2ece8;--materials-footer-muted:#b3c7c1;--materials-footer-line:#415953;background:#202c2d}
body.lio-theme--calm.lio-mode-dark .materials-back-top:hover{background:#304944}
@media(max-width:900px){body.lio-theme--calm .lio-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}body.lio-theme--calm .lio-footer__identity{grid-column:1/-1}}
@media(max-width:720px){body.lio-theme--calm .lio-footer.lio-footer--extended{width:calc(100% - 28px);padding:24px 18px 16px}body.lio-theme--calm .lio-footer__column a{min-height:44px}}
@media(max-width:400px){body.lio-theme--calm .lio-footer__main{grid-template-columns:minmax(0,1fr);gap:22px}}

/* Materials homepage layout — site-owned, no Core changes. */
body.lio-theme--calm main.calm-wrap > .calm-hero{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);grid-template-rows:1fr auto 1fr;
 column-gap:clamp(28px,5vw,90px);row-gap:14px;align-items:center;text-align:left;
 padding:clamp(32px,4.5vw,72px) 0 clamp(28px,3.5vw,56px);
}
body.lio-theme--calm main.calm-wrap > .calm-hero .calm-eyebrow{grid-column:1;grid-row:1;align-self:end;justify-self:start;letter-spacing:.12em}
body.lio-theme--calm main.calm-wrap > .calm-hero h1{grid-column:1;grid-row:2;max-width:none;margin:0;font-size:clamp(36px,4.1vw,68px);line-height:1.08;letter-spacing:-.04em;text-align:left;overflow-wrap:normal}
body.lio-theme--calm main.calm-wrap > .calm-hero .calm-lead{grid-column:1;grid-row:3;align-self:start;max-width:620px;margin:0;text-align:left;font-size:clamp(16px,1.3vw,20px);line-height:1.6}
body.lio-theme--calm main.calm-wrap > .calm-hero .calm-hero-media{grid-column:2;grid-row:1/4;width:100%;max-width:none;min-width:0;min-height:0;height:auto;aspect-ratio:16/9;margin:0;border-radius:14px;align-self:center}
body.lio-theme--calm main.calm-wrap > .calm-hero .calm-hero-media img{width:100%;height:100%;object-fit:cover}
body.lio-theme--calm main.calm-wrap > .calm-section{padding:24px 0 38px}
body.lio-theme--calm main.calm-wrap > .calm-section .calm-section-title{display:block;margin:0 0 22px;text-align:left}
body.lio-theme--calm main.calm-wrap > .calm-section .calm-section-title > span{display:none}
body.lio-theme--calm main.calm-wrap > .calm-section .calm-section-title h2{margin:0;font-size:clamp(24px,2vw,32px);text-align:left}
body.lio-theme--calm main.calm-wrap > .calm-body{padding:10px 0 32px}
body.lio-theme--calm main.calm-wrap > .calm-body .material-intro{margin:0 0 24px}
body.lio-theme--calm main.calm-wrap > .calm-body .material-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card{min-width:0;padding:0 18px 20px;overflow:hidden;border-radius:10px;transition:border-color .18s,box-shadow .18s}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card:hover{border-color:var(--lio-accent);box-shadow:0 5px 18px #173e3b14}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card-cover{display:block;margin:0 -18px 16px;aspect-ratio:16/9;overflow:hidden}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card-cover img{display:block;width:100%;height:100%;object-fit:cover}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card h3 a{text-decoration:none}
body.lio-theme--calm main.calm-wrap > .calm-body .material-card h3 a:hover{text-decoration:underline}
@media(max-width:1050px){body.lio-theme--calm main.calm-wrap > .calm-body .material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body.lio-theme--calm main.calm-wrap > .calm-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px;padding:30px 0 24px}
 body.lio-theme--calm main.calm-wrap > .calm-hero :is(.calm-eyebrow,h1,.calm-lead,.calm-hero-media){grid-column:1;grid-row:auto}
 body.lio-theme--calm main.calm-wrap > .calm-hero h1{font-size:clamp(32px,6vw,46px)}
 body.lio-theme--calm main.calm-wrap > .calm-hero .calm-hero-media{margin-top:10px}
}
@media(max-width:480px){body.lio-theme--calm main.calm-wrap > .calm-body .material-grid{grid-template-columns:minmax(0,1fr)}}
