/*
 * BLTezza public site - redesign stylesheet.
 *
 * Built from the homepage mock-up (Space Grotesk headings, Plus Jakarta Sans
 * body, the foundation's orange / peach / navy palette). It is meant to be
 * reused as further pages are redesigned: the tokens, typography, buttons,
 * section scaffolding and cards at the top are general; the page-specific
 * blocks follow.
 *
 * Everything is namespaced with a "bh-" prefix and applied by adding the
 * .bh class to a block, so pages that have not been redesigned yet keep the
 * old template styling untouched.
 */

:root {
    /* The theme already defines these; the redesign uses the same values. */
    --bh-orange: var(--primary, #ff6f0f);
    --bh-orange-hover: #e05e07;
    --bh-peach: var(--secondary, #fff0e6);
    --bh-peach-deep: #ffe4d1;
    --bh-navy: var(--dark, #001d23);
    --bh-navy-hover: #06333d;
    --bh-canvas: var(--light, #f8f8f9);

    --bh-text: #001d23;
    --bh-body: #374151;
    --bh-muted: #4b5563;
    --bh-faint: #6b7280;
    --bh-border: #e5e7eb;
    --bh-border-soft: #f3f4f6;

    --bh-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bh-font-head: 'Space Grotesk', 'Saira', 'Plus Jakarta Sans', sans-serif;

    --bh-radius: .5rem;
    --bh-radius-lg: .75rem;
    --bh-radius-xl: 1rem;

    --bh-shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --bh-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .05);
    --bh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .06);
    --bh-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .06);

    /* Height of the fixed header; the real value is measured by JS on load. */
    --bh-header-h: 158px;
}

@media (max-width: 991.98px) {
    :root {
        --bh-header-h: 104px;
    }
}

/* =========================================================================
   Base
   ========================================================================= */

.bh {
    font-family: var(--bh-font-body);
    color: var(--bh-text);
    -webkit-font-smoothing: antialiased;
}

.bh h1,
.bh h2,
.bh h3,
.bh h4,
.bh .bh-head {
    font-family: var(--bh-font-head);
    color: inherit;
}

.bh a {
    text-decoration: none;
}

.bh-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .bh-container {
        padding: 0 3rem;
    }
}

.bh-section {
    padding: 5rem 0;
}

.bh-bg-white {
    background: #fff;
}

.bh-bg-canvas {
    background: var(--bh-canvas);
}

/* =========================================================================
   Section headings
   ========================================================================= */

.bh-section-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.bh-pill {
    display: inline-block;
    padding: .25rem 1rem;
    margin-bottom: .75rem;
    border-radius: 9999px;
    background: var(--bh-peach);
    border: 1px solid rgba(255, 111, 15, .2);
    color: var(--bh-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bh-orange);
}

.bh-eyebrow.bh-eyebrow-line::before {
    content: '';
    width: 1.5rem;
    height: 2px;
    background: var(--bh-orange);
}

.bh .bh-h2 {
    margin: 0;
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--bh-navy);
}

@media (min-width: 992px) {
    .bh .bh-h2 {
        font-size: 2.25rem;
    }
}

.bh-lead {
    margin: .75rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--bh-muted);
}

@media (min-width: 768px) {
    .bh-lead {
        font-size: 1.125rem;
    }
}

/* =========================================================================
   Buttons
   ========================================================================= */

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border: 1px solid transparent;
    border-radius: var(--bh-radius);
    font-family: var(--bh-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bh-btn i {
    transition: transform .2s ease;
}

.bh-btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

.bh-btn:focus-visible {
    outline: 2px solid rgba(255, 111, 15, .55);
    outline-offset: 2px;
}

.bh-btn-primary {
    background: var(--bh-orange);
    border-color: var(--bh-orange);
    color: #fff;
    box-shadow: var(--bh-shadow-lg);
}

.bh-btn-primary:hover,
.bh-btn-primary:focus {
    background: var(--bh-orange-hover);
    border-color: var(--bh-orange-hover);
    color: #fff;
    box-shadow: var(--bh-shadow-xl);
}

.bh-btn-glass {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 600;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.bh-btn-glass:hover,
.bh-btn-glass:focus {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.bh-btn-outline {
    padding: .6rem 1.25rem;
    border: 2px solid var(--bh-orange);
    background: transparent;
    color: var(--bh-orange);
    font-size: 14px;
    font-weight: 600;
}

.bh-btn-outline:hover,
.bh-btn-outline:focus {
    background: var(--bh-orange);
    color: #fff;
}

.bh-btn-navy {
    background: var(--bh-navy);
    border-color: var(--bh-navy);
    color: #fff;
}

.bh-btn-navy:hover,
.bh-btn-navy:focus {
    background: var(--bh-navy-hover);
    border-color: var(--bh-navy-hover);
    color: #fff;
}

.bh-btn-sm {
    padding: .35rem .8rem;
    font-size: 12px;
    font-weight: 600;
    border-radius: .25rem;
}

/* =========================================================================
   Header: top bar + navbar (global)
   ========================================================================= */

.bh-header {
    font-family: var(--bh-font-body);
}

/* The theme's main.js slides the whole header up by exactly 45px on scroll to
   hide this bar, so it must stay 45px tall. */
.bh-header .bh-topbar {
    height: 45px;
    padding: 0 3rem;
    background: var(--bh-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    justify-content: space-between;
}

.bh-topbar-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bh-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .9);
}

.bh-topbar-item i {
    color: var(--bh-orange);
    font-size: 13px;
}

.bh-topbar a {
    color: rgba(255, 255, 255, .9);
    transition: color .2s ease;
}

.bh-topbar a:hover {
    color: var(--bh-orange);
}

.bh-topbar-sep {
    opacity: .3;
}

.bh-topbar-social {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: 12px;
}

.bh-topbar-social .bh-topbar-follow {
    opacity: .75;
}

.bh-topbar .bh-topbar-social a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.bh-topbar .bh-login {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    border-radius: .25rem;
    background: var(--bh-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.bh-topbar .bh-login:hover {
    background: var(--bh-orange-hover);
    color: #fff;
}

.bh-header .bh-nav {
    min-height: 80px;
    padding: 0 3rem;
    /* Solid white, so the logo's own white background blends in even after
       main.js darkens the header on scroll. */
    background: #fff;
    border-bottom: 1px solid var(--bh-border-soft);
    box-shadow: var(--bh-shadow-sm);
}

.bh-nav .navbar-brand {
    margin: 0;
    padding: .5rem 0;
}

.bh-nav .navbar-brand img {
    height: 56px;
    width: auto;
}

/* Override the template's white-on-dark links for the white navbar. */
.bh-nav.navbar .navbar-nav .nav-link {
    margin-right: 1.4rem;
    padding: 28px 0;
    color: var(--bh-navy);
    font-size: 15px;
    font-weight: 500;
}

.bh-nav.navbar .navbar-nav .nav-link:hover,
.bh-nav.navbar .navbar-nav .nav-link.active,
.bh-nav.navbar .navbar-nav .show > .nav-link {
    color: var(--bh-orange);
}

.bh-nav.navbar .navbar-nav .nav-link.active {
    font-weight: 700;
}

.bh-nav .dropdown-menu {
    min-width: 15rem;
    padding: .5rem;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-lg);
    box-shadow: var(--bh-shadow-lg);
}

.bh-nav .dropdown-item {
    padding: .5rem .75rem;
    border-radius: .375rem;
    color: var(--bh-navy);
    font-size: 14px;
}

.bh-nav .dropdown-item:hover,
.bh-nav .dropdown-item:focus {
    background: var(--bh-peach);
    color: var(--bh-orange);
}

.bh-nav .bh-nav-donate {
    padding: .7rem 1.4rem;
    font-size: 15px;
}

.bh-nav .navbar-toggler {
    border-color: rgba(0, 29, 35, .15);
}

.bh-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 111, 15, .25);
}

@media (max-width: 1199.98px) {
    .bh-nav.navbar .navbar-nav .nav-link {
        margin-right: 1rem;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .bh-header .bh-nav {
        min-height: 72px;
        padding: 0 1rem;
    }

    .bh-nav .navbar-brand img {
        height: 48px;
    }

    /* The template paints the collapsed mobile menu dark; keep it white. */
    .bh-nav.navbar .navbar-nav {
        margin-top: .5rem;
        padding: .5rem 0 1rem !important;
        background: #fff;
        border-top: 1px solid var(--bh-border-soft);
    }

    .bh-nav.navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: .6rem 0;
    }

    .bh-nav .dropdown-menu {
        border: 0;
        box-shadow: none;
        padding: 0 0 .25rem .75rem;
    }
}

/* =========================================================================
   Hero carousel (homepage)
   ========================================================================= */

.bh-hero {
    position: relative;
    /* The navbar is now solid white, so the hero starts below it rather than
       sitting behind a transparent bar as before. */
    margin-top: var(--bh-header-h);
    background: var(--bh-navy);
    color: #fff;
    overflow: hidden;
}

.bh-hero .carousel-item {
    height: 580px;
}

@media (min-width: 992px) {
    .bh-hero .carousel-item {
        height: 680px;
    }
}

.bh-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bh-navy) 0%, rgba(0, 29, 35, .7) 50%, rgba(0, 29, 35, .3) 100%);
}

.bh-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bh-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    padding: .375rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 111, 15, .9);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: var(--bh-shadow-sm);
}

.bh .bh-hero-title {
    margin: 0 0 1.25rem;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

@media (min-width: 768px) {
    .bh .bh-hero-title {
        font-size: 3.75rem;
    }
}

.bh-hero-text {
    max-width: 42rem;
    margin: 0 0 2rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .85);
}

@media (min-width: 768px) {
    .bh-hero-text {
        font-size: 1.25rem;
    }
}

.bh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Slide indicators: the active slide is a wide orange pill. */
.bh-hero .carousel-indicators {
    bottom: 2rem;
    margin-bottom: 0;
    gap: .5rem;
    z-index: 3;
}

.bh-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .4);
    opacity: 1;
    transition: width .3s ease, background-color .3s ease;
}

.bh-hero .carousel-indicators .active {
    width: 32px;
    background: var(--bh-orange);
}

.bh-hero .carousel-control-prev,
.bh-hero .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border-radius: 9999px;
    background: rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 1;
    z-index: 3;
    font-size: 18px;
    color: #fff;
    box-shadow: var(--bh-shadow);
    transition: background-color .2s ease;
}

.bh-hero .carousel-control-prev {
    left: 1.5rem;
}

.bh-hero .carousel-control-next {
    right: 1.5rem;
}

.bh-hero .carousel-control-prev:hover,
.bh-hero .carousel-control-next:hover {
    background: var(--bh-orange);
}

@media (max-width: 767.98px) {
    .bh-hero .carousel-control-prev,
    .bh-hero .carousel-control-next {
        display: none;
    }
}

/* =========================================================================
   About the school (homepage)
   ========================================================================= */

.bh-about-visual {
    position: relative;
    margin: 1.5rem 1rem 2.5rem 0;
}

.bh-about-main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-xl);
    background: #fff;
    box-shadow: var(--bh-shadow-xl);
}

.bh-about-main img {
    display: block;
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.bh-about-note {
    position: absolute;
    top: -1.5rem;
    right: -1rem;
    z-index: 2;
    width: 11rem;
    padding: .75rem;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-lg);
    background: #fff;
    box-shadow: var(--bh-shadow-lg);
    transform: rotate(2deg);
}

@media (min-width: 576px) {
    .bh-about-note {
        right: -2rem;
        width: 13rem;
    }
}

.bh-about-note img {
    display: block;
    width: 100%;
    height: 8rem;
    margin-bottom: .5rem;
    border-radius: var(--bh-radius);
    object-fit: cover;
}

.bh-about-note p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--bh-muted);
}

.bh-about-impact {
    position: absolute;
    bottom: -2rem;
    left: -1rem;
    z-index: 2;
    max-width: 20rem;
    padding: 1.25rem;
    border-left: 4px solid var(--bh-orange);
    border-radius: var(--bh-radius-lg);
    background: var(--bh-navy);
    color: #fff;
    box-shadow: var(--bh-shadow-xl);
}

.bh-about-impact-label {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .25rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bh-orange);
}

.bh .bh-about-impact-figure {
    font-family: var(--bh-font-head);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.bh-about-impact p {
    margin: .25rem 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #d1d5db;
}

.bh-about-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .bh-about-copy {
        padding-left: 1.5rem;
    }
}

.bh-about-copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bh-body);
}

.bh-about-copy strong {
    color: var(--bh-navy);
}

.bh .bh-quote {
    padding: 1rem;
    border-left: 4px solid var(--bh-orange);
    border-radius: var(--bh-radius-lg);
    background: var(--bh-peach);
    color: var(--bh-navy);
    font-weight: 500;
}

.bh-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 576px) {
    .bh-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bh-highlight {
    padding: 1rem;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-lg);
    background: var(--bh-canvas);
    box-shadow: var(--bh-shadow-sm);
}

/* With two columns on small phones, the odd third card spans the row. */
@media (max-width: 575.98px) {
    .bh-highlight:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

.bh .bh-highlight-value {
    display: block;
    font-family: var(--bh-font-head);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--bh-navy);
}

.bh .bh-highlight-value.is-accent {
    color: var(--bh-orange);
}

.bh .bh-about-copy .bh-highlight-label {
    margin: .25rem 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--bh-muted);
}

/* =========================================================================
   Cards: programmes, pillars and news
   ========================================================================= */

.bh-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bh-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bh-program {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-xl);
    background: #fff;
    box-shadow: var(--bh-shadow-sm);
    transition: box-shadow .3s ease;
}

.bh-program:hover {
    box-shadow: var(--bh-shadow-xl);
}

.bh-program-body {
    padding: 1.5rem 1.5rem 1rem;
}

.bh-tag {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .25rem .75rem;
    border-radius: .25rem;
    background: var(--bh-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bh .bh-card-title {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bh-navy);
    transition: color .2s ease;
}

.bh .bh-card-title a {
    color: inherit;
}

.bh-program:hover .bh-card-title {
    color: var(--bh-orange);
}

.bh-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--bh-muted);
}

.bh-program-media {
    margin-top: auto;
    padding: .5rem 1.5rem 1.5rem;
}

.bh-media-frame {
    overflow: hidden;
    border-radius: var(--bh-radius-lg);
}

.bh-media-frame img {
    display: block;
    width: 100%;
    height: 14rem;
    object-fit: cover;
    transition: transform .5s ease;
}

.bh-program:hover .bh-media-frame img,
.bh-pillar:hover .bh-media-frame img,
.bh-news-card:hover .bh-media-frame img {
    transform: scale(1.05);
}

.bh-pillar {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(229, 231, 235, .7);
    border-radius: var(--bh-radius-xl);
    background: var(--bh-canvas);
    box-shadow: var(--bh-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.bh-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--bh-shadow-lg);
}

.bh-pillar .bh-media-frame {
    margin-bottom: 1.5rem;
}

.bh-pillar .bh-media-frame img {
    height: 13rem;
}

.bh-pillar .bh-card-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.bh-pillar .bh-btn {
    align-self: flex-start;
}

.bh-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bh-border-soft);
    border-radius: var(--bh-radius-xl);
    background: #fff;
    box-shadow: var(--bh-shadow-sm);
    transition: box-shadow .3s ease;
}

.bh-news-card:hover {
    box-shadow: var(--bh-shadow-lg);
}

.bh-news-card .bh-media-frame {
    border-radius: 0;
}

.bh-news-card .bh-media-frame img {
    height: 13rem;
    /* Crop from the top: keeps people's heads, and the heading of a poster. */
    object-position: center top;
}

.bh-news-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.bh-news-date {
    margin-bottom: .5rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bh-orange);
}

.bh-news-body .bh-card-text {
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.bh-news-more {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* =========================================================================
   Facebook community banner
   ========================================================================= */

.bh-community {
    padding: 4rem 0;
    border-top: 1px solid var(--bh-border);
    border-bottom: 1px solid var(--bh-border);
    background: var(--bh-canvas);
    text-align: center;
}

.bh-community-inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bh-community-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    padding: .375rem 1rem;
    border: 1px solid rgba(255, 111, 15, .3);
    border-radius: 9999px;
    background: #fff;
    color: var(--bh-orange);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--bh-shadow-sm);
}

.bh-community .bh-h2 {
    margin-bottom: 1rem;
}

.bh-community p {
    max-width: 42rem;
    margin: 0 0 2rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--bh-muted);
}

.bh-community strong {
    color: var(--bh-navy);
}

.bh-community .bh-btn {
    border-radius: var(--bh-radius-lg);
}

/* =========================================================================
   Donate section (shared by every page that includes the donate form)
   ========================================================================= */

.bh-donate {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: var(--bh-navy);
    color: #fff;
}

.bh-donate-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .15;
}

.bh-donate .bh-container {
    position: relative;
}

.bh-donate-story {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.bh-donate .bh-donate-story .bh-h2 {
    color: #fff;
}

.bh-donate-story > p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #d1d5db;
}

.bh-fund {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--bh-radius-lg);
    background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.bh-fund-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 15px;
}

.bh-fund-row strong {
    font-weight: 600;
}

.bh-fund-pct {
    font-weight: 700;
    color: var(--bh-orange);
    white-space: nowrap;
}

.bh-fund-bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .2);
}

.bh-fund-bar span {
    display: block;
    height: 100%;
    border-radius: 9999px;
    background: var(--bh-orange);
}

.bh-fund-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 12px;
    color: #9ca3af;
}

.bh-supporters {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: .5rem;
    font-size: 14px;
    color: #d1d5db;
}

.bh-supporters p {
    margin: 0;
}

.bh-avatars {
    display: flex;
}

.bh-avatars span {
    width: 36px;
    height: 36px;
    margin-left: -.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bh-navy);
    border-radius: 9999px;
    font-size: 13px;
    color: #fff;
}

.bh-avatars span:first-child {
    margin-left: 0;
    background: var(--bh-orange);
}

.bh-avatars span:nth-child(2) {
    background: #06333d;
    border-color: rgba(255, 255, 255, .3);
}

.bh-avatars span:nth-child(3) {
    background: #374151;
}

/* ---- bank transfer details (public/inc/bank-transfer) ---- */

.bh-bank {
    margin-top: .5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--bh-radius-lg);
    background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.bh-bank summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
}

.bh-bank summary::-webkit-details-marker {
    display: none;
}

.bh-bank summary:focus-visible {
    outline: 2px solid var(--bh-orange);
    outline-offset: 2px;
    border-radius: var(--bh-radius-lg);
}

.bh-bank-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--bh-orange);
    color: #fff;
    font-size: 15px;
}

.bh-bank-title {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.bh-bank-title strong {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.bh-bank-title small {
    font-size: 13px;
    color: #d1d5db;
}

.bh-bank-chevron {
    margin-left: auto;
    color: #9ca3af;
    transition: transform .2s ease;
}

.bh-bank[open] .bh-bank-chevron {
    transform: rotate(180deg);
}

.bh-bank-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
}

.bh-bank-accounts {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bh-bank-accounts li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    border-radius: var(--bh-radius);
    background: rgba(255, 255, 255, .06);
}

.bh-bank-cur {
    flex: 0 0 auto;
    min-width: 42px;
    padding: .15rem .4rem;
    border-radius: .35rem;
    background: rgba(255, 111, 15, .18);
    color: var(--bh-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.bh-bank-cur-name {
    font-size: 13px;
    color: #9ca3af;
}

.bh-bank-number {
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    user-select: all;
}

.bh-copy {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .6rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: .35rem;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.bh-copy:hover,
.bh-copy:focus-visible {
    border-color: var(--bh-orange);
    background: rgba(255, 111, 15, .15);
}

.bh-bank-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem 1rem;
    margin: 0;
}

.bh-bank-details div:first-child {
    grid-column: 1 / -1;
}

.bh-bank-details dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.bh-bank-details dd {
    margin: 0;
    font-size: 14px;
    color: #fff;
    overflow-wrap: anywhere;
}

.bh-bank-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
}

.bh-bank-note a {
    color: var(--bh-orange);
    overflow-wrap: anywhere;
}

@media (max-width: 400px) {
    .bh-bank-cur-name {
        display: none;
    }
}

/* ---- the form card ---- */

.bh-donate-card {
    padding: 1.5rem;
    border-radius: var(--bh-radius-xl);
    background: #fff;
    color: var(--bh-navy);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
}

@media (min-width: 576px) {
    .bh-donate-card {
        padding: 2rem;
    }
}

.bh-donate-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bh-donate .bh-label {
    display: block;
    margin-bottom: .375rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

.bh-donate .bh-input {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--bh-radius);
    background: var(--bh-canvas);
    color: var(--bh-navy);
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bh-donate .bh-input:focus {
    outline: none;
    border-color: var(--bh-orange);
    box-shadow: 0 0 0 .2rem rgba(255, 111, 15, .2);
    background: #fff;
}

/* Searchable country list, matched to the other inputs. */
.bh-donate .select2-container--default .select2-selection--single {
    height: 44px;
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: var(--bh-radius);
    background: var(--bh-canvas);
}

.bh-donate .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 1rem;
    line-height: normal;
    color: var(--bh-navy);
    font-size: 14px;
}

.bh-donate .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: .5rem;
    height: 100%;
}

.bh-donate .select2-container--default.select2-container--focus .select2-selection--single,
.bh-donate .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--bh-orange);
}

/* ---- choice chips: styled Bootstrap radios, same inputs as before ---- */

/* The donate script shows and hides elements by toggling .d_none. The chip
   styles below set display:flex, which is more specific than the layout's
   .d_none rule and would otherwise keep hidden elements on screen. */
.bh-donate .d_none {
    display: none !important;
}

.bh-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

@media (min-width: 576px) {
    .bh-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bh-chip-grid.bh-chip-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-chip-grid.bh-chip-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bh-donate label.bh-chip {
    min-height: 40px;
    margin: 0;
    padding: .35rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    border: 1px solid var(--bh-border);
    border-radius: var(--bh-radius);
    background: var(--bh-canvas);
    color: var(--bh-navy);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.bh-donate label.bh-chip:hover {
    background: var(--bh-border-soft);
}

.bh-donate .btn-check:checked + label.bh-chip {
    border: 2px solid var(--bh-orange);
    background: var(--bh-peach);
    color: var(--bh-orange);
    font-weight: 600;
}

.bh-donate .btn-check:focus-visible + label.bh-chip {
    outline: 2px solid rgba(255, 111, 15, .55);
    outline-offset: 2px;
}

.bh-donate label.bh-chip i {
    font-size: 12px;
}

.bh-donate label.bh-chip-amount {
    min-height: 44px;
    font-size: 18px;
    font-weight: 600;
}

.bh-donate .btn-check:checked + label.bh-chip-amount {
    font-weight: 700;
}

.bh-donate label.bh-chip-other {
    font-size: 14px;
}

/* Shown in place of "Other" once it is chosen. */
.bh-donate #custom_amount {
    height: 44px;
    border: 2px solid var(--bh-orange);
    background: #fff;
    font-weight: 600;
    text-align: center;
}

/* ---- live conversion notice (filled in by the currency script) ---- */

.bh-donate #currencyConversionNotice {
    position: relative;
    margin: 0;
    padding: .75rem 1rem .75rem 2.5rem;
    border: 1px solid rgba(255, 111, 15, .25);
    border-radius: var(--bh-radius);
    background: var(--bh-peach);
    color: var(--bh-navy);
    font-size: 13px;
    line-height: 1.5;
}

.bh-donate #currencyConversionNotice::before {
    content: '\f05a';
    position: absolute;
    left: .9rem;
    top: .8rem;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--bh-orange);
}

.bh-donate #currencyConversionNotice strong {
    color: var(--bh-orange);
}

.bh-donate .bh-fee {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: var(--bh-muted);
}

.bh-donate .bh-fee input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--bh-orange);
    cursor: pointer;
}

.bh-donate .bh-fee label {
    cursor: pointer;
}

.bh-donate .bh-donate-submit {
    width: 100%;
    height: 48px;
    margin-top: .5rem;
    border-radius: var(--bh-radius-lg);
    font-size: 18px;
}

.bh-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1rem;
    padding-top: .5rem;
    font-size: 12px;
    color: var(--bh-faint);
}

.bh-trust span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.bh-donate .bh-alert {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: var(--bh-radius);
    font-size: 14px;
}

/* =========================================================================
   Newsletter band + footer (global)
   ========================================================================= */

.bh-newsletter {
    background: var(--bh-orange);
    color: #fff;
}

.bh-newsletter .bh-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.bh-newsletter-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .bh-newsletter-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.bh-newsletter h3 {
    margin: 0 0 .25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.bh-newsletter-inner > div > p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}

.bh-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width: 100%;
}

@media (min-width: 576px) {
    .bh-newsletter-form {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (min-width: 992px) {
    .bh-newsletter-form {
        width: auto;
    }
}

.bh-newsletter-form .bh-newsletter-field {
    flex: 1 1 auto;
}

@media (min-width: 992px) {
    .bh-newsletter-form .bh-newsletter-field:first-of-type {
        width: 14rem;
    }

    .bh-newsletter-form .bh-newsletter-field:nth-of-type(2) {
        width: 16rem;
    }
}

.bh-newsletter-form input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border: 0;
    border-radius: var(--bh-radius);
    background: #fff;
    color: var(--bh-navy);
    font-size: 14px;
}

.bh-newsletter-form input:focus {
    outline: 2px solid var(--bh-navy);
    outline-offset: 1px;
}

.bh-newsletter-form input::placeholder {
    color: #9ca3af;
}

.bh-newsletter-form .bh-btn {
    height: 48px;
    padding: 0 1.75rem;
    font-size: 14px;
    letter-spacing: .02em;
}

.bh-newsletter-error {
    display: block;
    margin-top: .25rem;
    font-size: 12px;
    color: #fff;
}

.bh-newsletter .bh-newsletter-done {
    padding: .75rem 1rem;
    border-radius: var(--bh-radius);
    background: rgba(255, 255, 255, .15);
    font-weight: 600;
}

.bh-footer {
    background: var(--bh-navy);
    color: #fff;
}

.bh-footer-main {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bh .bh-footer-brand {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.bh-footer-brand span {
    color: var(--bh-orange);
}

.bh-footer p,
.bh-footer-line {
    font-size: 14px;
    line-height: 1.65;
    color: #d1d5db;
}

.bh-footer-tagline {
    max-width: 24rem;
    margin: 0 0 1rem;
}

.bh-footer-social {
    display: flex;
    gap: .75rem;
}

.bh-footer .bh-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background-color .2s ease;
}

.bh-footer .bh-social:hover {
    background: var(--bh-orange);
    color: #fff;
}

.bh .bh-footer-heading {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
}

.bh-footer-line {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .75rem;
}

/* The Yahoo address is one long unbreakable word and otherwise runs into the
   neighbouring column. */
.bh-footer-line span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bh-footer-line a {
    color: inherit;
}

.bh-footer-line a:hover {
    color: var(--bh-orange);
}

.bh-footer-line i {
    width: 16px;
    margin-top: .2rem;
    color: var(--bh-orange);
    text-align: center;
}

.bh-footer-links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.bh-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 14px;
    color: #d1d5db;
    transition: color .2s ease;
}

.bh-footer-links a::before {
    content: '\203A';
    color: var(--bh-orange);
    font-size: 16px;
    line-height: 1;
}

.bh-footer-links a:hover {
    color: var(--bh-orange);
}

.bh-footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: #9ca3af;
}

.bh-footer-bottom .bh-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
}

.bh-footer-bottom a {
    color: #d1d5db;
}

.bh-footer-bottom a:hover {
    color: var(--bh-orange);
}

/* =========================================================================
   Motion preferences
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
    .bh-program,
    .bh-pillar,
    .bh-media-frame img,
    .bh-btn i,
    .bh-hero .carousel-indicators [data-bs-target] {
        transition: none !important;
    }

    .bh-pillar:hover {
        transform: none;
    }

    .bh-program:hover .bh-media-frame img,
    .bh-pillar:hover .bh-media-frame img,
    .bh-news-card:hover .bh-media-frame img {
        transform: none;
    }
}

/* =========================================================================
   Featured success story (home page) and story videos
   ========================================================================= */

.bh-story {
    background: var(--bh-peach);
    border-top: 1px solid rgba(255, 111, 15, .15);
    border-bottom: 1px solid rgba(255, 111, 15, .15);
}

.bh-story-media {
    overflow: hidden;
    border-radius: var(--bh-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 29, 35, .25);
    background: var(--bh-navy);
}

.bh-story-media > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.bh-story-media .bh-video {
    border-radius: 0;
}

.bh-story-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
}

.bh-story-copy .bh-pill i {
    margin-right: .25rem;
}

.bh-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.bh-story-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--bh-navy);
}

.bh-story-more:hover {
    color: var(--bh-orange);
}

.bh-story-more i {
    color: var(--bh-orange);
    font-size: 1.25rem;
}

.bh-video {
    position: relative;
    overflow: hidden;
    border-radius: var(--bh-radius-lg);
    background: #000;
}

/* YouTube has no size of its own; a file takes its shape from its cover
   image, so an upright phone video is not squeezed into a wide box. */
.bh-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.bh-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: #000;
}

.bh-video-list {
    display: grid;
    gap: 1.5rem;
}

/* A form waiting for its reCAPTCHA token (layouts/partials/recaptcha.blade.php). */
form[aria-busy="true"] [type="submit"] {
    opacity: .7;
    cursor: progress;
}

/* Laravel's Bootstrap 5 page links (gallery, news, sponsor a child): keep the
   "Showing 1 to 12 of 19 results" line apart from the buttons and level with
   them. */
nav .flex-sm-fill.d-sm-flex {
    gap: 1.25rem;
}

nav .flex-sm-fill.d-sm-flex p.small {
    margin: 0;
}

nav .flex-sm-fill.d-sm-flex .pagination {
    margin: 0;
}