:root{--ink:#2e2930;--plum:#fbe99f;--dark-plum:#fbe99f;--sage:#4f789d;--pale-sage:#bbd1e8;--baby-blue:#bbd1e8;--blue-deep:#294b68;--blue-mid:#7fa9ce;--pale-plum:#fff8d9;--butter-deep:#e6cc64;--butter-ink:#57491e;--warm:#f8f5f0;--line:#e8e1da}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:"Avenir Next","Segoe UI",Arial,sans-serif;font-size:16px}
a{text-decoration:none;color:inherit}
header{height:86px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid #eee8e2;backdrop-filter:blur(12px);display:flex;align-items:center;gap:32px;padding-inline:max(28px,calc((100% - 1240px)/2));white-space:nowrap}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:800;margin-right:auto}
.brand-logo{width:52px;height:52px;display:block;object-fit:cover;border-radius:9px;flex:0 0 auto}
.brand small{display:block;font-size:8px;color:#716b73;letter-spacing:.16em;margin-top:3px}
nav{display:flex;gap:28px;font-size:13px;font-weight:750;color:#4d4650}
nav a{position:relative}
nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:#8aafd1;transition:right .2s ease}
nav a:hover:after{right:0}
.pill{background:var(--plum);color:var(--ink);border-radius:6px;padding:13px 18px;font-weight:750;font-size:13px}
.hero{max-width:1240px;min-height:680px;margin:auto;padding:72px 28px 82px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:72px}
.eye{color:var(--sage);font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.eye:before{content:"";display:inline-block;width:24px;height:2px;background:#9fbeda;margin-right:10px;vertical-align:middle}
h1,h2{font-family:"Avenir Next","Segoe UI",Arial,sans-serif;letter-spacing:-.045em;font-weight:750;line-height:.96}
h1{font-size:clamp(60px,7.2vw,100px);margin:26px 0 28px}
h1 span{color:#fbe99f}
h2{font-size:clamp(42px,5.4vw,68px);margin:15px 0 38px;color:var(--ink)}
h3{color:var(--ink)}
.hero>div>p{font-size:19px;line-height:1.7;color:#625d63;max-width:590px}
.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}
.button,button{display:inline-block;background:var(--plum);color:var(--ink);border:0;border-radius:6px;padding:14px 22px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:transform .18s ease,background .18s ease}
.button:hover,button:hover{transform:translateY(-2px);background:var(--butter-deep)}
.button.white{background:#fff;color:var(--butter-ink);border:1px solid #d8c87f}
.button.white:hover{background:#f8f4f8}
.heroimg{aspect-ratio:16/10;overflow:hidden;border-radius:18px;background:#f8f5f0;box-shadow:0 22px 55px rgba(65,42,73,.15)}
.heroimg img{width:100%;height:100%;object-fit:contain;object-position:center;filter:saturate(.92) contrast(.98)}
.instagram-rail{position:fixed;z-index:12;right:14px;top:104px;width:300px;height:620px;max-height:calc(100vh - 122px);min-height:520px;overflow:hidden;background:#fff;border:1px solid #e8e1da;border-radius:14px;box-shadow:0 12px 34px rgba(55,45,58,.10)}
.instagram-rail iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.ticker{background:var(--pale-sage);color:#416a8f;padding:17px;text-align:center;font-weight:800;font-size:11px;letter-spacing:.16em;word-spacing:14px}
.ticker b{color:#7fa9ce}
section{padding:92px 28px}
.wrap{max-width:1240px;margin:auto}
section.soft{background:var(--warm)}
.intro{max-width:760px;color:#6d676d;font-size:18px;line-height:1.72;margin:-12px 0 30px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px}
.section-head>a{color:var(--butter-ink);font-weight:800;margin-bottom:38px}
.newsletter-text{padding:58px 62px;border-radius:18px;background:var(--pale-plum);position:relative;overflow:hidden}
.newsletter-text:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;background:#7fa9ce}
.newsletter-text small,.archive small,.work-card small,.cat small,.card small{color:#4f789d;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.newsletter-text h3{letter-spacing:-.035em;font-size:48px;font-weight:750;color:var(--ink);margin:16px 0;max-width:760px}
.newsletter-text p{color:#686168;font-size:18px;line-height:1.65;max-width:800px}
.grid,.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card,.work-card{border:1px solid #eee8e2;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(55,45,58,.06);transition:transform .2s ease,box-shadow .2s ease}
.card:hover,.work-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(55,45,58,.10)}
.card{padding:30px}
.card i{font-style:normal;background:#edf5fb;color:#416a8f;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;font-size:24px;margin-bottom:20px}
.card p,.work-card p,.cat p{color:#6c666d;line-height:1.55}
.card a{color:var(--butter-ink);font-weight:800}
.resource-grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:1000px;align-items:stretch}
.resource-card{min-height:230px;padding:0;overflow:hidden;display:flex;flex-direction:row}
.resource-card-media{position:relative;display:block;flex:0 0 360px;min-height:230px;overflow:hidden;background:#f1ede8}
.resource-card-media img{width:100%;height:100%;display:block;object-fit:cover}
.resource-play{position:absolute;left:50%;top:50%;width:54px;height:38px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:10px;background:rgba(46,41,48,.88);color:#fbe99f;font-size:18px;line-height:1}
.resource-card-body{min-width:0;display:flex;flex:1;flex-direction:column;padding:32px 36px}
.resource-card-body>p{flex:1}
.work-card{overflow:hidden}
.work-card img{width:100%;height:250px;object-fit:cover}
.work-card>div{padding:27px}
.work-card h3{margin:8px 0}
.events{display:grid;gap:20px}
.events article{display:grid;grid-template-columns:100px 120px 1fr auto;align-items:center;gap:25px;border:1px solid #ece6df;border-radius:14px;padding:17px;background:#fff;box-shadow:0 8px 24px rgba(55,45,58,.05)}
.events article img{width:100px;height:76px;object-fit:cover;border-radius:9px}
.events article>b{font-size:18px;font-weight:750;color:#806715;border-right:1px solid #e7e0e8}
.events h3,.events p{margin:3px}
.events p{color:#666}
.event-details-link{color:#52799b;font-size:13px;font-weight:750;white-space:nowrap}
.event-details-link:hover{color:#294b68;text-decoration:underline;text-underline-offset:4px}
.activities-empty{display:flex;align-items:center;gap:22px;padding:30px 34px;border:1px solid #d7e6f3;border-radius:14px;background:#edf5fb;color:#294b68}
.activities-empty>span{width:54px;height:54px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:25px}
.activities-empty h3,.activities-empty p{margin:3px 0}.activities-empty h3{color:#294b68;font-size:22px}.activities-empty p{color:#60778c;line-height:1.55}
.directory-callout{max-width:1240px;margin:78px auto;padding:58px 62px;border-radius:18px;background:var(--pale-sage)}
.directory-callout-top{display:flex;align-items:center;justify-content:space-between;gap:35px}
.directory-callout h2{margin:12px 0;color:#294b68}
.directory-callout p{max-width:680px;line-height:1.6}
.cat-carousel{position:relative;margin-top:34px;padding-inline:46px}
.cat-carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 42px)/4);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.cat-carousel-track::-webkit-scrollbar{display:none}
.cat-carousel-card{position:relative;min-height:180px;overflow:hidden;border-radius:12px;background:#d7e6f3;scroll-snap-align:start}
.cat-carousel-card img{width:100%;height:180px;display:block;object-fit:cover}
.cat-carousel-placeholder{height:180px;display:grid;place-items:center;font-size:58px;background:#f1ede8}
.cat-carousel-name{position:absolute;inset:auto 0 0;padding:28px 13px 12px;background:linear-gradient(transparent,rgba(35,27,38,.82));color:#fff;font-weight:800}
.cat-carousel-button{position:absolute;z-index:2;top:50%;width:34px;height:34px;padding:0;border-radius:50%;display:grid;place-items:center;transform:translateY(-50%);box-shadow:0 5px 14px rgba(55,45,58,.15)}
.cat-carousel-button:hover{transform:translateY(-50%)}
.cat-carousel-button.previous{left:0}.cat-carousel-button.next{right:0}
.partnerships{background:#fff}
.partnerships-intro{max-width:720px;color:#6d676d;font-size:18px;line-height:1.7;margin:-14px 0 34px}
.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.partner-card{min-height:240px;padding:28px;display:flex;align-items:center;justify-content:center;gap:22px;flex-direction:column;text-align:center;border:1px solid #e8e1da;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(55,45,58,.06);transition:transform .2s ease,box-shadow .2s ease}
.partner-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(55,45,58,.10)}
.partner-logo{width:132px;height:132px;display:grid;place-items:center}
.partner-logo img{width:100%;height:100%;display:block;object-fit:contain}
.partner-logo-fallback{width:112px;height:112px;display:grid;place-items:center;border-radius:50%;background:var(--pale-sage);color:#294b68;font-size:22px;font-weight:800}
.partner-card h3{margin:0;font-size:19px;line-height:1.35}
.partner-card small{display:block;margin-top:5px;color:#4f789d;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.impact-section{padding-block:76px;background:#fff}
.impact-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}
.impact-heading h2{font-size:clamp(38px,4.4vw,58px);margin:14px 0 0}
.impact-heading p{max-width:470px;margin:0;color:#6d676d;line-height:1.65}
.impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.impact-card{position:relative;min-height:210px;padding:30px;border:1px solid #e8e1da;border-radius:16px;overflow:hidden;background:var(--pale-sage);box-shadow:0 10px 28px rgba(55,45,58,.06)}
.impact-card:after{content:"";position:absolute;right:-34px;bottom:-48px;width:132px;height:132px;border-radius:50%;background:rgba(251,233,159,.72)}
.impact-number{position:relative;z-index:1;display:block;color:#294b68;font-size:clamp(54px,5vw,72px);font-weight:800;letter-spacing:-.055em;line-height:1}
.impact-card p{position:relative;z-index:1;max-width:230px;margin:24px 0 0;color:#526d84;font-size:17px;font-weight:750;line-height:1.4}
.resource-spotlight{background:var(--pale-sage)}
.resource-spotlight .section-head{display:block}
.resource-spotlight .section-head h2{max-width:960px;margin-bottom:24px}
.resource-spotlight .section-head>a{display:inline-block;margin:0 0 30px}
.resource-spotlight-card{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);min-height:390px;overflow:hidden;border:1px solid #d7e6f3;border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(55,45,58,.07)}
.resource-spotlight-media{position:relative;min-height:320px;display:grid;place-items:center;overflow:hidden;background:#d7e6f3}
.resource-spotlight-media img{width:100%;height:100%;display:block;object-fit:cover}
.resource-spotlight-media span{font-size:72px}
.resource-spotlight-play{position:absolute;left:50%;top:50%;width:62px;height:44px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:11px;background:rgba(46,41,48,.9);color:#fbe99f;font-size:20px}
.resource-spotlight-copy{padding:46px 50px;display:flex;justify-content:center;flex-direction:column}
.resource-spotlight-copy small{color:#4f789d;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.resource-spotlight-copy h3{margin:14px 0;font-size:clamp(30px,3vw,44px);line-height:1.05;letter-spacing:-.035em}
.resource-spotlight-copy p{color:#6c666d;font-size:17px;line-height:1.65}
.centered{justify-content:center}
.cta{text-align:center;background:var(--plum);color:var(--ink)}
.cta h2{color:var(--ink);margin-top:0}
.cta p{color:#5a5138}
.page-hero{background:var(--warm)}
.page-hero h1{font-size:clamp(58px,8vw,96px);margin:20px 0 30px;color:var(--ink)}
.archive{display:grid;gap:25px}
.archive article{padding:40px 10px;border-bottom:1px solid var(--line)}
.archive h2{font-size:44px;letter-spacing:-.03em;color:var(--ink);margin:12px 0}
.archive p{max-width:850px;color:#686168;line-height:1.65;margin-bottom:25px}
input,.contact-form textarea{width:100%;max-width:650px;padding:14px 16px;border:1px solid #d9d1da;border-radius:7px;background:#fff;font:inherit}
input:focus,.contact-form textarea:focus{outline:3px solid rgba(126,168,206,.25);border-color:#6f9fc8}
.cat-search{max-width:100%;margin-bottom:32px}
.catlist{display:grid;gap:16px;max-width:900px}
.cat{border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 26px rgba(55,45,58,.06);background:#fff}
.cat-row{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:stretch;overflow:hidden;min-height:180px}
.cat-portrait{width:180px;height:180px;aspect-ratio:1;background:#f1ede8;display:grid;place-items:center;overflow:hidden}
.cat-portrait img{width:100%;height:100%;object-fit:cover}
.cat-portrait span{font-size:64px;line-height:1}
.cat-bio{min-width:0;padding:26px 30px}
.cat-bio h3{font-size:24px;margin:5px 0 8px}
.cat-bio p{margin:0 0 14px}
.cat-status{display:inline-block;background:var(--pale-sage);color:#496f91;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800}
.cat-gallery-trigger{width:180px;height:180px;padding:0;border:0;border-radius:0;background:#f1ede8;overflow:hidden}.cat-gallery-trigger:hover{transform:none;background:#f1ede8}.cat-gallery-trigger img{width:100%;height:100%;display:block;object-fit:cover}
.cat-gallery-dialog{width:min(760px,calc(100% - 32px));border:0;border-radius:16px;padding:18px;background:#fff;box-shadow:0 24px 70px rgba(23,15,27,.28)}.cat-gallery-dialog::backdrop{background:rgba(25,20,27,.78)}
.cat-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.cat-gallery-head h2{font-size:30px;margin:0}.cat-gallery-close{padding:8px 12px}
.cat-gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.cat-gallery-track::-webkit-scrollbar{display:none}.cat-gallery-slide{scroll-snap-align:start}.cat-gallery-slide img{width:100%;max-height:68vh;display:block;object-fit:contain;border-radius:10px;background:#f1ede8}.cat-gallery-nav{display:flex;justify-content:center;gap:10px;margin-top:14px}.cat-gallery-nav button{padding:9px 15px}
.empty{padding:45px;border:1px dashed #aaa;border-radius:15px;text-align:center}
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}
.contact-layout h2{font-size:54px}
.contact-layout p{color:#686168;line-height:1.65}
.contact-form{display:grid;gap:16px}
.contact-form label{font-size:12px;font-weight:800}
.contact-form input,.contact-form textarea{display:block;max-width:none;margin:6px 0 0}
.contact-form textarea{resize:vertical}
.error{display:block;color:#a31717;margin-top:4px}
.contact-success{background:var(--pale-sage);border-radius:14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
footer{background:#294b68;color:#fffdf7;padding:62px max(28px,calc((100% - 1240px)/2)) 48px;line-height:1.6}
.footer-inner{display:flex;justify-content:space-between;align-items:end;gap:30px}
footer h3{color:#fffdf7}
footer p{max-width:700px;color:#e5f0f9}
.footer-links{display:flex;gap:20px}
.footer-links a{color:#fbe99f;font-weight:800}
@media(max-width:1000px){
  nav{display:none}
  .hero{grid-template-columns:1fr;gap:42px}
  .heroimg{max-width:620px;width:100%;margin:auto}
  .grid,.work-grid{grid-template-columns:repeat(2,1fr)}
  .events article{grid-template-columns:90px 1fr auto}
  .events article img{display:none}
  .contact-layout{grid-template-columns:1fr}
}
@media(max-width:1700px){
  .instagram-rail{position:relative;right:auto;top:auto;width:min(1184px,calc(100% - 56px));height:600px;min-height:0;margin:28px auto 0;box-shadow:none}
}
@media(max-width:620px){
  header{height:74px;padding-inline:16px}.brand-logo{width:48px;height:48px}.pill{display:none}
  .hero{padding:48px 20px 64px;gap:28px;min-height:0}h1{font-size:58px}
  .heroimg{border-radius:15px;box-shadow:0 15px 35px rgba(65,42,73,.14)}
  section{padding:56px 18px}
  .newsletter-text{padding:30px}.newsletter-text h3{font-size:36px}
  .grid,.work-grid{grid-template-columns:1fr}
  .events article{grid-template-columns:75px 1fr}.events .button,.event-details-link{grid-column:1/-1;text-align:left}
  .activities-empty{align-items:flex-start;padding:24px 20px}.activities-empty>span{width:44px;height:44px}
  .ticker{line-height:2;word-spacing:4px}
  .section-head{align-items:flex-start;flex-direction:column}
  .directory-callout{margin-inline:18px;padding:34px}.section-head>a{margin-top:-25px}
  .directory-callout-top{align-items:flex-start;flex-direction:column}
  .cat-carousel{padding-inline:38px;margin-top:26px}.cat-carousel-track{grid-auto-columns:78%}
  .partner-grid{grid-template-columns:1fr}.partner-card{min-height:0;flex-direction:row;justify-content:flex-start;text-align:left;padding:22px}.partner-logo{width:84px;height:84px;flex:0 0 auto}.partner-logo-fallback{width:76px;height:76px;font-size:17px}
  .impact-section{padding-block:56px}.impact-heading{align-items:flex-start;flex-direction:column}.impact-grid{grid-template-columns:1fr}.impact-card{min-height:170px}
  .resource-spotlight-card{grid-template-columns:1fr}.resource-spotlight-media{min-height:220px}.resource-spotlight-copy{padding:32px 26px}
  .cat-row{grid-template-columns:112px minmax(0,1fr);min-height:128px}.cat-portrait{width:96px;height:96px;margin:16px;border-radius:10px}.cat-portrait span{font-size:46px}.cat-bio{padding:18px 18px 18px 8px}.cat-bio h3{font-size:21px}.cat-bio p{font-size:14px}
  .cat-gallery-trigger{width:96px;height:96px;margin:16px;border-radius:10px}
  .footer-inner{align-items:flex-start;flex-direction:column}
  .instagram-rail{width:calc(100% - 32px);height:520px;margin-top:18px}
}
@media(max-width:700px){
  .resource-card{min-height:0;flex-direction:column}
  .resource-card-media{flex-basis:auto;min-height:0;aspect-ratio:16/9}
  .resource-card-body{padding:26px}
}

/* Staff content maintenance portal */
.cms-body{background:#f6f3f0}
.cms-topbar{position:relative;height:78px;background:#fff}
.cms-topbar .brand-logo{width:48px;height:48px}
.cms-topbar form{margin:0}
.cms-view-site{color:var(--butter-ink);font-size:14px;font-weight:750}
.cms-shell{min-height:calc(100vh - 78px);display:grid;grid-template-columns:245px 1fr}
.cms-sidebar{background:var(--plum);padding:30px 20px;display:flex;flex-direction:column;gap:4px}
.cms-sidebar a{color:var(--ink);padding:11px 13px;border-radius:7px;font-size:14px}
.cms-sidebar a:hover{background:#0000000c;color:#000}
.cms-sidebar>span{color:#76652a;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:22px 13px 6px}
.cms-user{color:#62562f;font-size:12px;line-height:1.6;margin:0 13px 8px}
.cms-user strong{color:var(--ink);font-size:14px}
.cms-main{padding:50px;max-width:1300px;width:100%}
.cms-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}
.cms-page-head h1{font-size:clamp(42px,5vw,66px);color:var(--ink);margin:16px 0 10px}
.cms-page-head p{color:#706970;margin:0}
.cms-dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cms-stats-section{margin-bottom:34px;padding:26px;border:1px solid #d7e6f3;border-radius:16px;background:#edf5fb}
.cms-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}
.cms-section-head h2{margin:4px 0 0;font-size:26px}
.cms-section-head>small{color:#4f789d;font-weight:750}
.cms-web-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cms-web-stat{min-width:0;padding:18px;border-radius:12px;background:#fff}
.cms-web-stat:hover{box-shadow:0 8px 22px rgba(55,45,58,.08);transform:translateY(-2px)}
.cms-web-stat strong{display:block;color:#806715;font-size:32px;line-height:1}
.cms-web-stat span{display:block;margin-top:8px;font-weight:750}
.cms-web-stat small{display:block;overflow:hidden;margin-top:5px;color:#6c666d;text-overflow:ellipsis;white-space:nowrap}
.cms-stat-card{background:#fff;border:1px solid #e8e1da;border-radius:14px;padding:26px;display:flex;flex-direction:column;min-height:175px;box-shadow:0 8px 26px rgba(55,45,58,.05)}
.cms-stat-card:hover{border-color:#bcaabe;transform:translateY(-2px)}
.cms-stat-card strong{color:#806715;font-size:42px;line-height:1}
.cms-stat-card span{font-weight:750;font-size:18px;margin:12px 0 auto}
.cms-stat-card small{color:#4f789d;font-weight:750}
.cms-contact-stat{background:#edf5fb}
.cms-settings-card{background:#fff8d9}
.cms-list{display:grid;gap:12px}
.cms-list article{display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;align-items:center;gap:20px;background:#fff;border:1px solid #e8e1da;border-radius:12px;padding:18px 20px}
.cms-list article.has-preview{grid-template-columns:54px 82px minmax(0,1fr) auto auto}
.cms-item-preview{width:82px;height:62px;display:block;object-fit:cover;border-radius:9px;background:#f1ede8}
.cms-list h3,.cms-list p{margin:3px 0}
.cms-list p{color:#706970;font-size:13px;line-height:1.5}
.cms-item-order,.cms-contact-date{width:42px;height:42px;border-radius:50%;background:#fff8d9;color:var(--butter-ink);display:grid;place-items:center;font-weight:800;font-size:13px}
.cms-contact-date{border-radius:8px;background:#edf5fb;color:#416a8f}
.cms-publish-state{background:#f1ece7;color:#776e68;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;text-transform:capitalize}
.cms-publish-state.published{background:#e3eff8;color:#365f82}
.cms-text-link,.cms-back{color:var(--butter-ink);font-weight:800}
.cms-back{font-size:13px}
.cms-danger-link{color:#a23d45;font-weight:800}
.cms-form{display:grid;gap:18px}
.cms-editor-form{max-width:780px;background:#fff;border:1px solid #e8e1da;border-radius:14px;padding:32px}
.cms-form label{display:block;font-size:12px;font-weight:800;color:#554d57}
.cms-form input:not([type=checkbox]),.cms-form textarea,.cms-form select{display:block;width:100%;max-width:none;margin-top:7px;padding:13px 14px;border:1px solid #d9d1da;border-radius:7px;background:#fff;font:inherit;color:#352f36}
.cms-form input[type=file]{background:#f8f5f0}
.cms-form small{display:block;color:#827a83;font-weight:400;margin-top:6px}
.cms-checkbox{display:flex!important;align-items:center;gap:10px;background:#f8f5f0;border-radius:8px;padding:14px}
.cms-checkbox input{width:18px;height:18px}
.cms-form-actions{display:flex;gap:12px;padding-top:8px}
.cms-gallery-callout{max-width:780px;margin-bottom:18px;padding:18px 22px;border-radius:12px;background:#edf5fb;display:flex;align-items:center;justify-content:space-between;gap:20px}.cms-gallery-callout strong{color:#294b68}.cms-gallery-callout p{margin:4px 0 0;color:#60778c;font-size:13px}
.cms-messages p{background:#e3eff8;color:#365f82;padding:13px 16px;border-radius:8px;margin:0 0 22px}
.cms-confirm-card{max-width:720px;background:#fff;border-radius:14px;padding:38px;border:1px solid #e8e1da}
.cms-confirm-card h1{font-size:48px;color:var(--ink)}
.cms-confirm-card p{color:#706970;line-height:1.6}
.cms-confirm-card form{display:flex;gap:12px;margin-top:28px}
.cms-danger-button{background:#9a3540}
.cms-danger-button:hover{background:#7e2731}
.cms-contact-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:24px;align-items:start}
.cms-message-card,.cms-status-form{background:#fff;border:1px solid #e8e1da;border-radius:14px;padding:30px}
.cms-message-card dl{margin:0;display:grid;grid-template-columns:90px 1fr;gap:18px}
.cms-message-card dt{color:#777078;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.cms-message-card dd{margin:0;line-height:1.65}
.cms-message-card a{color:var(--butter-ink);font-weight:750}
.cms-hero-preview{background:#fff;border:1px solid #e8e1da;border-radius:14px;padding:22px}
.cms-hero-preview small{display:block;color:#4f789d;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px}
.cms-hero-preview img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.cms-hero-preview p{color:#706970;font-size:13px;margin:12px 0 0}
.cms-status-form p{margin:0}
.cms-login-section{min-height:calc(100vh - 86px);background:#f8f5f0;display:grid;place-items:center}
.cms-login-card{width:min(520px,100%);background:#fff;border:1px solid #e8e1da;border-radius:16px;padding:42px;box-shadow:0 16px 45px rgba(55,45,58,.09)}
.cms-login-card h1{font-size:48px;color:var(--ink);margin:20px 0}
.cms-login-card>p{color:#706970;line-height:1.6;margin-bottom:28px}
.cms-login-card .errorlist{color:#a31717;padding-left:20px}
@media(max-width:1000px){
  .cms-web-stats{grid-template-columns:repeat(2,1fr)}
  .cms-shell{grid-template-columns:1fr}
  .cms-sidebar{display:grid;grid-template-columns:repeat(3,1fr);padding:16px}
  .cms-sidebar>span,.cms-user{display:none}
  .cms-main{padding:32px 24px}
  .cms-dashboard-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .cms-web-stats{grid-template-columns:1fr}
  .cms-topbar{height:auto;min-height:74px;flex-wrap:wrap;padding-block:10px}.cms-view-site{display:none}
  .cms-shell{min-height:calc(100vh - 74px)}
  .cms-sidebar{grid-template-columns:repeat(2,1fr);gap:3px}
  .cms-main{padding:30px 16px}
  .cms-page-head{align-items:flex-start;flex-direction:column}.cms-page-head h1{font-size:42px}
  .cms-dashboard-grid{grid-template-columns:1fr}
  .cms-list article{grid-template-columns:44px minmax(0,1fr) auto}.cms-list article.has-preview{grid-template-columns:44px 64px minmax(0,1fr) auto;gap:10px}.cms-list .cms-publish-state{display:none}
  .cms-item-preview{width:64px;height:54px}
  .cms-editor-form{padding:22px}
  .cms-contact-layout{grid-template-columns:1fr}
  .cms-message-card dl{grid-template-columns:1fr;gap:7px}.cms-message-card dd{margin-bottom:14px}
  .cms-login-section{padding:28px 16px}.cms-login-card{padding:28px}.cms-login-card h1{font-size:40px}
}
