.header-component-host {
  min-height: 114px;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.header-topbar {
  min-height: 32px;
  background: linear-gradient(90deg, #5a0916, #861126 55%, #a51730);
  color: rgba(255, 255, 255, .86);
  font-size: .72rem;
}

.header-topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-topbar p {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-weight: 600;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ce08b;
  box-shadow: 0 0 0 4px rgba(92, 224, 139, .15);
  animation: availabilityPulse 2s ease-in-out infinite;
}

@keyframes availabilityPulse {
  50% { box-shadow: 0 0 0 7px rgba(92, 224, 139, 0); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.topbar-links a:hover { color: #ffd6dc; }

.site-header {
  --header-red: #e21d36;
  min-height: 82px;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(35, 13, 17, .08);
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 8px 30px rgba(43, 8, 14, .09);
  color: #2e1116;
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}

.header-component-host:hover .site-header {
  box-shadow: 0 10px 34px rgba(43, 8, 14, .12);
}

.site-header .site-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 205px;
  margin-right: 1.25rem;
  padding: 0;
  color: #2e1116;
  text-transform: none;
  letter-spacing: 0;
}

.brand-logo-wrap {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 30%, #fff1f3);
  box-shadow: inset 0 0 0 1px rgba(226, 29, 54, .1), 0 7px 18px rgba(89, 12, 24, .08);
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  color: #2d1015;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-copy small {
  margin-top: .27rem;
  color: #9b5360;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rotary-partner-logo-wrap {
  position: relative;
  display: block;
  width: 170px;
  height: 58px;
  flex: 0 0 170px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.rotary-partner-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 215px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.site-header .navbar-nav {
  align-items: center;
  gap: .15rem;
}

.site-header .nav-link {
  position: relative;
  padding: .72rem .68rem !important;
  color: #644149 !important;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  right: .68rem;
  bottom: .4rem;
  left: .68rem;
  height: 2px;
  border-radius: 999px;
  background: var(--header-red);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--header-red) !important;
}

.site-header .dropdown-menu {
  min-width: 215px;
  padding: .55rem;
  border: 1px solid #f0dce0;
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(62, 7, 18, .13);
}

.site-header .dropdown-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .75rem;
  border-radius: 9px;
  color: #55202a;
  font-size: .76rem;
  font-weight: 600;
}

.site-header .dropdown-item i { color: #a6152d; }
.site-header .dropdown-item:hover,
.site-header .dropdown-item.active { background: #fff0f2; color: #a6152d; }

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-left: .85rem;
}

.site-header .header-request-btn,
.site-header .header-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .7rem .9rem;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}

.site-header .header-request-btn {
  border: 1px solid #ead0d5;
  background: #fff;
  color: var(--header-red);
}

.site-header .header-request-btn:hover {
  border-color: #f8dce1;
  background: #fff0f2;
  color: #bd1228;
  transform: translateY(-2px);
}

.site-header .header-donate-btn {
  border: 1px solid var(--header-red);
  background: var(--header-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(226, 29, 54, .2);
}

.site-header .header-donate-btn:hover {
  border-color: #bd1228;
  background: #bd1228;
  color: #fff;
  transform: translateY(-2px);
}

.site-header .navbar-toggler {
  padding: .5rem;
  border: 1px solid #efdce0;
  border-radius: 10px;
  box-shadow: none;
}

.mobile-drawer-head,
.mobile-menu-backdrop {
  display: none;
}

.header-load-error {
  padding: 1rem;
  background: #fff1f3;
  color: #8e1526;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .site-header .header-request-btn { display: none; }
  .site-header .nav-link { padding-right: .52rem !important; padding-left: .52rem !important; font-size: .82rem; }
}

@media (max-width: 991.98px) {
  .header-component-host { min-height: 106px; }
  .site-header { min-height: 74px; }
  .brand-logo-wrap { width: 54px; height: 54px; flex-basis: 54px; }
  .brand-logo { width: 49px; height: 49px; }
  .rotary-partner-logo-wrap { width: 145px; height: 52px; flex-basis: 145px; }
  .rotary-partner-logo { width: 185px; }
  .site-header .navbar-collapse {
    margin-top: .6rem;
    padding: .8rem;
    border: 1px solid #f0dfe2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(54, 11, 18, .1);
  }
  .site-header .navbar-nav { align-items: stretch; }
  .site-header .nav-link { padding: .7rem .85rem !important; border-radius: 9px; text-align: left; }
  .site-header .nav-link::after { display: none; }
  .site-header .nav-link:hover, .site-header .nav-link.active { background: #fff1f3; }
  .header-actions { margin: .7rem 0 0; }
  .site-header .header-request-btn { display: inline-flex; width: 100%; }
  .site-header .header-donate-btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .header-component-host { min-height: 68px; }
  .header-topbar { display: none; }
  .site-header {
    min-height: 68px;
    padding: .42rem 0;
    box-shadow: 0 8px 24px rgba(43, 8, 14, .1);
  }
  .header-main-inner {
    flex-wrap: nowrap;
    gap: .55rem;
  }
  .site-header .site-brand {
    min-width: 0;
    max-width: calc(100% - 52px);
    gap: .45rem;
    margin-right: 0;
    overflow: hidden;
  }
  .brand-logo-wrap {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .rotary-partner-logo-wrap {
    width: clamp(94px, 36vw, 124px);
    height: 42px;
    flex: 0 1 clamp(94px, 36vw, 124px);
    border-radius: 5px;
  }
  .rotary-partner-logo {
    width: clamp(130px, 48vw, 158px);
  }
  .site-header .navbar-toggler {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    margin-left: auto;
    padding: 0;
    border-color: #f3cdd4;
    border-radius: 14px;
    background: #fff6f7;
  }
  .site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(226, 29, 54, .18);
  }
  .site-header .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1035;
    border: 0;
    background: rgba(16, 12, 13, .58);
  }
  .site-header .navbar-collapse.show ~ .mobile-menu-backdrop,
  .site-header .navbar-collapse.collapsing ~ .mobile-menu-backdrop {
    display: block;
  }
  .site-header .navbar-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    width: 80vw;
    max-width: none;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    margin-top: 0;
    padding: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 14px 0 34px rgba(21, 11, 13, .2);
  }
  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.collapsing {
    display: flex !important;
    flex-direction: column;
    height: 100vh !important;
    height: 100dvh !important;
  }
  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 72px;
    padding: .55rem .75rem;
    border-bottom: 1px solid #f0d3d8;
    background: #fff5f6;
  }
  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: .25rem;
    text-decoration: none;
  }
  .mobile-drawer-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
  }
  .mobile-drawer-partner {
    width: min(154px, calc(100% - 44px));
    height: 42px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
  }
  .mobile-drawer-close {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #df3c45;
    box-shadow: 0 6px 18px rgba(82, 20, 27, .08);
  }
  .site-header .navbar-nav {
    width: 100%;
    gap: 0;
    margin: 0 !important;
    padding: .45rem 0 0;
    text-align: left !important;
  }
  .site-header .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: .82rem 1rem !important;
    border-bottom: 1px solid #f1f2f5;
    border-radius: 0;
    color: #263040 !important;
    font-size: .95rem;
    font-weight: 600;
    white-space: normal;
  }
  .site-header .nav-link::after {
    display: inline-flex;
    position: static;
    width: auto;
    height: auto;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #c9d0d8;
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: .78rem;
    transform: none;
    transition: none;
  }
  .site-header .dropdown-toggle::after {
    border: 0;
    margin-left: auto;
    vertical-align: 0;
    content: "\F285";
  }
  .site-header .nav-link:hover,
  .site-header .nav-link.active {
    background: #fff5f6;
    color: #d9213a !important;
  }
  .site-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    margin: 0;
    padding: .35rem .85rem .45rem;
    border: 0;
    border-radius: 0;
    background: #fff9fa;
    box-shadow: none;
  }
  .site-header .dropdown-menu.show {
    display: block;
  }
  .site-header .dropdown-toggle.show::after {
    transform: rotate(90deg);
  }
  .site-header .dropdown-item {
    min-height: 42px;
    padding: .58rem .7rem;
    border-radius: 10px;
    font-size: .8rem;
  }
  .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin: auto 0 0;
    padding: .75rem;
    border-top: 1px solid #f1f2f5;
    background: #fff;
  }
  .site-header .header-request-btn {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    padding: .5rem .4rem;
    border: 1px solid #f1cbd2;
    border-radius: 12px;
    background: #fff5f6;
    color: #d9213a;
    font-size: .78rem;
    box-shadow: none;
  }
  .site-header .header-donate-btn {
    width: 100%;
    min-height: 46px;
    padding: .5rem .4rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff8a66, #df3f34);
    color: #fff;
    font-size: .78rem;
    box-shadow: none;
  }
}
