.banner {
  color: #fff;
  padding-block: 1.5rem;
  background-color: #86836D;
}

.banner h4 {
  margin-top: 0;
}

.banner.emergency {
  background-color: #E55934;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(90deg, #e4e4e4 1px, #f0f0f0 1px);
  background-size: 5px 5px;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 10px;
}

@media screen and (min-width: 1200px) {
  .wrapper {
    padding: 0;
  }
}

@media screen and (min-width: 1400px) {
  .wrapper-wide {
    padding: 0;
  }
}

.home .site-main,
.page-template-hero-template .site-main {
  margin-top: 0;
  padding-top: 0;
}

.site-main {
  margin-top: var(--main-header-height);
  padding: 20px 0;
}

.site-main p {
  line-height: 2;
}

.wrapper-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}

.alignfull {
  margin: 0px calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

*,
::after,
::before {
  box-sizing: inherit;
  box-sizing: border-box;
}

**,
*:before,
*:after {
  box-sizing: inherit;
  box-sizing: border-box;
  -webkit-box-sizing: content-box;
}

.content {
  position: relative;
  z-index: 50;
}

.mobile-hidden {
  display: none;
}

@media screen and (min-width: 1024px) {
  .mobile-hidden {
    display: block;
  }
}

.desktop-hidden {
  display: block;
}

@media screen and (min-width: 1024px) {
  .desktop-hidden {
    display: none;
  }
}

.main-header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.5s;
}

.main-header:before {
  content: "";
  opacity: 0;
}

.main-header.transparent {
  background-color: transparent;
  box-shadow: none;
}

.main-header.transparent .logo__image-white {
  opacity: 1;
}

.main-header.transparent:before {
  content: "";
  position: Absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  transition: all 0.5s;
  opacity: 1;
}

.main-header.transparent #header-navigation li a {
  color: #ffffff;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
}

.main-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 10px 20px;
  max-width: 100%;
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .main-header .wrapper {
    justify-content: center;
  }
}

header #header-navigation {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  align-items: center;
  justify-content: space-evenly;
  z-index: 100;
  transition: all 0.5s;
}

header #header-navigation li {
  display: flex;
  justify-content: center;
  min-width: 145px;
}

header #header-navigation li a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  font-weight: 200;
  transition: all 0.5s;
  text-align: center;
  display: block;
  font-family: "Libre Baskerville", serif;
}

header .logo-container,
header .logo {
  position: relative;
  width: 120px;
  height: 75px;
}

header .logo-container .logo__image,
header .logo .logo__image {
  position: absolute;
  top: 0;
  left: 0;
}

header .logo-container .logo__image-white,
header .logo .logo__image-white {
  transition: all 0.5s;
  opacity: 0;
}

header #header-navigation li a:hover {
  color: #666666;
}

header #header-navigation .menu-item-has-children {
  position: relative;
}

header #header-navigation .sub-menu {
  display: none;
  background-color: #f5c242;
  position: absolute;
  left: 0;
  top: 2rem;
  list-style: none;
  margin: 0;
  padding: 1rem 5rem 1rem 1rem;
  z-index: 99;
  min-width: 12rem;
}

header #header-navigation .menu-item-has-children:hover .sub-menu {
  display: block;
}

header #header-navigation .sub-menu li {
  margin-bottom: 0.5rem;
}

header #header-navigation .sub-menu a {
  color: #fff;
  transition: all 0.5s;
}

header #header-navigation .sub-menu a:hover {
  color: #f5f5f5;
  transition: all 0.5s;
}

header #header-navigation .sub-menu a:after {
  content: none;
}

.menu-link {
  position: relative;
  transition: all 0.3s ease-in-out;
  display: none;
  z-index: 200;
}

.menu-link:hover .line {
  background-color: #1B4474;
}

.menu-link .line {
  width: 50px;
  height: 5px;
  background-color: #f5c242;
  display: block;
  margin: 8px auto;
  transition: all 0.3s ease-in-out;
}

.menu-link.active {
  transform: rotate(45deg);
}

.menu-link.active:before {
  border: 5px solid #0C1D32;
}

.menu-link.active .line {
  width: 35px;
}

.menu-link.active .line:nth-child(2) {
  opacity: 0;
}

.menu-link.active .line:nth-child(1) {
  transform: translateY(13px);
}

.menu-link.active .line:nth-child(3) {
  transform: translateY(-13px) rotate(90deg);
}

@media screen and (max-width: 1024px) {
  .transparent.main-header #header-navigation li a {
    color: #4a4a4a;
    text-shadow: none;
  }

  .main-header #header-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    transform: translateX(100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header #header-navigation li a {
    font-size: 3rem;
  }

  .main-header #header-navigation .logo {
    display: none;
  }

  .main-header #header-navigation.header-navigation--active {
    transform: none;
  }

  .menu-link {
    display: block;
  }
}

footer {
  margin-top: 20px;
  color: #4a4a4a;
  padding: 20px 0;
}

footer small {
  font-size: 1.4rem;
  font-family: "Oxygen", Sans-Serif;
}

footer a {
  text-decoration: none;
  font-weight: 400;
  color: #4a4a4a;
}

footer .wrapper {
  justify-content: center;
  display: flex;
}

footer .privacy {
  margin-right: 15px;
}

footer .terms {
  margin-right: 30px;
}

footer .right {
  display: -webkit-box;
}

@media screen and (max-width: 680px) {
  footer .wrapper {
    display: block;
    text-align: center;
  }

  footer small {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

  footer .terms {
    margin-right: 0;
  }

  footer .ts-and-ps {
    margin-bottom: 10px;
  }

  footer .right {
    display: block;
  }
}

@media screen and (max-width: 782px) {
  .footer-menu .wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-menu .menu {
    justify-content: center;
  }

  .footer-menu .menu li {
    margin-right: 0;
  }

  .footer-menu .left-col {
    flex-direction: column;
    text-align: center;
  }

  .footer-menu .address {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-menu .contact a {
    flex-direction: column;
    align-items: center;
    margin-block: 1rem;
  }
}

.contact p strong {
  color: #44BFC5;
}

.hero {
  background-color: #f5c242;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-block: 5rem;
  height: var(--max-screen-height);
  max-height: 1000px;
}

.hero.front-page {
  padding-bottom: 4rem;
  margin-bottom: 0rem;
}

.hero .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
}

.hero .content {
  max-width: 800px;
  position: relative;
  z-index: 10;
  filter: drop-shadow(10px 10px 50px rgba(0, 0, 0, 0.9)) drop-shadow(10px 10px 50px rgba(0, 0, 0, 0.9));
}

.hero .image {
  flex: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

.hero .content h1 {
  margin-bottom: 0px;
  padding-bottom: 0;
  color: #ffffff;
}

.hero .content p {
  font-size: 2rem;
  margin-top: 10px;
  color: #ffffff;
}

.hero .button {
  background-color: #f5c242;
  display: inline-flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 15px;
  color: #fff;
  font-weight: 400;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.5s;
}

.hero svg {
  width: 1.25rem;
  fill: #fff;
  transition: all 0.5s;
}

.hero .button:hover svg {
  transform: rotate(360deg);
}

.hero .button:hover {
  background-color: #1B4474;
}

@media screen and (max-width: 1100px) {
  .hero .image {
    background-size: contain;
  }

  .hero .content {
    max-width: 20rem;
  }
}

@media screen and (max-width: 782px) {
  .hero .image {
    display: none;
  }

  .hero .content {
    max-width: 50rem;
    padding-block: 2rem;
  }

  .hero .overlay {
    background: rgba(0, 0, 0, 0.5);
  }
}

.wp-block-buttons {
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.wp-block-buttons .wp-block-button__link {
  padding: 10px 22px;
  font-family: "Libre Baskerville", Sans-Serif;
  padding-bottom: 12px;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  background-color: #f5c242;
  color: #4a4a4a;
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
  padding: 10px 20px;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.latest-news {
  padding-block: 2rem;
}

.latest-news h2 {
  color: #f5c242;
}

.grey-block .latest-news .news-grid .news-item {
  background-color: #ffffff;
}

.latest-news .news-grid .news-item:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

.latest-news .news-grid .news-item:last-child {
  grid-column: span 2;
}

.latest-news .news-grid .news-item {
  grid-row: span 1;
  grid-column: span 1;
}

@media screen and (max-width: 48.875rem) {
  .latest-news .news-grid .news-item:first-child {
    grid-column: span 1;
  }

  .latest-news .news-grid .news-item:last-child {
    grid-column: span 1;
  }
}

.latest-news .button.global {
  background-color: #2B061E;
  margin-top: 1rem;
}

.news-grid {
  padding: 0 10px;
  list-style: none;
}

.news-grid__item {
  width: 100%;
  /* For mobile */
  height: auto;
  margin-bottom: 50px;
  /* Add some bottom margin for spacing */
  background-color: #ffffff;
  border: solid 10px #ffffff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.news-grid__item img {
  width: 100%;
  height: auto;
}

.news-grid__item video {
  max-height: 300px;
  width: 100%;
  height: auto;
}

.news-grid__sizer {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .news-grid__item,
  .news-grid__sizer {
    width: 100%;
    max-width: calc(33% - 15px);
  }
}

.grey-block {
  background-color: #f5f5f5;
  padding: 1rem;
  position: relative;
  margin-block: 1rem;
}

.grey-block h2 {
  margin-bottom: 1rem;
  margin-top: 0;
}

.colour-block {
  padding: 1rem;
  position: relative;
  margin-block: 1rem;
  border-radius: 5px;
}

.colour-block.color-primary h2 {
  color: #2B061E;
}

.colour-block h2 {
  margin-bottom: 1rem;
  margin-top: 0;
}

.case-study-container .case-study {
  flex: 1;
}

@media screen and (max-width: 48.875rem) {
  .case-study-container {
    flex-direction: column;
  }
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.case-study-grid.archive {
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media screen and (max-width: 48.875rem) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-grid .case-study-item {
  background-color: #f5f5f5;
}

.grey-block .case-study-grid .case-study-item {
  background-color: #ffffff;
}

.case-study-grid .case-study-item .image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 40%;
  width: 100%;
}

@media screen and (max-width: 48.875rem) {
  .case-study-grid .case-study-item .image {
    display: none;
  }
}

.case-study-grid .case-study-item .content {
  padding: 0 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.case-study-grid .case-study-item h3 {
  margin-bottom: 1rem;
}

.case-study-grid .case-study-item a {
  color: #4a4a4a;
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  text-decoration: none;
}

.case-study-grid.archive .case-study-item:nth-child(even) a {
  flex-direction: row-reverse;
}

.case-study-grid .case-study-item .button {
  display: block;
  margin-bottom: 2rem;
  background-color: #A6CFD5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 400;
  padding: 10px 15px;
  padding-top: 10px;
  min-width: 125px;
  max-width: 12rem;
  transition: all 0.5s;
  margin-top: 1rem;
  font-size: 1.125rem;
}

.case-study-grid .case-study-item .button:hover {
  background-color: #82BBC4;
}

.case-study-grid li .button svg {
  width: 25px;
  fill: #fff;
  margin-left: 25px;
  transition: all 0.5s;
}

.case-study-grid li .button:hover svg {
  transform: rotate(360deg);
}

.other-case-study {
  width: 100%;
  padding-block: 1em;
  background-color: #E0E0E0;
}

.contact-block svg {
  width: 1.5rem;
  fill: #4a4a4a;
}

.contact-block .contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-block .address {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.contact-block .address p {
  margin-top: 0;
  margin-bottom: 0;
  color: #4a4a4a;
  font-weight: 500;
  font-size: 1.25rem;
}

.contact-block .contact a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #4a4a4a;
  font-size: 1.25rem;
  gap: 0.5rem;
}

.contact-block .list {
  margin-block: 1rem;
  display: flex;
  gap: 0.5rem;
}

.contact-block h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
  color: #f5c242;
}

.contact-block .list svg {
  width: 2rem;
  fill: #4a4a4a;
}

.contact-block .list a {
  color: #4a4a4a;
}

.gform_wrapper input {
  border: 0;
  border-radius: 4px;
  text-align: center;
}

.gform_wrapper textarea {
  border: 0;
  resize: none;
  text-align: center;
  border-radius: 4px;
}

.gform_wrapper select {
  border: none;
  outline: none;
  background-color: #ffffff;
  text-align: center;
  border-radius: 4px;
}

.gform_wrapper.gravity-theme .gfield label {
  font-family: "Libre Baskerville", Serif;
  text-align: center;
  display: block;
}

.gform_wrapper .gform_button {
  background-color: #f5c242;
  padding: 10px 20px;
  font-size: 2rem;
  color: #ffffff;
  font-family: "Libre Baskerville", Serif;
  cursor: pointer;
  transition: all 0.5s;
  margin: 0 auto;
}

.gform_wrapper .gfield {
  margin: 10px 0;
}

.gform_wrapper .gfield .gform_fileupload_rules {
  display: none !important;
}

.gform_wrapper input,
.gform_wrapper select,
.gform_wrapper textarea {
  transition: all 0.5s;
  border: 2px solid rgba(0, 0, 0, 0);
}

.gform_wrapper input:focus-visible,
.gform_wrapper select:focus-visible,
.gform_wrapper textarea:focus-visible {
  outline: none;
  border: 2px solid rgba(0, 0, 0, 0.3);
}

.gform_confirmation_wrapper {
  border-radius: 4px;
  padding: 10px 20px;
  background-color: #e4e4e4;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

.gform_wrapper.gravity-theme .gform_validation_errors {
  background-color: #f5f5f5 !important;
  border-radius: 4px !important;
  border-width: 1px !important;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

.gform_wrapper.gravity-theme .gform_validation_errors h2 {
  font-family: "Oxygen", Sans-Serif;
}

.gform_wrapper.gravity-theme .gfield_description.validation_message {
  background-color: #f5f5f5;
  border-radius: 4px;
  border-width: 1px;
  font-size: 13.2px;
  padding: 10px;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

#input_1_7 {
  font-size: 2rem;
}

.about-block {
  width: 100%;
  background: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  position: relative;
  margin-bottom: 1rem;
}

.about-block .about-image {
  right: 0;
  float: right;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 50%;
  position: absolute;
  z-index: 5;
  height: 100%;
  order: 1;
  display: flex;
}

.about-block .about-content {
  left: 0;
  float: left;
  width: 50%;
  position: absolute;
  z-index: 5;
  order: 2;
  display: flex;
}

.about-block .wrapper {
  z-index: 10;
  display: flex;
}

.about-block .about-image-overlay {
  order: 2;
  flex: 1;
}

.about-block .about-content-overlay {
  order: 1;
  padding-top: 100px;
  padding-bottom: 100px;
  width: 50%;
  padding-right: 50px;
  padding-left: 50px;
  color: #4a4a4a;
  border-left: none;
}

.alignfull .about-block .about-content-overlay {
  padding-left: 0;
}

.about-block p {
  font-weight: 200;
}

.about-block .button {
  background-color: #f5c242;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 1.125rem;
  padding: 10px 15px;
  padding-top: 17px;
  display: inline-flex;
  align-items: center;
  min-width: 125px;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s;
  margin-top: 1rem;
}

.about-block .button svg {
  width: 20px;
  fill: #fff;
  margin-left: 20px;
  transition: all 0.5s;
}

.about-block .button:hover {
  background-color: #A6CFD5;
}

.about-block .button:hover svg {
  transform: translate(3px);
}

.about-block.reverse {
  flex-direction: row-reverse;
}

.about-block.reverse .about-image {
  float: left;
  right: unset;
  left: 0;
}

.about-block.reverse .about-content {
  float: right;
}

.about-block.reverse .wrapper {
  flex-direction: row-reverse;
}

.about-block.reverse .about-content-overlay {
  padding-left: 50px;
  padding-right: 50px;
  border-right: none;
}

.alignfull .about-block.reverse .about-content-overlay {
  padding-right: 0;
}

@media screen and (max-width: 680px) {
  .about-block .about-image {
    width: 100%;
    height: 400px;
    position: relative;
  }

  .about-block .about-content {
    width: 100%;
  }

  .about-block .wrapper {
    order: 2;
  }

  .about-block .about-image-overlay {
    width: 100%;
  }

  .about-block .about-content-overlay {
    width: 100%;
    flex: none;
    padding-right: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 0;
    border-left: none !important;
  }

  .about-block.reverse .about-content-overlay {
    padding-right: 0;
    padding-left: 0px;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.team-grid .team-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-grid .team-item {
  background-color: #f5f5f5;
  position: relative;
  padding-bottom: 1rem;
}

.team-grid .team-item .image {
  padding-block: 12rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-grid .team-item .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 1rem;
}

.team-grid .team-item .content small {
  color: #f5c242;
  font-size: 0.9375rem;
}

.team-grid .team-item svg {
  width: 1rem;
  fill: #ffffff;
}

.team-grid .team-item h3 {
  color: #4a4a4a;
  margin-top: 0;
  margin-bottom: 5px;
}

.team-grid .team-item .button {
  background-color: #f5c242;
  text-decoration: none;
  color: #ffffff;
  display: inline-flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  gap: 1rem;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  position: absolute;
  bottom: 0;
  right: 0;
}

.team-single {
  margin-block: 2rem;
}

.team-single .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.team-single .col.left {
  background-color: #f5f5f5;
  max-width: 30rem;
  padding: 1rem;
}

.team-single .col.left .image {
  padding-block: 10rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-single .col.right {
  flex: 1;
  margin-bottom: 10rem;
}

.team-single .col.left h1 {
  margin-bottom: 10px;
}

.team-single .col.left small {
  font-size: 0.9375rem;
  color: #f5c242;
  display: block;
  margin-bottom: 1rem;
  font-family: "Libre Baskerville", Serif;
}

.team-single .col.left a {
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none;
  color: #4a4a4a;
  align-items: center;
  width: 100%;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.team-single .col.left svg {
  width: 1.125rem;
}

.testimonial-block {
  padding-block: 3rem;
}

.testimonial-block .heading {
  border-bottom: 1px solid #E1E1E1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials-block .heading h2 {
  margin-bottom: 0;
  margin-top: 0;
}

.testimonial-block .heading .quotes {
  position: relative;
  padding-block: 2.5rem;
}

.testimonial-block .heading .left {
  position: absolute;
  top: 0.5rem;
  right: 2rem;
}

.testimonial-block .heading .left svg {
  fill: #A6CFD5;
}

.testimonial-block .heading .right {
  position: absolute;
  bottom: 0rem;
  right: 0;
  z-index: 5;
}

.testimonial-block .heading .right svg {
  fill: #f5c242;
}

.testimonial-block .testimonial-grid .testimonial-item {
  background-color: unset;
  padding: 0;
}

.testimonial-block .heading svg {
  width: 2.625rem;
}

@media screen and (max-width: 42.5rem) {
  .testimonial-block {
    padding-block: 1rem;
  }

  .testimonial-block .heading {
    justify-content: flex-start;
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .testimonial-block .heading .quotes {
    width: 5rem;
  }

  .testimonial-block .heading h2 {
    margin-top: 10px;
  }
}

.testimonial-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-block: 2rem;
  position: relative;
  z-index: 60;
}

.testimonial-grid .testimonial-item {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
}

.testimonial-grid .testimonial-item .heading {
  border-bottom: none;
  color: #2B061E;
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  line-height: 2.25rem;
  margin-top: 10px;
}

.testimonial-grid .testimonial-item p {
  font-style: italic;
  font-weight: 500;
}

.testimonial-grid .testimonial-item .meta p {
  font-style: normal;
  color: #2B061E;
}

.testimonial-grid .testimonial-item .meta p strong {
  color: #4a4a4a;
  font-weight: 500;
}

@media screen and (max-width: 48.875rem) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.cta-block {
  padding-block: 4rem;
  background: #A6CFD5;
  color: #ffffff;
}

.cta-block .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-block .wrapper p {
  font-size: 3.125rem;
  line-height: 1rem;
  font-weight: 500;
}

.cta-block .wrapper .button {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  background-color: #f5c242;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  transition: all 0.5s;
}

.cta-block .wrapper .button svg {
  fill: #ffffff;
  width: 1.125rem;
}

.cta-block .wrapper .button:hover {
  background-color: #1B4474;
}

@media screen and (max-width: 68.75rem) {
  .cta-block .wrapper p {
    font-size: 2rem;
  }
}

@media screen and (max-width: 42.5rem) {
  .cta-block .wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-block .wrapper p {
    text-align: center;
    line-height: 2.5rem;
    margin-top: 10px;
  }
}

.initial-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 3s ease;
  z-index: 9999;
}

.initial-background:after {
  content: "";
  background-image: url("/wp-content/uploads/2024/03/ag-logo-white.png");
  width: 400px;
  height: 400px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.logo__image {
  /* Assuming the logo is initially full screen or centered */
  transition: transform 3s ease;
  z-index: 100;
  width: 120px;
}

/* After animation styles for the logo and the background */

.hidden-background {
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  /* Prevent overlay from capturing clicks */
}

.fade-out {
  opacity: 1;
  pointer-events: all;
  /* Allow overlay to capture clicks */
}

.page-block {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 800px;
  background: linear-gradient(90deg, #e4e4e4 1px, #f0f0f0 1px);
  background-size: 5px 5px;
  position: relative;
  z-index: 200;
  scroll-snap-align: start;
  /* Ensure snapping behavior */
  overflow-x: clip;
}

@media screen and (min-width: 1024px) {
  .page-block {
    height: var(--max-screen-height);
    box-shadow: 0px -20px 20px rgba(0, 0, 0, 0.1);
  }
}

.wp-block-group .pin-spacer:last-child .page-block {
  overflow-y: scroll;
}

.animation {
  opacity: 0;
}

.in-view.fade-in-right {
  animation: fade-in-right 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.fade-in-left {
  animation: fade-in-left 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.fade-in-top {
  animation: fade-in-top 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.fade-in-bottom {
  animation: fade-in-bottom 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.scale-in-rotate-left {
  animation: scale-in-rotate-left 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.scale-in-rotate-right {
  animation: scale-in-rotate-right 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

.in-view.scale-in {
  animation: scale-in 2s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

@keyframes fade-in-right {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes fade-in-left {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes fade-in-top {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes fade-in-bottom {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes scale-in-rotate-left {
  0% {
    opacity: 0;
    transform: scale(1.4) rotate(-20deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes scale-in-rotate-right {
  0% {
    opacity: 0;
    transform: scale(1.4) rotate(20deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes scale-in {
  0% {
    opacity: 0;
    transform: scale(1.4);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.narrow-block {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.narrow-block.is-style-primary {
  border-radius: 4px;
  padding: 10px 20px;
  background-color: #e4e4e4;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 50px auto;
}

.pagination .page-numbers {
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: #4a4a4a;
  font-family: "Libre Baskerville", Serif;
}

.wp-block-columns {
  gap: 80px;
}

.wp-block-image.is-style-polaroid img,
.wp-block-image.is-style-polaroid-left img,
.wp-block-image.is-style-polaroid-right img {
  background-color: #efefef;
  border-top: solid 10px #efefef;
  border-left: solid 10px #efefef;
  border-bottom: solid 30px #efefef;
  border-right: solid 10px #efefef;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 30px 0;
}

.wp-block-image.is-style-polaroid-left img {
  transform: rotate(10deg);
}

.wp-block-image.is-style-polaroid-right img {
  transform: rotate(-10deg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", Serif;
  color: #4a4a4a;
  margin-top: 0;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

p,
a {
  font-family: "Oxygen", Sans-Serif;
}

h1 {
  font-size: 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1:before {
  content: "";
  background-image: url("/wp-content/uploads/2024/03/cropped-icon-nobg.png");
  width: 50px;
  height: 50px;
  background-size: contain;
  background-position: center;
  transform: rotate(4deg) translateY(50%) translateX(-35%);
  z-index: -5;
}

h1:after {
  content: "";
  background-color: #f5c242;
  width: 50px;
  margin-top: 20px;
  height: 5px;
  background-size: contain;
  background-position: center;
  z-index: -5;
}

h1.has-text-align-center {
  align-items: center;
}

h1.has-text-align-center:before {
  transform: none;
}

h2 {
  font-size: clamp(2.5rem, 3.5vw, 4rem);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h2:before {
  content: "";
  background-image: url("/wp-content/uploads/2024/03/cropped-icon-nobg.png");
  width: 50px;
  height: 50px;
  background-size: contain;
  background-position: center;
  transform: rotate(4deg) translateY(50%) translateX(-35%);
  z-index: -5;
}

h2:after {
  content: "";
  background-color: #f5c242;
  width: 50px;
  margin-top: 20px;
  height: 5px;
  background-size: contain;
  background-position: center;
  z-index: -5;
}

h2.has-text-align-center {
  align-items: center;
}

h2.has-text-align-center:before {
  transform: none;
}

h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 2.25rem;
}

h5 {
  font-size: 2.2rem;
}

h6 {
  font-size: 2rem;
}

p {
  font-weight: 200;
  font-size: 1.8rem;
}

strong {
  font-weight: 700;
}

.content {
  margin-bottom: 2rem;
}

