/*!
 * Namma BNP — public theme
 * Header, footer and shared components, modelled on nammabnp.org:
 * red top bar with yellow CTA chips, round emblem overhanging the nav,
 * uppercase menu, red-barred section titles, dark footer with a red base bar.
 * Builds on Bootstrap 5.3 (assets/vendor/bootstrap).
 */

/* ---------------------------------------------------------------- Fonts */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cert/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cert/Poppins-Italic.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cert/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/cert/Poppins-Bold.ttf") format("truetype"); }

/* --------------------------------------------------------------- Tokens */
:root {
  --bnp-red: #BE2326;
  --bnp-red-rgb: 190, 35, 38;
  --bnp-yellow: #FDCF0A;
  --bnp-yellow-rgb: 253, 207, 10;
  --bnp-red-dark: color-mix(in srgb, var(--bnp-red) 80%, #000);
  --bnp-ink: #000;
  --bnp-text: #1d1d1f;
  --bnp-muted: #6b6f75;
  --bnp-amber: #eca30c;          /* news dates */
  --bnp-nav-bg: #f4f4f4;         /* rgba(234,234,234,.5) on white */
  --bnp-soft: #f4f4f4;           /* alternate section */
  --bnp-tint: #fff7f7;           /* stat tiles */
  --bnp-tint-alt: #fbfbfb;
  --bnp-rule: #dfdfdf;
  --bnp-footer: #292d32;
  --bnp-maroon: rgba(62, 11, 10, .9);

  --bnp-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bnp-radius-sm: 4px;
  --bnp-radius: 8px;
  --bnp-radius-lg: 12px;
  --bnp-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  --bnp-logo-gap: 172px;         /* left indent of hero text on desktop */
}

/* ------------------------------------------- Bootstrap brought on-brand */
body.bnp-site {
  --bs-body-font-family: var(--bnp-font);
  --bs-body-color: var(--bnp-text);
  --bs-body-bg: #fff;
  --bs-primary: var(--bnp-red);
  --bs-primary-rgb: var(--bnp-red-rgb);
  --bs-link-color: var(--bnp-red);
  --bs-link-color-rgb: var(--bnp-red-rgb);
  --bs-link-hover-color: var(--bnp-red-dark);
  --bs-link-hover-color-rgb: var(--bnp-red-rgb);
  --bs-focus-ring-color: rgba(var(--bnp-red-rgb), .25);
  --bs-emphasis-color: #000;
  font-family: var(--bnp-font);
  color: var(--bnp-text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bnp-site main { flex: 1 0 auto; }
.bnp-site h1, .bnp-site h2, .bnp-site h3, .bnp-site h4, .bnp-site h5, .bnp-site h6 { font-weight: 700; color: inherit; }
.bnp-site ::selection { background: var(--bnp-yellow); color: #000; }

.bnp-site .btn { font-weight: 600; border-radius: var(--bnp-radius-sm); }
.bnp-site .btn-primary {
  --bs-btn-bg: var(--bnp-red); --bs-btn-border-color: var(--bnp-red); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--bnp-yellow); --bs-btn-hover-border-color: var(--bnp-yellow); --bs-btn-hover-color: #000;
  --bs-btn-active-bg: var(--bnp-red-dark); --bs-btn-active-border-color: var(--bnp-red-dark); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--bnp-red); --bs-btn-disabled-border-color: var(--bnp-red);
  --bs-btn-focus-shadow-rgb: var(--bnp-red-rgb);
}
.bnp-site .btn-outline-primary {
  --bs-btn-color: var(--bnp-red); --bs-btn-border-color: var(--bnp-red);
  --bs-btn-hover-bg: var(--bnp-red); --bs-btn-hover-border-color: var(--bnp-red); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--bnp-red-dark); --bs-btn-active-border-color: var(--bnp-red-dark); --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: var(--bnp-red); --bs-btn-disabled-border-color: var(--bnp-red);
  --bs-btn-focus-shadow-rgb: var(--bnp-red-rgb);
}
.bnp-site .form-control:focus, .bnp-site .form-select:focus {
  border-color: rgba(var(--bnp-red-rgb), .55);
  box-shadow: 0 0 0 .2rem rgba(var(--bnp-red-rgb), .14);
}
.bnp-site .form-check-input:checked { background-color: var(--bnp-red); border-color: var(--bnp-red); }
.bnp-site .form-check-input:focus { border-color: rgba(var(--bnp-red-rgb), .55); box-shadow: 0 0 0 .2rem rgba(var(--bnp-red-rgb), .14); }
.bnp-site .form-label { font-weight: 600; }
.bnp-site .pagination {
  --bs-pagination-color: var(--bnp-red); --bs-pagination-hover-color: var(--bnp-red-dark);
  --bs-pagination-active-bg: var(--bnp-red); --bs-pagination-active-border-color: var(--bnp-red);
  --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(var(--bnp-red-rgb), .2);
}
.bnp-site .nav-pills { --bs-nav-pills-link-active-bg: var(--bnp-red); }
.bnp-site .nav-link { --bs-nav-link-color: var(--bnp-red); --bs-nav-link-hover-color: var(--bnp-red-dark); }
.bnp-site .progress, .bnp-site .progress-stacked { --bs-progress-bar-bg: var(--bnp-red); }

/* ------------------------------------------------------- Brand buttons */
.btn-bnp, .btn-bnp-red, .btn-bnp-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 30px; border: 0; border-radius: var(--bnp-radius-sm);
  font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn-bnp { background: var(--bnp-yellow); color: #000; }
.btn-bnp:hover, .btn-bnp:focus-visible { background: var(--bnp-red); color: #fff; }
.btn-bnp-red { background: var(--bnp-red); color: #fff; }
.btn-bnp-red:hover, .btn-bnp-red:focus-visible { background: var(--bnp-yellow); color: #000; }
.btn-bnp-dark { background: #000; color: #fff; }
.btn-bnp-dark:hover, .btn-bnp-dark:focus-visible { background: var(--bnp-red); color: #fff; }
.btn-bnp.btn-sm, .btn-bnp-red.btn-sm, .btn-bnp-dark.btn-sm { padding: 8px 20px; font-size: .9rem; }
.btn-bnp:disabled, .btn-bnp-red:disabled, .btn-bnp-dark:disabled { opacity: .6; pointer-events: none; }

/* -------------------------------------------------------------- Header */
/* Matches nammabnp.org: full-width bars with 60px gutters, the emblem on a white tab hanging
   from the top of the page over both bars, and the menu centred in the nav bar.
   The full desktop header needs 1200px; narrower screens get the compact bar and menu button. */
.bnp-header {
  --bnp-gutter: 60px;            /* side space of both bars */
  --bnp-tab-w: 158px;            /* white logo tab */
  --bnp-tab-room: 180px;         /* space kept free for the tab at the start of each bar */
  position: relative; z-index: 1020;
  box-shadow: -2px 3px 5px 0 rgba(0, 0, 0, .04);
  overflow-x: clip;              /* hidden menus never widen the page */
}
.bnp-bar { padding: 0 16px; }

.bnp-skip { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: #000; color: #fff; padding: .5rem 1rem; border-radius: var(--bnp-radius-sm); }
.bnp-skip:focus { top: .5rem; color: #fff; }

/* Emblem on its white tab (desktop) */
.bnp-logo {
  position: absolute; top: 0; left: calc(var(--bnp-gutter) + 4px); z-index: 5;
  display: block; width: var(--bnp-tab-w); padding: 10px 0 7px;
  background: #fff; border-radius: 0 0 calc(var(--bnp-tab-w) / 2) calc(var(--bnp-tab-w) / 2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}
.bnp-logo img { display: block; width: 145px; height: 145px; margin: 0 auto; transition: transform .25s ease; }
.bnp-logo:hover img { transform: scale(1.03); }

/* Top bar */
.bnp-topbar { background: var(--bnp-red); color: #fff; font-size: .9rem; padding: 8px 0; }
.bnp-topbar .bnp-bar { display: flex; align-items: center; gap: .5rem 24px; flex-wrap: wrap; }
.bnp-topbar a { color: #fff; text-decoration: none; }
.bnp-topbar a:hover { color: var(--bnp-yellow); }
.bnp-topbar-contact { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.bnp-topbar-contact .bi { margin-right: .25rem; }
.bnp-topbar-contact .sep { margin: 0 .4rem; }
.bnp-lang {
  display: inline-block; padding: 6px 12px; border-radius: var(--bnp-radius-sm);
  background: #fff; color: #000 !important; line-height: 1.5; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.bnp-lang:hover, .bnp-lang:focus-visible { background: var(--bnp-yellow); color: var(--bnp-red) !important; }
.bnp-cta { display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.bnp-cta a {
  display: block; padding: 8px 12px; border-radius: var(--bnp-radius-sm);
  background: var(--bnp-yellow); color: #000; font-size: .9rem; line-height: 1.5;
  transition: background-color .2s ease, color .2s ease;
}
.bnp-cta a:hover, .bnp-cta a:focus-visible { background: #000; color: #fff; }

/* Main nav */
.bnp-nav { background: var(--bnp-nav-bg); color: #000; }
.bnp-nav .bnp-bar { display: flex; align-items: stretch; }
.bnp-nav .navbar-collapse { flex-grow: 1; }
.bnp-nav-brand, .bnp-lang-mobile { display: none; }
.bnp-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.bnp-menu > li { position: relative; }
.bnp-menu > li > a {
  position: relative; display: flex; align-items: center; gap: .35rem; height: 100%;
  padding: 28px 16px; color: #000; text-decoration: none;
  font-size: 1rem; font-weight: 400; line-height: 1.6; text-transform: uppercase; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.bnp-menu > li > a .bi-chevron-down { position: relative; top: 1px; font-size: .7em; -webkit-text-stroke: .6px currentColor; transition: transform .25s ease; }

.bnp-menu .dropdown-menu {
  --bs-dropdown-min-width: 200px;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-border-width: 0;
  --bs-dropdown-border-radius: var(--bnp-radius);
  --bs-dropdown-link-color: #000;
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-hover-bg: var(--bnp-red);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: var(--bnp-red);
  --bs-dropdown-item-padding-x: 20px;
  --bs-dropdown-item-padding-y: 10px;
  margin: 0; box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.bnp-menu .dropdown-item { font-size: 1rem; line-height: 1.6; }
.bnp-menu .dropdown-item .bi-chevron-right { font-size: .7em; margin-left: auto; padding-left: 1rem; }
.bnp-menu .has-sub > .dropdown-item { display: flex; align-items: center; }
.bnp-submenu { margin: 0; padding: 0; list-style: none; }

/* Toggler */
.bnp-toggler {
  display: none; align-items: center; gap: .5rem; border: 0; background: var(--bnp-red); color: #fff;
  padding: 8px 14px; border-radius: var(--bnp-radius-sm); font-weight: 600; font-size: .9rem;
}
.bnp-toggler .bi { font-size: 1.25rem; line-height: 1; }
.bnp-toggler:hover { background: #000; }

@media (min-width: 1200px) {
  .bnp-topbar .bnp-bar, .bnp-nav .bnp-bar { padding-left: calc(var(--bnp-gutter) + var(--bnp-tab-room)); padding-right: var(--bnp-gutter); }
  .bnp-topbar .bnp-bar { min-height: 37.6px; padding-right: calc(var(--bnp-gutter) + 22px); }
  .bnp-nav .navbar-collapse { display: flex !important; justify-content: center; }

  .bnp-menu > li > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px;
    background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .bnp-menu > li:hover > a, .bnp-menu > li > a:focus-visible, .bnp-menu > li > a.show { background: var(--bnp-red); color: #fff; }
  .bnp-menu > li:hover > a::after, .bnp-menu > li > a.show::after { transform: scaleX(1); }
  .bnp-menu > li:hover > a .bi-chevron-down { transform: rotate(180deg); }

  /* hover-reveal dropdowns that also work on click / keyboard */
  .bnp-menu .dropdown-menu, .bnp-submenu {
    display: block; position: absolute; top: 100%; left: 0; white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px);
    transition: opacity .12s ease, transform .28s ease, visibility .28s ease;
  }
  .bnp-menu .dropdown-menu { border-top-left-radius: 0; }
  .bnp-menu > li:hover > .dropdown-menu, .bnp-menu .dropdown-menu.show {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .bnp-menu .dropdown-menu > li:first-child > .dropdown-item { border-top-right-radius: var(--bnp-radius); }
  .bnp-menu .dropdown-menu > li:last-child > .dropdown-item { border-bottom-left-radius: var(--bnp-radius); border-bottom-right-radius: var(--bnp-radius); }

  /* fly-out sub-menus (shown only while their dropdown is open) */
  .bnp-menu .has-sub { position: relative; }
  .bnp-submenu {
    top: 0; left: 100%; min-width: 200px; background: #fff;
    border-radius: 0 var(--bnp-radius) var(--bnp-radius) var(--bnp-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12); transform: translateX(12px);
  }
  .bnp-menu .flip .bnp-submenu { left: auto; right: 100%; border-radius: var(--bnp-radius) 0 var(--bnp-radius) var(--bnp-radius); transform: translateX(-12px); }
  .bnp-menu > li:hover > .dropdown-menu > .has-sub:is(:hover, :focus-within, .is-open) > .bnp-submenu,
  .bnp-menu .dropdown-menu.show > .has-sub:is(:hover, :focus-within, .is-open) > .bnp-submenu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .bnp-menu .has-sub:is(:hover, :focus-within, .is-open) > .dropdown-item { background: var(--bnp-red); color: #fff; }
  .bnp-submenu > li:first-child > .dropdown-item { border-top-right-radius: var(--bnp-radius); }
  .bnp-menu .flip .bnp-submenu > li:first-child > .dropdown-item { border-top-right-radius: 0; border-top-left-radius: var(--bnp-radius); }
  .bnp-submenu > li:last-child > .dropdown-item { border-bottom-left-radius: var(--bnp-radius); border-bottom-right-radius: var(--bnp-radius); }
}
@media (min-width: 1400px) {
  .bnp-nav .bnp-bar { padding-left: calc(var(--bnp-gutter) + var(--bnp-tab-room) + 26px); } /* menu sits where nammabnp.org's does */
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .bnp-header { --bnp-gutter: 30px; }
  .bnp-topbar-contact .extra, .bnp-topbar-contact .sep { display: none; }
  .bnp-menu > li > a { padding-left: 11px; padding-right: 11px; font-size: .92rem; }
  .bnp-menu > li > a::after { left: 11px; right: 11px; }
}
@media (max-width: 1199.98px) {
  .bnp-logo, .bnp-topbar-contact, .bnp-topbar .bnp-lang { display: none; }
  .bnp-topbar { padding: 6px 0; }
  .bnp-cta { margin: 0 auto; }
  .bnp-cta a { padding: 6px 10px; font-size: .8rem; }
  .bnp-nav { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
  .bnp-nav .bnp-bar { flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .bnp-nav-brand { display: flex; align-items: center; gap: .6rem; color: #000; text-decoration: none; margin-right: auto; min-width: 0; }
  .bnp-nav-brand img { width: 52px; height: 52px; flex: none; }
  .bnp-nav-brand span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .bnp-nav-brand strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bnp-nav-brand small { font-size: .75rem; color: var(--bnp-red); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .bnp-lang-mobile { display: inline-block; padding: 6px 10px; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--bnp-rule); }
  .bnp-toggler { display: inline-flex; }
  .bnp-nav .navbar-collapse { flex-basis: 100%; }
  .bnp-menu { flex-direction: column; padding: 8px 0 4px; }
  .bnp-menu > li { border-top: 1px solid #eee; }
  .bnp-menu > li > a { padding: 12px 4px; font-size: .95rem; font-weight: 500; justify-content: space-between; }
  .bnp-menu > li > a.show { color: var(--bnp-red); }
  .bnp-menu > li > a.show .bi-chevron-down { transform: rotate(180deg); }
  .bnp-menu .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; background: var(--bnp-soft); margin-bottom: 8px; overflow: hidden; }
  .bnp-menu .dropdown-item { font-size: .95rem; border-bottom: 1px solid #e6e6e6; white-space: normal; }
  .bnp-menu .dropdown-menu > li:last-child > .dropdown-item, .bnp-submenu > li:last-child > .dropdown-item { border-bottom: 0; }
  .bnp-menu .has-sub > .dropdown-item .bi-chevron-right { display: none; }
  .bnp-submenu { padding-left: 14px; border-bottom: 1px solid #e6e6e6; }
  .bnp-menu .dropdown-menu > li:last-child > .bnp-submenu { border-bottom: 0; }
  .bnp-submenu .dropdown-item { font-size: .9rem; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 359.98px) {
  .bnp-nav-brand span { display: none; }
}

/* Floating social strip (desktop) */
.bnp-social-float { position: fixed; right: 0; top: 40%; z-index: 1010; margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, .6); box-shadow: 0 4px 16px rgba(0, 0, 0, .08); border-radius: var(--bnp-radius) 0 0 var(--bnp-radius); overflow: hidden; }
.bnp-social-float a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #000; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.bnp-social-float a:hover, .bnp-social-float a:focus-visible { background: var(--bnp-red); color: #fff; }
@media (max-width: 991.98px) { .bnp-social-float { display: none; } }

/* Flash messages */
.bnp-flash { padding-top: 1.25rem; }
.bnp-flash .alert { border: 0; border-left: 6px solid; border-radius: var(--bnp-radius); box-shadow: var(--bnp-shadow); display: flex; gap: .75rem; align-items: flex-start; }
.bnp-flash .alert > .bi { font-size: 1.2rem; line-height: 1.4; }
.bnp-flash .alert-danger { border-left-color: var(--bnp-red); }
.bnp-flash .alert-success { border-left-color: #198754; }
@media (min-width: 1200px) { .bnp-flash { padding-top: 2.25rem; } } /* clears the logo tab */

/* ------------------------------------------------------- Section titles */
.site-title {
  color: #000; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.3; font-weight: 700;
  margin: 0 0 30px; padding-left: 24px; border-left: 8px solid var(--bnp-red);
}
.site-title.text-white { color: #fff; }
.site-title.border-yellow { border-left-color: var(--bnp-yellow); }
.site-title small { display: block; font-size: .45em; font-weight: 500; color: var(--bnp-muted); letter-spacing: .02em; margin-top: .35rem; }
.site-title.text-white small { color: rgba(255, 255, 255, .75); }

.band-title { position: relative; margin: 0 0 24px; font-size: 1.25rem; }
.band-title::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border: 1px solid var(--bnp-rule); }
.band-title > span { position: relative; z-index: 1; display: inline-block; min-width: 240px; background: var(--bnp-red); color: #fff; padding: 8px 40px; font-weight: 600; }
@media (max-width: 575.98px) { .band-title > span { min-width: 0; padding: 8px 16px; } }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bnp-red); margin-bottom: .5rem; }

.section-pad { padding: 60px 0; }
.section-soft { background: var(--bnp-soft); }
@media (max-width: 767.98px) { .section-pad { padding: 32px 0; } }

.text-bnp { color: var(--bnp-red) !important; }
.bg-bnp { background-color: var(--bnp-red) !important; color: #fff; }
.bg-bnp-yellow { background-color: var(--bnp-yellow) !important; color: #000; }

/* ---------------------------------------------------------- Page hero */
.bnp-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: 64px 0 56px;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(var(--bnp-yellow-rgb), .18), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(120deg, #3e0b0a 0%, #6e1416 55%, var(--bnp-red) 100%);
}
.bnp-hero.has-image { background: var(--hero-img) center / cover no-repeat; }
.bnp-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 4, 4, .92) 0%, var(--bnp-maroon) 45%, rgba(62, 11, 10, .55) 100%); }
.bnp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--bnp-yellow) 0 30%, var(--bnp-red) 30% 100%); }
.bnp-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85); font-size: .85rem; margin-bottom: 1rem; }
.bnp-hero .breadcrumb a { color: var(--bnp-yellow); text-decoration: none; }
.bnp-hero .breadcrumb a:hover { text-decoration: underline; }
.bnp-hero-title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.2; font-weight: 700; margin: 0; max-width: 22ch; }
.bnp-hero-sub { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .85); margin: 1rem 0 0; max-width: 60ch; }
.bnp-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 992px) { .bnp-hero { padding: 84px 0 72px; } .bnp-hero > .container-xl { padding-left: calc(var(--bnp-logo-gap) + .75rem); } }

/* ---------------------------------------------------------------- Cards */
.card-bnp { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-bnp-img { position: relative; overflow: hidden; border-radius: var(--bnp-radius); aspect-ratio: 16 / 9; background: var(--bnp-soft); }
.card-bnp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.card-bnp:hover .card-bnp-img img { transform: scale(1.05); }
.card-bnp-img .badge { position: absolute; top: 12px; left: 12px; }
.card-bnp-body { padding: 18px 0 8px; }
.card-bnp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--bnp-red); text-transform: uppercase; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.card-bnp-meta .date { color: var(--bnp-amber); }
.card-bnp-title { font-size: 1.2rem; line-height: 1.3; font-weight: 600; margin: 12px 0 8px; color: #000; }
.card-bnp:hover .card-bnp-title { color: var(--bnp-red); }
.card-bnp-text { color: var(--bnp-muted); margin: 0; }
.card-bnp.boxed { background: #fff; border-radius: var(--bnp-radius-lg); box-shadow: var(--bnp-shadow); overflow: hidden; }
.card-bnp.boxed .card-bnp-img { border-radius: 0; }
.card-bnp.boxed .card-bnp-body { padding: 18px 20px 22px; }

.tag-chip { display: inline-block; background: var(--bnp-yellow); color: #000; font-size: .85rem; padding: 4px 18px; border-radius: var(--bnp-radius-sm); text-decoration: none; }
a.tag-chip:hover { background: var(--bnp-red); color: #fff; }

/* Stat tiles (key-initiatives style) */
.stat-tile { height: 100%; padding: 24px 28px 32px; background: var(--bnp-tint); border-radius: var(--bnp-radius); text-align: center; transition: background-color .5s ease; }
.stat-tile.alt { background: var(--bnp-tint-alt); }
.stat-tile .bi { display: inline-block; font-size: 2rem; color: var(--bnp-red); margin-bottom: .5rem; }
.stat-tile h4, .stat-tile .stat-value { color: var(--bnp-red); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.8rem); line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
.stat-tile p { margin: 0; font-weight: 600; }
.stat-tile:hover { background: var(--bnp-red); }
.stat-tile:hover, .stat-tile:hover * { color: #fff; }

/* Panels (forms, lookups) */
.panel-bnp { background: #fff; border-radius: var(--bnp-radius-lg); box-shadow: var(--bnp-shadow); padding: 28px; border-top: 6px solid var(--bnp-red); }
@media (max-width: 575.98px) { .panel-bnp { padding: 20px 16px; } }

/* -------------------------------------------------------- Join band CTA */
.join-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 64px 0;
  background: var(--join-img, radial-gradient(900px 420px at 15% 0%, #5a1214, transparent 70%)) center / cover no-repeat, #101010;
}
.join-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(0, 0, 0, .78); }
.join-band::after {
  content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%);
  background: url("../img/emblem.png") center / contain no-repeat; opacity: .06;
}
.join-band-text { text-align: center; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); line-height: 1.4; font-weight: 600; margin: 8px auto 28px; max-width: 30ch; }
.join-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 767.98px) { .join-band { padding: 40px 0; } .join-band::after { width: 240px; height: 240px; right: -80px; } }

/* --------------------------------------------------------------- Footer */
.bnp-footer {
  color: rgba(255, 255, 255, .88);
  /* Dark Bengaluru street-map texture, as on nammabnp.org; the colour shows until it loads. */
  background: var(--bnp-footer) url('../img/footer-map.jpg') center / cover no-repeat;
}
.bnp-footer a { color: #fff; text-decoration: none; }
.bnp-footer a:hover { color: var(--bnp-yellow); }
.bnp-footer-main { padding: 56px 0 48px; }
.bnp-footer-logo { display: inline-block; max-width: 240px; margin-bottom: 18px; }
.bnp-footer-logo img { width: 100%; height: auto; display: block; }
.bnp-footer-about { font-size: .95rem; line-height: 1.7; }
.bnp-footer-title { color: #fff; font-size: 1.125rem; font-weight: 700; margin: 0 0 16px; }

.bnp-quicklinks { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.bnp-quicklinks li { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); display: flex; }
.bnp-quicklinks a { display: flex; align-items: center; gap: .4rem; width: 100%; padding: 11px 0; border-bottom: 2px dashed rgba(255, 255, 255, .55); transition: color .2s ease, border-color .2s ease; }
.bnp-quicklinks a:hover { border-color: var(--bnp-yellow); }
.bnp-quicklinks a .bi { font-size: .75em; opacity: .55; }

.bnp-contact { display: grid; gap: 14px 32px; font-size: .95rem; }
@media (min-width: 768px) { .bnp-contact { grid-template-columns: 1fr 1fr; } .bnp-contact > :first-child { grid-row: span 2; } }
@media (min-width: 992px) { .bnp-contact { grid-template-columns: 1fr; } .bnp-contact > :first-child { grid-row: auto; } }
.bnp-contact b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.bnp-contact address { margin: 0; line-height: 1.6; }

.bnp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.bnp-social a {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid #fff; border-radius: var(--bnp-radius); font-size: 1.15rem; color: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.bnp-social a:hover, .bnp-social a:focus-visible { background: var(--bnp-red); border-color: var(--bnp-red); color: #fff; }
.bnp-footer-support { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }

.bnp-footer-base { background: var(--bnp-red); color: #fff; padding: 20px 0; font-size: .9rem; }
.bnp-footer-base .container-xl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.bnp-legal { display: flex; margin: 0 0 0 auto; padding: 0; list-style: none; }
.bnp-legal li + li a { border-left: 1px solid #fff; }
.bnp-legal a { display: block; padding: 0 12px; line-height: 1.2; }
.bnp-legal li:last-child a { padding-right: 0; }
.bnp-legal a:hover { color: var(--bnp-yellow); text-decoration: underline; }
@media (max-width: 767.98px) {
  .bnp-footer-main { padding: 40px 0 32px; }
  .bnp-footer-base .container-xl { flex-direction: column; text-align: center; }
  .bnp-legal { margin: 0 auto; }
  .bnp-legal li:first-child a { padding-left: 0; }
}

/* --------------------------------------------------------------- Misc */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; animation: bnp-pulse 1.6s ease-in-out infinite; vertical-align: middle; }
@keyframes bnp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  .bnp-site *, .bnp-site *::before, .bnp-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .bnp-header, .bnp-social-float, .join-band, .bnp-footer { display: none !important; }
}
