/*
Theme Name: Divi Child Theme
Description: Child Theme for Divi
Author:  Hand to Sky
Template: Divi
Version:  1.0.2
*/

/*
---------------------------
	CSS DIRECTORY
---------------------------
	=Font Setup
	=Global
	=Header
	=Footer
	=Media Queries
*/

/* ====Font Setup /////////////////////////////////////////////////*/
:root {
  --primary: #00498e;
  --secondary: #4bbeed;
  --tertiary: #0068cb;
  --light: #fff;
  --dark: #141414;
  --light-grey: #f5f5f5;

  --body-font: "trade-gothic-next", sans-serif;
  --heading-font: "trade-gothic-next-condensed", sans-serif;
}

body,
html {
  line-height: 1.5;
  font-family: var(--body-font);
  font-weight: 300;
  letter-spacing: -0.2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
}

.et_pb_text_inner ul li {
  padding-bottom: 0.5em;
}

.et_pb_text ol,
.et_pb_text ul {
  padding-top: 0.5em;
}

/* ====Global /////////////////////////////////////////////////*/
#main-content {
  overflow: hidden;
}

.d-flex {
  display: flex !important;
}

.flex-v-bottom {
  display: flex !important;
  align-items: flex-end;
}

.btn,
body .gform_wrapper.gravity-theme .gform_footer button {
  padding: 10px 30px !important;
  text-transform: capitalize;
  box-shadow: 4px 4px 0px var(--secondary);
  color: var(--light);
  font-size: 16px;
  background-color: #00498e;
  border-width: 0px !important;
  border-radius: 0px;
  font-weight: bold;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

body .et_pb_button_module_wrapper .et_pb_button,
body .et_pb_button_module_wrapper .et_pb_button:hover,
body .et_pb_button_module_wrapper .et_pb_button:focus-within,
body .gform_wrapper.gravity-theme .gform_footer button:hover,
body .gform_wrapper.gravity-theme .gform_footer button:focus-within {
  padding: 10px 30px !important;
  text-transform: capitalize;
  box-shadow: 4px 4px 0px var(--secondary);
}

.btn:hover,
.btn:focus-within,
body .gform_wrapper.gravity-theme .gform_footer button:hover,
body .gform_wrapper.gravity-theme .gform_footer button:focus-within {
  background-color: var(--secondary);
  color: var(--light);
  cursor: pointer;
}

body .et_pb_button_module_wrapper .et_pb_button:hover,
body .et_pb_button_module_wrapper .et_pb_button:focus-within,
body .gform_wrapper.gravity-theme .gform_footer button:hover,
body .gform_wrapper.gravity-theme .gform_footer button:focus-within,
.btn:hover,
.btn:focus-within {
  box-shadow: 6px 6px 0px var(--primary);
}

body #page-container .et_pb_button_module_wrapper .et_pb_button.btn--underline,
body #page-container .et_pb_button_module_wrapper .et_pb_button.btn--underline.et_pb_button_0 {
  padding: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  box-shadow: none;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Page Headers */
.breadcrumbs,
.breadcrumbs a {
  color: var(--light);
  text-transform: uppercase;
  font-family: var(--heading-font);
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}

.breadcrumbs a:hover {
  opacity: 0.8;
}

body .et_pb_module.page-header-title .et_pb_module_heading {
  font-size: clamp(48px, 6vw, 100px);
}

/* ====Header /////////////////////////////////////////////////*/
/* ============================================
NAV BAR
============================================ */
.site-header {
  --header-max-width: max(1800px, 90%);

  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: #00498e;
  color: #fff;
}

.logged-in .site-header {
  top: 32px;
}

.site-header__top {
  background-color: var(--secondary);
}

.site-header__container {
  max-width: var(--header-max-width);
  margin: 0 auto;
}

.site-header__top > .site-header__container {
  justify-content: flex-end;
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-header__main > .site-header__container {
  padding-inline: 40px;
  padding-block: 1rem;
}

.site-header__logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  position: relative;
}

.site-header__sticky-ctas {
  display: flex;
  gap: 10px;
  position: fixed;
  right: 10px;
  top: 28%;
  z-index: 9999;
  transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.site-header__sticky-ctas a,
.site-header__parent-btn {
  background-color: #cda053;
  padding: 7px 20px 8px 15px;
  border-radius: 100px;
  font-weight: 600;
  fill: white;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.site-header__sticky-ctas a {
  font-size: 16px;
}
.site-header__parent-btn {
  font-size: 14px;
}

.site-header__sticky-ctas a svg {
  transform: rotate(90deg);
}

.site-header__sticky-ctas a:hover,
.site-header__parent-btn:hover {
  background-color: #af802e !important;
  border-color: #af802e !important;
}

.nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static; /* panel positions relative to .site-header, not this */
}

.nav > li {
  position: static; /* intentional - lets panel span full header width */
}

.nav > li > a {
  display: block;
  padding: 1rem 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav > li > a:hover,
.nav > li.is-open > a {
  opacity: 0.8;
}

.secondary-nav {
  display: flex;
  gap: 10px;
}

.secondary-nav li a {
  color: var(--light);
  font-size: 14px;
  font-weight: bold;
  padding: 5px 10px;
  display: block;
  background: transparent;
  transition: all 0.3s ease;

  &:hover {
    background: var(--light);
    color: var(--primary);
  }
}

/* ============================================
MEGA PANEL - WRAPPER
============================================ */
.mega-panel {
  position: absolute;
  top: 100%; /* bottom edge of .site-header */
  left: 1rem;
  right: 1rem;
  background: #eaeff5;
  border-radius: 34px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  padding: 2rem;
  max-width: 1200px;
  /* max-width: var(--header-max-width); */
  margin: 0 auto;

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
  pointer-events: none;
}

.has-mega-panel.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 200;
}

/* ============================================
MEGA PANEL - INTERNAL LAYOUT
3 columns: image | links | ctas
============================================ */
.mega-panel__inner {
  display: grid;
  grid-template-columns: minmax(320px, 25%) 2fr auto;
  /* min-height: 320px; */
  overflow: hidden;
}

/* ============================================
LEFT: IMAGE COLUMN
============================================ */
.mega-panel__image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.mega-panel__image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.mega-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-panel__label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--light);
  padding-right: 20px;
  font-weight: 800;
  line-height: 1.2;
  transition: all 0.3s ease;
  z-index: 2;
  font-family: var(--heading-font);
}

/* ============================================
MIDDLE: LINK GROUPS
============================================ */
.mega-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 2rem 2rem 3.5rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.mega-panel__group {
  /* min-width: 250px; */
}

body .mega-panel__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border: 0px;
  background-color: transparent !important;
  position: relative;
  width: unset;
}

body .mega-panel__links ul li {
  margin: 0;
  padding: 0;
  background-color: transparent !important;
}

.mega-panel__group ul li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -1px;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  background-color: transparent !important;
  text-transform: capitalize;
}

.mega-panel__group ul li a:hover {
  opacity: 0.8;
}

.mega-panel--minimal .mega-panel__group ul {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
}

/* ============================================
RIGHT: CTA COLUMN
============================================ */
.mega-panel__ctas {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--secondary);
  min-width: min-content;
  max-width: 300px;
  text-align: center;
  justify-content: space-between;
  border-radius: 17px;
}

.mega-panel__cta-heading {
  color: var(--primary);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  font-family: var(--heading-font);
  text-wrap: balance;
}

.mega-panel__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-panel__btns .btn {
  font-size: 18px;
  line-height: 1.2;
}

.mega-panel__btns .btn:hover,
.mega-panel__btns .btn:focus-within {
  box-shadow: 6px 6px 0px var(--primary);
  background-color: var(--light) !important;
  color: var(--primary) !important;
}

/* ============================================
MOBILE NAV MENU
============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* Animate to X when open */
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* The mobile nav itself */
.site-header__nav--mobile {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  height: 0;
}

.site-header__nav--mobile.is-open {
  grid-template-rows: 60px 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  height: 85dvh;
  overflow-y: scroll;
  padding-top: 20px;
}

.mobile-nav__submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.mobile-nav__item {
  width: 100%;
}

.mobile-nav__item.is-open > .mobile-nav__submenu {
  display: block;
}

.mobile-nav__item--depth-1 {
  padding-left: 16px;
}
.mobile-nav__item--depth-2 {
  padding-left: 32px;
}

.mobile-nav__link {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  flex: 1;
  width: 100%;
}

.site-header__nav--mobile .searchform input[type="text"] {
  padding: 8px 0px !important;
  border: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  font-size: 18px;
  border-radius: 0px !important;
}

/* Row that holds link + toggle side by side */
.mobile-nav__item--has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.mobile-nav__item--has-children > .mobile-nav__link {
  flex: 1;
}

.mobile-nav__item--has-children > .mobile-nav__submenu {
  width: 100%; /* forces submenu below the row */
}

.mobile-nav__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #fff;
  fill: #fff;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mobile-nav__toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

#menu-mobile-menu ul {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
  background: transparent;
  padding: 0;
  border: 0px;
  box-shadow: none;
}

#menu-mobile-menu li.et-show-dropdown > ul {
  position: relative;
  grid-template-rows: 1fr;
  left: 0;
  top: 0;
}

#menu-mobile-menu li.et-show-dropdown > ul ul .sub-menu-inner {
  padding-top: 0;
}

#menu-mobile-menu li li {
  position: relative;
  line-height: 1;
  padding: 0;
}

.mobile-nav__toggle {
  position: relative;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.mobile-nav__toggle-bar {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* Horizontal bar - always centred */
.mobile-nav__toggle-bar--h {
  transform: translate(-50%, -50%);
}

/* Vertical bar - rotated 90deg to form the plus */
.mobile-nav__toggle-bar--v {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* On open, vertical bar rotates back to 0 and fades - leaving just the horizontal (minus) */
.mobile-nav__item.et-show-dropdown > .mobile-nav__toggle .mobile-nav__toggle-bar--v {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.mobile-hide {
  display: block !important;
}

.mobile-show {
  display: none !important;
}

@media (min-width: 1201px) {
  .site-header__nav--mobile {
    display: none;
  }
}

@media (max-width: 1200px) {
  .site-header__nav--desktop {
    display: none;
  }

  .site-header__sticky-ctas {
    transform: rotate(-0deg);
    -webkit-transform: rotate(-0deg);
    bottom: 5px;
    left: 15px;
    right: 15px;
    top: unset;
    width: calc(100% - 30px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .site-header__sticky-ctas a {
    font-size: 14px;
    justify-content: center !important;
    text-align: center;
    position: relative;
    padding: 10px 15px 10px 20px;
  }

  .site-header__sticky-ctas a svg {
    transform: rotate(-0deg);
    position: absolute;
    left: 10px;
  }

  .site-header__top {
    display: none;
  }

  .nav {
    padding-bottom: 80px !important;
    flex-direction: column;
  }

  .hamburger {
    display: flex;
  }

  .site-header__logo {
    max-width: min(300px, 66%);
  }

  .site-header__container {
    flex-wrap: wrap;
  }

  .mobile-hide {
    display: none !important;
  }

  .mobile-show {
    display: block !important;
  }

  .logged-in .site-header {
    top: 46px;
  }
}

/* ====Page Cards /////////////////////////////////////////////////*/
.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.page-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--light);
  font-size: 16px;
}

.page-card-image {
  aspect-ratio: 64 / 31;
  position: relative;
  overflow: hidden;
  display: flex;
}

.page-card-image img {
  object-fit: cover;
  position: relative;
  width: 100%;
  max-width: unset;
  height: auto;
}

.page-card-inner {
  display: flex;
  flex-direction: column;
  padding: 20px 40px 30px;
  flex: 1;
}

.page-card-inner > div {
  flex-grow: 1;
  padding-bottom: 40px;
}

.page-card-title {
  font-size: 1.75rem;
  padding-bottom: 20px;
}

.page-card-link {
  margin-top: auto;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 6px;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  width: fit-content;
  transition: all 0.2s ease-in-out;
}

.page-card-link:hover {
  color: var(--secondary);
}

/* ====Link Grid /////////////////////////////////////////////////*/
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

.link-grid-main {
  position: relative;
  grid-area: 1 / 1 / 4 / 4;
}

.link-grid-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.link-grid-main .link-grid-overlay {
  position: relative;
  padding: max(5%, 40px) max(4%, 40px);
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link-grid-main .link-grid-overlay:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: -1;
}

.link-grid-title {
  font-size: 2.75rem;
  color: #fff;
  text-wrap: balance;
  line-height: 1.3;
}

.link-grid-side {
  overflow: hidden;
  grid-area: 1 / 4 / 3 / 5;
}

.link-grid-side:last-of-type {
  grid-area: 3 / 4 / 4 / 5;
}

.link-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-grid-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px;
  color: #fff;
  z-index: 2;
}

.link-grid-btns {
  display: flex;
  gap: 20px;
}

.link-grid-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .link-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .link-grid-main,
  .link-grid-side {
    grid-area: unset !important;
    display: flex;
    flex-direction: column;
  }

  .link-grid-title {
    font-size: 1.5rem;
  }

  .link-grid-btns {
    flex-direction: column;
  }

  .site-header__main > .site-header__container {
    padding-block: 1rem 0.75rem;
  }
}

/* //// Posts /////////////////////////////////////////////////*/
.archive-posts-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.archive-posts-inner .hts-post {
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  border-radius: 10px;
}

.hts-post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hts-post-image {
  position: relative;
}

.hts-post-image {
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.hts-post-inner {
  padding: 1rem 20px 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hts-post-title {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 1.5;
  flex-grow: 1;
}

.hts-post-inner .page-card-link {
  margin-top: auto;
  background: transparent;
  border: 0px;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding: 0;
  padding-bottom: 6px;
}

.hts-post:hover .page-card-link {
  color: var(--secondary);
}

/* Pagination styling */
.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 0.3rem;
  padding: 0.5rem 0.8rem;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.pagination .current,
.pagination .page-numbers:hover {
  background: #333;
  color: #fff;
}

/* //// Staff /////////////////////////////////////////////////*/
.staff-loop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.staff .staff-img {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.staff .title {
  font-size: 1.5rem;
  padding-bottom: 6px;
}

.staff span {
  display: block;
  margin-bottom: 6px;
}
.staff a {
  display: inline-block;
  border-bottom: 2px solid #83dbff;
  padding-bottom: 4px;
  color: var(--primary);
  transition: all 0.2s ease-in-out;
  font-weight: 700;
}

.staff a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

/* ====Footer /////////////////////////////////////////////////*/
.hts-options-field {
  color: var(--light);
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.hts-options-field a {
  color: var(--light);
  transition: all 0.2s ease-in-out;
}

.hts-options-field a:hover {
  opacity: 0.8;
}

#footer .widget_nav_menu .menu > li > a {
  font-family: var(--heading-font);
}

#footer .widget_nav_menu .menu li .sub-menu {
  margin-top: 10px;
}

#footer .widget_nav_menu .menu li .sub-menu li a {
  font-size: 15px;
  color: var(--light) !important;
  text-transform: none !important;
  line-height: 1.3;
  font-weight: 300;
}

#footer .widget_nav_menu .menu li .sub-menu li {
  margin-left: 0px !important;
  margin-bottom: 4px;
}

#footer .widget_nav_menu .menu li a {
  transition: all 0.2s ease-in-out;
}

#footer .widget_nav_menu .menu li a:hover,
#footer .widget_nav_menu .menu li a:focus-within {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 15px;
  color: var(--secondary);
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  transition: all 0.2s ease-in-out;
}

.footer-links a:hover {
  color: var(--light);
}

/* ====Home /////////////////////////////////////////////////*/
body .et_pb_section.home-video {
  overflow: visible;
}

body .et_pb_section.home-video:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(0, 73, 142, 0) 50%, #00498e 100%) !important;
}

body .et_pb_section.home-video .et_pb_row {
  z-index: 3;
}

.et_pb_row.flex-align-buttons .et_pb_column {
  display: flex;
  flex-direction: column;
}

.et_pb_row.flex-align-buttons .et_pb_column .et_pb_button_module_wrapper {
  margin-top: auto;
}

body .et_pb_accordion .et_pb_accordion_item {
  padding-inline: 0px !important;
}

/* ====Accordion /////////////////////////////////////////////////*/
.page-accordion-item {
  padding-block: 16px 20px;
  border-top: 1px solid #a8c9e8;
}

.page-accordion-title {
  position: relative;
  padding-right: 2em;
  cursor: pointer;
}

.page-accordion-title h3 {
  font-size: 30px;
}

/* Chevron icon */
.page-accordion-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25em;
  width: 0.85rem;
  height: 0.85rem;
  color: #002a52;
  border-radius: 2px;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.page-accordion-title.is-active::after,
.page-accordion-title[aria-expanded="true"]::after {
  transform: translateY(-35%) rotate(-135deg);
}

/* Panel — animated open/close */
.accordion-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.accordion-panel.is-open {
  max-height: 2000px;
  opacity: 1;
}

/* Layout when an image is present — e.g. side-by-side */
.accordion-panel.has-image .pa-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.accordion-panel.has-image .page-accordion-image {
  flex: 0 0 40%;
}

.accordion-panel.has-image .page-accordion-image img {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-panel.has-image .page-accordion-content {
  flex: 1;
}

.pa-inner {
  padding-block: 20px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #002a52;
}

@media screen and (min-width: 993px) {
  .page-accordion {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ====Showcase Gallery /////////////////////////////////////////////////*/
.hts-showcase-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hts-showcase-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #f2f2f2;
}

.hts-showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hts-showcase-thumbs-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hts-showcase-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.hts-showcase-gallery.is-carousel .hts-showcase-thumbs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  justify-content: flex-start;
  padding: 0 40px;
}

.hts-showcase-thumbs::-webkit-scrollbar {
  display: none;
}

.hts-showcase-thumbs li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  list-style: none;
}

.hts-showcase-thumb {
  display: block;
  width: 140px;
  height: 140px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.hts-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hts-showcase-thumb.is-active,
.hts-showcase-thumb:hover {
  opacity: 1;
  border-color: var(--secondary);
}

.hts-showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.hts-showcase-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.hts-showcase-nav svg {
  color: var(--primary);
  fill: currentColor;
}

.hts-showcase-prev {
  left: 0;
}

.hts-showcase-prev svg {
  transform: rotate(180deg);
}
.hts-showcase-next {
  right: 0;
}

.page-inner-nav.et_pb_bg_layout_light .et_pb_widget li {
  margin: 0;
}

.page-inner-nav.et_pb_bg_layout_light .et_pb_widget li a {
  font-family: var(--heading-font);
  font-weight: 700;
  border-top: 1px solid var(--primary);
  padding-block: 6px;
  display: block;
  margin: 0;
  transition: all 0.2s ease-in-out;
}

.page-inner-nav.et_pb_bg_layout_light .et_pb_widget li a:hover,
.page-inner-nav.et_pb_bg_layout_light .et_pb_widget li a:focus-within {
  color: var(--secondary) !important;
}

/* ====Equal cols /////////////////////////////////////////////////*/
.et_pb_row.flex-equal-cols .et_pb_column {
  display: flex;
  flex-direction: column;
}

.et_pb_row.flex-equal-cols .et_pb_column .et_pb_module.et_pb_text {
  flex: 1;
}

/* ====Btn Grid /////////////////////////////////////////////////*/
.et_pb_section.btn-grid .et_pb_button_module_wrapper {
  height: 100%;
}

.et_pb_section.btn-grid .et_pb_button_module_wrapper .et_pb_button {
  width: 100%;
  text-align: center;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* ====Tablepress /////////////////////////////////////////////////*/
.tablepress > :where(thead, tfoot) > tr > * {
  background-color: var(--primary);
  color: var(--light) !important;
}

body .tablepress > :where(tbody) > tr > * {
  border: 1px solid #a7c3de !important;
  padding: 10px 24px 12px 24px;
  width: 50%;
}

.featured-image-fixed-inner {
  aspect-ratio: 184 / 75;
  width: 100%;
  border-radius: 0px !important;
  overflow: hidden;
}

.featured-image-fixed-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0px !important;
}

/* ====Media Queries /////////////////////////////////////////////////*/
@media (max-width: 767px) {
  .flex-v-bottom {
    flex-direction: column;
    justify-content: flex-end;
  }

  .d-flex {
    flex-direction: column;
  }

  .et_pb_section_video_bg .mejs-video {
    left: 0 !important;
  }

  .home .et_pb_video_0 {
    max-height: 200px;
    overflow-x: hidden;
  }

  .page-accordion-title h3 {
    font-size: 22px;
  }

  .link-grid-main .link-grid-overlay {
    padding-bottom: 380px !important;
  }
}
@media (min-width: 768px) {
  #main-header .nav li ul a {
    color: #00498e !important;
  }
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
}
