/* All breakpoints used within the site */
@media only screen and (min-width: 360px) {}
@media only screen and (min-width: 600px) {}
@media only screen and (min-width: 768px) {}
@media only screen and (min-width: 992px) {}
@media only screen and (min-width: 1280px) {}
@media only screen and (min-width: 1440px) {}

/* ==========================================================================
   Variables
   ========================================================================== */

html {
    
    scroll-behavior: smooth;
    
/* Colours */
    --White: #FFFFFF;
    --MCR-DarkBlue: #213350;
    --MCR-LightBlue: #5BC6E9;
    --MCR-Orange: #F09336;
    --MCR-Yellow: #F8D45B;
    --MCR-Green: #B5E046;
    --MCR-Teal: #2A6075;
    --MCR-Pink: #FF82B2;
    --MCR-Wine: #751B48;
    --MCR-Ivory: #FDF9EA;
/* Fonts */
    --Montserrat: 'Montserrat', sans-serif;
    --TTCommons: "tt-commons-pro", sans-serif;

/* Cards */
    --cardHeight: 80vh;
    --cardTopPadding: 4vw;
    --cardMargin: 1vw;
    --maxCards: 12;
}
@media only screen and (min-width: 992px) {
    html {
        --cardTopPadding: 2vw;
        --cardHeight: 70vh;
    }
}
@media only screen and (min-width: 1440px) {
    html {
        --cardTopPadding: 1vw;
        --cardHeight: 80vh;
    }
}
/* Offset focused targets so they don't sit under the fixed header */
:root { --header-offset: 130px; } /* set to your header height */
main,
[id],
.section,
h1,h2,h3,h4,h5,h6 {
  scroll-margin-top: var(--header-offset);
}

/* If you tab to links/buttons inside cards */
.sticky-card .button,
.sticky-card a,
.sticky-card [tabindex]:not([tabindex="-1"]) {
  scroll-margin-top: calc(var(--header-offset) + 300px);
}
/* ==========================================================================
   Reset
   ========================================================================== */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
main:focus-visible {
    outline: transparent;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ==========================================================================
   Global Typography
   ========================================================================== */
body {
    font-family: var(--Montserrat);
    font-weight: normal;
    font-style: normal;
    background-color: var(--MCR-Ivory);
    color: var(--MCR-DarkBlue);
    font-size: 16px;
	line-height: 162%;
    overflow-x: hidden;
    width: 100%;
    overscroll-behavior: none;
}
:focus-visible {
    outline: 2px solid var(--MCR-DarkBlue);
    border-radius: 5px;
}
p {
    line-height: 162%;
    margin: 0 0 24px 0;
}
body, p, li {
    font-size: clamp(16px, 1.3vw, 22px);
}
ul, ol {
    margin: 0 0 24px 0;
}
a {
    color: inherit;
	text-decoration: none;
    cursor: pointer;
}
h1, h2, h3 {
    text-wrap: balance;
    line-height: 120%;
    font-family: var(--TTCommons);
    text-align: left;
}
h1 {
    font-size: clamp(34px, 6vw, 90px);
    font-weight: 900;
    margin: 48px 0 32px 0;
}
h2 {
    font-size: clamp(34px, 5vw, 70px);
    font-weight: 900;
    margin: 32px 0 20px 0;
}
h3 {
    font-size: clamp(20px, 4vw, 40px);
    font-weight: 900;
    margin: 32px 0 16px 0;
    line-height: 130%;
}
h4 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 140%;
    font-family: var(--TTCommons);
    text-align: left;
    text-wrap: balance;
}
h1.center, h2.center, h3.center, h4.center {
    text-align: center;
}
strong {
    font-weight: bold;
}
b {
    font-weight: bold;
}
em {
    font-style: italic;
}
i {
    font-style: italic;
}
li {
    margin: 0 0 16px 0;
}
blockquote {
    border-left: 4px solid var(--MCR-DarkBlue);
    padding-left: 18px;
    margin-left: 0;
    line-height: 155%;
    margin: 0 0 24px 0;
}
ul li {
    position: relative;
    padding-left: 16px;
}
ul li:before {
    content: "•";
    font-size: 22px;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}
@media only screen and (min-width: 768px) {
    ul li {padding-left: 32px;}
    ul li:before {left: 10px;}
}
@media only screen and (min-width: 1280px) {
    ul li {padding-left: 48px;}
    ul li:before {left: 15px;}
}
ol li {
    position: relative;
    padding-left: 16px;
    counter-increment: list-counter;
}
ol li:before {
    content: counter(list-counter) ".";
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}
@media only screen and (min-width: 768px) {
    ol li {padding-left: 32px;}
    ol li:before {left: 10px;}
}
@media only screen and (min-width: 1280px) {
    ol li {padding-left: 48px;}
    ol li:before {left: 15px;}
}
@media only screen and (min-width: 1024px) {
    h1 {margin: 64px 0 32px 0;}
    blockquote {padding-left: 24px;}
}
@media only screen and (min-width: 1280px) {
    ul, ol {margin: 0 0 32px 0;}
    h1 {margin: 72px 0 40px 0;}
    h2 {margin: 32px 0 24px 0;}
    h3 {margin: 40px 0 20px 0;}
}
@media only screen and (min-width: 1440px) {
    ul, ol {margin: 0 0 40px 0;}
    h1 {margin: 80px 0 48px 0;}
    h3 {margin: 48px 0 20px 0;}
}

::selection {
    background-color: var(--MCR-DarkBlue);
    color: #ffffff;
}

/* ==========================================================================
   Image styles
   ========================================================================== */

img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

/* ==========================================================================
   Spacer styles
   ========================================================================== */
.spacer-bottom-mini {
    margin-bottom: 15px;
}
.spacer-top-mini {
    margin-top: 15px;
}
.spacer-bottom-xs {
    margin-bottom: 16px;
}
.spacer-top-xs {
    margin-top: 16px;
}
.spacer-bottom-s {
    margin-bottom: 32px;
}
.spacer-top-s {
    margin-top: 32px;
}
.spacer-bottom-sm {
    margin-bottom: 48px;
}
.spacer-top-sm {
    margin-top: 48px;
}
.spacer-bottom-m {
    margin-bottom: 64px;
}
.spacer-top-m {
    margin-top: 64px;
}
.neg-spacer-bottom-m {
    margin-bottom: -49px;
}
.neg-spacer-top-m {
    margin-top: -49px;
}
.spacer-bottom-l {
    margin-bottom: 128px;
}
.spacer-top-l {
    margin-top: 128px;
}
@media only screen and (min-width: 768px) {
    .spacer-bottom-sm {margin-bottom: 64px;}
    .spacer-top-sm {margin-top: 64px;}
    .spacer-bottom-mini {margin-bottom: 20px;}
    .spacer-top-mini {margin-top: 20px;}
}
@media only screen and (min-width: 1024px) {
    .spacer-bottom-xs {margin-bottom: 20px;}
    .spacer-top-xs {margin-top: 20px;}
    .spacer-bottom-s {margin-bottom: 44px;}
    .spacer-top-s {margin-top: 44px;}
    .spacer-bottom-sm {margin-bottom: 72px;}
    .spacer-top-sm {margin-top: 72px;}
    .spacer-bottom-m {margin-bottom: 88px;}
    .spacer-top-m {margin-top: 88px;}
    .neg-spacer-bottom-m {margin-bottom: -68px;}
    .neg-spacer-top-m {margin-top: -68px;}
    .spacer-bottom-l {margin-bottom: 176px;}
    .spacer-top-l {margin-top: 176px;}
}
@media only screen and (min-width: 1280px) {
    .spacer-bottom-xs {margin-bottom: 24px;}
    .spacer-top-xs {margin-top: 24px;}
    .spacer-bottom-s {margin-bottom: 52px;}
    .spacer-top-s {margin-top: 52px;}
    .spacer-bottom-m {margin-bottom: 104px;}
    .spacer-top-m {margin-top: 104px;}
    .neg-spacer-bottom-m {margin-bottom: -84px;}
    .neg-spacer-top-m {margin-top: -84px;}
    .spacer-bottom-l {margin-bottom: 208px;}
    .spacer-top-l {margin-top: 208px;}
    .spacer-bottom-sm {margin-bottom: 80px;}
    .spacer-top-sm {margin-top: 80px;}
}
@media only screen and (min-width: 1440px) {
    .spacer-bottom-xs {margin-bottom: 32px;}
    .spacer-top-xs {margin-top: 32px;}
    .spacer-bottom-s {margin-bottom: 60px;}
    .spacer-top-s {margin-top: 60px;}
    .spacer-bottom-sm {margin-bottom: 88px;}
    .spacer-top-sm {margin-top: 88px;}
    .spacer-bottom-m {margin-bottom: 120px;}
    .spacer-top-m {margin-top: 120px;}
    .neg-spacer-bottom-m {margin-bottom: -100px;}
    .neg-spacer-top-m {margin-top: -100px;}
    .spacer-bottom-l {margin-bottom: 240px;}
    .spacer-top-l {margin-top: 240px;}
}
.padder-bottom-xs {
    margin-bottom: 16px;
}
.padder-top-xs {
    margin-top: 16px;
}
.padder-bottom-s {
    margin-bottom: 32px;
}
.padder-top-s {
    margin-top: 32px;
}
.padder-bottom-sm {
    margin-bottom: 48px;
}
.padder-top-sm {
    margin-top: 48px;
}
.padder-bottom-m {
    margin-bottom: 64px;
}
.padder-top-m {
    margin-top: 64px;
}
.padder-bottom-l {
    margin-bottom: 128px;
}
.padder-top-l {
    margin-top: 128px;
}
@media only screen and (min-width: 768px) {
    .padder-bottom-sm {margin-bottom: 64px;}
    .padder-top-sm {margin-top: 64px;}
}
@media only screen and (min-width: 1024px) {
    .padder-bottom-xs {margin-bottom: 20px;}
    .padder-top-xs {margin-top: 20px;}
    .padder-bottom-s {margin-bottom: 44px;}
    .padder-top-s {margin-top: 44px;}
    .padder-bottom-sm {margin-bottom: 72px;}
    .padder-top-sm {margin-top: 72px;}
    .padder-bottom-m {margin-bottom: 88px;}
    .padder-top-m {margin-top: 88px;}
    .padder-bottom-l {margin-bottom: 176px;}
    .padder-top-l {margin-top: 176px;}
}
@media only screen and (min-width: 1280px) {
    .padder-bottom-xs {margin-bottom: 24px;}
    .padder-top-xs {margin-top: 24px;}
    .padder-bottom-s {margin-bottom: 52px;}
    .padder-top-s {margin-top: 52px;}
    .padder-bottom-m {margin-bottom: 104px;}
    .padder-top-m {margin-top: 104px;}
    .padder-bottom-l {margin-bottom: 208px;}
    .padder-top-l {margin-top: 208px;}
    .padder-bottom-sm {margin-bottom: 80px;}
    .padder-top-sm {margin-top: 80px;}
}
@media only screen and (min-width: 1440px) {
    .padder-bottom-xs {margin-bottom: 32px;}
    .padder-top-xs {margin-top: 32px;}
    .padder-bottom-s {margin-bottom: 60px;}
    .padder-top-s {margin-top: 60px;}
    .padder-bottom-sm {margin-bottom: 88px;}
    .padder-top-sm {margin-top: 88px;}
    .padder-bottom-m {margin-bottom: 120px;}
    .padder-top-m {margin-top: 120px;}
    .padder-bottom-l {margin-bottom: 240px;}
    .padder-top-l {margin-top: 240px;}
}
/* ==========================================================================
   Button styles
   ========================================================================== */
a.button, button.button {
    padding: 15px 20px;
    border-radius: 50px;
    background-color: var(--MCR-Yellow);
    font-family: var(--TTCommons);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
    font-weight: 700;
    font-size: 16px;
    width: fit-content;
    height: fit-content;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}
a.button:hover, button.button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
}
a.button.blue, button.button.blue {
    background-color: var(--MCR-LightBlue);
    color: var(--MCR-DarkBlue);
}
a.button.blue:hover, button.button.blue:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-LightBlue);
}
a.button.green, button.button.green {
    background-color: var(--MCR-Green);
    color: var(--MCR-DarkBlue);
}
a.button.green:hover, button.button.green:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Green);
}
a.button.pink, button.button.pink {
    background-color: var(--MCR-Pink);
    color: var(--MCR-DarkBlue);
}
a.button.pink:hover, button.button.pink:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Pink);
}
a.button.desktop {
    display: none;
}
@media only screen and (min-width: 768px) {
    a.button, button.button {
        padding: 15px 30px;
        font-size: 18px;
    }
}
@media only screen and (min-width: 1280px) {
    a.button.desktop {
        display: flex;
    }
}
/* ==========================================================================
   Colour bg styles
   ========================================================================== */
.white-bg {
    background-color: var(--White);
}
/* ==========================================================================
   Header styles
   ========================================================================== */
header {
    background-color: var(--White);
    color: var(--MCR-DarkBlue);
    max-width: 100%;
    top: 15px;
    left: 15px;
    right: 15px;
    padding: 12px 15px;
    border-radius: 15px;
    position: fixed;
    height: 60px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    z-index: 20;
    overflow-x: hidden;
    -webkit-transition: border-radius 0.5s ease;
    -moz-transition: border-radius 0.5s ease;
    -ms-transition: border-radius 0.5s ease;
    -o-transition: border-radius 0.5s ease;
    transition: border-radius 0.5s ease;
}
header .site-logo {
    width: 100px;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
}
header .site-logo:focus-visible {
    border-radius: 5px;
    outline-offset: 4px;
}
header .site-logo img {
    width: 100%;
    height: 100%;
}
header.drop {
    border-radius: 20px 20px 0 0;
}
.header-clear {
    height: 90px;
}
#site-navigation {
    display: none;
    align-items: center;
}
#header-primary-menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    font-family: var(--TTCommons);
    gap: 30px;
    margin: 0;
}
.menu-primary-nav-container ul {
    margin: 0;
}
#header-primary-menu li {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    line-height: 100%;
}
#header-primary-menu li:before {
    display: none;
}
/* layout (keep yours if you like) */
#site-navigation { display: none; align-items: center; }
@media (min-width:1280px){ #site-navigation { display:flex; } }

/* layout (keep your existing rules around this) */
#header-primary-menu { display:flex; gap:30px; align-items:center; margin:0; }
#header-primary-menu > li { display:flex; align-items:center; gap:6px; margin:0; padding:0; }

/* links: real border underline on hover */
#header-primary-menu > li > a {
  font-weight:700; font-size:18px;
  text-decoration:none;
  border-bottom:2px solid transparent;
  transition: border-color .2s ease;
  line-height:1;
}
#header-primary-menu > li > a:hover,
#header-primary-menu > li > a:focus {
  border-bottom-color: currentColor;
}

/* caret is separate, never underlined */
#header-primary-menu > li > .menu-caret {
  display:inline-flex; line-height:0;
}

/* hide submenus for now (still rendered so WP adds has-children classes) */
#header-primary-menu .sub-menu { display:none !important; }


#header-primary-menu a {
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}
#header-primary-menu a:hover {
    border-bottom: 2px solid;
}
.search-icon {
    display: none;
    border-radius: 30px;
}
.search-icon svg .bg, .search-icon svg .fg {
    transition: all 0.2s ease;
}
.search-icon:hover svg .fg {
    stroke: var(--MCR-DarkBlue);
}
.search-icon:hover svg .bg {
    fill: var(--MCR-Yellow);
}
#nav-button {
    display: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#nav-button svg circle {
    transition: all 0.2s ease;
}
#nav-button svg path {
    transition: all 0.2s ease;
}
#nav-button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
}
#nav-button:hover svg path {
    fill: var(--MCR-DarkBlue)
}
#nav-button:hover svg circle {
    fill: var(--White);
}
.header-list-active {
    opacity: 0;
    width: 120%;
    position: absolute;
    height: 8px;
    left: -13%;
    border-radius: 4px 4px 0 0;
    background: var(--MCR-DarkBlue);
    bottom: -35px;
}
#header-primary-menu > li.menu-item-has-children:hover .header-list-active,
#header-primary-menu > li.menu-item-has-children:focus-within .header-list-active {
  opacity: 1;
}
#header-primary-menu > li.menu-item-has-children.is-open .header-list-active { opacity: 1; }
.desktop-nav-hover-bg {
    background: rgba(33, 51, 80, 0.90);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}
.desktop-nav-hover-drop {
    background: var(--White);
    max-width: 100%;
    top: 110px;
    left: 20px;
    right: 20px;
    min-height: 300px;
    border-radius: 0 0 20px 20px;
    position: fixed;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}
.desktop-nav-hover-drop .drop-line {
    position: relative;
    width: 100%;
}
.desktop-nav-hover-drop .drop-line div {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    background: var(--MCR-DarkBlue);
    height: 1px;
}
/* hide native WP dropdowns; we’re reusing their content in the hover panel */
#header-primary-menu .sub-menu { display: none; }

.desktop-nav-hover-bg {
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}

.desktop-nav-hover-drop {
  opacity: 0; transition: opacity .2s;
  pointer-events: none; /* toggled to auto in JS when open */
}
.desktop-nav-drop-content {
    z-index: 1;
    position: relative;
    font-family: var(--TTCommons);
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    align-self: start;
}
.desktop-nav-drop-content ul {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 1rem 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: start; 
}  
.desktop-nav-drop-content li {
    margin: 0;
    padding: 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
    width: fit-content;
    font-size: clamp(16px, 1vw, 18px);
}
.desktop-nav-drop-content li:hover {
    border-bottom: 2px solid var(--MCR-DarkBlue);
}
.desktop-nav-drop-content li:before {
    display: none;
}
.desktop-nav-drop-extras {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    padding: 20px;
}
.desktop-nav-drop-extras h3 {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding-bottom: 10px;
    z-index: 1;
}
.desktop-nav-drop-extras svg {
    position: absolute;
    bottom: -20px;
    z-index: 0;
}
.desktop-nav-drop-support {
    display: none;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.desktop-nav-drop-support if-grid {
    padding: 0;
}
.desktop-nav-drop-support .stretch {
    height: 100%;
}
.desktop-nav-drop-support .card {
    width: 100%;
    padding: 20px;
    min-height: 146px;
    user-select: none;
}
.desktop-nav-drop-support .card.yellow:hover div.button {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Orange);
}
.desktop-nav-drop-support .card.yellow {
    color: var(--MCR-DarkBlue);
    padding: 0;
}
.desktop-nav-drop-support .card.yellow .image-content {
    height: 50%;
}
.desktop-nav-drop-support .card.yellow .image-content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.desktop-nav-drop-support .card.yellow .primary-content {
    height: 50%;
    padding: 20px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}
.desktop-nav-drop-support .card.yellow div.button {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
    border: 2px solid transparent;
}
.desktop-nav-drop-support .card.yellow .graphic path {
    stroke: var(--MCR-Orange);
}
.desktop-nav-drop-support .card.wine:hover div.button {
    background-color: var(--MCR-Wine);
    color: var(--MCR-Pink);
    border: 2px solid var(--MCR-Pink);
}
.desktop-nav-drop-support .card.wine {
    color: var(--MCR-Pink);
    background-color: var(--MCR-Wine);
}
.desktop-nav-drop-support .card.wine span {
    color: var(--White);
}
.desktop-nav-drop-support .card.wine div.button {
    background-color: var(--MCR-Pink);
    color: var(--MCR-Wine);
    border: 2px solid transparent;
}
.desktop-nav-drop-support .card.wine .graphic path {
    stroke: var(--MCR-Pink);
}
.desktop-nav-drop-support .card.blue {
    color: var(--MCR-DarkBlue);
    background-color: var(--MCR-LightBlue);
    justify-content: space-between;
}
.desktop-nav-drop-support .card.blue .graphic path {
    stroke: var(--White);
}
.desktop-nav-drop-support .card.blue .arrow {
    margin: 5px 0 15px 0;
    width: 40px;
    height: 40px;
    position: relative;
}
.desktop-nav-drop-support .card.blue .arrow circle {
    transition: fill 0.2s ease;
}
.desktop-nav-drop-support .card.blue .arrow path {
    transition: fill 0.2s ease;
}
.desktop-nav-drop-support .card.blue:hover .arrow circle {
    fill: var(--White);
}
.desktop-nav-drop-support .card.blue:hover .arrow path {
    fill: var(--MCR-DarkBlue);
}
.desktop-nav-drop-support .card div.button {
    padding: 10px 25px;
    border-radius: 50px;
    font-family: var(--TTCommons);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
    font-weight: 700;
    font-size: 16px;
    width: fit-content;
    height: fit-content;
    line-height: 1;
    cursor: pointer;
}
.desktop-nav-support .card div.button {
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--TTCommons);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
    font-weight: 700;
    font-size: 18px;
    width: fit-content;
    height: fit-content;
    line-height: 1;
    cursor: pointer;
}
@media only screen and (min-width: 768px) {
    header {
        height: 90px;
        padding: 20px;
        border-radius: 20px;
        top: 20px;
        left: 20px;
        right: 20px;
    }
    header .site-logo {
        width: 130px;
    }
    .header-clear {
        height: 130px;
    }
}
@media only screen and (min-width: 1280px) {
    #site-navigation {
        display: flex;
    } 
    .search-icon {
        display: flex;
    }
    #nav-button {
        display: flex;
    }
}
@media only screen and (min-width: 1440px) {
    header .site-logo {
        width: 168px;
    }
    .desktop-nav-drop-content ul {
        gap: 1rem 6rem;
    }  
}
/* ==========================================================================
   Hamburger styles
   ========================================================================== */
.ham-nav {
    display: flex;
    gap: 10px;
}
.nav-group {
    display: flex;
    align-items: center;
    height: 100%
}
.hamburger-tapable {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    background-color: var(--MCR-Yellow);
    border-radius: 50%;
    margin-left: 5px;
    border: none;
}
.hamburger {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    display: inline-block;
    position: absolute;
    right: 11px;
    top: 60%;
    margin-top: -10px;
    cursor: pointer;
    width: 18px;
    height: 12px;
    border-top: 2px solid var(--MCR-DarkBlue);
    border-bottom: 2px solid var(--MCR-DarkBlue);
}
.hamburger::before {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--MCR-DarkBlue);
    margin-top: -1px;
}
.hamburger::after {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--MCR-DarkBlue);
    margin-top: -1px;
}
.hamburger.active {
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    border-color: transparent;
}
.hamburger.active:before {
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    zoom: 1;
    left: -2px;
    right: -2px;
    background: var(--MCR-DarkBlue);
}
.hamburger.active:after {
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    zoom: 1;
    left: -2px;
    right: -2px;
    background: var(--MCR-DarkBlue);
}
@media only screen and (min-width: 1280px) {
    .nav-group {
        display: none;
    }
}
/* ==========================================================================
   Mobile nav styles
   ========================================================================== */
   .mobile-nav {
    position: fixed;
    font-family: var(--TTCommons);
    width: 100%;
    height: 0;
    background: var(--White);
    display: none;
    z-index: 3;
    overflow: auto;
    user-select: none;
    -webkit-user-select: none; 
    -moz-user-select: none;
}
.mobile-nav:focus {
    outline-offset: 2px;
}
.mobile-nav.active {
    height: 100%;
    display: block;
}
body.mobile-nav-active {
    overflow: hidden;
}
.mobile-nav-container {
    width: 100%;
    padding: 0 30px 30px 30px;
    box-sizing: border-box;
    margin-top: 76px;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.mobile-nav-container .hr {
    width: 100%;
    height: 1px;
    background-color: var(--MCR-DarkBlue);
    margin-bottom: 12px;
    margin-top: 12px;
}
.mobile-nav-container:focus {
    outline: transparent;
}
.mobile-nav-container a {
    background: none;
}
.mobile-nav-container .card {
    width: 100%;
}
.mobile-nav-container .card.yellow:hover div.button {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Orange);
}
.mobile-nav-container .card.yellow {
    color: var(--MCR-DarkBlue);
}
.mobile-nav-container .card.yellow div.button {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
    border: 2px solid transparent;
}
.mobile-nav-container .card.yellow .graphic path {
    stroke: var(--MCR-Orange);
}
.mobile-nav-container .card.wine:hover div.button {
    background-color: var(--MCR-Wine);
    color: var(--MCR-Pink);
    border: 2px solid var(--MCR-Pink);
}
.mobile-nav-container .card.wine {
    color: var(--MCR-Pink);
    background-color: var(--MCR-Wine);
}
.mobile-nav-container .card.wine div.button {
    background-color: var(--MCR-Pink);
    color: var(--MCR-Wine);
    border: 2px solid transparent;
}
.mobile-nav-container .card.wine .graphic path {
    stroke: var(--MCR-Pink);
}
.mobile-nav-container .card.blue {
    color: var(--MCR-DarkBlue);
    background-color: var(--MCR-LightBlue);
}
.mobile-nav-container .card.blue .graphic path {
    stroke: var(--White);
}
.mobile-nav-container .card.blue .arrow {
    margin: 5px 0 0 0;
    width: 40px;
    height: 40px;
}
.mobile-nav-container .card.blue .arrow circle {
    transition: fill 0.2s ease;
}
.mobile-nav-container .card.blue .arrow path {
    transition: fill 0.2s ease;
}
.mobile-nav-container .card.blue:hover .arrow circle {
    fill: var(--White);
}
.mobile-nav-container .card.blue:hover .arrow path {
    fill: var(--MCR-DarkBlue);
}
.mobile-nav-container .card div.button {
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--TTCommons);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
    font-weight: 700;
    font-size: 18px;
    width: fit-content;
    height: fit-content;
    line-height: 1;
    cursor: pointer;
}
.mobile-nav-item {
    width: 100%;
}
.mobile-nav-heading.search {
    margin-top: 8px;
}
.mobile-nav-heading.search a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.mobile-nav-heading.search p {
    font-size: 20px;
    margin: 0;
}
.mobile-nav-heading.search .search-icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 8px;
}
.mobile-nav-heading {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
}
.mobile-nav-heading a {
    font-size: 20px;
    border: transparent;
    font-weight: 600;
}
.mobile-nav-heading a.active {
    border-bottom: 2px solid var(--MCR-DarkBlue);
    padding-bottom: 8px;
}
.mobile-nav-heading .arrow {
    -webkit-transition: transform 0.2s ease;
    -moz-transition: transform 0.2s ease;
    -ms-transition: transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
}
.mobile-nav-heading .arrow.active {
    transform: rotate(180deg);
}
.mobile-nav-sub-category {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;  
    padding-left: 24px;
    display: none;
}
.mobile-nav-sub-category a:last-child {
    margin-bottom: 16px;
}
.mobile-nav-sub-category.active {
    display: flex;
}
.mobile-nav-sub-category a {
    font-size: 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    width: fit-content;
    border: transparent;
}
.mobile-nav-sub-category a.active {
    border-bottom: 2px solid var(--MCR-DarkBlue);
}
@media only screen and (min-width: 768px) {
    .mobile-nav-container {
        margin-top: 106px;
    }
    .mobile-nav-container {
        padding: 0 40px 40px 40px;
    }
}
@media only screen and (min-width: 1280px) {
    .mobile-nav {
        display: none!important;
    }
}

/* ==========================================================================
Homepage hero styles
========================================================================== */
.home-updates {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
    border-radius: 50px;
    padding: 9px 10px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.home-updates p {
    font-size: clamp(12px, 1vw, 16px);
    font-family: var(--TTCommons);
    font-weight: 900;
    line-height: 2;
    margin: 0 0 0 5px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}
.home-updates p a {
    border-bottom: 1px solid;
    outline-offset: -2px;
}
.home-updates p a:hover {
    border-bottom: 1px solid transparent;
}
.home-updates-tag {
    width: fit-content;
    height: fit-content;
    border-radius: 50px;
    background: var(--MCR-Ivory);
    flex-shrink: 0;
    padding: 5px 15px;
    display: none;
}
.updates-row {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 20px;
}
.updates-swiper {
    flex: 1 1 0;
    min-width: 0;
    width: auto!important;
    overflow: hidden;
}
.updates-swiper .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}
.updates-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.updates-pagination {
    flex-flow: row nowrap;
    margin: 0 8px 0 10px;
    font-size: clamp(12px, 1vw, 16px);
    font-family: var(--TTCommons);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-align: center;
    width: 30px;
    display: flex;
    justify-content: center;
}
.updates-button-prev, .updates-button-next {
    display: flex;
    cursor: pointer;
    border-radius: 30px;
}
.updates-button-prev:hover svg circle, .updates-button-next:hover svg circle {
    fill: var(--MCR-Yellow);
}
.updates-swiper .swiper-slide {
    visibility: hidden;
}
.updates-swiper.swiper-initialized .swiper-slide {
    visibility: visible;
}
.card {
    border-radius: 15px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.card.slideshow {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.card.slideshow h2,
.card.slideshow a.button {
    position: relative;
    z-index: 2;
    user-select: none;
}
.card.slideshow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
    pointer-events: none;
}
.slideshow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}
.slideshow-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 3s ease, transform 10s ease;
}
/* Different transform origins for Ken Burns effect */
.slideshow-wrapper img:nth-child(2n+1) { transform-origin: top right; }
.slideshow-wrapper img:nth-child(3n+1) { transform-origin: top left; }
.slideshow-wrapper img:nth-child(4n+1) { transform-origin: bottom right; }

/* Active image */
.slideshow-wrapper img.fx {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}
.card.slideshow a.button:focus-visible {
    outline-color: var(--MCR-Yellow);
    outline-offset: 4px;
}
.card.teal a.button:focus-visible {
    outline-color: var(--MCR-Green);
    outline-offset: 4px;
}
.card.blue a.button:focus-visible {
    outline-color: var(--MCR-LightBlue);
    outline-offset: 4px;
}
.card.yellow a.button:focus-visible {
    outline-color: var(--MCR-DarkBlue);
    outline-offset: 4px;
}
.card.orange a.button:focus-visible {
    outline-color: var(--MCR-DarkBlue);
    outline-offset: 4px;
}
.card.pink a.button:focus-visible {
    outline-color: var(--MCR-Pink);
    outline-offset: 4px;
}
.card.slideshow .button {
    color: var(--MCR-DarkBlue);
}
.card.slideshow .button:hover {
    color: var(--MCR-Yellow);
}
.card .graphic {
    position: absolute;
    width: 25%;
    height: fit-content;
    right: 15px;
    bottom: -5px;
    overflow: visible;
}
.card h2 {
    position: relative;
    line-height: 110%;
}
.card h3 {
    margin: 0 0 20px 0;
    line-height: 110%;
    position: relative;
}
.card h4 {
    line-height: 110%;
    position: relative;
}
.card .button {
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.card.teal {
    background-color: var(--MCR-Teal);
    color: var(--White);        
}
.card.teal span {
    color: var(--MCR-Green);
}
.card.teal .button {
    background-color: var(--MCR-Green);
    color: var(--MCR-Teal);
    border: 2px solid transparent;
}
.card.teal .graphic path {
    stroke: var(--MCR-Green);
}
.card.teal .button:hover {
    background-color: var(--MCR-Teal);
    color: var(--MCR-Green);
    border: 2px solid var(--MCR-Green);
}
.card.blue {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);    
}
.card.blue span {
    color: var(--MCR-LightBlue);
}
.card.blue .button {
    background-color: var(--MCR-LightBlue);
    color: var(--MCR-DarkBlue);
    border: 2px solid transparent;
}
.card.blue .graphic path {
    stroke: var(--MCR-LightBlue);
}
.card.blue .button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-LightBlue);
    border: 2px solid var(--MCR-LightBlue);
}
.card.yellow {
    background-color: var(--MCR-Yellow);
    color: var(--MCR-Teal);    
}
.card.yellow span {
    color: var(--MCR-DarkBlue);
}
.card.yellow .button {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
    border: 2px solid transparent;
}
.card.yellow .graphic path {
    stroke: var(--MCR-Teal);
}
.card.yellow .button:hover {
    background-color: var(--MCR-Yellow);
    border: 2px solid var(--MCR-DarkBlue);
    color: var(--MCR-DarkBlue);
}
.card.pink {
    background-color: var(--MCR-Wine);
    color: var(--White);    
}
.card.pink span {
    color: var(--MCR-Pink);
}
.card.pink .button {
    background-color: var(--MCR-Pink);
    color: var(--MCR-Wine);
    border: 2px solid transparent;
}
.card.pink .graphic path {
    stroke: var(--MCR-Pink);
}
.card.pink .button:hover {
    background-color: var(--MCR-Wine);
    border: 2px solid var(--MCR-Pink);
    color: var(--MCR-Pink);
}
.card.orange {
    background-color: var(--MCR-Orange);
    color: var(--White);    
}
.card.orange span {
    color: var(--MCR-DarkBlue);
}
.card.orange .button {
    background-color: var(--White);
    color: var(--MCR-DarkBlue);
    border: 2px solid transparent;
}
.card.orange .graphic path {
    stroke: var(--MCR-DarkBlue);
}
.card.orange .button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
@media only screen and (min-width: 560px) {
    .card.slideshow {
        min-height: 420px;
    }
}
@media only screen and (min-width: 768px) {
    .card {
        border-radius: 20px;
        padding: 40px;
    } 
    .card.slideshow {
        min-height: 550px;
    }
    .home-updates-tag {
        display: flex;
    }  
    .home-updates p {
        margin: 0;
    }
    .updates-pagination {
        margin: 0 15px 0 19px;
    }
}
@media only screen and (min-width: 992px) {
    .card .graphic {
        width: 36%
    }
    .card.slideshow {
        min-height: unset;
    }
}
@media only screen and (min-width: 1280px) {
    .card {
        min-height: 340px;
    }
}
/* ==========================================================================
   Team block styles
   ========================================================================== */
.team-card {
    width: 100%;
    background: var(--MCR-DarkBlue);
    color: var(--White);
    position: relative;
    border-radius: 15px;
    padding: 15px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.team-member:focus-visible {
    outline-color: var(--MCR-DarkBlue);
    outline-offset: 4px;
    border-radius: 20px;
}
.team-member:focus-visible .team-card img {
    transform: scale(1.1);
}
.team-member:focus-visible .team-card svg circle {
    fill: var(--MCR-DarkBlue);
}
.team-member:focus-visible .team-card svg path {
    stroke: var(--MCR-Yellow);
}
.team-member p {
    margin-bottom: 0;
}
.team-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.team-card svg {
    flex-shrink: 0;
}
.team-card svg rect {
    transition: all 0.3s ease;
}
.team-card svg path {
    transition: all 0.3s ease;
}
.team-socials {
    display: flex;
}
.team-socials a {
    width: 42px;
    height: 42px;
    margin-left: 8px;
}
.team-socials svg {
    width: 100%;
    height: 100%;
}
.team-socials a:hover svg rect {
    fill: var(--MCR-DarkBlue);
}
.team-socials a:hover svg path {
    fill: var(--MCR-Yellow);
}
/* .team-card:hover img {
    transform: scale(1.1);
}
.team-card:hover svg circle {
    fill: var(--MCR-DarkBlue);
}
.team-card:hover svg path {
    stroke: var(--MCR-Yellow);
} */
.team-card-grad {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%);
}
.team-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;   
}
.team-card-body h3 {
    margin: 0 0 10px 0;
    line-height: 100%;
}
.team-card-body h4 {
    margin: 0;
    line-height: 120%;
}
.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 51, 80, 0.9);
    z-index: 1000;
}
.team-modal.active {
    display: flex;
}
.team-modal-content {
    background: var(--White);
    color: var(--MCR-DarkBlue);
    position: relative;
    margin: auto;
    display: flex;
    padding: 30px;
    border-radius: 20px;
    min-width: 300px;
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
    gap: 30px;
}
.team-modal-body {
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.team-modal-body .button {
    margin-bottom: 16px;
}
.team-modal-body h3 {
    margin: 0;
}
.team-modal-img {
    display: none;
    max-width: 40%;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}
.team-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    margin: 10px;
    background: none;
    border: none;
    border-radius: 50px;
}
.team-modal-close svg circle {
    transition: all 0.3s ease;
}
.team-modal-close svg path {
    transition: all 0.3s ease;
}
.team-modal-close:hover svg circle {
    fill: var(--MCR-Yellow);
}
.team-modal-close:hover svg path {
    stroke: var(--MCR-DarkBlue);
}   
@media only screen and (min-width: 768px) {
    .team-card {
        border-radius: 20px;
        padding: 20px;
    } 
    .team-card-body {
        padding: 20px;
    }
    .team-modal-img {
        display: block;
    }
    .team-block {
        padding: 0 40px; 
    }
}
@media only screen and (min-width: 1280px) {
    .team-modal-content {
        max-width: 1200px;
    }
}
/* ==========================================================================
   Timeline block styles
   ========================================================================== */
.timeline-container h2:first-child {
    text-align: center;
    margin-bottom: 1.2em;
}
.timeline-line {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}
.timeline-line h2 {
    margin: -32px 16px 0 0;
    display: none;
}
.timeline-block.pass h2 {
    color: var(--MCR-Orange);
}
.timeline-block h2 {
    transition: color 0.2s ease;
}
.timeline-line .line {
    height: 100%;
    width: 2px;
    margin: 0 8px;
    background: var(--MCR-DarkBlue);
    position: relative;
    flex-shrink: 0;
}
.timeline-line .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--MCR-Ivory);
    border-radius: 50%;
    background: var(--MCR-DarkBlue);
    transition: all 0.2s ease;
}
.timeline-line .line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--line-progress, 0) * 100%);
    background: var(--MCR-Orange);
    transition: all 0.2s ease;
}
.timeline-block:last-child .timeline-line .line::before {
    display: none;
}
.timeline-block:last-child .timeline-line .line {
    background: transparent;
}
.timeline-block.pass .line::after {
    background: var(--MCR-Orange);
    width: 20px;
    height: 20px;
    left: -11px;
}
.timeline-content {
    margin-bottom: 3em;
}
.timeline-content img {
    border-radius: 15px;
}
.timeline-container .timeline-content h2 {
    text-align: left;
    margin: -12px 0 16px 0;
}
@media only screen and (min-width: 992px) {
    .timeline-line h2 {
        display: block;
    }
    .timeline-content h2 {
        display :none;
    }
    .timeline-line {
        justify-content: flex-end;
    }
    .timeline-content img {
        border-radius: 20px;
    }
}
/* ==========================================================================
   Logo list block styles
   ========================================================================== */
.logo-list {
    max-width: 1200px;
}
.large-logo-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding : 0 2em;
}
.large-logo-list .logo-item {
    width: 210px;
    height: 120px;
    padding: 16px;
}
.logo-item {
    background: var(--White);
    padding: 8px;
    border-radius: 10px;
    aspect-ratio: 2.1 / 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media only screen and (min-width: 992px) {
    .logo-item {
        border-radius: 20px;
        padding: 16px;
    }
}
/* ==========================================================================
   Accordion block styles
   ========================================================================== */
.accordion-block {
    padding: 0 30px;
}
.accordion-block h2 {
    margin-top: 0;
}
.accordion-item {
    display: flex;
    flex-flow: column;
    background: var(--White);
    border-radius: 15px;
    margin: 0 0 20px 0;
}
.accordion-title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.accordion-title:hover svg .bg {
    fill: var(--MCR-DarkBlue);
}
.accordion-title:hover svg .fg {
    fill: var(--MCR-Yellow);
}
.accordion-title h3 {
    margin: 0;
    font-weight: 600;
    font-size: clamp(18px, 2vw, 24px);
}
.accordion-title:focus-visible {
    outline: 2px solid var(--MCR-DarkBlue);
}
.accordion-title:focus-visible svg .bg {
    fill: var(--MCR-DarkBlue);
}
.accordion-title:focus-visible svg .fg {
    fill: var(--MCR-Yellow);
}
.accordion-toggle {
    padding-left: 20px;
}
.accordion-toggle svg {
    width: 30px;
    height: 30px;
    transition: all 0.2s ease;
}
.accordion-toggle.open svg {
    transform: rotate(180deg);
}
.accordion-toggle svg .bg {
    fill: var(--MCR-Yellow);
    transition: fill 0.2s ease;
}
.accordion-toggle svg .fg {
    fill: var(--MCR-DarkBlue);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: var(--MCR-DarkBlue);
    color: var(--White);
    margin: 0 10px;
    border-radius: 10px;
    opacity: 0;
    margin-bottom: 0px;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-bottom 0.5s ease;
}
.accordion-content p {
    margin: 20px;
}
.accordion-content.open {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 10px;
}
.accordion-hr hr {
    border: 0.5px solid var(--MCR-DarkBlue);
    margin-top: 10px;
}
.accordion-block:last-child .accordion-hr {
    display: none;
}  
@media only screen and (min-width: 768px) {
    .accordion-block {
        padding: 0 40px;
    }
    .accordion-content p {
        margin: 30px;
    }
    .accordion-item {
        border-radius: 20px;
    }
    .accordion-hr hr {
        margin-top: 30px;
    }
}
/* ==========================================================================
   Download block styles
   ========================================================================== */
.download-block {
    background-color: var(--White);
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
}
.download-block h3 {
    margin: 0;
    text-align: center;
}
.download-block .button {
    min-width: fit-content;
}
@media only screen and (min-width: 768px) {
    .download-block {
        border-radius: 20px;
        flex-flow: row nowrap;
    }
    .download-block h3 {
        text-align: left;
    }
}
/* ==========================================================================
   Impact text block styles
   ========================================================================== */
.impact-text-block {
    max-width: 900px;
    margin: 0 auto;
}

.impact-text-block p {
    font-size: clamp(28px, 4vw, 48px);
    font-family: var(--TTCommons);
    font-weight: 900;
    margin: 0 0 3vw 0;
    line-height: 120%;
    color: var(--MCR-DarkBlue);
}
.split-line {
    display: block;
    overflow: hidden;
}
.line {
    position: relative;
}
.line-mask {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: var(--MCR-Ivory);
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}
/* ==========================================================================
   Sticky card block styles
   ========================================================================== */
/* Card stack container */
.card-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: var(--cardHeight);
    gap: var(--cardMargin);
    padding-bottom: var(--cardTopPadding);
  }
  
  /* Each sticky card */
  .sticky-card {
    position: sticky;
    align-self: start;
    top: 90px;
  }
  
  /* Automatically assign index based on child position */
  .sticky-card:nth-child(1)  .sticky-card-body { --offset: 0; }
  .sticky-card:nth-child(2)  .sticky-card-body { --offset: 1; }
  .sticky-card:nth-child(3)  .sticky-card-body { --offset: 2; }
  .sticky-card:nth-child(4)  .sticky-card-body { --offset: 3; }
  .sticky-card:nth-child(5)  .sticky-card-body { --offset: 4; }
  .sticky-card:nth-child(6)  .sticky-card-body { --offset: 5; }
  .sticky-card:nth-child(7)  .sticky-card-body { --offset: 6; }
  .sticky-card:nth-child(8)  .sticky-card-body { --offset: 7; }
  .sticky-card:nth-child(9)  .sticky-card-body { --offset: 8; }
  .sticky-card:nth-child(10) .sticky-card-body { --offset: 9; }
  .sticky-card:nth-child(11) .sticky-card-body { --offset: 10; }
  .sticky-card:nth-child(12) .sticky-card-body { --offset: 11; }

  /* Grow the tail only if those children exist (no huge gaps) */
    .card-stack:has(> .sticky-card:nth-child(2))  { padding-bottom: calc(2  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(3))  { padding-bottom: calc(3  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(4))  { padding-bottom: calc(4  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(5))  { padding-bottom: calc(5  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(6))  { padding-bottom: calc(6  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(7))  { padding-bottom: calc(7  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(8))  { padding-bottom: calc(8  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(9))  { padding-bottom: calc(9  * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(10)) { padding-bottom: calc(10 * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(11)) { padding-bottom: calc(11 * var(--cardTopPadding)); }
    .card-stack:has(> .sticky-card:nth-child(12)) { padding-bottom: calc(12 * var(--cardTopPadding)); }

  /* --- existing card body styles --- */
  .sticky-card-body {
    border-radius: 15px;
    height: var(--cardHeight);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    overflow: hidden;
    transform: translateY(calc(var(--offset, 0) * var(--cardTopPadding)));
  }
 /* ORANGE/DEFAULT THEME */
.sticky-card:nth-child(3n + 1) .sticky-card-body {
    background-color: var(--MCR-Orange);
  }
  .sticky-card:nth-child(3n + 1) .sticky-card-body .sticky-card-tag {
    background-color: rgba(255,255,255,0.2);
  }
  /* every 2nd card in the 3-card cycle = yellow */
  .sticky-card:nth-child(3n + 2) .sticky-card-body {
    background-color: var(--MCR-Yellow);
  }
  .sticky-card:nth-child(3n + 2) .sticky-card-body .button {
    background-color: var(--White);
  }
  .sticky-card:nth-child(3n + 2) .sticky-card-body .sticky-card-tag {
    background-color: rgba(255,255,255,0.2);
  }
  /* every 3rd card in the 3-card cycle = white */
  .sticky-card:nth-child(3n + 3) .sticky-card-body {
    background-color: var(--White);
  }  
  .sticky-card:nth-child(3n + 1) .sticky-card-body .button:hover,
  .sticky-card:nth-child(3n + 2) .sticky-card-body .button:hover,
  .sticky-card:nth-child(3n)     .sticky-card-body .button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
  }
   /* GREEN THEME */
.sticky-card-block.green .sticky-card:nth-child(3n + 1) .sticky-card-body {
    background-color: var(--MCR-Teal);
    color: var(--White);
  }
  .sticky-card-block.green .sticky-card:nth-child(3n + 1) .sticky-card-body .sticky-card-tag {
    background-color: rgba(255,255,255,0.2);
  }
  /* every 2nd card in the 3-card cycle = yellow */
  .sticky-card-block.green .sticky-card:nth-child(3n + 2) .sticky-card-body {
    background-color: var(--MCR-Green);
  }
  .sticky-card-block.green .sticky-card:nth-child(3n + 2) .sticky-card-body .button {
    background-color: var(--White);
  }
  .sticky-card-block.green .sticky-card:nth-child(3n + 2) .sticky-card-body .sticky-card-tag {
    background-color: rgba(255,255,255,0.2);
  }
  /* every 3rd card in the 3-card cycle = white */
  .sticky-card-block.green .sticky-card:nth-child(3n + 3) .sticky-card-body {
    background-color: var(--White);
  }  
  .sticky-card-block.green .sticky-card:nth-child(3n + 1) .sticky-card-body .button:hover,
  .sticky-card-block.green .sticky-card:nth-child(3n + 2) .sticky-card-body .button:hover,
  .sticky-card-block.green .sticky-card:nth-child(3n)     .sticky-card-body .button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
  }
  /* --- image/content --- */
  .sticky-card-image {
    flex: 1;
    width: 100%;
    height: 50%;
  }
  .sticky-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .sticky-card-content {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    height: 50%;
  }
  .sticky-card-text {
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
    max-width: 800px;
  }
  .sticky-card-text h3 {
    text-align: center;
    margin: 0 0 16px 0;
    font-size: clamp(18px, 2.5vw, 42px);
    line-height: 110%;
  }
  .sticky-card-text p {
    font-size: clamp(14px, 1vw, 18px);
    text-wrap: balance;
  }
  .sticky-card-content a.button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .sticky-card-tag {
    position: absolute;
    display: none;
    top: 0;
    margin-top: 30px;
    background-color: #F7F3E5;
    padding: 11px 15px;
    font-weight: 900;
    line-height: 1;
    border-radius: 50px;
    font-size: clamp(12px, 1vw, 14px);
  }
  /* --- responsive tweaks --- */
  @media only screen and (min-width: 768px) {
    .sticky-card {
      top: 90px;
    }
    .sticky-card-body {
      border-radius: 20px;
    }
    .sticky-card-content {
      padding: 60px;
    }
    .sticky-card-content a.button {
        padding: 15px 30px;
        font-size: 16px;
    }
  }
  @media only screen and (min-width: 992px) {
    .sticky-card-body {
      flex-flow: row;
    }
    .sticky-card-image {
      height: 100%;
    }
    .sticky-card-content {
      height: 100%;
    }
    .sticky-card-tag {
      display: flex;
    }
    .sticky-card-text h3 {
      margin: 32px 0 16px 0;
    }
    .sticky-card {
        top: 130px;
    }
}
@media only screen and (min-width: 1440px) {
    .sticky-card-tag {
        margin-top: 60px;
    }
}
/* ==========================================================================
   Video block styles
   ========================================================================== */
.video-block-container {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
}
.video-block-container.small {
    background: none;
}
.video-block-container .graphic path {
    stroke: var(--MCR-Yellow);
}
.video-block-container.teal {
    background-color: var(--MCR-Teal);
    color: var(--White);
}
.video-block-container.blue {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
.video-block-container.teal .graphic path {
    stroke: var(--MCR-DarkBlue);
}
.video-block-container.teal .video-block .button {
    color: var(--MCR-DarkBlue);
}
.video-block-container.teal .video-block .button:hover {
    color: var(--White);
}
.video-block-container.blue .graphic path {
    stroke: var(--MCR-Teal);
}
.video-block-container.blue .video-block .button {
    color: var(--MCR-DarkBlue);
}
.video-block-container.blue .video-block .button:hover {
    color: var(--White);
}
.video-block {
    position: relative;
    overflow: hidden;
}
.video-block if-cell {
    position: relative;
}
.video-block .graphic {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 120%;
}
.video-block h2 {
    margin-top: 2em;
    max-width: 25ch;
}
.video-outro {
    max-width: 800px;
    margin: auto;
}
.video-outro h1,
.video-outro h2,
.video-outro h3 {
    margin-top: 0;
}
.video-block p {
    text-wrap: balance;
}
.video-block .button {
    background: var(--White);
}
.video-block .button:hover {
    background: var(--MCR-DarkBlue);
    color: var(--White);
}
.video-block .video-wrapper {
    border-radius: 15px;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.video-block .video-wrapper-inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-block .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background-color: var(--MCR-DarkBlue);
}
.video-play-poster {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.video-play-poster img {
    height: 100%;
    object-fit: cover;
}
.video-play-button {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.video-play-button svg {
    width: 50px;
    height: 50px;
}
.video-play-button svg:hover circle {
    fill: var(--MCR-Orange);
}
.video-play-button { z-index: 3; }
.video-play-poster { z-index: 2; }

/* Block pointer interactions with the iframe until played */
.video-wrapper-inner.is-armed iframe { pointer-events: none; }
@media only screen and (min-width: 600px) {
    .video-play-button svg {
        width: 64px;
        height: 64px;
    }
}
@media only screen and (min-width: 768px) {
    .video-block .video-wrapper {
        border-radius: 20px;
    }
    .video-play-button svg {
        width: 80px;
        height: 80px;
    }
}
/* ==========================================================================
   Mix block styles
   ========================================================================== */
.mix-block-container.blue {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
.mix-block-container.teal {
    background-color: var(--MCR-Teal);
    color: var(--White);
}
.mix-block-container.hide-graphic .graphic path {
    stroke: transparent!important;
}
.mix-block-container.small {
    background: none;
}
.mix-block {
    position: relative;
    overflow: hidden;
}
.mix-block a:hover {
    text-decoration: none!important;
}
.mix-block a {
    text-decoration: underline;
}
.mix-block a.button {
    text-decoration: none;
}
.mix-block if-cell {
    position: relative;
}
.mix-block .graphic {
    position: absolute;
    top: -10%;
    left: -5%;  
    width: 120%;
}
.mix-block .graphic path {
    stroke: transparent;
}
.mix-block-container.blue .graphic path {
    stroke: var(--MCR-Teal);
}
.mix-block-container.teal .graphic path {
    stroke: var(--MCR-DarkBlue);
}
.mix-block h2 {
    margin-top: 2em;
    max-width: 25ch;
}
.mix-block p {
    text-wrap: balance;
}
.mix-block .rte {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.mix-block .rte p {
    text-wrap: unset;
}
.mix-block .rte h2 {
    margin-top: 0;
}
.mix-block .button {
    background: var(--White);
    color: var(--MCR-DarkBlue);
}
.mix-block .button:hover {
    background: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
}
.mix-image {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.mix-image.large {
    height: 100%;
}
.mix-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.mix-quote {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
}
.mix-quote .quote-credit img {
    width: 40px;
    height: 40px;
}
.mix-quote .quote-slide-icon svg {
    height: 14vw;
    width: auto;
    max-height: 72px;
}
.mix-quote .quote-credit p {
    font-size: 14px;
}
.mix-quote .quote-slide-content {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: 20px;
}
.mix-quote .quote-slide-content p {
    font-weight: 800;
    margin: 0;
}
@media only screen and (min-width: 600px) {
    .mix-quote .quote-slide-icon svg {
        height: 8vw;
    }
}
@media only screen and (min-width: 768px) {
    .mix-quote .quote-slide-icon {
        height: 50px;
    }
    .mix-quote .quote-slide-content {
        gap: 20px;
    }
    .mix-quote .quote-credit img {
        width: 50px;
        height: 50px;
    }   
}
@media only screen and (min-width: 992px) {
    .mix-image.large {
        aspect-ratio: unset;
    }
    .mix-quote .quote-slide-icon svg {
        height: 6vw;
    }
}
@media only screen and (min-width: 1024px) {
    .mix-quote .quote-credit p {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1280px) {
    .mix-quote .quote-credit img {
        width: 64px;
        height: 64px;
    }
}
@media only screen and (min-width: 1440px) {
    .mix-quote .quote-slide-icon svg {
        height: 10vw;
    }
}
/* ==========================================================================
   Image/text block styles
   ========================================================================== */
.mix-block-container.image-text h2,
.mix-block-container.image-text p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.mix-block-container .intro-text {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.mix-block-container .intro-text h2 {
    margin-left: 0;
    margin-right: 0;
}
.mix-block-container .intro-text p {
    text-wrap: unset;
}
.side-by-side {
    display: flex;
    flex-flow: column;
    gap: 40px;
    max-width: 1400px;
    margin: auto;
}
.side-by-side a.button {
    margin: 0;
    text-decoration: none;
}
.mix-block-container.image-text .text {
    padding: 0 20px;
    flex: 1;
    order: 2;
}
.mix-block-container.image-text .text p {
    text-align: left;
}
.mix-block-container.image-text .text h3 {
    margin-top: 0;
}
.mix-block-container.image-text .image {
    aspect-ratio: 1 / 1;
    flex: 1;
    order: 1;
}
.mix-block-container.image-text .image img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (min-width: 768px) {
    .mix-block-container.image-text .image img {
        border-radius: 20px;
    }
    .side-by-side {
        flex-flow: row;
    }
    if-cell.side-by-side:nth-of-type(even) .image { order: 1; }
    if-cell.side-by-side:nth-of-type(even) .text  { order: 2; }
    /* Even rows: text first, image second */
    if-cell.side-by-side:nth-of-type(odd) .image { order: 2; }
    if-cell.side-by-side:nth-of-type(odd) .text  { order: 1; }
}
/* ==========================================================================
   Carousel block
   ========================================================================== */
[aos], .swiper-slide, .animates-in {
    will-change: transform, opacity;
}
.carousel-swiper .swiper-wrapper {
    cursor: grab;
    align-items: stretch;
    padding: 0 15px;
}
.carousel-swiper .swiper-slide {
    height: auto;
    position: relative;
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
    border-radius: 15px;
    box-sizing: border-box;
    padding: 15px;
    gap: 10px;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.carousel-swiper .quote-slide-content {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}
.carousel-swiper .stat-slide {
    padding-bottom: 160px;
}
.carousel-swiper .quote-slide {
    background-color: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
    justify-content: space-between;
    align-items: flex-start;
}
.carousel-swiper .quote-slide p {
    font-weight: 800;
}
.carousel-swiper .quote-slide svg {
    height: 2em;
    width: auto;
    max-height: 72px;
}
.carousel-swiper .quote-slide-icon {
    height: 40px;
}
.quote-credit {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.quote-credit div {
    display: flex;
    flex-flow: row nowrap;
    gap: 1em;
    align-items: center;
}
.quote-credit img {
    width: 40px;
    height: 40px;
    border-radius: 64px;
    background-color: var(--White);
}
.quote-credit p {
    font-size: 16px;
    line-height: 120%;
}
.quote-credit svg {
    cursor: pointer;
    width: 50px;
    height: 50px;
}
.quote-credit svg:hover rect {
    fill: var(--MCR-Orange);
}
.quote-credit svg:hover path {
    fill: var(--MCR-DarkBlue);
}
.carousel-swiper .swiper-slide h2 {
    margin: 0;
    position: relative;
    font-size: clamp(34px, 5vw, 90px);
    line-height: 90%;
    min-height: 40px;
}

.carousel-swiper .stat-slide:nth-of-type(3n + 1) h2 {
    color: var(--MCR-Orange);
}
.carousel-swiper .stat-slide:nth-of-type(3n + 2) h2 {
    color: var(--MCR-LightBlue);
}
.carousel-swiper .stat-slide:nth-of-type(3n + 3) h2 {
    color: var(--MCR-Pink);
}
.carousel-swiper .stat-slide.pink h2 {
    color: var(--MCR-Pink);
}
.carousel-swiper .swiper-slide p {
    position: relative;
    margin: 0;
}
.carousel-swiper .swiper-slide .graphic {
    position: absolute;
    width: 50%;
    max-width: 200px;
    height: fit-content;
    right: 15px;
    bottom: -5px;
    overflow: visible;
}
.carousel-swiper .stat-slide:nth-of-type(3n + 1) .graphic path {
    stroke: var(--MCR-Orange);
}
.carousel-swiper .stat-slide:nth-of-type(3n + 2) .graphic path {
    stroke: var(--MCR-LightBlue);
}
.carousel-swiper .stat-slide:nth-of-type(3n + 3) .graphic path {
    stroke: var(--MCR-Pink);
}
.carousel-swiper .stat-slide.pink .graphic path {
    stroke: var(--MCR-Pink);
}
.carousel-swiper .icon-slide .icon-image {
    width: 50%;
    aspect-ratio: 1 / 1;
}
.carousel-swiper .swiper-slide.icon-slide {
    min-height: 0;
}
.carousel-nav {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.carousel-nav .carousel-button-prev, .carousel-nav .carousel-button-next {
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-nav .carousel-button-prev:hover circle, .carousel-nav .carousel-button-next:hover circle {
    fill: var(--MCR-DarkBlue);
}
.carousel-nav .carousel-button-prev:hover path, .carousel-nav .carousel-button-next:hover path {
    fill: var(--MCR-Yellow);
}
.carousel-nav .carousel-button-prev {
    margin-right: 5px;
}
.carousel-track {
    width: 100%;
    border-radius: 100px;
    background: rgba(33, 51, 80, 0.10);
    height: 10px;
    margin-right: 5px;
    position: relative;
    overflow: hidden;
}
.carousel-pill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 150px;
    border-radius: inherit;
    transition: transform 0.2s linear;
    will-change: transform, width;
    background: var(--MCR-DarkBlue);
    border-radius: 100px;
    cursor: grab;
}
.carousel-pill:active {
    cursor: grabbing;
}
    
@media only screen and (min-width: 600px) {
    .carousel-swiper .swiper-slide {
        min-height: 300px;
    }
}    
@media only screen and (min-width: 768px) {
    .quote-credit img {
        width: 50px;
        height: 50px;
    } 
    .carousel-swiper .quote-slide svg {
        height: 3em;
    }
    .carousel-swiper .swiper-slide {
        min-height: 400px;
    }
    .carousel-swiper .swiper-slide {
        border-radius: 20px;
        padding: 20px;
        gap: 20px;
    }
    .carousel-swiper .quote-slide-content {
        gap: 20px;
    }
    .carousel-swiper .swiper-slide .graphic {
        right: 20px;
    }
    .carousel-swiper .stat-slide {
        padding-bottom: 140px;
    }
    .carousel-swiper .swiper-wrapper {
        padding: 0 20px;
    }
    .carousel-nav .carousel-button-prev {
        margin-right: 10px;
    }
    .carousel-track {
        margin-right: 25px;
    }
    .carousel-nav {
        padding: 20px;
    }
    .carousel-swiper .swiper-slide h2 {
        min-height: 50px;
    }
    .carousel-swiper .quote-slide-icon {
        height: 50px;
    }
}
@media only screen and (min-width: 992px) {
    .carousel-swiper .swiper-slide h2 {
        min-height: 60px;
    }
    .carousel-swiper .quote-slide-icon {
        height: 60px;
    }
}
@media only screen and (min-width: 1024px) {
    .carousel-swiper .swiper-slide h2 {
        min-height: 70px;
    }
    .carousel-swiper .quote-slide-icon {
        height: 70px;
    }
}
@media only screen and (min-width: 1280px) {
    .quote-credit img {
        width: 64px;
        height: 64px;
    }
    .carousel-pill {
        width: 300px;
    }
    .carousel-swiper .quote-slide svg {
        height: 4.5em;
    }
    .carousel-swiper .swiper-slide h2 {
        min-height: 80px;
    }
    .carousel-swiper .quote-slide-icon {
        height: 80px;
    }
}
@media only screen and (min-width: 1440px) {
    .carousel-swiper .swiper-slide h2 {
        min-height: 90px;
    }
    .carousel-swiper .quote-slide-icon {
        height: 90px;
    }
    .carousel-swiper .swiper-slide {
        min-height: 500px;
    }
    .carousel-swiper.has-4-slides {
        width: 100%;
        justify-content: center;
        display: flex;
        pointer-events: none;
        padding-bottom: 120px;
    }
    .carousel-swiper.has-4-slides .swiper-wrapper {
        justify-content: center;
    }
    .carousel-swiper.has-4-slides .swiper-slide:last-child {
        margin-right: 0!important;
    }
    .carousel-swiper.has-4-slides .carousel-nav {
        display: none;
    }
}
/* ==========================================================================
   Large Carousel block
   ========================================================================== */
.large-carousel-swiper .swiper-wrapper {
    cursor: grab;
    align-items: stretch;
    padding: 0 15px;
}
.large-carousel-swiper .swiper-slide {
    height: auto;
    position: relative;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 5px;
    gap: 10px;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.large-slide-text {
    order: 1;
    flex: 1;
    border-radius: 14px;
    padding: 15px;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
}
.large-slide:nth-child(odd) .large-slide-text {
    background: var(--MCR-DarkBlue);
    color: var(--White);
}
.large-slide:nth-child(even) .large-slide-text {
    background: var(--MCR-Orange);
    color: var(--DarkBlue);
}
.large-carousel-swiper.green .large-slide:nth-child(odd) .large-slide-text {
    background: var(--MCR-Teal);
    color: var(--White);
}
.large-carousel-swiper.green .large-slide:nth-child(even) .large-slide-text {
    background: var(--MCR-Green);
    color: var(--DarkBlue);
}
.large-carousel-swiper.blue .large-slide:nth-child(odd) .large-slide-text {
    background: var(--MCR-DarkBlue);
    color: var(--White);
}
.large-carousel-swiper.blue .large-slide:nth-child(even) .large-slide-text {
    background: var(--MCR-LightBlue);
    color: var(--DarkBlue);
}
.large-slide-text h3 {
    margin-top: 0;
}
.large-slide-img {
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
}
.large-slide-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media only screen and (min-width: 568px) {
    .large-slide-img {
        flex: 1.2;
        min-height: 380px;
        height: 100%;
    }
}
@media only screen and (min-width: 1024px) {
    .large-slide-text {
        order: 0;
    }
    .large-slide {
        flex-flow: row!important;
        align-items: stretch;
    }
    .large-slide-text {
        padding: 40px;
    }
    .large-carousel-swiper .swiper-slide {
        gap: 20px;
    }
    .large-carousel-swiper .swiper-slide {
        padding: 10px;
    }
}
@media only screen and (min-width: 1440px) {
    .large-slide-text {
        min-height: 50dvh;
    }
}
/* ==========================================================================
   Basic text block styles
   ========================================================================== */
.basic-text-block {
    max-width: 900px;
    margin: auto;
}
.basic-text-block h2, .basic-text-block h3, .basic-text-block h4 {
    text-wrap: unset;
}
.basic-text-block a:hover {
    text-decoration: none!important;
}
.basic-text-block a {
    text-decoration: underline;
}
.basic-text-block a.button {
    text-decoration: none;
}
.basic-text-block img {
    border-radius: 15px;
    margin: 50px 0;
}
@media only screen and (min-width: 768px) {
    .basic-text-block img {
        border-radius: 20px;
    }
}
/* ==========================================================================
   Quote block styles
   ========================================================================== */
.quote-block {
    background: var(--White);
    border-radius: 15px;
    width: 100%;
}
.quote-wrapper {
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}
.quote-wrapper h3 {
    text-align: center;
}
@media only screen and (min-width: 768px) {
    .quote-block {
        border-radius: 20px;
    }
}
/* ==========================================================================
   Numbered list block styles
   ========================================================================== */
.numbered-list-block {
    background: var(--MCR-DarkBlue);
    color: var(--White);
    border-radius: 15px;
    width: 100%;
}
.numbered-list-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px;
}
.numbered-list-wrapper h3 {
    margin: 0 0 20px 0;
}
.numbered-list-wrapper ol {
    margin: 0;
    position: relative;
}
.numbered-list-wrapper ol li {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    font-family: var(--TTCommons);
    padding-left: 60px;
    margin: 0 0 20px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    z-index: 2;
}
.numbered-list-wrapper ol li:last-child {
    background-color: var(--MCR-DarkBlue);
}
.numbered-list-wrapper ol li:before {
    content: counter(list-counter) "";
    background: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
    border: 4px solid var(--MCR-DarkBlue);
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    font-size: clamp(20px, 4vw, 40px);
}
.numbered-list-wrapper ol::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--MCR-Orange);
    top: 0;
    left: 22px;
    z-index: 1;
}
@media only screen and (min-width: 768px) {
    .numbered-list-block {
        border-radius: 20px;
    }
    .numbered-list-wrapper {
        padding: 90px;
    }
    .numbered-list-wrapper h3 {
        margin: 0 0 40px 0;
    }
    .numbered-list-wrapper ol li {
        margin: 0 0 30px 0;
        min-height: 72px;
        padding-left: 92px;
    }
    .numbered-list-wrapper ol li:before {
        width: 64px;
        height: 64px;
    }
    .numbered-list-wrapper ol::after {
        left: 34px;
    }
}
@media only screen and (min-width: 2120px) {
    .numbered-list-wrapper {
        max-width: 70ch;
    }
}
/* ==========================================================================
   Job listing styles
   ========================================================================== */
.job-intro h1 {
    text-align: center;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}
.job-details {
    text-align: left;    
    background: var(--White);
    border-radius: 20px;
    padding: 20px;
    max-width: 1200px;
    grid-row-gap: 0;
}
.job-listing .button {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
    margin: 2em auto 0 auto;
}
.job-listing .button:hover {
    background-color: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
}
.job-details if-cell p:last-child {
    margin-bottom: 0;
}
/* ==========================================================================
   Signpost block styles
   ========================================================================== */
.signpost-block {
    padding: 0 20px;
    grid-row-gap: 2em;
}
.signpost-block.blue {
    background: var(--MCR-DarkBlue);
    color: var(--White);
}
.signpost-item {
    background: var(--White);
    color: var(--MCR-DarkBlue);
    padding: 10px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.signpost-item .image {
    aspect-ratio: 4.2 / 2.8;
    flex: 0 0 auto;
    display: block;
    overflow: hidden;
}
.signpost-item .content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}
.signpost-item h3 {
    margin: 0 0 8px 0;
}  
.signpost-item img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
.signpost-block .outro,
.signpost-block .outro h2 {
    text-align: center;
}  
.signpost-block h2 {
    text-align: center;
}
.signpost-block .outro {
    max-width: 65ch;
} 
.signpost-block .outro a {
    text-decoration: underline;
    font-weight: bold;
}  
.signpost-block .outro a:hover {
    text-decoration: none;
}   
@media only screen and (min-width: 768px) {
    .signpost-block {
        padding: 0 40px;
    }
    .signpost-item {
        border-radius: 20px;
    }
    .signpost-item img {
        border-radius: 15px;
    }
}
@media only screen and (min-width: 1880px) {
    .signpost-block {
        padding: 0 140px;
    }
}
/* ==========================================================================
   CTA block styles
   ========================================================================== */
.cta-block {
    background: var(--White);
    border-radius: 15px;
    width: 100%;
}
.cta-wrapper {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.cta-wrapper h3 {
    margin: 0 0 5px 0;
    text-align: center;
}
.cta-wrapper a {
    min-width: fit-content;
}
@media only screen and (min-width: 768px) {
    .cta-block {
        border-radius: 20px;
    }
    .cta-wrapper {
        flex-flow: row;
    }
    .cta-wrapper h3 {
        text-align: left;
    }
}
/* ==========================================================================
   Storerocket block styles
   ========================================================================== */
.school-locator-block #storerocket-widget {
    border-radius: 0 0 20px 20px;
    z-index: 1;
    min-height: 600px;
}
.school-locator-header {
    background: var(--MCR-Orange);
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 60px 50px 50px 50px;
    border-radius: 20px 20px 0 0;
}
.school-locator-header h2 {
    margin-top: 0;
    text-align: center;
}
.school-locator-header p {
    margin: 0;
}
@media only screen and (min-width: 2000px) {
    .school-locator-block #storerocket-widget {
        min-height: 800px;
    }
}
/* ==========================================================================
   Home news block styles
   ========================================================================== */
.recent-news-block h2 {
    margin: 0;
}
.home-news-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.home-news-feature {
    min-height: 260px;
    justify-content: flex-end;
}
.home-news-content svg circle {
    transition: fill 0.2s ease;
}
.home-news-feature::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
    pointer-events: none;
}
.home-news-feature img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-news-feature.card {
    padding: 15px;
}
.home-news-feature .tag-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.home-news-tag {
    position: relative;
    z-index: 2;
    padding: 10px 15px;
    line-height: 1;
    margin-bottom: 10px;
    width: fit-content;
    font-weight: 800;
    font-size: clamp(12px, 2vw, 14px);
    border-radius: 50px;
}
.home-news-tag.orange {
    background-color: var(--MCR-Orange);
}
.home-news-tag.white {
    background-color: var(--White);
}
.home-news-tag.grey {
    background-color: #FAF6E7;
}
.home-news-tag.orange:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Orange);
}
.home-news-tag.white:hover {
    background-color: var(--MCR-DarkBlue);  
    color: var(--White);
}
.home-news-tag.grey:hover {
    background-color: var(--MCR-DarkBlue);
    color: #FAF6E7;
}
.home-news-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-end;
}
.home-news-content:focus-visible {
    outline: 2px solid var(--White);
    outline-offset: 2px;
    border-radius: 5px;
    z-index: 2;
}
.home-news-feature .home-news-link {
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    border-radius: 50px;
}
.home-news-feature .home-news-content h3 {
    width: 100%;
    margin: 0;
    color: var(--White);
    z-index: 2;
}
.home-news-feature .home-news-content svg {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 2;

}
.home-news {
    min-height: 260px;
    background-color: var(--White);
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
}
.home-news-content:hover svg circle {
    fill: var(--MCR-Orange);
}
.home-news-content:hover h3 {
    text-decoration: underline;
}
.home-news.card img {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.home-news-tag.secondary {  
    margin: 20px 0 0 0;
}
.home-news-secondary {
    padding: 20px 10px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    gap: 20px;
    cursor: pointer;
}
.home-news-secondary h4 {
    margin: 0;
}
.home-news-secondary:hover svg circle {
    fill: var(--MCR-Orange);
}
.home-news-secondary:hover h4 {
    text-decoration: underline;
}
.home-news-secondary svg circle {
    transition: fill 0.2s ease;
}
.home-news-secondary-button {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
@media only screen and (min-width: 992px) {
    .home-news-button {
        justify-content: flex-end;
    }
    .home-news-feature.card {
        padding: 20px;
    }
    .home-news-feature {
        min-height: 400px;
    }
    .home-news {
        min-height: 400px;
    }
}  
/* ==========================================================================
   CTA Cards styles
   ========================================================================== */
.cta-cards {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
}
.cta-cards .card {
    flex: 1;
    min-width: 300px;
    height: auto;
}
@media only screen and (min-width: 768px) {
    .cta-cards .card {
        min-width: 400px;
    }
}
/* ==========================================================================
   Pagination styles
   ========================================================================== */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.pager__item::before {
    display: none;
}
.pager__item {
    padding: 0;
}
.page-numbers {
    background: var(--MCR-Yellow);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-numbers:hover {
    background: var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
}
.page-numbers.current {
    pointer-events: none;
    border: 2px solid var(--MCR-DarkBlue);
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.pager .page-numbers.prev svg path,
.pager .page-numbers.next svg path {
    fill: var(--MCR-DarkBlue);
}
.pager .page-numbers.prev:hover svg path,
.pager .page-numbers.next:hover svg path {
    fill: var(--MCR-Yellow);
}
.pager .page-numbers.prev svg { transform: scaleX(-1); }

/* ==========================================================================
   News styles
   ========================================================================== */
.news-filter form {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.news-filter form select {
    min-width: 300px;
}
.news-filter form select:focus-visible {
    outline: 2px solid var(--MCR-Orange);
    outline-offset: 2px;
}
.news.page-hero::after {
    display: none;
}
.news-article-back {
    background: var(--White);
    border-radius: 15px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
    margin: 16px auto;
    transition: background 0.2s ease, border-bottom 0.2s ease;
}
.news-article-back h3 {
    margin: 0;
    border-bottom: 2px solid transparent;
}
.news-article-back:hover h3 {
    border-bottom: 2px solid var(--MCR-DarkBlue);
}
.news-article-back svg {
    transition: transform 0.2s ease;
}
.news-article-back:hover svg {
    transform: translateX(-16px);
}  
.news.content h2 {
    text-align: center;
    max-width: 26ch;
    margin-left: auto;
    margin-right: auto;
}
.news.content p {
    text-align: center;
}
.news-article-tags hr {
    border: 0.5px solid var(--MCR-DarkBlue);
    margin: 0;
}
.tag-list {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    margin: 20px 0;
}
.news-article-tags .tag {
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--MCR-DarkBlue);
    border-radius: 50px;
    cursor: pointer;
}
.news-article-tags .tag p {
    margin: 0;
    padding: 8px 16px;
}
.news-article-tags .tag:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
.news-also h1 {
    text-align: center;
}
.event-news-block {
    border-radius: 15px;
    background-color: var(--White);
    padding: 20px;
    display: flex;
    flex-flow: column;
    gap: 20px;
}
.event-details if-grid {
    padding: 0;
    grid-row-gap: 15px;
}
.event-details p {
    margin: 0;
}
/* Make the News select look like Gravity Forms */
.news-filter__select {
  /* reset native arrow so we can style it */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* spacing + size */
  padding: 0.6rem 2.25rem 0.6rem 0.8rem;
  line-height: 1.2;

  /* GF-like field visuals */
  border: 1px solid #ddd;                      /* matches GF inputs */
  box-shadow: inset 0 1px 2px rgba(0,0,0,.07); /* matches GF inputs */
  background-color: #fff;
  color: #333;
  transition: border-color 50ms ease-in-out;   /* matches GF inputs */

  /* custom arrow */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M5 7l5 6 5-6' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1rem auto;
  background-clip: padding-box;
  border-radius: 8px; /* tweak to match your site’s radius */
}

/* Accessible focus that matches GF’s blue tones */
.news-filter__select:focus {
  outline: none; /* GF often suppresses outline */
  border-color: #3e7da6;
  box-shadow:
    0 0 0 3px rgba(62,125,166,.15),
    inset 0 1px 2px rgba(0,0,0,.07);
}

/* Disabled state similar to GF’s muted fields */
.news-filter__select:disabled {
  background-color: #f7f7f7;
  color: #999;
  cursor: not-allowed;
}

/* Hide legacy IE arrow if needed */
.news-filter__select::-ms-expand { display: none; }

.news-feature-image {
    aspect-ratio: 14 / 11;
    width: 100%;
    overflow: hidden;
    background: var(--MCR-Ivory);
    border-radius: 10px;
}
.news-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-features .home-news-secondary {
    height: auto;
}
.news-features .home-news {
    justify-content: space-between;
}
.news-features .home-news-secondary-button {
    justify-content: space-between;
}
.news-features .home-news-secondary-button p {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 16px);
}
@media only screen and (min-width: 768px) {
    .news-filter form {
        flex-flow: row;
    }
    .news-filter form select {
        min-width: 440px;
    }
    .news-article-back {
        border-radius: 20px;
    }
    .event-news-block {
        border-radius: 20px;
        padding: 40px 54px;
        justify-content: space-between;
        flex-flow: row;
    }
}
   /* ==========================================================================
   Gravity form/form  styles
   ========================================================================== */
.gravity-form .gform-theme--api,
.gravity-form .gform-theme--framework,
.gravity-form .gform-theme--framework .gfield_list_group_item::before:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gravity-form .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gravity-form #gform_wrapper_1[data-form-index="0"].gform-theme, [data-parent-form="1_0"] {
    --gf-color-danger: var(--MCR-Wine);
    --gf-ctrl-label-color-primary: var(--MCR-DarkBlue);
    --gf-field-pg-prog-bar-bg-color-blue: var(--MCR-DarkBlue);
    --gf-color-out-ctrl-dark-darker: var(--MCR-DarkBlue);
    --gf-color-in-ctrl-primary: var(--MCR-DarkBlue);
    --gf-color-in-ctrl-light-darker: var(--MCR-DarkBlue);
    --gf-color-primary: var(--MCR-DarkBlue);
}
.gravity-form .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice {
    border-radius: 10px!important;
    border-width: 2px!important;
}
.gravity-form .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gfield-image-choice-wrapper-outer:focus .gchoice {
    outline: 2px solid var(--MCR-Orange)!important;
    outline-offset: 2px!important;
}
.gform-theme--framework .gfield--type-choice .gchoice, .gform-theme--framework .gfield--type-choice .ginput_container_consent {
    align-items: center;
}
.gravity-form legend, .gravity-form label {
    font-family: var(--Montserrat) !important;
    font-size: clamp(16px, 1vw, 22px) !important;
    font-weight: bold!important;
    margin-bottom: 1vw!important;
}
.gravity-form .gform_validation_errors {
    border-radius: 10px!important;
}
.gravity-form .gform_validation_errors:focus {
    outline: transparent!important;
}
.gravity-form legend a, .gravity-form label a {
    text-decoration: underline!important;
}
.gravity-form .gform-field-label--type-inline {
    margin-bottom: 0 !important;
    line-height: 2!important;
}
.gravity-form if-cell {
    background-color: var(--White);
    border-radius: 15px;
    padding: 32px;
}
.gravity-form p {
    max-width: 900px;
    margin-bottom: 0;
}
.gravity-form a:hover {
    text-decoration: none!important;
}
.gravity-form a {
    text-decoration: underline;
}
.gravity-form h3 {
    margin-top: 0;
}
.gravity-form h4:not(:first-of-type) {
    margin-top: 16px;
}
.gravity-form input:focus, .gravity-form textarea:focus, .gravity-form select:focus, input:focus {
    outline: 2px solid var(--MCR-Orange)!important;
    outline-offset: 2px!important;
}
.gravity-form input, .gravity-form textarea, .gravity-form select, select, input {
    border-radius: 10px!important;
    border-width: 2px!important;
    border-color: var(--MCR-DarkBlue)!important;
    font-family: var(--Montserrat)!important;
    color: var(--MCR-DarkBlue)!important;
    line-height: 1!important;
    height: fit-content!important;
    padding: 15px 20px!important;
    font-size: clamp(16px, 1vw, 22px)!important;
    min-height: 51px !important;
}
@media only screen and (min-width: 1700px) {
    .gravity-form input, .gravity-form textarea, .gravity-form select, select, input {
        min-height: 53px !important;
    }
}
@media only screen and (min-width: 1840px) {
    .gravity-form input, .gravity-form textarea, .gravity-form select, select, input {
        min-height: 55px !important;
    }
}
@media only screen and (min-width: 2200px) {
    .gravity-form input, .gravity-form textarea, .gravity-form select, select, input {
        min-height: 58px !important;
    }
}
.gravity-form input[type="checkbox"],
.gravity-form input[type="radio"] {
    width: 30px!important;
    height: 30px!important;
    padding: 0!important;
    min-height: 0!important;
}
.gravity-form input[type="checkbox"]::before {
    color: var(--MCR-DarkBlue)!important;
}
.gravity-form input[type="radio"]::before {
    background-color: var(--MCR-DarkBlue)!important;
}
.gravity-form input[type="submit"],
.gravity-form input[type="button"] {
    border-radius: 50px !important;
    background-color: var(--MCR-Yellow)!important;
    border-color: transparent !important;
    padding: 15px 20px !important;
    font-family: var(--TTCommons) !important;
    display: flex!important;
    flex-flow: row nowrap!important;
    justify-content: center!important;
    align-items: center!important;
    gap: 10px!important;
    user-select: none!important;
    font-weight: 700!important;
    font-size: 16px !important;
    width: fit-content!important;
    height: fit-content !important;
    line-height: 1 !important;
    margin-top: 16px!important;
    cursor: pointer!important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.gravity-form input[type="submit"]:hover,
.gravity-form input[type="button"]:hover {
    background-color: var(--MCR-DarkBlue)!important;
    color: var(--MCR-Yellow)!important;
}
.gravity-form .gform_heading {
    margin-bottom: 2vw!important;
}
.gravity-form .gform-field-label--type-sub {
    margin-bottom:0!important;
}
h2.gform_title {
    margin-top: 0;
}
@media only screen and (min-width: 768px) {
    .gravity-form if-cell {
        padding: 90px;
        border-radius: 20px;
    }   
    .gravity-form input[type="submit"],
    .gravity-form input[type="button"] {
        padding: 15px 30px !important;
        font-size: 18px !important;
    }
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
     display: none;
}
.custom-searchform {
    min-height: 60px;
    width: 300px;
    position: relative;
}
.custom-searchform input[type="search"] {
    position: absolute;
    width: 300px;
    height: 50px !important;
}
.custom-searchform button[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background: none;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.custom-searchform input[type="search"]#s {
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #3E62A5;
    border-radius: 18px;
    background-clip: padding-box;
}
@media only screen and (min-width: 768px) {
    .custom-searchform {
        width: 440px;
    }
    .custom-searchform input[type="search"] {
        width: 440px;
    }
}
/* ==========================================================================
   Sitemap styles
   ========================================================================== */
.sitemap h4 {
    margin-bottom: 24px;
}
.sitemap p {
    margin-bottom: 16px;
}
.sitemap h4:hover, .sitemap p:hover {
    text-decoration: underline;
}
/* ==========================================================================
   Search styles
   ========================================================================== */
.search-results p {
    text-align: center;
}
.search-result-item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}
.search-result-item:hover h4 {
    text-decoration: underline;
}
.search-result-item:hover svg circle {
    fill: var(--MCR-Orange);
}
.result-item__type {
    font-size: clamp(14px, 1vw, 16px);
    font-weight: bold;
}
.result-item__link svg {
    width: 30px;
    height: 30px;
}
.result-item__link svg circle {
    transition: fill 0.2s ease;
}
.search-page hr {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--MCR-DarkBlue);
    margin: 40px 0;
}
@media only screen and (min-width: 768px) {
    .result-item__link svg {
        width: 40px;
        height: 40px;
    }
}
/* ==========================================================================
   Page hero styles
   ========================================================================== */
.page-hero:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    transform: rotate(180deg);
    background: linear-gradient(180deg, rgba(33, 51, 80, 0.50) 0%, rgba(33, 51, 80, 0.00) 100%);
    z-index: 1;
    pointer-events: none;
}
.page-hero {
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: var(--MCR-DarkBlue);
}
.page-hero .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    align-items: center;
    padding: 15px;
    gap: 15px;
}
.page-hero .content h1 {
    margin: 0;
    color: var(--White);
    max-width: 20ch;
    text-align: center;
}
.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero.no-hero {
    aspect-ratio: unset;
    background: none;
}
.page-hero.no-hero .content {
    position: relative;
    padding-bottom: 0;
    padding-top: 6vw;
}
.page-hero.no-hero .content h1 {
    color: var(--MCR-DarkBlue);
}
.page-hero.no-hero::after {
    display: none;
}
    
@media only screen and (min-width: 768px) {
    .page-hero {
        border-radius: 20px;
        aspect-ratio: 16 / 9;
    }
    .page-hero .content {
        padding: 40px;
        gap: 40px;
    }
}
/* ==========================================================================
   404 styles
   ========================================================================== */
.card.yellow.error-404 {
    color: var(--MCR-DarkBlue);
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
}
.error-404 h1 {
    text-align: center;
    position: relative;
    
}
.error-404 h1 span {
    font-size: clamp(100px, 14vw, 300px);
}
.error-404 .bg {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.card.yellow.error-404 .bg svg {
    width: 100%;
    height: 100%;
}
.card.yellow.error-404 .button {
    background-color: var(--White);
    color: var(--MCR-DarkBlue);
    border: 2px solid transparent;
}
.card.yellow.error-404 .button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
    border: 2px solid transparent;
}
/* ==========================================================================
   Cookies styles
   ========================================================================== */
.cookies-container {
    position: fixed;
    width: 100%;
    z-index: 2147483645;
    bottom: 0;
    opacity: 0;
    transition: opactiy 0.5s;
    -webkit-transition: opactiy 0.5s;
    -moz-transition: opactiy 0.5s;
    -ms-transition: opactiy 0.5s;
    -o-transition: opactiy 0.5s;
}
.cookies-container.show {
    opacity: 1;
}
.cookies-container p {
    font-size: 16px;
}
.cookies-container p a {
    text-decoration: underline;
}
.cookies-container button {
    border-bottom: 2px solid var(--MCR-DarkBlue);
}
.cookies-container button:hover {
    border-bottom: 2px solid transparent;
}
.cookies-container .cookies {
    background: var(--White);
    display: flex;
    flex-flow: column;
    margin-bottom: 24px;
    border-radius: 24px;
    padding: 16px;
}
.cookies-buttons {
    display: flex;
    gap: 8px;
}
.cookies-buttons .button {
    background: transparent;
    flex: 1;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none; 
    -moz-user-select: none;
}
.cookies-buttons .button:focus-visible {
    outline-color: var(--MCR-Orange);
    outline-offset: 2px;
}
.cookies-buttons .button:last-child {
    background: var(--MCR-DarkBlue);
    border: 2px solid var(--MCR-DarkBlue);
    color: var(--White);
}
.cookies-buttons .button:last-child:hover {
    background: none;
    color: var(--MCR-DarkBlue);
    border: 2px solid var(--MCR-DarkBlue);
}
.cookies-buttons .button {
    background: var(--MCR-Yellow);
    border: 2px solid var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
}
.cookies-buttons .button:hover {
    background: var(--MCR-DarkBlue);
    border: 2px solid var(--MCR-DarkBlue);
    color: var(--MCR-Yellow);
}
@media only screen and (min-width: 1024px) {
    .cookies-container .cookies {
        flex-flow: row nowrap;
        align-items: center;
        gap: 40px;
    }
    .cookies-container p {
        margin: 0;
    }
}
@media only screen and (min-width: 1280px) {
    .cookies-container .cookies {
        padding: 24px;
    }
    .cookies-buttons .button {font-size: 18px;}
}

/* ==========================================================================
   Table styles
   ========================================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid rgba(33, 51, 80, 0.1);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--Montserrat);
    font-size: 1rem;
    color: var(--MCR-DarkBlue);
  }
  
  td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(33, 51, 80, 0.08);
  }
  
  tr:last-child td {
    border-bottom: none;
  }
  
  td:first-child {
    font-weight: 700;
    width: 25%;
    white-space: nowrap;
    color: rgba(33, 51, 80, 0.9);
  }
  tbody tr:nth-child(odd) {
    background: rgba(33, 51, 80, 0.03);
  }
/* ==========================================================================
   Footer styles
   ========================================================================== */
footer {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
    padding-bottom: 20px;
    font-family: var(--TTCommons);
    font-weight: 600;
}
footer ul li {
    margin: 0;
    padding: 0;
}
footer ul li:before {
    display: none;
}
.footer-cta {
    background-color: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 45px;
    border-radius: 15px;
    margin: 15px 0px 0px 0px;
    position: relative;
    overflow: hidden;
}
.footer-cta.pink {
    background-color: var(--MCR-Pink);
}
.footer-cta.pink svg path {
    stroke: var(--White);
    opacity: 0.2;
}
.footer-cta.blue {
    background-color: var(--MCR-LightBlue);
}
.footer-cta.blue svg path {
    stroke: var(--MCR-Yellow);
}
.footer-cta.green {
    background-color: var(--MCR-Green);
}
.footer-cta.green svg path {
    stroke: var(--MCR-Yellow);
}
.footer-cta a.button {
    background-color: var(--White);
    color: var(--MCR-DarkBlue);
}
.footer-cta a.button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
footer a.button {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
    z-index: 1;
}
footer a.button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--MCR-Orange);
}
.footer-newsletter a.button {
    background-color: var(--White);
    color: var(--MCR-DarkBlue);
    z-index: 1;
}
.footer-newsletter a.button:hover {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
}
footer h2 {
    line-height: 100%;
    text-align: center;
    margin: 0 0 0.5em 0;
    z-index: 1;
    max-width: 1200px;
}
footer .footer-cta .bg {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 0;
}
footer .footer-cta .bg svg {
    width: 100%;
}
.footer-primary-nav ul {
    margin: 0;
}
.footer-secondary-nav ul {
    margin: 0;
}
#footer-primary-menu li {
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 150%;
    font-weight: 500;
    margin-bottom: 10px;
}
#footer-primary-menu li a {
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}
#footer-primary-menu li a:hover {
    border-bottom: 2px solid;
}
#footer-primary-menu li a:focus-visible {
    outline-color: var(--White);
    border-radius: 10px;
    outline-offset: 4px;
}
#footer-secondary-menu {
    margin: 10px 0 20px 0;
}
#footer-secondary-menu li {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 140%;
    font-weight: 500;
    margin-bottom: 8px;
}
#footer-secondary-menu li a {
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}
#footer-secondary-menu li a:hover {
    border-bottom: 2px solid;
}
#footer-secondary-menu li a:focus-visible {
    outline-color: var(--White);
    border-radius: 5px;
    outline-offset: 2px;
}
.footer-social {
    padding: 15px 0;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    gap: 10px;
}
.footer-logo-mobile {
    display: block;
}
.footer-logo-mobile img {
    width: 42px;
    height: 42px;
}
.footer-logo {
    display: none;
}
.footer-logo img {
    max-width: 200px;
    max-height: 40px;
}
.footer-logo:focus-visible {
    outline-color: var(--White);
    border-radius: 10px;
    outline-offset: 4px;
}
.social-links {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
}
.social-link {
    background: var(--MCR-Yellow);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    position: relative;
}
.social-link .sr-only {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.social-link:hover {
    background-color: var(--MCR-Orange);
}
.social-link:focus-visible {
    outline-color: var(--MCR-Yellow);
    outline-offset: 4px;
}
.footer-newsletter {
    background-color: var(--MCR-Orange);
    color: var(--MCR-DarkBlue);
    border-radius: 15px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.footer-newsletter svg {
    position: absolute;
    width: 25%;
    height: fit-content;
    right: 15px;
    bottom: -15px;
}
.footer-newsletter svg path {
    stroke: var(--MCR-Yellow);
}
.footer-newsletter h3 {
    margin: 0 0 15px 0;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    position: relative;
}
.footer-bottom hr {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--MCR-Orange);
    margin: 15px 0;
}
.footer-bottom p {
    font-size: clamp(12px, 1vw, 16px);
    margin: 0;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s ease;
}
.footer-bottom p a:hover {
    border-bottom: 1px solid;
}
.footer-bottom p a:focus-visible {
    outline-color: var(--White);
    border-radius: 5px;
    outline-offset: 2px;
}
.footer-bottom p a {
    font-weight: 700;
}
.footer-bottom-content {
    display: flex;
    flex-flow: column;
    gap: 10px;
    justify-content: space-between;
}
.footer-bottom-content-secondary {
    text-align: right;
    flex: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
}
@media only screen and (min-width: 330px) {
    .footer-social {
        flex-flow: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
}
@media only screen and (min-width: 460px) {
    .footer-logo-mobile {
        display: none;
    }
    .footer-logo {
        display: block;
    }
    .social-link {
        width: 45px;
        height: 45px;
    }
    .social-links {
        gap: 10px;
    }
}
@media only screen and (min-width: 768px) {
    .footer-cta {
        border-radius: 20px;
        margin: 40px 0px 20px 0px
    }
    .footer-logo img {
        max-height: 60px;
    }
    .footer-newsletter {
        background-color: var(--MCR-Orange);
        color: var(--MCR-DarkBlue);
        border-radius: 20px;
        padding: 40px;
    }
    .footer-newsletter svg {
        right: 20px;
        bottom: -20px;
    }
    .footer-newsletter h3 {
        margin: 0 0 35px 0;
    }
    .footer-bottom hr {
        margin: 20px 0;
    }
}   
@media only screen and (min-width: 992px) {
    #footer-secondary-menu {
        margin: 0;
    }
    .footer-bottom-content {
        flex-flow: row;
    }   
    .footer-bottom-content-secondary {
        justify-content: flex-end;
    }
    .footer-newsletter svg {
        width: 36%;
    }
    .footer-primary-nav ul {
        margin: -6px 0 0 0;
    }
}
@media only screen and (min-width: 1280px) {
    .footer-social {
        flex-flow: column;
        align-items: flex-start;
        padding: 15px 0 0 0;
    }
}
@media only screen and (min-width: 2000px) {
    .footer-newsletter h3 {
        max-width: 60%;
    }
}

.hidden {
    display: none;
}
.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s step-end;
}

/* Jobs block / jobs list cards */
.jobs-list-block {
    padding: 0 20px;
    grid-row-gap: 2em;
}

.job-card {
    height: 100%;
}

.job-card-inner {
    background: var(--White);
    color: var(--MCR-DarkBlue);
    border-radius: 18px;
    padding: 20px 20px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.job-card-title a {
    text-decoration: none;
}

.job-card-meta p {
    margin-bottom: 8px;
}

.job-card-meta p:last-child {
    margin-bottom: 0;
}

.job-card .button {
    margin-top: 16px;
    align-self: flex-start;
}

@media only screen and (min-width: 768px) {
    .jobs-list-block {
        padding: 0 40px;
    }
}

/* ==========================================================================
   Job listing styles
   ========================================================================== */
.job-intro h1 {
    text-align: center;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}
.job-details {
    text-align: left;    
    background: var(--White);
    border-radius: 20px;
    padding: 20px;
    max-width: 1200px;
    grid-row-gap: 0;
}
.job-listing .button {
    background-color: var(--MCR-DarkBlue);
    color: var(--White);
    margin: 2em auto 0 auto;
}
.job-listing .button:hover {
    background-color: var(--MCR-Yellow);
    color: var(--MCR-DarkBlue);
}
.job-details if-cell p:last-child {
    margin-bottom: 0;
}

/* Jobs block / jobs list cards */
.jobs-list-block {
    padding: 0 20px;
    grid-row-gap: 2em;
}

.job-card {
    height: 100%;
}

.job-card-inner {
    background: var(--White);
    color: var(--MCR-DarkBlue);
    border-radius: 18px;
    padding: 20px 20px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.job-card-title a {
    text-decoration: none;
}

.job-card-meta p {
    margin-bottom: 8px;
}

.job-card-meta p:last-child {
    margin-bottom: 0;
}

.job-card .button {
    margin-top: 16px;
    align-self: flex-start;
}

@media only screen and (min-width: 768px) {
    .jobs-list-block {
        padding: 0 40px;
    }
}