/* Sacheon Branch homepage redesign */
:root{--home-ink:#243c59;--home-blue:#173e68;--home-green:#68b88a}
body{background:#fff;color:var(--home-ink)}
.site-header{height:82px;border-bottom:1px solid #f0f0ed;background:rgba(255,255,255,.97);position:relative;z-index:30}
.site-header .container{width:min(1480px,calc(100% - 64px))}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:100%}
.brand{display:flex;align-items:center;gap:10px;color:#333;font-size:16px;font-weight:800;white-space:nowrap}
.brand-logo{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.main-nav{display:flex;align-items:center;gap:clamp(14px,2.5vw,38px);font-size:14px;color:#343b45;font-weight:700}
.main-nav a:hover{color:#e57d58}
.menu-toggle{display:none;width:46px;height:46px;border-radius:50%;background:#183b62;color:#fff;border:0;font-size:22px}
.sacheon-hero{height:clamp(440px,42vw,610px);min-height:430px;background:#f8f6f1 url('../images/sacheon-meadow-hero.png') center bottom/cover no-repeat;position:relative;display:flex;justify-content:center;text-align:center;overflow:hidden}
.hero-copy{padding:92px 20px 0;max-width:850px;position:relative;z-index:1}
.hero-overline{font-size:17px;font-weight:700;color:#e78353;margin:0 0 18px;letter-spacing:.04em}
.hero-copy h1{font-size:clamp(36px,4.2vw,58px);line-height:1.28;letter-spacing:-.055em;color:#173e68;margin:0;font-weight:900}
.hero-copy h1 em{font-style:normal;color:#e97e53}
.hero-copy>p:not(.hero-overline){font-size:16px;color:#5b6b79;margin:18px 0 24px}
.hero-cta{display:inline-flex;align-items:center;gap:24px;padding:12px 22px;border:1px solid #d6e2e9;border-radius:30px;background:rgba(255,255,255,.78);color:#25496b;font-weight:700;font-size:13px;box-shadow:0 5px 16px rgba(45,85,100,.06)}
.home-dashboard{background:#68b88a;margin-top:-1px;padding:0 0 44px;position:relative}
.dashboard-grid{width:min(1260px,calc(100% - 64px));margin:-96px auto 0;position:relative;z-index:3;display:grid;grid-template-columns:150px minmax(250px,.95fr) minmax(420px,1.45fr);gap:22px;align-items:stretch}
.quick-contact{min-height:282px;border-radius:18px;background:#7bbbd9;color:#fff;padding:22px 18px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 8px 24px rgba(28,84,82,.08)}
.phone-symbol{font-size:34px;line-height:1;margin-bottom:12px;opacity:.85}
.quick-contact>span{font-size:13px;font-weight:700;opacity:.92}
.quick-contact>a{font-size:23px;line-height:1.25;font-weight:900;letter-spacing:-.04em;margin:5px 0}
.quick-contact small{font-size:11px;opacity:.9}
.contact-rule{height:1px;background:rgba(255,255,255,.45);margin:14px 0}
.quick-contact strong{font-size:15px;line-height:1.5;margin-top:5px}
.promotion-column{min-width:0}
.promotion-main{height:235px;border-radius:18px;overflow:hidden;background:#fff0d8;box-shadow:0 8px 24px rgba(28,84,82,.08)}
.promotion-slider,.promotion-slide{height:100%;width:100%;display:block;position:relative}
.promotion-slide{display:none}.promotion-slide.active{display:block}
.promotion-slide img{width:100%;height:100%;display:block;object-fit:cover}
.promotion-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px}
.promotion-dots button{width:8px;height:8px;border:0;border-radius:50%;background:#fff;opacity:.65;padding:0}
.promotion-dots button.active{background:#e97e53;opacity:1}
.promotion-placeholder{height:100%;padding:25px 28px;position:relative;background:linear-gradient(135deg,#fff0d8,#f9dfc1);color:#4b453d;overflow:hidden}
.promo-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#e08a57}
.promotion-placeholder strong{display:block;font-size:27px;line-height:1.35;margin-top:13px;letter-spacing:-.04em}
.promotion-placeholder p{font-size:12px;margin:8px 0}
.promo-people{position:absolute;right:16px;bottom:12px;font-size:37px;letter-spacing:-10px}
.promotion-caption{display:flex;justify-content:center;gap:6px;padding-top:14px}
.promotion-caption span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5)}
.promotion-caption span:nth-child(2){background:#f28a59}
.news-panel{background:#fff;border-radius:18px;min-height:282px;padding:22px 24px;box-shadow:0 8px 24px rgba(28,84,82,.08)}
.news-tabs{display:flex;align-items:center;gap:20px;border-bottom:1px solid #edf0f2;padding-bottom:13px}
.news-tab{border:0;background:none;padding:7px 13px;border-radius:20px;color:#515a64;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.news-tab.active{background:#f58242;color:#fff}
.news-tabs>a{margin-left:auto;font-size:11px;color:#818a91}
.news-list{display:none;padding-top:12px}.news-list.active{display:block}
.news-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:12px;color:#4c5965}
.news-row:hover .news-title{color:#e47c50}
.news-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-row time{font-size:10px;color:#9aa1a7;white-space:nowrap}
.news-empty{font-size:12px;color:#929ba3;padding:20px 0}
.home-lower{background:#fff;padding:90px 0 48px}
.lower-inner{width:min(1420px,calc(100% - 64px));margin:0 auto}
.business-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.business-card{height:270px;border-radius:21px;padding:25px 24px 14px;position:relative;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.business-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(35,62,86,.12)}
.business-card>span{font-size:13px;font-weight:900;opacity:.75}
.business-card h2{font-size:21px;line-height:1.35;margin:5px 0;letter-spacing:-.05em;color:#343b42}
.business-art{position:absolute;bottom:2px;right:10px;font-size:105px;line-height:1;filter:drop-shadow(0 5px 2px rgba(80,70,50,.06))}
.business-one{background:#f8edd7}.business-one>span{color:#a66a2b}
.business-two{background:#d8ebf5}.business-two>span{color:#5e91b1}
.business-three{background:#ffe6cc}.business-three>span{color:#ed756c}
.business-four{background:#f9dfeb}.business-four>span{color:#e66e9d}
.business-five{background:#d5effa}.business-five>span{color:#4c83bb}
.giving-banners{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:48px}
.giving-card{height:164px;border-radius:22px;padding:30px 42px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}
.giving-card strong{display:block;font-size:27px;letter-spacing:-.05em}
.giving-card span{display:block;font-size:13px;margin-top:3px}
.giving-card b{font-size:72px;font-weight:400;opacity:.9}
.sponsor-card{background:#ffebc9;color:#443b32}
.receipt-card{background:#747de0;color:#fff}
.family-sites{display:flex;align-items:center;gap:30px;margin-top:76px;padding-top:10px}
.family-title{flex:0 0 150px;color:#343d47}
.family-title strong{display:block;font-size:25px;letter-spacing:-.06em}
.family-title span{font-size:13px;color:#707b84}
.family-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;flex:1}
.family-list a{height:68px;border:1px solid #dedede;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;color:#485767;font-size:12px;font-weight:700;line-height:1.4}
.family-list a:hover{border-color:#75b8d0;background:#f9fcfd}
.site-footer{background:#343434;color:#e6e6e6;padding:35px 0 20px}
.site-footer .container{width:min(1420px,calc(100% - 64px))}
.site-footer .footer-inner{align-items:center}
.site-footer .footer-inner strong{color:#fff}
.site-footer .footer-inner p,.site-footer .footer-contact{color:#d0d0d0}
.site-footer .copyright{border-color:rgba(255,255,255,.15);color:#b7b7b7}
@media(max-width:1050px){
 .dashboard-grid{grid-template-columns:130px minmax(210px,.9fr) minmax(330px,1.3fr);gap:14px;width:calc(100% - 40px)}
 .quick-contact{padding:18px 14px}.quick-contact>a{font-size:19px}
 .business-cards{gap:10px}.business-card{height:230px;padding:20px 15px}.business-card h2{font-size:17px}.business-art{font-size:82px}
 .lower-inner{width:calc(100% - 40px)}
}
@media(max-width:760px){
 .site-header{height:68px}.site-header .container{width:calc(100% - 28px)}
 .brand{font-size:12px;gap:6px}.brand-logo{width:38px;height:38px;flex-basis:38px}
 .menu-toggle{display:block}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;padding:18px 24px;box-shadow:0 10px 20px rgba(20,45,65,.1);flex-direction:column;align-items:flex-start;gap:14px}
 .main-nav.open{display:flex}
 .sacheon-hero{height:440px;min-height:440px;background-position:center bottom}
 .hero-copy{padding-top:78px}.hero-overline{font-size:14px}.hero-copy h1{font-size:37px}.hero-copy>p:not(.hero-overline){font-size:13px;line-height:1.7}
 .dashboard-grid{width:calc(100% - 28px);margin:-54px auto 0;grid-template-columns:1fr 1fr;gap:12px}
 .quick-contact{min-height:170px;padding:16px}.phone-symbol{font-size:25px;margin-bottom:5px}.quick-contact>a{font-size:19px}.quick-contact strong{font-size:12px}
 .promotion-column{min-width:0}.promotion-main{height:170px}.promotion-placeholder{padding:16px}.promotion-placeholder strong{font-size:19px}.promo-people{font-size:27px}
 .news-panel{grid-column:1/-1;min-height:235px;padding:16px}.news-tabs{gap:7px}.news-tab{font-size:12px;padding:7px 10px}
 .home-dashboard{padding-bottom:30px}
 .home-lower{padding:48px 0 34px}.lower-inner{width:calc(100% - 28px)}
 .business-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .business-card{height:190px;padding:17px}.business-card h2{font-size:17px}.business-card>span{font-size:10px}.business-art{font-size:75px}
 .business-card:last-child{grid-column:1/-1;height:150px}
 .giving-banners{grid-template-columns:1fr;gap:12px;margin-top:28px}
 .giving-card{height:120px;padding:22px 24px;border-radius:16px}.giving-card strong{font-size:22px}.giving-card b{font-size:54px}
 .family-sites{display:block;margin-top:42px}.family-title{margin-bottom:14px}.family-title strong{font-size:22px}
 .family-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.family-list a{height:60px;font-size:11px}
 .site-footer .container{width:calc(100% - 28px)}
}
@media(max-width:380px){.hero-copy h1{font-size:31px}.dashboard-grid{grid-template-columns:1fr}.quick-contact{min-height:145px}.promotion-main{height:185px}.news-panel{grid-column:auto}.business-card{height:170px}.business-art{font-size:62px}}


/* Main page cards show actual subsidiary institution names */
.business-card h2{font-size:clamp(15px,1.25vw,19px);line-height:1.42;overflow-wrap:anywhere;word-break:keep-all;max-width:100%}
.business-card{padding-left:22px;padding-right:18px}
.org-card[id^="institution-"]{scroll-margin-top:100px}
@media(max-width:760px){.business-card h2{font-size:17px}}


/* 2026 visual direction: civic editorial / warm ivory + deep teal.
   Deliberately distinct from the reference site's illustrated meadow and pastel tile layout. */
:root{
  --home-ink:#172d3b;
  --home-blue:#123e50;
  --home-green:#087f78;
  --home-accent:#e77b4b;
}
body{background:#f5f4ef;color:#1d3038}
.site-header{height:88px;background:#fbfaf6;border:0;border-bottom:1px solid #e5e3dc}
.site-header .container{width:min(1440px,calc(100% - 80px))}
.brand{font-size:15px;color:#183847;gap:12px}
.brand-logo{width:45px;height:45px;flex-basis:45px}
.main-nav{gap:clamp(18px,2.6vw,42px);font-size:13px;color:#263d46}
.main-nav a{position:relative;padding:8px 0}
.main-nav a:hover{color:#087f78}
.main-nav a:hover:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#e77b4b}

/* A graphic-led split hero replaces the centered illustrated meadow. */
.sacheon-hero{
  height:510px;min-height:470px;justify-content:flex-start;text-align:left;
  background:
    radial-gradient(circle at 78% 42%,rgba(79,174,157,.22) 0 11%,transparent 11.2%),
    radial-gradient(circle at 84% 46%,rgba(231,123,75,.28) 0 4%,transparent 4.2%),
    linear-gradient(112deg,#123e50 0%,#164e5a 58%,#1b6970 100%);
}
.sacheon-hero:before{
  content:"";position:absolute;width:470px;height:470px;border:1px solid rgba(255,255,255,.17);
  border-radius:50%;right:7%;top:20px;box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 82px rgba(255,255,255,.025)
}
.sacheon-hero:after{
  content:"";position:absolute;width:190px;height:190px;border-radius:48% 52% 62% 38%;
  background:#e77b4b;opacity:.95;right:18%;top:150px;transform:rotate(28deg);
  box-shadow:72px 88px 0 -38px #e6bd72,-94px 100px 0 -54px #79c7b4;
}
.hero-copy{width:min(1320px,calc(100% - 80px));max-width:none;margin:0 auto;padding:106px 0 0;z-index:2}
.hero-overline{color:#9ed8ca;font-size:12px;letter-spacing:.2em;text-transform:uppercase;margin-bottom:24px}
.hero-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.2;color:#fff;letter-spacing:-.06em}
.hero-copy h1 em{color:#f1bd78}
.hero-copy>p:not(.hero-overline){color:rgba(255,255,255,.78);font-size:16px;margin:22px 0 28px}
.hero-cta{border:0;border-radius:4px;background:#f1bd78;color:#173d4b;padding:15px 23px;box-shadow:none}
.hero-cta:hover{background:#fff}
.home-dashboard{background:#f5f4ef;padding:0 0 34px;margin:0}
.dashboard-grid{
  width:min(1320px,calc(100% - 80px));margin:-64px auto 0;
  grid-template-columns:220px minmax(250px,.9fr) minmax(400px,1.45fr);gap:16px;
}
.quick-contact{border-radius:4px;background:#e7bd7b;color:#183847;box-shadow:none;min-height:255px;padding:25px}
.phone-symbol{color:#087f78}
.quick-contact>span,.quick-contact small{opacity:.8}
.quick-contact>a{font-size:22px;color:#123e50}
.contact-rule{background:rgba(18,62,80,.2)}
.quick-contact strong{font-size:16px}
.promotion-main{height:255px;border-radius:4px;background:#e9e5d9;box-shadow:none}
.promotion-placeholder{background:linear-gradient(135deg,#e9e5d9,#d6e4dc);color:#173d4b}
.promotion-placeholder strong{font-size:29px}
.promo-kicker{color:#087f78}
.promotion-caption{padding-top:10px}
.promotion-caption span{background:#a8b8b1}
.news-panel{border-radius:4px;min-height:255px;padding:25px 28px;box-shadow:none;border:1px solid #e6e2d8}
.news-tabs{gap:10px;border-bottom:1px solid #dedbd2}
.news-tab{border-radius:3px;color:#52636a}
.news-tab.active{background:#087f78;color:#fff}
.news-tabs>a{color:#087f78}
.news-row{border-bottom:1px solid #f0eee8;padding:10px 0;color:#35484e}
.news-row:hover .news-title{color:#d96f43}
.home-lower{background:#f5f4ef;padding:64px 0 62px}
.lower-inner{width:min(1320px,calc(100% - 80px))}
.business-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.business-card{
  height:190px;border-radius:4px;padding:20px 18px;background:#fff!important;
  border:1px solid #e5e1d7;border-top:4px solid #087f78;box-shadow:none;
  transition:transform .18s,border-color .18s;
}
.business-card:nth-child(2){border-top-color:#e77b4b}
.business-card:nth-child(3){border-top-color:#d6a64f}
.business-card:nth-child(4){border-top-color:#6c9caa}
.business-card:nth-child(5){border-top-color:#8b9b75}
.business-card:hover{transform:translateY(-4px);box-shadow:0 12px 22px rgba(25,55,61,.08)}
.business-card>span{font-size:10px;letter-spacing:.14em;color:#73858a!important;text-transform:uppercase}
.business-card h2{font-size:17px;line-height:1.4;color:#183847;margin-top:14px;padding-right:4px}
.business-art{font-size:40px;right:15px;bottom:10px;opacity:.8;filter:none}
.giving-banners{gap:16px;margin-top:28px}
.giving-card{height:132px;border-radius:4px;padding:25px 32px}
.giving-card strong{font-size:23px}
.giving-card span{font-size:12px;opacity:.8}
.sponsor-card{background:#e9bd7c;color:#243b40}
.receipt-card{background:#176d70;color:#fff}
.giving-card b{font-size:56px}
.family-sites{margin-top:54px;padding-top:28px;border-top:1px solid #dedbd2;gap:24px}
.family-title strong{font-size:22px;color:#183847}
.family-title span{color:#77858a}
.family-list{gap:9px}
.family-list a{height:60px;border:1px solid #dedbd2;background:#fbfaf6;border-radius:3px;font-size:11px}
.family-list a:hover{border-color:#087f78;background:#fff}
.site-footer{background:#142f3a;color:#dbe4e0;padding:38px 0 22px}
.site-footer .footer-inner strong{color:#fff}
.site-footer .footer-inner p,.site-footer .footer-contact{color:#c1d0cc}
.site-footer .copyright{border-color:rgba(255,255,255,.16);color:#9eafaa}

@media(max-width:1050px){
 .dashboard-grid{grid-template-columns:180px minmax(200px,.9fr) minmax(300px,1.3fr);width:calc(100% - 48px)}
 .lower-inner{width:calc(100% - 48px)}
 .business-card{height:180px;padding:17px 14px}
 .business-card h2{font-size:15px}
}
@media(max-width:760px){
 .site-header{height:70px}.site-header .container{width:calc(100% - 30px)}
 .brand{font-size:11px}.brand-logo{width:36px;height:36px;flex-basis:36px}
 .menu-toggle{background:#123e50;border-radius:4px}
 .main-nav{top:70px}
 .sacheon-hero{height:420px;min-height:420px;background-position:center}
 .sacheon-hero:before{width:270px;height:270px;right:-90px;top:60px}
 .sacheon-hero:after{width:110px;height:110px;right:18%;top:190px}
 .hero-copy{width:calc(100% - 42px);padding-top:80px}
 .hero-overline{font-size:10px;margin-bottom:18px}
 .hero-copy h1{font-size:38px}
 .hero-copy>p:not(.hero-overline){font-size:13px;max-width:300px;line-height:1.7}
 .hero-cta{font-size:12px;padding:12px 16px}
 .dashboard-grid{width:calc(100% - 28px);margin:-34px auto 0;grid-template-columns:1fr 1fr;gap:10px}
 .quick-contact{min-height:160px;padding:15px;border-radius:4px}
 .quick-contact>a{font-size:17px}
 .promotion-main{height:160px;border-radius:4px}
 .news-panel{border-radius:4px;padding:15px;min-height:220px}
 .home-lower{padding:40px 0 38px}
 .lower-inner{width:calc(100% - 28px)}
 .business-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .business-card{height:155px;padding:15px 13px;border-radius:4px}
 .business-card h2{font-size:15px;margin-top:10px}
 .business-art{font-size:34px;right:10px;bottom:8px}
 .business-card:last-child{grid-column:1/-1;height:125px}
 .giving-banners{grid-template-columns:1fr;gap:10px;margin-top:22px}
 .giving-card{height:105px;padding:18px 20px;border-radius:4px}
 .giving-card strong{font-size:20px}.giving-card b{font-size:44px}
 .family-sites{display:block;margin-top:36px;padding-top:22px}
 .family-title{margin-bottom:12px}
 .family-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .family-list a{height:55px;border-radius:3px}
 .site-footer .container{width:calc(100% - 28px)}
}
@media(max-width:380px){
 .hero-copy h1{font-size:32px}
 .dashboard-grid{grid-template-columns:1fr}
 .quick-contact{min-height:135px}
 .promotion-main{height:180px}
 .news-panel{grid-column:auto}
}


/* Header alignment fix: keep logo and login fully inside the viewport */
.site-header{width:100%;overflow:visible}
.site-header > .container.nav-wrap{
  width:min(1360px,calc(100% - 64px)) !important;
  max-width:1360px;
  margin-left:auto;
  margin-right:auto;
  padding:0;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-header .brand{
  flex:0 1 auto;
  min-width:0;
  max-width:42%;
  white-space:nowrap;
  gap:10px;
}
.site-header .brand-logo{
  display:block;
  width:42px;
  height:42px;
  flex:0 0 42px;
}
.site-header .brand span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.site-header .main-nav{
  flex:0 1 auto;
  min-width:0;
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:clamp(11px,1.45vw,21px);
  font-size:12.5px;
  white-space:nowrap;
}
.site-header .main-nav a{
  flex:0 0 auto;
  white-space:nowrap;
}
.site-header .menu-toggle{flex:0 0 auto}
@media(max-width:1180px){
  .site-header > .container.nav-wrap{
    width:calc(100% - 48px) !important;
    gap:16px;
  }
  .site-header .brand{max-width:calc(100% - 58px)}
  .site-header .menu-toggle{display:block}
  .site-header .main-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    margin:0;
    padding:18px 24px;
    background:#fbfaf6;
    border-top:1px solid #e5e3dc;
    box-shadow:0 12px 22px rgba(20,45,55,.10);
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    white-space:normal;
  }
  .site-header .main-nav.open{display:flex}
  .site-header .main-nav a{white-space:normal}
}
@media(max-width:760px){
  .site-header > .container.nav-wrap{width:calc(100% - 30px) !important}
  .site-header .brand{max-width:calc(100% - 54px);font-size:11px;gap:7px}
  .site-header .brand-logo{width:36px;height:36px;flex-basis:36px}
}


/* FINAL HEADER FIX: prevent horizontal overflow and switch to compact menu */
html, body { max-width:100%; overflow-x:hidden; }
.site-header { width:100%; max-width:100%; overflow:visible; }
.site-header .nav-wrap{
  width:calc(100% - 64px) !important;
  max-width:1360px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
}
.site-header .brand{
  flex:0 1 auto !important;
  width:auto !important;
  max-width:44% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  overflow:hidden !important;
  white-space:nowrap !important;
}
.site-header .brand-logo{
  display:block !important;
  width:40px !important;
  height:40px !important;
  flex:0 0 40px !important;
  object-fit:contain !important;
}
.site-header .brand span{
  display:block !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.site-header .main-nav{
  flex:0 1 auto !important;
  width:auto !important;
  max-width:56% !important;
  min-width:0 !important;
  margin:0 0 0 auto !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(8px,1.1vw,16px) !important;
  font-size:12px !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.site-header .main-nav a{
  flex:0 0 auto !important;
  white-space:nowrap !important;
  font-size:inherit !important;
}
.site-header .menu-toggle{display:none !important;flex:0 0 42px !important}
@media(max-width:1400px){
  .site-header .nav-wrap{width:calc(100% - 40px) !important;gap:12px !important}
  .site-header .brand{max-width:calc(100% - 58px) !important}
  .site-header .menu-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;height:42px !important;
    flex:0 0 42px !important;
    border-radius:50% !important;
  }
  .site-header .main-nav{
    display:none !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;right:0 !important;
    width:100% !important;max-width:none !important;
    margin:0 !important;padding:18px 22px !important;
    box-sizing:border-box !important;
    background:#fbfaf6 !important;
    border-top:1px solid #e5e3dc !important;
    box-shadow:0 12px 22px rgba(20,45,55,.10) !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:15px !important;
    white-space:normal !important;
  }
  .site-header .main-nav.open{display:flex !important}
  .site-header .main-nav a{white-space:normal !important}
}
@media(max-width:760px){
  .site-header .nav-wrap{width:calc(100% - 28px) !important}
  .site-header .brand{font-size:11px !important;gap:7px !important}
  .site-header .brand-logo{width:36px !important;height:36px !important;flex-basis:36px !important}
}
