/* Blood donation page refinements: homepage-aligned navigation and compact, logo-safe hero spacing. */

.blood-shell .event-header {
  background: linear-gradient(#9d0015, #850011) !important;
  color: #fff7e8 !important;
  border-bottom: 1px solid #d99d35 !important;
  box-shadow: 0 3px 12px #4e000a45 !important;
}

.blood-shell .event-header::before {
  display: none !important;
}

.blood-shell .header-inner {
  width: min(1240px, calc(100% - 44px)) !important;
  min-height: 54px !important;
  grid-template-columns: 300px 1fr auto !important;
  gap: 18px !important;
}

.blood-shell .brand {
  gap: 10px !important;
  color: #fff7e8 !important;
}

.blood-shell .brand img {
  width: 50px !important;
  height: 47px !important;
}

.blood-shell .brand span {
  display: grid !important;
  line-height: 1.02 !important;
}

.blood-shell .brand small,
.blood-shell .brand strong {
  color: #fff7e8 !important;
  font-family: var(--font-heading) !important;
}

.blood-shell .brand small {
  font-size: 12px !important;
  font-weight: 650 !important;
}

.blood-shell .brand strong {
  font-size: 19px !important;
  font-weight: 750 !important;
}

.blood-shell .brand em {
  display: none !important;
}

.blood-shell .desktop-nav {
  gap: 25px !important;
}

.blood-shell .desktop-nav a {
  color: #fff9ec !important;
  padding: 18px 0 14px !important;
  font: 650 14px var(--font-heading) !important;
}

.blood-shell .desktop-nav a:hover,
.blood-shell .desktop-nav a.active {
  color: #ffe09a !important;
}

.blood-shell .desktop-nav a.active::after,
.blood-shell .desktop-nav a:hover::after {
  left: 0 !important;
  right: 0 !important;
  bottom: 6px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: #f1ca70 !important;
}

.blood-shell .community-link {
  min-height: 36px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 7px !important;
  border: 1px solid #f5ce66 !important;
  background: linear-gradient(#f8dc87, #e5ab3c) !important;
  color: #880913 !important;
  box-shadow: none !important;
  font: 800 13px var(--font-heading) !important;
}

/* Keep the content below the artwork logo, but compress its vertical footprint so both CTAs remain visible. */
.blood-shell .hero {
  min-height: 735px !important;
}

.blood-shell .hero-soften {
  background: linear-gradient(
    180deg,
    rgba(255, 246, 230, 0) 0 43%,
    rgba(255, 247, 231, 0.35) 50%,
    rgba(255, 248, 232, 0.9) 62%,
    #fff8e8 86%,
    #fff8e8 100%
  ) !important;
}

.blood-shell .hero-copy {
  top: 58.5% !important;
  width: min(690px, 54vw) !important;
}

.blood-shell .hero h1 {
  margin: 0 !important;
  font-size: clamp(40px, 4.25vw, 66px) !important;
  line-height: .9 !important;
}

.blood-shell .hero-rule {
  margin: 4px auto 2px !important;
  width: min(320px, 66%) !important;
}

.blood-shell .event-line {
  margin-top: 2px !important;
  font-size: clamp(13px, 1.05vw, 17px) !important;
  line-height: 1.1 !important;
}

.blood-shell .save-line {
  margin-top: 5px !important;
  font-size: clamp(15px, 1.3vw, 20px) !important;
  line-height: 1.05 !important;
}

.blood-shell .together {
  margin-top: 1px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.blood-shell .partner-card {
  margin-top: 9px !important;
  padding: 7px 14px !important;
  gap: 10px !important;
}

.blood-shell .partner-symbol {
  width: 36px !important;
  height: 36px !important;
  font-size: 15px !important;
}

.blood-shell .partner-card small {
  font-size: 9px !important;
  line-height: 1.05 !important;
}

.blood-shell .partner-card strong {
  font-size: 15px !important;
  line-height: 1.05 !important;
}

.blood-shell .partner-card em {
  font-size: 8px !important;
  line-height: 1.05 !important;
}

.blood-shell .hero-actions {
  margin-top: 9px !important;
  gap: 9px !important;
}

.blood-shell .hero-actions .btn {
  min-height: 39px !important;
  padding: 7px 17px !important;
  font-size: 12px !important;
}

.blood-shell .hero-note {
  top: 63% !important;
}

@media (max-width: 1100px) {
  .blood-shell .header-inner {
    grid-template-columns: 250px 1fr auto !important;
  }

  .blood-shell .desktop-nav {
    gap: 18px !important;
  }

  .blood-shell .hero {
    min-height: 735px !important;
  }

  .blood-shell .hero-copy {
    top: 57.5% !important;
    width: min(680px, 63vw) !important;
  }
}

@media (max-width: 820px) {
  .blood-shell .header-inner {
    width: calc(100% - 32px) !important;
    min-height: 54px !important;
  }

  .blood-shell .brand img {
    width: 46px !important;
    height: 43px !important;
  }

  .blood-shell .brand small {
    font-size: 10px !important;
  }

  .blood-shell .brand strong {
    font-size: 17px !important;
  }

  .blood-shell .menu-button {
    color: #fff7e8 !important;
  }

  .blood-shell .mobile-nav {
    background: linear-gradient(#960014, #7d000f) !important;
    border-top: 1px solid #d99d35 !important;
    box-shadow: 0 12px 26px #4e000a55 !important;
  }

  .blood-shell .mobile-nav a {
    color: #fff9ec !important;
  }

  .blood-shell .mobile-nav a.active {
    background: rgba(255, 255, 255, 0.09) !important;
    color: #ffe09a !important;
  }

  .blood-shell .hero {
    min-height: 735px !important;
  }

  .blood-shell .hero-copy {
    top: 54.5% !important;
    width: 88% !important;
  }

  .blood-shell .hero h1 {
    font-size: clamp(40px, 8vw, 52px) !important;
  }

  .blood-shell .partner-card {
    margin-top: 8px !important;
  }
}

@media (max-width: 520px) {
  .blood-shell .brand span {
    display: grid !important;
  }

  .blood-shell .brand small {
    font-size: 9px !important;
  }

  .blood-shell .brand strong {
    font-size: 15px !important;
  }

  .blood-shell .hero {
    min-height: 725px !important;
  }

  .blood-shell .hero-copy {
    top: 51.5% !important;
    width: 92% !important;
  }

  .blood-shell .hero h1 {
    font-size: 40px !important;
  }

  .blood-shell .event-line {
    font-size: 12px !important;
  }

  .blood-shell .save-line {
    font-size: 16px !important;
  }

  .blood-shell .together {
    font-size: 9px !important;
  }

  .blood-shell .partner-card {
    margin-top: 7px !important;
    padding: 6px 10px !important;
  }

  .blood-shell .partner-card strong {
    font-size: 13px !important;
  }

  .blood-shell .hero-actions {
    margin-top: 7px !important;
    gap: 6px !important;
  }

  .blood-shell .hero-actions .btn {
    min-height: 37px !important;
    padding: 6px 14px !important;
  }
}

/* Make Pre-register the unmistakable primary action across the page. */
.blood-shell .hero-actions .btn.btn-primary,
.blood-shell .prereg-button {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 1px solid #f0c66a !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #b40f24 0%, #930918 48%, #6f050f 100%) !important;
  color: #fffdf4 !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(14px, 1.05vw, 16px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: .018em !important;
  text-shadow: 0 1px 1px rgba(74, 0, 10, .35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 210, .32),
    inset 0 0 0 1px rgba(119, 4, 18, .35),
    0 8px 18px rgba(112, 8, 21, .24),
    0 2px 5px rgba(88, 5, 16, .18) !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

.blood-shell .hero-actions .btn.btn-primary::before,
.blood-shell .prereg-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -35%;
  top: -120%;
  width: 34%;
  height: 340%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 244, 204, .20), transparent);
  transition: left .35s ease;
}

.blood-shell .hero-actions .btn.btn-primary:hover,
.blood-shell .prereg-button:hover {
  transform: translateY(-2px) !important;
  filter: saturate(1.05) brightness(1.03) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 210, .40),
    inset 0 0 0 1px rgba(119, 4, 18, .38),
    0 12px 25px rgba(112, 8, 21, .30),
    0 3px 7px rgba(88, 5, 16, .20) !important;
}

.blood-shell .hero-actions .btn.btn-primary:hover::before,
.blood-shell .prereg-button:hover::before {
  left: 110%;
}

.blood-shell .hero-actions .btn.btn-primary:active,
.blood-shell .prereg-button:active {
  transform: translateY(0) scale(.985) !important;
}

.blood-shell .hero-actions .btn.btn-primary:focus-visible,
.blood-shell .prereg-button:focus-visible {
  outline: 3px solid #f3cf79 !important;
  outline-offset: 3px !important;
}

.blood-shell .hero-actions .btn.btn-primary > span:first-child {
  width: 24px !important;
  height: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 24px !important;
  border-radius: 50% !important;
  background: linear-gradient(#f8dda0, #e8b64f) !important;
  color: #850713 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-shadow: none !important;
  box-shadow: inset 0 0 0 1px rgba(120, 55, 7, .12) !important;
}

.blood-shell .hero-actions .btn.btn-primary > b {
  margin-left: 2px !important;
  color: #f7d88e !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.blood-shell .prereg-button {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 0 24px !important;
  font-size: 15.5px !important;
}

.blood-shell .prereg-button span {
  width: 26px !important;
  height: 26px !important;
  margin-left: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(255, 244, 210, .15) !important;
  border: 1px solid rgba(247, 216, 142, .72) !important;
  color: #f7d88e !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

@media (max-width: 820px) {
  .blood-shell .hero-actions .btn.btn-primary {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
  }

  .blood-shell .prereg-button {
    min-height: 48px !important;
    padding: 0 19px !important;
    font-size: 14.5px !important;
  }
}

@media (max-width: 520px) {
  .blood-shell .hero-actions .btn.btn-primary,
  .blood-shell .prereg-button {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .blood-shell .hero-actions .btn.btn-primary {
    min-height: 43px !important;
    font-size: 13.5px !important;
  }

  .blood-shell .prereg-button {
    min-height: 47px !important;
    font-size: 14px !important;
  }
}
