/*
 * utility-theme.css
 * Loaded on 52105 AFTER bootstrap.min.css to:
 *   1. Override Bootstrap CSS variables and defaults with ON211 theme values
 *   2. Provide all Tailwind v4 utility classes globally (bwa-theme.css uses @scope which may not apply everywhere)
 *   3. Carry BWA shadow/radius/transition tokens and Bootstrap Grid patches
 *
 * Load order: bootstrap.min.css → custom.css → bwa-theme.css → utility-theme.css
 */

/* ============================================================
   BOOTSTRAP VARIABLE OVERRIDES
   Replaces Bootstrap's blue primary and system-font defaults
   with ON211 brand values. These cascade into all Bootstrap
   components (buttons, links, focus rings, badges, etc.)
   ============================================================ */
:root {
  /* Brand */
  --bs-primary:           #A9231A;
  --bs-primary-rgb:       169, 35, 26;
  --bs-danger:            #A9231A;
  --bs-danger-rgb:        169, 35, 26;

  /* Links */
  --bs-link-color:        #212529;
  --bs-link-color-rgb:    33, 37, 41;
  --bs-link-hover-color:  #A9231A;

  /* Body */
  --bs-body-font-family:  Figtree, ui-sans-serif, system-ui, sans-serif;
  --bs-body-color:        #111111;
  --bs-body-bg:           #ffffff;

  /* Focus ring — brand red instead of Bootstrap blue */
  --bs-focus-ring-color:  rgba(169, 35, 26, 0.25);
  --bs-focus-ring-width:  0.25rem;

  /* Border radius — match BWA/Tailwind scale */
  --bs-border-radius:     0.5rem;
  --bs-border-radius-sm:  0.25rem;
  --bs-border-radius-lg:  0.75rem;
  --bs-border-radius-xl:  1rem;
  --bs-border-radius-xxl: 1.5rem;

  /* Form controls */
  --bs-form-control-focus-box-shadow: 0 0 0 0.25rem rgba(169, 35, 26, 0.25);
}

/* ============================================================
   BOOTSTRAP ELEMENT / COMPONENT RESETS
   Prevents raw Bootstrap defaults from showing on un-themed
   elements. Loads after :root so specificity wins cleanly.
   ============================================================ */

/* Links — Bootstrap defaults to blue */
a {
  color: #212529;
  text-decoration: none;
}
a:hover {
  color: #A9231A;
  text-decoration: none;
}

/* Display headings — Bootstrap sets font-weight: 300 */
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  color: #111111;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  color: #111111;
}

/* Bootstrap form focus — blue ring → red */
.form-control:focus,
.form-select:focus {
  border-color: #A9231A;
  box-shadow: 0 0 0 0.25rem rgba(169, 35, 26, 0.25);
  outline: none;
}

/* Bootstrap primary button — blue → brand */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #A9231A;
  --bs-btn-border-color: #A9231A;
  --bs-btn-hover-bg: #8a1c14;
  --bs-btn-hover-border-color: #8a1c14;
  --bs-btn-active-bg: #8a1c14;
  --bs-btn-focus-shadow-rgb: 169, 35, 26;
}

/* Bootstrap navbar links — inherit color instead of blue */
.navbar-nav .nav-link {
  color: #212529;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #A9231A;
}

/* Bootstrap badge primary */
.badge.bg-primary { background-color: #A9231A !important; }

/* Bootstrap text utilities — suppress Bootstrap's blue */
.text-primary { color: #A9231A !important; }
.text-danger  { color: #A9231A !important; }

/* Bootstrap border primary */
.border-primary { border-color: #A9231A !important; }

/* ============================================================
   TAILWIND V4 — @layer theme
   ============================================================ */
:root,
:host {
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --color-gray-900: oklch(21% 0.034 264.665);
  --spacing: 0.25rem;
  --font-weight-medium: 500;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --default-transition-duration: 150ms;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
}

/* ============================================================
   TAILWIND V4 — @layer base
   ============================================================ */
*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html,
:host {
  line-height: 1.5;
  text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(
    --default-font-family,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    "Noto Sans",
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji"
  );
  -webkit-tap-highlight-color: transparent;
}

/* a color/decoration intentionally NOT reset here — Bootstrap override block above takes precedence */
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
ol, ul, menu { list-style: none; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}
textarea { resize: vertical; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }

body {
  background-color: rgb(255, 255, 255);
  color: rgb(17, 17, 17);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: #A9231A solid 2px;
  outline-offset: 2px;
}

/* ============================================================
   TAILWIND V4 — @layer utilities
   ============================================================ */
.pointer-events-none { pointer-events: none; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }
.static { position: static; }
.sticky { position: sticky; }

.top-1\/2 { top: 50%; }
.right-\[8px\] { right: 8px; }
.left-\[8px\] { left: 8px; }
.left-\[16px\] { left: 16px; }

.ms-2 { margin-inline-start: calc(var(--spacing) * 2); }
.mt-4 { margin-top: calc(var(--spacing) * 4); }
.mt-\[32px\] { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: calc(var(--spacing) * 3); }

.block { display: block; }
.contents { display: contents; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.list-item { display: list-item; }

.size-5 { width: calc(var(--spacing) * 5); height: calc(var(--spacing) * 5); }

.h-\[12px\] { height: 12px; }
.h-\[14px\] { height: 14px; }
.h-\[16px\] { height: 16px; }
.h-\[20px\] { height: 20px; }
.h-\[21px\] { height: 21px; }
.h-\[24px\] { height: 24px; }
.h-\[30px\] { height: 30px; }
.h-\[44px\] { height: 44px; }
.h-\[47px\] { height: 47px; }
.h-\[48px\] { height: 48px; }
.h-\[64px\] { height: 64px; }
.h-\[96px\] { height: 96px; }
.h-\[100px\] { height: 100px; }
.h-\[110px\] { height: 110px; }
.h-\[120px\] { height: 120px; }
.h-\[280px\] { height: 280px; }
.h-px { height: 1px; }

.min-h-\[200px\] { min-height: 200px; }
.min-h-\[240px\] { min-height: 240px; }
.min-h-screen { min-height: 100vh; }

.w-\[14px\] { width: 14px; }
.w-\[16px\] { width: 16px; }
.w-\[20px\] { width: 20px; }
.w-\[24px\] { width: 24px; }
.w-\[30px\] { width: 30px; }
.w-\[48px\] { width: 48px; }
.w-\[64px\] { width: 64px; }
.w-\[86px\] { width: 86px; }
.w-\[96px\] { width: 96px; }
.w-\[100px\] { width: 100px; }
.w-\[110px\] { width: 110px; }
.w-\[120px\] { width: 120px; }
.w-\[179px\] { width: 179px; }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.w-px { width: 1px; }

.max-w-\[456px\] { max-width: 456px; }
.max-w-\[460px\] { max-width: 460px; }
.max-w-\[492px\] { max-width: 492px; }
.max-w-\[544px\] { max-width: 544px; }
.max-w-\[595px\] { max-width: 595px; }
.max-w-\[597px\] { max-width: 597px; }
.max-w-\[604px\] { max-width: 604px; }
.max-w-\[620px\] { max-width: 620px; }
.max-w-\[1240px\] { max-width: 1240px; }

.min-w-0 { min-width: 0; }
.min-w-\[100px\] { min-width: 100px; }

.flex-1 { flex: 1 1 0%; }
.flex-shrink { flex-shrink: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

.-translate-y-1\/2 { --tw-translate-y: -50%; translate: var(--tw-translate-x) var(--tw-translate-y); }
.rotate-180 { rotate: 180deg; }

.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rounded-\[4px\] { border-radius: 4px; }
.rounded-\[6px\] { border-radius: 6px; }
.rounded-\[8px\] { border-radius: 8px; }
.rounded-\[10px\] { border-radius: 10px; }
.rounded-\[12px\] { border-radius: 12px; }
.rounded-\[20px\] { border-radius: 20px; }
.rounded-\[100px\] { border-radius: 100px; }

.border { border-style: solid; border-width: 1px; }
.border-b { border-bottom-style: solid; border-bottom-width: 1px; }
.border-t { border-top-style: solid; border-top-width: 1px; }

.border-\[\#141414\] { border-color: rgb(20, 20, 20); }
.border-\[\#A9231A\] { border-color: rgb(169, 35, 26); }
.border-\[\#B0B2B3\] { border-color: rgb(176, 178, 179); }
.border-\[\#D2D2D3\] { border-color: rgb(210, 210, 211); }
.border-\[\#D6D6D6\] { border-color: rgb(214, 214, 214); }
.border-\[\#EEEEEF\] { border-color: rgb(238, 238, 239); }

.bg-\[\#54585A\] { background-color: rgb(84, 88, 90); }
.bg-\[\#141414\] { background-color: rgb(20, 20, 20); }
.bg-\[\#B0B2B3\] { background-color: rgb(176, 178, 179); }
.bg-\[\#E6F2F8\] { background-color: rgb(230, 242, 248); }
.bg-\[\#EEEEEF\] { background-color: rgb(238, 238, 239); }
.bg-\[\#F15A50\] { background-color: rgb(241, 90, 80); }
.bg-\[\#FCFCFC\] { background-color: rgb(252, 252, 252); }
.bg-\[\#FFFFFF\] { background-color: rgb(255, 255, 255); }

.object-contain { object-fit: contain; }

.p-\[8px\] { padding: 8px; }
.p-\[16px\] { padding: 16px; }
.p-\[24px\] { padding: 24px; }
.px-\[12px\] { padding-inline: 12px; }
.px-\[14px\] { padding-inline: 14px; }
.px-\[16px\] { padding-inline: 16px; }
.px-\[18px\] { padding-inline: 18px; }
.px-\[24px\] { padding-inline: 24px; }
.py-\[4px\] { padding-block: 4px; }
.py-\[8px\] { padding-block: 8px; }
.py-\[10px\] { padding-block: 10px; }
.py-\[12px\] { padding-block: 12px; }
.py-\[16px\] { padding-block: 16px; }
.py-\[48px\] { padding-block: 48px; }
.pt-\[32px\] { padding-top: 32px; }
.pr-\[16px\] { padding-right: 16px; }
.pb-\[30px\] { padding-bottom: 30px; }
.pb-\[32px\] { padding-bottom: 32px; }
.pl-\[44px\] { padding-left: 44px; }

.text-center { text-align: center; }
.text-\[14px\] { font-size: 14px; }

.leading-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.3\] { line-height: 1.3; }
.leading-\[1\.5\] { line-height: 1.5; }
.leading-\[20px\] { line-height: 20px; }
.leading-\[21px\] { line-height: 21px; }
.leading-\[24px\] { line-height: 24px; }
.leading-\[27px\] { line-height: 27px; }
.leading-\[30px\] { line-height: 30px; }
.leading-\[34px\] { line-height: 34px; }
.leading-\[40px\] { line-height: 40px; }
.leading-\[42px\] { line-height: 42px; }
.leading-\[48px\] { line-height: 48px; }

/* Bracket variants */
.font-\[300\] { font-weight: 300; }
.font-\[400\] { font-weight: 400; }
.font-\[500\] { font-weight: 500; }
.font-\[600\] { font-weight: 600; }
.font-\[700\] { font-weight: 700; }

/* Named variants — must be !important to beat Bootstrap's .fw-* and inherited body weight */
.font-thin       { font-weight: 100 !important; }
.font-extralight { font-weight: 200 !important; }
.font-light      { font-weight: 300 !important; }
.font-normal     { font-weight: 400 !important; }
.font-medium     { font-weight: 500 !important; }
.font-semibold   { font-weight: 600 !important; }
.font-bold       { font-weight: 700 !important; }
.font-extrabold  { font-weight: 800 !important; }
.font-black      { font-weight: 900 !important; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.underline { text-decoration-line: underline; }
.no-underline { text-decoration-line: none; }
.antialiased { -webkit-font-smoothing: antialiased; }
.italic { font-style: italic; }

.text-\[\#0D0D0D\] { color: rgb(13, 13, 13); }
.text-\[\#000000\] { color: rgb(0, 0, 0); }
.text-\[\#2E3032\] { color: rgb(46, 48, 50); }
.text-\[\#007CBA\] { color: rgb(0, 124, 186); }
.text-\[\#76797B\] { color: rgb(118, 121, 123); }
.text-\[\#808080\] { color: rgb(128, 128, 128); }
.text-\[\#A9231A\] { color: rgb(169, 35, 26); }
.text-\[\#EE3124\] { color: rgb(238, 49, 36); }
.text-\[\#FCFCFC\] { color: rgb(252, 252, 252); }
.text-\[\#FDEAE9\] { color: rgb(253, 234, 233); }
.text-\[\#FFFFFF\] { color: rgb(255, 255, 255); }

.shadow-\[0px_0\.59px_1\.17px_0px_rgba\(16\,24\,40\,0\.05\)\] {
  --tw-shadow: 0px 0.59px 1.17px 0px rgba(16, 24, 40, 0.05);
  box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0px_1px_2px_0px_rgba\(16\,24\,40\,0\.05\)\] {
  --tw-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0px_4px_20px_0px_rgba\(0\,0\,0\,0\.08\)\] {
  --tw-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

.gap-\[4px\] { gap: 4px; }
.gap-\[6px\] { gap: 6px; }
.gap-\[8px\] { gap: 8px; }
.gap-\[10px\] { gap: 10px; }
.gap-\[12px\] { gap: 12px; }
.gap-\[16px\] { gap: 16px; }
.gap-\[20px\] { gap: 20px; }
.gap-\[24px\] { gap: 24px; }
.gap-\[30px\] { gap: 30px; }
.gap-\[32px\] { gap: 32px; }
.gap-\[40px\] { gap: 40px; }
.gap-\[48px\] { gap: 48px; }
.gap-\[50px\] { gap: 50px; }

.transition-all {
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-colors {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-transform {
  transition-property: transform, translate, scale, rotate;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.duration-200 { transition-duration: 200ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: var(--ease-in-out); }

.tracking-wide { letter-spacing: 0.025em; }

.placeholder\:text-\[\#76797B\]::placeholder { color: rgb(118, 121, 123); }

/* Hover */
@media (hover: hover) {
  .hover\:border-\[\#A9231A\]:hover { border-color: rgb(169, 35, 26); }
  .hover\:bg-\[\#2E3032\]:hover { background-color: rgb(46, 48, 50); }
  .hover\:bg-\[\#76797B\]:hover { background-color: rgb(118, 121, 123); }
  .hover\:bg-\[\#EEEEEF\]:hover { background-color: rgb(238, 238, 239); }
  .hover\:text-\[\#005A8A\]:hover { color: rgb(0, 90, 138); }
  .hover\:text-\[\#A9231A\]:hover { color: rgb(169, 35, 26); }
  .hover\:underline:hover { text-decoration-line: underline; }
  .hover\:shadow-\[0px_4px_12px_0px_rgba\(0\,0\,0\,0\.08\)\]:hover {
    --tw-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.08);
    box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
  .hover\:shadow-\[0px_4px_20px_0px_rgba\(0\,0\,0\,0\.08\)\]:hover {
    --tw-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
    box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

/* Focus */
.focus\:border-\[\#007CBA\]:focus { border-color: rgb(0, 124, 186); }
.focus\:outline-none:focus { outline: none; }
.focus-visible\:outline-none:focus-visible { outline: none; }
.focus-visible\:ring-2:focus-visible {
  --tw-ring-shadow: 0 0 0 2px var(--tw-ring-color, currentcolor);
  box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-ring-shadow);
}
.focus-visible\:ring-\[\#A9231A\]:focus-visible { --tw-ring-color: #A9231A; }

/* Responsive — sm (640px) */
@media (width >= 40rem) {
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:h-\[140px\] { height: 140px; }
  .sm\:w-\[170px\] { width: 170px; }
  .sm\:w-auto { width: auto; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-\[30px\] { gap: 30px; }
  .sm\:text-\[24px\] { font-size: 24px; }
}

/* Responsive — md (768px) */
@media (width >= 48rem) {
  .md\:flex { display: flex; }
  .md\:-right-\[24px\] { right: -24px; }
  .md\:-left-\[24px\] { left: -24px; }
  .md\:flex-row { flex-direction: row; }
  .md\:h-\[80px\] { height: 80px; }
  .md\:h-\[450px\] { height: 450px; }
  .md\:w-\[143px\] { width: 143px; }
  .md\:items-center { align-items: center; }
  .md\:gap-\[16px\] { gap: 16px; }
  .md\:gap-\[32px\] { gap: 32px; }
  .md\:p-\[32px\] { padding: 32px; }
  .md\:p-\[40px\] { padding: 40px; }
  .md\:px-\[100px\] { padding-inline: 100px; }
  .md\:py-\[32px\] { padding-block: 32px; }
  .md\:py-\[70px\] { padding-block: 70px; }
  .md\:py-\[100px\] { padding-block: 100px; }
  .md\:text-\[20px\] { font-size: 20px; }
  .md\:text-\[32px\] { font-size: 32px; }
  .md\:text-\[48px\] { font-size: 48px; }
  .md\:text-\[56px\] { font-size: 56px; }
}

/* Responsive — lg (1024px / 64rem — Tailwind v4 default) */
@media (width >= 64rem) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:flex-none { flex: 0 0 auto; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:flex-row-reverse { flex-direction: row-reverse; }
  .lg\:h-\[250px\] { height: 250px; }
  .lg\:h-\[400px\] { height: 400px; }
  .lg\:items-center { align-items: center; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:max-w-\[604px\] { max-width: 604px; }
  .lg\:min-h-\[408px\] { min-height: 408px; }
  .lg\:w-\[400px\] { width: 400px; }
  .lg\:w-\[460px\] { width: 460px; }
  .lg\:w-\[492px\] { width: 492px; }
  .lg\:w-\[544px\] { width: 544px; }
  .lg\:w-\[595px\] { width: 595px; }
  .lg\:w-\[604px\] { width: 604px; }
  .lg\:w-\[620px\] { width: 620px; }
  .lg\:gap-\[16px\] { gap: 16px; }
  .lg\:gap-\[32px\] { gap: 32px; }
  .lg\:gap-\[64px\] { gap: 64px; }
  .lg\:gap-\[121px\] { gap: 121px; }
  .lg\:p-\[32px\] { padding: 32px; }
  .lg\:px-\[100px\] { padding-inline: 100px; }
  .lg\:py-\[32px\] { padding-block: 32px; }
  .lg\:py-\[70px\] { padding-block: 70px; }
  .lg\:py-\[100px\] { padding-block: 100px; }
  .lg\:text-\[48px\] { font-size: 48px; }
  .lg\:text-\[56px\] { font-size: 56px; }
  .lg\:leading-\[58px\] { line-height: 58px; }
  .lg\:leading-\[67px\] { line-height: 67px; }
  .lg\:self-start { align-self: flex-start; }
  .lg\:sticky { position: sticky; }
  .lg\:top-\[24px\] { top: 24px; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Responsive — xl (1280px / 80rem) */
@media (width >= 80rem) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
  .xl\:gap-\[121px\] { gap: 121px; }
}

/* 2xl omitted — selectors starting with a digit are invalid CSS */

/* ============================================================
   TOPIC GRID — custom component class
   ============================================================ */
.topic-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   BWA THEME — shadow / radius / transition / component tokens
   ============================================================ */
:root {
  --bwa-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --bwa-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bwa-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bwa-shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bwa-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bwa-shadow-xl: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
  --bwa-shadow-hover: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
  --bwa-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bwa-shadow-none: none;
  --bwa-shadow-primary: 0 0.5rem 1.5rem rgba(3, 2, 19, 0.25);
  --bwa-shadow-primary-sm: 0 0.25rem 0.75rem rgba(3, 2, 19, 0.15);
  --bwa-radius-sm: 0.25rem;
  --bwa-radius: var(--radius, 0.625rem);
  --bwa-radius-md: 0.5rem;
  --bwa-radius-lg: 0.75rem;
  --bwa-radius-xl: 1rem;
  --bwa-radius-2xl: 1.5rem;
  --bwa-radius-full: 9999px;
  --bwa-transition-fast: all 0.15s ease-in-out;
  --bwa-transition: all 0.2s ease-in-out;
  --bwa-transition-slow: all 0.3s ease-in-out;
  --bwa-focus-ring: 0 0 0 0.25rem rgba(3, 2, 19, 0.25);
  --bwa-focus-ring-primary: 0 0 0 0.25rem rgba(91, 33, 182, 0.25);
}

/* ============================================================
   BOOTSTRAP 5 GRID — variables, container, row, col, gutter, order
   ============================================================ */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
/*@media (min-width: 576px) { .container, .container-sm { max-width: 540px; } }
@media (min-width: 768px) { .container, .container-sm, .container-md { max-width: 720px; } }
@media (min-width: 992px) { .container, .container-sm, .container-md, .container-lg { max-width: 960px; } }
@media (min-width: 1200px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1140px; } }
@media (min-width: 1400px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1320px; } }*/

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex !important;
  flex-wrap: wrap !important;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}
.row[class*="row-cols-"] > * { flex: 0 0 auto !important; }

[class*="col-"], .col { min-width: 0; overflow-wrap: break-word; }

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.33333%; }
.col-2 { flex: 0 0 auto; width: 16.6667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.3333%; }
.col-5 { flex: 0 0 auto; width: 41.6667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.3333%; }
.col-8 { flex: 0 0 auto; width: 66.6667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.3333%; }
.col-11 { flex: 0 0 auto; width: 91.6667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 576px) {
  .col-sm { flex: 1 0 0%; }
  .col-sm-auto { flex: 0 0 auto; width: auto; }
  .col-sm-1 { flex: 0 0 auto; width: 8.33333%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 768px) {
  .col-md { flex: 1 0 0%; }
  .col-md-auto { flex: 0 0 auto; width: auto; }
  .col-md-1 { flex: 0 0 auto; width: 8.33333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-md-3 { width: 25% !important; max-width: 25% !important; flex: 0 0 auto !important; }
  .col-md-4 { width: 33.3333% !important; max-width: 33.3333% !important; flex: 0 0 auto !important; }
  .col-md-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-md-6 { flex: 0 0 auto; width: 50% !important; max-width: 50% !important; }
  .col-md-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-md-2 > * { width: 50% !important; max-width: 50% !important; }
}

@media (min-width: 992px) {
  .col-lg { flex: 1 0 0%; }
  .col-lg-auto { flex: 0 0 auto; width: auto; }
  .col-lg-1 { flex: 0 0 auto; width: 8.33333%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25% !important; max-width: 25% !important; }
  .col-lg-4 { flex: 0 0 auto; width: 33.3333% !important; max-width: 33.3333% !important; }
  .col-lg-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50% !important; max-width: 50% !important; }
  .col-lg-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-lg-2 > * { width: 50% !important; max-width: 50% !important; }
  .row-cols-lg-3 > * { width: 33.3333% !important; max-width: 33.3333% !important; }
}

@media (min-width: 1200px) {
  .col-xl { flex: 1 0 0%; }
  .col-xl-auto { flex: 0 0 auto; width: auto; }
  .col-xl-1 { flex: 0 0 auto; width: 8.33333%; }
  .col-xl-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-xl-9 { flex: 0 0 auto; width: 75%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-xl-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
}

/* Gutters */
.g-0, .gx-0 { --bs-gutter-x: 0; }
.g-0, .gy-0 { --bs-gutter-y: 0; }
.g-1, .gx-1 { --bs-gutter-x: 0.25rem; }
.g-1, .gy-1 { --bs-gutter-y: 0.25rem; }
.g-2, .gx-2 { --bs-gutter-x: 0.5rem; }
.g-2, .gy-2 { --bs-gutter-y: 0.5rem; }
.g-3, .gx-3 { --bs-gutter-x: 1rem; }
.g-3, .gy-3 { --bs-gutter-y: 1rem; }
.g-4, .gx-4 { --bs-gutter-x: 1.5rem; }
.g-4, .gy-4 { --bs-gutter-y: 1.5rem; }
.g-5, .gx-5 { --bs-gutter-x: 3rem; }
.g-5, .gy-5 { --bs-gutter-y: 3rem; }
.g-6 { --bs-gutter-x: 4rem; --bs-gutter-y: 4rem; }
.g-7 { --bs-gutter-x: 5rem; --bs-gutter-y: 5rem; }
.g-8 { --bs-gutter-x: 6rem; --bs-gutter-y: 6rem; }
.g-9 { --bs-gutter-x: 8rem; --bs-gutter-y: 8rem; }
.g-10 { --bs-gutter-x: 10rem; --bs-gutter-y: 10rem; }
.g-11 { --bs-gutter-x: 12rem; --bs-gutter-y: 12rem; }
.g-12 { --bs-gutter-x: 15rem; --bs-gutter-y: 15rem; }

/* Row-cols */
.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }
.row-cols-3 > * { flex: 0 0 auto; width: 33.3333%; }
.row-cols-4 > * { flex: 0 0 auto; width: 25%; }
.row-cols-5 > * { flex: 0 0 auto; width: 20%; }
.row-cols-6 > * { flex: 0 0 auto; width: 16.6667%; }

/* Order */
.order-first { order: -1; }
.order-0 { order: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }
.order-last { order: 6; }

/* Offsets */
.offset-1 { margin-left: 8.33333%; }
.offset-2 { margin-left: 16.6667%; }
.offset-3 { margin-left: 25%; }
.offset-4 { margin-left: 33.3333%; }
.offset-5 { margin-left: 41.6667%; }
.offset-6 { margin-left: 50%; }
.offset-7 { margin-left: 58.3333%; }
.offset-8 { margin-left: 66.6667%; }
.offset-9 { margin-left: 75%; }
.offset-10 { margin-left: 83.3333%; }
.offset-11 { margin-left: 91.6667%; }

/* Footer columns: stack to single-column below 380px */
@media (max-width: 379.98px) {
  .footer-right .col-6 { width: 100% !important; }
}

/* Bootstrap/Tailwind coexistence patches */
[class*="mix-blend"] { mix-blend-mode: normal !important; }
.row > [class*="col-"] { box-sizing: border-box; }
.row > [class*="col-"][class*="w-"],
.row > [class*="col-"][class*="basis-"],
.row > [class*="col-"][class*="flex-1"],
.row > [class*="col-"][class*="grow"] {
  width: auto !important;
  flex: 0 0 auto !important;
}
