/**
 * Hero treatment: grayscale photo + dotted overlay, navy type on a light
 * left wash so words stay readable (RBBi-style, Prime Trust colours).
 * Overlay menu: navy to logo gold.
 */

/* ---- Overlay menu: navy to logo gold ---- */
.menu_inner {
  background:
    radial-gradient(120% 90% at 110% 115%, rgba(212, 175, 55, 0.95) 0%, rgba(197, 160, 89, 0.35) 32%, rgba(11, 26, 61, 0) 58%),
    linear-gradient(165deg, #061024 0%, #0B1A3D 42%, #16325C 72%, #C5A059 100%) !important;
}

.menu li a:hover,
.menu li a.active,
.menu li.current-menu-item > a {
  color: #F3E2B0 !important;
}

/* ---- Photo: grayscale + newsprint dots ---- */
.pt-hero .hero_media,
.pt-hero .banner_bg,
.pt-block:has(> .banner_bg) > .banner_bg {
  filter: grayscale(100%) contrast(1.2) brightness(1.08) !important;
}

.pt-hero::after,
.pt-block:has(> .banner_bg)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 26, 61, 0.5) 1.05px, transparent 1.25px);
  background-size: 3.2px 3.2px;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

/* Light wash on the left so copy sits on white, photo stays on the right */
.pt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 28%,
    rgba(255, 255, 255, 0.28) 58%,
    rgba(255, 255, 255, 0.04) 82%,
    rgba(255, 255, 255, 0) 100%
  );
}

.home-banner .left_col:before {
  background: none;
}

.banner.banner_small,
.banner.banner_large {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.82) 36%,
    rgba(255, 255, 255, 0.32) 68%,
    rgba(255, 255, 255, 0.06) 88%,
    rgba(255, 255, 255, 0) 100%
  );
}

.banner.banner_small,
.banner.banner_large,
.home-banner .left_col,
.home-banner .right_col {
  z-index: 2;
}

/* ---- Type: solid navy, always readable ---- */
.home-banner .left_col {
  color: #0B1A3D;
}

.home-banner .year_text .txt,
.banner_small .small_title {
  color: #0B1A3D !important;
  font-weight: 700;
}

.home-banner .b_text .title,
.banner_small .b_text .title {
  background: none !important;
  -webkit-text-fill-color: #0B1A3D !important;
  color: #0B1A3D !important;
  text-shadow: none;
  display: block;
  width: 100%;
  max-width: min(16em, 100%);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.home-banner .hero_sub,
.home-banner .hero_support,
.home-banner .b_text .txt,
.home-banner .txtabs li,
.banner_small .section_desc,
.banner_small .short_desc {
  color: #1a2744 !important;
  text-shadow: none;
  display: block;
  max-width: min(42rem, 100%);
  overflow-wrap: break-word;
}

.home-banner .left_col .arr_btn {
  box-shadow: none;
}

@media (max-width: 900px) {
  .home-banner .b_text .title,
  .banner_small .b_text .title,
  .banner_small h1 .title,
  .home-banner .hero_sub,
  .home-banner .hero_support,
  .banner_small .section_desc {
    max-width: 100% !important;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pt-hero::before,
  .banner.banner_small,
  .banner.banner_large {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.78) 42%,
      rgba(255, 255, 255, 0.22) 78%,
      rgba(255, 255, 255, 0.04) 100%
    );
  }
}

@media (max-width: 600px) {
  .home-banner .b_text .title,
  .banner_small .b_text .title,
  .banner_small h1 .title {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem) !important;
    line-height: 1.2;
  }
}
