/*
Theme Name: cafico
Author: Aalasa Fidler at afternoondublin.ie
Version: 1.0
*/
@font-face {
  font-family: 'Fira';
  src: url('/wp-content/themes/cafico/assets/fonts/FiraSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira';
  src: url('/wp-content/themes/cafico/assets/fonts/FiraSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira';
  src: url('/wp-content/themes/cafico/assets/fonts/FiraSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


body {
  margin: 0;
  font-family: "Fira", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  background-color: #202039;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*{box-sizing:border-box; margin: 0; padding: 0;}

a {color: #111;}
a:hover{color: #286499;}

p {font-size: 18px; margin-bottom: 10px;}

h1{font-size: 50px;}
h2{font-weight: 800; font-size: 30px; line-height: 1.25;}

table {margin-bottom: 25px; width: 100%;}
thead {background: #187fc3; color: white;}
td {font-size: 16px; padding: 10px;}

.uni-olive{color: #c1ad1c!important;}

.uni-container{margin: 0 auto; max-width: 80%; padding: 20px 0;}
@media (max-width: 868px) {
  .uni-container{max-width: 90%;}
}

/* On desktop, gap 50px; on mobile, gap 25px */
.gap-50-25{gap: 50px;}
@media (max-width: 868px) {
  .gap-50-25{gap: 25px;}
}

.uni-spacer-15{height: 15px;}
.uni-spacer-30{height: 30px;}
.uni-spacer-40{width: 100%; height: 40px;}
.uni-spacer-50{width: 100%; height: 50px;}

.row, .uni-row, .uni-flex-row {display: flex; flex-direction: row;}
.column, .uni-column {display: flex; flex-direction: column;}
@media (max-width: 868px) {
  .uni-flex-row{flex-direction: column;}
}

.align-items-center, .uni-align-items-center{align-items: center;}

.uni-btn {padding: 16px 40px; font-size: 20px; border: 0px; font-weight: 800; transition: all 0.5s; text-decoration: none!important; display: block; width: fit-content;}

.uni-btn-olive{background: #c1ad1c; color: white!important; cursor: pointer;}
.uni-btn-olive:hover{background: #5b520cff;}

.uni-btn-blue{background: #3cadd1; color: white!important; cursor: pointer;}
.uni-btn-blue:hover{background: #1a4b5aff;}

.uni-desktop-only{display: flex!important;}
.uni-mobile-only{display: none!important;}

@media (max-width: 868px) {
  .uni-desktop-only{display: none!important;}
  .uni-mobile-only{display: flex!important;}
}



ul ul {
  margin: 0 0 0 15px !important;
}

ul, ol {margin: 0px 15px 20px; line-height: 2.15;}

ul li::marker {
	color: #c1ad1c;
}

.floating-tricolor {
  position: absolute;
  top: 50px;
  left: 0px;
  transform: translate(-50%, 0px);
  max-width: 35px;
}

/* Page heading/Navigation bar */
.nav-icon {
    margin-left: 8px;
    font-size: 12px;
    transition: transform .2s ease;
    display: inline-block;
    color: #fff;
    transform: rotate(90deg);
  }

  .site-header {
    background: #202039;
    padding: 15px 0px;
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom: 1px solid #ffffff6b;
  }

  .site-header img {width: 175px; height: auto;}
  @media (max-width: 868px) {
    .site-header img {width: 150px;}
  }

  .header-inner {
    max-width: 1250px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 0px;
  }

  @media (max-width: 868px) {
    .header-inner {
      padding: 20px;
    }
  }

  /* Logo */
  .logo img { display:block; }

  /* ===== NAV ===== */

  .main-nav{font-size: 16px;}
  @media (max-width: 868px) {
    .main-nav{padding-top: 0px;}
  }

  .main-nav ul {
    list-style:none;
    margin:0;
    padding:0;
  }

  /* The actual list items. */
  .menu {
    display:flex;
    gap:32px;
    align-items:center;
  }

  .menu > li {
    position:relative;
    padding-top: 12px;
    padding-bottom: 12px; /* bridges the hover gap */
  }

  @media (max-width:868px) {
    .menu > li {
      padding-top: 0px;
      padding-bottom: 0px; /* bridges the hover gap */
    }
  }

  .menu a {
    color:#fff;
    text-decoration:none;
    font-weight:500;
    padding:12px 0;
    display:block;
  }

  .menu a:hover{color: #c1ad1c;}

  /* Desktop dropdown */
  .submenu {
    position: absolute;
    top: 72px;
    left: -70px;
    background: #fff;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 260px;
    transform: translateY(6px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .services-submenu {width: 320px;}

  .submenu a {padding:10px 16px; color: black} 
  .services-submenu a {padding: 7px 16px;}

  .submenu a:hover {
    background:#f2f2f2;
  }

  /* Hover opens dropdown (desktop only) */
  .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Mobile menu */
  .menu-toggle{padding: 15px 0px 15px 20px; border: none; background: none; position: relative; cursor: pointer;}

  .mobile-nav {
    position: absolute;
    background: #202039f2; /* semi-transparent */
    width: 100%;
    left: -100vw;
    transition: left 0.3s ease;
  }

  .mobile-nav ul ul {
    margin: 0!important;
  }

  .mobile-nav.open {
    left: 0;
  }

  .mobile-menu{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0px;
    width: 100%;
  }

  .mobile-menu li {
    border: none;
    border-top: 1px solid #ffffff6b;
  }

  .mobile-menu li:last-child {
    border-bottom: 1px solid #ffffff6b;
  }


  .mobile-menu li a {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    text-decoration: none;
    color: white;
    padding: 5px 20px;
  }

  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background:#232c49;
    display: flex;
    flex-direction: column;
    padding: 0px;
    transition: max-height 0.3s ease;
  }

  .mobile-submenu.open {
    max-height: 500px; /* large enough for your content */
  }

  /* Burger */
  .menu-toggle {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .burger {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff; /* change colour as needed */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* OPEN STATE */
  .menu-toggle.is-open .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open .burger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

/* Pagination */

.pagination ul.page-numbers {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
  font-size: 16px;
  justify-content: center;
}

.pagination li {
	display: inline-flex;
}

.pagination a, .pagination span {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 800;
  font-size: 17px;
	transition: all 0.2s ease;
}

.pagination a:hover {
	background: #e0e0e0;
}

/* ACTIVE PAGE */
.pagination .current {
	background: #202039;
	color: #fff;
	cursor: default;
}

/* end pagination */

.search-label {
    position: relative;
    display: block;
}

.search-label input {
  width: 130px;
  padding: 7px 44px 8px 14px;
  font-size: 14px;
  color: white;
  background: transparent;
  border: 1px solid #ffffff4d;
  border-radius: 5px;
}

.search-label button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
}

.search-label button:hover {
    opacity: 1;
}

.search-icon {
    color: #ffffffba;
}

.search-label input:focus + .search-icon,
.search-icon:hover {
    color: white;
}

blockquote {
  position: relative;
  margin: 3rem 0;
  padding-left: 3.5rem;
}

blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  font-family: serif;
}

blockquote p {
  font-size: 22px;
  margin: 0;
}

/* SINGLE SECTORS ONLY (max 4 people) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.single-sector-block h1{font-weight: 900;}
.single-sector-block h2, .single-sector-block h3, .single-sector-block h4, .single-sector-block h5, .single-sector-block h6 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 15px;}

/* Sectors - Solutions block */
.single-sector-block #solutions {gap: 5%;}
.single-sector-block #solutions .text {width: 50%; padding: 25px 0 0 0;}
.single-sector-block #solutions .text p {margin-bottom: 30px;}
.single-sector-block #solutions .text img {width: 100%;}

@media (max-width: 868px) {
  .single-sector-block #solutions .text {width: 100%;}
}

.single-sector-block {background: white; color: black;}
.single-sector-block p {margin-bottom: 20px;}
.single-sector-block .sector-hero {background: #202039;}

.single-sector-block h1 {color: white;}
@media (max-width: 868px) {
    .single-sector-block h1 {line-height: 1;}
}

.single-sector-block .contents{padding: 50px 0;}

.single-sector-block .dark_blue_background_section {background-color: #202039; background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp'); color: white; padding: 75px 0;}

.single-sector-block .section-img-on-left,
.single-sector-block .section-img-on-right {
  gap: 50px; align-items: center;
}

.single-sector-block .left-section{width: 50%;}
.single-sector-block .left-section img, .single-sector-block .right-section img {display: block; width: 100%;}
.single-sector-block .right-section{width: 50%; margin-left: 75px;}

@media (max-width:868px) {
  .single-sector-block .left-section{width: 100%;}
  .single-sector-block .right-section{display: none;}
}

/* SINGLE SECTORS, SINGLE SERVICES, SUSTAINABILITY - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  Accordion 'What We Do' section
*/
    .accordion-grid {
        margin: 50px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    @media (max-width: 868px) {
        .accordion-grid {
            grid-template-columns: repeat(1, 1fr);
        }
    }
    .accordion-grid .tab {
        position: relative;
    }

    .accordion-grid .tab input {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }
    .accordion-grid .tab__content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.35s;
        background: #ecedf1;
        border-left: 5px solid #286399;
    }
    .accordion-grid.olive .tab__content {border-left: 5px solid #c1ad1c;}
    .accordion-grid .tab__content p {padding: 1rem 1rem 0 1rem; font-size: 16px;}
    .accordion-grid .tab input:checked ~ .tab__content {
      max-height: 2000px;
      padding-bottom: 20px;
    }

     .accordion-grid .tab input:checked + .tab__label {
      background: #ecedf1;
      color: black;
      border-left: 5px solid #286399;
    }

    .accordion-grid.olive .tab input:checked + .tab__label {
      background: #ecedf1;
      color: black;
      border-left: 5px solid #c1ad1c;
    }
    .accordion-grid.white .tab input:checked + .tab__label {
      background: #fff;
      color: black;
    }

    @media (max-width: 868px) {
        .accordion-grid .tab input:checked ~ .tab__content {
            max-height: fit-content;
        }
    }
    .accordion-grid .tab__label {
        display: flex;
        color: white;
        background: #286399;
        cursor: pointer;
        font-weight: 800;
    }
    .accordion-grid.olive .tab__label {
      background-color: #c1ad1c;
    }

    .accordion-grid.olive .tab__label{
      background: #c1ad1c;
    }
    @media (max-width: 868px) {
      .accordion-grid .tab__label {
        font-size: 16px; font-weight: 600;
      }
    }
    .accordion-grid .tab__label {
        justify-content: space-between;
        padding: 1rem;
    }
    .accordion-grid .tab__label::after {
        content: "+";
        width: 1em;
        height: 1em;
        text-align: center;
        transition: all 0.35s;
    }
    .accordion-grid .tab input:checked + .tab__label::after {
        transform: rotate(45deg);
    }
    /* Plus sign animation */
    .accordion-grid .tab input:not(:checked) + .tab__label:hover::after {
        animation: bounce 1s;
    }

  /* SIMPLE PAGE TEMPLATE  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - */
      .simple-page{background: white; color:#202039; padding: 50px 0;}
    .simple-page p {margin-bottom: 20px;}
    .simple-page p:has(+ h2), .simple-page p:has(+ h3), .simple-page p:has(+ h4), .simple-page p:has(+ h5), .simple-page ul:has(+ h5) {
        margin-bottom: 50px;
    }
    .simple-page h2, .simple-page h3, .simple-page h4, .simple-page h5, .simple-page h6 {font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 15px;}
    .simple-page ol {margin: 0px 15px 20px 20px;}
    .simple-page .underlined{text-decoration: underline;}

  /* Single Team Member page */
  .single-team-member-block p {line-height: 1.75; margin-bottom: 15px;}
  .single-team-member-block {background: white; color: black;}
  .single-team-member-block h1 {font-size: 40px; line-height: 1.15; font-weight: 800; margin-bottom: 10px;}
  .single-team-member-block h2, .single-team-member-block h3, .single-team-member-block h4, .single-team-member-block h5{
    font-weight: 700; font-size: 26px; line-height: 1.25; margin-bottom: 10px; margin-top: 50px;}
  .single-team-member-block h2 {font-size: 40px;}
  .single-team-member-block .banner {
    height: 450px; background: url('/wp-content/uploads/2026/02/OurTeam_Solo_1440x500.webp'); background-size: cover; background-position: center; display: flex; align-items: end;}
  .single-team-member-block .banner .content {color: white;  height: 400px; margin: 0 auto; display: flex; gap: 10px;}
  .single-team-member-block .banner .content a {color: white!important; text-decoration: none; margin-bottom: 10px;}
  .single-team-member-block .custom-hero-btn{width: fit-content; text-decoration: none; padding: 10px 30px; font-size: 18px;}
  @media (max-width: 868px) {
    .single-team-member-block .banner .content a {width: 100%;}
    .single-team-member-block .banner {height: 400px;}
    .single-team-member-block .banner .content {align-items: center; text-align: center;}
  }

  /* .actual-content section {margin-bottom: 50px;} */
  .single-team-member-block ul {margin: 0px 15px 20px; line-height: 2.15;}
	.single-team-member-block li::marker {color: #c1ad1c;}
  .single-team-member-block #education {
    background: #ecedf1;
    padding: 50px;
    position: relative;
    background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp');
    background-size: cover;
    background-position: center;
    margin-top: 50px;
  }

  .single-team-member-block #education ul {
    column-count: 2;
    column-gap: 2rem;
  }

  .single-team-member-block #education ul li {
    line-height: 1.5;
    break-inside: avoid;
    margin-bottom: 10px;
  }

  @media (max-width: 868px) {
    .single-team-member-block #education {padding: 40px;}
  }

  /* Single Services page  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  .single-service-block .hero {margin: 0 auto;}
  .single-service-block .hero .image{height: 560px; width: 100%; background-size: cover; aspect-ratio: 1/1;}
  .single-service-block .hero .text {margin-left: 75px; position: relative;}
  .single-service-block .hero .text .floating-tricolor{left: -75px;}
  .single-service-block .hero .text .text-container {max-width: 80%; padding-bottom: 50px; padding-top: 50px;}

  @media (max-width:868px) {
  .single-service-block .hero .text {margin-left: 0; padding: 0 25px;}
  .single-service-block .hero .text .text-container {max-width: 100%;}
  }

  .single-service-block .hero h1 {
    font-size: 3rem;
    line-height: 1;
    color: #fff;
    text-transform: none;
    margin-bottom: 15px;
  }

  .single-service-block .hero h2 {
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.25;
    color: #c1ad1c;
    margin-bottom: 15px;
  }
  
  .single-service-block .hero p {margin-bottom: 50px;}

  .single-service-block #your-trusted-partner{
    background: #202039; color: white;
    position: relative;
    background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp');
    background-size: cover;
    background-position: center;
    padding: 50px 75px;
    gap: 10%;
  }
  
  @media (max-width:868px) {
    .single-service-block #your-trusted-partner{padding: 25px 35px;}
  }
  .single-service-block #your-trusted-partner .quote{margin-top: 25px; font-weight: bold; font-style: italic; font-size: 1.25rem;}
  .single-service-block #your-trusted-partner div {flex:1;}
                                        
  /*  */
  .single-service-block .blockquote-quote {
  position: relative;
  background: #202039;
  color: white;
  padding: 50px;
  margin: 25px 0;
  }

  .single-service-block .blockquote-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 14rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  font-family: serif;
  pointer-events: none;
  }

  .single-service-block .blockquote-quote p {
  font-size: 1.75rem;
  margin: 0!important;
  position: relative;
  z-index: 1;
  }
  @media (max-width:868px) {
  .single-service-block .blockquote-quote{
    padding: 25px;
  }
  .single-service-block .blockquote-quote p {
    font-size: 24px;
  }
  }

  .single-service-block .why-choose-cafico-section{
  margin: 50px 0px; align-items: center;
  }

  .single-service-block a {text-decoration: underline; color: inherit;}
  .single-service-block h3, h4, h5 {margin-bottom: 15px; font-weight: 700; font-size: 30px; line-height: 1.25;}
  .single-service-block ul {margin: 20px; line-height: 2.15;}
  .single-service-block .dark_blue_background_section {background: #202039; color: white; margin: 30px 0; padding: 50px 0;}
  @media (max-width:868px) {
  .single-service-block ul {line-height: 1.7;}
  }
  .single-service-block li::marker {
  color: #c1ad1c;
  }

	/* Hmmm */
  .single-service-block #how-can-we-help {gap: 5%; padding: 75px 0 0;}

  .single-service-block #how-can-we-help h4 {font-size: 2rem;}
  .single-service-block #how-can-we-help .text {flex: 1.25; padding: 25px 0 0 0;}
  .single-service-block #how-can-we-help .text p {margin-bottom: 30px;}
  .single-service-block #how-can-we-help .text .box{
    color: white; display: flex; align-items: center; margin-bottom: 3%;
  }
  .single-service-block #how-can-we-help .text .box h5 {margin-bottom: 15px; font-weight: 700; font-size: 1.4rem; line-height: 1.5;}
  .single-service-block #how-can-we-help .text .box p {margin-bottom: 5px;}
  .single-service-block #how-can-we-help .text .box .icon-container{
    flex:1; aspect-ratio: 1 / 1; margin: 0 2%; display: flex; justify-content: center; align-items: center;
  }
  .single-service-block #how-can-we-help .text .box .icon-container img {width: 85px;}
  .single-service-block #how-can-we-help .text .box .text-container{
    flex: 3; padding: 5% 5% 2% 0;
  }
  /*  */

	.single-service-block .breadcrumb {display: flex; gap: 7px; margin-bottom: 25px;}
	.single-service-block .breadcrumb a {text-decoration: none; color: #777;}
	.single-service-block .banner{height: 300px; width: 100%;}
	.single-service-block .actual-content{
    padding: 50px 0 0 0; background: white; color: black;}

	.single-service-block .section-img-on-left, .single-service-block .section-img-on-right {gap: 50px; align-items: center;}

    .single-service-block .accordion-body {
  display: none;
    }
    .single-service-block .accordion-body.open {
    display: block;
    }

/* SERVICES -> BLUE ACCORDIONS */
#what-we-do{gap: 5%;
  padding: 25px 0 0px 0;
  background: #ecedf1;
  margin-top: 50px;
}

/* Main Team and Sustainability pages (they share styling) */
.our-team-page .banner, .sustainability-page .banner{height: 360px;}
.our-team-page .our-team, .sustainability-page .our-team{
  background: #ecedf1; color: black; display: flex; padding:25px 0 50px 0px;
}
  
.sustainability-page .about-us-block h2, .about-us-block h3 {
margin-bottom: 25px;
font-weight: 700;
font-size: 26px;
line-height: 1.25;
}

.sustainability-page .about-us-block h4 {
margin-bottom: 15px;
font-weight: 700;
font-size: 18px;
line-height: 1.5;
}

  /* For use in 'news' CPT and 'article' CPT - - - - - - - - - - - - - - - - - - - - - - */
  .single-insight-block .accordion-grid{margin: 50px 0 0 0;}
    .single-insight-block .accordion-grid.white .tab input:checked + .tab__label {
        background: #0c3459;
        color: white;
    }
    /* Only applies to Articles */
    .single-insight-block .how-can-we-help-section{
        background: #ecedf1;
        padding: 15px 50px 35px 50px;
        margin: 50px 0;
    }

    .single-insight-block .tab ul, .single-insight-block .tab ol {
        margin: 15px 15px 20px 30px;
        font-size: 16px;
        line-height: 1.5;
    }
    
    .single-insight-block .actual-content{
    background: white;
    color: black;
    padding-bottom: 50px;}

  .single-insight-block .start-article-contents{gap: 50px;}

  .single-insight-block #read-more-button{
    border: 0;
    padding: 12px;
    width: 100%;
    background: #202039;
    color: white;
    font-weight: 900;
    font-size: 16px;
    margin: 30px 0;
    cursor: pointer;}

  .single-insight-block .breadcrumb, .single-insight-block .breadcrumb a {
    padding-top: 25px;
    padding-bottom: 25px;}

  .single-insight-block .breadcrumb a {
    color: #5b5b5b;
    text-decoration: none;
  }

  .single-insight-block .text-contents {
    flex: 2;
  }

  .single-insight-block h2, .single-insight-block h3, .single-insight-block .text-contents h4, .single-insight-block h5, .single-insight-block h6 {
    margin: 25px 0 15px 0;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.25;}

  .single-insight-block p:has(img) {
    text-align: center;
    padding: 15px 0;}

  .single-insight-block ol {line-height: 1.5!important;}
  .single-insight-block ol li {margin-bottom: 10px;}

  /* Single locations page  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  .contact-location-page .hero-section {width: 75%; padding: 100px 0 50px 200px; height: fit-content;}
  @media (max-width: 868px) {
    .contact-location-page .hero-section {
      width: unset;
      padding: 20px;
    }
  }
    .contact-location-page .info-box{ background: #ffffffed; color: black; padding: 0px 50px 0 40px; margin-bottom: 3%; display: flex; font-size: 40px;}
    .contact-location-page .location-address{margin-bottom: 0px; max-width: 420px;}
    .contact-location-page .contact-copy{width: 55%; align-items: start; justify-content: center;}
    .contact-location-page .contact-person{width: 45%;}
    .contact-location-page .contact-person img{width: 100%; display: block;}
    .contact-location-page .buttons-box a {margin-bottom: 2%; text-align: center; width: 500px;}

    /* Search results page  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    .search-results-main{background: white; color: black; padding: 50px 0;}
    .search-results h1{font-size: 30px !important;}
    .search-results ul{margin: 20px; line-height: 1.75;}
    
    /* INSIGHT CARDS ACROSS THE WHOLE SITE */
    .insight-card {
      overflow: hidden;
      transform: translateY(12px);
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      position: relative;
    }
    .insight-card .post-type-pill{
      position: absolute;
      top: 8px;
      right: 8px;
      background: #ffffffb8;
      padding: 3px 7px;
      border-radius: 3px;
      font-size: 12px;
      text-transform: capitalize;
      letter-spacing: 0.0rem;
    }
    .insight-card:hover{transform: translateY(0);}
    .insight-card:hover .content {background: #202039;}
    .insight-card:hover .content .date {color: #c1ad1c;}
    .insight-card:hover .content .title {color: #fff;}

    .insight-card a {text-decoration: none;}

    .insight-card .content{
      padding: 20px 30px 30px 30px; border-bottom: 1px solid #202039; border-left: 1px solid #202039;
    }
    
    .insight-card .content .title {
      height: 75px;
      font-weight: 800;
      color: #202039;
      font-size: 20px;
    }
    @media (max-width: 1350px) {
      .insight-card .content .title {
        height: 100px;
        font-size: 18px;
      }
    }
    @media (max-width: 868px) {
      .insight-card .content .title {
        height: unset;
      }
    }

    .insight-card .content::after {
        content: "";
        position: absolute;
        right: -1px;
        bottom: 0;
        width: 2px;
        height: 100px;
        background: #202039;
    }

    .insight-card .image {
        width: 100%;
        height: 220px;
        background-size: cover;
        background-position: center;
    }

    @media (max-width: 868px) {
      .insight-card{border: 1px solid #202039;}
      .insight-card .content{flex:2; border: 0px;}
      .insight-card .content::after {width: 0;}
      .insight-card .image {width: 100px;}
    }

    /* INSIGHTS PAGE */
    .insights-page .hero{background:url('/wp-content/uploads/2026/01/InsightsImage_1140x630px2.webp'); height: 360px; background-size: cover; background-position: center;}
    .insights-page .insights-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 50px;
    }

    /* HOMEPAGE */
    .homepage-block .home-hero {min-height: 700px;
      display: flex;
      align-items: flex-end;
      background-image: url('/wp-content/themes/cafico/assets/images/design/homepage-banner-v4.webp');
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
    }
    .homepage-block .hero-content h3 a{color: white; text-decoration: none;}
    .homepage-block .home-hero .container{text-align: center;
		color: white;
		max-width: 900px; /* TODO: Needs to be scaled*/
		margin: 0 auto;
		bottom: 50px;
		position: relative;
	}

	.homepage-block .home-hero h1 {font-size: 50px; margin-bottom: 20px;}
	.homepage-block .home-hero h2 {font-weight: 700; line-height: 1.25; font-size: 26px;}
	.homepage-block .home-hero h3 {margin: 30px 0px; font-size: 24px;}

	.homepage-block .hero-buttons{ margin-top: 30px; gap: 20px; justify-content: center;}
	.hero-buttons a {text-decoration: none;}

	@media (max-width: 868px) {
		.homepage-block .home-hero .container{max-width: 80%;}
		.homepage-block .home-hero h1 {font-size: 45px; line-height: 1.25;}
		.homepage-block .home-hero h2 {font-size: 20px;}
		.homepage-block .home-hero h3 {font-size: 18px;}
		.homepage-block .uni-btn {padding: 12px 30px; font-size: 20px; width: 100%; text-align: center;}
	}

    .homepage-block .insights-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 50px;
    }
    @media (max-width: 868px) {
    .homepage-block .insights-grid{grid-template-columns: repeat(1, 1fr);}
  }

    .homepage-block .homepage-insights-section{background: white; padding: 50px 0; color: #202039;}

/* Sector Specialisms on Homepage */
    #homepage-sector-specialisms {background: white; color: black; padding: 50px 0px; background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp'); background-size: cover;}
    #homepage-sector-specialisms h2 {
      color: #202039; margin-bottom: 35px;
    }

    #homepage-sector-specialisms .sectors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, auto);
    gap: 1rem; /* adjust as needed */
    margin: 30px 0px;
    }

    /* Mobile */
    @media (max-width: 868px) {
        #homepage-sector-specialisms .sectors-grid {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, auto);
        }
    }

    #homepage-sector-specialisms .sector-item{background: #3cadd1;
        align-items: center;
        transform: translateY(12px);
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        text-decoration: none;
    }

    #homepage-sector-specialisms .sector-item .sector-title{
      display: flex;
      height: 126px; text-align: center; align-items: center; font-size: 22px;
      color: white; font-weight: 800; padding: 20px 10px; line-height: 1.25;        
    }

    #homepage-sector-specialisms .sector-item:hover{
        transform: translateY(0);
    }

    #homepage-sector-specialisms .sector-title{font-size: 22px;
        color: white;
        font-weight: 800;
        line-height: 1.25;}
            
        /* Why Us */
        #homepage-why-us{padding: 50px 0px;}
    #homepage-why-us{color: white;}
    #homepage-why-us .uni-flex-row{gap: 75px; align-items: center;}
    #homepage-why-us .uni-flex-row > div {flex:1;}
    #homepage-why-us .copy{font-size: 22px; font-weight: 800; margin-bottom: 50px;}
    
    @media (max-width: 868px) {
        #homepage-why-us .copy{
            font-size: 20px;
            font-weight: 700;
        }
    }

    /* Services on Homepage */
     #homepage-services {text-align: center;}
    #homepage-services .uni-container{align-items: center; padding: 50px 0;}

    #homepage-services .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem; /* adjust as needed */
        margin: 30px 0px; max-width: 1000px;
    }

    #homepage-services a.service-item{text-decoration: none;}
    #homepage-services .service-item{background: white;
        align-items: center;
        padding: 50px 20px;
        gap: 10px;
        transform: translateY(12px);
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #homepage-services .service-item:hover{transform: translateY(0); }

    #homepage-services .service-title{font-size: 22px;
        color: #286399;
        font-weight: 800;
        line-height: 1.25;
    }

    @media (max-width: 868px) {
    #homepage-services .services-grid {
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 1fr;
        }

        #homepage-services .service-item {
            height: 100%;
            padding: 20px 10px;
        }

        #homepage-services .service-title {
            font-size: 18px;
        }
    }

    /* FILTERED INSIGHTS */
    .filtered-insights .hero{background:url('/wp-content/uploads/2026/01/InsightsImage_1140x630px2.webp'); height: 360px; background-size: cover; background-position: center;}
    
    .filtered-insights .insights-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 50px;
    }
	
    @media (max-width: 868px) {
      .insights-page .insights-grid, .filtered-insights .insights-grid{
        grid-template-columns: repeat(1, auto); grid-template-rows: repeat(2, auto);
      }
    }

    @media (max-width: 868px) {
      .insights-page .insight-card a {display: flex; gap: 10px;}
      .insights-page .insight-card__image { width: 150px; height: auto; flex: 1;}
      .insights-page .insight-card__content {padding: 10px; flex: 2;}
      .insights-page .insight-card p.date {font-size: 14px;}
      .insights-page .insight-card p.title {font-size: 18px;}
    }

    .archive-filters{display: flex;
      gap: 20px;
      margin: 50px 0 25px 0;
      justify-content: end;
      font-size: 18px;
      font-weight: 700;
    }
    .archive-filters a {text-decoration: none; color: #777;}
    .insights-page a.is-active, .filtered-insights a.is-active {color: #202039;}

    /* ABOUT US page */
    .about-us-block {
		background: white;
		color: black;
	}

	.uni-btn {width: fit-content;}

	.about-us-block .hero-section {padding: 0px 100px; background: #ffffffed; align-items: center; justify-content: center;}
	@media (max-width: 768px) {
		.about-us-block .hero-section {padding: 20px;}
	}
	.about-us-block .col-left{align-items: center; justify-content; center; flex:1; padding: 50px;}
	.about-us-block .col-left img {width: 100%;}
	.about-us-block .col-right{flex:1; padding: 50px;}
	@media (max-width: 768px) {
		.about-us-block .col-right{padding: 0px;}
	}


  .about-us-our-clients{background: white; color: black; display: flex; justify-content: center;}
.about-us-our-clients h2{margin-bottom: 10px;
  font-size: 2.5rem;
  line-height: 1.5;}
.about-us-our-clients .contents{
    background: #202039; color: white;
    position: relative;
    margin: 75px 0; padding: 50px 75px 75px 75px;
    background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp');
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .about-us-our-clients .contents{padding: 50px 20px;}
}

/* About Us - Our Promise */
	.about-us-block .our-promise-bg {
		position: relative;
		width: 100%;
		background: #3cadd1;
		overflow: hidden;
	}

	.about-us-block .our-promise-cutout {
		position: absolute;
		top: 150px;
		left: 0;
		width: 80%;
		height: 100%;
		background: #202039;
	}

	.about-us-block .our-promise-content{width: 80%;
		margin: 75px auto;
		background: white;
		position: relative;
		padding: 50px;
	}

	.about-us-block h2 {
		margin-bottom: 25px;
		font-weight: 700;
		font-size: 26px;
		line-height: 1.25;
	}

	.about-us-block h3 {
		margin-bottom: 15px;
		font-weight: 700;
		font-size: 2.5rem;
		line-height: 1.5;
	}

	/* Our Promise grid */
	.about-us-block .our-promise-grid .uni-desktop-only {display: grid!important;}

	.about-us-block .our-promise-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, auto);
		gap: 1rem; /* adjust as needed */
    }

	.about-us-block ul {margin: 20px; line-height: 1.5;}
	.about-us-block ul li {margin-bottom: 15px;}

	@media (max-width: 868px) {
		.about-us-block .our-promise-content{padding: 20px; width: 90%;}
	}

	/* Mobile */
	.about-us-block .our-promise-mobile-list h4{
		font-weight: 800;
		margin-top: 15px;
	}

  /* Careers page */
  .careers-page {background: white; color:#202039; padding-bottom: 75px;}
	.careers-page .hero{height: 360px; width: 100%; background-size: cover;}
	.careers-page p {margin-bottom: 20px;}
  .careers-page .ticker{background: #202039;}
	.careers-page h1{color: #fff;}
	.careers-page h2, h3, h4, h5, h6 {font-weight: 800; font-size: 30px; line-height: 1.25; margin-bottom: 15px;}
	.careers-page .quote {font-weight: bold; font-style: italic; text-align: center; padding: 25px 0;}
	.careers-page .left-section, .careers-page .right-section{width: 50%;}
	.careers-page .accent-image {display: block; background-size: cover; width: 100%; height: 100%; aspect-ratio: 1; background-position: center;}
	.careers-page #our-culture{background: #202039; color: white; padding: 75px 0;}
	.careers-page .talk-to-us{padding: 50px 75px; background-color: #3cadd1; color: white; background-image: url('/wp-content/uploads/2026/01/OurClients_BCKG_1240x448px.webp'); background-size: contain;}

	.careers-page ul {
      column-count: 2;
      column-gap: 2rem;
    }

    .careers-page ul li {
      line-height: 1.5;
      break-inside: avoid;
      margin-bottom: 10px;
    }
	
	@media screen and (max-width: 800px) {
		.careers-page h1 {margin-bottom: 20px;}

		.careers-page .left-section { padding: 0 20px 20px;}
		.careers-page .right-section {width: 100%;}
		.careers-page .right-top-section, .careers-page .right-bottom-section {padding: 20px;}
	}


  /* CONTACT PAGE */
  .contact-us-page {background: white; padding: 50px 0px;}
	.contact-us-page h1{color: #202039; margin-bottom: 50px;}

	.contact-us-page .left-section{padding: 0 50px 50px; border: 1px solid hsla(0,0%,40%,.25); color: #202039; box-shadow: 0 12px 34px -10px rgba(0,0,0,.1);}
	.contact-us-page .wpforms-head-container{display: none;}
	.contact-us-page .form-small {margin-bottom: 10px;}
	.contact-us-page .right-section{height: fit-content; width: 400px; border: 1px solid hsla(0,0%,40%,.25); color: #202039; box-shadow: 0 12px 34px -10px rgba(0,0,0,.1);}
	.contact-us-page .right-top-section{padding: 50px;}
	.contact-us-page .address{margin-bottom: 30px; font-size: 20px;}
	.contact-us-page .contact-route{font-weight: bold;}
	.contact-us-page .contact-route-link{font-weight: normal;}
	.contact-us-page .location-button{border-radius: 2px; border: none;   color: #fff;   cursor: pointer;   font-weight: 700;  font-size: 1.063rem; min-width: 200px;  padding: 14px 14px;   transition: all .2s;  text-decoration: none; background-color: #187fc3;  display: block;  text-align: center;}

	.contact-us-page .right-bottom-section{border-top: 1px solid hsla(0,0%,40%,.25); padding: 50px;}
	.contact-us-page .title-row{display:flex; flex-direction: row; gap: 20px; align-items: center; margin-bottom: 15px;}
	.contact-us-page .thumbnail {width: 70px; height: 70px; background: url('/wp-content/uploads/2026/01/transparent_Niamh.webp'); background-size: cover; border-radius: 50%; background-size: cover; border: 1px solid #191e478a; aspect-ratio: 1; background-position: center;}
	.contact-us-page .right-bottom-section h2{font-size: 18px;}
	.contact-us-page .right-bottom-section .role{font-size: 16px; font-style: italic; margin: 0;}
	.contact-us-page .right-bottom-section .email{font-weight: bold; font-size: 16px; margin-bottom: 15px;}
	.contact-us-page .right-bottom-section .number{font-weight: bold; font-size: 16px;}
	.contact-us-page .wpforms-submit {margin-bottom: 10px;}
	@media screen and (max-width: 800px) {
		.contact-us-page {padding: 20px 0px 50px;}
		.contact-us-page h1 {margin-bottom: 20px;}
		.contact-us-page .left-section { padding: 0 20px 20px;}
		.contact-us-page .right-section {width: 100%;}
		.contact-us-page .right-top-section, .contact-us-page .right-bottom-section {padding: 20px;}
	}

  /* DOCUSIGN PAGE */
  .docusign-block {
        background: #fff;
        text-align: center;
        padding: 100px 0;
        color: #1D1E32;
    }
    .docusign-block h2{font-size: 2.5rem; margin: 50px 0 10px 0;}
    .docusign-block .copy{display: flex; justify-content: center; align-items: center; gap: 50px; width: 900px; margin: 0 auto;}
    
    @media screen and (max-width: 800px) {
        .docusign-block h1{font-size: 40px;}
        .docusign-block h2 {font-size: 1.5rem; margin: 25px 0 10px 0;}
        .docusign-block {padding: 50px 20px;}
        .copy {width: 94%; flex-direction: column-reverse;}
    }

    /* SITEMAP */
    .sitemap-page {background: white;
  color: #202039;
  padding: 50px 0;}

.sitemap-page .accordion {
    color: #202039;
    cursor: pointer;
    padding: 22px;
    width: 100%;
    border: none;
    text-align: left;
    transition: 0.4s;
    outline: none;
    background: transparent;
    border-bottom: 1px solid #eee;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

.sitemap-page .accordion:after {
  content: '\002B';
  color: #202039;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.sitemap-page .active:after {
  content: "\2212";
}

.sitemap-page .panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sitemap-page .panel a {
    font-size: 16px;
    text-decoration: none;
    line-height: 2;
    padding: 14px 38px;
}

.sitemap-page .panel.open {
  padding: 18px 0;
}

.sitemap-page .single-link {padding: 22px; border-bottom: 1px solid #eee;}
.sitemap-page a {text-decoration: none;}

  /* FLIP CARDS USED ON 'ABOUT' AND 'SUSTAINABLITY' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

   .flip-grid {
        display: grid;
        gap: 1rem;
        /* max-width: 1100px; */
        margin: 0 auto;
        padding: 25px 0 0 0;
    }
    #our-promise .flip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #vision-and-values .flip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flip-card {
        width: 100%;
        perspective: 1000px;
        cursor: pointer;
    }
    #our-promise .flip-card {aspect-ratio: 3 / 2;}
    #vision-and-values .flip-card {aspect-ratio: 3 / 1;}

    .flip-card__inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 600ms ease;
        transform-style: preserve-3d;
        border-radius: 16px;
    }

    .flip-card.is-flipped .flip-card__inner {
        transform: rotateX(180deg); /* vertical flip */
    }

    .flip-card__face {
        position: absolute;
        inset: 0;
        display: flex;
        gap: 8px;
        padding: 18px;
        border: 1px solid #e3e3e3;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        align-items: center;
        justify-content: center;
    }
    #our-promise .flip-card__face {flex-direction: column;}
    #vision-and-values .flip-card__face {flex-direction: row;}

    .flip-card__face .flip-icon {
        position: absolute;
        width: 45px;
        height: 45px;
        right: 15px;
        top: 10px;
    }

    .flip-card__face h4 {
        text-align: center;
        font-size: 22px;
    }

    /* FRONT */
    #our-promise .flip-card__face--front {
        background: #c1ad1c;
        color: #fff;
    }
    #vision-and-values .flip-card__face--front {
        background: #3cadd1;
        color: #fff;
    }

    /* BACK */
    #our-promise .flip-card__face--back {
        background: #ecedf1;
        color: #111;
        transform: rotateX(180deg);
    }
    #vision-and-values .alt-bg {
        background: #286399;
        color: #fff;
    }
    #vision-and-values .flip-card__face--back {
        background: #ecedf1;
        color: #111;
        transform: rotateX(180deg);
    }

    /* TYPOGRAPHY */
    .flip-card__face h3 {margin: 0; font-size: 1.1rem;}
    .flip-card__face p {margin: 0; line-height: 1.4; opacity: 1; text-align: center;}

    /* RESPONSIVE */
    @media (max-width: 868px) {
      #our-promise .flip-grid, #vision-and-values .flip-grid {
        display: none;
      }
      #our-promise .mobile-h4, #vision-and-values .mobile-h4 {margin-bottom: 3px; font-weight: 700; font-size: 22px; line-height: 1.25;}
    }

  /* FOOTER  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  .uni-desktop-only{display: flex!important;}
  .uni-mobile-only{display: none!important;}

  @media (max-width: 868px) {
    .uni-desktop-only{display: none!important;}
    .uni-mobile-only{display: flex!important;}
  }
  footer {
    padding: 75px 0 100px 0;
    background: #202039;
    background-image: url('/wp-content/themes/cafico/assets/images/logo-50-pc-opacity.png');
    background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
    color: #fff;
  }

  footer .container {display: flex; flex-direction: column; max-width: 1250px; margin: 0 auto;}

  footer .container h4{font-size: 17px; margin: 0 0 10px 0;}

  #footer-links{display: flex; flex-direction: row; margin-bottom: 25px;}

  #footer-links img{max-width: 175px; margin-bottom: 15px;}
  #footer-link a img:hover {background: #3dadd1;}

  #footer-bottom p {font-size: 14px; margin: 15px 0;}
  #footer-bottom ul.horizontal-links{display: flex; flex-direction: row; gap: 15px; list-style: none; margin: 0; font-size: 14px;color: #ffffff4f;}
  #footer-bottom ul.horizontal-links li a {color: white; text-decoration: none;}

  @media (max-width:868px) {
    footer {padding: 50px 25px;}
    footer .container {gap:25px;}
    #footer-links {flex-direction: column;}
    #footer-bottom ul.horizontal-links{flex-direction: column;}
    #footer-links a{color: white;}
    .horizontal-links-2 {
      list-style: none;
      flex-direction: column;
      font-size: 14px;
      margin: 0;
    }
    .horizontal-links-2 a {color: white;}
  }

  /* =========================
   DESKTOP DROPDOWN FOOTER
========================= */

@media (min-width: 869px) {

  .footer-col {
    position: relative;
  }

  /* CARET */
  .footer-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* controls spacing between text + caret */
  cursor: pointer;
}

/* CARET */
.footer-heading::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

/* ROTATE ON HOVER */
.footer-col:hover .footer-heading::after {
  transform: rotate(225deg);
}

  /* DROPDOWN MENU */
  .footer-col ul {
    display: block; /* override mobile-only */
    position: absolute;
    top: 70%;
    left: 0;
    background: #286399;
    padding: 12px 15px;
    margin: 0px;
    list-style: none;
    min-width: 240px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 20;
  }

  /* SHOW ON HOVER */
  .footer-col:hover ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* LINK STYLING */
  .footer-col ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0;
    font-size: 14px;
  }

  .footer-col ul li a:hover {
    color: #c1ad1c;
  }
}

@media (min-width: 869px) {
  .footer-col .uni-mobile-only {
    display: block !important;
  }
}

/* New: The Team column - Used on Single Insights, Single Sectors  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.the-team-column{
  flex: 1;
  background: #ecedf1;
  padding: 25px 50px 50px;
  height: fit-content;}
.the-team-column h4{
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.25;
  font-size: 2rem;}
.the-team-column .container{
  gap: 10px;
  display: flex;
  flex-direction: column;}
.the-team-column .person{
  display: flex;
  flex-direction: row;
  text-decoration: none;
  align-items: center;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);}
.the-team-column .image-container{
  width: 45%;
  height: 100%;
}
.the-team-column .image-container img {
  width: 100%;
  position: relative;
  display: block;
  border-bottom: 5px solid #c1ad1c;}
.the-team-column .description{
  padding-left: 5%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 65%;}
.the-team-column h4.name {font-size: 22px!important;}
.the-team-column .name {
  color: #202039;
  margin: 15px 0 5px;
  font-weight: 800;
  line-height: 1.25;}
.the-team-column .role {
  font-size: 14px;
  font-style: italic;
  margin: 0 25px 0 0;}
.the-team-column .person:hover {
  transform: translateY(0);}
.the-team-column .person:hover .name {
  color: #286399;}
.the-team-column .view-all-btn{
  width: 100%;
  background: #202039; color: white; display: block;
  text-align: center;
  margin: 10% 0 0 0;
}
@media (max-width: 869px) {
  .the-team-column{padding: 25px 25px 50px}
}

/* New: Our Team grid, used on Team, About, and single Sectors - - - - - - - - - */
.our-team-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
}
.our-team-grid .item {
  text-align: center;
  text-decoration: none;
  transform: translateY(12px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 25px;
  margin-bottom: 10px;
  margin-right: 25px;
  height: fit-content;
}
.our-team-grid .item .description {padding-bottom: 15px;}
.our-team-grid .item .name {
  color: #202039;
  margin: 15px 0 5px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}
  /* Hover effects */
.our-team-grid .item:hover{transform: translateY(0);}
.our-team-grid .item:hover .description{background: #286399; color: white!important; }
.our-team-grid .item:hover .name {color: #ffffff;}

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