/*
Theme Name: ABG Rubber & Plastics 
Theme URI: https://www.altagency.co.uk/
Author: ALT Agency
Author URI: https://www.altagency.co.uk/
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abgrp
Tags: 
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/


:root {
  --sky-blue: #0880c4;
  --white: #ffffff;
  --dark-midnight-blue: #092441;
  --bg-gray: rgba(243, 243, 245, 1);
  --text: rgba(86, 89, 92, 1);
  --blue-light: #38B2E4;
  --blue-accent: #1F87C8;
  --eco-green: rgba(141, 198, 60, 1);
  --eco-green-dark: rgba(141, 198, 60, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ==========================================================================
   Fluid Typography — clamp() scale
   --------------------------------------------------------------------------
   Font           : Lato
   Design baseline: 1366px  (Figma sizes match EXACTLY here)
   Scale-up ceiling: 1920px   ·   Scale-down floor: ~320–375px
   Method: preferred value is a linear vw+rem line anchored through the
           1366px design size and the 1920px max, so the Figma value is hit
           precisely at 1366px. No media queries needed for sizing.
   Weights: h1 = bold (700)  ·  everything else = regular (400)
   Reference: 1rem = 16px
   ========================================================================== */

:root {

  /* --- Font family ------------------------------------------------------ */
  --ff-base: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- H1 ---------------------------------------------------------------
     min 34px (≤375) · pref → 54px @1366 · 64px @1920 · max 64px          */
  --fs-h1: clamp(2.125rem, 1.6699rem + 1.9417vw, 4rem);

  /* --- H2 ---------------------------------------------------------------
     min 18px (≤375) · pref → 22px @1366 · 26px @1920 · max 26px          */
  --fs-h2: clamp(1.125rem, 0.7586rem + 0.722vw, 1.625rem);

  /* --- H3 ---------------------------------------------------------------
     min 22px (≤375) · pref → 30px @1366 · 36px @1920 · max 36px          */
  --fs-h3: clamp(1.375rem, 1.1858rem + 0.8073vw, 2.25rem);

  /* --- Body (p) ---------------------------------------------------------
     min 14px (≤375) · pref → 14px @1366 · 16px @1920 · max 16px          */
  --fs-p: clamp(0.875rem, 0.5668rem + 0.361vw, 1rem);

  /* --- Small (p-small) --------------------------------------------------
     min 12px (≤375) · pref → 12px @1366 · 13px @1920 · max 13px          */
  --fs-p-small: clamp(0.75rem, 0.5959rem + 0.1805vw, 0.8125rem);

  /* --- Line heights ("Auto" ≈ 1.2) ------------------------------------- */
  --lh-h1: 1.15;
  /* 54/Auto · 46/52 mobile */
  --lh-h2: 1.2;
  /* 22/Auto */
  --lh-h3: 1.2;
  /* 30/Auto */
  --lh-p: 1.43;
  /* 14/20 */
  --lh-p-small: 1.17;
  /* 12/14 */

  /* --- Font weights ----------------------------------------------------- */
  --fw-bold: 700;
  /* h1 */
  --fw-regular: 400;
  /* everything else */
}


/* ==========================================================================
   Applied styles
   ========================================================================== */

body {
  font-family: var(--ff-base);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
  color: var(--text);
}

section {
  padding: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem) 0;
}

h1,
.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: var(--fw-bold);
  /* bold */
}

h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
}

h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
}

p,
.p {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
}

small,
.p-small {
  font-size: var(--fs-p-small);
  line-height: var(--lh-p-small);
  font-weight: var(--fw-regular);
}


/* ==========================================================================
   Optional: tighter mobile line-heights for large display type
   (Figma "h1 mobile" = 46/52 ≈ 1.13 — the clamp already handles size;
    this only nudges leading on small screens. Remove if not needed.)
   ========================================================================== */
@media (max-width: 480px) {

  h1,
  .h1 {
    line-height: 1.13;
  }
}



@media (min-width: 1366px) {
  .section-welcome-cards.section-service-cards .welcome-cards-grid {
    --card-row-h: 340px;
  }
}


@media (min-width: 1200px) {
  .container {
    max-width: 1044px;
  }
}

@media (min-width: 1367px) {
  body {
    font-size: 16px;
  }

  .container {
    max-width: 1320px;
  }
}



h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

/* Common css start */

img {
  max-width: 100%;
}

.white-color {
  color: var(--white) !important;
}

a:hover {
  text-decoration: none;
}

.fw-normal {
  font-weight: 400 !important;
}


/* Common css end */

/* header css start */
.page-id-370 #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
.page-id-388 #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
  color: #072542 !important;
}

.page-id-370 #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link:hover,
.page-id-388 #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link:hover {
  color: #109cde !important;
}

.top_navbar ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: end;
  margin: 0;
  padding: 0;
}

.mega-menu-description {
  display: none !important;
}

.top_navbar {
  background-color: var(--bg-gray);
  padding-top: 8px;
  padding-bottom: 8px;
}
.top_navbar ul a svg path{
  fill: #072542;
}
.top_navbar ul a {
  color: #072542;
  font-size: 16px;
  display: flex;
  align-items: end;
  gap: 5px;
  line-height: normal;
}
.top_navbar ul a:hover{
  color: var(--sky-blue);
}
.top_navbar ul a:hover svg path{
  fill: var(--sky-blue);
}

.top_navbar ul a svg {
  display: block;
}

.top_navbar ul li:not(:last-child) {
  border-right: 1px solid #072542;
  margin-right: 20px;
  padding-right: 20px;
}

.top_header {
  background-color: var(--dark-midnight-blue);
  position: sticky;
  top: 0;
  z-index: 99;
}

.navbar {
  padding: 16.5px 0;
  align-items: start;
}

.navbar-nav li:not(.navbar-nav li:first-child) {
  margin-left: clamp(0.9375rem, -0.8344rem + 4.9305vw, 3.375rem);
}

.navbar .navbar-brand {
  display: inline-block;
  padding: 0;
  margin-right: clamp(0.9375rem, -0.7435rem + 4.6776vw, 3.25rem);
  flex-shrink: 0;
}

.navbar .navbar-brand img {
  max-width: 100px;
}

.navbar .navbar-brand img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.navbar-nav li a {
  font-size: 14px;
  line-height: 16.8px;
  letter-spacing: 1%;
  color: var(--dark-midnight-blue);
}

.header-search .search-form .search-field::placeholder {
  opacity: 0;
}

.header-search .search-form {
  position: relative;
  max-width: 170px;
}

.header-search {
  margin-left: clamp(0.9375rem, -0.6072rem + 4.2984vw, 3.0625rem);
  min-width: max-content;
}

.header-search .search-form .search-field {
  width: 100%;
  border: 1px solid #d1d2d4;
  border-radius: 5px;
  padding: 3px 25px 3px 7px;
  background: var(--white);
}

.header-search .search-submit {
  font-size: 0;
  padding: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M9.25588 10.6693C6.59911 12.5468 3.22617 11.7819 1.56281 9.48717C-0.0543542 7.23883 0.199771 4.15604 2.16347 2.2322C4.15027 0.308363 7.24598 0.146111 9.39449 1.86134C11.5661 3.57657 12.2361 6.82161 10.4803 9.41763C11.081 9.9971 11.6585 10.5998 12.2592 11.1792C12.8829 11.8051 13.5067 12.4309 14.1305 13.0567C14.5694 13.4971 14.5925 13.9839 14.1998 14.3779C13.7839 14.7951 13.3219 14.7719 12.8598 14.3084C11.7047 13.1494 10.5496 11.9905 9.39449 10.8315C9.34829 10.7852 9.30208 10.7156 9.25588 10.6461V10.6693ZM5.99845 2.27856C3.82683 2.27856 2.09416 4.04015 2.07106 6.19578C2.07106 8.37459 3.82683 10.1594 5.99845 10.1362C8.17007 10.1362 9.92584 8.37459 9.90274 6.19578C9.90274 4.04015 8.14697 2.27856 5.99845 2.27856Z" fill="%23072542"/></svg>') no-repeat;
  width: 13px;
  border: unset;
  height: 14px;
  background-size: contain;
  position: absolute;
  right: 8px;
  top: 7px;
  z-index: 1;
  cursor: pointer;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
  color: white !important;
}

.header-search .search-form input.search-field:focus,
.header-search .search-form input.search-field:focus-visible {
  border: 1px solid var(--dark-midnight-blue);
  outline: none;
}

.top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu>li.mega-menu-columns-3-of-12 {
  width: auto;
}

.top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu>li.mega-menu-columns-3-of-12>.mega-sub-menu {
  display: flex;
  flex-direction: column;
  width: auto;
}

.top_header .mega-sub-menu>li>.mega-menu-link[aria-current="page"] {
  color: var(--dark-midnight-blue) !important;
}

/* mega menu css start */
.navbar {
  position: unset;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
  margin: 0 0 0 clamp(0.838rem, -0.8344rem + 4.9305vw, 1.9rem);
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
  padding: 0 0 0 0;
  transition: all 0.3s;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-menu-item-has-children>a.mega-menu-link {
  display: flex;
  align-items: center;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
  background: transparent;
}

.mega-sub-menu>.mega-menu-row>.mega-sub-menu>.mega-menu-column .mega-menu-link {
  transition: all 0.3s !important;
}

.mega-sub-menu>.mega-menu-row>.mega-sub-menu>.mega-menu-column .mega-menu-link:hover {
  color: var(--sky-blue) !important;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover {
  color: var(--sky-blue);
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item:first-child {
  margin: 0;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>.mega-menu-link[aria-current="page"] {

  background: transparent !important;
}

.mega-menu-wrap,
.mega-menu-wrap .mega-menu {
  position: unset !important;
}

.mega-menu-wrap .mega-menu-megamenu>ul>li {
  width: 100% !important;
  max-width: 1014px !important;
}


.mega-menu-wrap .mega-menu-megamenu>ul>li ul li a {
  margin: 0 0 6px 0 !important;
  line-height: 17px !important;
}

.mega-menu-wrap .mega-menu-megamenu>ul>li ul li:last-child a {
  margin: 0 !important;
}

.top_header .header-menu .navbar>.mega-menu-wrap {
  flex-grow: 1;
}

.navbar .navbar-brand {
  max-width: clamp(6rem, 2.3014rem + 4.3321vw, 7.5rem);
  width: 100%;
}

.top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu .mega-last_column::before {
  content: "";
  position: absolute;
  width: 2050vw;
  height: 37.8vw;
  top: -11vw;
  left: -53px;
  display: block !important;
  z-index: -1;
  background: #fff;
}

header.top_header li.dual_bg.mega-menu-item-has-children>ul {
  overflow: hidden !important;
}

.top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu .mega-last_column a.mega-menu-link {
  font-weight: 600;
  font-size: 16px;
}

.menu-title .mega-menu-title {
  color: #072540;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  text-transform: none;
  text-decoration: none;
  font-weight: bold;
  text-align: left;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 5px 0px;
  vertical-align: top;
  display: block;
  visibility: inherit;
  border: 0;
}

/* ==========================================================================
   Header — expanding search
   Default: nav menu + circular search toggle button on the right.
   On open (.search-open on the navbar): the search field expands from the
   right edge leftward, the menu fades/hides, and a close button appears.
   Pairs with header-search.js which toggles the .search-open class.
   ========================================================================== */

.top_header .navbar {
  align-items: center;
}

.top_header .navbar.search-open {
  position: relative;
}

/* --- Search toggle button --------------------------------------------- */
.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: clamp(0.9375rem, -0.6072rem + 4.2984vw, 3.0625rem);
  padding: 0;
  background-color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.header-search-toggle-icon {
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M9.25588 10.6693C6.59911 12.5468 3.22617 11.7819 1.56281 9.48717C-0.0543542 7.23883 0.199771 4.15604 2.16347 2.2322C4.15027 0.308363 7.24598 0.146111 9.39449 1.86134C11.5661 3.57657 12.2361 6.82161 10.4803 9.41763C11.081 9.9971 11.6585 10.5998 12.2592 11.1792C12.8829 11.8051 13.5067 12.4309 14.1305 13.0567C14.5694 13.4971 14.5925 13.9839 14.1998 14.3779C13.7839 14.7951 13.3219 14.7719 12.8598 14.3084C11.7047 13.1494 10.5496 11.9905 9.39449 10.8315C9.34829 10.7852 9.30208 10.7156 9.25588 10.6461V10.6693ZM5.99845 2.27856C3.82683 2.27856 2.09416 4.04015 2.07106 6.19578C2.07106 8.37459 3.82683 10.1594 5.99845 10.1362C8.17007 10.1362 9.92584 8.37459 9.90274 6.19578C9.90274 4.04015 8.14697 2.27856 5.99845 2.27856Z" fill="%23072542"/></svg>') no-repeat center / contain;
}

/* --- Expanding search container --------------------------------------- */
.header-search {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 0;
  /* collapsed by default */
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: width .45s ease, max-width .45s ease, opacity .35s ease, visibility .45s ease;
  z-index: 5;
}

.header-search .search-form {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.header-search .search-form .search-field {
  width: 100%;
  height: 40px;
  border: 1px solid #d1d2d4;
  border-radius: 6px;
  padding: 6px 44px 6px 14px;
  background: var(--white);
}

.header-search .search-form .search-field::placeholder {
  opacity: .6;
}

.header-search .search-form .search-field:focus,
.header-search .search-form .search-field:focus-visible {
  border: 1px solid var(--dark-midnight-blue);
  outline: none;
}

.header-search .search-submit {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  padding: 0;
  font-size: 0;
  border: none;
  cursor: pointer;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M9.25588 10.6693C6.59911 12.5468 3.22617 11.7819 1.56281 9.48717C-0.0543542 7.23883 0.199771 4.15604 2.16347 2.2322C4.15027 0.308363 7.24598 0.146111 9.39449 1.86134C11.5661 3.57657 12.2361 6.82161 10.4803 9.41763C11.081 9.9971 11.6585 10.5998 12.2592 11.1792C12.8829 11.8051 13.5067 12.4309 14.1305 13.0567C14.5694 13.4971 14.5925 13.9839 14.1998 14.3779C13.7839 14.7951 13.3219 14.7719 12.8598 14.3084C11.7047 13.1494 10.5496 11.9905 9.39449 10.8315C9.34829 10.7852 9.30208 10.7156 9.25588 10.6461V10.6693ZM5.99845 2.27856C3.82683 2.27856 2.09416 4.04015 2.07106 6.19578C2.07106 8.37459 3.82683 10.1594 5.99845 10.1362C8.17007 10.1362 9.92584 8.37459 9.90274 6.19578C9.90274 4.04015 8.14697 2.27856 5.99845 2.27856Z" fill="%23072542"/></svg>') no-repeat center / contain;
}

/* --- Close button ------------------------------------------------------ */
.header-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-search-close-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.header-search-close-icon::before,
.header-search-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
}

.header-search-close-icon::before {
  transform: rotate(45deg);
}

.header-search-close-icon::after {
  transform: rotate(-45deg);
}


/* ==========================================================================
   Open state — toggled by header-search.js via .search-open on the navbar
   ========================================================================== */

/* Menu fades out and is removed from flow */
.navbar.search-open .navbar-nav {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

/* Toggle button hides while search is open */
.navbar.search-open .header-search-toggle {
  opacity: 0;
  visibility: hidden;
}

/* Search field expands from the right, growing leftward */
.navbar.search-open .header-search {
  width: min(600px, calc(100% - 220px));
  /* leave room for the logo */
  max-width: min(600px, calc(100% - 220px));
  opacity: 1;
  visibility: visible;
}

.header-search-open .mega-menu-wrap {
  opacity: 0 !important;
  pointer-events: none !important;
}

.widget_custom_html {
  height: 60px !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .navbar.search-open .header-search {
    width: calc(100% - 140px);
    max-width: calc(100% - 140px);
  }
}



/* mega menu css end */
/* header css end */

/* footer css start */
footer {
  background-color: var(--dark-midnight-blue);
}

.footer_top {
  background-color: var(--bg-gray);
}

.footer-newsletter {
  padding: clamp(1.125rem, 0.5344rem + 1.6435vw, 1.9375rem) 0 clamp(1.5625rem, 1.2899rem + 0.7585vw, 1.9375rem);
  background-color: var(--blue-accent);
}

.newsletter-form input,
.newsletter-form input::placeholder {
  font-weight: 600;
  font-size: 15.48px;
  line-height: 18.58px;
  letter-spacing: 1%;
  color: var(--deep-navy-blue);
  border-radius: 5.38px;
  border: unset;
  padding: 8.5px 10.77px;
  background-color: var(--white);
  height: 35.18px;
}

.newsletter-form input:focus-visible {
  outline: none;
}

.newsletter-form .wpcf7-submit {
  margin-left: 13px;
  padding: 8.29px 10.8px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form .wpcf7-submit:hover {
  background: var(--sky-blue);
  color: var(--white);
}

.newsletter-form input:not(.newsletter-form input.wpcf7-submit) {
  max-width: 287px;
  width: 100%;
}

.newsletter-form input::placeholder {
  padding: 0;
  color: var(--silver-gray);
}

.newsletter-form p {
  margin: 0;
}

.newsletter-form .wpcf7-spinner {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translate(-50%, 0%);
}

.newsletter-form .wpcf7 form.invalid .wpcf7-response-output,
.newsletter-form .wpcf7 form.unaccepted .wpcf7-response-output,
.newsletter-form .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  color: var(--white);
  padding: 2.8px 5px;
  margin: 10px 0;
}

.newsletter-form.wpcf7 form.failed .wpcf7-response-output,
.newsletter-form .wpcf7 form.aborted .wpcf7-response-output {
  color: var(--white);
}

.newsletter-form .wpcf7 form.invalid .wpcf7-response-output {
  color: #dc3232;
}

.newsletter-form .wpcf7-form.sent .wpcf7-response-output {
  color: #46b450;
}

.footer-awards {
  margin-left: clamp(0.9375rem, -0.6527rem + 4.4248vw, 3.125rem);
}

.footer-left {
  width: 56.5%;
}

.footer-right {
  width: 43.5%;
}

.footer-left .footer-menu:first-child {
  padding-left: 0;
}

.footer-left .footer-menu:last-child {
  padding-right: 0;
}

.footer-left .footer-menu {
  padding: 0 clamp(0.9375rem, -1.653rem + 4.4248vw, 3.125rem);
  position: relative;
}

.social-menu {
  gap: 7px;
}

.footer-wrapper {
  padding: 36px 0 44.3px;
}

.footer-menu li a {
  font-weight: 500;
  font-size: 18px;
  line-height: 21.6px;
  letter-spacing: 1%;
  margin-bottom: 14px;
  display: inline-block;
  color: var(--dark-midnight-blue);
  transition: all 0.3s;
}

.footer_top .footer-menu li a:hover {
  color: var(--sky-blue);
}

.social-menu>li>a {
  display: inline-block;
}

.social-menu>li>a:hover>svg {
  transform: scale(1.1);
}

.social-menu>li>a>svg {
  transition: all 0.3s;
  transform: scale(1);
}

.footer-awards img {
  max-width: 200px;
}

.google-icon {
  max-width: 161px;
  margin-top: 27px;
}

.footer_bottom {
  /* padding: 58.5px 0; */
  padding: 50px 0;
}

.footer-bottom-img {
  flex-shrink: 0;
}

.footer-bottom-right,
.footer-line-1 {
  width: 100%;
}

.footer-line-2 {
  width: calc(68% + 4px);
}

.footer-line-1,
.footer-line-2 {
  border-top: 3px solid #fff;
  border-radius: 5px;
  font-size: clamp(0.75rem, 0.1336rem + 0.722vw, 1rem);
}

.footer-bottom-wrapper {
  gap: 46px;
}

.footer-bottom-right {
  gap: 16px 0;
}

.footer-left .footer-menu:first-child:after,
.footer-left .footer-menu:last-child:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--dark-midnight-blue);
  border-radius: 5px;
  overflow: hidden;
}

.footer-left .footer-menu:last-child:after {
  right: unset;
  left: 0;
}

.footer-left .footer-menu ul,
.footer-left .footer-menu ul li:last-child a {
  margin-bottom: 0;
}

.footer-line-1,
.footer-line-2 {
  color: rgba(220, 236, 246, 1);
  border: 0px;
  width: 100%;
}

.footer-bottom-right {
  gap: 5px 0;
  text-align: center;
}

.footer-left .footer-menu:first-child::after,
.footer-left .footer-menu:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--dark-midnight-blue);
  border-radius: 5px;

  overflow: hidden;

}


.google-icon a {
  scale: 1;
  display: inline-block;
  transition: all 0.5s;
}

.google-icon a:hover {
  scale: 1.1;
}

.footer-menu li a {
  font-size: 16px;
  line-height: 18px;
}

.section-left-logo-with-related-text .bottom_part {
  background: var(--soft-gray);
  padding: 20px;
}

.footer_top .d-flex.footer-wrapper.flex-wrap {
	align-items: baseline;
}


/* footer css end */


@media (max-width: 1367px) {

  header.top_header li.dual_bg.mega-menu-item-has-children>ul::after {
    width: 24vw;
  }

  .footer-newsletter .heading-30 {
    font-size: 24px;
    line-height: 30px;
  }

  .bottom_part>.text_box {
    font-size: 18px;
    line-height: 24px;
  }

  .page-template-template-resources .team-tabbing-nav-wrapper .nav {
    gap: 10px;
  }

  header.top_header>.container {
    max-width: calc(100% - 0px);
  }



  /* header css end */

  .footer-line-1,
  .footer-line-2 {
    font-size: 14px;
  }



  .footer-menu li a {
    font-size: 18px;
    line-height: 22px;
  }


  .footer-newsletter .heading-30 {
    font-size: 28px;
    line-height: 42px;
  }
}

@media screen and (min-width: 1199px) {
  .mega-menu-wrap .mega-menu-megamenu>ul {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 100% !important;
    padding: 21px 0 41px !important;
  }

  .mega-menu-wrap .mega-menu-megamenu>ul {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .top_header .header-menu .navbar>#mega-menu-wrap-primary #mega-menu-primary {
    display: flex;
    justify-content: space-between;
    padding-right: 40px;
    padding-left: 40px;
    align-items: center;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-has-children > a.mega-menu-link{
     padding: 24px 0;
     height: auto;
  }
  .navbar {
  padding: 0px 0;
}

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
    margin-left: 15px !important;
  }

  .page-home .welcome-card-col.welcome-card-col--default {
    max-height: 240px;
  }

}

@media screen and (max-width: 1199px) {

  .top_navbar .container {
    width: 100%;
    max-width: 100%;
  }

  /* mega menu css start */
  #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open::after {
    opacity: 0 !important;
  }

  body.mega-menu-primary.mega-menu-primary-mobile-open {
    overflow: visible;
  }
  

  .top_header .header-menu .navbar>.mega-menu-wrap {
    flex-grow: unset;
    position: unset !important;
    order: 2;
  }

  .mega-menu-wrap .mega-menu {
    position: absolute !important;
    top: 120px !important;
    left: 0 !important;
    right: 0 !important;
    border-top: 1px solid white !important;
  }

  .top_header .header-menu .navbar>#mega-menu-wrap-primary #mega-menu-primary {
    justify-content: unset;
    flex-direction: column;
    width: 100%;
    transition: left 500ms ease-in-out, right 500ms ease-in-out,
      visibility 500ms ease-in-out;
    padding: 20px 0 120px;
    height: 100svh;
    overflow-y: auto;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
    margin: 0;
  }

  #mega-menu-wrap-primary:has(.mega-menu-open) #mega-menu-primary[data-effect-mobile^="slide_right"]+button.mega-close {
    left: unset;
    right: 0;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-menu-item-has-children>a.mega-menu-link {
    justify-content: space-between;
  }

  #mega-menu-wrap-primary .mega-menu-toggle {
    background: transparent;
    border-radius: 0;
    line-height: 0;
    height: 17.75px;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child {
    margin-left: 0;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    margin-right: 0;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated {
    transform: scale(1);
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-box {
    width: 22px;
    height: 18px;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    width: 22px;
    height: 3px;
    background-color: #072542;
    border-radius: 1.52px;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-slider .mega-toggle-animated-inner::before {
    top: 7px;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-slider .mega-toggle-animated-inner::after {
    top: 14px;
  }

  #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open .mega-toggle-block-1 .mega-toggle-animated-slider .mega-toggle-animated-inner {
    transform: translate3d(0, 7px, 0) rotate(45deg);
  }

  #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open .mega-toggle-block-1 .mega-toggle-animated-slider .mega-toggle-animated-inner::after {
    transform: translate3d(0, -14px, 0) rotate(-90deg);
  }

  .header-menu .navbar {
    align-items: center;
    padding: 20.5px 0 12.5px;
  }

  .header-search {
    margin-left: auto;
    margin-right: 10px;
    margin-top: 0;
  }

  .header-search .search-form>label {
    margin: 0;
  }

  #mega-menu-wrap-primary .mega-menu-toggle+#mega-menu-primary {
    background: var(--dark-midnight-blue);
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 15px;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item:first-child {
    margin: 0 auto;
  }

  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator::after {
    scale: 2;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
    background: transparent;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    padding: 9px 20px 15px;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>.mega-menu-link>.mega-indicator {
    overflow: hidden;
  }

  h4.mega-block-title {
    padding: 0 0 15px 0 !important;
  }

  #mega-menu-wrap-primary .mega-menu-toggle+#mega-menu-primary {
    background: var(--dark-midnight-blue);
  }

  .header-search-toggle {
    margin-left: auto;
  }

  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 5px;
  }

  .navbar .navbar-brand {
    max-width: 120px;
  }

  /* mega menu css end */
}

@media screen and (max-width: 991px) {
  .widget_custom_html {
    height: auto !important;
  }


  .footer-left {
    width: 54.5%;
  }

  .footer-left>.footer-menu:nth-child(2n + 1)::after {
    display: none;
  }

  .footer-left>.footer-menu:nth-child(2n + 1) {
    padding-left: 0;
  }

  .footer-left>.footer-menu:nth-child(2n)::after {
    content: "";
    position: absolute;
    left: -1.5px;
    top: 0;
    width: 3px;
    height: 63%;
    background: var(--dark-midnight-blue);
    border-radius: 5px;
    overflow: hidden;
  }


  .footer-left>.footer-menu::before {
    content: "";
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 93.7px;
    height: 3px;
    background: var(--dark-midnight-blue);
    border-radius: 5px;
  }


  header .navbar .mega-menu-item a~ul.mega-sub-menu::before {
    box-shadow: unset !important;
  }

  .top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu {
    gap: 0px;
  }

  #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
    margin-left: 0px !important;
    width: 100%;
    max-width: 100%;
  }


  .top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu>li.mega-menu-columns-3-of-12 {
    width: 100%;
  }

  .page-template-template-product-finder .result_icon {
    right: 50px;
    max-width: 70px;
  }

  .top_header .navbar>#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu .mega-last_column::before {
    content: none;
  }

  header.top_header li.dual_bg.mega-menu-item-has-children>ul {
    box-shadow: none !important;
  }

  .header-contact-btn {
    display: flex !important;
    justify-content: center;
  }

  .header-search {
    top: 100px;
    transform: unset;
  }

  .header-search-open .mega-menu-wrap {
    opacity: 1 !important;
  }

  .footer-left .footer-menu {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .footer-left>.footer-menu:nth-child(2n)::after {
    display: none;
  }

  .footer-left>.footer-menu {
    padding-bottom: 30px;
    padding-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  .footer-newsletter .row>div {
    width: 100%;
  }

  .footer-newsletter .container>.row>.col-md-7 {
    margin-bottom: 11px;
    text-align: center;
  }

  .newsletter-form input:not(.newsletter-form input.wpcf7-submit) {
    max-width: 100%;
  }

  .footer-newsletter .news-latter-form-row {
    justify-content: space-between;
  }

  .site-footer .footer-newsletter .container>.row {
    margin: 0;
  }

  .site-footer .footer-newsletter .container>.row>div {
    padding: 0;
  }
}

@media screen and (max-width: 575px) {
  .footer-newsletter>.container {
    padding: 0 13px;
  }

  .footer-newsletter .news-latter-form-row {
    padding: 0 5.73px;
  }

  .footer-wrapper {
    padding: 36px 0 38.3px;
  }

  .footer_top>.container {
    padding-left: 20px;
    padding-right: 0;
  }

  .footer-left {
    width: calc(42%);
    flex-direction: column;
  }

  .footer-right {
    width: calc(58%);
    flex-direction: column;
  }

  .footer-left .footer-menu {
    padding: 0;
  }



  .footer-left>.footer-menu {
    padding-bottom: 30px;
    padding-top: 30px;
  }



  .footer-menu li a {
    margin-bottom: 15px;
  }

  .footer-left>.footer-menu:first-child {
    padding-top: 0;
  }

  .footer-left>.footer-menu:last-child {
    padding-bottom: 0;
  }

  .footer-left>.footer-menu:last-child::before {
    display: none;
  }

  .footer-awards img {
    max-width: 190px;
  }

  .footer-social-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 21.45px;
  }

  .footer-social-content .google-icon {
    order: -1;
    margin: 0 0 31.25px;
  }

  .footer-social-content .social-menu {
    margin: 0 0 23.24px;
  }

  .footer-awards {
    margin-left: 0;
    display: flex;
    justify-content: flex-end;
  }

  .footer-bottom-wrapper {
    gap: 20px;
  }

  .footer_bottom .container {
    padding: 0 19.17px;
  }
}




@media screen and (max-width: 374px) {
  .footer-awards img {
    max-width: 180px;
  }
}



/* Contact Us Button */
.header-contact-btn {
  display: flex;
  align-items: center;
  margin-left: 20px;
}



.header-contact-btn .mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.header-contact-btn>.mega-menu-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  height: 45px;
  padding: 0 26px !important;
  background: rgba(31, 135, 200, 1) !important;
  color: #fff !important;
  border-radius: 999px !important;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.875rem, 0.7321rem + 0.2976vw, 1rem) !important;
}

.header-contact-btn .mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.header-contact-btn>.mega-menu-link:hover {
  background: white !important;
  color: var(--blue-accent) !important;
  transform: translateY(-2px);
}

/* Remove Mega Menu default styles */
.header-contact-btn .mega-menu-link::after {
  display: none !important;
}

.header-contact-btn.mega-menu-item {
  padding: 0 !important;
}

/* ==========================================================================
   Global reusable button — .cmn-btn-white
   Pill button, white fill, brand-blue text. Reusable across all sections.
   ========================================================================== */

.cmn-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 24px;
  background-color: var(--white);
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: 600;
  border: 1px solid var(--white);
  border-radius: 100px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.cmn-btn-white:hover,
.cmn-btn-white:focus {
  background-color: var(--blue-accent);
  color: var(--white);
  border-color: var(--blue-accent);
  text-decoration: none;
}

.cmn-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--sky-blue);
  color: var(--white);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
  border: 1px solid var(--sky-blue);
  border-radius: 100px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.cmn-btn-blue:hover,
.cmn-btn-blue:focus {
  background-color: transparent;
  color: var(--sky-blue);
  border-color: var(--sky-blue);
  text-decoration: none;
}

/* ==========================================================================
   Inner Page Banner
   Layout handled by Bootstrap grid (.row / .col-lg-6). Only the panel
   background, spacing and image-fill behaviour need custom rules.
   ========================================================================== */

.section-inner-banner {
  background-color: rgba(17, 55, 91, 1);
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}

/* --- Content panel ----------------------------------------------------- */
.section-inner-banner .inner-banner-content-block {
  display: flex;
  align-items: center;
  padding: 20px;
  padding-left: clamp(1.875rem, -4.7674rem + 13.8564vw, 7.0625rem);
  position: relative;
  -ms-flex: 0 0 55%;
  flex: 0 0 55%;
  max-width: 55%;
}

.section-inner-banner .inner-banner-content-wrapper {
  max-width: 660px;
  width: 100%;
  margin: auto;
}

.section-inner-banner .inner-banner-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 1.443rem + 1.309vw, 2.5rem);
}

.section-inner-banner .inner-banner-description {
  font-weight: var(--fw-regular);
  margin-bottom: 2rem;
  font-size: clamp(1rem, 0.816rem + 0.785vw, 1.3rem);
}

.section-inner-banner .inner-banner-btn-wrapper {
  gap: 1rem;
}

/* --- Image panel ------------------------------------------------------- */
.section-inner-banner .inner-banner-img-block {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  padding-left: 0;
  -ms-flex: 0 0 45%;
  flex: 0 0 45%;
  max-width: 45%;
  max-height: 400px;
}

.section-inner-banner .inner-banner-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================================================================
   Responsive (Bootstrap lg breakpoint = 992px)
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-inner-banner .inner-banner-img-block {
    min-height: 260px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section-inner-banner .inner-banner-content-block {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Welcome / Services Card Grid
   Layout via Bootstrap grid (.row / .col-*). Custom rules handle the centered
   heading rule, intro row, and image cards with an animated hover overlay.
   ========================================================================== */

.section-welcome-cards {
  /* Hover tint (translucent — image shows through) and normal title-bar fill.
       Swap for brand vars if preferred, e.g. var(--dark-midnight-blue).       */
  --overlay-blue: rgba(20, 42, 74, .72);
  --overlay-bar: rgba(20, 42, 74, .88);
}

.section-welcome-cards.section-heading-icon {
  margin-top: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem);
}

/* --- Heading ----------------------------------------------------------- */
.section-welcome-cards .welcome-cards-heading {}

.section-welcome-cards .welcome-cards-title {
  color: var(--sky-blue);
  margin-bottom: 1rem;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
}

.section-welcome-cards .welcome-cards-heading-line {
  display: inline-block;
  width: 120px;
  height: 3px;
  background-color: var(--dark-midnight-blue);
}

/* --- Intro (icon + text) ---------------------------------------------- */
@media (min-width: 1199px) {
  .home .section-welcome-cards.section-service-cards {
    padding-bottom: 0;
    margin-bottom: -30px;
  }
}

@media (min-width: 1366px) {
  .home .section-welcome-cards.section-service-cards {
    padding-bottom: 0;
    margin-bottom: -70px;
  }
}


.section-welcome-cards .welcome-cards-intro {
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 704px;
  margin: 0 auto 0;

}

.section-heading-icon-des-wrapper {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-welcome-cards .welcome-cards-intro-icon {
  flex: 0 0 auto;
}

.section-welcome-cards .welcome-cards-intro-icon img {
  width: 48px;
  height: auto;
  display: block;
}

.section-welcome-cards .welcome-cards-intro-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

/* --- Card grid --------------------------------------------------------- */
/* 4-column CSS grid with auto rows.
   - default : 1 column        (quarter width)
   - wide    : 2 columns       (half width)
   - tall    : 2 columns × 2 rows (half width, double height)              */
.section-welcome-cards .welcome-cards-grid {
  --card-gap: 40px;
  --card-row-h: 280px;
  /* base row height; tall cards span two */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--card-row-h);
  gap: var(--card-gap);
}



.section-welcome-cards .welcome-card-col {
  grid-column: span 1;
  grid-row: span 1;
}

.section-welcome-cards .welcome-card-col--wide {
  grid-column: span 2;
}

.section-welcome-cards .welcome-card-col--tall {
  grid-column: span 2;
  grid-row: span 2;
}

.section-welcome-cards .welcome-card {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
}

/* Image fills the card */
.section-welcome-cards .welcome-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Overlay ----------------------------------------------------------- */
/* Normal state: a solid blue bar sits behind the title at the bottom.
   Hover state : the panel expands to full height; title + description sit at
                 the top and the "Discover more" CTA is pushed to the bottom. */
.section-welcome-cards .welcome-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  /* title anchored to the bottom by default */
  z-index: 1;
}


.section-welcome-cards .welcome-card-overlay-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 64px;
  /* collapsed: shows only the title bar */
  overflow: hidden;
  transition: max-width .45s ease, max-height .45s ease;
  background-color: var(--overlay-bar, rgba(20, 42, 74, .88));
}

.section-welcome-cards .welcome-card-title {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 0.6799rem + 0.6678vw, 1.25rem);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
}

/* Description + link hidden until hover */
.section-welcome-cards .welcome-card-desc,
.section-welcome-cards .welcome-card-link {
  color: var(--white);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, max-height .45s ease, margin .45s ease;
}

.section-welcome-cards .welcome-card-desc {
  margin: 0;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  max-width: 300px;
}

.section-welcome-cards .welcome-card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
  margin-top: auto;
  /* pushed to the bottom of the panel */
}

.section-welcome-cards .welcome-card-link svg {
  margin-top: 3px;
}


/* --- Hover state ------------------------------------------------------- */
/* Panel grows to full card height; title + description stay at the top and
   the CTA is pushed to the bottom via margin-top:auto.
   NB: only max-width / max-height change here — the transition is declared on
   the base element so it applies equally on hover-in AND hover-out.         */
.section-welcome-cards .welcome-card:hover .welcome-card-overlay-inner,
.section-welcome-cards .welcome-card:focus-within .welcome-card-overlay-inner {
  max-width: 300px;
  max-height: 100%;
}

.section-welcome-cards .welcome-card:hover .welcome-card-desc,
.section-welcome-cards .welcome-card:focus-within .welcome-card-desc,
.section-welcome-cards .welcome-card:hover .welcome-card-link,
.section-welcome-cards .welcome-card:focus-within .welcome-card-link {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.section-welcome-cards .welcome-card:hover .welcome-card-desc,
.section-welcome-cards .welcome-card:focus-within .welcome-card-desc {
  margin-top: 1rem;
}

.section-welcome-cards.section-industry-cards .welcome-card-overlay-inner {
  max-height: 100px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet: collapse to a 2-column grid. Wide & tall cards fill the full row;
   tall cards no longer span two rows (single-row height keeps things tidy).  */
@media (max-width: 991.98px) {
  .section-welcome-cards .welcome-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-welcome-cards .welcome-card-col--wide,
  .section-welcome-cards .welcome-card-col--tall {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 767.98px) {
  .section-welcome-cards .welcome-cards-intro {
    gap: 1rem;
  }

  /* Single column: every card spans the full width */
  .section-welcome-cards .welcome-cards-grid {
    grid-template-columns: 1fr;
    --card-row-h: 240px;
  }

  .section-welcome-cards .welcome-card-col,
  .section-welcome-cards .welcome-card-col--wide,
  .section-welcome-cards .welcome-card-col--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Touch devices: reveal content by default (no hover) */
  .section-welcome-cards .welcome-card-overlay-inner {
    max-width: 300px;
    max-height: 100%;
  }

  .section-welcome-cards .welcome-card-desc,
  .section-welcome-cards .welcome-card-link {
    opacity: 1;
    max-height: 200px;
    transform: none;
  }

  .section-welcome-cards .welcome-card-desc {
    margin-top: 1rem;
  }
}

@media (max-width: 575px) {
  .section-welcome-cards .welcome-card-overlay-inner {
    max-width: 100%;
  }

  .section-welcome-cards .welcome-card:hover .welcome-card-overlay-inner,
  .section-welcome-cards .welcome-card:focus-within .welcome-card-overlay-inner {
    max-width: 100%;
  }
}

/* ==========================================================================
   Brochure Banner
   Solid dark band — text left, image right. Layout via Bootstrap grid.
   Uses the global .cmn-btn-white for the CTA.
   ========================================================================== */

.section-brochure-banner {
  background-color: rgba(17, 55, 91, 1);
  overflow: hidden;
  padding: 0;
  margin: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem) 0;
}

.brochure-banner-content {
  padding: 20px;
  padding-left: clamp(1.875rem, -4.7674rem + 13.8564vw, 7.0625rem);
}

.brochure-banner-content-inner {
  max-width: 660px;
  margin: auto;
}

.section-brochure-banner .brochure-banner-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.875rem, 0.2744rem + 3.3389vw, 3.125rem);
}

.section-brochure-banner .brochure-banner-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  margin-bottom: 2rem;
  max-width: 660px;
  font-size: clamp(1.125rem, 0.7586rem + 0.722vw, 1.625rem);
}

.section-brochure-banner .brochure-banner-btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-brochure-banner .brochure-banner-image {
  text-align: center;
}

.section-brochure-banner .brochure-banner-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  width: 100%;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-brochure-banner .brochure-banner-text {
    max-width: none;
  }
}

/* ==========================================================================
   Info Cards
   Split cards: coloured text panel (left) + image (right), with an arrow notch
   pointing from the panel into the image. Panel colour theme (light blue /
   dark navy) is set per card. Layout via Bootstrap grid.
   ========================================================================== */

.section-info-cards {
  --info-notch: 22px;
  /* size of the arrow notch */
  --info-light: #1a7fc4;
  /* light blue theme */
  --info-dark: rgba(17, 52, 91, 1);
  /* dark navy theme */

}

.section-info-cards .info-cards-row {
  --card-gap: 1.5rem;
  row-gap: var(--card-gap);
}

/* --- Card -------------------------------------------------------------- */
.section-info-cards .info-card {
  --info-card-blue: var(--info-dark);
  /* default; overridden per theme below */
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 240px;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
}

/* Theme colours — drive both the panel and the notch via --info-card-blue */
.section-info-cards .info-card--light {
  --info-card-blue: var(--info-light);
}

.section-info-cards .info-card--dark {
  --info-card-blue: var(--info-dark);
}

/* --- Text panel -------------------------------------------------------- */
.section-info-cards .info-card-content {
  position: relative;
  flex: 0 0 55%;
  max-width: 55%;
  background-color: var(--info-card-blue);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.page-careers .section-info-cards .info-card-col:first-child .info-card-content {
  background-color: var(--blue-accent);
}

.page-careers .section-info-cards .info-card-col:first-child .info-card-content::after {
  border-left: var(--info-notch) solid var(--blue-accent);
}

/* Arrow notch: triangle on the right edge of the panel pointing into image */
.section-info-cards .info-card-content::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--info-notch) * -1);
  width: 0;
  height: 0;
  border-top: var(--info-notch) solid transparent;
  border-bottom: var(--info-notch) solid transparent;
  border-left: var(--info-notch) solid var(--info-card-blue);
  transform: translateY(-50%);
  z-index: 2;
}

.section-info-cards .info-card-title {
  font-size: clamp(1.1875rem, 0.417rem + 0.9025vw, 1.5rem);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
  position: relative;
}


.section-info-cards .info-card-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  margin-bottom: 1.5rem;
}

.section-info-cards .info-card-text p {
  margin-bottom: .75rem;
}

.section-info-cards .info-card-text p:last-child {
  margin-bottom: 0;
}

/* --- Actions (text link + optional pill button) ----------------------- */
.section-info-cards .info-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  justify-content: flex-end;
}

.section-info-cards .info-card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
  text-decoration: none;
  margin-right: auto;
  transition: color 0.3s ease;
}

.info-card-link svg,
.welcome-card-link svg {
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.info-card-link:hover,
.welcome-card-link:hover {
  color: var(--blue-accent) !important;
  /* change to your desired hover color */
}

.info-card-link:hover svg,
.welcome-card-link:hover svg {
  transform: translateX(5px);
}



.info-card-link:hover svg path,
.welcome-card-link:hover svg path {
  stroke: var(--blue-accent);
}

.section-info-cards .info-card-link svg {
  margin-top: 3px;
}

/* Pill button inherits the global .cmn-btn-white; text colour follows theme */
.section-info-cards .info-card--light .cmn-btn-white {
  color: var(--info-light);
}

.section-info-cards .info-card--dark .cmn-btn-white {
  color: var(--info-dark);
  border: unset;
}

.section-info-cards .info-card--dark .cmn-btn-white:hover {
  background-color: var(--blue-accent);
  color: white;
}

.page-careers .section-info-cards .info-card-col:first-child .cmn-btn-white:hover {
  background-color: var(--dark-midnight-blue);
}

.page-careers .section-info-cards .info-card-title {
  padding-bottom: 20px;
}

.page-careers .section-info-cards .info-card-title::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--blue-accent);
  bottom: 0;
}

.page-careers .section-info-cards .info-card-col:first-child .info-card-title::before {
  background-color: var(--dark-midnight-blue);
}

/* --- Image ------------------------------------------------------------- */
.section-info-cards .info-card-image {
  position: relative;
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
}

.section-info-cards .info-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.section-info-cards a.info-card:hover .info-card-image img,
.section-info-cards a.info-card:focus .info-card-image img {
  transform: scale(1.05);
}





.section-inner-banner .inner-banner-icon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: clamp(90px, 8vw, 140px);
  height: clamp(90px, 8vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border-bottom-left-radius: 100%;
}

.section-inner-banner .inner-banner-icon img {
  /* override the fill/cover applied to the main banner image */
  position: static;
  width: 42%;
  height: auto;
  max-width: 60px;
  object-fit: contain;
  /* nudge the icon toward the rounded corner so it sits in the visible area */
  margin: -12% -12% 0 0;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .section-inner-banner .inner-banner-icon {
    width: 84px;
    height: 84px;
  }
}



/* ==========================================================================
   Quote Band
   Full-width band with a background image, decorative quote marks,
   quote text and attribution.
   ========================================================================== */

.section-quote-band {
  position: relative;
  background-color: var(--dark-midnight-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  margin: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem) 0;
}

/* Dark tint so the text stays readable over the image */
.section-quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(20, 42, 74, .6);
  z-index: 0;
}

.section-quote-band .container {
  position: relative;
  z-index: 1;
}

.section-quote-band .quote-band-inner {
  position: relative;
  margin: 0;
}

/* Opening quote mark */

.section-quote-band .quote-band-text {
  color: var(--white);
  font-size: clamp(1.5rem, 0.2671rem + 1.444vw, 2rem);
  line-height: 1.4;
  font-weight: var(--fw-regular);
  margin-bottom: 1.5rem;
}

.section-quote-band .quote-band-author {
  display: block;
  color: var(--white);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-style: normal;
  padding-left: 2rem;
}

.section-quote-band .quote-band-author span {
  margin-right: 30px;
}

.quote-one {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 30px;
}

.quote-two {
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 30px;
}

/* ==========================================================================
   Content Cards
   A row of cards, each with an image on top and heading + body below. Each card
   has a theme (light grey or dark navy). A small accent line sits under the
   title. Built on the project's Bootstrap grid.
   ========================================================================== */



.section-content-cards .content-cards-row {
  --card-gap: 1.5rem;
  row-gap: var(--card-gap);
}

/* --- Card -------------------------------------------------------------- */
.section-content-cards .content-card {
  height: 100%;
  background-color: #f4f5f6;
  padding: clamp(1rem, .5rem + 1.5vw, 1.75rem);
}

/* --- Image ------------------------------------------------------------- */
.section-content-cards .content-card-media {
  margin-bottom: 1.5rem;
}

.section-content-cards .content-card-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Title + accent line ---------------------------------------------- */
.section-content-cards .content-card-title {
  color: var(--sky-blue);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  margin-bottom: .75rem;
}

.section-content-cards .content-card-line {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--sky-blue);
  margin-bottom: 1.25rem;
}

/* --- Body -------------------------------------------------------------- */
.section-content-cards .content-card-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.section-content-cards .content-card-text p {
  margin-bottom: 1rem;
}

.section-content-cards .content-card-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Dark theme
   ========================================================================== */

.section-content-cards .content-card--dark {
  background-color: var(--dark-midnight-blue);
}

.section-content-cards .content-card--dark .content-card-title {
  color: var(--white);
}

.section-content-cards .content-card--dark .content-card-text,
.section-content-cards .content-card--dark .content-card-text p {
  color: var(--white);
}

.section-content-cards .content-card--dark .content-card-text a {
  color: var(--sky-blue);
}

/* Accent line stays sky blue in both themes (inherits from the base rule). */


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-image-content .image-content-body {
    margin-top: 1.5rem;
  }
}


/* ==========================================================================
   Image with Content
   Optional heading, then image (left) + heading & body (right).
   ========================================================================== */

.section-image-content .image-content-heading {
  color: var(--sky-blue);
  margin-bottom: 20px;
}

.section-image-content .image-content-row {
  align-items: flex-start;
}

.section-image-content .image-content-media img {
  width: 100%;
  height: auto;
  display: block;
}

.section-image-content .image-content-title {
  color: var(--sky-blue);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
  margin-bottom: 1.25rem;
}

.section-image-content .image-content-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.section-image-content .image-content-text p {
  margin-bottom: 1rem;
}

.section-image-content .image-content-text p:last-child {
  margin-bottom: 0;
}



/* ==========================================================================
   Team Slider — "Meet the Team"
   Dark band with a title + arrows on the left and a Slick carousel on the
   right. The carousel intentionally overflows the right edge of the viewport.
   ========================================================================== */
.machine-slider-desc {
  max-width: 240px;
  margin-bottom: 50px;
}

.section-team-slider {
  position: relative;
  background-color: var(--dark-midnight-blue);
  padding: 60px 0;
  margin: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem) 0;
  overflow: hidden;
}

.page-home .section-team-slider {
  margin-top: 0;
}

/* Background image (set inline from the ACF field via .has-bg) */
.section-team-slider.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tint over the background so the white text and cards stay readable */
.section-team-slider.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(20, 42, 74, .82);
  z-index: 0;
}

.section-team-slider>.container-fluid {
  position: relative;
  z-index: 1;
}

.section-team-slider .team-slider-wrapper {
  display: flex;
  gap: clamp(1.5rem, 0.5rem + 3vw, 3.5rem);
  padding-left: clamp(0rem, -4.0015rem + 8.3472vw, 3.125rem);
}

/* --- Intro (title + arrows) ------------------------------------------- */
.section-team-slider .team-slider-intro {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(0rem, -6.6671rem + 10.7643vw, 6.25rem);
}

.section-team-slider .team-slider-title {
  font-size: clamp(1.75rem, 0.1494rem + 3.3389vw, 3rem);
  line-height: var(--lh-h1);
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
  padding-top: clamp(0rem, -4.6232rem + 5.4152vw, 1.875rem);
  max-width: 300px;
}

.section-team-slider .team-slider-nav {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.section-team-slider .team-slider-prev,
.section-team-slider .team-slider-next {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: 0.3s all ease;
  scale: 1;
}

.section-team-slider .team-slider-prev:hover,
.section-team-slider .team-slider-next:hover {
  background-color: rgba(255, 255, 255, .12);
  border-color: var(--white);
  scale: 1.1;
}

/* Chevron arrows drawn with borders */
.section-team-slider .team-slider-prev::before,
.section-team-slider .team-slider-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.section-team-slider .team-slider-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.section-team-slider .team-slider-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.section-team-slider .team-slider-prev.slick-disabled,
.section-team-slider .team-slider-next.slick-disabled {
  opacity: .4;
  cursor: default;
}

/* --- Carousel ---------------------------------------------------------- */
.section-team-slider .team-slider {
  flex: 1 1 auto;
  min-width: 0;
  /* allow flex item to shrink for Slick */
  margin: 0 -15px;
}

.section-team-slider .team-slide {
  padding-inline: 15px;
}

.section-team-slider .team-card {
  text-align: center;
}

.section-team-slider .team-card-media {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
}

.section-team-slider .team-card-media .team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-team-slider .team-card-name {
  color: var(--white);
  font-size: clamp(1rem, 0.8399rem + 0.3339vw, 1.125rem);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  margin-bottom: .25rem;
}

.section-team-slider .team-card-role {
  color: var(--white);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  margin: 0;
  opacity: .85;
}

/* Slick track alignment */
.section-team-slider .slick-track {
  display: flex;
}

.section-team-slider .slick-slide {
  height: auto;
}

.slider-button-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-team-slider .team-slider-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-team-slider .team-slider-intro {
    width: 100%;
  }

  .section-team-slider .team-slider {
    width: 100%;
  }
}

/* ==========================================================================
   History Timeline Slider
   A Slick carousel of timeline entries joined by a horizontal line through
   circle markers. Entries alternate: text-above/year-below (is-top) and
   year-above/text-below (is-bottom). Marker row is vertically centered so the
   connecting line is continuous across all slides.
   ========================================================================== */

.section-history-timeline {
  --timeline-line: var(--dark-midnight-blue, #072542);
  --timeline-circle: var(--sky-blue, #1a8fd1);
  --marker-size: 34px;
  --slide-height: 320px;
  /* fixed height keeps the line aligned */

}

.section-history-timeline .history-timeline-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-size: var(--fs-h3);
}

/* --- Outer: arrows + track -------------------------------------------- */
.section-history-timeline .history-timeline-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(243, 243, 245, 1);
}

.section-history-timeline .history-timeline {
  flex: 1 1 auto;
  min-width: 0;
  /* let the flex item shrink for Slick */
}

/* --- Slide ------------------------------------------------------------- */
.section-history-timeline .history-slide {
  height: var(--slide-height);
  outline: none;
}

.section-history-timeline .history-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-inline: 15px;
  text-align: center;
}

/* Three stacked rows, each taking a third of the slide height. The middle
   (marker) row sits at the vertical center so the line is continuous.      */
.section-history-timeline .history-item-content,
.section-history-timeline .history-item-year {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history-item-content {
  max-width: 380px;
  margin: auto;
}

.section-history-timeline .history-item-marker {
  flex: 0 0 var(--marker-size);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Content / year positions swap per slide */
.section-history-timeline .history-slide.is-top .history-item-content {
  order: 1;
  justify-content: flex-end;
  padding-bottom: 1.25rem;
}

.section-history-timeline .history-slide.is-top .history-item-marker {
  order: 2;
}

.section-history-timeline .history-slide.is-top .history-item-year {
  order: 3;
  justify-content: flex-start;
  padding-top: 1.25rem;
}

.section-history-timeline .history-slide.is-bottom .history-item-year {
  order: 1;
  justify-content: flex-end;
  padding-bottom: 1.25rem;
}

.section-history-timeline .history-slide.is-bottom .history-item-marker {
  order: 2;
}

.section-history-timeline .history-slide.is-bottom .history-item-content {
  order: 3;
  justify-content: flex-start;
  padding-top: 1.25rem;
}

/* --- Connecting line + circle marker ---------------------------------- */
/* Horizontal line spans the full slide width, behind the circle. */
.section-history-timeline .history-item-marker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  /* extend under the slide gutter to join */
  right: -15px;
  height: 9px;
  background-color: var(--timeline-line);
  transform: translateY(-50%);
  z-index: 0;
}

.section-history-timeline .history-item-dot {
  position: relative;
  z-index: 1;
  width: var(--marker-size);
  height: var(--marker-size);
  border: 4px solid var(--timeline-circle);
  border-radius: 50%;
  background-color: var(--white);
}

/* --- Text -------------------------------------------------------------- */
.section-history-timeline .history-item-title {
  color: var(--sky-blue);
  font-size: clamp(1.125rem, 0.8168rem + 0.361vw, 1.25rem);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  margin-bottom: .5rem;
}

.section-history-timeline .history-item-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  margin: 0;
  color: #555;
}

.section-history-timeline .history-item-year {
  font-size: clamp(1.125rem, 0.8168rem + 0.361vw, 1.25rem);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  color: #333;
}

/* --- Arrows ------------------------------------------------------------ */
.section-history-timeline .history-timeline-prev,
.section-history-timeline .history-timeline-next {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
}

.section-history-timeline .history-timeline-prev {
  left: -40px;
}

.section-history-timeline .history-timeline-next {
  right: -40px;
}

.section-history-timeline .history-timeline-prev::before,
.section-history-timeline .history-timeline-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-top: 3px solid #9a9a9a;
  border-right: 3px solid #9a9a9a;
}

.section-history-timeline .history-timeline-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.section-history-timeline .history-timeline-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.section-history-timeline .history-timeline-prev:hover::before,
.section-history-timeline .history-timeline-next:hover::before {
  border-color: var(--sky-blue);
}

/* --- Dots -------------------------------------------------------------- */
.section-history-timeline .slick-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.section-history-timeline .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  font-size: 0;
  border: 1px solid var(--dark-midnight-blue, #072542);
  border-radius: 50%;
  background-color: var(--dark-midnight-blue, #072542);
  cursor: pointer;
}

.section-history-timeline .slick-dots li button::before {
  display: none;
}

.section-history-timeline .slick-dots li.slick-active button {
  background-color: transparent;
}

/* --- Slick housekeeping ------------------------------------------------ */
.section-history-timeline .slick-track {
  display: flex;
}

.section-history-timeline .slick-slide {
  height: auto;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767.98px) {
  .section-history-timeline {
    --slide-height: 280px;
  }
}

@media (max-width: 575px) {

  .section-history-timeline .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 3px;
  }

  .section-history-timeline .history-timeline-prev,
  .section-history-timeline .history-timeline-next {
    display: none;
  }
}

/* ==========================================================================
   Content Grid (image + content rows)
   Each row pairs an image with a themed content panel. The image side is set
   per row via .content-grid-row--img-left / --img-right. Equal-height columns.
   ========================================================================== */

.section-content-grid .content-grid-row {
  align-items: stretch;
  margin: 0;
}

.section-content-grid .content-grid-col {
  display: flex;
}

/* Image side: default = left. --img-right flips the columns on desktop. */
.section-content-grid .content-grid-row--img-left .content-grid-col--media {
  order: 1;
}

.section-content-grid .content-grid-row--img-left .content-grid-col--body {
  order: 2;
}

.section-content-grid .content-grid-row--img-right .content-grid-col--media {
  order: 2;
}

.section-content-grid .content-grid-row--img-right .content-grid-col--body {
  order: 1;
}

/* --- Image ------------------------------------------------------------- */
.section-content-grid .content-grid-media {
  width: 100%;
  overflow: hidden;
}

.section-content-grid .content-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: clamp(280px, 18vw + 180px, 480px);
}

/* --- Content ----------------------------------------------------------- */
.section-content-grid .content-grid-card {
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 4rem);
}

.section-content-grid .content-grid-body {
  width: 100%;
  max-width: 620px;
}

.section-content-grid .content-grid-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
  margin-bottom: 1.5rem;
}

.section-content-grid .content-grid-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.section-content-grid .content-grid-text p {
  margin-bottom: 1rem;
}

.section-content-grid .content-grid-text p:last-child {
  margin-bottom: 0;
}

/* --- Themes ------------------------------------------------------------ */
/* Light: grey panel, blue heading, dark body */
.section-content-grid .content-grid-card--light {
  background-color: #f4f5f6;
}

.section-content-grid .content-grid-card--light .content-grid-title {
  color: var(--sky-blue);
}

.section-content-grid .content-grid-card--light .content-grid-text {
  color: #444;
}

/* Dark: navy panel, white heading + body */
.section-content-grid .content-grid-card--dark {
  background-color: var(--dark-midnight-blue);
}

.section-content-grid .content-grid-card--dark .content-grid-title,
.section-content-grid .content-grid-card--dark .content-grid-text {
  color: var(--white);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {

  /* Stack: image always on top, content below, regardless of chosen side */
  .section-content-grid .content-grid-col--media {
    order: 1 !important;
  }

  .section-content-grid .content-grid-col--body {
    order: 2 !important;
  }

  .section-content-grid .content-grid-media img {
    min-height: 240px;
  }
}

/* ==========================================================================
   Circular Economy (icon cards)  +  Policy List
   Both use a shared green accent. Swap --eco-green for a brand token if you
   have one.
   ========================================================================== */



/* ==========================================================================
   Circular Economy
   ========================================================================== */

.section-policy-list .policy-item-text {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
  display: block;
  width: 100%;
  background-color: var(--bg-gray);
}

.section-circular-economy .circular-economy-title {
  color: var(--eco-green);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-circular-economy .circular-economy-row {
  --card-gap: 1.5rem;
  row-gap: var(--card-gap);
}

.section-circular-economy .circular-card {
  height: 100%;
  background-color: #f7f7f7;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.section-circular-economy .circular-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-circular-economy .circular-card-icon {
  flex: 0 0 auto;
}

.section-circular-economy .circular-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.section-circular-economy .circular-card-title {
  color: rgba(86, 89, 92, 1);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  margin: 0;
}

.section-circular-economy .circular-card-subtitle {
  color: rgba(85, 89, 92, 1);
  font-size: clamp(1.125rem, 0.8049rem + 0.6678vw, 1.375rem);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  /* border-bottom: 1px solid #e2e2e2; */
  position: relative;
}

.section-circular-economy .circular-card-subtitle::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: rgba(137, 200, 65, 1);
  bottom: 0;
}

.section-circular-economy .circular-card-text {

  font-size: var(--fs-p-small);
  line-height: 1.6;
}

.section-circular-economy .circular-card-text p {
  margin-bottom: .75rem;
}

.section-circular-economy .circular-card-text p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   Policy List
   ========================================================================== */



.section-policy-list .policy-list-row {
  --col-gap: 2rem;
  row-gap: var(--col-gap);
}

.section-policy-list .policy-list-title {
  color: var(--eco-green);
  margin-bottom: 1.25rem;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
}

.section-policy-list .policy-list-text p {
  font-size: 18px;
  line-height: var(--lh-p);

  max-width: 320px;
  max-width: 200px;
}

/* --- Rows -------------------------------------------------------------- */
.section-policy-list .policy-item {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 4px 0;
}

.section-policy-list .policy-item:first-child {
  padding-top: 0;
}

.section-policy-list .policy-item-label {
  flex: 0 0 auto;
  width: clamp(140px, 14vw, 180px);
  display: inline-flex;
  align-items: center;
  padding: .5rem .75rem;
  background-color: var(--eco-green);
  color: var(--white);
  font-size: var(--fs-p);
  ;
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
}

.section-policy-list .policy-item-text {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
  padding: 8px 15px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-policy-list .policy-item {
    flex-direction: column;
    gap: .5rem;
  }

  .section-policy-list .policy-item-label {
    width: auto;
    align-self: flex-start;
  }
}


/* ==========================================================================
   Text Block
   A common rich-text block. Provides sensible typographic defaults for
   WYSIWYG output (headings, paragraphs, lists, links).
   ========================================================================== */

.section-text-block {}

.section-text-block .text-block-content {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #444;
}

/* --- Headings ---------------------------------------------------------- */
.section-text-block .text-block-content h1,
.section-text-block .text-block-content h2 {
  color: var(--sky-blue);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
}

.section-text-block .text-block-content h1 {
  font-size: clamp(2rem, 0.7671rem + 1.444vw, 2.5rem);
  line-height: var(--lh-h1);
  font-weight: var(--fw-bold);
}

.section-text-block .text-block-content h3,
.section-text-block .text-block-content h4 {
  color: #333;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  margin-bottom: .75rem;
}

.section-text-block .text-block-content h2:not(:first-child),
.section-text-block .text-block-content h3:not(:first-child),
.section-text-block .text-block-content h4:not(:first-child) {
  margin-top: 2rem;
}

/* --- Paragraphs -------------------------------------------------------- */
.section-text-block .text-block-content p {
  margin-bottom: 1rem;
}

.section-text-block .text-block-content p:last-child {
  margin-bottom: 0;
}

/* --- Lists ------------------------------------------------------------- */
.section-text-block .text-block-content ul,
.section-text-block .text-block-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.section-text-block .text-block-content li {
  margin-bottom: .5rem;
}

.section-text-block .text-block-content ul li {
  list-style: disc;
}

.section-text-block .text-block-content ol li {
  list-style: decimal;
}

/* --- Links ------------------------------------------------------------- */
.section-text-block .text-block-content a {
  color: var(--sky-blue);
  text-decoration: underline;
}

.section-text-block .text-block-content a:hover,
.section-text-block .text-block-content a:focus {
  text-decoration: none;
}

/* --- Misc -------------------------------------------------------------- */
.section-text-block .text-block-content img {
  max-width: 100%;
  height: auto;
}

.section-text-block .text-block-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--sky-blue);
  color: #555;
}

.section-text-block .text-block-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.section-text-block .text-block-content th,
.section-text-block .text-block-content td {
  padding: .5rem .75rem;
  border: 1px solid #e2e2e2;
  text-align: left;
}

/* ==========================================================================
   News Content
   Two parts: an image-and-content row (side by side), then an optional
   full-width block of copy beneath. Layout via Bootstrap grid.
   ========================================================================== */

.section-news-content {}

/* --- Image + content row ---------------------------------------------- */
.section-news-content .news-content-row {
  --col-gap: 2rem;
  row-gap: var(--col-gap);
  align-items: flex-start;
}

/* Image side: default = left. --img-right flips the columns on desktop. */
.section-news-content .news-content-row--img-left .news-content-col--media {
  order: 1;
}

.section-news-content .news-content-row--img-left .news-content-col--body {
  order: 2;
}

.section-news-content .news-content-row--img-right .news-content-col--media {
  order: 2;
}

.section-news-content .news-content-row--img-right .news-content-col--body {
  order: 1;
}

.section-news-content .news-content-media {
  margin: 0;
}

.section-news-content .news-content-media img {
  width: 100%;
  height: auto;
  display: block;
}

.section-news-content .news-content-caption {
  margin-top: .5rem;
  font-size: var(--fs-p-small);
  line-height: var(--lh-p-small);
  color: #777;
}

/* --- Full-width block below ------------------------------------------- */
.section-news-content .news-content-full {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* --- Shared copy styles ------------------------------------------------ */
.section-news-content .news-content-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #444;
}

.section-news-content .news-content-text p {
  margin-bottom: 1rem;
}

.section-news-content .news-content-text p:last-child {
  margin-bottom: 0;
}

.section-news-content .news-content-text h2,
.section-news-content .news-content-text h3,
.section-news-content .news-content-text h4 {
  color: var(--sky-blue);
  margin-bottom: .75rem;
}

.section-news-content .news-content-text h2:not(:first-child),
.section-news-content .news-content-text h3:not(:first-child),
.section-news-content .news-content-text h4:not(:first-child) {
  margin-top: 1.75rem;
}

.section-news-content .news-content-text ul,
.section-news-content .news-content-text ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.section-news-content .news-content-text ul li {
  list-style: disc;
}

.section-news-content .news-content-text ol li {
  list-style: decimal;
}

.section-news-content .news-content-text li {
  margin-bottom: .5rem;
}

.section-news-content .news-content-text a {
  color: var(--sky-blue);
  text-decoration: underline;
}

.section-news-content .news-content-text a:hover,
.section-news-content .news-content-text a:focus {
  text-decoration: none;
}

.section-news-content .news-content-text img {
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {

  /* Stack: image always above the copy, regardless of chosen side */
  .section-news-content .news-content-col--media {
    order: 1 !important;
  }

  .section-news-content .news-content-col--body {
    order: 2 !important;
  }
}

/* ==========================================================================
   News Slider — "Articles you might like"
   Slick carousel of horizontal cards: image left, content right. Arrows sit
   either side of the track. On hover the panel tints light blue and the
   image scales.
   ========================================================================== */

.section-news-slider {
  --news-panel: #f2f3f4;
  /* resting content panel */
  --news-panel-hover: #dff0fb;
  /* hover tint */

}

.section-news-slider .news-slider-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

/* --- Outer: arrows + track -------------------------------------------- */
.section-news-slider .news-slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-news-slider .news-slider {
  flex: 1 1 auto;
  min-width: 0;
  /* let the flex item shrink for Slick */
}

/* --- Slide / card ------------------------------------------------------ */
.section-news-slider .news-slide {
  padding-inline: 10px;
  height: auto;
}

.section-news-slider .news-card {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  text-decoration: none;
}

/* --- Image ------------------------------------------------------------- */
.section-news-slider .news-card-media {
  position: relative;
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
}

.section-news-slider .news-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

/* --- Content panel ----------------------------------------------------- */
.section-news-slider .news-card-content {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, .75rem + 1vw, 1.5rem);
  background-color: var(--news-panel);
  transition: background-color .35s ease;
}

.section-news-slider .news-card-title {
  color: rgba(85, 89, 92, 1);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  position: relative;
}

.section-news-slider .news-card-text {
  font-size: var(--fs-p-small);
  line-height: 1.5;
  color: #555;
  margin-bottom: 1rem;
}

.section-news-slider .news-card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  align-self: flex-end;
  font-size: var(--fs-p-small);
  line-height: var(--lh-p-small);
  font-weight: var(--fw-bold);
  color: #333;
  transition: color .3s ease;
}

.section-news-slider .news-card-link svg {
  color: var(--sky-blue);
  flex: 0 0 auto;
  transition: transform .3s ease;
}

/* --- Hover ------------------------------------------------------------- */
.section-news-slider .news-card:hover .news-card-media img,
.section-news-slider .news-card:focus .news-card-media img {
  transform: scale(1.06);
}

.section-news-slider .news-card:hover .news-card-content,
.section-news-slider .news-card:focus .news-card-content {
  background-color: var(--news-panel-hover);
}

.section-news-slider .news-card:hover .news-card-link,
.section-news-slider .news-card:focus .news-card-link {
  color: var(--sky-blue);
}

.section-news-slider .news-card:hover .news-card-link svg,
.section-news-slider .news-card:focus .news-card-link svg {
  transform: translateX(4px);
}

/* --- Arrows ------------------------------------------------------------ */
.section-news-slider .news-slider-prev,
.section-news-slider .news-slider-next {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
}

.section-news-slider .news-slider-prev::before,
.section-news-slider .news-slider-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-top: 3px solid #9a9a9a;
  border-right: 3px solid #9a9a9a;
  transition: border-color .3s ease;
}

.news-slider-next.slick-arrow {
  right: -40px;
}

.news-slider-prev.slick-arrow {
  left: -40px;
}

.section-news-slider .news-slider-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.section-news-slider .news-slider-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.section-news-slider .news-slider-prev:hover::before,
.section-news-slider .news-slider-next:hover::before {
  border-color: var(--sky-blue);
}

.section-news-slider .news-slider-prev.slick-disabled,
.section-news-slider .news-slider-next.slick-disabled {
  opacity: .35;
  cursor: default;
}

/* --- Slick housekeeping ------------------------------------------------ */
.section-news-slider .slick-track {
  display: flex;
}

.section-news-slider .slick-slide {
  height: auto;
}

.section-news-slider .slick-slide>div {
  height: 100%;
}

.section-news-slider .news-card-title::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--sky-blue);
  bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {

  /* Stack image above content on very small screens */
  .section-news-slider .news-card {
    flex-direction: column;
  }

  .section-news-slider .news-card-media,
  .section-news-slider .news-card-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section-news-slider .news-card-media {
    min-height: 180px;
  }
}

/* ==========================================================================
   Industry Cards — icon badge
   Append to style.css (near the welcome-cards rules).
   A white badge in the TOP-RIGHT corner of each card, mirroring the inner
   page banner badge (which sits top-left).
   ========================================================================== */

.section-welcome-cards .welcome-card-icon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  /* Rounded on the bottom-left so it reads as a cutout tucked into the
       top-right corner (mirror of the banner's bottom-right radius). */
  border-bottom-left-radius: 100%;
  pointer-events: none;
  transition: 0.5s all ease;
}

.section-welcome-cards .welcome-card-icon img {
  position: absolute;
  width: 40px;
  height: auto;
  max-width: 40px;
  object-fit: contain;
  margin: -10% 0 0 -10%;
  right: 15px;
  top: 20px;
}

.section-welcome-cards .welcome-card:hover .welcome-card-icon {
  opacity: 0;
}

@media (max-width: 991.98px) {
  .section-welcome-cards.section-industry-cards .welcome-card-overlay-inner {
    max-height: 75px;
  }
}


/* ==========================================================================
   Two Column Content
   WYSIWYG on each side. Any <ul> in the right-hand column renders as a
   checklist: blue tick tile + grey row. Editors just write a normal list.
   ========================================================================== */

.section-two-col-content {
  --check-blue: #1a8fd1;
  --check-row: #f2f3f4;
  --check-size: 38px;
}

.section-two-col-content .two-col-content-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-two-col-content .two-col-content-row {
  --col-gap: 2rem;
  row-gap: var(--col-gap);
  align-items: flex-start;
}

/* --- Shared copy styles ------------------------------------------------ */
.section-two-col-content .two-col-content-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
}

.section-two-col-content .two-col-content-text p {
  margin-bottom: 1rem;
}

.section-two-col-content .two-col-content-text p:last-child {
  margin-bottom: 0;
}

.section-two-col-content .two-col-content-text h2,
.section-two-col-content .two-col-content-text h3,
.section-two-col-content .two-col-content-text h4 {
  color: var(--sky-blue);
  margin-bottom: .75rem;
}



.section-two-col-content .two-col-content-text a:hover,
.section-two-col-content .two-col-content-text a:focus {
  text-decoration: none;
}

/* --- Left column: standard list ---------------------------------------- */
.section-two-col-content .two-col-content-left ul,
.section-two-col-content .two-col-content-left ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.section-two-col-content .two-col-content-left ul li {
  list-style: disc;
  margin-bottom: .5rem;
}

.section-two-col-content .two-col-content-left ol li {
  list-style: decimal;
  margin-bottom: .5rem;
}

/* ==========================================================================
   Right column: checklist
   Every <li> becomes a grey row with a blue tick tile. The tick is drawn with
   a CSS border (rotated) so no image is needed.
   ========================================================================== */

.section-two-col-content .two-col-content-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-two-col-content .two-col-content-right ul li {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  min-height: var(--check-size);
  margin-bottom: .5rem;
  /* leave room for the tick tile, then the grey row starts */
  padding: .5rem 1rem .5rem calc(var(--check-size) + 1.5rem);
  background-color: var(--check-row);
  color: #333;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.section-two-col-content .two-col-content-right ul li:last-child {
  margin-bottom: 0;
}

/* Blue tile */
.section-two-col-content .two-col-content-right ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--check-size);
  height: 100%;
  background-color: var(--check-blue);
}

/* White tick drawn with a rotated border */
.section-two-col-content .two-col-content-right ul li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--check-size) / 2);
  width: 8px;
  height: 14px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: translate(-50%, -60%) rotate(45deg);
}

/* Keep ordered lists in the right column readable too */
.section-two-col-content .two-col-content-right ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.section-two-col-content .two-col-content-right ol li {
  list-style: decimal;
  margin-bottom: .5rem;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-two-col-content {
    --check-size: 34px;
  }
}


/* ==========================================================================
   Product Grid
   Filterable product grid on a dark textured band, with pill filters, a
   load-more button, and a click-to-open product popup.
   ========================================================================== */

.section-product-grid {
  position: relative;
  background-color: var(--dark-midnight-blue);
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  overflow: hidden;
  margin: clamp(0.9375rem, -0.2629rem + 2.5042vw, 1.875rem) 0;
}

.section-product-grid .product-grid-title {
  color: var(--white);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* --- Filter bar -------------------------------------------------------- */
.section-product-grid .product-grid-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-product-grid .product-filter,
.section-product-grid .product-grid-loadmore--top {
  padding: 8px 24px;
  background-color: var(--white);
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  border: 1px solid var(--white);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

.section-product-grid .product-filter:hover,
.section-product-grid .product-filter.is-active {
  background-color: var(--sky-blue);
  color: var(--white);
  border-color: var(--sky-blue);
}

/* Optional background image — sits over the navy fallback, covers the band */
.section-product-grid.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Subtle navy tint so cards/text stay readable over a busy photo */
.section-product-grid.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(7, 37, 66, .6);
  z-index: 0;
}

.section-product-grid.has-bg>.container {
  position: relative;
  z-index: 1;
}

/* --- Grid -------------------------------------------------------------- */
.section-product-grid .product-grid-items {
  --grid-gap: 1.5rem;
  row-gap: var(--grid-gap);
  min-height: 120px;
  transition: opacity .25s ease;
}

.section-product-grid.is-loading .product-grid-items {
  opacity: .5;
  pointer-events: none;
}

.section-product-grid .product-grid-empty {
  width: 100%;
  text-align: center;
  color: var(--white);
  padding: 2rem 0;
}

/* --- Card -------------------------------------------------------------- */
.section-product-grid .product-card {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.section-product-grid .product-card-media {
  display: block;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.section-product-grid .product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.section-product-grid .product-card:hover .product-card-media img,
.section-product-grid .product-card:focus .product-card-media img {
  transform: scale(1.05);
}

/* --- Load more --------------------------------------------------------- */
.section-product-grid .product-grid-loadmore-wrapper {
  display: flex;
  justify-content: center;
}

.section-product-grid .product-grid-loadmore-wrapper--bottom {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}



/* ==========================================================================
   Product popup — full details
   ========================================================================== */

.product-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-popup.is-open {
  display: flex;
}

.product-popup-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 37, 66, .75);
}

.product-popup-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  background-color: #f2f3f4;
  border-radius: 8px;
  overflow: hidden;
  max-height: 80vh;
  overflow-y: auto;
}

/* Close button — blue circle, top-right, overlapping the corner */
.product-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  background-color: var(--sky-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.product-popup-close::before,
.product-popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: var(--white);
}

.product-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Left: details ----------------------------------------------------- */
.product-popup-details {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  display: flex;
  flex-direction: column;
}

.product-popup-heading {
  color: var(--sky-blue);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  margin-bottom: 1.5rem;
}

.product-popup-rows {
  margin-bottom: 1.5rem;
}

.product-popup-field {
  background-color: var(--white);
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.product-popup-label {
  color: #333;
  font-weight: var(--fw-bold);
  margin-right: .35rem;
}

.product-popup-value {
  color: #555;
}

/* --- Action buttons ---------------------------------------------------- */
.product-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
}

/* Outlined blue pill button (reusable) */
.cmn-btn-blue-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  border: 1px solid var(--sky-blue);
  border-radius: 100px;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}

.cmn-btn-blue-outline:hover,
.cmn-btn-blue-outline:focus {
  background-color: var(--sky-blue);
  color: var(--white);
  text-decoration: none;
}

/* --- Right: image ------------------------------------------------------ */
.product-popup-media {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-popup-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background-color: var(--white);
  border-radius: 8px;
  display: block;
}

/* Lock scroll while the popup is open */
body.product-popup-active {
  overflow: hidden;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-product-grid .product-grid-filters {
    gap: .5rem;
  }

  .section-product-grid .product-filter,
  .section-product-grid .product-grid-loadmore--top {
    padding: 6px 16px;
    font-size: var(--fs-p-small);
  }
}

@media (max-width: 767.98px) {

  /* Stack popup: image on top, details below */
  .product-popup-media {
    order: -1;
  }

  .product-popup-actions {
    gap: .5rem;
  }

  .cmn-btn-blue-outline {
    padding: 8px 16px;
    font-size: var(--fs-p-small);
  }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-product-grid .product-grid-filters {
    gap: .5rem;
  }

  .section-product-grid .product-filter,
  .section-product-grid .product-grid-loadmore--top {
    padding: 6px 16px;
    font-size: var(--fs-p-small);
  }
}

@media (max-width: 767.98px) {

  /* Stack popup: image on top, details below */
  .product-popup-media {
    order: -1;
  }

  .product-popup-actions {
    gap: .5rem;
  }

  .cmn-btn-blue-outline {
    padding: 8px 16px;
    font-size: var(--fs-p-small);
  }
}

/* ==========================================================================
   Applications
   Heading + grid of icon cards. Each card: icon, blue title with a short
   underline accent, and description copy on a light grey panel.
   ========================================================================== */

.section-applications {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem);
}

.section-applications .applications-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.section-applications .applications-row {
  --card-gap: 1.5rem;
  row-gap: var(--card-gap);
}

/* --- Card -------------------------------------------------------------- */
.section-applications .application-card {
  height: 100%;
  background-color: #f4f5f6;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
}

.section-applications .application-card-icon {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 1.25rem;
}

.section-applications .application-card-icon img {
  width: auto;
  height: 48px;
  max-width: 56px;
  object-fit: contain;
  display: block;
}

.section-applications .application-card-title {
  position: relative;
  color: var(--sky-blue);
  font-size: 18px;
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  margin-bottom: 1.25rem;
  padding-bottom: 20px;
}

/* Short underline accent beneath the title */
.section-applications .application-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--sky-blue);
}

.section-applications .application-card-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #666;
}

.section-applications .application-card-text p {
  margin-bottom: .75rem;
}

.section-applications .application-card-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Material Range Cards
   Category cards reuse the welcome-cards styles. Only the manual navy content
   card ("Related services") needs its own rules.
   ========================================================================== */

.section-material-range .material-content-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-midnight-blue);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.section-material-range .material-content-title {
  color: var(--white);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
}

.section-material-range .material-content-text {
  color: var(--white);
  font-size: var(--fs-p-small);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.section-material-range .material-content-text p {
  margin-bottom: .75rem;
}

.section-material-range .material-content-text p:last-child {
  margin-bottom: 0;
}

.section-material-range .material-content-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  color: var(--white);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-regular);
  text-decoration: none;
  transition: gap .3s ease;
}

.section-material-range .material-content-link:hover,
.section-material-range .material-content-link:focus {
  gap: .85rem;
  text-decoration: none;
}


/* ==========================================================================
   Product Datasheet Listing
   Grey rows (product name + download button), then category nav links with
   the current category highlighted sky blue.
   ========================================================================== */

.section-datasheet-listing {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem);
}

.section-datasheet-listing .datasheet-listing-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* --- Rows -------------------------------------------------------------- */
.section-datasheet-listing .datasheet-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.section-datasheet-listing .datasheet-row:last-child {
  margin-bottom: 0;
}

.section-datasheet-listing .datasheet-row-name {
  flex: 1 1 auto;
  min-width: 0;
  background-color: #f2f3f4;
  padding: 1rem 1.25rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #333;
}

.section-datasheet-listing .datasheet-row-action {
  flex: 0 0 auto;
}

/* Outlined blue pill download button */
.section-datasheet-listing .datasheet-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
  border: 1px solid var(--sky-blue);
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}

.section-datasheet-listing .datasheet-download-btn:hover,
.section-datasheet-listing .datasheet-download-btn:focus {
  background-color: var(--sky-blue);
  color: var(--white);
  text-decoration: none;
}

/* --- Category nav ------------------------------------------------------ */
.section-datasheet-listing .datasheet-listing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-datasheet-listing .datasheet-nav-link {
  color: #333;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  text-decoration: none;
  padding: 6px 18px;
  border-radius: 100px;
  transition: background-color .3s ease, color .3s ease;
}

.section-datasheet-listing .datasheet-nav-link:hover,
.section-datasheet-listing .datasheet-nav-link:focus {
  color: var(--sky-blue);
  text-decoration: none;
}

.section-datasheet-listing .datasheet-nav-link.is-active {
  background-color: var(--sky-blue);
  color: var(--white);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-datasheet-listing .datasheet-row {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .section-datasheet-listing .datasheet-download-btn {
    width: 100%;
  }

  .section-datasheet-listing .datasheet-listing-nav {
    gap: .5rem 1rem;
  }
}

/* ==========================================================================
   Info Band
   Solid blue band: heading + text on the left, icon/image on the right.
   ========================================================================== */

.section-info-band {
  background-color: var(--sky-blue);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem);
}

.section-info-band .info-band-row {
  --col-gap: 2rem;
  row-gap: var(--col-gap);
}

.section-info-band .info-band-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
}

.section-info-band .info-band-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.section-info-band .info-band-text p {
  margin-bottom: .75rem;
}

.section-info-band .info-band-text p:last-child {
  margin-bottom: 0;
}

/* --- Image ------------------------------------------------------------- */
.section-info-band .info-band-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.section-info-band .info-band-media img {
  max-width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  display: block;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .section-info-band .info-band-media {
    justify-content: flex-start;
  }

  .section-info-band .info-band-media img {
    max-height: 120px;
  }
}

/* ==========================================================================
   Machining Support (tabbed)
   Left: heading + image + intro + benefits list.
   Right: navy tabbed panel (Gallery / Materials / Machines) with 3 cards each.
   ========================================================================== */

.section-machining-support .machining-row {
  --col-gap: 2.5rem;
  row-gap: var(--col-gap);
  align-items: flex-start;
}

/* ==========================================================================
   Left column
   ========================================================================== */

.section-machining-support .machining-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.section-machining-support .machining-left-inner {
  --inner-gap: 1.5rem;
  row-gap: var(--inner-gap);
}

.section-machining-support .machining-left-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-machining-support .machining-left-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
  margin-bottom: 1.25rem;
}

.section-machining-support .machining-left-text p {
  margin-bottom: .75rem;
}

.section-machining-support .machining-left-text p:last-child {
  margin-bottom: 0;
}

.section-machining-support .machining-benefits-label {
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
  margin-bottom: .75rem;
}

.section-machining-support .machining-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-machining-support .machining-benefits li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .5rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
}

.section-machining-support .machining-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #555;
}

/* ==========================================================================
   Right column: tabs
   ========================================================================== */

.section-machining-support .machining-tabs-nav {
  display: flex;
  gap: 7px;
}

.section-machining-support .machining-tab {
  flex: 1 1 0;
  padding: 1rem .75rem;
  background-color: #e9eaeb;
  color: #333;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
  border: none;
  border-top: 5px solid transparent;
  cursor: pointer;
  /* transition: background-color .3s ease, color .3s ease; */
  border-bottom: 7px solid white;
}

.section-machining-support .machining-tab.is-active {
  background-color: var(--dark-midnight-blue);
  color: var(--white);
  border-top-color: var(--sky-blue);
  border-bottom: 7px solid var(--dark-midnight-blue);
}

/* Panel body */
.section-machining-support .machining-tabs-body {
  background-color: var(--dark-midnight-blue);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}

.section-machining-support .machining-panel {
  display: none;
}

.section-machining-support .machining-panel.is-active {
  display: block;
}

/* --- Cards ------------------------------------------------------------- */
.section-machining-support .machining-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-machining-support .machining-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.section-machining-support .machining-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: .85rem;
  display: block;
}

.section-machining-support .machining-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.section-machining-support .machining-card:hover .machining-card-media img,
.section-machining-support .machining-card:focus .machining-card-media img {
  transform: scale(1.05);
}

.section-machining-support .machining-card-name {
  color: var(--white);
  font-size: 16px;
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
}

.section-machining-support .machining-card-sub {
  color: rgba(255, 255, 255, .8);
  font-size: var(--fs-p-small);
  line-height: var(--lh-p-small);
  margin-top: .15rem;
}

/* --- Button ------------------------------------------------------------ */
.section-machining-support .machining-tab-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 26px;
  background-color: var(--white);
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  border-radius: 100px;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}

.section-machining-support .machining-tab-btn:hover,
.section-machining-support .machining-tab-btn:focus {
  background-color: var(--sky-blue);
  color: var(--white);
  text-decoration: none;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-machining-support .machining-cards {
    gap: .5rem;
  }

  .section-machining-support .machining-tab {
    padding: .75rem .5rem;
    font-size: var(--fs-p-small);
  }

  .section-machining-support .machining-card-name {
    font-size: var(--fs-p-small);
  }
}


/* ==========================================================================
   Machine Listing (tabbed + popup)
   Category tabs (active = sky blue pill), grey machine rows with a "View
   Details" pill, and a two-column details popup.
   ========================================================================== */

.section-machine-listing .machine-listing-title {
  color: var(--sky-blue);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* --- Tabs -------------------------------------------------------------- */
.section-machine-listing .machine-listing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-machine-listing .machine-tab {
  padding: 8px 22px;
  background-color: transparent;
  color: #333;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}

.section-machine-listing .machine-tab:hover,
.section-machine-listing .machine-tab:focus {
  color: var(--sky-blue);
}

.section-machine-listing .machine-tab.is-active {
  background-color: var(--sky-blue);
  color: var(--white);
}

/* --- Rows -------------------------------------------------------------- */
.section-machine-listing .machine-listing-rows {
  transition: opacity .25s ease;
}

.section-machine-listing.is-loading .machine-listing-rows {
  opacity: .5;
  pointer-events: none;
}

.section-machine-listing .machine-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.section-machine-listing .machine-row:last-child {
  margin-bottom: 0;
}

.section-machine-listing .machine-row-name {
  flex: 1 1 auto;
  min-width: 0;
  background-color: #f2f3f4;
  padding: 1rem 1.25rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #333;
}

.section-machine-listing .machine-row-action {
  flex: 0 0 auto;
}

/* Outlined blue pill button */
.section-machine-listing .machine-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: transparent;
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
  border: 1px solid var(--sky-blue);
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}

.section-machine-listing .machine-view-btn:hover,
.section-machine-listing .machine-view-btn:focus {
  background-color: var(--sky-blue);
  color: var(--white);
}

.section-machine-listing .machine-listing-empty {
  text-align: center;
  color: #666;
  padding: 2rem 0;
}


/* ==========================================================================
   Machine popup
   ========================================================================== */

.machine-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.machine-popup.is-open {
  display: flex;
}

.machine-popup-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 37, 66, .7);
}

.machine-popup-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  background-color: #f2f3f4;
  border-radius: 8px;
  overflow: hidden;
  overflow-y: hidden;
  overflow-y: hidden;
  max-height: 80vh;
  overflow-y: auto;
}

.machine-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  background-color: var(--sky-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.machine-popup-close::before,
.machine-popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: var(--white);
}

.machine-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.machine-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Left: details ----------------------------------------------------- */
.machine-popup-details {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.machine-popup-heading {
  color: var(--sky-blue);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-regular);
  margin-bottom: 1.5rem;
}

.machine-popup-field {
  background-color: var(--white);
  padding: .85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

.machine-popup-label {
  color: #333;
  font-weight: var(--fw-bold);
  margin-right: .35rem;
}

.machine-popup-value {
  color: #555;
}

.machine-popup-desc {
  background-color: var(--white);
  padding: 1rem;
}

.machine-popup-desc-label {
  color: #333;
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
}

.machine-popup-desc-body {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
}

.machine-popup-desc-body p {
  margin-bottom: 1rem;
}

.machine-popup-desc-body p:last-child {
  margin-bottom: 0;
}

/* --- Right: image ------------------------------------------------------ */
.machine-popup-media {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-popup-media img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background-color: var(--white);
  border-radius: 8px;
  display: block;
}

body.machine-popup-active {
  overflow: hidden;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767.98px) {
  .machine-popup-media {
    order: -1;
  }
}

@media (max-width: 575.98px) {
  .section-machine-listing .machine-row {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .section-machine-listing .machine-view-btn {
    width: 100%;
  }

  .section-machine-listing .machine-listing-tabs {
    gap: .5rem 1rem;
  }
}

/* ==========================================================================
   Sustainability
   ========================================================================== */


.page-sustainability .section-image-content .image-content-title,
.page-sustainability .section-content-grid .content-grid-card--light .content-grid-title {
  color: var(--eco-green);
}

.page-sustainability .footer-newsletter {
  background-color: var(--eco-green);
}




/* ==========================================================================
   Card buttons (popup triggers) — reset native button chrome
   APPEND to style.css. The slider cards (.team-card) and machining-support
   cards (.machining-card) are now <button> elements so they can open the
   detail popup. Strip default button styling and keep the pointer cursor.
   ========================================================================== */

button.team-card,
button.machining-card {
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  text-align: inherit;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* ==========================================================================
   Search Results Page
   Header (title + count + search box), a list of result cards, and pagination.
   ========================================================================== */

.section-search-results {
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem);
}

/* --- Header ------------------------------------------------------------ */
.section-search-results .search-results-header {
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-search-results .search-results-title {
  color: var(--sky-blue);
  margin-bottom: .5rem;
}

.section-search-results .search-results-title span {
  color: var(--dark-midnight-blue);
}

.section-search-results .search-results-count {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #777;
  margin-bottom: 1.5rem;
}

/* Search box on the results page */
.section-search-results .search-results-form .search-form {
  position: relative;
  display: flex;
  max-width: 560px;
}

.section-search-results .search-results-form .search-field {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 56px 12px 20px;
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #333;
  background-color: #f2f3f4;
  border: 1px solid #e2e2e2;
  border-radius: 100px;
}

.section-search-results .search-results-form .search-field:focus {
  outline: none;
  border-color: var(--sky-blue);
}

.section-search-results .search-results-form .search-submit {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: var(--sky-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Magnifier icon drawn in CSS on the submit button */
.section-search-results .search-results-form .search-submit::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.section-search-results .search-results-form .search-submit::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 21px;
  width: 7px;
  height: 2px;
  background-color: var(--white);
  transform: rotate(45deg);
  transform-origin: left center;
}

/* --- Result cards ------------------------------------------------------ */
.section-search-results .search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-search-results .search-result {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  background-color: #f7f7f7;
  padding: 1.25rem;
  text-decoration: none;
  transition: background-color .3s ease, transform .3s ease;
}

.section-search-results .search-result:hover,
.section-search-results .search-result:focus {
  background-color: #eef6fc;
}

.section-search-results .search-result-media {
  flex: 0 0 200px;
  max-width: 200px;
  overflow: hidden;
}

.section-search-results .search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.section-search-results .search-result:hover .search-result-media img,
.section-search-results .search-result:focus .search-result-media img {
  transform: scale(1.05);
}

.section-search-results .search-result-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-search-results .search-result-type {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: .5rem;
  background-color: var(--sky-blue);
  color: var(--white);
  font-size: var(--fs-p-small);
  line-height: var(--lh-p-small);
  border-radius: 100px;
}

.section-search-results .search-result-title {
  color: var(--dark-midnight-blue);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
}

.section-search-results .search-result-excerpt {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #666;
  margin-bottom: .75rem;
}

.section-search-results .search-result-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  color: var(--sky-blue);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  font-weight: var(--fw-bold);
}

/* --- No results -------------------------------------------------------- */
.section-search-results .search-results-none-text {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: #555;
}

/* --- Pagination -------------------------------------------------------- */
.section-search-results .search-results-pagination {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-search-results .search-results-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 4px;
  background-color: #f2f3f4;
  color: #333;
  font-size: var(--fs-p);
  line-height: 1;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}

.section-search-results .search-results-pagination .page-numbers:hover,
.section-search-results .search-results-pagination .page-numbers.current {
  background-color: var(--sky-blue);
  color: var(--white);
}

.section-search-results .search-results-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 575.98px) {
  .section-search-results .search-result {
    flex-direction: column;
    gap: 1rem;
  }

  .section-search-results .search-result-media {
    flex: 0 0 auto;
    max-width: 100%;
    height: 180px;
  }
}


section.error-404 {
  padding: 100px 0;
}