* {
  box-sizing: border-box;
}


:root {

  --bg:
    #0b1118;

  --surface:
    #111a24;

  --surface-2:
    #17222f;

  --border:
    #273646;

  --text:
    #f5f7fa;

  --muted:
    #95a5b8;

  --accent:
    #ff9f0a;

  --accent-soft:
    rgba(255, 159, 10, 0.12);

}


html {

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  background:
    var(--bg);

  color:
    var(--text);

}


body {

  margin: 0;

  min-height: 100vh;

  background:
    var(--bg);

}


a {

  color: inherit;

  text-decoration: none;

}


.container {

  width:
    min(
      1180px,
      calc(100% - 40px)
    );

  margin-inline:
    auto;

}


/* =====================================
   HEADER
===================================== */

.main-header {

  position:
    sticky;

  top:
    0;

  z-index:
    100;

  border-bottom:
    1px solid var(--border);

  background:
    rgba(11, 17, 24, 0.94);

  backdrop-filter:
    blur(14px);

}


.header-inner {

  min-height:
    74px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    32px;

}


.main-logo {

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

}


.logo-mark {

  width:
    42px;

  height:
    42px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    11px;

  background:
    var(--accent);

  color:
    #0b1118;

  font-weight:
    900;

}


.logo-text {

  display:
    flex;

  flex-direction:
    column;

}


.logo-text strong {

  font-size:
    15px;

}


.logo-text small {

  margin-top:
    3px;

  color:
    var(--muted);

  font-size:
    11px;

}


.main-navigation {

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

}


.site-nav-link {

  padding:
    10px 13px;

  border-radius:
    8px;

  color:
    var(--muted);

  font-size:
    14px;

}


.site-nav-link:hover,
.site-nav-link.is-active {

  color:
    var(--text);

  background:
    var(--surface-2);

}


/* =====================================
   HERO
===================================== */

.home-hero {

  padding:
    90px 0 75px;

  border-bottom:
    1px solid var(--border);

  background:

    radial-gradient(
      circle at 70% 20%,
      rgba(255,159,10,.14),
      transparent 34%
    ),

    var(--bg);

}


.hero-layout {

  display:
    grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(320px, .7fr);

  align-items:
    center;

  gap:
    70px;

}


.eyebrow {

  color:
    var(--accent);

  text-transform:
    uppercase;

  letter-spacing:
    .12em;

  font-size:
    12px;

  font-weight:
    800;

}


.hero-copy h1 {

  margin:
    18px 0;

  max-width:
    760px;

  font-size:
    clamp(
      40px,
      6vw,
      72px
    );

  line-height:
    1.02;

}


.hero-copy p {

  max-width:
    650px;

  color:
    var(--muted);

  font-size:
    18px;

  line-height:
    1.75;

}


.hero-actions {

  margin-top:
    30px;

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    12px;

}


.button {

  min-height:
    46px;

  padding:
    0 20px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    9px;

  font-weight:
    800;

}


.button-primary {

  background:
    var(--accent);

  color:
    #0a0d10;

}


.button-secondary {

  border:
    1px solid var(--border);

  background:
    var(--surface);

}


.hero-panel {

  padding:
    18px;

  border:
    1px solid var(--border);

  border-radius:
    18px;

  background:
    var(--surface);

}


.hero-panel-label {

  padding:
    6px 8px 14px;

  display:
    block;

  color:
    var(--muted);

  font-size:
    12px;

  text-transform:
    uppercase;

}


.hero-panel a {

  padding:
    17px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;

  border-top:
    1px solid var(--border);

}


.hero-panel a:hover {

  background:
    var(--accent-soft);

}


.hero-panel span {

  color:
    var(--muted);

  font-size:
    13px;

}


/* =====================================
   CATEGORY HERO
===================================== */

.page-hero {

  padding:
    70px 0;

  border-bottom:
    1px solid var(--border);

}


.page-hero h1 {

  margin:
    14px 0;

  font-size:
    clamp(
      34px,
      5vw,
      55px
    );

}


.page-hero p {

  max-width:
    720px;

  color:
    var(--muted);

  font-size:
    17px;

  line-height:
    1.7;

}


/* =====================================
   CONTENT
===================================== */

.section {

  padding:
    65px 0;

}


.section-heading {

  margin-bottom:
    28px;

  display:
    flex;

  align-items:
    end;

  justify-content:
    space-between;

  gap:
    20px;

}


.section-heading h2 {

  margin:
    8px 0 0;

  font-size:
    30px;

}


.result-count {

  color:
    var(--muted);

  font-size:
    14px;

}


.content-grid {

  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    18px;

}


.content-card {

  min-height:
    245px;

  padding:
    24px;

  display:
    flex;

  flex-direction:
    column;

  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    var(--surface);

}


.content-card:hover {

  border-color:
    rgba(
      255,
      159,
      10,
      .65
    );

}


.card-type {

  margin-bottom:
    15px;

  color:
    var(--accent);

  font-size:
    11px;

  font-weight:
    800;

  text-transform:
    uppercase;

}


.content-card h2 {

  margin:
    0;

  font-size:
    22px;

  line-height:
    1.3;

}


.content-card h2 a:hover {

  color:
    var(--accent);

}


.content-card p {

  margin:
    14px 0;

  color:
    var(--muted);

  line-height:
    1.65;

}


.card-link {

  margin-top:
    auto;

  padding-top:
    20px;

  color:
    var(--accent);

  font-weight:
    800;

  font-size:
    14px;

}


.empty-state {

  padding:
    60px;

  border:
    1px dashed var(--border);

  border-radius:
    14px;

  text-align:
    center;

}


.empty-state p {

  color:
    var(--muted);

}


/* =====================================
   FOOTER
===================================== */

.main-footer {

  margin-top:
    40px;

  border-top:
    1px solid var(--border);

  background:
    #080d12;

}


.footer-grid {

  padding:
    55px 0;

  display:
    grid;

  grid-template-columns:
    1.5fr 1fr 1.5fr;

  gap:
    55px;

}


.footer-grid p {

  color:
    var(--muted);

  font-size:
    13px;

  line-height:
    1.7;

}


.footer-links {

  margin-top:
    15px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    9px;

  color:
    var(--muted);

  font-size:
    13px;

}


.footer-links a:hover {

  color:
    var(--accent);

}


.footer-bottom {

  padding:
    20px 0;

  border-top:
    1px solid var(--border);

  color:
    var(--muted);

  font-size:
    12px;

}


/* =====================================
   RESPONSIVE
===================================== */

@media (
  max-width: 900px
) {

  .main-navigation {

    display:
      none;

  }


  .hero-layout {

    grid-template-columns:
      1fr;

  }


  .content-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .footer-grid {

    grid-template-columns:
      1fr 1fr;

  }

}


@media (
  max-width: 600px
) {

  .container {

    width:
      min(
        100% - 28px,
        1180px
      );

  }


  .home-hero {

    padding:
      58px 0;

  }


  .hero-copy h1 {

    font-size:
      42px;

  }


  .content-grid {

    grid-template-columns:
      1fr;

  }


  .footer-grid {

    grid-template-columns:
      1fr;

    gap:
      30px;

  }


.section-heading {

  align-items:
    start;

  flex-direction:
    column;

}

}

/* =========================================================
   PART 8B — RESPONSIVE GAMING PORTAL
========================================================= */

html {
  overflow-x: clip;
}

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #090e15;

  border-bottom: 1px solid #243244;
}

.portal-topbar {
  width: min(1180px, calc(100% - 32px));

  margin-inline: auto;

  min-height: 68px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}

.portal-logo {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  text-decoration: none;

  color: #ffffff;
}

.portal-logo-mark {
  width: 42px;
  height: 42px;

  border-radius: 10px;

  display: grid;

  place-items: center;

  background: #ff9800;

  color: #111111;

  font-weight: 900;
}

.portal-logo-text {
  display: flex;

  flex-direction: column;

  line-height: 1.15;
}

.portal-logo-text strong {
  font-size: 15px;
}

.portal-logo-text small {
  margin-top: 4px;

  color: #8da3bc;

  font-size: 11px;
}

.portal-nav {
  min-height: 52px;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 6px;

  padding-inline: 20px;

  background: #0d141e;
}

.portal-nav a {
  padding: 10px 14px;

  border-radius: 8px;

  color: #aebdd0;

  text-decoration: none;

  font-size: 16px;

  font-weight: 600;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.portal-nav a:hover,
.portal-nav a.is-active {
  color: #ffffff;

  background: #182536;
}


/* MOBILE BUTTON */

.mobile-menu-button {
  display: none;

  width: 42px;
  height: 42px;

  padding: 9px;

  border-radius: 8px;

  border: 1px solid #2a394b;

  background: #111a25;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  height: 2px;

  margin-block: 5px;

  border-radius: 999px;

  background: #ffffff;
}


/* PORTAL STRUCTURE */

.portal-layout {
  width: min(1440px, calc(100% - 32px));

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(180px, 240px)
    minmax(0, 1fr)
    minmax(180px, 240px);

  gap: 24px;

  padding-block: 28px 50px;
}

.portal-main {
  min-width: 0;
}

.portal-sidebar {
  min-width: 0;
}


/* HERO */

.portal-hero {
  overflow: hidden;

  position: relative;

  border: 1px solid #26384d;

  border-radius: 16px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 152, 0, 0.14),
      transparent 38%
    ),
    #111923;

  padding:
    clamp(28px, 5vw, 64px)
    clamp(22px, 5vw, 60px);
}

.portal-hero h1 {
  max-width: 850px;

  margin: 0;

  font-size: clamp(32px, 5vw, 62px);

  line-height: 1.03;
}

.portal-hero p {
  max-width: 760px;

  margin-top: 20px;

  margin-bottom: 0;

  color: #a9bad0;

  font-size: clamp(15px, 1.6vw, 18px);

  line-height: 1.7;
}


/* SECTIONS */

.portal-section {
  margin-top: 32px;
}

.portal-section-heading {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 16px;
}

.portal-section-heading h2 {
  margin: 0;

  font-size: clamp(22px, 3vw, 30px);
}


/* GRID */

.portal-card-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(min(210px, 100%), 1fr)
    );

  gap: 16px;
}

.portal-card {
  overflow: hidden;

  border: 1px solid #25374b;

  border-radius: 12px;

  background: #111a25;
}

.portal-card-image {
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #0d141d;
}

.portal-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.portal-card-body {
  padding: 16px;
}


/* PROVIDER STRIP */

.provider-strip {
  display: flex;

  gap: 12px;

  overflow-x: auto;

  padding-bottom: 8px;

  overscroll-behavior-inline: contain;

  scrollbar-width: thin;
}

.provider-card {
  flex:
    0
    0
    clamp(130px, 18vw, 180px);
}


/* CTA */

.portal-cta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 44px;

  padding-inline: 20px;

  border-radius: 9px;

  border: 0;

  background: #ff9800;

  color: #121212;

  font-weight: 800;

  text-decoration: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .portal-layout {
    grid-template-columns:
      minmax(190px, 220px)
      minmax(0, 1fr);
  }

  .portal-sidebar-right {
    grid-column: 1 / -1;
  }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .portal-topbar {
    width: min(100% - 24px, 1180px);

    min-height: 62px;
  }


  .portal-logo-text small {
    display: none;
  }


  .mobile-menu-button {
    display: block;
  }


  .portal-nav {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;
    right: 0;

    flex-direction: column;

    align-items: stretch;

    padding: 12px;

    border-bottom: 1px solid #26384a;

    box-shadow:
      0 20px 35px
      rgba(0, 0, 0, 0.38);
  }


  .portal-nav.is-open {
    display: flex;
  }


  .portal-nav a {
    width: 100%;

    padding: 13px 15px;
  }


  .portal-layout {
    width: min(100% - 24px, 1440px);

    grid-template-columns: 1fr;

    gap: 18px;

    padding-top: 18px;
  }


  .portal-main {
    grid-row: 1;
  }


  .portal-sidebar-left {
    grid-row: 2;
  }


  .portal-sidebar-right {
    grid-row: 3;

    grid-column: auto;
  }


  .portal-hero {
    border-radius: 12px;

    padding: 28px 20px;
  }


  .portal-card-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }


  .portal-card-body {
    padding: 12px;
  }


  .portal-section {
    margin-top: 24px;
  }


  .portal-section-heading {
    align-items: flex-start;

    flex-direction: column;
  }

}

@media (max-width: 420px) {

  .portal-card-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .portal-logo-mark {
    width: 38px;
    height: 38px;
  }

  .portal-logo-text strong {
    font-size: 14px;
  }

}

/* =========================================================
   PART 8B.3 — PORTAL CATEGORY PAGES
========================================================= */

.portal-category-hero {
  padding: 72px 0 64px;

  border-bottom:
    1px solid var(--border);

  background:
    radial-gradient(
      circle at 70% 10%,
      rgba(255, 159, 10, 0.12),
      transparent 34%
    ),
    var(--bg);
}


.portal-category-hero h1 {
  margin:
    14px 0 16px;

  max-width:
    850px;

  font-size:
    clamp(
      38px,
      5vw,
      62px
    );

  line-height:
    1.05;
}


.portal-category-hero p {
  margin:
    0;

  max-width:
    720px;

  color:
    var(--muted);

  font-size:
    17px;

  line-height:
    1.7;
}


.portal-category-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    18px;
}


.portal-category-card {
  min-height:
    220px;

  padding:
    24px;

  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    var(--surface);
}


.portal-category-card h2 {
  margin:
    12px 0;

  font-size:
    22px;
}


.portal-category-card p {
  color:
    var(--muted);

  line-height:
    1.65;
}


@media (
  max-width: 900px
) {

  .portal-category-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


@media (
  max-width: 600px
) {

  .portal-category-hero {
    padding:
      48px 0;
  }


  .portal-category-grid {
    grid-template-columns:
      1fr;
  }

}

/* =========================================================
   PART 8B.4 — PORTAL HOME
========================================================= */

.portal-main-hero {
  border-bottom: 1px solid var(--border);

  background:
    radial-gradient(
      circle at 68% 20%,
      rgba(255, 159, 10, 0.14),
      transparent 30%
    ),
    var(--bg);
}


.portal-main-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(300px, 0.75fr);

  gap: 70px;

  align-items: center;

  min-height: 540px;

  padding-top: 70px;
  padding-bottom: 70px;
}


.portal-main-copy h1 {
  max-width: 760px;

  margin: 18px 0 22px;

  font-size:
    clamp(
      44px,
      5.6vw,
      76px
    );

  line-height: 0.98;

  letter-spacing: -2px;
}


.portal-main-description {
  max-width: 680px;

  color: var(--muted);

  font-size: 18px;

  line-height: 1.7;
}


.portal-main-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}


.portal-side-panel {
  padding: 18px;

  border: 1px solid var(--border);

  border-radius: 18px;

  background: var(--surface);
}


.portal-panel-label {
  display: block;

  padding: 8px 12px 16px;

  color: var(--muted);

  font-size: 12px;

  letter-spacing: 0.08em;
}


.portal-side-panel a {
  display: flex;

  flex-direction: column;

  gap: 5px;

  padding: 18px 14px;

  border-top: 1px solid var(--border);

  text-decoration: none;

  transition:
    background 0.2s ease;
}


.portal-side-panel a:hover {
  background:
    rgba(255, 255, 255, 0.025);
}


.portal-side-panel strong {
  color: var(--text);
}


.portal-side-panel span {
  color: var(--muted);

  font-size: 13px;
}



/* CATEGORY CARDS */

.portal-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 16px;
}


.portal-feature-card {
  display: flex;

  gap: 18px;

  min-height: 155px;

  padding: 22px;

  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    var(--surface);

  text-decoration:
    none;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}


.portal-feature-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(255, 159, 10, 0.55);

  background:
    var(--surface-2);
}


.portal-feature-icon {
  display: grid;

  place-items: center;

  width: 38px;

  height: 38px;

  flex: 0 0 38px;

  border-radius:
    9px;

  background:
    rgba(255, 159, 10, 0.12);

  color:
    var(--accent);

  font-weight:
    800;
}


.portal-feature-card h3 {
  margin:
    0 0 8px;

  color:
    var(--text);

  font-size:
    18px;
}


.portal-feature-card p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    14px;

  line-height:
    1.6;
}



/* PROVIDERS */

.portal-provider-strip {
  display: grid;

  grid-template-columns:
    repeat(
      6,
      minmax(130px, 1fr)
    );

  gap: 12px;

  overflow-x: auto;

  padding-bottom: 8px;
}


.portal-provider-strip div {
  display: grid;

  place-items: center;

  min-height: 82px;

  padding: 14px;

  border:
    1px solid var(--border);

  border-radius:
    12px;

  background:
    var(--surface);

  font-weight:
    700;

  text-align:
    center;

  white-space:
    nowrap;
}



/* LATEST CONTENT */

.portal-content-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    16px;
}


.portal-content-card {
  display: flex;

  flex-direction:
    column;

  min-height:
    210px;

  padding:
    22px;

  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    var(--surface);
}


.portal-content-card h3 {
  margin:
    12px 0 20px;

  font-size:
    20px;

  line-height:
    1.35;
}


.portal-card-link {
  margin-top:
    auto;

  color:
    var(--accent);

  font-weight:
    700;

  text-decoration:
    none;
}


.portal-empty-card {
  grid-column:
    1 / -1;

  padding:
    50px;

  border:
    1px dashed var(--border);

  border-radius:
    14px;

  text-align:
    center;
}


.portal-empty-card p {
  color:
    var(--muted);
}



/* TABLET */

@media (
  max-width: 1000px
) {

  .portal-main-grid {
    grid-template-columns:
      1fr;

    min-height:
      auto;

    gap:
      35px;
  }


  .portal-side-panel {
    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        1fr
      );
  }


  .portal-panel-label {
    grid-column:
      1 / -1;
  }


  .portal-feature-grid,
  .portal-content-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}



/* MOBILE */

@media (
  max-width: 640px
) {

  .portal-main-grid {
    padding-top:
      48px;

    padding-bottom:
      48px;
  }


  .portal-main-copy h1 {
    font-size:
      clamp(
        40px,
        13vw,
        56px
      );

    letter-spacing:
      -1px;
  }


  .portal-main-description {
    font-size:
      16px;
  }


  .portal-main-actions {
    display:
      grid;

    grid-template-columns:
      1fr;
  }


  .portal-main-actions a {
    width:
      100%;

    text-align:
      center;
  }


  .portal-side-panel {
    grid-template-columns:
      1fr;
  }


  .portal-feature-grid,
  .portal-content-grid {
    grid-template-columns:
      1fr;
  }


  .portal-provider-strip {
    grid-template-columns:
      repeat(
        6,
        145px
      );
  }

}

/* =========================================================
   PORTAL CATEGORY
========================================================= */

.portal-category {
  min-height: 70vh;
}


.portal-category-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid #263544;

  background:
    radial-gradient(
      circle at 70% 10%,
      rgba(255, 153, 0, 0.10),
      transparent 38%
    );
}


.portal-category-hero h1 {
  max-width: 820px;

  margin:
    12px 0
    18px;

  font-size:
    clamp(
      42px,
      6vw,
      72px
    );

  line-height: 1.04;
}


.portal-category-description {
  max-width: 760px;

  font-size: 18px;
  line-height: 1.7;

  color: #9db9d3;
}


.portal-eyebrow {
  display: inline-block;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #ff9d00;
}


.portal-category-features {
  padding: 40px 0 12px;
}


.portal-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 16px;
}


.portal-feature-card {
  display: flex;
  gap: 14px;

  padding: 20px;

  border:
    1px solid #293a4a;

  border-radius: 14px;

  background: #111c27;
}


.portal-feature-icon {
  flex:
    0 0
    42px;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background:
    rgba(
      255,
      157,
      0,
      0.12
    );

  color: #ff9d00;

  font-weight: 900;
}


.portal-feature-card h3 {
  margin: 0 0 6px;

  font-size: 16px;
}


.portal-feature-card p {
  margin: 0;

  color: #8fa9bf;

  font-size: 14px;
  line-height: 1.6;
}


.portal-category-content {
  padding: 60px 0 90px;
}


.portal-section-heading {
  display: flex;

  justify-content:
    space-between;

  align-items:
    flex-end;

  gap: 24px;

  margin-bottom: 28px;
}


.portal-section-heading h2 {
  margin: 8px 0 0;

  font-size: 30px;
}


.portal-result-count {
  color: #8fa9bf;

  font-size: 14px;
}


.portal-content-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;
}


.portal-content-card {
  min-height: 230px;

  display: flex;
  flex-direction: column;

  padding: 24px;

  border:
    1px solid #293a4a;

  border-radius: 14px;

  background: #111c27;
}


.portal-content-card h3 {
  margin:
    10px 0
    10px;

  font-size: 21px;
  line-height: 1.35;
}


.portal-card-type {
  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #ff9d00;
}


.portal-card-meta {
  margin: 0;

  font-size: 13px;

  color: #819aae;
}


.portal-card-link {
  margin-top: auto;

  padding-top: 28px;

  color: #ff9d00;

  font-weight: 800;

  text-decoration: none;
}


.portal-card-link:hover {
  text-decoration: underline;
}


.portal-empty-state {
  min-height: 210px;

  display: grid;

  place-items: center;

  text-align: center;

  padding: 40px;

  border:
    1px dashed #304354;

  border-radius: 14px;
}


.portal-empty-state strong {
  display: block;

  font-size: 22px;
}


.portal-empty-state p {
  color: #8fa9bf;
}


/* =========================================================
   TABLET
========================================================= */

@media (
  max-width: 1000px
) {

  .portal-feature-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .portal-content-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
  max-width: 650px
) {

  .portal-category-hero {
    padding:
      48px 0
      44px;
  }


  .portal-category-hero h1 {
    font-size:
      clamp(
        36px,
        12vw,
        52px
      );
  }


  .portal-category-description {
    font-size: 16px;
  }


  .portal-feature-grid,
  .portal-content-grid {
    grid-template-columns:
      1fr;
  }


  .portal-section-heading {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap: 10px;
  }


  .portal-category-content {
    padding:
      42px 0
      64px;
  }

}

/* =========================================================
   PART 8B.6
   PORTAL CATEGORY PAGES
========================================================= */


.portal-category-main {
  min-height: 70vh;
}


.portal-category-hero {
  padding:
    72px
    0
    64px;

  border-bottom:
    1px solid
    var(--border, #273546);

  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(255, 153, 0, 0.09),
      transparent 38%
    );
}


.portal-category-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(280px, 0.8fr);

  gap: 64px;

  align-items: center;
}


.portal-category-copy {
  max-width: 760px;
}


.portal-category-copy h1 {
  margin:
    12px
    0
    20px;

  font-size:
    clamp(
      44px,
      6vw,
      78px
    );

  line-height: 0.98;

  letter-spacing:
    -0.04em;
}


.portal-category-description {
  max-width: 720px;

  margin: 0;

  color: #9eb7d4;

  font-size: 18px;

  line-height: 1.75;
}


.portal-category-summary {
  padding: 28px;

  border:
    1px solid #29394a;

  border-radius: 18px;

  background:
    rgba(
      18,
      29,
      41,
      0.88
    );
}


.portal-summary-label {
  display: block;

  margin-bottom: 18px;

  color: #ffa000;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.portal-category-summary > strong {
  display: block;

  margin-bottom: 10px;

  color: #ffffff;

  font-size: 24px;
}


.portal-category-summary p {
  margin:
    0
    0
    24px;

  color: #91a9c4;

  line-height: 1.7;
}


.portal-summary-stat {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  padding-top: 18px;

  border-top:
    1px solid #29394a;

  color: #9eb7d4;
}


.portal-summary-stat strong {
  color: #ffa000;

  font-size: 28px;
}



.portal-feature-section,
.portal-content-section,
.portal-info-section {
  padding: 64px 0;
}


.portal-content-section {
  border-top:
    1px solid #273546;

  border-bottom:
    1px solid #273546;
}


.portal-section-heading {
  display: flex;

  justify-content:
    space-between;

  align-items: end;

  gap: 20px;

  margin-bottom: 28px;
}


.portal-section-heading h2 {
  margin:
    8px
    0
    0;

  font-size:
    clamp(
      28px,
      4vw,
      38px
    );
}


.portal-result-count {
  color: #90abc8;

  font-size: 14px;
}



.portal-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 16px;
}


.portal-feature-card {
  display: flex;

  gap: 16px;

  min-height: 170px;

  padding: 22px;

  border:
    1px solid #29394a;

  border-radius: 16px;

  background: #111c27;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}


.portal-feature-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(
      255,
      160,
      0,
      0.6
    );
}


.portal-feature-icon {
  display: grid;

  flex:
    0
    0
    44px;

  width: 44px;

  height: 44px;

  place-items: center;

  border-radius: 12px;

  background:
    rgba(
      255,
      160,
      0,
      0.12
    );

  color: #ffa000;

  font-size: 20px;

  font-weight: 900;
}


.portal-feature-card h3 {
  margin:
    2px
    0
    9px;

  color: #ffffff;

  font-size: 18px;
}


.portal-feature-card p {
  margin: 0;

  color: #91a9c4;

  line-height: 1.6;
}



.portal-content-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;
}


.portal-content-card,
.portal-empty-card {
  min-height: 240px;

  padding: 26px;

  border:
    1px solid #29394a;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #111c27,
      #0d1620
    );
}


.portal-content-card {
  display: flex;

  flex-direction: column;
}


.portal-content-type,
.portal-empty-label {
  margin-bottom: 14px;

  color: #ffa000;

  font-size: 12px;

  font-weight: 900;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.portal-content-card h3,
.portal-empty-card h3 {
  margin:
    0
    0
    12px;

  font-size: 21px;

  line-height: 1.35;
}


.portal-content-card h3 a {
  color: #ffffff;

  text-decoration: none;
}


.portal-content-card h3 a:hover {
  color: #ffa000;
}


.portal-content-card p,
.portal-empty-card p {
  margin:
    0
    0
    22px;

  color: #91a9c4;

  line-height: 1.7;
}


.portal-read-link {
  margin-top: auto;

  color: #ffa000;

  font-weight: 800;

  text-decoration: none;
}


.portal-read-link:hover {
  text-decoration: underline;
}



.portal-info-panel {
  display: grid;

  grid-template-columns:
    minmax(240px, 0.8fr)
    minmax(0, 1.4fr);

  gap: 48px;

  align-items: center;

  padding: 34px;

  border:
    1px solid #29394a;

  border-radius: 18px;

  background: #111c27;
}


.portal-info-panel h2 {
  margin:
    8px
    0
    0;
}


.portal-info-panel p {
  margin: 0;

  color: #9eb7d4;

  line-height: 1.8;
}



@media (
  max-width: 1050px
) {

  .portal-category-hero-grid {
    grid-template-columns:
      1fr;

    gap: 32px;
  }


  .portal-category-summary {
    max-width: 600px;
  }


  .portal-feature-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .portal-content-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}



@media (
  max-width: 680px
) {

  .portal-category-hero {
    padding:
      42px
      0;
  }


  .portal-category-copy h1 {
    font-size:
      clamp(
        38px,
        12vw,
        54px
      );
  }


  .portal-category-description {
    font-size: 16px;
  }


  .portal-feature-section,
  .portal-content-section,
  .portal-info-section {
    padding:
      42px
      0;
  }


  .portal-feature-grid,
  .portal-content-grid,
  .portal-info-panel {
    grid-template-columns:
      1fr;
  }


  .portal-section-heading {
    align-items:
      flex-start;

    flex-direction:
      column;
  }


  .portal-feature-card {
    min-height: auto;
  }


  .portal-info-panel {
    gap: 20px;

    padding: 24px;
  }

}

/* =========================================================
   PART 8B.4 — PORTAL HOMEPAGE
========================================================= */

.portal-home {
  min-height: 70vh;
}


/* HERO */

.portal-home-hero {
  border-bottom: 1px solid #263746;
  background:
    radial-gradient(
      circle at 68% 15%,
      rgba(255, 157, 0, 0.10),
      transparent 34%
    ),
    #0b1118;
}


.portal-home-hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(300px, 0.65fr);

  gap: 72px;
  align-items: center;

  padding-top: 90px;
  padding-bottom: 90px;
}


.portal-home-hero-copy {
  max-width: 760px;
}


.portal-home-eyebrow {
  display: block;

  margin-bottom: 16px;

  color: #ff9d00;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 1.5px;
}


.portal-home-hero-copy h1 {
  margin: 0;

  max-width: 760px;

  color: #f4f7fb;

  font-size: clamp(
    48px,
    5vw,
    78px
  );

  line-height: 0.98;

  letter-spacing: -2px;
}


.portal-home-hero-description {
  max-width: 700px;

  margin:
    28px 0
    0;

  color: #9fc8ea;

  font-size: 18px;
  line-height: 1.8;
}


.portal-home-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}


.portal-home-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    0 20px;

  border-radius: 9px;

  font-weight: 800;

  text-decoration: none;
}


.portal-home-button-primary {
  border: 1px solid #ff9d00;

  background: #ff9d00;

  color: #071019;
}


.portal-home-button-secondary {
  border: 1px solid #314454;

  background: #121d28;

  color: #f4f7fb;
}


.portal-home-button:hover {
  transform: translateY(-1px);
}


/* HERO SIDE PANEL */

.portal-home-overview {
  padding: 28px;

  border: 1px solid #2b4052;
  border-radius: 18px;

  background: #111d28;
}


.portal-home-panel-label {
  display: block;

  margin-bottom: 16px;

  color: #ff9d00;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.4px;
}


.portal-home-overview h2 {
  margin: 0;

  color: #f4f7fb;

  font-size: 24px;
}


.portal-home-overview p {
  margin:
    12px 0
    24px;

  color: #9fc8ea;

  line-height: 1.7;
}


.portal-home-overview-stats {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-top: 20px;

  border-top: 1px solid #2b4052;

  color: #9fc8ea;
}


.portal-home-overview-stats strong {
  color: #ff9d00;

  font-size: 28px;
}


/* GENERAL SECTIONS */

.portal-home-section {
  padding:
    70px 0;

  border-bottom:
    1px solid #263746;
}


.portal-home-section-alt {
  background:
    rgba(
      17,
      29,
      40,
      0.34
    );
}


.portal-home-section-header {
  display: flex;

  justify-content: space-between;
  align-items: end;

  gap: 30px;

  margin-bottom: 28px;
}


.portal-home-section-header h2 {
  margin: 0;

  color: #f4f7fb;

  font-size: 34px;
}


.portal-home-section-header p {
  max-width: 480px;

  margin: 0;

  color: #9fc8ea;

  line-height: 1.6;
}


/* DIRECTORY */

.portal-home-directory {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 16px;
}


.portal-home-directory-card {
  display: flex;

  gap: 16px;

  min-height: 145px;

  padding: 22px;

  border: 1px solid #2b4052;
  border-radius: 14px;

  background: #111d28;

  color: inherit;

  text-decoration: none;
}


.portal-home-directory-card:hover {
  border-color:
    rgba(
      255,
      157,
      0,
      0.75
    );

  transform:
    translateY(-2px);
}


.portal-home-directory-icon {
  display: flex;

  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background:
    rgba(
      255,
      157,
      0,
      0.12
    );

  color: #ff9d00;

  font-size: 20px;
}


.portal-home-directory-card strong {
  display: block;

  margin-bottom: 7px;

  color: #f4f7fb;

  font-size: 17px;
}


.portal-home-directory-card p {
  margin: 0;

  color: #9fc8ea;

  line-height: 1.6;
}


/* FEATURE CARDS */

.portal-home-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;
}


.portal-home-feature-card {
  min-height: 235px;

  padding: 26px;

  border: 1px solid #2b4052;
  border-radius: 16px;

  background: #111d28;

  color: inherit;

  text-decoration: none;
}


.portal-home-feature-number {
  color: #ff9d00;

  font-size: 13px;
  font-weight: 800;
}


.portal-home-feature-card--with-image {
  overflow: hidden;
}


.portal-home-feature-media {
  display: block;

  width: calc(100% + 52px);
  aspect-ratio: 16 / 9;

  margin: -26px -26px 22px;

  overflow: hidden;

  background: #0b141d;
}


.portal-home-feature-media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.portal-home-feature-card h3 {
  margin:
    28px 0
    10px;

  color: #f4f7fb;

  font-size: 23px;
}


.portal-home-feature-card p {
  margin:
    0 0
    24px;

  color: #9fc8ea;

  line-height: 1.65;
}


.portal-home-feature-card strong {
  color: #ff9d00;
}


/* LATEST CONTENT */

.portal-home-content-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 18px;
}


.portal-home-content-card {
  display: flex;
  flex-direction: column;

  min-height: 220px;

  padding: 24px;

  border: 1px solid #2b4052;
  border-radius: 14px;

  background: #111d28;
}


.portal-home-content-card--with-image {
  padding: 0;
  overflow: hidden;
}


.portal-home-content-media {
  display: block;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #0b141d;

  text-decoration: none;
}


.portal-home-content-media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.portal-home-content-body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 24px;
}


.portal-home-content-card:not(.portal-home-content-card--with-image)
.portal-home-content-body {
  padding: 0;
}


.portal-home-card-type {
  color: #ff9d00;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}


.portal-home-content-card h3 {
  margin:
    16px 0
    12px;

  font-size: 21px;
}


.portal-home-content-card h3 a {
  color: #f4f7fb;

  text-decoration: none;
}


.portal-home-content-card p {
  margin:
    0 0
    22px;

  color: #9fc8ea;

  line-height: 1.6;
}


.portal-home-read-link {
  margin-top: auto;

  color: #ff9d00;

  font-weight: 800;

  text-decoration: none;
}


.portal-home-empty {
  grid-column:
    1 / -1;

  display: flex;

  gap: 18px;

  align-items: center;

  padding: 28px;

  border:
    1px dashed
    #2b4052;

  border-radius: 14px;

  color: #9fc8ea;
}


.portal-home-empty strong {
  color: #f4f7fb;

  font-size: 18px;
}


.portal-home-empty p {
  margin:
    5px 0
    0;
}


.portal-home-empty-icon {
  color: #ff9d00;

  font-size: 30px;
}


/* TABLET */

@media (
  max-width: 960px
) {

  .portal-home-hero-grid {
    grid-template-columns: 1fr;

    gap: 36px;

    padding-top: 60px;
    padding-bottom: 60px;
  }


  .portal-home-overview {
    max-width: none;
  }


  .portal-home-directory {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .portal-home-feature-grid,
  .portal-home-content-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* MOBILE */

@media (
  max-width: 640px
) {

  .portal-home-hero-grid {
    padding-top: 48px;
    padding-bottom: 48px;
  }


  .portal-home-hero-copy h1 {
    font-size: 44px;

    line-height: 1.04;

    letter-spacing: -1.2px;
  }


  .portal-home-hero-description {
    font-size: 17px;
  }


  .portal-home-actions {
    flex-direction: column;
  }


  .portal-home-button {
    width: 100%;
  }


  .portal-home-section {
    padding:
      48px 0;
  }


  .portal-home-section-header {
    display: block;
  }


  .portal-home-section-header h2 {
    font-size: 30px;
  }


  .portal-home-section-header p {
    margin-top: 12px;
  }


  .portal-home-directory,
  .portal-home-feature-grid,
  .portal-home-content-grid {
    grid-template-columns:
      1fr;
  }


  .portal-home-directory-card {
    min-height: 0;
  }


  .portal-home-feature-card {
    min-height: 0;
  }

}
/* Part 8D: optional brand image preserves the existing mark size. */
.portal-logo-image { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.portal-logo-mark:has(.portal-logo-image) { background: transparent; }
@media (min-width: 901px) {
  .footer-grid:has(> div:nth-child(4)) {
    grid-template-columns: 1.35fr .8fr .8fr 1.35fr;
    gap: 32px;
  }
}

/* PART 13 category long-form content */
.portal-rich-section{padding:32px 0 70px}.portal-rich-content{max-width:850px;margin:auto;color:#d5dbe3;font-size:17px;line-height:1.8}.portal-rich-content h2{font-size:30px;color:#fff;margin:35px 0 12px}.portal-rich-content h3{font-size:23px;color:#fff;margin:25px 0 10px}.portal-rich-content img{max-width:100%;height:auto}.portal-rich-content a{color:#f6ad26}.portal-rich-content details.article-faq{border:1px solid #33475c;padding:12px 17px;margin:12px 0;border-radius:9px}.portal-rich-content summary{cursor:pointer}.portal-rich-content .article-toc{background:#102030;border:1px solid #304356;border-radius:12px;padding:18px 25px;margin-bottom:24px}.portal-rich-content .article-toc a{color:#ffae24}.portal-rich-content .article-toc .toc-level-3{margin-left:18px}

/* Part 14.4 — optional Category pictures and responsive Latest Resources cards. */
.portal-category-summary,
.portal-content-card,
.portal-empty-card { min-width: 0; overflow: hidden; }
.portal-summary-image,
.portal-empty-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
}
.portal-summary-image {
  width: calc(100% + 56px);
  max-width: none;
  margin: -28px -28px 22px;
  border-bottom: 1px solid #29394a;
}
.portal-card-media {
  display: block;
  width: calc(100% + 52px);
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: -26px -26px 22px;
  overflow: hidden;
  border-bottom: 1px solid #29394a;
  background: linear-gradient(135deg, #17283c, #0e1825 65%, #6b441c);
}
.portal-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-card-placeholder {
  display: grid;
  place-items: center;
  color: #d99c4c;
  font-size: clamp(36px, 6vw, 62px);
}
.portal-card-media:focus-visible {
  outline: 3px solid #ffa000;
  outline-offset: -3px;
}
/* Part 14.4.3 — compact image-only Empty State card (Category C06). */
.portal-empty-card--with-image {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 840px);
  max-width: 840px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}
.portal-empty-card--with-image .portal-empty-image {
  width: 100%;
  height: clamp(190px, 22vw, 245px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 35%;
  border-bottom: 1px solid #29394a;
}
.portal-empty-card--with-image .portal-empty-body {
  padding: 20px 24px 22px;
  text-align: center;
}
.portal-empty-card--with-image .portal-empty-label {
  display: block;
  margin: 0 0 7px;
}
.portal-empty-card--with-image h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}
.portal-empty-card--with-image p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}
.portal-category-summary,
.portal-content-card,
.portal-empty-card { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .portal-category-summary { width: 100%; }
  .portal-content-grid { grid-template-columns: minmax(0, 1fr); }
  .portal-empty-card--with-image { width: 100%; max-width: 100%; }
  .portal-empty-card--with-image .portal-empty-image {
    height: clamp(155px, 48vw, 205px);
    object-position: center 32%;
  }
  .portal-empty-card--with-image .portal-empty-body { padding: 16px 18px 18px; }
  .portal-empty-card--with-image h3 { font-size: 17px; }
  .portal-empty-card--with-image p { font-size: 14px; }
}

/* =========================================================
   GLOBAL SMOOTH ANCHOR SCROLL
========================================================= */

html {
  scroll-behavior: smooth;
}

.portal-rich-content h2[id],
.portal-rich-content h3[id] {
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  .portal-rich-content h2[id],
  .portal-rich-content h3[id] {
    scroll-margin-top: 85px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* =========================================================
   HOMEPAGE DIRECTORY CARD IMAGES
   Reuses existing Category Summary images / Provider content.
========================================================= */
.portal-home-directory-card--with-image {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.portal-home-directory-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid #2b4052;
  background: #0d1117;
}

.portal-home-directory-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-home-directory-body {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 18px 20px 20px;
}

.portal-home-directory-copy {
  min-width: 0;
}

.portal-home-directory-copy strong {
  display: block;
}

.portal-home-directory-description {
  display: block;
  color: #9fc8ea;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .portal-home-directory-body {
    padding: 16px 18px 18px;
  }
}

/* =========================================================
   PART 23.4 — GLOBAL DISPLAY SETTINGS
   Banner replaces the old static brand strip.
========================================================= */
.site-display-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #090e15;
}

.site-display-banner-link {
  display: block;
  width: 100%;
  height: 100px;
  margin: 0;
  text-decoration: none;
  line-height: 0;
  overflow: hidden;
}

.site-display-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1050px) {
  .site-display-banner-link {
    height: 72px;
  }
}

@media (max-width: 600px) {
  .site-display-banner-link {
    height: 50px;
  }
}

.portal-topbar--display-banner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  display: block;
}

.portal-topbar--display-banner .mobile-menu-button--display-banner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

body.site-display-wallpaper {
  position: relative;
  isolation: isolate;
  background: transparent;
  --bg: rgba(11, 17, 24, 0.82);
  --surface: rgba(17, 26, 36, 0.92);
  --surface-2: rgba(23, 34, 47, 0.92);
}

body.site-display-wallpaper::before,
body.site-display-wallpaper::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.site-display-wallpaper::before {
  z-index: -2;
  background-image: var(--display-wallpaper-image);
  background-position: var(--display-wallpaper-position, center top);
  background-size: var(--display-wallpaper-size, cover);
  background-repeat: var(--display-wallpaper-repeat, no-repeat);
  background-attachment: var(--display-wallpaper-attachment, fixed);
}

body.site-display-wallpaper::after {
  z-index: -1;
  background: rgba(5, 9, 13, var(--display-wallpaper-overlay, 0.65));
}

body.site-display-wallpaper .portal-home-hero,
body.site-display-wallpaper .portal-home-section,
body.site-display-wallpaper .portal-category-hero,
body.site-display-wallpaper .portal-feature-section,
body.site-display-wallpaper .portal-content-section,
body.site-display-wallpaper .portal-info-section,
body.site-display-wallpaper .portal-rich-section,
body.site-display-wallpaper .section,
body.site-display-wallpaper .page-hero {
  background-color: transparent;
}

body.site-display-wallpaper .portal-home-hero {
  background-image: radial-gradient(circle at 68% 15%, rgba(255, 157, 0, 0.10), transparent 34%);
}

body.site-display-wallpaper .main-footer {
  background: rgba(8, 13, 18, 0.9);
  backdrop-filter: blur(10px);
}

body.site-display-wallpaper.site-display-wallpaper--scroll::before {
  position: absolute;
}

/* =========================================================
   HOMEPAGE CARD BREATHING EFFECT + BOTTOM CONTENT
   Visual-only enhancement. No layout/data changes.
========================================================= */

@keyframes portal-home-card-breathe {
  0%,
  100% {
    border-color: #2b4052;
    box-shadow: 0 0 0 rgba(255, 157, 0, 0);
  }

  50% {
    border-color: rgba(255, 157, 0, 0.58);
    box-shadow:
      0 0 0 1px rgba(255, 157, 0, 0.06),
      0 0 24px rgba(255, 157, 0, 0.16);
  }
}

.portal-home .portal-home-overview,
.portal-home .portal-home-directory-card,
.portal-home .portal-home-feature-card,
.portal-home .portal-home-content-card {
  animation:
    portal-home-card-breathe
    4.2s
    ease-in-out
    infinite;

  will-change:
    border-color,
    box-shadow;
}

.portal-home .portal-home-directory-card:nth-child(2n),
.portal-home .portal-home-feature-card:nth-child(2n),
.portal-home .portal-home-content-card:nth-child(2n) {
  animation-delay: -1.4s;
}

.portal-home .portal-home-directory-card:nth-child(3n),
.portal-home .portal-home-feature-card:nth-child(3n),
.portal-home .portal-home-content-card:nth-child(3n) {
  animation-delay: -2.8s;
}

.portal-home .portal-home-overview:hover,
.portal-home .portal-home-directory-card:hover,
.portal-home .portal-home-feature-card:hover,
.portal-home .portal-home-content-card:hover {
  border-color: rgba(255, 157, 0, 0.9);
  box-shadow: 0 0 30px rgba(255, 157, 0, 0.24);
}

.portal-home-bottom-content {
  padding: 54px 0 76px;

  border-top:
    1px solid
    rgba(43, 64, 82, 0.9);
}

.portal-home-bottom-rich {
  max-width: 920px;
  margin-inline: auto;

  color: #d5dbe3;

  font-size: 17px;
  line-height: 1.8;
}

.portal-home-bottom-rich h2 {
  margin: 0 0 18px;

  color: #f4f7fb;

  font-size: 30px;
}

.portal-home-bottom-rich h3 {
  margin: 28px 0 12px;

  color: #f4f7fb;

  font-size: 23px;
}

.portal-home-bottom-rich p {
  margin: 0 0 20px;
}

.portal-home-bottom-rich a {
  color: #ffae24;
}

.portal-home-bottom-rich img {
  display: block;

  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .portal-home-bottom-content {
    padding: 42px 0 56px;
  }

  .portal-home-bottom-rich {
    font-size: 16px;
  }

  .portal-home-bottom-rich h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-home .portal-home-overview,
  .portal-home .portal-home-directory-card,
  .portal-home .portal-home-feature-card,
  .portal-home .portal-home-content-card {
    animation: none;
  }
}


/* =========================================================
   PART 24.4 — GLOBAL FLOATING REGISTER / LOGIN + BACK TO TOP
   Display Settings URLs only. No page-content changes.
========================================================= */
@property --site-auth-laser-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.site-floating-auth {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 1200;

  width: min(520px, calc(100vw - 160px));
  min-width: 340px;
  padding: 6px;

  display: flex;
  gap: 10px;

  transform: translateX(-50%);

  background: rgba(8, 14, 21, 0.86);
  border: 1px solid rgba(255, 176, 0, 0.34);
  border-radius: 18px;

  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;

  backdrop-filter: blur(12px);
}

.site-floating-auth-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  --site-auth-laser-a: #ffe76a;
  --site-auth-laser-b: #ff8a00;
  --site-auth-laser-glow: rgba(255, 176, 0, 0.78);

  flex: 1 1 0;
  min-width: 0;
  min-height: 56px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;
  border-radius: 15px;

  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.site-floating-auth-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  padding: 2px;
  border-radius: inherit;

  background: conic-gradient(
    from var(--site-auth-laser-angle),
    transparent 0deg 238deg,
    var(--site-auth-laser-a) 260deg,
    #ffffff 282deg,
    var(--site-auth-laser-b) 304deg,
    transparent 328deg 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  filter:
    drop-shadow(0 0 5px var(--site-auth-laser-glow))
    drop-shadow(0 0 11px var(--site-auth-laser-glow));

  pointer-events: none;
  animation: site-auth-laser-loop 1.75s linear infinite;
}

.site-floating-auth-register {
  --site-auth-laser-a: #fff3a3;
  --site-auth-laser-b: #ff7a00;
  --site-auth-laser-glow: rgba(255, 181, 0, 0.88);

  color: #111821;
  background: linear-gradient(180deg, #ffe262 0%, #ffb000 100%);
  border: 1px solid #ffc21a;
  box-shadow:
    0 6px 18px rgba(255, 176, 0, 0.26),
    0 0 14px rgba(255, 176, 0, 0.28);
}

.site-floating-auth-login {
  --site-auth-laser-a: #b9f7ff;
  --site-auth-laser-b: #4b7bff;
  --site-auth-laser-glow: rgba(72, 214, 255, 0.84);

  color: #183d78;
  background: #f5f7fb;
  border: 1px solid #83e8ff;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.16),
    0 0 14px rgba(72, 214, 255, 0.24);
}

.site-floating-auth-login::before {
  animation-delay: -0.875s;
}

@keyframes site-auth-laser-loop {
  to {
    --site-auth-laser-angle: 360deg;
  }
}

.site-floating-auth-link:hover,
.site-floating-auth-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.site-floating-auth-link:hover::before,
.site-floating-auth-link:focus-visible::before {
  filter:
    drop-shadow(0 0 7px var(--site-auth-laser-glow))
    drop-shadow(0 0 16px var(--site-auth-laser-glow));
}

.site-floating-auth-link:focus-visible,
.site-back-to-top:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.site-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1201;

  width: 50px;
  height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: linear-gradient(180deg, #4debe4 0%, #24d5cf 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(36, 213, 207, 0.22);

  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;

  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.site-back-to-top:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

body.site-display-floating-auth {
  padding-bottom: 98px;
}

@media (max-width: 640px) {
  .site-floating-auth {
    left: 12px;
    right: 74px;
    bottom: 12px;

    width: auto;
    min-width: 0;
    padding: 5px;
    gap: 6px;

    transform: none;
    border-radius: 15px;
  }

  .site-floating-auth-link {
    min-height: 52px;
    padding-inline: 14px;
    border-radius: 13px;
    font-size: 14px;
  }

  .site-back-to-top {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
  }

  body.site-display-floating-auth {
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-floating-auth-link,
  .site-back-to-top {
    transition: none;
  }

  .site-floating-auth-link::before {
    animation: none;
    --site-auth-laser-angle: 286deg;
  }
}

/* =========================================================
   PART 24.5 — POPUP BANNER + RIGHT FLOATING SITE BANNER
   Custom code is isolated in sandboxed iframes.
========================================================= */
.site-floating-auth {
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.58),
    0 10px 26px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(255, 176, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}

.site-floating-auth-register {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 8px 22px rgba(255, 176, 0, 0.32),
    0 0 22px rgba(255, 176, 0, 0.34);
}

.site-floating-auth-login {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.32),
    0 8px 22px rgba(72, 214, 255, 0.22),
    0 0 22px rgba(72, 214, 255, 0.30);
}

/* PART 24.x — POPUP RESPONSIVE AUTO HEIGHT + SCROLL FIX */
.site-popup[hidden] {
  display: none !important;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 4000;

  display: grid;
  place-items: center;

  padding: 12px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.site-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 12, 0.78);
  backdrop-filter: blur(7px);
}

.site-popup-dialog {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  width: min(620px, calc(100vw - 24px));
  max-height: min(90vh, 900px);
  max-height: min(90dvh, 900px);
  min-height: 0;
  overflow: hidden;

  padding: 10px;

  background: rgba(9, 16, 24, 0.97);
  border: 1px solid rgba(255, 176, 0, 0.54);
  border-radius: 18px;

  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(255, 176, 0, 0.14);
}

.site-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 12;

  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(7, 14, 22, 0.92);
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 999px;

  font-size: 25px;
  line-height: 1;
  cursor: pointer;

  box-shadow: 0 8px 22px rgba(0,0,0,0.42);
}

.site-popup-content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: min(88vh, 880px);
  max-height: min(88dvh, 880px);

  display: grid;
  gap: 10px;

  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.site-popup-target,
.site-popup-visual {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.site-popup-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 12px;
}

.site-display-custom-frame {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}


.site-display-custom-frame.site-popup-custom-frame {
  display: block;
  width: 100%;
  height: min(82vh, 820px);
  height: min(82dvh, 820px);
  min-height: 420px;
  max-height: 82vh;
  max-height: 82dvh;
  border: 0;
  border-radius: 12px;
  background: transparent;
  pointer-events: auto;
  touch-action: pan-y;
}

body.site-popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .site-popup {
    padding: 8px;
  }

  .site-popup-dialog {
    width: calc(100vw - 16px);
    max-height: 92vh;
    max-height: 92dvh;
    padding: 6px;
    border-radius: 15px;
  }

  .site-popup-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .site-popup-content {
    max-height: calc(92vh - 12px);
    max-height: calc(92dvh - 12px);
  }

  .site-display-custom-frame.site-popup-custom-frame {
    width: 100%;
    height: 86vh;
    height: 86dvh;
    min-height: 520px;
    max-height: 86vh;
    max-height: 86dvh;
  }
}

.site-side-banner {
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 1185;

  width: 138px;
  max-height: min(58vh, 520px);

  transform: translateY(-50%);

  padding: 6px;
  overflow: hidden;

  background: rgba(8, 14, 21, 0.90);
  border: 1px solid rgba(255, 176, 0, 0.44);
  border-radius: 16px;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(255, 176, 0, 0.16);

  backdrop-filter: blur(10px);
  animation: site-side-banner-float 3.6s ease-in-out infinite;
}

.site-side-banner-target {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.site-side-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 10px;
}

.site-side-banner .site-display-custom-frame {
  height: 200px;
  border-radius: 10px;
}

@keyframes site-side-banner-float {
  0%, 100% { transform: translateY(calc(-50% - 6px)); }
  50% { transform: translateY(calc(-50% + 6px)); }
}

@media (max-width: 900px) {
  .site-side-banner {
    right: 10px;
    width: 104px;
  }

  .site-side-banner .site-display-custom-frame {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .site-display-custom-frame:not(.site-popup-custom-frame) {
    height: 260px;
  }

  .site-side-banner {
    right: 8px;
    top: 46%;
    width: 86px;
    padding: 4px;
    border-radius: 13px;
  }

  .site-side-banner .site-display-custom-frame {
    height: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-side-banner {
    animation: none;
  }
}

/* =========================================================
   PART 24.5.1 — FLOATING SITE BANNER LAUNCHER + MODAL APP
========================================================= */

.site-side-banner {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.site-side-banner-launcher,
.site-side-banner-static {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.site-side-banner-launcher {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 12px rgba(255, 176, 0, 0.20));
  transition: transform 0.18s ease, filter 0.18s ease;
}

.site-side-banner-launcher:hover,
.site-side-banner-launcher:focus-visible {
  transform: scale(1.055);
  filter:
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 18px rgba(255, 176, 0, 0.34));
}

.site-side-banner-launcher:focus-visible {
  outline: 2px solid #ffb000;
  outline-offset: 4px;
}

.site-side-banner-image {
  width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 14px;
}

.site-side-banner-fallback {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 10px;
  color: #0b1118;
  background: #ffb000;
  border-radius: 14px;
  font-weight: 900;
}

.site-side-program-modal[hidden] {
  display: none !important;
}

.site-side-program-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.site-side-program-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.84);
  backdrop-filter: blur(8px);
}

.site-side-program-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 36px));
  height: min(86dvh, 760px);
  min-height: 560px;
  padding: 10px;
  overflow: hidden;
  background: rgba(5, 11, 21, 0.98);
  border: 1px solid rgba(255, 176, 0, 0.50);
  border-radius: 22px;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.78),
    0 0 52px rgba(36, 132, 255, 0.16),
    0 0 30px rgba(255, 176, 0, 0.12);
}

.site-side-program-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(5, 11, 21, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-side-program-close:hover,
.site-side-program-close:focus-visible {
  background: #e33445;
}

.site-display-custom-frame.site-side-program-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

body.site-side-program-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-side-program-dialog {
    width: min(900px, calc(100vw - 24px));
    height: min(90dvh, 760px);
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .site-side-program-modal {
    padding: 8px;
  }

  .site-side-program-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    min-height: 0;
    padding: 6px;
    border-radius: 18px;
  }

  .site-side-program-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-side-banner-launcher {
    transition: none;
  }
}

/* =========================================================
   PART 24.5.4 — HOMEPAGE CARD THEME COLORS
   Values come from Display Settings CSS variables on <body>.
   Images/layout/content remain unchanged.
========================================================= */
.portal-home .portal-home-directory-card,
.portal-home .portal-home-feature-card,
.portal-home .portal-home-content-card{
  background:var(--display-card-bg,#111d28);
  border-color:var(--display-card-border,#2b4052);
}

.portal-home .portal-home-directory-card strong,
.portal-home .portal-home-feature-card h3,
.portal-home .portal-home-content-card h3,
.portal-home .portal-home-content-card h3 a{
  color:var(--display-card-text,#f4f7fb);
}

.portal-home .portal-home-directory-card p,
.portal-home .portal-home-feature-card p,
.portal-home .portal-home-content-card p{
  color:var(--display-card-secondary,#9fc8ea);
}

.portal-home .portal-home-directory-icon,
.portal-home .portal-home-feature-number,
.portal-home .portal-home-feature-card strong,
.portal-home .portal-home-card-type,
.portal-home .portal-home-read-link{
  color:var(--display-card-accent,#ff9d00);
}

.portal-home .portal-home-directory-icon{
  background:color-mix(in srgb,var(--display-card-accent,#ff9d00) 12%,transparent);
}

@keyframes portal-home-card-breathe{
  0%,100%{
    border-color:var(--display-card-border,#2b4052);
    box-shadow:0 0 0 transparent;
  }
  50%{
    border-color:color-mix(in srgb,var(--display-card-accent,#ff9d00) 58%,transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb,var(--display-card-accent,#ff9d00) 6%,transparent),
      0 0 24px color-mix(in srgb,var(--display-card-accent,#ff9d00) 16%,transparent);
  }
}

.portal-home .portal-home-directory-card:hover,
.portal-home .portal-home-feature-card:hover,
.portal-home .portal-home-content-card:hover{
  border-color:color-mix(in srgb,var(--display-card-accent,#ff9d00) 90%,transparent);
  box-shadow:0 0 30px color-mix(in srgb,var(--display-card-accent,#ff9d00) 24%,transparent);
}

/* =========================================================
   FLOATING SITE BANNER - CLICKABLE HOLY LIGHT
========================================================= */

.site-side-banner-launcher {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
  z-index: 1;
}

/* Main blue holy light */
.site-side-banner-launcher::before {
  content: "";

  position: absolute;
  left: 50%;
  top: 50%;

  width: 150%;
  height: 165%;

  transform:
    translate(-50%, -50%)
    scale(0.90);

  border-radius: 30px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(115, 210, 255, 0.95) 0%,
      rgba(55, 155, 255, 0.72) 24%,
      rgba(40, 102, 255, 0.44) 48%,
      rgba(35, 75, 235, 0.20) 64%,
      transparent 78%
    );

  filter: blur(14px);

  opacity: 0.60;

  z-index: -2;

  pointer-events: none;

  animation:
    siteBannerHolyLight
    1.7s
    ease-in-out
    infinite;
}

/* Outer glowing ring */
.site-side-banner-launcher::after {
  content: "";

  position: absolute;
  inset: -7px;

  border-radius: 18px;

  border:
    1px solid
    rgba(125, 215, 255, 0.75);

  box-shadow:
    0 0 8px rgba(90, 195, 255, 0.90),
    0 0 18px rgba(60, 145, 255, 0.72),
    0 0 34px rgba(45, 90, 255, 0.48);

  opacity: 0.72;

  z-index: -1;

  pointer-events: none;

  animation:
    siteBannerHaloRing
    1.7s
    ease-in-out
    infinite;
}

.site-side-banner-launcher .site-side-banner-image {
  position: relative;
  z-index: 2;

  display: block;
}

/* Stronger glow around actual image */
.site-side-banner-launcher .site-side-banner-image {
  filter:
    drop-shadow(0 0 5px rgba(110, 210, 255, 0.75))
    drop-shadow(0 0 14px rgba(55, 135, 255, 0.52));
}


/* =========================================================
   BREATHING
========================================================= */

@keyframes siteBannerHolyLight {

  0%,
  100% {
    opacity: 0.46;

    transform:
      translate(-50%, -50%)
      scale(0.88);
  }

  50% {
    opacity: 1;

    transform:
      translate(-50%, -50%)
      scale(1.13);
  }
}


@keyframes siteBannerHaloRing {

  0%,
  100% {
    opacity: 0.48;

    box-shadow:
      0 0 6px rgba(90, 195, 255, 0.55),
      0 0 14px rgba(55, 135, 255, 0.35);
  }

  50% {
    opacity: 1;

    box-shadow:
      0 0 12px rgba(130, 225, 255, 1),
      0 0 28px rgba(65, 160, 255, 0.90),
      0 0 48px rgba(45, 90, 255, 0.62);
  }
}


/* =========================================================
   INTERACTION
========================================================= */

.site-side-banner-launcher:hover {
  filter:
    brightness(1.12)
    drop-shadow(0 0 20px rgba(70, 170, 255, 0.82));
}

.site-side-banner-launcher:hover::before {
  opacity: 1;
}

.site-side-banner-launcher:active
.site-side-banner-image {
  transform: scale(0.94);
}

