/*********** Basic CSS Reset ***********/
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html, body {
   /* height: 100%; */
   font-family: "Manrope-Regular", Arial;
   font-size: 16px;
   line-height: 1.5rem;
   scroll-behavior: smooth;
}

@media (max-width: 1200px) {
   body {
      margin: 0 20px;
   }
}

img, picture, video, canvas, svg {
   display: block;
   max-width: 100%;
}

input, button, textarea, select {
   font: inherit;
}

a {
   text-decoration: none;
   color: var(--darkblue);
}

a.hover {
   text-decoration: underline;
}

ul, ol {
   list-style: none;
}

ol {
   list-style-position: outside;
   list-style-type: decimal;
   margin-left: 35px;
}

ol li {
   font-family: "Manrope-Regular", arial;
   color: var(--articletext);
   font-size: 1.25rem;
   line-height: 1.875rem;
}

h1, h2, h3, h4, h5 {
   font-family: "Manrope-Bold", Arial;
   color: var(--articletext);
}

/* h1 {
   font-size: 5.625rem;
   line-height: 6.25rem;  
   margin-bottom: 100px;
   max-width: 80%; 
   text-wrap: balance;
}

@media (max-width: 768px) {
   h1 {
      font-size: 3rem;
      line-height: 4.25rem;
   }
} */

h1 {
   font-size: 4.375rem;
   line-height: 5rem; 
   letter-spacing: -3px;
   margin-bottom: 80px;
   max-width: 80%; 
   text-wrap: balance;
}

@media (max-width: 768px) {
   h1 {      
      font-size: 3.5rem;
      line-height: 3.8125rem;
      letter-spacing: -2px;
   }
}

/* @media (max-width: 576px) {
   h1 {      
      font-size: 1.875rem;
      line-height: 2.1875rem;
   }
} */

h2 {
   font-size: 2.8125rem;
   line-height: 3.125rem;
   letter-spacing: -2px;
   margin-bottom: 50px;
}

@media (max-width: 768px) {
   h2 {   
      letter-spacing: 0px;
      margin-bottom: 30px;
   }
}

h3 {
   font-size: 1.7rem;
   line-height: 2.5rem;
}

h4 {
   font-size: 1.5rem;
   line-height: 2.25rem;
}

h5 {
   font-size: 1.25rem;
   line-height: 2rem;
}

p {
   margin: 0 0 1rem 0;
   padding: 0;
   font-size: 1rem;
   line-height: 1.5;
   color: var(--articletext);
   font-family: "Manrope-Regular", arial;
}

q {
   font-style: italic;
}

table {
   width: 100%;
   border-radius: 8px;
   border-collapse: separate;   
   border-spacing: 0; 
   overflow: hidden;
   margin-bottom: 100px;
   border-width: 3px;
   border-style: solid;
}

@media (max-width: 600px) {
   table {
      margin-bottom: 50px;
   }
}

th, td {
   padding: 12px;
}

th {
   font-size: 1.25rem;
}

td {
   text-align: center;
   color: var(--articletext);
}

/********** Colours **********/

:root {
   /* Primary */
   --purple: hsl(306, 61%, 37%);
   --darkblue: hsl(206, 100%, 13%);

   /* Secondary */
   --darkpurple: hsl(312, 100%, 17%);
   --blue: hsl(199, 59%, 20%);
   --green: hsl(145, 27%, 23%);
   --olive: hsl(52, 100%, 15%);
   --orange: hsl(13, 66%, 25%);
   --grey: hsl(172, 9%, 32%);

   /* Bright */
   --brightblue: hsl(202, 58%, 53%);
   --brightgreen: hsl(164, 34%, 44%);
   --brightolive: hsl(58, 74%, 32%);
   --brightorange: hsl(28, 69%, 48%);
   --brightgrey: hsl(240, 5%, 74%);

   /* Tint */
   --tintpurple: hsl(305, 38%, 94%);
   --tintblue: hsl(201, 58%, 91%);
   --tintgreen: 	hsl(164, 26%, 89%);
   --tintolive: hsl(58, 36%, 86%);
   --tintorange: hsl(26, 65%, 90%);
   --tintgrey: hsl(240, 6%, 90%);
   --tintlightgrey: hsl(240, 4%, 95%);

   /* UI */
   --white: 	hsl(0, 0%, 100%);
   --articletext: hsl(0, 0%, 20%);
}

/***** Background Colours *****/

/* Primary */
.purple {
   background-color: var(--purple);
}

.darkblue {
   background-color: var(--darkblue);
}

/* Tint */
.tintpurple {
   background-color: var(--tintpurple);
}

.tintblue {
   background-color: var(--tintblue);
}

.tintgreen {
   background-color: var(--tintgreen);
}

.tintolive {
   background-color: var(--tintolive);
}

.tintorange {
   background-color: var(--tintorange);
}

.tintgrey {
   background-color: var(--tintgrey);
}

.tintlightgrey {
   background-color: var(--tintlightgrey);
}

/***** Text Colours *****/

.text-white {
   color: var(--white);
}

.article-text {
   color: var(--articletext);
}

.text-purple {
   color: var(--purple);
}

.text-darkpurple {
   color: var(--darkpurple);
}

.text-blue {
   color: var(--blue);
}

.text-green {
   color: var(--green);
}

.text-olive {
   color: var(--olive);
}

.text-orange {
   color: var(--orange);
}

.text-brightblue {
   color: var(--brightblue);
}

.text-brightgreen {
   color: var(--brightgreen);
}

.text-brightolive {
   color: var(--brightolive);
}

.text-brightorange {
   color: var(--brightorange);
}

/***** split colour headings *****/
.split-colour-heading-purple {   
   color: var(--purple);
}

   .split-colour-heading-purple::first-line {   
      color: var(--darkpurple);
   }

.split-colour-heading-blue {   
   color: var(--brightblue);
}

   .split-colour-heading-blue::first-line {   
      color: var(--blue);
   }

.split-colour-heading-green {   
   color: var(--brightgreen);
}

   .split-colour-heading-green::first-line {   
      color: var(--green);
   }

.split-colour-heading-olive {   
   color: var(--brightolive);
}

   .split-colour-heading-olive::first-line {   
      color: var(--olive);
   }

.split-colour-heading-orange {   
   color: var(--brightorange);
}

   .split-colour-heading-orange::first-line {   
      color: var(--orange);
   }


/***** Themes *****/

/***** Purple *****/
.theme-purple {
   background-color: var(--tintpurple);
}

.theme-purple > .stat {
   color: var(--purple);
}

.theme-purple .tab.active {
   background-color: var(--tintpurple);
   box-shadow: inset 0 -6px 0 var(--purple);
}

.theme-purple .tab-content {      
   background-color: var(--tintpurple);
}

.theme-purple .accordion {
   background-color: var(--tintpurple);
}

.quick-link-big-cards.theme-purple {
   background-color: var(--white)!important;
}

.quick-link-big-cards.theme-purple .news-grid-header h2,
.quick-link-big-cards.theme-purple .card p.date {
   color: var(--purple);
}

.quick-link-big-cards.theme-purple .card p {
   color: var(--darkblue);
}

.quick-link-big-cards.theme-purple .card:hover p {
   text-decoration-color: var(--purple);
}

.theme-purple .tb-heading h2,
.theme-purple .db-heading h2 {
   color: var(--darkpurple);
}

.theme-purple .key-point {
   border-top-color: var(--purple);
}

.theme-purple .key-point h3 {
   color: var(--darkpurple);
}

.theme-purple .download-box {
   background-color: var(--tintpurple);
}

.theme-purple .aside ul {
   border-top-color: var(--purple);
}

.theme-purple .aside li {
   border-bottom-color: var(--purple);
}

.theme-purple .carousel-header h2 {
   color: var(--purple);
}

.theme-purple .card:hover p {
   text-decoration-color: var(--purple);
}

.theme-purple .card-category {
   color: var(--purple);
}

table.theme-purple {
   border-color: var(--tintpurple);
   background-color: var(--white);
}

table.theme-purple tr:nth-child(odd) {
  background-color: hsl(305, 38%, 94%, 0.5);
}

table.theme-purple tr:first-child {
  background-color: var(--tintpurple);
}

table.theme-purple tr {
   color: var(--purple);
}


/***** Grey *****/   

.theme-grey {
   background-color: var(--tintlightgrey);
}

.theme-grey > .stat {
   color: var(--purple);
}

.theme-grey > .stat-title {
   color: var(--darkblue);
}

.theme-grey .tab.active {
   background-color: var(--tintlightgrey);
   box-shadow: inset 0 -6px 0 var(--purple);
}

.theme-grey .tab-content {      
   background-color: var(--tintlightgrey);
}

.theme-grey .accordion {
   background-color: var(--tintlightgrey);
}

.theme-grey .split-colour-heading {
   color: var(--purple);
}

.theme-grey .tb-heading h2 ,
.theme-grey .db-heading h2 {
   color: var(--purple);
}

.theme-grey .key-point {
   border-top-color: var(--purple);
}

.theme-grey .key-point h3 {
   color: var(--purple);
}

.theme-grey .carousel-header h2 {
   color: var(--purple);
}

.theme-grey .card:hover p {
   text-decoration-color: var(--purple);
}

.theme-grey .card-category {
   color: var(--purple);
}

table.theme-grey {
   border-color: var(--tintgrey);
   background-color: var(--white);
}

table.theme-grey tr:nth-child(odd) {
  background-color: var(--tintlightgrey)
}

table.theme-grey tr:first-child {
  background-color: var(--tintgrey);
}

table.theme-grey tr {
   color: var(--purple);
}


/***** Blue *****/
.theme-blue {
   background-color: var(--tintblue);
}

.theme-blue > .stat {
   color: var(--blue);
}

.theme-blue .tab.active {
   background-color: var(--tintblue);
   box-shadow: inset 0 -6px 0 var(--brightblue);
}

.theme-blue .tab-content {      
   background-color: var(--tintblue);
}

.theme-blue .accordion {
   background-color: var(--tintblue);
}

.theme-blue .split-colour-heading {
   color: var(--brightblue);
}

   .theme-blue .split-colour-heading::first-line {
      color: var(--blue);
   }

.theme-blue .feature-heading {
   color: var(--blue);
}   

.quick-link-big-cards.theme-blue {
   background-color: var(--white)!important;
}

.quick-link-big-cards.theme-blue .news-grid-header h2 {
   color: var(--darkblue);
}

.quick-link-big-cards.theme-blue .card p {
   color: var(--blue);
}

.quick-link-big-cards.theme-blue .card:hover p {
   text-decoration-color: var(--brightblue);
}

.theme-blue .tb-heading h2,
.theme-blue .db-heading h2 {
   color: var(--blue);
}

.theme-blue .key-point {
   border-top-color: var(--brightblue);
}

.theme-blue .key-point h3 {
   color: var(--blue);
}

.theme-blue h2.main-text-title {
   color: var(--blue);
}

.theme-blue .download-box {
   background-color: var(--tintblue);
}

.theme-blue .download-box p.download-box-title {
   color: var(--blue);
}

.theme-blue .download-box:hover p.download-box-title {
   text-decoration-color: var(--brightblue);
}

.theme-blue .aside p.heading {
   color: var(--blue);
}

.theme-blue .aside ul {
   border-top-color: var(--brightblue);
}

.theme-blue .aside li {
   border-bottom-color: var(--brightblue);
}

.theme-blue .carousel-header h2 {
   color: var(--blue);
}

.theme-blue .card:hover p {
   text-decoration-color: var(--brightblue);
}

.theme-blue .card-category {
   color: var(--blue);
}

.theme-blue .dot, .theme-blue .dot.active {
   background-color: var(--blue);
}

table.theme-blue {
   border-color: var(--tintblue);
   background-color: var(--white);
}

table.theme-blue tr:nth-child(odd) {
  background-color: hsla(201, 58%, 91%, 0.5);
}

table.theme-blue tr:first-child {
  background-color: var(--tintblue);
}

table.theme-blue tr {
   color: var(--blue);
}



/***** Green *****/
.theme-green {
   background-color: var(--tintgreen);
}

.theme-green > .stat {
   color: var(--green);
}

.theme-green .tab.active {
   background-color: var(--tintgreen);
   box-shadow: inset 0 -6px 0 var(--brightgreen);
}

.theme-green .tab-content {      
   background-color: var(--tintgreen);
}

.theme-green .accordion {
   background-color: var(--tintgreen);
}

.theme-green .split-colour-heading {
   color: var(--brightgreen);
}

   .theme-green .split-colour-heading::first-line {
      color: var(--green);
   }

.theme-green .feature-heading {
   color: var(--green);
}   

.quick-link-big-cards.theme-green {
   background-color: var(--white)!important;
}

.quick-link-big-cards.theme-green .news-grid-header h2 {
   color: var(--green);
}

.quick-link-big-cards.theme-green .card p {
   color: var(--green);
}

.quick-link-big-cards.theme-green .card:hover p {
   text-decoration-color: var(--brightgreen);
}

.theme-green .tb-heading h2,
.theme-green .db-heading h2 {
   color: var(--green);
}

.theme-green .key-point {
   border-top-color: var(--brightgreen);
}

.theme-green .key-point h3 {
   color: var(--green);
}

.theme-green h2.main-text-title {
   color: var(--green);
}

.theme-green .download-box {
   background-color: var(--tintgreen);
}

.theme-green .download-box p.download-box-title {
   color: var(--green);
}

.theme-green .download-box:hover p.download-box-title {
   text-decoration-color: var(--brightgreen);
}

.theme-green .aside p.heading {
   color: var(--green);
}

.theme-green .aside ul {
   border-top-color: var(--brightgreen);
}

.theme-green .aside li {
   border-bottom-color: var(--brightgreen);
}

.theme-green .carousel-header h2 {
   color: var(--green);
}

.theme-green .card:hover p {
   text-decoration-color: var(--brightgreen);
}

.theme-green .card-category {
   color: var(--green);
}

.theme-green .dot, .theme-green .dot.active {
   background-color: var(--green);
}

table.theme-green {
   border-color: var(--tintgreen);
   background-color: var(--white);
}

table.theme-green tr:nth-child(odd) {
  background-color: hsla(164, 26%, 89%, 0.5);
}

table.theme-green tr:first-child {
  background-color: var(--tintgreen);
}

table.theme-green tr {
   color: var(--green);
}


/***** Olive *****/
.theme-olive {
   background-color: var(--tintolive);
}

.theme-olive > .stat {
   color: var(--olive);
}

.theme-olive .tab.active {
   background-color: var(--tintolive);
   box-shadow: inset 0 -6px 0 var(--brightolive);
}

.theme-olive .tab-content {      
   background-color: var(--tintolive);
}

.theme-olive .accordion {
   background-color: var(--tintolive);
}

.theme-olive .split-colour-heading {
   color: var(--brightolive);
}

   .theme-olive .split-colour-heading::first-line {
      color: var(--olive);
   }

.theme-olive .feature-heading {
   color: var(--olive);
}   
   
.quick-link-big-cards.theme-olive {
   background-color: var(--white)!important;
}

.quick-link-big-cards.theme-olive .news-grid-header h2 {
   color: var(--olive);
}

.quick-link-big-cards.theme-olive .card p {
   color: var(--olive);
}

.quick-link-big-cards.theme-olive .card:hover p {
   text-decoration-color: var(--brightolive);
}

.theme-olive .tb-heading h2,
.theme-olive .db-heading h2 {
   color: var(--olive);
}

.theme-olive .key-point {
   border-top-color: var(--brightolive);
}

.theme-olive .key-point h3 {
   color: var(--olive);
}

.theme-olive h2.main-text-title {
   color: var(--olive);
}

.theme-olive .download-box {
   background-color: var(--tintolive);
}

.theme-olive .download-box p.download-box-title {
   color: var(--olive);
}

.theme-olive .download-box:hover p.download-box-title {
   text-decoration-color: var(--brightolive);
}

.theme-olive .aside p.heading {
   color: var(--olive);
}

.theme-olive .aside ul {
   border-top-color: var(--brightolive);
}

.theme-olive .aside li {
   border-bottom-color: var(--brightolive);
}

.theme-olive .carousel-header h2 {
   color: var(--olive);
}

.theme-olive .card:hover p {
   text-decoration-color: var(--brightolive);
}

.theme-olive .card-category {
   color: var(--olive);
}

.theme-olive .dot, .theme-olive .dot.active {
   background-color: var(--olive);
}

table.theme-olive {
   border-color: var(--tintolive);
   background-color: var(--white);
}

table.theme-olive tr:nth-child(odd) {
  background-color: hsla(58, 36%, 86%, 0.5);
}

table.theme-olive tr:first-child {
  background-color: var(--tintolive);
}

table.theme-olive tr {
   color: var(--olive);
}


/***** Orange *****/
.theme-orange {
   background-color: var(--tintorange);
}

.theme-orange > .stat {
   color: var(--orange);
}

.theme-orange .tab.active {
   background-color: var(--tintorange);
   box-shadow: inset 0 -6px 0 var(--brightorange);
}

.theme-orange .tab-content {      
   background-color: var(--tintorange);
}

.theme-orange .accordion {
   background-color: var(--tintorange);
}

.theme-orange .split-colour-heading {
   color: var(--brightorange);
}

   .theme-orange .split-colour-heading::first-line {
      color: var(--orange);
   }

.theme-orange .feature-heading {
   color: var(--orange);
}   
   
.quick-link-big-cards.theme-orange {
   background-color: var(--white)!important;
}

.quick-link-big-cards.theme-orange .news-grid-header h2 {
   color: var(--orange);
}

.quick-link-big-cards.theme-orange .card p {
   color: var(--orange);
}

.quick-link-big-cards.theme-orange .card:hover p {
   text-decoration-color: var(--brightorange);
}

.theme-orange .tb-heading h2,
.theme-orange .db-heading h2 {
   color: var(--orange);
}

.theme-orange .key-point {
   border-top-color: var(--brightorange);
}

.theme-orange .key-point h3 {
   color: var(--orange);
}

.theme-orange h2.main-text-title {
   color: var(--orange);
}

.theme-orange .download-box {
   background-color: var(--tintorange);
}

.theme-orange .download-box p.download-box-title {
   color: var(--orange);
}

.theme-orange .download-box:hover p.download-box-title {
   text-decoration-color: var(--brightorange);
}

.theme-orange .aside p.heading {
   color: var(--orange);
}

.theme-orange .aside ul {
   border-top-color: var(--brightorange);
}

.theme-orange .aside li {
   border-bottom-color: var(--brightorange);
}

.theme-orange .carousel-header h2 {
   color: var(--orange);
}

.theme-orange .card:hover p {
   text-decoration-color: var(--brightorange);
}

.theme-orange .card-category {
   color: var(--orange);
}

.theme-orange .dot, .theme-orange .dot.active {
   background-color: var(--orange);
}

table.theme-orange {
   border-color: var(--tintorange);
   background-color: var(--white);
}

table.theme-orange tr:nth-child(odd) {
  background-color: hsla(26, 65%, 90%, 0.5);
}

table.theme-orange tr:first-child {
  background-color: var(--tintorange);
}

table.theme-orange tr {
   color: var(--orange);
}




/********** Structure **********/

.main-container {
   position: relative;
   max-width: 1200px;
   margin: 0px auto;
}

.banner-video {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 50px;
  max-height: 90vh;
}

.video-homepage {
  margin-bottom: 100px;
}

@media (max-width: 600px) {
   .video-homepage {
      margin-bottom: 50px;
   }
}

@media (max-width: 1200px) {
   .banner-video {
      height: auto;
   }
} 

.banner-video video {
  width: 100%;
  height: 100%;
  /* max-height: 617px; */
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.video-title {
   color: var(--white);
   margin: 2.75rem;
   font-size: 5.625rem;
   line-height: 6.25rem;  
}

@media (max-width: 768px){
   .video-title {
      font-size: 3rem;
      line-height: 4.25rem;
      margin: 1.5rem;
   }
}

@media (max-width: 576px){
   .banner-video {
      display: flex;
      flex-direction: column;
      border-radius: 0px;
   }
   .video-overlay {
      position: relative;
      order: 1;
      background: none;
   }
   .video-title {
      color: var(--purple);
      margin: 0;
      margin-bottom: 24px;
      line-height: 3.25rem;
      
   }
   .banner-video video {
      order: 2;
      border-radius: 8px;
   }
}

/***Breadcrumb***/
.breadcrumb {
   margin-bottom: 50px;
}

.breadcrumb ul {
   display: flex;
   flex-wrap: wrap;
}

.breadcrumb li {
   position: relative;
   font-family: "Manrope-Regular", arial;
   padding-right: 15px;
   margin-right: 7px;
   font-size: 0.875rem;
   line-height: 1.375rem;
   color: var(--articletext);
}

.breadcrumb a:hover {
   text-decoration: underline;
   text-underline-offset: 3px;
}

.breadcrumb li:not(:last-child)::after {
   content: "\203A";
   position: absolute;
   right: 0;
}

/***Landing page banners***/

.lp-banner {
   display: grid;
   grid-template-columns: 1fr;
   position: relative;
   margin-bottom: 50px;
}

.lp-banner-split {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   align-content: end;
   margin-bottom: 50px;
   gap: 50px;
}

@media (max-width: 768px) {
   .lp-banner-split {
      grid-template-columns: 1fr;
      
   }
}

.lp-banner-default img,
.lp-banner-gradient img,
.lp-banner-separate img,
.lp-banner-split img {
   aspect-ratio: 3 / 1;
   object-fit: cover;
   border-radius: 8px;
   width: 100%;
   max-width: 1200px;
   max-height: 413px;
}

.lp-banner-separate img {
   max-height: 365px;
}

.lp-banner-split img {
   aspect-ratio: 4 / 3;
   width: 100%;
   max-height: 365px;
}

@media (max-width: 768px) {
   .lp-banner-split img {
      aspect-ratio: 3 / 1;
   }
}

.lp-banner-split h1 {
   align-self: end;
   margin-bottom: 0;
   width: 100%;
   max-width: 100%;
   text-wrap: unset;
}

@media (max-width: 768px) {
   .lp-banner-split h1 {
      order: 2;
   }
}

.lp-banner-overlay {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   box-sizing: border-box;
   border-radius: 8px;   
   display: flex;
   align-items: flex-end;
}

.lp-banner-gradient .lp-banner-overlay {
   background: linear-gradient(to top, hsla(206, 100%, 13%, 0.5), hsla(206, 100%, 13%, 0));
}

.lp-banner-overlay h1 {
   color: var(--white);
   margin: 0;
   padding: 36px;
}

@media (max-width: 768px){
   .lp-banner-overlay h1 {
      padding: 24px;
      width: 100%;
      max-width: 100%;
   }
}

@media (max-width: 576px){
   .lp-banner-overlay h1 {
      padding: 24px;
      width: 100%;
      max-width: 100%;
      font-size: 2.8125rem;
      line-height: 3.125rem;
   }
}

/***Text/Diagram blocks***/

.text-block,
.diagram-block {
   display: grid;
   grid-template-columns: 1fr;
   padding: 100px 36px;
   margin: 0 0 100px 0;
   border-radius: 8px;
   row-gap: 20px;
}



@media (max-width: 768px) {
   .text-block {
      padding: 55px 36px;
   }
}

@media (max-width: 600px) {
   .text-block, .diagram-block {
      margin-bottom: 50px;
   }
}

.text-block:has(.tb-key-points) {
   padding: 36px;
}

.text-block:has(img) {
   padding-bottom: 36px;
}

.diagram-block {
   padding: 36px;
}

.text-block.tb-default,
.diagram-block.db-default {
   padding: 0 0 100px 0;
   margin: 0;
}

@media (max-width: 600px) {
   .text-block.tb-default {
      padding-bottom: 0;
      margin-bottom: 50px;
   }
}

.text-block img {
   border-radius: 4px;
}

.tb-heading,
.db-heading {
   display: grid;   
   grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
   .tb-heading,
   .db-heading {
      grid-template-columns: 1fr;
   }
}

.tb-heading h2,
.db-heading h2 {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   letter-spacing: -2px;
   font-size: 2.8125rem;
   line-height: 3.4375rem;
   text-wrap: balance;
   margin-bottom: 1rem;
}

@media (max-width: 768px) {
   .tb-heading h2, 
   .db-heading h2 {
      font-size: 1.875rem;
      line-height: 2.1875rem;
   }
}

.tb-default .tb-heading h2,
.db-default .db-heading h2 {
   color: var(--purple);
}

.tb-text,
.db-content {
   display: grid;
   grid-template-columns: 1fr 2fr;
   column-gap: 20px;
}

@media (max-width: 768px) {
   .tb-text,
   .db-content {
      grid-template-columns: 1fr;
   }
}

.tb-text p:first-of-type {
   font-size: 1.75rem;
   line-height: 2.375rem;
}

@media (max-width: 768px) {
   .tb-text p:first-of-type {
      font-size: 1.5rem;
      line-height: 2.125rem;
   }
}

.tb-text p {   
   font-size: 1.5rem;
   line-height: 2.125rem;
}

@media (max-width: 768px) {
   .tb-text p {
      font-size: 1.25rem;
      line-height: 1.875rem;
   }
}

.db-content p {   
   font-size: 1rem;
   line-height: 1.375rem;
   text-wrap: balance;
   max-width: 34ch;
}

@media (max-width: 768px) {
   .db-content p {
      max-width: 100%;
   }
}

.db-content img {
   /* aspect-ratio: 16 / 9; */
   width: 100%;
   /* object-fit: cover; */
   border-radius: 4px;
}

@media (max-width: 768px) {
   .db-content img {
      margin-top: 36px;
   }
}

.tb-text p:last-child,
.db-content p:last-child { 
   margin-bottom: 0;
}

.tb-key-points {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   column-gap: 20px;
   row-gap: 20px;
   padding-top: 40px;
}

@media (max-width: 768px) {
   .tb-key-points {
      grid-template-columns: repeat(2, 1fr);
   }
}

.tb-default .key-point {
   border-top-color: var(--purple);
}

.key-point {
   padding: 20px 0 0 0;
   border-top-width: 1px;
   border-top-style: solid;
}

.key-point p {
   font-size: 1.25rem;
   line-height: 1.875rem;
}

@media (max-width: 768px) {
   .key-point p {
      font-size: 0.875rem;
      line-height: 1.475rem;
   }
}
.key-point h3
/*.key-point p:first-child*/ {    
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1.75rem;
   line-height: 2.375rem;
   text-wrap: balance;
   margin-bottom: 1rem;
}

@media (max-width: 768px) {
   .key-point h3 {
      font-size: 1.5rem;
      line-height: 2.125rem;
   }
}

.tb-default .key-point h3 {
   color: var(--purple);
}


/***Main Text Blocks***/
.main-text {
   display: grid;
   align-items: start;
   grid-template-columns: 7fr 3fr;
   gap: 55px;
   margin-bottom: 100px;
   background-color: var(--white);
}

@media (max-width: 768px) {
   .main-text {
      grid-template-columns: 6fr 4fr;
   }
}

@media (max-width: 576px) {
   .main-text {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-bottom: 50px;
   }
}

.main-text p {
   font-size: 1.25rem;
   /* line-height: 1.875rem; */
}

.main-text p:last-child {
   margin-bottom: 0;
}

h2.main-text-title, p.main-text-subtitle {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1.75rem;
   line-height: 2.375rem;
}

h2.main-text-title {
   color: var(--purple);
   letter-spacing: 0px;
   margin-bottom: 1rem;
}

p.main-text-subtitle {
   font-family: "Manrope-Regular", arial;
   font-weight: 400;
}

p.main-text-intro {
   font-family: "Manrope-Regular", arial;
   font-weight: 400;
   font-size: 1.5rem;
   line-height: 2.125rem;
}

.main-text a, .main-text a:visited {
   text-decoration: underline;
   text-decoration-thickness: 1px;
   text-underline-offset: 3px;
}

.main-text a:hover {
   text-decoration-thickness: 2px;
}

.main-text img {
   border-radius: 8px;
   margin-bottom: 16px;
}

.main-text table {
   margin-bottom: 1rem;
}

.main-text ul:not(.aside ul) {
   list-style-position: outside;
   list-style-type: disc;
   margin-left: 35px;
}

.main-text li {
   font-family: "Manrope-Regular", arial;
   color: var(--articletext);
   font-size: 1.25rem;
   line-height: 1.875rem;
}

.main-text ul:not(.aside ul) ul {
   list-style-type: circle;
}

/***Download box***/
.download-box {
   background-color: var(--tintgrey);
   border-radius: 4px;
   padding: 25px 36px;
   margin-bottom: 30px;
}

.download-box:hover p.download-box-title {
   text-decoration: underline;
   text-decoration-color: var(--darkpurple);
}

.download-box p.download-box-title {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1.875rem;
   line-height: 2.375rem;
   color: var(--purple);
}

.download {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1rem!important;
   color: var(--darkblue);
}

.download::after {   
   content: "";
   display: inline-block;
   width: 20px;
   height: 19px;
   background-image: url(/images/download-icon.png);
   background-size: contain;
   background-repeat: no-repeat;
   margin-left: 14px;
}

a.download-container {
   text-decoration: none;
}

.boxed-link {
   display: flex;
   align-items: center;
   border-radius: 4px;
   padding: 25px 36px;
   margin-bottom: 30px;
}

.boxed-link:hover p.boxed-link-title span {
   text-decoration: underline;
   text-decoration-color: inherit;
}

.boxed-link p.boxed-link-title {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1.25rem;
   line-height: 1.875rem;
   color: var(--white);
   display: inline-flex;  
   align-items: center;
   display: flex;   
   flex: 1 1 auto;
   min-width: 0;  
}

.boxed-link p.boxed-link-title::after {   
   content: '\203A';
   font-size: 2rem;
   font-family: "Manrope-Light";
   margin-left: 5px;
   margin-left: auto;
   margin-right: 0;
}

a.boxed-link-container {
   text-decoration: none;
}

.aside {
   margin-bottom: 30px;
}

.aside .heading {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1rem;
   color: var(--purple);
}

.aside ul {
   list-style-type: none;
   border-top: 1px solid var(--brightgrey);
   
}

.aside li {
   position: relative;
   font-family: "Manrope-Regular", arial;
   color: var(--articletext);
   border-bottom: 1px solid var(--brightgrey);
   font-size: 1.25rem;
   line-height: 1.875rem;
   padding: 18px 0 18px 20px;
}

.aside li::before {
   content: "\2022";
   position: absolute;
   left: 0;   
   font-size: 1.2rem;
}

.aside li:has(a) {
   padding-left: 0;
}

.aside li:has(a)::before {
   content: none;
}

/* .aside a:hover, .aside a:visited {
   text-decoration: underline;
   text-decoration-thickness: 1px;
   text-underline-offset: 3px;
} */


/***Stat cards***/

.statistics {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 20px;
   margin-bottom: 100px;
}

@media (max-width: 768px) { 
   .statistics { 
      grid-template-columns: 1fr
   } 
}

@media (max-width: 600px) { 
   .statistics { 
      margin-bottom: 50px;
   } 
}

.statistics div {
   display: grid;
   justify-items: center;
   align-content: start;
   padding: 36px;
   border-radius: 8px;
}

.statistics p {
   text-align: center;
}

.statistics img {
   aspect-ratio: 1 / 1;
   width: 100%;
   object-fit: cover;
   border-radius: 4px;
}

@media (max-width: 576px) {
   .statistics img {
      display: none;
   }
}

.stat {
   font-family: "Manrope-Light";
   font-size: 6.875rem;
   letter-spacing: -5px;
   line-height: 7rem;
   word-wrap: break-word;
   overflow-wrap: break-word;
   word-break: break-word;
}

@media (max-width: 992px) { 
   .stat { 
      font-size: 5rem;
   } 
}

.stat-md {
   font-size: 5rem;
}

@media (max-width: 992px) { 
   .stat-md { 
      font-size: 4rem;
   } 
}

@media (max-width: 768px) { 
   .stat-md { 
      font-size: 5rem;
   } 
}

.stat-sm {
   font-size: 4.375rem;
}

@media (max-width: 992px) { 
   .stat-sm { 
      font-size: 3rem;
   } 
}

@media (max-width: 768px) { 
   .stat-sm { 
      font-size: 5rem;
   } 
}

.stat-title {
   font-family: "Manrope-Bold";
   font-size: 1.375rem;
   line-height: 1.875rem;
}

.stat-text {
   font-size: 1.25rem;
   line-height: 1.875rem;
}



/***Tabbed content***/

.tabs-container {
   margin: 20px auto;
   border-radius: 8px;
   overflow: hidden;
   margin-bottom: 100px;
}

@media (max-width: 600px) {
   .tabs-container {
      margin-bottom: 50px;
   }
}

.tabs {
   display: flex;
   flex-wrap: wrap;
   background-color: var(--white);
   gap: 2px;
}

.tab {
   flex: 1;   
   padding: 18px 16px;
   text-align: left;
   background-color: var(--tintgrey);
   border: none;
   cursor: pointer;
   font-size: 1.25rem;
   font-family: "Manrope-Bold";
   color: var(--articletext);
   transition: background 0.3s;
   box-shadow: inset 0 -6px 0 transparent;
}

.tab-content {
   padding: 32px 22px 22px 22px; 
}

/* When an image exists inside tab-content */
/*.tab-content:has(img):not([hidden]) {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 20px;
}

@media (max-width: 768px) {
   .tab-content:has(img):not([hidden]) {
      flex-direction: column;
   }
}

.tab-content .tabs-text-block {
  flex: 1;
}

.tab-content img {
   aspect-ratio: 1 / 1;
   max-width: 280px;
   object-fit: cover;
   border-radius: 4px;
}

@media (max-width: 768px) {
   .tab-content img {
      aspect-ratio: 4 / 3;
      max-width: 100%;
   }
}
*/

[hidden] {
   display: none;
}

@media (max-width: 576px) {
  .tab {
      flex: 100%;
      border-bottom: 1px solid #ccc;
  }
}

/***Accordion***/

.accordion-wrapper .accordion-container:last-child {
   margin-bottom: 50px!important;
}

.accordion-container {
   border-radius: 8px;
   margin-bottom: 20px;
}

.accordion {
   cursor: pointer;
   padding: 12px 36px;
   width: 100%;
   border: none;
   text-align: left;
   outline: none;
   font-size: 1.75rem;
   font-family: "Manrope-Bold", arial;
   line-height: 2.375rem;
   transition: 0.4s;   
   border-radius: 8px;
}

.accordion:after {
   content: '\203A';
   font-size: 3rem;
   font-family: "Manrope-Light";
   float: right;
   margin-left: 5px;
   transform: rotate(90deg);
   -webkit-transform: rotate(90deg);
}

.accordian_active:after {
   content: "\002B";
   transform: rotate(45deg);
   -webkit-transform: rotate(45deg);
}

.accordion-panel {
   padding: 0 36px;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.2s ease-out;
}

/* .accordion-panel:has(img) {   
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 36px;
} */

.accordion-panel img {
   display:block;
}

.accordion-panel.has-img {
   display:flex;
   gap: 36px;
}


@media (max-width: 768px) {
   .accordion-panel.has-img {
      flex-direction: column;
   }
}

.accordion-panel.has-img p:last-child {
   padding-bottom: 36px;
}

/* @media (max-width: 768px) {
   .accordion-panel:has(img) {
      flex-direction: column;
   }
} */

.accordion-text {   
  flex: 1;
}

.accordion-panel img {
   aspect-ratio: 1 / 1;
   max-width: 280px;
   object-fit: cover;
   border-radius: 4px;
   margin-bottom: 23px;
}

@media (max-width: 768px) {
   .accordion-panel img {
      aspect-ratio: 4 / 3;
      max-width: 100%;
   }
}

.accordion-panel p {   
   font-size: 1.25rem;
}

.accordion-panel p:last-child {
   margin-bottom: 23px;
}

@media (max-width: 768px) {
   .accordion-panel p:last-child {
      margin-bottom: 0;
   }
}


/***Features***/
.feature {
   display: grid;
   margin-bottom: 50px;   
}

.feature img {
   aspect-ratio: 4 / 3;
   width: 100%;
   object-fit: cover;
   border-radius: 8px;
   max-height: 422px;
   height: 100%;
}

.feature-colour-image-left .feature-image img,
.feature-colour-image-right .feature-image img {
   aspect-ratio: 1 / 1;
   max-height: 540px;
}

@media (max-width: 768px) {
   .feature-colour-image-left .feature-image img,
   .feature-colour-image-right .feature-image img {
      aspect-ratio: 4 / 3;
   }
}

.feature-image-left {
   grid-template-columns: 58% auto;
   column-gap: 20px;
   grid-template-areas:
   "image titles"
   "image context";
}

.feature-image-right {
   grid-template-columns: auto 58%;
   column-gap: 20px;
   grid-template-areas:
   "titles image"
   "context image";
}

@media (max-width: 768px) {
   .feature-image-left, .feature-image-right {
      grid-template-columns: 1fr;
      grid-template-areas:
      "titles"
      "image"
      "context";
      row-gap: 20px;
   }
}

.feature-colour-image-left, .feature-colour-image-right {
   display: grid;
   grid-template-columns: 1fr 1fr;
   border-radius: 8px;
}

.feature-colour-image-left {
   grid-template-areas:
   "image content";
}

.feature-colour-image-right {
   grid-template-areas:
   "content image";
}

@media (max-width: 768px) {
   .feature-colour-image-left, .feature-colour-image-right {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      grid-template-areas:
      "image"
      "content";
   }
}

.feature-image {
   grid-area: image; 
}

.feature-titles {
   grid-area: titles; 
   align-content: end;
}

.feature-content {
   grid-area: content;
   padding: 40px;
   display: grid;
   align-content: end;
}

.feature-colour-image-left a.btn-standard,
.feature-colour-image-left a.btn-standard:visited,
.feature-colour-image-right a.btn-standard,
.feature-colour-image-right a.btn-standard:visited {
   background-color: var(--white);
}

.feature-colour-image-left a.btn-standard:hover,
.feature-colour-image-right a.btn-standard:hover {
   background-color: var(--blue);
}

.feature-colour-image-left a.btn-standard:active,
.feature-colour-image-right a.btn-standard:active {
   background-color: var(--purple);
}

/* .feature-titles p:first-of-type. Changed to H2 */
.feature-titles p,
.feature-colour-image-left p:first-of-type,
.feature-colour-image-right p:first-of-type {
   font-family: "Manrope-bold", arial;
   font-weight: bold;
   font-size: 1.25rem;
}

/* .feature-titles p:last-of-type, Changed to H2*/
/* .feature-colour-image-left p:nth-child(2),
.feature-colour-image-right p:nth-child(2) {
   font-family: "Manrope-bold", arial;
   font-weight: bold;
   font-size: 2.8125rem;
   letter-spacing: -2px;
   line-height: 3.125rem;
   margin-bottom: 35px;
} */

@media (max-width: 768px) {
   .feature-titles p:last-of-type {
      margin-bottom: 0;
   }
}

.feature-context {
   grid-area: context; 
   display: grid;
}

.feature-context p,
.feature-colour-image-left p,
.feature-colour-image-right p {
   font-size: 1.25rem;
}

.feature-context .btn-standard, .feature-context .btn-hi-vis {
   align-self: end;
}


/***** buttons *****/
a.btn-standard, a.btn-standard:visited, 
a.btn-hi-vis, a.btn-hi-vis:visited,
 a.btn-white, a.btn-white:visited,
 .contact-form button {     
   display: inline-flex !important; 
   width: auto !important;          
   max-width: fit-content;  
   align-items: center; 
   font-family: "Manrope-bold", arial;
   font-weight: bold;
   font-size: 1rem;
   line-height: 1.375rem; 
   border-radius: 4px;
   padding: 2px 10px;  
   transition: background-color 0.4s ease, color 0.4s ease;
}

a.btn-standard, a.btn-standard:visited {
   background-color: var(--tintgrey);  
   color: var(--blue);
}

a.btn-hi-vis, a.btn-hi-vis:visited {
   background-color: var(--purple);  
   color: var(--white);
}

a.btn-white, a.btn-white:visited {
   background-color: var(--white);  
   color: var(--blue);
}

a.btn-standard:after, a.btn-hi-vis:after, a.btn-white:after {
   content: '\203A';
   font-family: "Manrope-Light", arial;
   font-size: 2rem;
   margin-top: -3px;
   margin-left: 10px;
   line-height: 1;
}

a.btn-standard:hover, a.btn-hi-vis:hover, a.btn-white:hover, .contact-form button {
   background-color: var(--blue);
   color: var(--white); 
}

a.btn-standard:active, a.btn-white:active {
   background-color: var(--purple);
   color: var(--white);
}

a.btn-hi-vis:active {
   background-color: var(--tintgrey);
   color: var(--blue);
}



/***** Quick Links Cards *****/

.quick-link-big-cards, .quick-link-small-cards {
  display: grid;
  column-gap: 20px;
  row-gap: 60px;
  margin-bottom: 50px;
}

.quick-link-big-cards {
  grid-template-columns: repeat(2, 1fr);
}

.quick-link-small-cards {
   grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .quick-link-big-cards, .quick-link-small-cards {
    grid-template-columns: 1fr;
  }
}

.news-grid-header {
   display: flex;
   grid-column: 1 / span 2;
   justify-content: space-between;
   align-items: center;
   margin-bottom: -30px;
}

@media (max-width: 768px) {
   .news-grid-header {
      grid-column: 1;
   }
}

.news-grid-header h2 {
   margin: 0;
   font-size: 2.8125rem;
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
}

.card {
  border-radius: 4px;
  overflow: hidden;
}

.card a {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  overflow: hidden;
}

.image-zoom {
  position: relative;
  width: 100%;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.20);
}

.card p {
  font-family: "Manrope-Bold", arial;
  font-weight: bold;
  font-size: 1.75rem;
  line-height: 2.375rem;
  color: var(--blue);
  margin-top: 16px;
}

.card:hover p {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.card:hover p.card-category {
   text-decoration: none;
}

p.card-category {
   font-size: 1.25rem;
   line-height: 1.875rem;
}

@media (max-width: 768px) {
   p.card-category {
      font-size: 1rem;
   }
}

p.date {
   font-size: 1.25rem;
   text-decoration: none!important;
}

/***** Carousels *****/

.carousel {
   overflow: hidden;
   position: relative;
   width: 100%;
   padding: 36px;
   margin-bottom: 50px;
   border-radius: 8px;
}

.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px; /* Adjust width for fade size */
    height: 100%;
    pointer-events: none; /* So it doesn't block clicks */
    background: linear-gradient(to left, hsla(240, 6%, 90%, 1), hsla(0, 0%, 100%, 0));
    z-index: 1;
}


.carousel-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 26px;
   position: relative;
   z-index: 2;
}

.carousel-header h2 {
   margin: 0;
   font-size: 2.8125rem;
   line-height: 3.4375rem;
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
}

@media (max-width: 768px) {
   .carousel-header h2 {
      font-size: 1.875rem;
      line-height: 2.5rem;
   }
}

/* .carousel-header a.btn-standard, .carousel-header a.btn-standard:visited {
   background-color: var(--white);
}

.carousel-header a.btn-standard:hover {
   color: var(--darkblue);
} */

.carousel-track {
   display: flex;
   transition: transform 0.6s ease;
   
}

.ct-large .carousel-item {
   width: 602px;
}

@media (max-width: 768px) {
   .ct-large .carousel-item {
      width: 416px;
   }
}

@media (max-width: 576px) {
   .ct-large .carousel-item {
      width: 260px;
   }
   .ct-large .carousel-item p:not(.card-category) {
      font-size: 1.25rem;
      line-height: 1.875rem; 
   }
}

.ct-medium .carousel-item {
   width: 416px;
}

@media (max-width: 576px) {
   .ct-medium .carousel-item {
      width: 260px;
   }
   .ct-medium .carousel-item p:not(.card-category) {
      font-size: 1.25rem;
      line-height: 1.875rem; 
   }
}

.ct-small .carousel-item {
   width: 260px;
   padding-right: 50px;
}

@media (max-width: 576px) {
   .ct-small .carousel-item {
      padding-right: 20px;
   }
}

.ct-small p {
   font-size: 1.25rem;
   line-height: 1.875rem;
}

.ct-small p.card-category {
   font-size: 1rem;
}

.carousel-item {
   flex-shrink: 0;
   text-align: center;
   padding-right: 20px;
}

.carousel-item .card p {
   text-align: left;
}

.carousel-dots {
   display: flex;
   justify-content: center;
   margin-top: 10px;
}

.dot-container {
   padding: 2px;
   background-color: var(--white);
   border-radius: 14px;
}

.dot {
   width: 11px;
   height: 11px;
   border-radius: 50%;
   background-color: var(--purple);
   margin: 0 5px;
   border: none;
   cursor: pointer;
}

.dot.active {
   background-color: var(--purple);
   width: 55px;
   border-radius: 8px;
}


/***** Expand/Hide e.g. Leadership profiles *****/
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
   .profile-grid {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 768px) {
   .profile-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 576px) {
   .profile-grid {
      grid-template-columns: 1fr;
   }
}

.profile-card {
   display: flex;
   flex-direction: column;
   align-items: start;
   overflow: hidden;
   border-top-left-radius: 8px;
   border-top-right-radius: 8px;
   position: relative;
   cursor: pointer;
   transition: transform 0.3s ease;
}


.profile-card:hover p {
   color: var(--purple);
}

.profile-card::after {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.75);
   opacity: 0;
   transition: opacity 0.3s ease;
   z-index: 2; 
}

.profile-card.active img {
   aspect-ratio: auto;         
   height: 100%;               
   width: 100%;
   object-fit: cover;          
   transform: scale(1.0);
   transform-origin: bottom center;
}

.profile-card.active img {
   transform: scale(1.0);
   transform-origin: bottom center; 
}

.profile-card::after {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.35);
   opacity: 0;
   transition: opacity 0.3s ease;
   z-index: 2; 
}

.profile-card.active::after {
   opacity: 1;
}

p.profile-title {
   font-family: "Manrope-Bold" , arial;
   font-weight: bold;
   letter-spacing: 0.1px;
   margin-bottom: 0;
}

.profile-card > div p:last-child {
  font-size: 1rem;
  text-wrap: balance;
}

.profile-card > div {
  padding: 8px;
  transition: all 0.3s ease;
}

.profile-card.active > div {
  position: absolute;
  left: 16px;
  bottom: 10px;
  color: #fff;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.profile-card.active .profile-title {
  font-size: 1.6rem;
  margin-bottom: 0px;
  color: var(--white)
}

.profile-card.active > div p:last-child {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--white);
  text-wrap: balance;
}

.close-btn {
   position: absolute;
   top: 8px;
   right: 8px;
   width: 32px;
   height: 32px;
   background: none;
   border: none;
   cursor: pointer;
   opacity: 0;
   transition: opacity 0.3s ease;
   z-index: 10;
}

.close-btn::before {
   content: "\002B"; 
   display: block;
   font-size: 4rem;
   color: #fff;
   transform: rotate(45deg);
   line-height: 32px;
   text-align: center;
}

.profile-card.active .close-btn {
   opacity: 1;
}

.profile-details {
   display: none;
   background: var(--tintlightgrey);
   border-radius: 8px;;
   padding: 36px;
   grid-column: 1 / -1;
   opacity: 0;
   transform: translateY(-10px);
   transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 576px) {
   .profile-details {
      grid-column: auto;
   }
}

.profile-details.active {
   display: block;
   opacity: 1;
   transform: translateY(0);
}

.profile-panel {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
   color: var(--articletext);
}

@media (max-width: 768px) {
   .profile-panel {
      grid-template-columns: 1fr;
      gap: 0px
   }
}

.profile-panel ul {
   margin: 0 0 22px 26px;
}

.profile-panel li::before {
   content: "\2022";
   position: absolute;
   left: 36px;   
   font-size: 1.2rem;
   font-weight: normal;
}


/***** Locations and Contact *****/

.locations-wrapper,
.contacts-wrapper {
   margin-bottom: 100px;
}

.locations-regions,
.locations-sites,
.contacts-aoi,
.sub-aoi {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 40px;
   margin-bottom: 40px;
}

@media (max-width: 992px) {
   .locations-regions,
   .locations-sites,
   .contacts-aoi,
   .sub-aoi {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 768px) {
   .locations-regions,
   .locations-sites,
   .contacts-aoi,
   .sub-aoi {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 576px) {
   .locations-regions,
   .locations-sites,
   .contacts-aoi,
   .sub-aoi {
      grid-template-columns: 1fr;
      gap: 20px;
   }
}

.contacts-aoi p,
.sub-aoi p {
   grid-column: 1 / -1;
   font-weight: bold;
   margin-bottom: 0;
}

.locations-regions button,
.locations-sites button,
.contacts-aoi button,
.sub-aoi button {
   display: flex;
   text-align: left;
   align-items: center;
   position: relative;
   background-color: var(--tintlightgrey);
   border: 1px solid var(--brightgrey);
   border-radius: 4px;
   padding: 15px 45px 15px 10px;
   margin: unset;
   font-size: 0.875rem;
}

.locations-regions button:hover,
.locations-sites button:hover,
.contacts-aoi button:hover,
.sub-aoi button:hover {
   background-color: var(--white);
   border-color: var(--purple);
   cursor: pointer;
}

.locations-regions button[aria-pressed="true"],
.locations-sites button[aria-pressed="true"],
.contacts-aoi button[aria-pressed="true"],
.sub-aoi button[aria-pressed="true"] {
   border-color: var(--purple);
   background-color: var(--white);
}

.loc-aus::after,
.loc-can::after,
.loc-ger::after,
.loc-me::after,
.loc-uk::after,
.loc-us::after {
   content: '';
   position: absolute;
   right: 10px;              
   top: 50%;              
   transform: translateY(-50%);
   width: 40px;   
   height: 30px;
   background-size: contain;
   background-repeat: no-repeat;
}

.loc-aus::after {
   background-image: url('/images/flag-australia.png');
}

.loc-can::after {
   background-image: url('/images/flag-canada.png');
}

.loc-ger::after {
   background-image: url('/images/flag-germany.png');
}

.loc-me::after {
   background-image: url('/images/flag-middle-east.png');
}

.loc-uk::after {
   background-image: url('/images/flag-uk.png');
}

.loc-us::after {
   background-image: url('/images/flag-us.png');
}

.locations-site-details,
.contact-next {
   display: none;
   grid-template-columns: 4fr 6fr;
   gap: 20px;
   margin-bottom: 40px;
}

.sub-aoi-container {
  display: none;
}

.locations-site-details.show,
.sub-aoi-container.show,
.contact-next.show {
   display: grid;
}


.locations-site-details div,
.contact-next div {
   display: unset;
   background-color: var(--white);
   border: none;
   padding: 0;
}

@media (max-width: 768px) {
   .locations-site-details,
   .contact-next {
      grid-template-columns: 1fr;
      background-color: var(--white)!important;
      border: none!important;
      padding: 0!important;
      align-content: flex-start
   }
}

@media (max-width: 768px) {
   .locations-site-details div p {
      margin-bottom: 16px;
   }
}

.locations-site-details iframe {
   aspect-ratio: 16 / 9;
   width: 100%;
   border-radius: 8px;
}

p.site-name {
   color: var(--purple);
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 1.5rem;
   text-wrap: balance;
}

p.site-address,
p.site-phone {
   display: flex;
   align-items: flex-start;
   gap: 8px; 
}

p.site-address::before,
p.site-phone::before {
   font-family: "Font Awesome 6 Free";
   font-weight: 900;   
   font-size: 0.8rem;
   color: transparent;
   -webkit-text-stroke: 1px var(--articletext);
   flex-shrink: 0;
   margin-top: 4px;
}

p.site-address::before {
   content: "\f3c5";
}

p.site-phone::before {
   content: "\f095";
}

.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;
}

.contact-serviceproduct::after,
.unmanned-systems::after {
   content: '';
   position: absolute;
   right: 10px;              
   top: 50%;              
   transform: translateY(-50%);
   width: 40px;   
   height: 40px;
   background-size: contain;
   background-repeat: no-repeat;
}

.contact-serviceproduct::after {
   background-image: url('/images/service\ product\ icon.png');
}

.unmanned-systems::after {
   background-image: url('/images/robot\ icon.png');
}

.contact-next:has(.btn-hi-vis):not([hidden]) {   
   grid-template-columns: 1fr;
   justify-items: end; 
}

.contact-form-container {
   /* display: grid; */
   display: none;
   grid-template-columns: 6fr 4fr;
   gap: 30px;
}

@media (max-width: 992px) {
   .contact-form-container {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 768px) {
   .contact-form-container img {
      display: none;
   }
}

.form-back-button {
   grid-column: 1 / -1;
}

.form-back-button .btn-hi-vis:after {
   content: '';
}

.form-back-button .btn-hi-vis:before {
   content: '\2039';
   font-family: "Manrope-Light", arial;
   font-size: 2rem;
   margin-top: -3px;
   margin-right: 10px;
   line-height: 1;
}

.contact-form {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 30px;
}

.form-group {
   display: flex;
   flex-direction: column;
}

.full-width {
   grid-column: 1 / 3; /* Span both columns */
}

label, .form-label {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   margin-bottom: 5px;
   color: var(--articletext);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
   padding: 10px;
   border: 1px solid var(--brightgrey);
   border-radius: 4px;
   font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
   outline: none;
   border-color: var(--purple);
}

.contact-form textarea {
   resize: vertical;
}

.contact-form p {
   font-size: 1rem;
}

.phone-input {
   display: grid;
   grid-template-columns: 120px 1fr;
   gap: 10px;
}

.custom-phone-select {
  position: relative;
  font-family: inherit;
}

.custom-phone-select .selected {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--brightgrey);
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
}

.custom-phone-select .selected img {
  width: 20px;
  height: auto;
  margin-right: 8px;
}

.custom-phone-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 10;
  border-radius: 4px;
  margin-top: 4px;
}

.custom-phone-select .options li {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
}

.custom-phone-select .options li img {
  width: 20px;
  height: auto;
  margin-right: 8px;
}

.custom-phone-select .options li:hover {
  background: #eee;
}

.custom-phone-select.open .options {
  display: block;
}

.main-text > .contact-form img {
   border-radius: 0px;
   margin-bottom: 0!important;
}


.contact-form button {
   background: none;
   border: none;
   margin: auto;
   cursor: pointer;
   display: inline-flex !important; 
   width: auto !important;          
   max-width: fit-content;  
   /* align-items: center;  */
   font-family: "Manrope-bold", arial;
   font-weight: bold;
   font-size: 1rem;
   line-height: 1.375rem; 
   border-radius: 4px;
   padding: 2px 10px;  
   transition: background-color 0.4s ease, color 0.4s ease;
   background-color: var(--purple);  
   color: var(--white);
}

.contact-form button:after {
   content: '\203A';
   font-family: "Manrope-Light", arial;
   font-size: 2rem;
   margin-top: -3px;
   margin-left: 10px;
   line-height: 1;
}

.contact-form button:hover {
   background-color: var(--blue);
   color: var(--white); 
}

.checkbox-group,
.checkbox-regular-group,
.radio-group,
.radio-group-row {
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 10px;
}

.radio-group-row {
   flex-wrap: wrap;
}

.radio-group-row .form-label {
   flex: 0 0 100%;   
}

.checkbox-regular-group,
.radio-group {
   flex-direction: column;
}

.form-sub-group {
   display: flex;
   flex: 1 1 0;
}

.checkbox-group label,
.checkbox-regular-group label,
.radio-group label {   
   display: block;
   width: auto;
   margin: 0;
   font-family: "Manrope-Regular", arial;
   font-weight: 300 !important;
   flex: 1;
   min-width: 0; 
}

.checkbox-group input[type="checkbox"] {
   appearance: none; 
   width: 36px;
   height: 36px;
   border: 1px solid var(--brightgrey);
   border-radius: 4px; 
   cursor: pointer;
   position: relative;
   flex: 0 0 auto;
   margin-top: 2px;
}

.checkbox-group input[type="checkbox"]:checked,
.checkbox-regular-group input[type="checkbox"]:checked {
   background-color: var(--white);
}

.checkbox-regular-group input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-group input[type="checkbox"]:checked::after {
   font-family: "Font Awesome 6 Free";
   font-weight: 900; 
   content: "\f00c";
   color: var(--purple);
   font-size: 30px;
   position: absolute;
   top: 4px;
   left: 4px;
}

.checkbox-regular-group input[type="checkbox"] {
   appearance: none; 
   width: 18px;
   height: 18px;
   border: 1px solid var(--brightgrey);
   border-radius: 4px; 
   cursor: pointer;
   position: relative;
   flex: 0 0 auto;
   margin: 2px 10px 0 0;
}

.checkbox-regular-group input[type="checkbox"]:checked::after {
   font-family: "Font Awesome 6 Free";
   font-weight: 900; 
   content: "\f00c";
   color: var(--purple);
   font-size: 18px;
   position: absolute;
   top: -2px;
   left: 3px;
}

.radio-group input[type="radio"],
.radio-group-row input[type="radio"] {
   appearance: none;
   -webkit-appearance: none;
   width: 20px;
   height: 20px;
   margin-right: 10px;
   border-radius: 50%;
   display: inline-grid;
   place-content: center;
   box-sizing: border-box;
}

/* dot */
.radio-group input[type="radio"]::before,
.radio-group-row input[type="radio"]::before {
   content: "";
   width: 10px; 
   height: 10px;
   border-radius: 50%;
   background: var(--purple);
   transform: scale(0);
   transition: transform 120ms ease;
}

.radio-group input[type="radio"]:checked,
.radio-group-row input[type="radio"]:checked {
   border-color: var(--purple);
}

.radio-group input[type="radio"]:checked::before,
.radio-group-row input[type="radio"]:checked::before {
   transform: scale(1);
}

.radio-group input[type="radio"]:focus-visible,
.radio-group-row input[type="radio"]:focus-visible {
   outline: none;
   box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--brightgrey);
}

button:disabled {
   background-color: #ccc;
   cursor: not-allowed;
}

.error-message {
   color: red;
   font-size: 13px;
   margin-top: 5px;
}

.contact-form-thankyou {
   display: none;
   margin-bottom: 100px;
}

@media (max-width: 600px) {
  .contact-form {
      grid-template-columns: 1fr;
  }
  .full-width {
      grid-column: 1;
  }
}

/***** Search Results *****/

.form-search-results {
   display: flex;
   flex-direction: row;
   margin: 100px 0 75px 0;
   justify-content: center;
}

@media (max-width: 600px) {
   .form-search-results {
      margin: 50px 0 50px 0;
   }
}

.form-search-results input {
   border: 0;
   max-width: 60%;
   width: 100%;
   border-bottom: 1px solid var(--purple);
}

@media (max-width: 576px) {
   .form-search-results input {
      max-width: 100%;
   }
}

.form-search-results input:active,
.form-search-results input:focus {
   outline: none;
   box-shadow: 0;
   border: 0;
   border-bottom: 1px solid var(--purple);
}

.form-search-results img {
   max-width: 32px;
   max-height: 32px;
   padding-bottom: 5px;
   border-bottom: 1px solid var(--purple);
}

/*required to announce labels to screen readers*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-search-results button {
   all: unset;
   cursor: pointer;
}

.search-summary {
   display: flex;
   flex-direction: row;
   align-items: baseline;
   gap: 20px;
   margin-bottom: 75px;
}

@media (max-width: 768px) {
   .search-summary {
      flex-direction: column;
   }
}

@media (max-width: 600px) {
   .search-summary {
      margin-bottom: 50px;;
   }
}

.search-summary p {
   margin: unset;
}

.search-summary p:first-of-type {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   font-size: 2.25rem;
   color: var(--darkblue);
}

@media (max-width: 576px) {
   .search-summary p:first-of-type {
      font-size: 1.875rem;
   }
}

.search-summary-highlight {
   color: var(--purple)
}

.search-summary-highlight:before,
.search-summary-highlight:after {
   content: '\0022';
}

.search-results-container {
   display: grid;
   grid-template-columns: 7fr 3fr;
   gap: 30px;
   margin-bottom: 100px;
}

@media (max-width: 768px) {
   .search-results-container {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 600px) {
   .search-results-container {
      margin-bottom: 50px;
   }
}

/* .search-results,
.search-filters {
   outline: 1px solid #ccc;
} */

@media (max-width: 768px) {
   .search-results {
      order: 2;
   }
   .search-filters {
      order: 1;
   }
}

.result {
   display: grid;
   grid-template-columns: 1fr;
   border-bottom: 1px solid var(--articletext);
   margin-bottom: 30px;
}

.result p {
   font-size: 1.375rem;  
   display: -webkit-box;
   -webkit-box-orient: vertical;
   line-clamp: 2;
   -webkit-line-clamp: 2;
   overflow: hidden;
   text-overflow: ellipsis; 
   margin-bottom: 32px;
}

@media (max-width: 992px) {
   .result p {
      line-clamp: 3;
      -webkit-line-clamp: 3;
   }
}

@media (max-width: 768px) {
   .result p {
      line-clamp: 4;
      -webkit-line-clamp: 4;
   }
}

@media (max-width: 576px) {
   .result p {
      font-size: 1rem;
   }
}   

.result p:first-of-type {
   margin-bottom: 0;
}

.result p:last-of-type {
   font-size: 0.9rem;
   text-transform: uppercase;
}

.result span,
.search-filters span {
   padding-right: 10px;
}

.result span:not(:last-of-type):after,
.search-filters span:not(:last-of-type):after {
   content: "|";
   display: inline-block;
   padding-left: 10px;     
}

.result a,
.result a:visited {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
}

@media (max-width: 768px) {
   .result a,
   .result a:visited {
      text-decoration: underline;
      text-decoration-color: var(--purple);
      text-decoration-thickness: 2px;
      text-underline-offset: 2px;
   }
}

.result a:hover,
.result a:active {
   text-decoration: underline;
   text-decoration-color: var(--purple);
   text-decoration-thickness: 3px;
}

@media (max-width: 768px) {
   .result a:hover,
   .result a:active {
      text-decoration-color: var(--darkblue);
      text-decoration-thickness: 2px;
   }
}

.search-filters .accordion {
   font-size: 1rem;
   color: var(--darkblue);
   padding: 6px 20px;
}

.search-filters .accordion:after {
   font-size: 2rem;
}

.search-filters .accordion-panel {
   padding: 12px 20px;
}

.search-filters .checkbox-group:not(:last-child) {
   margin-bottom: 20px;
}

.search-filters label {
   font-family: "Manrope-Regular", arial;
   font-weight: normal;
   padding-left: 6px;
   color: var(--darkblue);
}

.search-filters input[type="checkbox"] {
   appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;  
   width: 20px;
   height: 20px;
   border: 2px solid var(--articletext);
   border-radius: 4px;
   cursor: pointer;
   position: relative;
}

.search-filters input[type="checkbox"]:checked {
  background-color: var(--purple);
}

.search-filters input[type="checkbox"]:checked::after {
   font-family: "Font Awesome 6 Free";
   font-weight: 900; 
   content: "\f00c";
   color: var(--white);
   font-size: 15px;
   position: absolute;
   top: -3px;
   left: 1.5px;
}

.search-filters a {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
   opacity: 0.8;
   color: var(--articletext);
}

.search-filters a:focus {
   opacity: 1;
   text-decoration: underline;
   text-decoration-color: var(--purple);
   text-decoration-thickness: 2px;
   text-underline-offset: 2px;
   color: var(--darkblue);
}

.search-pagination {
   display: flex;
   flex-direction: row;
   justify-content: center;
   grid-column: 1 / -1;
   font-size: 1.25rem;
   margin-top: 30px;
}

@media (max-width: 768px) {
   .search-pagination {
      order: 3;
   }   
}

@media (max-width: 600px) {
   .search-pagination {
      margin-top: 0;
      margin-bottom: 0;
   }   
}

.search-pagination ul {
   display: flex;
   justify-content: center;
   align-items: baseline;
   gap: 3rem;
   list-style: none;
   padding: 0;
   margin: 0;
}

@media(max-width: 768px) {
   .search-pagination ul {
      gap: 1.5rem;
   }
}

.search-pagination li {
   position: relative;
}

.search-pagination ul li:first-child {
   margin-right: 1.5rem;
}

.search-pagination ul li:last-child {
   margin-left: 1.5rem;
}

.search-pagination a {
   text-decoration: none;
   color: var(--articletext);
}

.search-pagination .disabled {
   color: var(--brightgrey);
   pointer-events: none;
}

.search-pagination .active {
   text-decoration: underline;
   text-decoration-thickness: 2px;
}

/* .search-pagination .dots {
  color: var(--articletext);
} */

.search-pagination .prev:before,
.search-pagination .next:after {
   font-family: "Manrope-Regular", arial;
   font-size: 3rem;
   line-height: 1;
   display: inline-block;
   transform: translateY(0.15em);
}

.search-pagination .prev:before {
   content: '\2039';
}

.search-pagination .next:after {
   content: '\203A';
}

@media(max-width: 768px) {
   .search-pagination a.prev span {
      display: none;
   }
   .search-pagination a.next span {
      display: none;
   }
}


/**Grids**/

.css-grid-base {
   display: grid;
   gap: 55px;
   align-items: stretch;
   margin-bottom: 100px;
}

   @media (max-width: 576px) {
      .css-grid-base {
         gap: 20px;
         margin-bottom: 55px;
      }
   }
 
.css-grid-one-column {
   grid-template-columns: 1fr;   
}
 
.css-grid-two-column {
   grid-template-columns: repeat(2, 1fr);
}

   @media (max-width: 768px) {
      .css-grid-two-column {
         grid-template-columns: 1fr;
      }
   }
 
.css-grid-two-column-rails {
   grid-template-columns: 7fr 3fr;
}

   @media (max-width: 768px) {
      .css-grid-two-column-rails {
         grid-template-columns: 1fr;
      }
   }
 
.css-grid-three-column {
   grid-template-columns: repeat(3, 1fr);
}

   @media (max-width: 768px) {
      .css-grid-three-column {
         grid-template-columns: repeat(2, 1fr);
      }
   }

   @media (max-width: 576px) {
      .css-grid-three-column {
         grid-template-columns: 1fr;
      }
   }
 
.css-grid-multi-column {
   grid-template-columns: repeat(4, 1fr);
}

   @media (max-width: 992px) {
      .css-grid-multi-column {
         grid-template-columns: repeat(3, 1fr);
      }
   }

   @media (max-width: 768px) {
      .css-grid-multi-column {
         grid-template-columns: repeat(2, 1fr);
      }
   }

   @media (max-width: 576px) {
      .css-grid-multi-column {
         grid-template-columns: 1fr;
      }
   }

/* .css-grid-base div {
   background-color: var(--tintblue);
} */


/***** Header *****/

header {
   margin-bottom: 40px;
}

.top-nav {
   position: relative;
   display: flex;
   flex-wrap: wrap;
}

.logo {
   max-width: 182px;
}

.utility-menu {
   position: relative;
   display: flex;
   justify-content: flex-end;
   width: 100%;
   background-color: var(--darkblue);
   border-radius: 0 0 8px 8px;
   font-size: 0.875rem;
   line-height: 1.875rem;
   color: var(--white);
}

.region-select img {
   max-width: 22px;
   margin: 8px 0;
}

.main-menu {
   position: relative;
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   width: 100%;
   padding-top: 27px;
   font-size: 1.125rem;
}

.main-menu ul,
.utility-menu ul {
   display: flex;
   list-style: none;
   padding: 0;
   margin: 0;
   align-items: center;
   column-gap: 36px;
}

.main-menu ul {
   margin-left: auto!important;
   column-gap: 0;
}

.main-menu li,
.utility-menu li {
   margin: 0 10px;
   cursor: pointer;
   position: relative;
}

.main-menu li {
   font-weight: 700;
   color: var(--purple);
   margin-bottom: -15px;
   padding: 10px 20px 10px 20px;
}

.main-menu li:last-child {
   font-size: 1.5625rem;
   margin-right: 0;
}

.main-menu li.active,
.utility-menu li.active {
   background-color: var(--tintlightgrey);
   border-radius: 8px 8px 0 0;   
   /* -webkit-box-shadow: 2px 0px 3px 0px rgba(0,0,0,0.15); 
      box-shadow: 2px 0px 3px 0px rgba(0,0,0,0.15); */
}


.dropdown-panel {
   position: absolute;
   top: 114%;
   left: 0;
   width: 100%;
   display: none;
   background-color: var(--tintlightgrey);
   padding: 36px;
   flex-wrap: wrap;
   z-index: 1000;
   border-radius: 8px;
   /* -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.25); 
   box-shadow: 0px 7px 5px 0px rgba(0,0,0,0.25); */
   
}

.dropdown-panel.no-top-right {
  border-top-right-radius: 0px!important;  
  /* box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25); */
}


.dropdown-panel.single-level {
   width: auto;
   min-width: 200px;
   max-width: 600px;
}

.right-panel {
   flex: none;
   width: auto;
}

.panel {
   flex: 1;
   min-width: 200px;
}

.panel ul {
   list-style: none;
   padding: 0;
}

.panel li {
   padding: 8px;
   cursor: pointer;
   font-size: 1.125rem;
   color: var(--darkblue);
   line-height: 1.875rem;
   
}

.panel li.active {
   text-decoration: underline;
   text-decoration-thickness: 2px;
   text-underline-offset: 2px;
   text-decoration-color: var(--purple);
}

.panel li.active::after {
   content: '\203A';
   font-family: "Manrope-Light", arial;
   font-weight: 300;
   font-size: 2rem;
   color: var(--purple);
   margin-left: 10px;
   padding-bottom: 4px;
   display: inline-block;
   text-decoration: none;
   vertical-align: middle; 
   line-height: 0;
}

.left-panel li {
   font-family: "Manrope-Bold", arial;
   font-weight: bold;
}

.right-panel li:hover {
   text-decoration: underline;
   text-decoration-thickness: 2px;
   text-underline-offset: 2px;
   text-decoration-color: var(--purple);
}

@media (max-width: 768px) {
   .dropdown-panel {
      flex-direction: column;
  }

  .main-menu ul,
  .utility-menu ul {
      flex-direction: column;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--purple);
    cursor: pointer;
    margin-left: auto;
  }

  .main-menu ul {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
  }

  .main-menu ul.active {
    display: flex;
  }
}

/***** Footer *****/

footer {
   background-color: var(--darkblue);
   border-radius: 8px 8px 0 0;
   font-size: 0.875rem; 
   line-height: 1.375rem
}

.footer-links {
   display: flex;
   justify-content: space-between;
   padding: 36px;
   color: var(--white);
   flex-wrap: wrap;
   column-gap: 36px;
}

@media (max-width: 768px) {
   .footer-links {
      padding-bottom: 0;
   }
}

.footer-links div {
   display: flex;
   flex-direction: column;
   flex: 0 0 calc(20% - 28.8px);
}

@media (max-width: 768px) {
   .footer-links div {
      flex: 0 0 calc(50% - 18px);
   }
}

@media (max-width: 768px) {
   .footer-logo {
      order: 7;
   }
   .footer-contact {
      align-items: flex-end;
      flex-direction: unset!important;
      padding-bottom: 3.125rem;
   }
}

.footer-links img {
   width: 100%;
   max-width: 206px;
   margin-top: -5rem;
   object-fit: contain;
   flex: 1;
}

@media (max-width: 768px) {
   .footer-links img {
      margin-top: 0rem!important;
      margin-bottom: 36px;
   }
}

.footer-links ul {
   margin-bottom: 36px;
}

.footer-links li:first-of-type {
   font-weight: bold;
   letter-spacing: 0.075rem;
}

.footer-links a, .footer-links a:visited {
   color: var(--white);
}

.footer-links a:hover {
   text-decoration: underline;
   text-decoration-color: var(--purple);   
}

.footer-links a:active {
   color: var(--purple);
}

.footer-addresses p {
   margin-bottom: 36px;
   color: var(--white);
   font-size: 0.875rem; 
}

.footer-addresses p::first-line {
   font-weight: bold;
   letter-spacing: 0.075rem;
}

.footer-social-media {
   flex-direction: column;
   justify-content: flex-end;
}

.footer-social-media p {
   color: var(--white);
}

@media (max-width: 768px) {
   .footer-social-media {
      order: 8;
      margin-top: -5.36rem;
   }
}

.footer-social-media ul {
   display: flex;
   flex-direction: row;
   column-gap: 8px;
   /* align-items: center; */
   margin-bottom: 0;
   /* height: 30px; */
   align-content: flex-end;
}

@media (max-width: 768px) {
   .footer-social-media ul {
      margin-bottom: 36px;
   }
}

.footer-social-media li:first-of-type {
   font-weight: normal;
}

.footer-social-media a, .footer-social-media a:visited {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 30px;
   height: 30px;
   color: var(--darkblue);
   background-color: var(--white);
   border-radius: 4px;
   border-color: var(--white);
   border-style: solid;
   border-width: 1px;
}

.footer-social-media a:hover {
   color: var(--white);
   background-color: var(--darkblue);
   text-decoration: none;
}

.footer-social-media a:active {
   color: var(--white);
   background-color: var(--purple);
   border-color: var(--purple);
}

.footer-button, .footer-button:visited {
   display: inline-block;
   background-color: var(--purple);
   padding: 0.25rem 0.4rem;
   border: 1px solid var(--purple);
   border-radius: 4px;
   transition: background-color 0.8s ease, border-color 0.8s ease;
}

.footer-button:hover {
   background-color: var(--darkblue);
   border-color: var(--white);
   text-decoration: none!important;
}

.footer-button:active {
   color: var(--darkblue)!important;
   background-color: var(--white);
}


.footer-disclaimers {
   background-color: var(--brightgrey);
   padding: 18px 36px;
   color: var(--darkblue);
}

.footer-disclaimers p {
   color: var(--darkblue);
   margin-bottom: 0;
   font-size: 0.875rem; 
}

.footer-disclaimers ul {
  display: flex;
  flex-wrap: wrap;
}

.footer-disclaimers li {
  position: relative;
  padding-right: 12px;
  margin-right: 12px;
}

.footer-disclaimers li:first-of-type {
   padding-left: 0;
}

.footer-disclaimers li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: var(--darkblue); 
}

.footer-disclaimers a, .footer-disclaimers a:visited {
   color: var(--darkblue);
}

.footer-disclaimers a:hover {
   text-decoration: underline;
   text-decoration-color: var(--purple);
}

.footer-disclaimers a:active {
   color: var(--purple);
}



/* .footer-links {
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   justify-items: start;
   padding: 36px;
   color: var(--white);;
   column-gap: 36px;      
}

@media (max-width: 768px) {
   .footer-links {
      grid-template-columns: repeat(2, 1fr);
      row-gap: 36px;
   }
}

.footer-links:last-child {
   display: none;
}

.footer-links li:first-of-type {
   font-weight: bold;
}

.footer-links a, .footer-links a:visited {
   color: var(--white);
}

.footer-links a:hover {
   text-decoration: underline;
   text-decoration-color: var(--purple);   
}

.footer-links a:active {
   color: var(--purple);
}

.footer-links div {
   display: grid;
}

.footer-links img {
   width: 100%;
   max-width: 206px;
   margin-top: 4rem;
}

.footer-social-media {
   align-self: end;
}

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

@media (max-width: 768px) {
   .fsm-mobile {
      display: grid!important;
   }
   .fsm-desktop {
      display: none!important;
   }
   .footer-links div:nth-of-type(5) {
      align-content: end;
   }
   .footer-links img {
      margin-top: 0;
   }
} */

/* @media (max-width: 768px) {
   .footer-img-mobile {
      display: block;
   }
   .footer-img-desktop {
      display: none;
   }
} */

/* .footer-img-mobile {
   display: none;
} */