/* Home News Card Grid */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
i,
li, img, label, button, input {
    filter: contrast(110%);
}
/* Compare logged-in and logged-out rendering */
body.logged-in {
    outline: 0;
}
body:not(.logged-in) {
    outline: 0;
}
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(
        var(--home-news-columns, 2),
        minmax(0, 1fr)
    );
    gap: 30px;
    width: 100%;
}
.home-news-card {
    position: relative;
    min-width: 0;
    min-height: 464px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 15px;
    background: #e7e7e9;
    color: #12385b;
}
.home-news-card__front {
    display: flex;
    flex-direction: column;
    min-height: 464px;
    height: 100%;
    background: #e7e7e9;
}
.home-news-card__front.home-news-card__discover_a {
	cursor: pointer;
}
.home-news-card__front.home-news-card__discover_a:hover {
	opacity: 90%;
}
.home-news-card__image-link {
    display: block;
    flex: 0 0 300px;
    height: 300px;
    overflow: hidden;
	position: relative;
	pointer-events: none;
    cursor: default;
}
.home-news-card__image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 86, 147, 0) 0%,
        rgba(0, 86, 147, 1) 100%
    );
    pointer-events: none;
}
.home-news-card__image-link div.home-news-card__title-labels {
	position: absolute;
    bottom: 20px;
    display: inline-block;
    z-index: 999;
    width: 100%;
    padding: 0px 30px;
}
.home-news-card__image-link div.home-news-card__title-labels span.home-news-card__inner-eyebrow {
	color: #FFFFFF99;
    font-family: "Lato", Sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
	display: inline-block;
	width: 100%;
	font-weight: 700;
}
.home-news-card__image-link div.home-news-card__title-labels span.home-news-card__inner-title {
	color: #FFFFFF;
    font-family: "Lato", Sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
	display: inline-block;
	width: 100%;
	line-height: 44px;
	font-weight: 700;
}
.home-news-card__image-link img,
.home-news-card__image-link .home-news-card__image img {
    display: block;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
    transition: none;
	background: linear-gradient(180deg, rgba(0, 86, 147, 0) 0%, rgba(0, 86, 147, 1) 100%);
}
.home-news-card__image-placeholder {
    width: 100%;
    height: 300px;
    background: #d9dce0;
}
.home-news-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background-color: #E6E7E8;
}
.home-news-card__eyebrow {
    margin: 0 0 10px;
    color: #005693;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.home-news-card__title {
    margin: 0;
    color: #174b70;
    font-size: 23px !important;
    font-weight: 700;
    line-height: 1.35;
}
.home-news-card__title .home-news-card__challenge {
	font-size: 16px;
	color: #505D6D;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
	font-weight: normal;
}
.home-news-card__title a {
    color: #005693;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
}
/* Discover button */
.home-news-card__discover {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 30px 0 0;
    border: 0;
    background: transparent;
    color: #005693;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.home-news-card__discover:hover,
.home-news-card__discover:focus {
    background: transparent;
    color: #005693E6;
}
.home-news-card__plus {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
	padding-top: 4px;
}
/* Details panel: hidden until clicked */
.home-news-card__back {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    border-radius: inherit;
    background: #12385f;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}
/* Open panel only through JavaScript */
.home-news-card.is-open .home-news-card__back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
	background-size: cover;
    background-repeat: no-repeat;
	background-position: -7px;
}
.home-news-card__back-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
	padding: 20px 20px 0 20px;
}
.home-news-card__back-title {
    max-width: 78%;
    margin: 3px 0 0 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}
/* Back button */
.home-news-card__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}
.home-news-card__back-link .back-image {
	transform: rotate(180deg);
}
.home-news-card__back-link:hover,
.home-news-card__back-link:focus {
    background: transparent;
    color: #FFFFFFE6;
}
.home-news-card__back-link .back-image {
    display: block;
    width: auto;
    max-width: 24px;
    height: auto;
}
.home-news-card__back-heading {
    margin: auto 0 20px 0 !important;
    color: #14A9E1;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.25;
	padding: 0 20px;
}
.home-news-card__back-heading span.back-heading-image {
	display: inline-block;
    margin-left: 5px;
}
.home-news-card__details {
    display: inline-block;
    /** grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px; **/
	padding: 0 20px;
}
.home-news-card__details span.home-news-card__solution {
	font-size: 16px;
    color: #FFF;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    font-weight: normal;
}
.home-news-card__detail h4 {
    margin: 0 0 8px;
    color: #14A9E1 !important;
    font-size: 17px;
    font-weight: 700;
}
.home-news-card__description,
.home-news-card__description p,
.home-news-card__description li {
    color: #FFFFFFCC;
    font-size: 14px;
    line-height: 1.5;
}
.home-news-card__description {
    overflow-wrap: anywhere;
}
.home-news-card__description p {
    margin: 0 0 8px;
}
.home-news-card__description ul,
.home-news-card__description ol {
    margin: 0;
    padding-left: 15px;
}
.home-news-card__description .acf-bullet-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.home-news-card__description .acf-bullet-list li {
    position: relative;
    display: block;
    margin: 0 0 8px;
    padding: 0 0 0 20px !important;
    list-style: none !important;
}
.home-news-card__description .acf-bullet-list li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FFFFFFCC;
}
.home-news-card__no-data,
.home-news-no-data {
    /** margin: 0;
    color: #FFFFFFCC;
    font-size: 14px;
    line-height: 1.5; **/
}
/* Footer and CTA */
.home-news-card__back-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 20px;
    background-color: #A7D3EF;
}
.home-news-card__back-footer p {
    margin: 0;
    color: #0D3C68;
	font-weight: normal;
    font-size: 16px;
	line-height: 23.1px;
}
.home-news-card__back-footer p strong {
    color: #0D3C68;
	font-weight: bold;
	margin-right: 5px;
}
.home-news-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px 15px;
    border-radius: 12px;
    background: #E77824;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    text-decoration: none;
    transition: background .2s ease;
}
.home-news-card__cta:hover {
    background: #d9621c;
    color: #fff;
}
/* Keyboard focus */
.home-news-card a:focus-visible,
.home-news-card button:focus-visible {
    outline: 2px solid #ed762e;
    outline-offset: 3px;
}
/* the main style.css file has cache issue */
.primary-menu-container .menu-item a {
	font-weight: 400;
}
/* Tablet */
@media (max-width: 900px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-news-card__back {
        padding: 0;
    }
    .home-news-card__back-heading {
        margin-top: 0;
        font-size: 18px !important;
    }
}
@media (max-width: 1280px) {
    .home-news-card__details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
	.home-news-card__image-link div.home-news-card__title-labels span.home-news-card__inner-title {
		font-size: 26px;
	}
	
}
@media (min-width: 1480px) {
	.home-news-card__back-heading {
    	margin: auto 0 20px 0 !important;
	}
}
/* Mobile */
@media (max-width: 600px) {
    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .home-news-card,
    .home-news-card__front {
        min-height: 320px;
    }
    .home-news-card__back {
        padding: 0;
    }
    .home-news-card__back-heading {
        margin-top: 22px;
        font-size: 20px !important;
    }
    .home-news-card__details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-news-card__back-footer {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-news-card *,
    .home-news-card *::before,
    .home-news-card *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enable 3D flip perspective. */
.home-news-card {
    perspective: 1200px;
}

/* Preserve the 3D transformation. */
.home-news-card__inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

/* Flip the card when opened. */
.home-news-card.is-open .home-news-card__inner {
    transform: rotateY(180deg);
}

/* Front and back panels. */
.home-news-card__front,
.home-news-card__back {
    /** position: absolute; **/
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Back panel starts rotated. */
.home-news-card__back {
    transform: rotateY(180deg);
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .home-news-card__inner {
        transition: none;
    }
}

/* ---------- Base - Primary Menu ---------- */
:root { --menu-hover: #4B3ACB; }   /* match your Tailwind "hover" color */

.primary-menu-container { position: relative; }

.menu-wrapper,
.menu-wrapper .sub-menu { list-style: none; margin: 0; padding: 0; }

.menu-wrapper a { display: inline-block; font-size: 16px; font-weight: 400; color: #505D6D; text-decoration: none; transition: color .2s; padding-bottom: 5px; border-bottom: 2px solid transparent; text-align: left; }
.menu-wrapper a:hover,
.menu-wrapper a:focus-visible,
.menu-wrapper .current-menu-item > a,
.menu-wrapper .current-menu-parent > a {
	color: #005693;
	border-bottom: 2px solid #15AAE1;
    display: inline-block;
}
/** .menu-wrapper .current-menu-ancestor > a { color: var(--menu-hover, #4B3ACB); } **/

.menu-wrapper .menu-item-has-children { display: flex; align-items: center; flex-wrap: wrap; }

/* ---------- Toggle button + arrow (arrow is drawn in CSS) ---------- */
.menu-wrapper .submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 28px; width: 28px; height: 28px; padding: 0; margin: -7px 0 0 2px;
  background: none; border: 0; box-shadow: none;
  color: inherit; cursor: pointer;
}
.menu-wrapper .submenu-toggle:focus-visible {
  outline: 2px solid var(--menu-hover, #4B3ACB); outline-offset: 2px; border-radius: 4px;
}

/* hide any SVG inside the button; the arrow below replaces it */
.menu-wrapper .submenu-toggle svg { display: none !important; }

/* arrow pointing DOWN (closed) */
.menu-wrapper .submenu-toggle::before {
  content: ""; display: block; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

/* arrow pointing UP (opened by click / keyboard) */
.menu-wrapper .submenu-toggle[aria-expanded="true"]::before,
.menu-wrapper li.is-open > .submenu-toggle::before {
  transform: translateY(2px) rotate(-135deg);
}

/* Hamburger */
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; content: "";
  margin: 0 auto; position: relative; transition: transform .2s, background .2s;
}
.menu-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.menu-toggle__bars::after  { position: absolute; top:  7px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Desktop ---------- */
.sub-menu-toggle { display: none; }
header.site-header { 
	z-index: 999; 
	padding: 7px 0 12px 0;
}
.dropdown-icon.close {
    cursor: pointer;
}
#primary-menu-list li.menu-item-has-children {
    position: relative;
}
@media (min-width: 899px) {
  .menu-wrapper { display: flex; align-items: center; gap: 2rem; }
  .menu-wrapper > li { position: relative; }

  .menu-wrapper .sub-menu {
    position: absolute; top: 100%; left: 50%; z-index: 50;
    min-width: 170px; padding: .5rem 0;
    background: #fff; border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    opacity: 0; visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-wrapper .sub-menu li { position: relative; text-align: left; padding: 10px 20px 0px 20px; }
  .menu-wrapper .sub-menu a  { padding: 0 0 5px 0; font-size: 16px; line-height: 24px; margin: auto; display: inline-block; }
  .menu-wrapper .sub-menu .menu-item-has-children { flex-wrap: nowrap; justify-content: space-between; padding-right: .5rem; }

  /* 3rd level flies out to the right */
  .menu-wrapper .sub-menu .sub-menu { top: 0; left: 100%; transform: translate(8px, 0); }

  /* first-level dropdown sits 10px below the item, with a pointer arrow */
  .menu-wrapper > li > .sub-menu { top: calc(100% + 10px); }

  /* invisible bridge so the dropdown stays open while the mouse crosses the gap */
  .menu-wrapper > li > .sub-menu::after {
    content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
  }

  /* the pointer arrow on top of the dropdown */
  .menu-wrapper > li > .sub-menu::before {
    content: ""; position: absolute; top: -6px; left: 50%;
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 2px 0 0 0;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, .05);
  }

  /* nested (3rd-level) arrows point RIGHT, open or closed */
  .menu-wrapper .sub-menu .submenu-toggle::before,
  .menu-wrapper .sub-menu .submenu-toggle[aria-expanded="true"]::before,
  .menu-wrapper .sub-menu li.is-open > .submenu-toggle::before {
    transform: translateX(-2px) rotate(-45deg);
  }

  /* Open by click / keyboard (JS) */
  .menu-wrapper > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .menu-wrapper .sub-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(0, 0); }
}

/* Open by mouse hover (mouse devices only) */
/* @media (min-width: 899px) and (hover: hover) { */
@media (hover: hover) {
  .menu-wrapper > li > .sub-menu { visibility: hidden; height: 0; }
  .menu-wrapper > li:hover > .sub-menu { opacity: 1; visibility: visible; /** transform: translate(-50%, 0); **/ height: auto; }
  .menu-wrapper .sub-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translate(0, 0); }

  /* top-level arrow flips up while its dropdown is open on hover */
  .menu-wrapper > li:hover > .submenu-toggle::before { transform: translateY(2px) rotate(-135deg); }

  /* Optional: parent link takes the hover color while its dropdown is open */
  /* .menu-wrapper > li:hover > a { color: var(--menu-hover, #4B3ACB); } */
}

/* ---------- Mobile ---------- */

@media (max-width: 899px) {
	.menu-wrapper .sub-menu { padding-left: 20px; }
}
@media (min-width: 900px) {
	.menu-wrapper .submenu-toggle {
		position: absolute;
    	right: 0;
	}
}
@media (min-width: 900px) and (max-width: 1194px) {
	.menu-wrapper .menu-item-has-children {
		padding-right: 38px;
	}
}
@media (min-width: 1195px) {
	.menu-wrapper .menu-item-has-children {
		padding-right: 38px;
	}
}
@media (max-width: 1032.98px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .menu-wrapper { display: block; flex-direction: row; }
  .primary-nav.is-open .primary-menu-container .menu-wrapper { display: flex; }
  .primary-menu-container.is-open .menu-wrapper { display: flex; }
  .primary-nav.is-open .primary-menu-container {
	right: 100%;
  }

  .menu-wrapper li { width: 100%; text-align: left; }
  .menu-wrapper .menu-item-has-children > a { flex: 1 1 auto; }
  .menu-wrapper .sub-menu { display: block; flex-basis: 100%; }
  .menu-wrapper li.is-open > .sub-menu { display: block; }
	
  .primary-nav.is-open .primary-menu-container .menu-wrapper {
      position: absolute;
	  min-width: 190px;
	  z-index: 999;
	  padding: .5rem 0;
	  background: #fff;
	  border-radius: 12px;
	  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
	  transform: translate(-50%, 8px);
	  transition: opacity .2s, transform .2s, visibility .2s;
	  margin-top: 20px !important;
  }
  .primary-nav.is-open .primary-menu-container .menu-wrapper::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 2px 0 0 0;
        transform: translateX(-50%) rotate(45deg);
        box-shadow: -2px -2px 4px rgba(0, 0, 0, .05);
    }
}
@media only screen and (max-width: 899px) {
	.cntrl-height-nav {
		min-width: 210px !important;
	}
	#primary-menu-list .menu-item-has-children > .sub-menu {
        display: none;
    }
}
/* ---------- Base - Primary Menu - END ---------- */