/*
Theme Name: Ansadaan
Author: Obaro Egbane
Version: 1.0
*/

@layer {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
		background-repeat: no-repeat;
	}

	* {
		padding: 0;
		margin: 0;
	}

	html {
		-webkit-text-size-adjust: none;
		text-size-adjust: none;
		line-height: 1.5;
		-webkit-font-smoothing: antialiased;
        block-size: 100%;
	}

	body {
		min-block-size: 100%;
	}

	img,
	iframe,
	audio,
	video,
	canvas {
		display: block;
		max-inline-size: 100%;
		block-size: auto;
	}

	svg {
		max-inline-size: 100%;
	}

	svg:not([fill]) {
		fill: currentColor;
	}

	input,
	button,
	textarea,
	select {
		font: inherit;
	}

	textarea {
		resize: vertical;
	}

	fieldset,
	iframe {
		border: none;
	}

	p,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		overflow-wrap: break-word;
	}

	p {
		text-wrap: pretty;
		font-variant-numeric: proportional-nums;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-variant-numeric: lining-nums;
	}

	p,
    blockquote,
    q,
    figcaption,
    li {
        hanging-punctuation: first allow-end last;
    }

	input,
	label,
	button,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
        line-height: 1.1;
    }

	math,
	time,
	table {
		font-variant-numeric: tabular-nums lining-nums slashed-zero;
	}

	code {
		font-variant-numeric: slashed-zero;
	}

	table {
		border-collapse: collapse;
	}

	abbr {
		font-variant-caps: all-small-caps;
		text-decoration: none;

		&[title] {
			cursor: help;
			text-decoration: underline dotted;
		}
	}

	sup,
	sub {
		line-height: 0;
	}

	:disabled {
		opacity: 0.8;
		cursor: not-allowed;
	}

	:focus-visible {
		outline-offset: 0.2rem;
	}
}

:root {
  
/*---------- Fonts ----------*/

  /* Primary font → clean modern sans */
  --ff-primary: 'Roboto', Arial, Helvetica, sans-serif;

  /* Secondary font → flexible display/headline font */
  --ff-secondary: 'Space Grotesk', 'Roboto', Arial, Helvetica, sans-serif;

/*---------- Font Sizes ----------*/

  /* 14.8px */
  --fs-14-8: 0.925rem;

  /* 15.2px */
  --fs-15-2: 0.95rem;

  /* 16px */
  --fs-16: 1rem;

  /* 1.125rem */
  --fs-18: 1.125rem;

  /* 1.25rem */
  --fs-20: 1.25rem;

  /* 22px */
  --fs-22: 1.375rem;

  /* 24px */
  --fs-24: 1.5rem;

  /* 26px */
  --fs-26: 1.625rem;

  /* 28px */
  --fs-28: 1.75rem;

  /* 32px */
  --fs-32: 2rem;

  /* 36px */
  --fs-36: 2.25rem;

  /* 38px */
  --fs-38: 2.375rem;

  /* 2.5rem */
  --fs-40: 2.5rem;

  /* 42px */
  --fs-42: 2.625rem;

  /* 48px */
  --fs-48: 3rem;

  /* 3.125rem */
  --fs-50: 3.125rem;

  /* 60px */
  --fs-60: 3.75rem;

  /* 100px */
  --fs-100: 6.25rem;

  /* 125px */
  --fs-125: 7.8125rem;

   /* 150px */
  --fs-150: 9.375rem;

  /* 12.5rem */
  --fs-200: 12.5rem;


/*---------- Font Width ----------*/

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

/*---------- Colors ----------*/

  --color-black: #020202;
  --color-black-text: #231f20;
  --color-grey: #3b3f46;
  --color-light-grey: #a7a8ad;
  --color-red: #ec1c24;
  --color-white: #ffffff;
  --color-subtle-flax: #efe9c9;
  --color-flax: #eae2b7;
  --color-olive-muted: #989586;
  --color-brown: #bfab67; 
  --color-green: #1e7e34;
  --color-light-green: #e6f9ed;
  --color-dark-green: #01161e;
  --color-dark-green-alt: #0d1821; 
  --color-dark-green-extra: #010a0e;
}

/*---------- Foundational Styles ----------*/

body {
  font-family: var(--fs-primary);
  font-size: 16px;
  color: var(--color-black-text);
  background-color: var(--color-white);
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-secondary); 
}

p, a, span, li, button, input, textarea {
  font-family: var(--ff-primary); 
}

/*---------- Container ----------*/

.container {
  max-width: 1250px;
  padding-inline: 1rem !important;
  margin-inline: auto;
}

.container-alt {
  max-width: 1250px;
  margin-inline: auto;
}

/*---------- Header ----------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-flax);
  border-bottom: 1px solid var(--color-olive-muted);
  transition: box-shadow .3s ease; 
}

.site-header.scrolled {
  border-bottom: 0;
  box-shadow: 1.5px 1px 0.938rem rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.563rem;
}

.site-logo a img {
  width: 7rem;
}

/*---------- Navigation ----------*/

.main-navigation {
  position: relative;
  z-index: 999;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  width: calc(100% - 1.875rem);
  margin-inline: auto;
}

.main-navigation li:not(:last-child) {
  border-bottom: 1px solid var(--color-white);
}

.menu-link {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  font-family: var(--ff-primary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-white);
  padding: 0.938rem 0;
}

.main-navigation > ul {
  position: fixed;
  top: 105px;
  left: 0;
  width: 100%;
  height: calc(100vh - 9.375rem);
  background-color: var(--color-red);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform .35s ease;
  z-index: 999;
}

.main-navigation.open > ul {
  transform: translateX(0);
}

/* Mobile sliding submenu */
.sub-menu {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: calc(100vh - 9.375rem);
  background-color: var(--color-red);
  overflow-y: auto;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.sub-menu.active {
  transform: translateX(-100%);
}

.menu .menu-item-has-children > a,
.sub-menu .menu-item-has-children > a {
  display: grid;
  grid-template-columns: 1fr 1.25rem; 
  align-items: center;              
  column-gap: 0.625rem;                
}

.back-button {
  display: flex;
  align-items: center;
  font-size: var(--fs-18);
  text-align: left;
  color: var(--color-white);
  width: calc(100% - 1.875rem);
  margin-inline: auto;
  padding: 0.875rem 0.938rem;
  padding: 0.938rem 0.938rem;
  padding: 0.938rem 0;
  background-color: var(--color-red);
  border: 0;
  border-bottom: 1px solid var(--color-white);
  outline: 0;
  cursor: pointer;
}

.back {
  display: inline-flex;
  align-items: center;
}

.back-button-chevron {
  width: 0.938rem;
  height: 0.938rem;
  margin-left: 0.125rem;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
  display: block;
  flex: 0 0 auto;
}

.back-text {
  display: inline-block;
  line-height: 1;
}

body.menu-open {
  overflow: hidden;
}

/*---------- Hamburger ----------*/

.menu-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 1.094rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 0.125rem;
  background-color: var(--color-red);
  transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle span:nth-child(1) { top: 0.75rem; }
.menu-toggle span:nth-child(2) { top: 1.188rem; }
.menu-toggle span:nth-child(3) { top: 1.625rem; }

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*---------- Arrow ----------*/

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
}

.chevron-down {
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 0.4s ease-out;
}

/*---------- Homepage Hero ----------*/

.hero {
  background-color: var(--color-flax);
}

.hero-container {
  max-width: 1250px;
  margin-inline: auto;
  padding: 3.125rem 1rem;
}

.hero-content {
  margin-bottom: 2.5rem;
}

.hero-content-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-text h1 {
  text-align: center;
  font-size: var(--fs-38);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  color: var(--color-dark-green);
  margin-bottom: 1.25rem;
}

.hero-content-text p {
  text-align: center;
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 1.563rem;
}

.hero-content-text a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

.hero-image {
  height: 22.188rem;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/*---------- Systems ----------*/

.systems {
  background-color: var(--color-dark-green-extra);
}

.systems-container {
  padding: 3.125rem 0 4.063rem 0;
}

.systems-text-heading {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.systems-text-heading h2 {
  text-align: center;
  font-size: var(--fs-24);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.4;
  margin-bottom: 1.563rem;
}

.systems-text-details-paragraph p {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  color: var(--color-flax);
  margin-bottom: 1.563rem;
  padding: 0 1rem 2.188rem 1rem;
  border-bottom: 1px solid var(--color-brown);
}

.systems-list-items {
  list-style: none;
  color: var(--color-flax); 
  padding: 0 1rem;
}

.systems-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  padding: 1.094rem 0;
  border-bottom: 1px solid var(--color-grey);
}

.systems-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  color: var(--color-brown);
  margin-right: 0.313rem;
}

.systems-text-details-extra {
  display: flex;
  justify-content: center;
  padding: 3.125rem 1rem 0 1rem;
}

.systems-text-details-extra a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

/*---------- Testimonials ----------*/

.testimonials {
  background-color: var(--color-dark-green);
}

.testimonials-container {
  padding: 3.125rem 1rem 3.75rem 1rem;
}

.testimonials-container h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 0.938rem;
}

.testimonial-one {
  margin-bottom: 1.563rem;
  padding-bottom: 1.563rem;
  border-bottom: 1px solid var(--color-grey);
}

.testimonial-two {
  margin-bottom: 2.188rem;
}

.testimonial-text {
  color: var(--color-white);
}

.testimonial-text p.testimonial {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-bottom: 0.938rem;
}

.testimonial-text p.endorser-name {
  text-align: center;
  font-size: var(--fs-15-2);
  font-weight: var(--fw-medium);
  color: var(--color-brown);
}

.testimonials-container .testimonial-image {
  height: 22.188rem;
  overflow: hidden;
}

.testimonials-container .testimonial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*---------- Services ----------*/

.services {
  background-color: var(--color-black);
  background-image: url("../ansadaan/assets/images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.services-container {
  padding: 3.125rem 1rem;
}

.services-intro-heading h2 {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.4;
  margin-bottom: 0.938rem;
}

.services-intro-paragraph p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.7;
  margin-bottom: 1.875rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.875rem;
}

.services-grid .card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 2.188rem;
  background-color: var(--color-dark-green);
  border-radius: 5px;
}

/* Same starting position for all paragraphs */
.services-grid .card h3 {
  margin: 0 0 1.25rem;
  min-height: 3.75rem; /* accommodates wrapped headings */
  font-family: var(--ff-primary);
  font-size: var(--fs-22);
  font-weight: var(--fw-medium);
  color: var(--color-flax);
  line-height: 1.2;
}

.services-grid .card p {
  margin: 0;
  color: var(--color-flax);
  font-size: var(--fs-16);
  line-height: 1.7;
}

/* Push link/date to bottom */
.services-grid .card a {
  position: relative;
  margin-top: auto;
  padding-top: 3.125rem; /* creates the 1.563rem gap above the bottom */
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-weight: var(--fw-medium);
  color: var(--color-brown);
}

.service-chevron {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-left: 2px;
  border-top: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
  transform: rotate(45deg);
}

/*---------- News ----------*/

.news-container {
  padding: 3.125rem 1rem;
}

.news-intro-heading h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-black-text);
  line-height: 1.4;
  margin-bottom: 0.938rem;
}

.news-intro-paragraph p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-black-text);
  line-height: 1.7;
  margin-bottom: 1.563rem;
}
.news-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.563rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 5px;
}

.news-item .item-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.news-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.news-item .item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.563rem;
  border: 1px solid var(--color-olive-muted);
  border-radius: 0 0 5px 5px;
}

.news-item .item-text h3 {
  margin: 0 0 0.938rem;
  font-family: var(--ff-primary);
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

.news-item .item-text h3 a {
  text-decoration: none;
  color: var(--color-dark-green);
}

.news-item .item-text p {
  margin: 0;
  font-size: var(--fs-18);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .item-text p a {
  text-decoration: none;
  color: var(--color-black-text);
}

/* Date pushed to bottom */
.news-item .item-text .item-date {
  position: relative;
  margin-top: auto;
  padding-top: 3.125rem;
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
}

/* Red bar */
.news-item .item-text .item-date::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background-color: var(--color-red);
}

.blog-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.188rem;
}

.blog-link a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

/*---------- CTA ----------*/

.cta {
  background-color: var(--color-black);
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 1rem 2.188rem 1rem;
}

.cta-container h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-flax);
  color: var(--color-red);
  line-height: 1.4;
  margin-bottom: 0.938rem;
}

.cta-container p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-flax);
}

.cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2.813rem 1rem 3.75rem 1rem;
  border-top: 1px solid var(--color-grey);
}

.cta-container a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

/*---------- About Us ----------*/

.about-hero {
  background-color: var(--color-dark-green);
}

.about-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.063rem 0 2.5rem 0;
}

.about-hero-container h1 {
  text-align: center;
  font-size: var(--fs-50);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  width: 100%;
  margin-bottom: 2.813rem;
  padding-bottom: 2.813rem;
  border-bottom: 1px solid var(--color-grey);
}

.about-hero-container p {
  text-align: center;
  font-size: var(--fs-20);
  color: var(--color-flax);
  line-height: 1.9;
  padding: 0 1rem;
}

.mission {
  background-color: var(--color-dark-green);
}

.mission-image {
  height: 22.188rem;
  padding: 0 1rem;
  overflow: hidden;
}

.mission-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
}

.mission-text {
  padding: 2.813rem 1rem 2.188rem 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.mission-text h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  margin-bottom: 0.938rem;
}

.mission-text-paragraphs p {
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.8;
}

.mission-text-paragraphs p:first-child {
  margin-bottom: 1.25rem;
}

.mission-text-extra {
  display: flex;
  justify-content: center;
  padding: 2.813rem 1rem 3.125rem 1rem;
}

.mission-text-extra a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

.clients {
  background-color: var(--color-brown);
}

.clients-container {
  padding: 3.125rem 0 2.5rem 0;
}

.clients-text-heading {
  padding: 0 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.clients-text-heading h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  margin-bottom: 2.813rem;
}

.clients-text-details {
  padding: 2.188rem 1rem 0 1rem;
}

.clients-text-details-paragraph {
  display: flex;
  align-items: center;
}

.clients-text-details-paragraph p {  
  text-align: center;
  font-size: var(--fs-24);
  color: var(--color-flax);
  color: var(--color-dark-green);
  margin-bottom: 0.938rem;
}

.client-list-items {
  list-style: none;
  color: var(--color-dark-green); 
}

.client-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  padding: 1.094rem 0;
}

.client-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.client-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  margin-right: 0.313rem;
}

.industries {
  background-color: var(--color-flax);
}

.industries-container {
  padding: 4.063rem 1rem;
}

.industries-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industries-text h2 {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.industries-text p {
  position: relative;
  text-align: center;
  font-size: var(--fs-20);
  line-height: 1.8;
  margin-bottom: 0.938rem;
  padding-bottom: 1.563rem; 
}

.industries-text p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 4px;
  background-color: var(--color-red);
}

.industries-list-items {
  list-style: none;
  width: 100%;
  margin-bottom: 0.938rem;
}

.industries-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  padding: 1.094rem 0;
}

.industries-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.industries-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  margin-right: 0.313rem;
}

.industries-image {
  height: 22.188rem;
  overflow: hidden;
}

.industries-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.management-systems {
  background-color: var(--color-black);
}

.management-systems-container {  
  padding: 4.063rem 0;
}

.management-systems-text-heading {
  border-bottom: 1px solid var(--color-grey);
}

.management-systems-text-heading h2 {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 2.813rem;
}

.management-systems-text-details {
  padding: 2.5rem 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.management-systems-text-details-paragraph p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-subtle-flax);
  line-height: 1.8;
  margin-bottom: 1.563rem;
}

.management-systems-list-items {
  list-style: none;
}

.management-systems-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  color: var(--color-subtle-flax);
  padding: 1.094rem 0;
}

.management-systems-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.management-systems-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  color: var(--color-brown);
  margin-right: 0.313rem;
}

.management-systems-text-extra {
  padding: 2.5rem 1rem 0 1rem;
}

.management-systems-text-extra p {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  color: var(--color-brown);
}

.qhse-services {
  background-color: var(--color-flax);
}

.qhse-services-container {
  padding: 3.125rem 1rem 0.938rem 1rem;
}

.qhse-services-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhse-services-text h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  width: 80%;
  margin-bottom: 1.25rem;
}

.qhse-services-text p {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-bottom: 1.563rem;
}

.qhse-services-image {
  height: 22.188rem;
  overflow: hidden;
}

.qhse-services-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.procurement-and-manpower {
  background-color: var(--color-flax);
}

.procurement-and-manpower-container {
  display: flex;
  flex-direction: column;
  padding: 0.938rem 1rem 4.063rem 1rem;
}

.procurement-and-manpower-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.procurement-and-manpower-text h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  width: 80%;
  margin-bottom: 1.25rem;
}

.procurement-and-manpower-text p {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-bottom: 2.188rem;
}

.procurement-and-manpower-image {
  order: 1;
  height: 22.188rem;
  overflow: hidden;
}

.procurement-and-manpower-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.training-and-workforce {
  background-color: var(--color-dark-green-extra);
}

.training-and-workforce-container {
  padding: 3.125rem 0 2.188rem 0;
}

.training-and-workforce-text {
  order: 1;
}

.training-and-workforce-text-heading h2 {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 2.813rem;
}

.training-and-workforce-details {
  display: flex;
  flex-direction: column;
}

.training-and-workforce-text {
  display: flex;
  flex-direction: column;
  padding: 1.875rem 1rem 0 1rem;
}

.training-and-workforce-text p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-subtle-flax);
  line-height: 1.8;
  margin-bottom: 0.938rem;
}

.training-and-workforce-list-items {
  list-style: none;
}

.training-and-workforce-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  color: var(--color-subtle-flax);
  padding: 1.094rem 0;
}

.training-and-workforce-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.training-and-workforce-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  color: var(--color-brown);
  margin-right: 0.313rem;
}

.training-and-workforce-image {
  height: 22.188rem;
  padding: 0 1rem;
  overflow: hidden;
}

.training-and-workforce-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/*---------- Services Page ----------*/

.service-hero {
  background-color: var(--color-flax);
}

.service-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.125rem 1rem;
}

.service-hero-container h1 {
  text-align: center;
  font-size: var(--fs-36);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  line-height: 1.2;
  margin-bottom: 1.563rem;
}

.service-hero-container p {
  text-align: center;
  font-size: var(--fs-20);
  line-height: 1.8;
}

.service-hero-container p a {
  color: var(--color-black-text);
}

.service-stack {
  background-color: var(--color-white);
}

.service-stack-container {
  padding: 3.125rem 0 4.0625rem 0;
}

.stack-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.stack-text h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  line-height: 1.2;
  margin-bottom: 1.563rem;
}

.stack-text p {
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-bottom: 25px;
}

.stack-image {
  padding: 0 1rem;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.stack-image-container {
  height: 22.188rem;
  overflow: hidden;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.stack-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.service-extra-details {
  background-color: var(--color-dark-green);
}

.service-extra-text {
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.service-extra-text:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.service-extra-text-container {
  padding: 3.125rem 0;
}

.service-text {
  padding: 0 1rem;
}

.service-text h2 {
  text-align: center;
  font-size: var(--fs-26);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 0.625rem;
}

.service-text p {
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.9;  
}

.service-text p.margin-bottom {
  margin-bottom: 1.25rem;
}

.service-list-items {
  list-style: none;
  color: var(--color-flax); 
  width: 100%;
  margin-bottom: 1.563rem;
  padding: 0.625rem 1.563rem;
  border: 1px solid var(--color-grey);
  border-radius: 10px;
}

.service-list-items li {
  display: flex;
  align-items: baseline;
  font-size: var(--fs-18);
  padding: 1.094rem 0;
}

.service-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.service-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  color: var(--color-brown);
  margin-right: 0.313rem;
}

.service-cta {
  background-color: var(--color-dark-green-extra);
}

.service-cta-container {
  padding: 3.125rem 0;
}

.service-text-cta {
  padding: 0 1rem;
}

.service-text-cta h2 {
  position: relative;
  text-align: center;
  font-size: var(--fs-26);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 0.938rem;
  padding-bottom: 1.563rem; 
}

.service-text-cta h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 4px;
  background-color: var(--color-red);
}

.service-text-cta p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.9;  
  margin-bottom: 2.188rem;
}

.service-text-cta a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  width: 100%;
  padding: 0.938rem 1.563rem;
  background-color: var(--color-red);
  border-radius: 5px;
}

/*---------- Privacy Policy ----------*/

.privacy-policy-hero {
  background-color: var(--color-dark-green);
}

.privacy-policy-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.125rem 1rem;
}

.privacy-policy-hero-container h1 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 1.563rem;
}

.privacy-policy-text:not(:last-child) {
  border-bottom: 1px solid var(--color-light-grey);
}

.privacy-policy-text-container {
  padding: 3.125rem 1rem;
}

.privacy-policy-text-container h2 {
  text-align: center;
  font-size: var(--fs-26);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  line-height: 1.2;
  margin-bottom: 0.938rem;
}

.privacy-policy-text-container p {
  font-size: var(--fs-18);
  line-height: 1.8;
}

.privacy-policy-contact {
  background-color: var(--color-dark-green);
}

.privacy-policy-contact-container {
  padding: 3.125rem 1rem;
}

.privacy-policy-contact-text h2 {
  text-align: center;
  font-size: var(--fs-26);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  line-height: 1.2;
  margin-bottom: 0.938rem;
}

.privacy-policy-contact-text p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.8;
}

.privacy-policy-contact-details {
  display: flex;
  flex-direction: column;
  row-gap: 0.938rem;
  margin-top: 1.563rem;
}

.privacy-policy-contact-details p {
  display: flex;
  flex-direction: column;
 font-size: var(--fs-16);
}

.privacy-policy-contact-details p .bold {
  font-weight: var(--fw-bold);
}

/*---------- Footer ----------*/

footer {
  background-color: var(--color-brown);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.75rem 0;
}

.footer-container img {
  width: 12.5rem;
  margin-bottom: 3.125rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-grid h4 {
  text-align: center;
  font-family: var(--ff-primary);
  font-size: var(--fs-18);
  font-weight: var(--fw-medium);
  margin-bottom: 0.938rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid .footer-links:first-child ul {
  margin-bottom: 1.563rem;
}

.footer-grid ul li {
  text-align: center;
}

.footer-grid ul li:not(:last-child) {
  margin-bottom: 0.625rem;
}

.footer-grid ul li a {
  text-decoration: none;
  font-size: var(--fs-18);
  color: var(--color-black-text);
}

.footer-grid ul li a:hover {
  text-decoration: underline;
}

.footer-panel {
  background-color: var(--color-black);
}

.footer-panel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.125rem 0;
}

.copyright {
  order: 1;
}

.copyright p {
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  color: var(--color-flax);
}

.footer-socials {
  display: flex;
  gap: 14px;
  order: 0;
  position: relative;
  margin-bottom: 1.563rem;
  padding-bottom: 2rem; 
}

.footer-socials::after {
  content: "";
  position: absolute;
  left: 50%; 
  transform: translate(-50%, -50%);
  bottom: 0; 
  width: 4.688rem;
  height: 2px;
  background-color: var(--color-red);
}

.footer-socials a {
  display: inline-flex;
}

.social-icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--color-subtle-flax);
  transition: fill 0.2s ease;
}

.footer-socials a:hover .social-icon {
  fill: var(--color-brown);
}

/*---------- Partners ----------*/

.partners-container {
  padding-bottom: 3.125rem;

}

.partners-header {
  margin-bottom: 3.125rem;
  padding: 3.125rem 1rem;
  border-bottom: 1px solid var(--color-light-grey);
}

.partners-header h2 {
  position: relative;
  text-align: center;
  font-size: var(--fs-26);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  padding-bottom: 2.188rem;
}

.partners-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.125rem;
  height: 4px;
  background-color: var(--color-red);
}

.partners-swiper {
  position: relative;
  padding-inline: 3.75rem;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );

  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.partners-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.partners-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.partners-swiper .swiper-slide img {
  width: 105px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Single Post ---------- */

.post-single {
  max-width: 60rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 6rem 1.25rem;
}

.post-title {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: 400;
  color: var(--color-dark-green);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.post-meta {
  text-align: center;
  font-size: var(--fs-14-8);
  line-height: 1.5;
  margin-bottom: 1.875rem;
}

.post-meta a {
  color: var(--color-dark-green);
}

.post-tldr {
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-top: -0.25rem;
  margin-bottom: 1.75rem;
}

.post-tldr-acronym {
  font-family: var(--ff-primary);
  font-weight: var(--fw-medium);
}

.post-featured-image {
  width: 100%;
  height: clamp(12.5rem, 40vw, 31.25rem);
  margin-bottom: 1.563rem;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-header figcaption {
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  margin-top: 0.625rem;
}

.post-content figure figcaption,
.post-content .wp-caption-text {
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  margin-top: 0.625rem;
}

.post-content .wp-caption-text {
  margin-bottom: 0;
}

.post-content .wp-block-gallery.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem; 
}

.post-content {
  font-size: var(--fs-18);
  line-height: 1.8;
  margin-bottom: 3.125rem;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: var(--ff-secondary);
  color: var(--color-dark-green);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.5;
}

.post-content h2 {
  font-size: var(--fs-22);    
  font-weight: var(--fw-medium);
}

.post-content h3 {
  font-size: var(--fs-20); 
  font-weight: var(--fw-medium);
}

.post-content h4 {
  font-size: var(--fs-18);  
  font-weight: var(--fw-medium);
}

.post-content h5 {
  font-size: var(--fs-18); 
  font-weight: var(--fw-medium);
}

.post-content h6 {
  font-size: var(--fs-18);    
  font-weight: var(--fw-medium);
}

.post-content p:not(:last-child) {
  margin-bottom: 1.563rem;
}

.post-content p a {
  color: var(--color-dark-green);
}

.post-content p strong {
  font-weight: var(--fw-bold);
}

/* Base list styling */
.post-content ul,
.post-content ol {
  font-size: var(--fs-16);
  margin: 0 0 1.5rem 0;
  padding-left: 1.25rem;
}

.post-content li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Remove bottom margin on last item */
.post-content li:last-child {
  margin-bottom: 0;
}

/* Nested lists */
.post-content li > ul,
.post-content li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.25rem;
}

/* Second level */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
  margin-bottom: 0;
}

/* Optional visual tightening for deep nesting */
.post-content ul ul li,
.post-content ol ol li {
  font-size: var(--fs-16);
}

/* Navigation */
.nav-label-text {
  display: inline-block;
  font-family: var(--ff-secondary);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--color-dark-green);
  margin-bottom: 0.3125rem;
}

.content-card.next {
  order: 1; /* newer posts on the left */
}

.content-card.prev {
  order: 2; /* older posts on the right */
}

/* ---------- Archive ---------- */

.archive-page {
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.archive-title {
  text-align: center;
  font-family: var(--ff-secondary);
  font-size: var(--fs-40);
  font-weight: var(--fw-regular);
  color: var(--color-dark-green);
  line-height: 1.4;
  margin-bottom: 2.188rem;
}

.archive-intro {
  display: flex;
  justify-content: center;
}

.archive-intro p {
  position: relative;
  text-align: center;
  font-size: var(--fs-18);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-bottom: 2.188rem; 
}

.archive-intro p::after {
  content: "";
  position: absolute;
  left: 50%; 
  transform: translate(-50%, -50%);
  bottom: 0; 
  width: 6.25rem;
  height: 0.313rem;
  background-color: var(--color-red);
}

.explore-more-posts h2 {
  font-size: var(--fs-24);
  font-weight: var(--fw-medium);
  color: var(--color-dark-green);
  margin-bottom: 1.563rem;
}

.content-grid {
  display: flex;
  flex-direction: column;
  row-gap: 1.563rem;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 21.875rem;
  border: 1px solid var(--color-light-grey);
  border-radius: 5px;
  overflow: hidden; 
}

.content-card-image {
  display: block;
}

.content-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.content-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  border-top: 1px solid var(--color-light-grey);
}

.content-card-title {
  font-size: var(--fs-20);
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.content-card-title a {
  text-decoration: none;
  font-weight: var(--fw-medium);
  color: var(--color-dark-green);
}

.content-card-meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--color-dark-green);
}

.meta-separator {
  margin: 0 0.375rem;
}

/* Archive navigation */
.archive-nav {
  display: flex;
  justify-content: space-between;
  margin: 3.125rem 0 2.188rem 0;
}

.archive-nav span {
  display: inline-block;
}

.archive-nav a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-15-2);
  font-weight: var(--fw-medium);
  color: var(--color-dark-green);
  width: 6.25rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-light-grey);
  border-radius: 5px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.archive-nav a:hover {
  color: var(--color-flax);
  background-color: var(--color-dark-green);
  border: 1px solid var(--color-dark-green);
}

.archive-nav {
  display: flex;
  justify-content: space-between;
}

.archive-next {
  order: 1; /* newer posts on the left */
}

.archive-prev {
  order: 2; /* older posts on the right */
}

/*---------- 404 ----------*/

.error-404 {
  background-color: var(--color-dark-green);
}

.error-404-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 0 1rem;
}

.error-404-container h1 {
  position: relative;
  font-size: var(--fs-125);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  margin-bottom: 2.813rem;
  padding-bottom: 0.938rem;
}

.error-404-container h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.125rem;
  height: 4px;
  background-color: var(--color-red);
}

.error-404-container p {
  text-align: center;
  color: var(--color-flax);
}

.error-404-container p a {
  color: var(--color-flax);
}

/* ---------- Contact ---------- */

.contact-heading {
  background-color: var(--color-dark-green);
}

.contact-heading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.125rem 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.contact-heading-container h1 {
  text-align: center;
  font-size: var(--fs-32);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  margin-bottom: 15px;
}

.contact-heading-container p {
  text-align: center;
  font-size: var(--fs-18);
  color: var(--color-flax);
  line-height: 1.7;
  margin-bottom: 0.938rem;
}

.contact-grid {
  background-color: var(--color-dark-green);
}

.contact-details {
  padding: 3.125rem 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.contact-block {
  text-align: center;
  color: var(--color-flax)
}

.contact-block:not(:last-child) {
  margin-bottom: 1.25rem;
}

.contact-block h2 {
  font-size: var(--fs-20);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  margin-bottom: 7.5px;
}

.contact-block a {
  text-decoration: none;
  color: var(--color-flax);
}

.contact-form-container {
  padding: 3.125rem 1rem;
  border-bottom: 1px solid var(--color-grey);
}

.contact-form-container h2 {
  position: relative;
  text-align: center;
  font-size: var(--fs-22);
  font-weight: var(--fw-regular);
  color: var(--color-brown);
  margin-bottom: 2.813rem;
  padding-bottom: 2.188rem;
}

.contact-form-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 4px;
  background-color: var(--color-red);
}

#contact-form {
  display: flex;
  flex-direction: column;
  row-gap: 0.938rem;
  padding: 1.563rem 0.938rem;
  background-color: var(--color-dark-green);
  border: 1px solid var(--color-grey);
  border-radius: 5px;
}

#contact-form label {
  display: inline-block;
  font-family: var(--ff-primary);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--color-flax);
  margin-bottom: 0.625rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 0;
  border-radius: 3.5px;
}

#contact-form textarea {
  min-height: 11.25rem;
  resize: vertical;
}

.double-fields {
  display: flex;
  flex-direction: column;
  row-gap: 0.938rem;
}

.field-left,
.field-right {
  flex: 1;
}

.submit-form {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark-green);
  width: 100%;
  padding: 1.125rem 1.125rem;
  background-color: var(--color-brown);
  border: 0;
  cursor: pointer;
}

#contact-form .success {
  font-family: var(--ff-primary);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  color: var(--color-green);
  margin-top: 0.625rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-light-green);
  border-left: 5px solid var(--color-green);
}

.error-field {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.error {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-olive-muted);
  margin-top: 0.625rem;
}

.contact-map-section {
  width: 100%;
}

.contact-map-section {
  background-color: var(--color-dark-green);
}

.contact-map-section-container {
  padding: 3.125rem 1rem;
}

.map-wrapper {
  aspect-ratio: 16 / 8;
  width: 100%;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Login ---------- */

.login-page {
  background-color: var(--color-dark-green);
}

.login-container {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  align-items: center;
  justify-content: center;
	padding: 4.688rem 1rem;
}

.form-container {
  color: var(--color-flax);
  padding: 2.188rem 1.25rem;
  background-color: var(--color-dark-green);
  border: 1px solid var(--color-dark-green-extra);
}

.form-container h1 {
  margin-bottom: 1.563rem;
}

.form-container form {
  display: flex;
  flex-direction: column;
  row-gap: 0.938rem;
}

.form-container form label {
  display: inline-block;
  font-family: var(--ff-primary);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  margin-bottom: 0.625rem;
}

.form-container form input {
  width: 100%;
  padding: 0.75rem;
}

.rememberme {
    line-height: 1 !important; 
    margin: 0.625rem 0;
}

.rememberme input[type="checkbox"] {
  position: relative;
  top: -1px; 
  vertical-align: middle !important;
  height: 1rem;
  width: 1rem;
  margin: 0 0.313rem 0 0 !important; 
  padding: 0 !important;
}

.rememberme label {
  display: inline-block !important;
  font-size: var(--fs-14-8) !important; 
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}

#login-submit {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark-green-alt);
  width: 100%;
  padding: 1.125rem 1.125rem;
  background-color: var(--color-brown);
  border: 0;
  cursor: pointer;
}

/* ---------- Login Errors ---------- */

.login-error {
  width: 100%;
}

.login-error .custom-form-error {
  font-family: var(--ff-primary);
	font-size: var(--fs-16);
	font-weight: var(--fw-medium);
  color: var(--color-flax);
	padding: 1.25rem 0.9375rem;
	background-color: var(--color-dark-green);
  border: 1px solid var(--color-dark-green-extra);
  border-left: 5px solid var(--color-brown);
  border-radius: 5px;
}

/*---------- Animation ----------*/

.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.js-enabled .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 35.5em /* 568px */) {

/*---------- Homepage Hero ----------*/

.hero-image img {
  transform: scale(1.2);
}

/*---------- News ----------*/

.news-item .item-image {
  aspect-ratio: 2 / 1;
}

/*---------- Services Page ----------*/

.stack-text h2 {
  width: 65%;
}

/* ---------- Archive ---------- */

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.563rem;
    align-items: stretch;
}

/*---------- 404 ----------*/

.error-404-container h1 {
  font-size: var(--fs-150);
}

/* ---------- Login ---------- */

.form-container {  
  width: 21.875rem;
}

/* ---------- Login Errors ---------- */

.login-error .custom-form-error {
  width: 21.875rem;
  margin-inline: auto;
}

/* ---------- Contact ---------- */

.submit-form {
  width: 15.625rem;
}

}

@media (max-width: 37.5em /* 600px */) {

/*---------- Partners ----------*/

.partners-swiper {
  padding-inline: 3.125rem;
}

.partners-swiper .swiper-slide img {
  width: 4.375rem;
}

}

@media (min-width: 40.625em /* 650px */) {

/*---------- Homepage Hero ----------*/

.hero-container {
  padding: 3.75rem 1rem;
}

.hero-content {
  margin-bottom: 3.125rem;
}

.hero-content-text h1 {
  text-align: center;
  font-size: var(--fs-50);
  width: 75%;
}

.hero-content-text p {
  font-size: var(--fs-20);
  width: 90%;
}

.hero-content-text a {
  width: 18.75rem;
}

.hero-image {
  height: 28.125rem;
}

/*---------- Systems ----------*/

.systems-text-heading h2 {
  font-size: var(--fs-32);
  width: 90%;
}

.systems-list-items {
  width: 85%;
  margin-inline: auto;
}

.systems-text-details-extra a {
  width: 18.75rem;
}

/*---------- Testimonials ----------*/

.testimonials-container h2 {
  font-size: var(--fs-32);
  margin-bottom: 1.563rem;
}

.testimonials-container .testimonial-image {
  height: 28.125rem;
}

/*---------- Services ----------*/

.services-container {
  padding: 3.125rem 1rem 4.063rem 1rem;
}

.services-intro-paragraph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-intro-paragraph p {
  width: 85%;
  margin-bottom: 2.188rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.188rem;
  row-gap: 2.188rem;
}

/*---------- News ----------*/

.news-intro-paragraph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-intro-paragraph p {
  width: 80%;
}

.blog-link a {
  width: 18.75rem;
}

/*---------- CTA ----------*/

.cta-text p {
  width: 85%;
}

.cta-container a {
  width: 18.75rem;
}

/*---------- About Us ----------*/

.mission-text-extra a {
  width: 18.75rem;
}

.client-list-items {
  width: 85%;
  margin-inline: auto;
}

.industries-list-items {
  width: 85%;
  margin-inline: auto;
}

.management-systems-list-items {
  width: 85%;
  margin-inline: auto;
}

.training-and-workforce-list-items {
  width: 85%;
  margin-inline: auto;
}

/*---------- Services Page ----------*/

.stack-image {
  padding: 0 0;
}

.stack-image-container {
  height: 31.25rem;
  width: 80%;
  margin-inline: auto;
}

.service-text {
  width: 75%;
  margin-inline: auto;
}

.service-text-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 75%;
  margin-inline: auto;
}

.service-text-cta a {
  width: 18.75rem;
}

/*---------- Privacy Policy ----------*/

.privacy-policy-text-container {
  width: 37.5rem;
  margin-inline: auto;
}

.privacy-policy-contact-text {
  width: 37.5rem;
  margin-inline: auto;
}

}

@media (min-width: 48em /* 768px */) {

/* ---------- Single Post ---------- */

.post-title {
  font-size: var(--fs-48);
}

.explore-more-posts h2 {
  font-size: var(--fs-28);
  color: var(--color-dark-green);
}

}

@media (min-width: 53.125em /* 850px */) {

/* ---------- Contact ---------- */

.contact-heading-container p {
  width: 75%;
}

.double-fields {
  flex-direction: row;
  column-gap: 0.938rem;
}

}

@media (min-width: 59.375em /* 950px */) {

/*---------- Homepage Hero ----------*/

.hero-container { 
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  background-color: var(--color-flax);
}

.hero-content {
  display: flex; 
  justify-content: right;
  width: 100%;
  max-width: 50%;
  margin-bottom: 0;
}

.hero-content-text {
  display: inline-block;
  width: 100%;
  max-width: 625px;
  padding-left: var(--fs-16);
  padding-right: var(--fs-20);
}

.hero-content-text h1 {
  text-align: left;
}

.hero-content-text p {
  text-align: left;
}

.hero-content-text a {
  width: auto;
}

.hero-content-text a:hover {
  background-color: var(--color-red);
  color: var(--color-flax);
  transform: translateY(-2px);
}

.hero-image {
  width: 50%;
  height: 59.063rem;
  overflow: hidden;
}

.hero-image img {
  transform: scale(1.1);
}

/*---------- Partners ----------*/

.partners-container {
  padding-bottom: 4.688rem;
  border-left: 1px solid var(--color-light-grey);
  border-right: 1px solid var(--color-light-grey);
}

.partners-header {
  padding: 3.125rem 0;
}

.partners-header h2 {
  font-size: var(--fs-28);
}

/*---------- Systems ----------*/

.systems-container {
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.systems-text-heading {
  padding: 0 0;
  border-bottom: 1px solid var(--color-grey);
}

.systems-text-heading h2 {
  width: 60%;
}

.systems-text-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-grey);
}

.systems-text-details-paragraph {
  display: flex;
  align-items: center;
  padding: 3.125rem 3.125rem;
}

.systems-text-details-paragraph p {
  text-align: left;
  font-size: var(--fs-22);
  margin-bottom: 0;
  padding: 0 0;
  border: 0;
}

.systems-list-items {
  width: 100%;
  padding: 3.125rem 3.125rem;
  border-left: 1px solid var(--color-grey);
}

.systems-list-items li {
  border: 0;
}

.systems-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.systems-text-details-extra {
  padding: 3.125rem 3.125rem 0 3.125rem;
}

.systems-text-details-extra a {
  width: auto;
}

/*---------- Testimonials ----------*/

.testimonials-container {
  padding: 3.75rem 0 5rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.testimonials-container h2 {
  font-size: var(--fs-36);
  margin-bottom: 2.188rem;
}

.client-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.testimonial-one {
  margin-bottom: 0;
  padding-bottom: 0;
  border-right: 1px solid var(--color-grey);
  border-bottom: 0;
}

.testimonial-two {
  margin-bottom: 0;
}

.testimonial-one, .testimonial-two {
  padding: 1.563rem 1.563rem;
}

.testimonial-text {
  padding: 1.563rem 1.563rem;
}

.testimonial-text p.testimonial {
  text-align: left;
}

.testimonial-text p.endorser-name {
  text-align: left;
}

.testimonials-container .testimonial-image {
  height: auto;
}

/*---------- Services ----------*/

.services-container {
  padding: 5rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 12.5rem;
  margin-bottom: 4.375rem;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.services-intro-heading {
  display: flex;
  padding: 2.188rem 2.188rem;
  align-items: center;
}

.services-intro-heading h2 {
  margin-bottom: 0;
}

.services-intro-paragraph {
  justify-content: left;
  padding: 2.188rem 2.188rem;
  border-left: 1px solid var(--color-grey);
}

.services-intro-paragraph p {
  text-align: left;
  font-size: var(--fs-20);
  margin-bottom: 0;
  width: auto;
}

.services-grid {
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 2.188rem;
  row-gap: 2.188rem;
  width: 85%;
  margin-inline: auto;
}

 .services-grid .card {
  min-height: auto;
}

/*---------- News ----------*/

.news-container {
  padding: 5rem 0;
  border-left: 1px solid var(--color-olive-muted);
  border-right: 1px solid var(--color-olive-muted);
}

.news-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 12.5rem;
  margin-bottom: 4.375rem;
  border-top: 1px solid var(--color-olive-muted);
  border-bottom: 1px solid var(--color-olive-muted);
}

.news-intro-heading {
  display: flex;
  padding: 2.188rem 2.188rem;
  align-items: center;
}

.news-intro-heading h2 {
  text-align: left;
  font-size: var(--fs-32);
  margin-bottom: 0.938rem;
}

.news-intro-paragraph {
  justify-content: left;
  padding: 2.188rem 2.188rem;
  border-left: 1px solid var(--color-olive-muted);
}

.news-intro-paragraph p {
  text-align: left;
  font-size: var(--fs-20);
  width: auto;
  margin-bottom: 0;
}

.news-items {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  column-gap: 2.188rem;
  width: 80%;
  margin-inline: auto;
}

.blog-link {
  margin-top: 3.125rem;
}

.blog-link a {
  width: auto;
}

/*---------- CTA ----------*/

.cta {
  background-color: var(--color-black);
}

.cta-container {
  min-height: 21.875rem;
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.cta-text {
  padding: 2.813rem 0;
}

.cta-container h2 {
  text-align: center;
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  color: var(--color-flax);
  color: var(--color-red);
  line-height: 1.4;
  margin-bottom: 0.938rem;
}

.cta-container p {
  font-size: var(--fs-20);
  width: 67.5%;
}

.cta-link {
  padding: 3.75rem 0 0 0;
}

.cta-container a {
  width: auto;
}

/*---------- About Us ----------*/

.about-hero-container {
  padding: 85px 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.about-hero-container h1 {
  font-size: var(--fs-100);
}

.about-hero-container p {
  width: 95%;
  padding: 0 0;
}

.mission-container {
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.mission-image {
  height: auto;
  padding: 0 0;
}

.mission-text {
  padding: 4.063rem 0 3.125rem 0;
  border: 0;
}

.mission-text h2 {
  font-size: var(--fs-36);
  margin-bottom: 2.813rem;
}

.mission-text-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.mission-text-paragraphs p {
  line-height: 1.8;
  padding: 3.125rem 3.125rem;
}

.mission-text-paragraphs p:first-child {
  margin-bottom: 0;
}

.mission-text-paragraphs p:last-child {
  border-left: 1px solid var(--color-grey);
}

.mission-text-extra {
  padding: 0 0 3.125rem 0;
}

.mission-text-extra a {
  width: auto;
}

.clients-container {
  padding: 3.125rem 0 4.063rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.clients-text-heading {
  padding: 0 0;
}

.clients-text-heading h2 {
  font-size: var(--fs-36);
}

.clients-text-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 0;
  border-bottom: 1px solid var(--color-dark-green);
}

.clients-text-details-paragraph {
  padding: 3.125rem 3.125rem;

}

.clients-text-details-paragraph p {
  text-align: left;
  margin-bottom: 0;
}

.client-list-items {
  width: 100%; 
  padding: 3.125rem 3.125rem;
  border-left: 1px solid var(--color-grey);
}

.client-list-items li {
  display: flex;
  align-items: center;
  font-size: var(--fs-18);
  padding: 1.094rem 0;
}

.client-list-items li:not(:last-child) {
  border-bottom: 1px solid var(--color-grey);
}

.client-list-items li .number {
  font-family: var(--ff-secondary);
  font-size: var(--fs-14-8);
  font-weight: var(--fw-medium);
  margin-right: 0.313rem;
}

.industries-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4.063rem 1rem;
  align-items: center;
}

.industries-text {
  display: inline-block;
  padding-right: 1.563rem;
}

.industries-text h2 {
  text-align: left;
  font-size: var(--fs-42);
  width: 100%;
}

.industries-text p {
  text-align: left;
  margin-bottom: 0.938rem;
  padding-bottom: 1.563rem; 
}

.industries-text p::after {
   left: 0;
  transform: none;
}

.industries-list-items {
  width: 100%;
}

.industries-image {
  height: 35.938rem;
}

.management-systems-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.management-systems-text-heading  {
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

.management-systems-text-heading h2 {
  font-size: var(--fs-36);
  line-height: 1.2;
  width: 35%;
}

.management-systems-text-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 0;
}

.management-systems-text-details-paragraph {
  display: flex;
  align-items: center;
  padding: 3.125rem 3.125rem;
}

.management-systems-text-details-paragraph p {
  text-align: left;
  margin-bottom: 0;
}

.management-systems-list-items {
  width: 100%;
  padding: 3.125rem 3.125rem;
  border-left: 1px solid var(--color-grey);
}

.management-systems-text-extra {
  padding: 3.125rem 3.125rem 0 3.125rem;
}

.management-systems-text-extra p {
  text-align: left;
  width: 80%;
}

.qhse-services-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4.063rem 1rem 1.563rem 1rem;
}

.qhse-services-text {
  display: inline-block;
  padding-right: 1.563rem;
}

.qhse-services-text h2 {
  text-align: left;
  font-size: var(--fs-42);
}

.qhse-services-text p {
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0; 
}

.qhse-services-image {
  height: 35.938rem;
}

.procurement-and-manpower-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.188rem 1rem 4.063rem 1rem;
  align-items: center;
}

.procurement-and-manpower-text {
  display: inline-block;
  padding-left: 1.563rem;
}

.procurement-and-manpower-text h2 {
  text-align: left;
  font-size: var(--fs-42);
}

.procurement-and-manpower-text p {
  text-align: left;
  margin-bottom: 0;
}

.procurement-and-manpower-image {
  order: 0;
  height: 35.938rem;
}

.training-and-workforce-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.training-and-workforce-text {
  order: 0;
}

.training-and-workforce-text-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--color-grey);
}

.training-and-workforce-text-heading h2 {
  font-size: var(--fs-36);
  width: 45%;
}

.training-and-workforce-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-grey);
}

.training-and-workforce-text {
  padding: 3.125rem 3.125rem;
}

.training-and-workforce-text p {
  text-align: left;
  margin-bottom: 0;
}

.training-and-workforce-list-items {
  width: 100%;
}

.training-and-workforce-image {
  height: auto;
  padding: 0 0;
}

/*---------- Services Page ----------*/

.service-hero-container {
  padding: 6.25rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.service-hero-container h1 {
  font-size: var(--fs-60);
  width: 85%;
}

.service-hero-container p {
  width: 85%;
}

.service-stack {
  background-color: var(--color-white);
}

.service-stack-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 6.25rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);  
}

.stack-text {
  align-items: flex-start;
  justify-content: center;
  padding: 3.125rem 3.125rem;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.stack-text h2 {
  text-align: left;
  font-size: var(--fs-36);
  width: 80%;
}

.stack-text p {
  text-align: left;
}

.stack-image {
  border: 0;
}

.stack-image-container {
  width: 100%;
  height: 100% !important;
  margin-top: 0;
  border: 0;
  border-top: 1px solid var(--color-grey);
  border-left: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.service-extra-text-container {
  padding: 4.688rem 0;
}

.service-text {
  display: flex;
  flex-direction: column;
  width: 45.313rem;
  margin-inline: auto;
  padding: 0 0;
}

.service-text h2 {
  font-size: var(--fs-32);
  margin-bottom: 1.25rem;
}

.service-cta-container {
  padding: 4.063rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.service-text-cta {
  width: 45.313rem;  
  padding: 0 0;
}

.service-text-cta a {
  width: auto;
}

/* ---------- Login ---------- */

.login-container {
	padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

/*---------- Footer ----------*/

footer {
  background-color: var(--color-brown);
}

.footer-container {
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.footer-container img {
  width: 250px;
}

.footer-panel-container {
  flex-direction: row;
  justify-content: space-between;
}

.copyright {
  order: 0;
}

.footer-socials {
  margin-bottom: 0;
  padding-bottom: 0; 
}

.footer-socials::after {
  content: none;
}

/* ---------- Contact ---------- */

.contact-heading-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.contact-details {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.contact-form-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

#contact-form {
  width: 800px;
  margin-inline: auto;
}

.contact-map-section-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.map-wrapper {
  aspect-ratio: 3 / 1;
}

/*---------- Privacy Policy ----------*/

.privacy-policy-hero-container {
  padding: 4.688rem 1rem;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}

.privacy-policy-hero-container h1 {
  font-size: var(--fs-36);
}

.privacy-policy-detail-container {
  border-left: 1px solid var(--color-light-grey);
  border-right: 1px solid var(--color-light-grey);
}

.privacy-policy-text-container {
  width: 45.313rem;
  padding: 4.688rem 0;
}

.privacy-policy-contact-container {
  padding: 4.688rem 0;
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

.privacy-policy-contact-text {
  width: 45.313rem;
}

/*---------- 404 ----------*/
.error-404-container {
  border-left: 1px solid var(--color-grey);
  border-right: 1px solid var(--color-grey);
}

}

@media (min-width: 68.125em /* 1090px */) {

/*---------- Header ----------*/

.header-inner {
  display: grid;
  grid-template-columns: 25% 1fr;
  height: 6.25rem;
}
 
.site-logo a img {
  width: 7.25rem;
}

.navigation {
  display: flex;
  justify-content: right;
  margin-top: 0.938rem;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: stretch;
  width: 37.5rem;
}

.main-navigation > ul {
  display: flex;
  position: static;
  height: auto;
  background-color: transparent;
  overflow: visible;
  transform: none;
  transition: none;
  /* margin-top: 0.938rem; */
}

#primary-menu > li {
  width: auto;
  border-radius: 5px;
}

.sub-menu li {
  width: calc(100% - 1.25rem);
  border-radius: 5px;
}

.main-navigation li:not(:last-child) {
  border-bottom: 0;
}

.menu-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-black-text);
  padding: 1rem 1rem; /* slightly better horizontal spacing */
}

.menu-link:hover,
.menu-link:focus {
  background-color: var(--color-subtle-flax);
}

.menu > li > .menu-link {
  justify-content: center; /* this ensures that the link text and the chevron are positioned in the middle of the list item anchor */
  border-radius: 5px;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > .menu-link {
  cursor: pointer;
}

.menu > .menu-item-has-children > a { /* controls the spacing from between the link text and arrow, effectively disabling the grid spacing used in the mobile mode */ 
  display: flex;             
}

.sub-menu .menu-link {
  color: var(--color-dark-green-alt);
  padding: 0.625rem 0.625rem;
}

.menu-toggle {
  display: none;
}

/* First level dropdown */
.sub-menu {
  display: none;
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 12.5rem; 
  height: auto;
  padding: 0.625rem 0 !important; 
  background-color: var(--color-white);
  overflow: visible;
  border-radius: 6px;
  box-shadow: 0 0.625rem 1.563rem rgba(0,0,0,.12);
  z-index: 1000;
}

.menu > li > .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 6px solid var(--color-white);
}

.sub-menu.is-open {
  display: block;
}

.sub-menu .menu-link {
  font-size: var(--fs-14-8);
}

.sub-menu .menu-link:hover {
  background-color: var(--color-subtle-flax);
  border-radius: 5px;
}

.sub-menu .sub-menu { 
  top: 50%;
  left: 100%;
  margin-left: 0.625rem;
  background-color: var(--color-white);
  transform: none;
}

/* This controls the space between the menu link text and the arrow icon. Setting it to "display: flex" removes this spacing 

.menu .menu-item-has-children > a,
.sub-menu .menu-item-has-children > a {
  display: grid;
  grid-template-columns: 1fr 1.25rem; 
  align-items: center;              
  column-gap: 0.625rem;                
}
*/

.sub-menu .back-button {
  display: none !important;
}

/*---------- Arrow ----------*/

.icon-box {
  width: 0.938rem;
  height: 0.938rem;
}

.chevron-down {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  margin-top: -3px;
  transform: rotate(45deg);
}

/* Hover / active */
.menu-item-has-children:hover > .menu-link .chevron-down,
.menu-item-has-children.active > .menu-link .chevron-down {
  margin-top: 6px;
  transform: rotate(-135deg);
}

/*---------- 404 ----------*/

.error-404-container {
  min-height: 85vh;
}

.error-404-container h1 {
  font-size: var(--fs-200);
}

}

@media (min-width: 74.688em /* 1195px */) {

/*---------- Homepage Hero ----------*/

.panel {
  position: sticky !important;
  top: 0;
}

.hero-container {
  padding-bottom: 15.625rem;
}

.hero-image {
  height: 39.063em;
}

.hero-image img {
  transform: scale(1.15);
}

/*---------- Systems ----------*/

.systems-text-heading h2 {
  width: 50%;
}

}