@charset "UTF-8";
/*!
Theme Name: BFJ Digital
Theme URI: 
Author: BFJ Dev Team
Author URI: https://bfj.digital/
Description: Theme for Bishop Tyrrell Anglican College, a leading educational institution dedicated to supporting every student to achieve their full potential from Preschool to Year 12.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/
/* Variables (should be on top, contains overrides) */
/* ----------------------------------------------------------
   PlusJakartaSans
   Description: PlusJakartaSans font
----------------------------------------------------------- */
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-Light.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-Regular.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-Medium.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-SemiBold.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-Bold.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("fonts/plus-jakarta-sans/PlusJakartaSans-ExtraBold.woff") format("woff"), url("fonts/plus-jakarta-sans/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --grey: #3E495C;
  --teal: #00A0AF;
  --red: #D11242;
  --navy: #1D428A;
  --white: #fff;
  --black: #000;
  --blue: #044cb4;
  --cobalt: #1D428A;
  --yellow: #FDB913;
  --light-grey: #F2F4FA;
  --blue-gray: #3F5D69;
  --blue-black: #00070D;
  --font-poppins: "Poppins", sans-serif;
  --font-plus-jakarta-sans: "PlusJakartaSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-default: 1.125rem;
}

/*
  Buttons
 ------------------------------------------------------ */
.btn-default {
  line-height: 1;
  display: inline-block;
  padding: 0.8125rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0.0625rem solid #1D428A;
  border-radius: 6.25rem;
  background: #1D428A;
  color: #fff;
}
.btn-default:hover {
  color: #1D428A;
  background-color: #CCE9FF;
  border: 0.0625rem solid #CCE9FF;
}

.btn-grey {
  color: var(--white);
  background: var(--grey);
  border-color: var(--grey);
}
.btn-grey:active {
  border-color: var(--grey);
}
.btn-grey:hover {
  color: var(--white);
  background: var(--grey);
}

.btn-transparent {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
  border-radius: 2.75rem;
  padding: 10px 24px;
  border: 0px;
  color: var(--cobalt);
  font-weight: 500;
  font-family: var(--font-plus-jakarta-sans);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.btn-transparent:active {
  border-color: var(--white);
}
.btn-transparent:hover {
  color: var(--white);
  background: var(--white);
}

.btn-grey {
  color: var(--cobalt);
  background: rgba(0, 7, 13, 0.05);
  border-color: rgba(0, 7, 13, 0.05);
  border-radius: 2.75rem;
  padding: 10px 24px;
  border: 0px;
  color: var(--cobalt);
  font-weight: 500;
  font-family: var(--font-plus-jakarta-sans);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.btn-grey--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-transparent {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2.75rem;
  padding: 10px 24px;
  border: 0px;
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-plus-jakarta-sans);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.btn-transparent--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.btn-transparent:hover {
  background: #CCE9FF;
}

.btn-blue {
  color: var(--white);
  background: var(--cobalt);
  border-color: var(--cobalt);
  border-radius: 2.75rem;
  padding: 10px 24px;
  border: 0px;
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-plus-jakarta-sans);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.btn-blue--light {
  background: #CCE9FF;
  color: var(--cobalt);
}

.btn-red {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}
.btn-red:active {
  border-color: var(--red);
}
.btn-red:hover {
  color: var(--white);
  background: var(--red);
}

.link-text {
  color: var(--blue);
  text-decoration: underline;
  font-size: 1rem;
}

.read-more {
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-outline {
  color: #fff;
  border-color: #fff;
  line-height: 1;
  display: inline-block;
  padding: 0.8125rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0.0625rem solid;
  border-radius: 6.25rem;
}
.btn-outline:hover {
  color: #1D428A;
  background-color: #CCE9FF;
  border: 0.0625rem solid #CCE9FF;
}

.btn-sky-lighter {
  color: #1D428A;
  background: #E5F4FF;
  line-height: 1;
  display: inline-block;
  padding: 0.8125rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0.0625rem solid #E5F4FF;
  border-radius: 6.25rem;
}

.btn-white {
  color: #1D428A;
  background: #fff;
  line-height: 1;
  display: inline-block;
  padding: 0.8125rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0.0625rem solid #fff;
  border-radius: 6.25rem;
}
.btn-white:hover {
  color: #1D428A;
  background-color: #CCE9FF;
  border: 0.0625rem solid #CCE9FF;
}

.btn-neutral-darkest {
  color: #1D428A;
  border-color: transparent !important;
  background: rgba(0, 7, 13, 0.05);
  line-height: 1;
  display: inline-block;
  padding: 0.8125rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 0.0625rem solid;
  border-radius: 6.25rem;
}

.btn-text-white-only {
  color: #fff;
  line-height: 1;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  display: flex;
  align-items: center;
}

.btn-text-blue-only {
  color: #1D428A;
  line-height: 1;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ----------------------------------------------------------
   Headings
   Description: Styles for the global heading
----------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-plus-jakarta-sans);
  font-weight: 600;
}

h1 {
  font-size: 2.75rem;
}
@media (min-width: 992px) {
  h1 {
    font-size: 4.5rem;
  }
}

/* ----------------------------------------------------------
   Global Styles
   Description: Default styles for all pages
----------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--blue-black);
  font-family: var(--font-plus-jakarta-sans) !important;
  background: #fff;
  font-size: 1.125rem;
  height: 100vh;
}
body.admin-bar {
  height: calc(100vh - 32px);
}
body.is-opened {
  overflow: hidden;
}

h2 {
  color: #1D428A;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -0.52px;
}

h3 {
  color: #1D428A;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 52.8px;
  letter-spacing: -0.44px;
}

h4 {
  color: #1D428A;
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.44px;
}

p {
  margin: 0;
  padding-top: 0px;
  padding-bottom: 1.5rem;
  line-height: 1.6;
}

.w-100 {
  width: 100%;
}

.w-50 {
  width: 50%;
}
@media (max-width: 767.98px) {
  .w-50 {
    width: 100%;
  }
}

.h-100 {
  height: 100%;
}

ol li {
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
}
table th,
table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #e5e5e5;
}
table th {
  background-color: #f4f6f8;
  font-weight: 600;
  color: #2c3e50;
}
table thead {
  background-color: #eef2f6;
}
table thead th {
  font-size: 16px;
  letter-spacing: 0.3px;
}
table tbody tr:nth-child(even) {
  background-color: rgba(128, 128, 128, 0.3);
}
table tbody tr:hover {
  background-color: #f1f7ff;
  transition: background 0.2s ease-in-out;
}
table a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}
table a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   WordPress Modifications
   Description: Styles to modify default WordPress blocks and elements
----------------------------------------------------------- */
.wp-block-post-featured-image {
  margin: 80px auto;
}
.wp-block-post-featured-image.rounded img {
  border-radius: 16px;
  overflow: hidden;
}

.wp-block-video {
  margin: 80px auto;
}
.wp-block-video.rounded video {
  border-radius: 16px;
  overflow: hidden;
}

.wp-block-column.container {
  margin: auto !important;
}

.wp-block-columns .wp-block-heading {
  margin-bottom: 0.9375rem;
  margin-top: 1.875rem;
}

.gfield--input-type-datepicker .ginput_container_date input {
  width: 100% !important;
}

/* ========================================================================
   HEADER — Mobile First (BEM Structure)
   ========================================================================== */
.header {
  position: relative;
  z-index: 2;
}
.header__wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0px;
  gap: 20px;
}
.header__wrapper__logo {
  width: 128px;
}
@media (min-width: 0px) and (max-width: 767px) {
  .header__wrapper__logo {
    width: 82px;
  }
}
.header__wrapper__logo img {
  width: 100%;
}
.header__wrapper__logo--is-open {
  display: none;
}
.header__wrapper__nav-right {
  display: flex;
  gap: 15px;
  margin-left: auto;
  position: relative;
}
@media (min-width: 0px) and (max-width: 767px) {
  .header__wrapper__nav-right--book {
    display: none;
  }
}
.header__wrapper__nav-right--search {
  color: var(--white);
}
.header__wrapper__nav-right--search:hover span {
  color: #1d428a;
}
@media (min-width: 0px) and (max-width: 767px) {
  .header__wrapper__nav-right--search {
    padding: 10px;
  }
}
@media (min-width: 0px) and (max-width: 767px) {
  .header__wrapper__nav-right--search span {
    display: none;
  }
}
.header {
  /* Dark mode when mega menu is open */
}
.header.is-opened, .header.is-search-opened {
  background: var(--cobalt);
  color: #fff;
}
.header.is-opened .header__wrapper, .header.is-search-opened .header__wrapper {
  padding: 5px 0px;
  position: relative;
}
.header.is-opened .header__wrapper__logo, .header.is-search-opened .header__wrapper__logo {
  display: none;
  width: 0;
}
.header.is-opened .header__wrapper__logo--is-open, .header.is-search-opened .header__wrapper__logo--is-open {
  width: 62px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header.is-opened .header__wrapper__logo--is-open img, .header.is-search-opened .header__wrapper__logo--is-open img {
  width: 100%;
}
@media (min-width: 0px) and (max-width: 767px) {
  .header.is-opened .header__wrapper__logo--is-open, .header.is-search-opened .header__wrapper__logo--is-open {
    width: 82px;
  }
}
.header.is-opened .header__wrapper__nav-right--book, .header.is-search-opened .header__wrapper__nav-right--book {
  background: #fff;
  color: var(--cobalt);
}
.header.is-opened .header__wrapper__nav-right--search, .header.is-search-opened .header__wrapper__nav-right--search {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.header.is-search-opened .header__search-field {
  visibility: visible;
  opacity: 1;
}
.header__search-field {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  background: #e5f4ff;
  width: 100%;
  top: 116px;
  left: 0;
  padding: 30px 0;
  z-index: 9999;
}
.header__search-field form {
  display: flex;
}
.header__search-field form input {
  height: 47px;
  width: calc(100% - 140px);
  border: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 46.8px;
  letter-spacing: -0.36px;
  color: var(--cobalt);
  background: #e5f4ff;
  outline: none !important;
}
.header__search-field form input::-moz-placeholder {
  color: var(--cobalt);
  opacity: 1;
}
.header__search-field form input::placeholder {
  color: var(--cobalt);
  opacity: 1;
}
.header__search-field form input::-webkit-input-placeholder {
  color: var(--cobalt);
}
.header__search-field form input:-ms-input-placeholder {
  color: var(--cobalt);
}
.header__search-field form input::-ms-input-placeholder {
  color: var(--cobalt);
}
.header__search-field form button {
  width: 140px;
  cursor: pointer;
}

/* ========================================================================
   MENU CONTAINER
   ========================================================================== */
nav {
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
}

/* ========================================================================
   BASE MENU STRUCTURE
   ========================================================================== */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  color: #fff;
}
.menu__item {
  position: relative;
  font-size: 16px;
}
.menu__link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s ease;
}
.menu__submenu {
  position: absolute;
  left: 0;
  z-index: 999;
  margin: 0;
  list-style: none;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.5s ease, top 0.5s ease;
}
.menu > .menu__item {
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  .menu > .menu__item {
    display: none;
  }
}

/* ========================================================================
   DROPDOWN MENU (Small hover-based submenu)
   ========================================================================== */
.menu__item--has-dropdown {
  /* Hover states for desktop */
}
.menu__item--has-dropdown:hover > .menu__link {
  transform: translate(50px, -100px);
}
.menu__item--has-dropdown:hover > .menu__submenu {
  opacity: 1;
  visibility: visible;
  top: 0;
}
.menu__item--has-dropdown {
  /* Dropdown panel */
}
.menu__item--has-dropdown > .menu__submenu {
  top: 200%;
  /* Start position before hover */
  background: #e5f4ff;
  border-radius: 20px;
  padding: 15px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Dropdown menu items */
}
.menu__item--has-dropdown > .menu__submenu > .menu__item {
  border-radius: 44px;
  padding: 10px 24px;
  background: #e5f4ff;
  color: var(--cobalt);
  transition: background 0.5s ease;
}
.menu__item--has-dropdown > .menu__submenu > .menu__item:hover {
  background: #cce9ff;
}

/* ========================================================================
   MEGA MENU (Full-screen dropdown panel)
   ========================================================================== */
.menu__item--has-mega-menu {
  /* Full-screen dark backdrop */
}
.menu__item--has-mega-menu::after {
  content: "";
  position: fixed;
  background: var(--cobalt);
  width: 100%;
  height: 100%;
  left: 0;
  top: 90px;
  display: none;
}
.menu__item--has-mega-menu {
  /* Mega panel */
}
.menu__item--has-mega-menu > .menu__submenu {
  position: fixed;
  width: 100%;
  top: 90px;
  padding: 64px 0px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  height: 0 !important;
  overflow: hidden;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  .menu__item--has-mega-menu > .menu__submenu {
    width: calc(100% - 20px);
    max-width: 540px;
    right: 0;
    margin: auto;
    left: 0;
    -moz-columns: auto !important;
         columns: auto !important;
    overflow: auto;
    padding: 20px 0px;
  }
}
.menu__item--has-mega-menu > .menu__submenu {
  /* Medium devices: 768px – 991px */
}
@media (min-width: 768px) and (max-width: 991px) {
  .menu__item--has-mega-menu > .menu__submenu {
    width: 340px;
    padding-left: calc(50% - 360px);
    -moz-columns: 1 !important;
         columns: 1 !important;
  }
}
.menu__item--has-mega-menu > .menu__submenu {
  /* Large devices: 992px – 1199px */
}
@media (min-width: 992px) and (max-width: 1199px) {
  .menu__item--has-mega-menu > .menu__submenu {
    width: 460px;
    padding-left: calc(50% - 480px);
  }
}
.menu__item--has-mega-menu > .menu__submenu {
  /* Extra large devices: 1200px – 1399px */
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .menu__item--has-mega-menu > .menu__submenu {
    width: 550px;
    max-width: 550px;
    padding-left: calc(50% - 570px);
  }
}
@media (min-width: 1400px) {
  .menu__item--has-mega-menu > .menu__submenu {
    width: 640px;
    max-width: 640px;
    padding-left: calc(50% - 660px);
  }
}
.menu__item--has-mega-menu > .menu__submenu .menu__item {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 36px;
  line-height: 46.8px;
  letter-spacing: -0.36px;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  .menu__item--has-mega-menu > .menu__submenu .menu__item {
    font-size: 24px;
    letter-spacing: -0.24px;
    margin-bottom: 20px;
    padding-right: 10px;
  }
}
.menu__item--has-mega-menu > .menu__submenu .menu__item > .menu__link {
  color: #fff;
  line-height: 40px;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  .menu__item--has-mega-menu > .menu__submenu .menu__item > .menu__link {
    line-height: 31.2px;
  }
}
.menu__item--has-mega-menu {
  /* ACTIVE STATE */
}
.menu__item--has-mega-menu.is-opened::after {
  display: block;
}
.menu__item--has-mega-menu.is-opened > .menu__submenu {
  opacity: 1;
  visibility: visible;
  height: calc(100% - 300px);
  -moz-columns: 2;
       columns: 2;
  height: auto !important;
}

/* ========================================================================
   HAMBURGER BUTTON
   ========================================================================== */
#primary-menu > .hamburger {
  display: flex;
  cursor: pointer;
  justify-content: center;
  width: 30px;
  border-radius: 50%;
  height: 30px;
  padding: 6px;
  background: var(--cobalt);
  position: relative;
}
#primary-menu > .hamburger > .menu__link--label {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  /* top bar */
  border-top: 2px solid #ffffff;
  padding-bottom: 20px;
  border-radius: 2px;
  margin-top: 8px;
  font-size: 0;
}
#primary-menu > .hamburger > .menu__link--label:before, #primary-menu > .hamburger > .menu__link--label:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
#primary-menu > .hamburger > .menu__link--label:before {
  top: 4px;
}
#primary-menu > .hamburger > .menu__link--label:after {
  top: 10px;
}
#primary-menu > .hamburger.is-opened > .menu__link--label {
  border-top: 2px solid transparent;
  margin-top: 6px;
}
#primary-menu > .hamburger.is-opened > .menu__link--label:before {
  top: 6px;
  transform: rotate(45deg);
}
#primary-menu > .hamburger.is-opened > .menu__link--label:after {
  top: 6px;
  transform: rotate(-45deg);
}

/* ========================================================================
   MEGA MENU FOOTER
   ========================================================================== */
.mega-menu-footer {
  position: fixed;
  bottom: 0;
  height: 170px;
  width: 100%;
  z-index: 999;
  background: var(--cobalt);
  color: #cce9ff;
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 0px) and (max-width: 767px) {
  .mega-menu-footer {
    height: 130px;
  }
}
.mega-menu-footer.is-opened {
  opacity: 1;
  visibility: visible;
  height: auto !important;
}
.mega-menu-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-menu-footer ul li {
  font-weight: 400;
  line-height: 21px;
  font-size: 14px;
}
.mega-menu-footer ul li a {
  color: #cce9ff;
}
.mega-menu-footer ul.social-media {
  display: flex;
  gap: 30px;
  margin-top: 24px;
}

/* ========================================================================
   SUBMENU POSITIONING
   ========================================================================== */
#primary-menu > li > ul > li > ul {
  position: fixed;
  top: 90px;
  left: auto;
  right: 0;
  width: calc(50% - 12px);
  display: flex;
  gap: 30px;
  padding: 64px 0;
  height: 0 !important;
  overflow: hidden;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  #primary-menu > li > ul > li > ul {
    width: 100%;
    position: initial;
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }
}
#primary-menu > li > ul > li > ul {
  /* Medium devices: 768px – 991px */
}
@media (min-width: 768px) and (max-width: 991px) {
  #primary-menu > li > ul > li > ul {
    width: 340px;
    padding-right: calc(50% - 360px);
  }
}
#primary-menu > li > ul > li > ul {
  /* Large devices: 992px – 1199px */
}
@media (min-width: 992px) and (max-width: 1199px) {
  #primary-menu > li > ul > li > ul {
    width: 460px;
    padding-right: calc(50% - 480px);
  }
}
#primary-menu > li > ul > li > ul {
  /* Extra large devices: 1200px – 1399px */
}
@media (min-width: 1200px) and (max-width: 1399px) {
  #primary-menu > li > ul > li > ul {
    width: 550px;
    padding-right: calc(50% - 570px);
  }
}
@media (min-width: 1400px) {
  #primary-menu > li > ul > li > ul {
    width: 640px;
    padding-right: calc(50% - 660px);
  }
}
#primary-menu > li > ul > li > ul.is-opened {
  visibility: visible;
  opacity: 1;
  height: auto !important;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  #primary-menu > li > ul > li > ul.is-opened {
    max-height: 1000px;
    margin-top: 20px;
  }
}
#primary-menu > li > ul > li > ul > li {
  line-height: 1;
  font-size: 16px;
  height: auto;
  margin-bottom: 0;
  width: 100%;
}
#primary-menu > li > ul > li > ul > li > span {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 24px;
  margin-top: 6px;
  /* Small devices: 0px – 767px */
}
@media (min-width: 0px) and (max-width: 767px) {
  #primary-menu > li > ul > li > ul > li > span {
    margin-top: 0px;
  }
}
#primary-menu > li > ul > li > ul > li > ul {
  line-height: 1;
}
#primary-menu > li > ul > li > ul > li > ul > li {
  line-height: 21px;
  font-size: 14px;
  height: auto;
  margin-bottom: 15px;
}
#primary-menu > li > ul > li > ul > li > ul > li:last-child {
  margin-bottom: 0 !important;
}
#primary-menu > li > ul > li > ul > li > ul > li a {
  line-height: 1;
  font-weight: 500;
}

#primary-menu > li > ul > li > ul > li > ul {
  position: inherit;
  opacity: 1;
  visibility: visible;
  padding: 0;
}

/* Alternatively, use the sibling combinator to target the label when the submenu is open */
.menu__link--label.is-clicked {
  border-bottom: 2px solid #fff;
}

/* ========================================================================
   MENU ARROW (for nested items with children)
   ========================================================================== */
.menu__link--has-children {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu__arrow {
  display: inline-block;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

/* Arrow hover effect */
.menu__link--has-children:hover .menu__arrow {
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   Footer
   Description: Styles for the global footer
----------------------------------------------------------- */
.site-footer {
  background-color: #1f3f82;
  color: #ffffff;
  font-size: 0.875rem;
}
.site-footer__inner {
  padding: 2.5rem 0;
}
@media (min-width: 992px) {
  .site-footer__inner {
    padding: 5rem 0;
  }
}
.site-footer__cta {
  gap: 24px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}
@media (max-width: 767.98px) {
  .site-footer__cta {
    flex-direction: column;
  }
}
.site-footer__title {
  font-size: 22px;
  margin-bottom: 24px;
  line-height: 30.8px;
  color: #fff;
}
.site-footer__text {
  line-height: 24px;
  max-width: 786px;
  padding: 0;
}
@media (max-width: 767.98px) {
  .site-footer__text {
    max-width: auto;
  }
}
.site-footer__cta-content {
  width: calc(100% - 150px);
}
@media (max-width: 767.98px) {
  .site-footer__cta-content {
    width: 100%;
  }
}
.site-footer__cta-actions {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 1.25rem;
}
@media (min-width: 992px) {
  .site-footer__cta-actions {
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 24px;
    width: 150px;
    margin-top: 0;
  }
}
.site-footer__cta-btn {
  border: 2px solid #ffffff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
}
.site-footer__cta-btn:hover, .site-footer__cta-btn:focus-visible {
  background-color: #ffffff;
  color: #1f3f82;
}
.site-footer {
  /* Main content */
}
.site-footer__content {
  display: grid;
  grid-template-columns: 2fr 4fr;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 48px 0;
  gap: 32px;
}
@media (max-width: 767.98px) {
  .site-footer__content {
    grid-template-columns: 1fr;
  }
}
.site-footer__heading {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 24px;
  color: #fff;
}
.site-footer__address {
  font-style: normal;
}
.site-footer__address ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.site-footer__address ul li a {
  color: #fff;
  text-decoration: none;
}
.site-footer__address ul li a:hover, .site-footer__address ul li a:focus-visible {
  text-decoration: underline;
}
.site-footer__nav {
  display: grid;
  gap: 32px;
  height: auto;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}
@media (max-width: 767.98px) {
  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
.site-footer__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.site-footer__link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0;
  text-decoration: none;
}
.site-footer__link:hover, .site-footer__link:focus-visible {
  text-decoration: underline;
}
.site-footer {
  /* Social icons */
}
.site-footer__social-media {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 1.25rem 0 0 0.9375rem;
}
@media (min-width: 768px) {
  .site-footer__social-media {
    margin: 0;
  }
}
.site-footer__logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
@media (max-width: 767.98px) {
  .site-footer__logo {
    flex-direction: column;
  }
}
.site-footer__logo > div:first-child {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer__logo > div:first-child img {
  height: 80px;
  width: auto;
}
.site-footer__logo__avatars ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.site-footer__bottom {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}
.site-footer__bottom p {
  padding: 0;
}

.bfj-feature-grid__cta .btn-default {
  color: #1D428A;
  background: #fff;
  border: 0.0625rem solid #fff;
}
.bfj-feature-grid__cta .btn-default:hover {
  color: #1D428A;
  background-color: #CCE9FF;
  border: 0.0625rem solid #CCE9FF;
}

.page-template-page-contact .header {
  background: var(--cobalt, #1D428A);
}
.page-template-page-contact .bfj-hero-banner__wrapper__actions {
  align-items: center;
}

.page-template-page-resources .header {
  background: #17346E;
}
.page-template-page-resources .header .mega-menu-footer,
.page-template-page-resources .header .menu__item--has-mega-menu::after {
  background: #17346E;
}
.page-template-page-resources .bfj-hero-banner.main-banner {
  margin-top: 0;
}

.bfj-news-events-listing {
  background-color: #fff;
  padding: 1.25rem 0 3.75rem;
  position: relative;
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .bfj-news-events-listing {
    padding: 5rem 0;
  }
}
.bfj-news-events-listing__category {
  text-align: center;
}
.bfj-news-events-listing__category--title {
  color: #00070D;
  font-size: 52px;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -0.52px;
  margin: 0 0 24px;
  padding: 0;
  text-transform: capitalize;
}
.bfj-news-events-listing__category--description {
  color: #00070D;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  margin: 0 0 32px;
  padding: 0;
}
.bfj-news-events-listing__filter {
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}
.bfj-news-events-listing__filter__list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
@media (min-width: 768px) {
  .bfj-news-events-listing__filter__list {
    flex-direction: row;
  }
}
.bfj-news-events-listing__filter__item {
  margin: 0;
}
.bfj-news-events-listing__filter__item.active a {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: #F2F2F2;
}
.bfj-news-events-listing__filter__item a {
  border-radius: 4px;
  display: block;
  padding: 10px 16px;
  color: #1D428A;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}
.bfj-news-events-listing__link {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  color: #1f3c88;
  line-height: 1.4;
}
.bfj-news-events-listing__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 80px;
}
.bfj-news-events-listing__header p {
  padding: 0;
}
.bfj-news-events-listing__title {
  font-size: 52px;
  font-weight: 700;
  color: #1D428A;
  margin: 0 0 24px;
}
.bfj-news-events-listing__view-all {
  font-weight: 600;
  text-decoration: none;
  color: #1D428A;
}
.bfj-news-events-listing__view-all:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}
.bfj-news-events-listing__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  margin-bottom: 64px;
}
.bfj-news-events-listing__media {
  width: 100%;
  height: 270px;
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 767.98px) {
  .bfj-news-events-listing__media {
    height: 198px;
  }
}
.bfj-news-events-listing__media img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.bfj-news-events-listing__meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
  align-items: center;
  list-style-type: none;
  padding: 0;
}
.bfj-news-events-listing__read-time {
  background-color: rgba(0, 7, 13, 0.05);
  color: #000;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.bfj-news-events-listing__tag {
  background-color: #eef2ff;
  color: #1D428A;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.bfj-news-events-listing__heading {
  font-size: 28px;
  font-weight: 700;
  color: #1D428A;
  margin: 0 0 8px;
  line-height: 40px;
}
.bfj-news-events-listing__excerpt {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}
.bfj-news-events-listing__link {
  font-weight: 600;
  color: #1D428A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.bfj-news-events-listing__buttons {
  position: absolute;
  right: 64px;
  bottom: 60px;
  display: flex;
  gap: 16px;
}
@media (max-width: 767.98px) {
  .bfj-news-events-listing__buttons {
    right: 12px;
    bottom: 8.125rem;
  }
}
.bfj-news-events-listing__buttons button {
  cursor: pointer;
  border-radius: 48px;
  border: 1px solid #FFF;
  background: #F2F2F2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pagination wrapper */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 0;
}

/* Base circle */
.page-numbers li a,
.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Inactive */
.page-numbers li a {
  background-color: #f2f2f2;
  color: #1d428a;
}

/* Hover */
.page-numbers li a:hover {
  background-color: #1d428a;
  color: #fff;
}

/* Active page */
.page-numbers li .current {
  background-color: #1d428a;
  color: #fff;
  pointer-events: none;
}

.page-numbers .prev,
.page-numbers .next {
  display: none;
}

/* ----------------------------------------------------------
   Social Share Component
----------------------------------------------------------- */
.social-share {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.social-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
}
.social-share__btn svg {
  width: 24px;
  height: 24px;
}
.social-share__btn:hover, .social-share__btn:focus-visible {
  background-color: transparent;
  transform: scale(1.05);
}
.social-share__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.social-share__btn--copy {
  position: relative;
}
.social-share__btn--copy.is-copied::after {
  content: "Copied!";
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--cobalt, #1D428A);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.social-share--light .social-share__btn {
  background-color: rgba(29, 66, 138, 0.1);
  color: var(--cobalt, #1D428A);
}
.social-share--light .social-share__btn svg path {
  fill: var(--cobalt, #1D428A);
}
.social-share--light .social-share__btn:hover, .social-share--light .social-share__btn:focus-visible {
  background-color: rgba(29, 66, 138, 0.2);
}
.social-share--light .social-share__btn:focus-visible {
  outline-color: var(--cobalt, #1D428A);
}
.social-share--light .social-share__btn--copy.is-copied::after {
  background: var(--cobalt, #1D428A);
  color: #fff;
}

.single-news-events .header {
  background: var(--cobalt, #1D428A);
}
.single-news-events__author {
  padding: 20px 0 60px;
}
.single-news-events__author .justify-content-between {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .single-news-events__author .justify-content-between {
    flex-direction: row;
  }
}
.single-news-events__author {
  background: var(--cobalt, #1D428A);
}
.single-news-events__author__details {
  display: flex;
  align-items: center;
  gap: 16px;
}
.single-news-events__author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 56px;
  overflow: hidden;
}
.single-news-events__author__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.single-news-events__author__text h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  padding: 0;
  margin: 0;
}
.single-news-events__author__text ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.single-news-events__author__text ul li {
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  color: #fff;
  font-size: 14px;
}
.single-news-events__socmed {
  display: flex;
  align-items: center;
}
.single-news-events__featured-image img {
  width: 100%;
}
.single-news-events__content-wrapper {
  margin: 5rem 0;
}
.single-news-events__content-wrapper__categories {
  width: 100%;
  max-width: 768px;
  margin: auto;
  justify-content: center !important;
}
@media (min-width: 768px) {
  .single-news-events__content-wrapper__categories {
    justify-content: space-between !important;
  }
}
.single-news-events__content-wrapper__categories ul {
  list-style-type: none;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.single-news-events__content-wrapper__categories__tag {
  background-color: rgba(0, 7, 13, 0.05);
  color: #1D428A;
  padding: 8px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.single-news-events__content-wrapper__categories .single-news-events__content-wrapper__socmed {
  display: none;
}
@media (min-width: 768px) {
  .single-news-events__content-wrapper__categories .single-news-events__content-wrapper__socmed {
    display: flex;
    align-items: center;
  }
}
.single-news-events__content-wrapper__post {
  width: 100%;
  max-width: 768px;
  margin: auto;
}
.single-news-events__content-wrapper__post__author {
  text-align: center;
}
.single-news-events__content-wrapper__post__author h4 {
  margin-bottom: 5px;
}
.single-news-events__content-wrapper__post__author__avatar {
  width: 112px;
  height: 112px;
  border-radius: 112px;
  overflow: hidden;
  margin: 0 auto 16px;
}
.single-news-events__content-wrapper__post__author__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.single-news-events__content-wrapper__post__author h4 {
  color: #1D428A;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}
.single-news-events__content-wrapper__post__author p {
  color: #00070D;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.single-news-events__content-wrapper__post {
  /* ---------------------------------- Headings ---------------------------------- */
}
.single-news-events__content-wrapper__post h1,
.single-news-events__content-wrapper__post h2,
.single-news-events__content-wrapper__post h3,
.single-news-events__content-wrapper__post h4,
.single-news-events__content-wrapper__post h5,
.single-news-events__content-wrapper__post h6 {
  color: #1D428A;
}
.single-news-events__content-wrapper__post h2 {
  font-size: 52px;
  font-style: normal;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -0.52px;
}
.single-news-events__content-wrapper__post h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 46.8px;
  letter-spacing: -0.36px;
}
.single-news-events__content-wrapper__post h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 30.8px;
  letter-spacing: -0.22px;
}
.single-news-events__content-wrapper__post .single-news-events__content-wrapper__socmed h6 {
  font-size: 18px;
  font-weight: 600;
  color: #1D428A;
  margin: 0 0 8px;
}
.single-news-events__content-wrapper__post .single-news-events__content-wrapper__socmed {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 0;
}
.single-news-events__content-wrapper {
  /* ---------------------------------- Text ---------------------------------- */
}
.single-news-events__content-wrapper p {
  color: #00070D;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.single-news-events__content-wrapper strong {
  font-weight: 600;
}
.single-news-events__content-wrapper em {
  font-style: italic;
}
.single-news-events__content-wrapper a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.single-news-events__content-wrapper a:hover {
  text-decoration-thickness: 2px;
}
.single-news-events__content-wrapper {
  /* ---------------------------------- Images & Figures (Gutenberg Image Block) ---------------------------------- */
}
.single-news-events__content-wrapper figure {
  margin: 0 0 48px;
}
.single-news-events__content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.single-news-events__content-wrapper figcaption {
  border-left: 2px solid #00563D;
  color: #00563D;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  padding: 0px 8px;
  margin-top: 16px;
  margin-bottom: 20px;
}
.single-news-events__content-wrapper {
  /* ---------------------------------- Lists ---------------------------------- */
}
.single-news-events__content-wrapper ul,
.single-news-events__content-wrapper ol {
  margin: 1.5rem 0 1.5rem 1.25rem;
  padding: 0;
}
.single-news-events__content-wrapper li {
  margin-bottom: 0.5rem;
}
.single-news-events__content-wrapper {
  /* ---------------------------------- Blockquotes (Gutenberg Quote Block) ---------------------------------- */
}
.single-news-events__content-wrapper blockquote {
  margin: 0;
  padding: 0px 20px;
  border-left: 2px solid #00563D;
  background-color: #f9fafb;
  font-style: italic;
  color: #374151;
}
.single-news-events__content-wrapper blockquote p {
  color: #00563D;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
  padding: 10px 20px 10px 0;
}
.single-news-events__content-wrapper {
  /* ---------------------------------- HR ---------------------------------- */
}
.single-news-events__content-wrapper hr {
  margin: 48px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 7, 13, 0.15);
}
.single-news-events__related-posts {
  margin: 5rem 0;
}
.single-news-events__related-posts h2 {
  color: #1D428A;
  font-size: 36px;
  font-weight: 700;
  line-height: 46.8px;
  letter-spacing: -0.36px;
  text-align: center;
}

.bfj-cta-banner {
  --hero-banner-main-color: #1D428A;
  --hero-banner-btn-hover-bg: #CCE9FF;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}
.bfj-cta-banner.compact {
  min-height: auto;
  padding: 112px 0;
}
.bfj-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.bfj-cta-banner__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bfj-cta-banner__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.bfj-cta-banner__wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}
.bfj-cta-banner__wrapper__content {
  max-width: 45rem;
}
.bfj-cta-banner__wrapper__content--center {
  margin: 0 auto;
}
.bfj-cta-banner__wrapper__content--center .bfj-cta-banner__wrapper__title {
  text-align: center;
}
.bfj-cta-banner__wrapper__content--center .bfj-cta-banner__wrapper__description {
  text-align: center;
  margin: auto;
}
.bfj-cta-banner__wrapper__content--center .bfj-cta-banner__wrapper__actions {
  justify-content: center;
}
.bfj-cta-banner__wrapper__content--right {
  margin: 0 0 0 auto;
}
.bfj-cta-banner__wrapper__content--right .bfj-cta-banner__wrapper__title {
  text-align: right;
}
.bfj-cta-banner__wrapper__content--right .bfj-cta-banner__wrapper__description {
  text-align: right;
  margin: 0 0 0 auto;
}
.bfj-cta-banner__wrapper__content--right .bfj-cta-banner__wrapper__actions {
  justify-content: end;
}
.bfj-cta-banner__wrapper__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.bfj-cta-banner__wrapper__title p {
  padding: 0 !important;
  line-height: 1 !important;
}
@media (max-width: 767.98px) {
  .bfj-cta-banner__wrapper__title {
    font-size: 2.5rem;
  }
}
.bfj-cta-banner__wrapper__description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 650px;
}
.bfj-cta-banner__wrapper__description a {
  color: #ffffff;
  text-decoration: underline;
}
.bfj-cta-banner__wrapper__actions {
  display: flex;
  gap: 1rem;
}
@media (max-width: 767.98px) {
  .bfj-cta-banner__wrapper__actions {
    font-size: 2.5rem;
    flex-direction: column;
    align-items: center;
  }
}
.bfj-cta-banner__wrapper__actions .btn-white:hover,
.bfj-cta-banner__wrapper__actions .btn-outline:hover {
  color: var(--hero-banner-main-color, #1D428A);
  background-color: var(--hero-banner-btn-hover-bg, #CCE9FF);
  border: 0.0625rem solid var(--hero-banner-btn-hover-bg, #CCE9FF);
}
.bfj-cta-banner__button {
  padding: 0.75rem 2.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.bfj-cta-banner__button:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 4px;
}

.page-template-page-sub-pages .bfj-text-media-slider-container {
  --icon-color: var(--blue-black);
  margin-bottom: 1.25rem;
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-text-media-slider-container {
    margin-bottom: 2.5rem;
  }
}
.page-template-page-sub-pages .bfj-text-media-slider-container.has-background {
  --icon-color: var(--white);
  margin-bottom: 0;
}
.page-template-page-sub-pages .bfj-text-media-slider-container__description ul {
  list-style: none;
  margin-top: 0.625rem;
  padding-left: 0;
}
.page-template-page-sub-pages .bfj-text-media-slider-container__description ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
}
.page-template-page-sub-pages .bfj-text-media-slider-container__description ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--icon-color, #00070D);
  -webkit-mask-image: url("img/icn-check-circle.svg");
  mask-image: url("img/icn-check-circle.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.page-template-page-sub-pages .bfj-title-description {
  padding: 1.25rem 0 0;
}
@media (min-width: 768px) {
  .page-template-page-sub-pages .bfj-title-description {
    padding: 2.5rem 0 0;
  }
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-title-description {
    padding: 5rem 0 0;
  }
}
.page-template-page-sub-pages .bfj-title-description.has-background {
  background-color: var(--navy);
  --title-text-color: var(--white);
  --description-text-color: var(--white);
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-title-description__inner {
    max-width: 47.5rem;
  }
}
.page-template-page-sub-pages .bfj-title-description__title {
  font-size: 1.625rem;
  text-align: left;
}
@media (min-width: 768px) {
  .page-template-page-sub-pages .bfj-title-description__title {
    font-size: 2rem;
  }
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-title-description__title {
    font-size: 2.25rem;
  }
}
.page-template-page-sub-pages .bfj-title-description__description {
  text-align: left;
}
.page-template-page-sub-pages .bfj-title-description__instance--2, .page-template-page-sub-pages .bfj-title-description__instance--3 {
  padding: 1.25rem 0;
}
.page-template-page-sub-pages .bfj-titled-lists {
  padding: 1.25rem 0;
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-titled-lists {
    padding: 0 0 2.5rem;
  }
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .bfj-titled-lists__list {
    max-width: 47.5rem;
    margin: 0 auto;
  }
}
.page-template-page-sub-pages .wp-block-image,
.page-template-page-sub-pages .wp-block-gallery {
  margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .page-template-page-sub-pages .wp-block-image,
  .page-template-page-sub-pages .wp-block-gallery {
    margin-bottom: 3.75rem;
  }
}
.page-template-page-sub-pages .wp-block-image img {
  display: block;
  margin: 0 auto;
}

body.search-results .header,
body.error404 .header,
body.single .header,
body.archive .header {
  background-color: #1d428a;
}

header.page-header {
  background-color: #1d428a;
  padding: 20px 0;
}
header.page-header h1 {
  color: #fff;
  margin: 0;
}

header.entry-header a {
  color: #1d428a;
  text-decoration: none;
}
header.entry-header a:hover {
  text-decoration: underline;
}

.entry-summary a {
  color: #1d428a;
}

main.search-results {
  padding-bottom: 64px;
}
