/* Auto-synced from channel (2026-07-29) — first time this file is tracked in
   library/. Channel: stylesheet "base" (site/stylesheets/base.css.liquid).
   Not auto-generated by modyo-css-adapter (that's library/theme/ only) — this
   is a hand-authored site stylesheet edited directly in the Modyo admin;
   pull it again after further platform edits to keep this file in sync. */

/* Navigation active state */
.context-home {
  min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.navbar-nav .nav-link {
	position: relative;
	color: var(--bs-white);
}
.navbar-nav .nav-link.active {
	font-weight: var(--bs-fw-bold, 700);
}

/* Session */
.avatar,
.btn-header {
	height: 40px;
	width: 40px;
	background-size: cover;
}
.avatar-big {
	font-size: 20px;
	width: 50px !important;
	height: 50px !important;
	background-size: cover;
}
.dropdown-user {min-width: 300px;}

/* Notifications CSS */
.notifications_btn .notifications-badge {width: 12px;height: 12px;border-radius: 100%;position: absolute;right: 15px;top: 3px;padding: 0 !important;background: rgba(var(--bs-secondary-rgb), 1);border: var(--bs-btn-bg) 2px solid;transition:.15s;}
.notifications_btn:hover .notifications-badge {border: var(--bs-btn-hover-bg) 2px solid;transition:.15s;}
.avatar {height: 40px;width: 40px;background-size: cover;}
.dropdown_user {min-width: 300px;}
.avatar_big {font-size: 20px;width: 50px !important;height: 50px !important;background-size: cover;}
.notification *:last-child {margin-bottom: 0 !important;}
#notifications.modal.right .modal-dialog,
#menu_panel.modal.right .modal-dialog {max-width: 400px;}


/* Section shell — project-wide constants for full-bleed content sections
   (Metrics, Info Cards, and any future 3rd section). Establishes these once
   so components consume the utility class instead of re-deriving the same
   px value + comment every time:
     - Section padding: 72px both axes → --bs-ref-spacer-18 (Dynamic's spacer
       scale — NOT redefined here, just consumed).
     - Section/heading ExtraBold weight: 800 → --bs-fw-bolder (adapter-native
       since the 2026-08-31 regen; library/theme/theme_overrides_css.css,
       sourced from the Figma "typography/fw/extraBold" token). Bootstrap's
       `fw-bold` utility only reaches 700 — use Dynamic's own `.fw-bolder`
       (it consumes --bs-fw-bolder, so it resolves to 800 here) whenever a
       title needs the ExtraBold face. No project class is needed for this:
       see the `.fw-extrabold` removal note below.
   See design-reference/patterns/section-shell-spacing-and-title-weight.md
   (doc referenced but not yet authored — create it if this constants table
   grows before then). */
@layer components {
  .section-shell {
    padding-block: var(--bs-ref-spacer-18);
    padding-inline: var(--bs-ref-spacer-18);
  }

  /* `.fw-extrabold` used to live here. Removed 2026-09-11: it was a verbatim
     duplicate of Dynamic's own `.fw-bolder`, which consumes the same
     --bs-fw-bolder token this project overrides to 800 — and additionally
     ships the full breakpoint family (.fw-md-bolder, …) the hand-written
     class never had. All 56 usages were migrated to `.fw-bolder`. Do not
     reintroduce it: verify with
     `node scripts/resolve-css-value.mjs --class-for='font-weight: 800'`. */

  /* Black (900) — the one weight in Figma's `02 Root Typography` scale that
     gets no class for free. Dynamic ships exactly Bootstrap's 7 `.fw-*`
     utilities (lighter/light/normal/medium/semibold/bold/bolder) and none of
     them reads a `--bs-fw-black`, so the adapter-emitted token sat orphaned:
     defined, correct, unreachable from markup. The other Figma weights only
     got a class because their emitted var name happened to collide with one
     an existing utility already reads (`typography/fw/bolder` → the var
     `.fw-bolder` consumes). This is the genuine-gap case `.fw-extrabold`
     above was NOT — nothing upstream produces 900.

     Three caveats, the first two shared with every project-authored class
     in this file (.bg-primary-1000, .text-primary-1000, .border-gray-75, …):
       - No `!important` (hard rule 4 forbids it outside @layer overrides),
         unlike Dynamic's own .fw-* utilities which all carry it. `base` loads
         BEFORE component CSS, so at equal specificity a component rule
         setting font-weight on the same element wins. Don't set both.
       - `scripts/build-css-index.mjs` classifies any rule with a non-
         `!important` declaration as a COMPONENT class, so this lands in
         `componentClasses`, not `utilityClasses`. Consequence:
         `resolve-css-value.mjs --class-for='font-weight: 900'` still answers
         "no utility class produces exactly this" and points at level 3. That
         is the index being consistent with its own definition of a utility,
         not this class being wrong — but it means the class is discoverable
         by reading this file, not by asking the tooling. Same is true of the
         other project classes here.
       - No breakpoint family (.fw-md-black, …) — add only if a responsive
         weight change actually shows up. */
  .fw-black {
    font-weight: var(--bs-fw-black);
  }

  /* Bootstrap/Dynamic only generate .bg-primary (no numbered scale steps like
     -800/-900/-1000). --bs-primary-1000 already exists in
     theme_overrides_css.css (aliases --bs-gds-green-primary-1000) — this just
     exposes it as a class so components stop needing an inline
     style="background-color: var(--bs-*)" (hard rule: inline style ignores
     layers, never for theming). Consumed by system_snippets/header.liquid's
     dark-green header background. */
  .bg-primary-1000 {
    background-color: var(--bs-primary-1000);
  }

  /* Same rationale as .bg-primary-1000 above, for the other two custom
     color-scale steps that recur across components and have no Dynamic-
     generated class: --bs-secondary-500 (social icon circle fill in
     system_snippets/footer.liquid) and --bs-primary-1000 as a TEXT color
     (the same footer's icon glyph, dark-on-light-green — distinct utility
     from .bg-primary-1000 since Bootstrap's bg-*/text-* pairs are always
     separate classes). */
  .bg-secondary-500 {
    background-color: var(--bs-secondary-500);
  }

  .text-primary-1000 {
    color: var(--bs-primary-1000);
  }

  /* Same rationale again, for a border color: Bootstrap's border-{color}
     utilities only cover the 8 theme colors (primary/secondary/.../dark),
     not numbered scale steps. --bs-neutral-300 is the footer divider's
     Figma-specified hairline color (a manual token patch — see
     design-reference/patterns/manual-token-patch-for-adapter-gaps.md).
     Works on <hr> too: Bootstrap's reboot draws hr's border-top with no
     explicit color part (defaults to currentColor), and this @layer
     components rule outranks @layer framework regardless of selector
     specificity — same mechanism .bg-primary-1000 already relies on. */
  .border-neutral-300 {
    border-color: var(--bs-neutral-300);
  }

  /* Same rationale again: Bootstrap's bg-{color} utilities only cover the 8
     theme colors, not the numbered gray/background scale. --bs-body-gds-
     background-gray-50 (#F5F5F5) is the mobile nav "Volver" back-button
     segment's Figma-specified fill (system_snippets/header.liquid's offcanvas
     panel, via library/snippets/navbar). */
  .bg-gray-50 {
    /* Dynamic ships its own .bg-gray-50 — `background-color: rgba(var(--bs-gray-50-rgb), …)
       !important` in @layer framework — and that !important beats any normal
       rule here, so a background-color in this rule never applied: the class
       painted Dynamic's stock gray (#F0F0F2), not this one. What the framework
       rule does not pin is the variable it reads. Redefining it on the element
       hands its !important our color; nothing outside this class changes. */
    --bs-gray-50-rgb: var(--bs-body-gds-background-gray-50-rgb);
  }

  /* Same rationale for a border color at a different step than
     --bs-neutral-300 above: --bs-body-gds-background-gray-75 (#E9EDEB) is the
     mobile nav drilldown divider's Figma-specified color, distinct from the
     footer's --bs-neutral-300 (#D9D9D9). */
  .border-gray-75 {
    border-color: var(--bs-body-gds-background-gray-75);
  }

  /* Container gutter — mobile override (16px vs. Dynamic's default 12px/side).
     Dynamic's own selector list (dynamic.2.4.0.css:1548-1561) sets a single
     --bs-gutter-x: 1.5rem for EVERY container variant at EVERY breakpoint —
     there is no per-breakpoint gutter, so this is the only lever: override
     the variable, scoped to the same "below sm" boundary Dynamic itself uses
     (max-width: 575.98px, see dynamic.2.4.0.css:4551 and others) so sm/md/lg/
     xl/xxl keep the unmodified 12px/side default.
     padding-left/right = calc(--bs-gutter-x * 0.5) → 2rem * 0.5 = 1rem = 16px.
     No !important needed: Bootstrap's own padding declaration has none, and
     this file's @layer components already outranks @layer framework (where
     the whole Dynamic bundle is imported) for normal declarations — see
     design-reference/architecture/css-layers.md. */
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 2rem;
  }

  @media (min-width: 576px) {
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
      --bs-gutter-x: 1.5rem;
    }
  }

  /* reCAPTCHA v3 badge — injected site-wide by the api.js loaded in
     templates/snippets/head.liquid; it sits fixed bottom-right and covers
     buttons. `visibility`, not `display: none`: the latter can stop v3 from
     scoring requests. No !important needed — Google's inline style on the
     badge sets position/size but never `visibility`. */
  .grecaptcha-badge {
    /* check-ignore:utility-class-available — el badge lo inyecta el script de Google en runtime: no hay markup propio donde poner .invisible */
    visibility: hidden;
  }

  /* Skip link (system_snippets/header.liquid, first element of the page).
     Fixed top-left while focused; it must sit above the sticky header, which
     carries .z-100 — already the top of Dynamic's z-* utility scale, so no
     class can outrank it. */
  .skip-link {
    z-index: 1100;
  }
}

/* NOTE: Promerica button states (estadosBotones.md, 2026-07-31) are NOT here.
   They live in library/snippets/button/css.css (channel custom_snippet
   "button_css", injected from library/templates/snippets/head.liquid)
   instead of this file, because site 4989's channel has a name collision
   between the `base` LAYOUT and this `base` STYLESHEET that made every write
   path (numeric ID, UUID, name+category) resolve to the layout. See
   design-reference/patterns/promerica-button-states.md for the full story —
   fold it back in here once that collision is resolved upstream. */
