/* ============================================================
   OSI Unified Header â€” live implementation (Option A)
   Reversible: delete osi-unified-header.php + this file to revert.
   ============================================================ */

/* --- Hide the two existing menu systems --- */
#masthead,
.site-header,
.ast-above-header-wrap,
.ast-below-header-wrap { display:none !important; }
/* Home page inline Elementor/HFE nav widget */
.elementor-widget-navigation-menu { display:none !important; }

/* --- Inner pages: push content below the fixed header --- */
body:not(.home):not(.page-id-6) { padding-top:74px; }

/* --- Article/body text readability bump --- */
.entry-content p,
.elementor-widget-text-editor,
.elementor-widget-text-editor p { font-size:1.15rem; line-height:1.8; }

/* ============ DONATE PAGE ============ */
.osi-donate{max-width:720px;margin:0 auto;padding:24px 24px 80px;text-align:center;}
.osi-donate h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:16px;}
.osi-donate-lead{font-size:1.25rem;color:#374151;margin-bottom:40px;}
.osi-donate h2{margin-top:8px;margin-bottom:6px;}
.osi-twint-btn{display:inline-flex !important;margin:20px auto 0;}
.osi-donate-bank{margin-top:56px;padding-top:32px;border-top:1px solid #D5EAD8;}
.osi-donate-bank h3{margin-bottom:8px;}

/* ============ UNIFIED HEADER ============ */
.osi-uheader{
  position:fixed;top:0;left:0;right:0;z-index:9999;
  background:transparent;border-bottom:1px solid transparent;
  transition:background .3s ease, box-shadow .3s ease, border-color .3s ease, padding .3s ease;
  font-family:'Inter',sans-serif;
}
.osi-uheader.solid{
  background:#EDFBE2;
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(213,234,216,0.55);
  box-shadow:0 3px 14px rgba(15,23,42,0.04);
}
.osi-ubar{
  max-width:1200px;margin:0 auto;padding:16px 24px;
  display:flex;align-items:center;justify-content:flex-end;gap:20px;
  transition:padding .3s ease;
}
.osi-uheader.solid .osi-ubar{padding:8px 24px;}
.osi-ulogo{display:block;transition:transform .2s ease;line-height:0;}
.osi-ulogo:hover{transform:scale(1.04);}
.osi-ulogo img{height:54px;width:auto;display:block;transition:height .3s ease;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.35));}
.osi-uheader.solid .osi-ulogo img{height:42px;filter:none;}

.osi-unav{display:flex;align-items:center;gap:4px;}
.osi-unav a{
  font-weight:500;font-size:0.98rem;color:#fff;text-decoration:none;
  padding:10px 16px;border-radius:8px;position:relative;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
  transition:color .2s ease, text-shadow .2s ease;
}
.osi-uheader.solid .osi-unav a{color:#0F172A;text-shadow:none;}
.osi-unav a::after{
  content:'';position:absolute;left:16px;right:16px;bottom:6px;height:2px;
  background:#54B435;border-radius:2px;transform:scaleX(0);
  transition:transform .25s ease;transform-origin:left;
}
.osi-unav a:hover{color:#54B435;}
.osi-uheader.solid .osi-unav a:hover{color:#379237;}
.osi-unav a:hover::after{transform:scaleX(1);}

.osi-ucta{
  background:#54B435;color:#fff !important;font-weight:600;
  padding:11px 24px !important;border-radius:50px;margin-left:8px;
  box-shadow:0 2px 10px rgba(84,180,53,.4);transition:all .25s ease;text-shadow:none !important;
}
.osi-ucta::after{display:none !important;}
.osi-ucta:hover{background:#379237;transform:translateY(-2px);box-shadow:0 8px 24px rgba(84,180,53,.5);color:#fff;}

.osi-uburger{display:none;background:none;border:0;cursor:pointer;padding:8px;}
.osi-uburger span{display:block;width:26px;height:2.5px;background:#fff;border-radius:2px;margin:5px 0;transition:.3s;box-shadow:0 1px 4px rgba(0,0,0,.4);}
.osi-uheader.solid .osi-uburger span{background:#0F172A;box-shadow:none;}
.osi-uburger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.osi-uburger.open span:nth-child(2){opacity:0;}
.osi-uburger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

.osi-uoverlay{display:none;}

@media (max-width:880px){
  .osi-ubar{justify-content:space-between;gap:12px;}
  .osi-uburger{display:block;}
  .osi-unav{
    position:fixed;top:0;right:-100%;width:78%;max-width:320px;height:100vh;
    background:#EDFBE2;flex-direction:column;align-items:flex-start;gap:6px;
    padding:90px 24px 24px;box-shadow:-10px 0 40px rgba(0,0,0,.15);
    transition:right .32s cubic-bezier(.4,0,.2,1);
  }
  .osi-unav.open{right:0;}
  .osi-unav a{width:100%;font-size:1.1rem;padding:14px 12px;color:#0F172A !important;text-shadow:none !important;}
  .osi-unav a::after{display:none;}
  .osi-ucta{margin:12px 0 0;width:100%;text-align:center;}
  .osi-uoverlay{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);opacity:0;visibility:hidden;transition:.3s;z-index:9998;}
  .osi-uoverlay.open{opacity:1;visibility:visible;}
}
