/* Independent progressive banner enhancement. Existing page palettes/layouts
   remain untouched. The artwork region always spans exactly half the banner. */
.financial-banner-art { display: none; }
@media screen {
  .financial-banner { position: relative; isolation: isolate; }
  .financial-banner-art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    padding: 12px 2%;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    color: currentColor;
    opacity: .19;
  }
  /* Separate bounded slots keep scattered artwork collision-free. Stable,
     page-specific art direction avoids layout jumps on every reload. */
  .banner-shape-slot {
    container-type: size;
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    --shape-angle: -12deg;
    --shape-shift: -14cqh;
  }
  .banner-shape-slot:nth-child(2) { --shape-angle: 14deg; --shape-shift: 14cqh; }
  [data-art-family="loan"] { --art-angle-one: -14deg; --art-angle-two: 9deg; }
  [data-art-family="ctc"] { --art-angle-one: 10deg; --art-angle-two: -13deg; }
  [data-art-family="fire"] { --art-angle-one: -8deg; --art-angle-two: 14deg; }
  [data-art-family="schedule"] { --art-angle-one: 13deg; --art-angle-two: -10deg; }
  [data-art-family="blogs"] { --art-angle-one: -11deg; --art-angle-two: 7deg; }
  [data-art-family="article"] { --art-angle-one: 8deg; --art-angle-two: -14deg; }
  [data-art-family="faq"] { --art-angle-one: -9deg; --art-angle-two: 12deg; }
  [data-art-family="terms"] { --art-angle-one: 14deg; --art-angle-two: -8deg; }
  [data-art-family="admin"] { --art-angle-one: -13deg; --art-angle-two: 10deg; }
  [data-art-family="missing"] { --art-angle-one: 7deg; --art-angle-two: -11deg; }
  .banner-shape-slot:first-child { --shape-angle: var(--art-angle-one, -12deg); }
  .banner-shape-slot:nth-child(2) { --shape-angle: var(--art-angle-two, 14deg); }
  .banner-finance-shape {
    display: block;
    width: min(76cqw, 56cqh);
    height: min(76cqw, 56cqh);
    transform: translateY(var(--shape-shift)) rotate(var(--shape-angle));
    min-width: 0;
    min-height: 0;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    box-shadow: none;
    filter: none;
  }
  .banner-border-star { fill: currentColor; stroke: none; }
  .financial-banner.masthead .financial-banner-art,
  .financial-banner.blog-stack-tile .financial-banner-art,
  .financial-banner.workspace-intro .financial-banner-art { opacity: .13; }
}
@media screen and (max-width: 760px) {
  /* Keep support/legal/admin banner headings visible instead of the legacy
     mobile display:none rule. New asset avoids reusing cached layout CSS. */
  .masthead .page-heading {
    display: block;
    width: 100%;
    min-width: 0;
    padding-left: 0;
    border-left: 0;
    overflow-wrap: break-word;
  }
  /* Stack independent slots on mobile: rotated silhouettes cannot intersect. */
  .financial-banner-art {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    opacity: .11;
    padding: 8px 1%;
    gap: 6%;
  }
  .banner-shape-slot .banner-finance-shape {
    width: min(76cqw, 76cqh);
    height: min(76cqw, 76cqh);
    transform: translateX(-5cqw) rotate(var(--shape-angle));
  }
  .banner-shape-slot:nth-child(2) .banner-finance-shape {
    transform: translateX(5cqw) rotate(var(--shape-angle));
  }
}
