/* Inner Wheel District 311 - shared public site header/footer
   Deliberately isolated classes: does not modify the existing site-wide style.css. */
.site-brand-header{
  position:relative;
  z-index:2;
  width:100%;
  max-width:100%;
  margin:0 0 26px 0;
  padding:18px clamp(16px,4vw,64px);
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(191,226,250,.72),transparent 28%),
    linear-gradient(115deg,#e8f5ff 0%,#fff 48%,#eaf6ff 100%);
  border-bottom:1px solid #c5e0f5;
  box-shadow:0 5px 18px rgba(18,62,106,.08);
}
.site-brand-header:before,
.site-brand-header:after{
  content:"";
  position:absolute;
  width:36vw;
  height:90px;
  pointer-events:none;
  border:2px solid rgba(75,158,220,.24);
  transform:skewY(-17deg);
}
.site-brand-header:before{left:-15vw;top:-54px}
.site-brand-header:after{right:-15vw;bottom:-68px}
.site-brand-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:140px minmax(0,1fr) 140px;
  align-items:center;
  gap:20px;
  max-width:1500px;
  margin:0 auto;
}
.site-brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:126px;
  height:112px;
  text-decoration:none;
}
.site-brand-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.site-brand-copy{text-align:center;min-width:0}
.site-brand-title{
  color:#104b8c;
  font-size:clamp(23px,3vw,43px);
  line-height:1.12;
  font-weight:900;
  letter-spacing:.5px;
  text-wrap:balance;
}
.site-brand-session{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:9px auto 0;
  color:#fff;
}
.site-brand-session:before,
.site-brand-session:after{
  content:"";
  display:block;
  width:clamp(35px,8vw,115px);
  height:2px;
  background:#1769aa;
}
.site-brand-session span{
  display:inline-block;
  padding:8px 28px;
  min-width:260px;
  background:#14569b;
  color:#fff;
  font-size:clamp(12px,1.5vw,18px);
  line-height:1.2;
  font-weight:800;
  letter-spacing:1.7px;
  text-align:center;
  clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);
}
.site-brand-footer{
  position:relative;
  width:100%;
  max-width:100%;
  margin:34px 0 0 0;
  padding:24px clamp(16px,4vw,64px);
  overflow:hidden;
  background:linear-gradient(115deg,#073d78 0%,#07539a 52%,#06366d 100%);
  color:#fff;
  text-align:center;
  border-top:4px solid #9bd2f5;
  box-shadow:0 -5px 18px rgba(18,62,106,.08);
}
.site-brand-footer:before,
.site-brand-footer:after{
  content:"";
  position:absolute;
  top:-35px;
  width:260px;
  height:90px;
  border:2px solid rgba(255,255,255,.13);
  border-radius:50%;
  transform:rotate(-18deg);
  pointer-events:none;
}
.site-brand-footer:before{left:-95px}
.site-brand-footer:after{right:-95px}
.site-brand-footer-inner{position:relative;z-index:1;max-width:1500px;margin:0 auto}
.site-brand-footer-title{
  color:#d9edff;
  font-size:15px;
  font-weight:800;
  letter-spacing:2px;
}
.site-brand-footer-rule{
  width:min(420px,65%);
  height:1px;
  margin:12px auto;
  background:linear-gradient(90deg,transparent,#f5c85c,transparent);
}
.site-brand-footer-copy,
.site-brand-footer-credit{
  color:#fff;
  font-size:13px;
  line-height:1.7;
}
.site-brand-footer-credit a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.55);
}
.site-brand-footer-credit a:hover{color:#ffdf86}
@media(max-width:760px){
  .site-brand-header{padding:13px 15px;margin-bottom:20px}
  .site-brand-inner{grid-template-columns:76px minmax(0,1fr);gap:12px}
  .site-brand-logo{width:74px;height:74px}
  .site-brand-title{font-size:clamp(18px,5vw,27px);letter-spacing:0}
  .site-brand-session{gap:7px;margin-top:8px}
  .site-brand-session:before,.site-brand-session:after{width:18px}
  .site-brand-session span{min-width:0;padding:7px 17px;font-size:11px;letter-spacing:1px}
  .site-brand-footer{margin-top:25px;padding:20px 14px}
  .site-brand-footer-title{font-size:12px;letter-spacing:1.2px}
  .site-brand-footer-copy,.site-brand-footer-credit{font-size:11px}
}
@media(max-width:380px){
  .site-brand-inner{grid-template-columns:60px minmax(0,1fr);gap:8px}
  .site-brand-logo{width:60px;height:60px}
  .site-brand-title{font-size:17px}
  .site-brand-session:before,.site-brand-session:after{display:none}
}
@media print{
  .site-brand-header.no-print,.site-brand-footer.no-print{display:none!important}
}


/* Overflow guard: prevent viewport-wide header/footer breakout */
html, body { overflow-x: clip; }
.site-brand-header, .site-brand-footer { box-sizing: border-box; }
.site-brand-header *, .site-brand-footer * { box-sizing: border-box; }


/* Header typography lock: keep the brand heading identical on every page.
   Page-specific Google Fonts must not change the shared masthead metrics. */
.site-brand-title{
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(23px, 3vw, 43px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
  text-align: center !important;
  white-space: nowrap;
}
.site-brand-session span{
  font-family: Arial, Helvetica, sans-serif !important;
}
@media(max-width:760px){
  .site-brand-title{
    font-size: clamp(18px, 5vw, 27px) !important;
    letter-spacing: 0 !important;
    white-space: normal;
  }
}
@media(max-width:380px){
  .site-brand-title{font-size:17px !important;}
}
