/**
 * Organization listing page styles.
 * Path: /organizations (solutions-by-organization listing)
 *
 * Uses the same bx-* visual language as the blog listing page, with
 * navy-hero, featured carousel, al-role-card grid and final CTA.
 *
 * Compiled from less/organizationlist.less
 */
/* ---- Common mixins (used across listing pages) ---- */
/**
 * @file
 * Layout mixins — shared across content types.
 */
/* Full-bleed: break out of parent container to fill viewport width.
   Uses margin-left: calc(50% - 50vw) — the percentage resolves against the
   direct parent's width, cancelling out any centering offset, so the element
   always aligns with the viewport's left edge regardless of nesting depth. */
/* ==========================================================================
   Page body overrides
   ========================================================================== */
.path-organizations .dialog-off-canvas-main-canvas {
  display: flex;
  flex-direction: column;
}
.path-organizations main[role="main"] {
  flex: 1 0 auto;
}
.path-organizations #main-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow-x: clip;
}
.path-organizations .highlighted {
  display: none;
}
.path-organizations .main-content {
  margin-top: -8px !important;
  padding-top: 0 !important;
}
.path-organizations .row {
  --bs-gutter-y: 0;
}
/* ==========================================================================
   HERO (.al-hero) — same style as blog listing / document-type listing
   ========================================================================== */
.al-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #013753;
  color: #fff;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 24px;
  margin-top: 0;
}
.al-hero .container {
  position: relative;
}
.al-hero__figure {
  position: absolute;
  right: -6px;
  bottom: -22px;
  width: 452px;
  z-index: 1;
  pointer-events: none;
}
.al-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  .al-hero__figure {
    display: none;
  }
}
.al-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.al-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.al-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 100px;
  max-width: 880px;
}
.al-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3c993;
  border: 1px solid rgba(224, 144, 48, 0.45);
  background: rgba(224, 144, 48, 0.1);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-top: 24px;
}
.al-hero__eyebrow svg {
  width: 15px;
  height: 15px;
}
.al-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 75px 0 0;
  text-wrap: balance;
}
.al-hero__title .accent {
  color: var(--al-orange);
}
.al-hero__standfirst {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: #cfe0ec;
  max-width: 62ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.al-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.al-hero__actions .al-btn {
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  border: 1.25px solid rgba(255, 255, 255, 0.34);
}
.al-hero__actions .al-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}
.al-hero__actions .al-btn svg {
  width: 18px;
  height: 18px;
}
.al-hero__actions .al-btn--primary {
  background: var(--al-orange);
  border-color: transparent;
  color: #fff;
}
.al-hero__actions .al-btn--primary:hover {
  background: var(--al-orange-700);
  border-color: transparent;
  color: #fff;
}
.al-hero__stats {
  display: none;
}
@media (max-width: 680px) {
  .al-hero__inner {
    padding: 42px 0 46px;
  }
}
/* ---- breadcrumb (matches listing page pattern: rolelist / documenttypelist / bloglist) ---- */
.al-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.al-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.al-hero .breadcrumb a:hover {
  color: #fff;
}
.al-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.al-hero .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
/* ==========================================================================
   LISTING SHELL
   ========================================================================== */
.bx-listing {
  background: var(--bg-page);
  padding: 42px 0 8px;
}
/* ==========================================================================
   FEATURED CAROUSEL
   ========================================================================== */
.bx-feat-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 42px;
  box-shadow: 0 24px 60px rgba(0, 32, 54, 0.2);
  background: #013753;
}
.bx-feat-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bx-feat-slide {
  flex: 0 0 100%;
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .bx-feat-track {
    transition: none;
  }
}
.bx-feat-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 5;
}
.bx-feat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.2s, width 0.2s;
}
.bx-feat-dot.is-active {
  background: var(--al-orange);
  width: 26px;
  border-radius: 5px;
}
.bx-feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(1, 32, 54, 0.42);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, border-color 0.16s;
}
.bx-feat-arrow:hover {
  background: rgba(224, 144, 48, 0.85);
  border-color: transparent;
}
.bx-feat-arrow svg {
  width: 18px;
  height: 18px;
}
.bx-feat-arrow--prev {
  left: 16px;
}
.bx-feat-arrow--next {
  right: 16px;
}
@media (max-width: 840px) {
  .bx-feat-arrow {
    display: none;
  }
}
/* ==========================================================================
   FEATURED SLIDE CONTENT
   ========================================================================== */
.bx-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: #013753;
  overflow: hidden;
  position: relative;
  height: 100%;
}
.bx-featured__art {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #013753, #0a4f74);
}
.bx-featured__art::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 210px;
  border: 2px solid rgba(224, 144, 48, 0.4);
  border-radius: 50%;
  transform: rotate(-16deg);
}
@media (max-width: 980px) {
  .bx-featured__art {
    min-height: 240px;
  }
}
.bx-featured__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.bx-featured__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(1, 55, 83, 0.28), rgba(10, 79, 116, 0) 50%, rgba(1, 55, 83, 0.4));
}
.bx-featured__body {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}
@media (max-width: 680px) {
  .bx-featured__body {
    padding: 28px 24px;
  }
}
.bx-featured__cat {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #9fd2ea;
  margin: 20px 0 0;
}
.bx-featured__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--al-orange);
  margin: 9px 0 0;
  text-wrap: balance;
}
.bx-featured__excerpt {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #cfe0ec;
  margin: 14px 0 0;
  max-width: 52ch;
}
.bx-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-end;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #013753;
  background: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
}
.bx-featured__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.14s;
}
.bx-featured__cta:hover {
  background: var(--al-orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(224, 144, 48, 0.4);
}
.bx-featured__cta:hover svg {
  transform: translateX(3px);
}
@media (max-width: 980px) {
  .bx-featured {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   SECTION INTRO
   ========================================================================== */
.role-intro {
  max-width: 780px;
  margin: 4px 0 32px;
}
.role-intro__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--al-navy);
  margin: 0 0 12px;
  letter-spacing: -0.018em;
}
.role-intro__lead {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--fg-3);
  margin: 0;
  text-wrap: pretty;
}
/* ==========================================================================
   ORGANIZATION CARD GRID
   ========================================================================== */
.al-bx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) {
  .al-bx-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .al-bx-cards {
    grid-template-columns: 1fr;
  }
}
.al-role-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px 26px 24px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.42s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.42s cubic-bezier(0.16, 0.84, 0.44, 1), border-color 0.42s var(--ease-out);
}
.al-role-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  z-index: 2;
  background: linear-gradient(90deg, var(--al-orange), var(--al-orange-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card,
.al-role-card:hover {
  text-decoration: none;
}
.al-role-card:hover {
  background: var(--al-navy);
  box-shadow: 0 22px 48px -20px rgba(0, 48, 80, 0.45);
  transform: translateY(-6px);
  border-color: var(--al-navy);
}
.al-role-card:hover::before {
  transform: scaleX(1);
}
.al-role-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 15px;
  background: rgba(224, 144, 48, 0.1);
  color: var(--al-orange);
  transition: background 0.42s var(--ease-out), color 0.42s var(--ease-out), transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card__icon svg {
  width: 28px;
  height: 28px;
}
.al-role-card:hover .al-role-card__icon {
  background: var(--al-orange);
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}
.al-role-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--al-navy);
  margin: 2px 0 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.3s var(--ease-out);
}
.al-role-card:hover .al-role-card__title {
  color: #fff;
}
.al-role-card__desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-3);
  margin: 0;
  text-wrap: pretty;
  transition: color 0.3s var(--ease-out);
}
.al-role-card:hover .al-role-card__desc {
  color: rgba(255, 255, 255, 0.74);
}
.al-role-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--al-orange);
  transition: color 0.14s var(--ease-out), gap 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card:hover .al-role-card__link {
  color: var(--al-orange-300);
  gap: 10px;
}
.al-role-card:hover .al-role-card__link svg {
  transform: translate(2px, -2px);
}
/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.bx-empty {
  display: none;
  text-align: center;
  padding: 60px 20px 40px;
}
.bx-empty.is-shown {
  display: block;
}
.bx-empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--al-navy-50);
  color: var(--al-navy-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.bx-empty__icon svg {
  width: 28px;
  height: 28px;
}
.bx-empty h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--al-navy);
  margin: 0 0 8px;
}
.bx-empty p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-3);
  margin: 0 0 18px;
}
/* ==========================================================================
   NEWSLETTER BAND
   ========================================================================== */
.al-newsband {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #013753;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 52px;
}
.al-newsband::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -100px;
  width: 330px;
  height: 190px;
  border: 2px solid rgba(224, 144, 48, 0.28);
  border-radius: 50%;
  transform: rotate(14deg);
  pointer-events: none;
}
.al-newsband__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: 46px 0;
}
.al-newsband__in h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  max-width: 17ch;
}
.al-newsband__in p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #bcd6e7;
  margin: 9px 0 0;
  max-width: 46ch;
}
.al-newsband__in form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.al-newsband__in form input {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  min-width: 250px;
}
.al-newsband__in form input::-moz-placeholder {
  color: #8fb1c8;
}
.al-newsband__in form input::placeholder {
  color: #8fb1c8;
}
.al-newsband__in form input:focus {
  outline: none;
  border-color: var(--al-orange);
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 680px) {
  .al-newsband__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.al-finalcta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--al-navy-900);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.al-finalcta::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 2px solid var(--al-orange);
  border-radius: 50%;
  transform: rotate(-15deg) scale(1, 0.34);
  opacity: 0.22;
  pointer-events: none;
}
.al-finalcta::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid var(--al-orange);
  border-radius: 50%;
  transform: rotate(28deg) scale(1, 0.4);
  opacity: 0.14;
  pointer-events: none;
}
.al-finalcta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.al-finalcta__inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.15vw, 50px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.al-finalcta__inner p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 16px;
  max-width: 60ch;
}
@media (max-width: 1024px) {
  .al-finalcta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.al-finalcta__copy {
  padding-top: 8px;
}
.al-finalcta__microcopy {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  max-width: 54ch;
}
@media (max-width: 640px) {
  .al-finalcta {
    padding: 64px 0;
  }
}
/* ==========================================================================
   DARK MODE
   ========================================================================== */
body.dark {
  /* Navy bands deepen for the dark theme (match role listing) */
}
body.dark .bx-listing {
  background: var(--al-navy);
}
body.dark .al-role-card {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.dark .al-role-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.55);
}
body.dark .al-role-card:hover body.dark .al-role-card__title {
  color: var(--al-orange);
}
body.dark .al-role-card__title {
  color: #fff;
}
body.dark .al-role-card__desc {
  color: rgba(255, 255, 255, 0.72);
}
body.dark .role-intro__title {
  color: #fff;
}
body.dark .bx-empty__icon {
  background: var(--al-navy-800);
}
body.dark .bx-empty h3 {
  color: #fff;
}
body.dark .al-hero {
  background: var(--al-navy-900);
}
body.dark .al-newsband {
  background: var(--al-navy-900);
}
body.dark .al-finalcta {
  background: var(--al-navy-900);
}
