:root {
  --bhf-ink: #16202b;
  --bhf-slate: #5f6f7d;
  --bhf-border: rgba(22, 32, 43, 0.08);
  --bhf-surface: #ffffff;
  --bhf-surface-soft: #f6f1e8;
  --bhf-brand: #b94f2d;
  --bhf-brand-deep: #8d3519;
  --bhf-accent: #0f6c74;
  --bhf-gold: #d5a94b;
  --bhf-shadow: 0 24px 60px rgba(18, 33, 49, 0.12);
}

body {
  color: var(--bhf-ink);
  background:
    radial-gradient(circle at top left, rgba(213, 169, 75, 0.14), transparent 24rem),
    linear-gradient(180deg, #fcfaf6 0%, #ffffff 42%, #f7f8f9 100%);
  font-family: "Overpass", sans-serif;
}

body.home {
  background:
    radial-gradient(circle at top left, rgba(213, 169, 75, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf8f2 0%, #ffffff 40%, #f4f6f8 100%);
}

h1, h2, h3, h4, h5, h6,
.navbar-nav > li > a,
.ftco-footer .ftco-heading-2 {
  font-family: "Dosis", sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: var(--bhf-brand);
}

a:hover,
a:focus {
  color: var(--bhf-brand-deep);
  text-decoration: none;
}

.ftco-section,
.ftco-counter {
  position: relative;
}

.ftco-navbar-light {
  background: rgba(18, 24, 30, 0.72) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  width: 220px;
  max-width: 42vw;
  padding: 0.8rem 1rem 1.1rem;
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.navbar-brand img {
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.navbar-nav > li {
  margin-left: 0.4rem;
}

.navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.9rem 1rem !important;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.current-menu-item > a,
.navbar-nav > li.current_page_item > a {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  transform: translateY(-1px);
}

.hero-wrap {
  min-height: 100vh;
  padding-top: 0;
}

.hero-wrap .overlay {
  background:
    linear-gradient(180deg, rgba(9, 17, 29, 0.46) 0%, rgba(9, 17, 29, 0.72) 100%),
    linear-gradient(120deg, rgba(185, 79, 45, 0.18), rgba(15, 108, 116, 0.14));
}

.hero-wrap .slider-text {
  min-height: 100vh;
  padding: 11rem 0 6.5rem;
}

.hero-wrap h1 {
  max-width: 16ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
  font-weight: 700;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-wrap .btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.hero-wrap .btn-outline-white:hover,
.hero-wrap .btn-outline-white:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bhf-hero-refresh {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bhf-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.bhf-kicker,
.bhf-section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--bhf-gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bhf-hero-copy p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.75;
}

.bhf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.75rem;
}

.bhf-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.bhf-hero-meta li {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.watch-video .btn,
.ftco-intro .btn,
.blog-entry .text p a {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-video .btn,
.ftco-intro .btn {
  background: linear-gradient(135deg, var(--bhf-brand) 0%, var(--bhf-gold) 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 18px 36px rgba(185, 79, 45, 0.28);
}

.ftco-intro {
  margin-top: 0;
  z-index: 5;
  padding-top: 0;
}

.bhf-stats-strip .block-18 .text strong {
  display: block;
  margin: 0.4rem 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.ftco-intro .block-18,
.services,
.cause-entry,
.staff,
.blog-entry {
  border: 1px solid var(--bhf-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--bhf-shadow);
}

.ftco-intro .block-18 {
  min-height: 100%;
}

.ftco-intro .block-18.color-1 {
  background: linear-gradient(135deg, #163847 0%, #0f6c74 100%);
}

.ftco-intro .block-18.color-2 {
  background: linear-gradient(135deg, #b94f2d 0%, #d57f41 100%);
}

.ftco-intro .block-18.color-3 {
  background: linear-gradient(135deg, #865d22 0%, #d5a94b 100%);
}

.ftco-intro .block-18 .text {
  padding: 2rem;
}

.bhf-stats-strip {
  margin-top: 1.5rem;
}

.ftco-intro .block-18 .text strong,
.ftco-intro .block-18 .text span,
.ftco-intro .block-18 .text h3,
.ftco-intro .block-18 .text p {
  color: #fff !important;
}

.heading-section h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 700;
  color: var(--bhf-ink);
}

.heading-section p {
  color: var(--bhf-slate);
  font-size: 1.05rem;
  line-height: 1.8;
}

.services,
.cause-entry,
.staff,
.blog-entry {
  background: rgba(255, 255, 255, 0.94);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.services:hover,
.cause-entry:hover,
.staff:hover,
.blog-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(18, 33, 49, 0.16);
}

.services {
  height: 100%;
  padding: 1.6rem !important;
}

.services .icon {
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(185, 79, 45, 0.14), rgba(213, 169, 75, 0.2));
}

.services .media-body {
  padding-left: 0 !important;
}

.services .heading,
.cause-entry .text h3,
.staff .info h3,
.blog-entry .text h3 {
  color: var(--bhf-ink);
  font-weight: 700;
}

.bhf-programme-card .img {
  min-height: 260px;
  background-position: center;
  background-size: cover;
}

.bhf-programme-card .text {
  min-height: 210px;
}

.bhf-programme-card .text a {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bhf-feature-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--bhf-shadow);
}

.bhf-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.bhf-gallery-tile {
  min-height: 280px;
  border-radius: 26px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--bhf-shadow);
}

.bhf-gallery-tile::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(180deg, rgba(12, 18, 26, 0.02), rgba(12, 18, 26, 0.18));
}

.bhf-highlight-card .block-20 {
  background-size: cover;
  background-position: center;
  min-height: 220px;
}

.bhf-highlight-card .text {
  min-height: 260px;
}

.bhf-supporter-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.25rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--bhf-border);
  box-shadow: 0 16px 40px rgba(18, 33, 49, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bhf-supporter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(18, 33, 49, 0.12);
}

.bhf-supporter-card img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cause-entry .img,
.staff .img,
.blog-entry .block-20 {
  position: relative;
}

.cause-entry .img::after,
.staff .img::after,
.blog-entry .block-20::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 20, 25, 0.22) 100%);
}

.cause-entry .text,
.blog-entry .text {
  padding: 1.7rem !important;
}

.staff .info {
  margin: 0 !important;
  padding: 1.5rem 1.6rem 1.8rem;
}

.staff .info span.position,
.time-loc,
.events-content p,
.services p,
.cause-entry .text p {
  color: var(--bhf-slate);
}

.ftco-gallery .gallery {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.ftco-gallery .gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(8, 14, 24, 0.66) 100%);
  opacity: 0.9;
  transition: opacity 180ms ease;
}

.ftco-gallery .gallery:hover::before {
  opacity: 1;
}

.ftco-gallery .gallery .icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.bg-light {
  background: transparent !important;
}

.ftco-footer {
  background:
    linear-gradient(180deg, rgba(17, 27, 37, 0.96), rgba(10, 17, 24, 0.98)),
    radial-gradient(circle at top right, rgba(213, 169, 75, 0.2), transparent 20rem) !important;
  color: rgba(255, 255, 255, 0.78);
}

.ftco-footer .overlay {
  display: none;
}

.ftco-footer .ftco-footer-widget h2,
.ftco-footer .ftco-heading-2 {
  color: #fff;
}

.ftco-footer .ftco-footer-widget h2::after {
  background: linear-gradient(90deg, var(--bhf-brand), var(--bhf-gold));
}

.ftco-footer-social li a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-template-template-parts .hero-wrap,
.single .hero-wrap,
.archive .hero-wrap,
.page-template-template-contact .hero-wrap {
  min-height: 48vh;
}

.page-template-template-parts .hero-wrap .slider-text,
.single .hero-wrap .slider-text,
.archive .hero-wrap .slider-text,
.page-template-template-contact .hero-wrap .slider-text {
  min-height: 48vh;
  padding: 8rem 0 3rem;
}

.bread,
.hero-wrap .bread,
.hero-wrap h1 {
  letter-spacing: 0.01em;
}

.block-20,
.staff .img,
.img-about,
.bhf-programme-card .img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.copyright {
  margin: 0;
  padding: 1.2rem 1rem 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .ftco-navbar-light {
    background: rgba(13, 20, 27, 0.94) !important;
  }

  .navbar-brand {
    position: relative;
    width: 168px;
    max-width: 60vw;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  .hero-wrap .slider-text {
    padding-top: 9.5rem;
  }

  .bhf-stats-strip {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .hero-wrap .slider-text {
    min-height: 88vh;
    padding: 8rem 0 4rem;
  }

  .hero-wrap h1 {
    max-width: 11ch;
  }

  .ftco-section {
    padding: 4rem 0;
  }

  .ftco-gallery .gallery {
    min-height: 220px;
  }

  .bhf-hero-meta {
    display: block;
  }

  .bhf-hero-meta li {
    margin-bottom: 0.65rem;
  }

  .bhf-gallery-tile {
    min-height: 220px;
  }

  .bhf-gallery-tile::after {
    min-height: 220px;
  }

  .bhf-highlight-card .text,
  .bhf-programme-card .text {
    min-height: auto;
  }
}
