@charset "UTF-8";
/*!
Theme Name: Hands Up Framework
Version: 1.5.1
Author: Hands Up
Author URI: https://www.handsup.co.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hands-up
*/
/* ==========================================================================
  Pushy
  ========================================================================== */
/**
 * An off canvass menu.
 *
 */
/* Menu Appearance */
.pushy {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 9999;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* enables momentum scrolling in iOS overflow elements */
}

.pushy.pushy-left {
  left: 0;
}

.pushy.pushy-right {
  right: 0;
}

.pushy-content {
  visibility: hidden;
  background-color: var(--wp--preset--color--cream);
}

/* Add code to account for wp admin bar if it is present to push the menu down */
.admin-bar .pushy-content {
  padding-top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .pushy-content {
    padding-top: 46px;
  }
}

/* Site Overlay */
.site-overlay {
  display: none;
}

.pushy-open-left .site-overlay,
.pushy-open-right .site-overlay {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-animation: fade 500ms;
          animation: fade 500ms;
}

/* Menu Movement */
.pushy-left {
  -webkit-transform: translate3d(-100%, 0, 0);
          transform: translate3d(-100%, 0, 0);
}

.pushy-open-left .push {
  -webkit-transform: translate3d(100%, 0, 0);
          transform: translate3d(100%, 0, 0);
}

.pushy-right {
  -webkit-transform: translate3d(100%, 0, 0);
          transform: translate3d(100%, 0, 0);
  background: var(--wp--preset--color--cream);
}

.pushy-open-right .push {
  -webkit-transform: translate3d(-100%, 0, 0);
          transform: translate3d(-100%, 0, 0);
}

.pushy-open-left .pushy,
.pushy-open-right .pushy {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.pushy-open-left .pushy-content,
.pushy-open-right .pushy-content {
  visibility: visible;
}

/* Menu Transitions */
.pushy,
.push {
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  transition: -webkit-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  transition: transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  transition: transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99), -webkit-transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

.pushy-content {
  -webkit-transition: visibility 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  transition: visibility 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

/* Animations. */
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================================
	Reset
	========================================================================== */
/* Global box sizing. */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default margin from body and make fonts render better. */
body {
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Reset default spacing on text elements. */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
  padding: 0;
}

/* Remove the italic styling from citations. */
cite {
  font-style: normal;
}

/* If a bottom border is being used for styling links in theme.json, ensure that this
isn't applied to links that contain images. */
a:has(img) {
  border: none !important;
}
a:has(img):hover {
  border: none !important;
}

/* Remove 1em bottom margin from figure elements. */
figure {
  margin-bottom: 0;
}

/* Prevent images from overflowing their container and distorting. */
img {
  max-width: 100%;
  height: auto;
}

/* Remove default focus styles from links, buttons and submits and apply
them instead to focus-visible state. */
a:focus,
button:focus,
[type=submit]:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible,
[type=submit]:focus-visible {
  outline: 2px solid;
  outline-offset: 5px;
}

/* In the details element, add a more appropriate cursor to summary elements
and prevent block level direct descendants, e.g. headings, from breaking onto
a new line. */
details summary {
  cursor: pointer;
}
details summary > * {
  display: inline;
}

/* Remove all animations and transitions for people that prefer not to
see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================================
   Mixins
   ========================================================================== */
/**
 * Reusable styles for use in the project.
 *
 * Contents
 *
 * 1. Media queries
 * 2. Helpers
 * 3. Project-specific
 */
/* 1. Media queries
   ========================================================================== */
/**
 * The values here should be copied from theme.json custom variables. Because
 * they're generated inline, the variables cannot be used in a mixin, which is
 * pre-processed.
 */
/* 2. Helpers
	========================================================================== */
/**
 * Inclusively hide
 */
.sr-only, a.skip-main {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.not-sr-only, .site-menu__inner > ul > li:hover .sub-menu, .site-menu__inner > ul > li:focus-within .sub-menu {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.has-box-shadow {
  -webkit-box-shadow: 0px 9px 34px 0px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 9px 34px 0px rgba(0, 0, 0, 0.3);
}

/**
 * Mixin with common FontAwesome pseudo-element styles
 */
.is-fa-pseudo-element, .block-resources-archive .filter-section-label::after, .fancybox__content > .carousel__button.is-close::after, .fancybox__nav .carousel__button::after {
  font-family: "Font Awesome 6 Pro";
  display: inline-block;
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  text-rendering: auto;
}

/**
 * Responsive 16:9 vide embeds.
 */
.flexible-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.flexible-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 3. Project-specific reusable mixins
	========================================================================== */
.wider-content {
  max-width: var(--wp--custom--wider-content);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
}

/* ==========================================================================
   Site
   ========================================================================== */
/**
 * Styles for top level global components.
 *
 * Contents
 *
 * 1. Global
 * 2. Site logo
 * 3. Site header
 * 4. Site footer
 * 5. Site menu
 * 6. Alignment fixes
 * 7. Mobile menu
 * 8. Site blocks and misc alignment and spacing fixes
 * 9. Skip to main content
 * 10. Archive (cards) index template
 * 11. 404-page adjust
 */
/* 1. Global
   ========================================================================== */
a:where(:not(.wp-element-button):not(.wp-block-read-more)) {
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
a:where(:not(.wp-element-button):not(.wp-block-read-more)):hover {
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
a:where(:not(.wp-element-button):not(.wp-block-read-more)):focus {
  -webkit-transition: 0s ease-out;
  transition: 0s ease-out;
}

/* 2. Site logo
   ========================================================================== */
.site-logo {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}
.site-logo a,
.site-logo img {
  display: block;
}
.site-logo img {
  width: 76px;
  height: 88px;
  shape-rendering: geometricPrecision;
}
@media (max-width: 1199px) {
  .site-logo img {
    width: 110px;
    height: auto;
  }
}

/* 3. Site header
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background: var(--wp--preset--color--cream);
  -webkit-box-shadow: 0px 0px 20px rgba(62, 44, 32, 0.15);
          box-shadow: 0px 0px 20px rgba(62, 44, 32, 0.15);
}
.site-head__inner {
  max-width: var(--wp--style--global--wide-size);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  height: 136px;
}
@media (max-width: 1199px) {
  .site-head__inner {
    height: 70px;
  }
}
.site-head__top, .site-head__bottom, .site-head__navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.site-head__nav-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.site-head__top {
  margin: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
  gap: 24px;
}
.site-head__top .wp-element-button, .site-head__top .wp-block-read-more {
  font-size: 18px;
  border-radius: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 14px 24px;
  line-height: 1;
}
.site-head__top .wp-element-button:after, .site-head__top .wp-block-read-more:after {
  content: unset;
}
.site-head__top .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 25px;
}
.site-head__top .menu a {
  font-size: var(--wp--preset--font-size--2-x-small);
  display: block;
  text-decoration: none;
  color: var(--wp--preset--color--light-brown);
}
.site-head__top .menu a:hover {
  color: var(--wp--preset--color--medium-green);
  text-decoration: none;
}
@media (max-width: 1199px) {
  .site-head__top {
    display: none;
  }
}
.site-head__search-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.site-head__search-wrapper.active .site-head__search-close {
  display: block;
}
.site-head__search-trigger {
  font-size: var(--wp--preset--font-size--2-x-small);
  display: block;
  text-decoration: none;
  color: var(--wp--preset--color--light-brown);
}
.site-head__search-trigger:hover {
  color: var(--wp--preset--color--medium-green);
  text-decoration: none;
}
.site-head__search-close {
  background-color: transparent;
  background-image: url("../png/icon-button-exit.png");
  width: 17px;
  height: 17px;
  content: "";
  background-size: contain;
  display: inline-block;
  border: 0;
  padding: 0;
  display: none;
}
.site-head__top-menu {
  margin: 0;
}
.site-head__menu-button {
  background: none;
  border: none;
  display: none;
  position: absolute;
  right: 20px;
  top: 30px;
}
.site-head__menu-button i {
  font-size: 26px;
  color: var(--wp--preset--color--dark-green);
}
@media (max-width: 1199px) {
  .site-head__menu-button {
    display: inherit;
    top: 21px;
  }
}

/* Desktop and mobile search field */
.site-search__inner {
  background: #fffaf4;
  border-radius: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 4px;
}
.site-search__inner button {
  background-color: var(--wp--preset--color--peach);
  border: none;
  border-radius: 1000px;
  background-image: url(../svg/icon-search.svg);
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  background-position: center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}
.site-search__inner button:hover {
  background-color: var(--wp--preset--color--light-green);
}
.site-search__input {
  border: none;
  background: none;
  font-size: var(--wp--preset--font-size--x-small);
  font-family: var(--wp--preset--font-family--figtree);
  padding: 13px 24px;
  border-radius: 1000px;
  width: 100%;
}
.site-search__input:focus {
  outline: none;
}

/* Expandable search for desktop */
.desktop-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  visibility: hidden;
  height: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--wp--preset--color--beige);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}
.desktop-search__close {
  background-color: transparent;
  background-image: url("../png/icon-button-exit.png");
  width: 20px;
  height: 20px;
  content: "";
  background-size: contain;
  display: inline-block;
  border: 0;
  padding: 0;
}
@media (max-width: 1199px) {
  .desktop-search {
    display: none;
  }
}
.desktop-search.active {
  visibility: visible;
  opacity: 1;
  padding: var(--wp--preset--spacing--small) 0;
  height: 100px;
}
.desktop-search .site-search {
  min-width: 600px;
}

/* 4. Site footer
   ========================================================================== */
.site-foot {
  background-color: var(--wp--preset--color--green);
  color: var(--wp--preset--color--cream);
  font-weight: 500;
  font-size: var(--wp--preset--font-size--small);
}
.site-foot a {
  color: var(--wp--preset--color--cream);
  font-weight: 500;
}
.site-foot__content {
  position: relative;
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
}
.site-foot__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 840px) {
  .site-foot__top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: var(--wp--preset--spacing--small);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.site-foot .footer-logo a,
.site-foot .footer-logo img {
  display: block;
}
.site-foot .footer-logo img {
  width: 127px;
  height: 148px;
}
@media (max-width: 840px) {
  .site-foot .footer-logo img {
    width: 77px;
    height: 88px;
  }
}
.site-foot__inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--large);
  padding: var(--wp--preset--spacing--large) 0;
}
@media (max-width: 840px) {
  .site-foot__inner {
    -ms-grid-columns: (minmax(0, 1fr))[1];
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.site-foot__inner-left {
  display: -ms-grid;
  display: grid;
  gap: var(--wp--preset--spacing--large);
  -ms-grid-columns: auto 1fr;
  grid-template-columns: auto 1fr;
}
@media (max-width: 840px) {
  .site-foot__inner-left {
    -ms-grid-columns: (minmax(0, 1fr))[1];
    grid-template-columns: repeat(1, minmax(0, 1fr));
    text-align: center;
  }
  .site-foot__inner-left .footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.site-foot__inner-right {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--small);
}
@media (max-width: 840px) {
  .site-foot__inner-right {
    -ms-grid-columns: (minmax(0, 1fr))[1];
    grid-template-columns: repeat(1, minmax(0, 1fr));
    /* Reverse the order of divs */
  }
  .site-foot__inner-right .site-foot__useful-links {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    text-align: center;
  }
  .site-foot__inner-right .site-foot__useful-links h2,
  .site-foot__inner-right .site-foot__useful-links li {
    text-align: center;
  }
  .site-foot__inner-right .site-foot__address {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    text-align: center;
  }
}
.site-foot #menu-footer-secondary a {
  color: var(--wp--preset--color--light-teal);
}
.site-foot__credit {
  background-color: var(--wp--preset--color--dark-green);
}
.site-foot__credit-contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px 0;
}
.site-foot__credit-contents span {
  display: inline-block;
  font-size: var(--wp--preset--font-size--x-small);
}
.site-foot__credit-contents span:not(:last-child)::after {
  content: "•";
  margin-left: 25px;
  margin-right: 25px;
  color: var(--wp--preset--color--cream);
}
@media (max-width: 840px) {
  .site-foot__credit-contents span:not(:last-child)::after {
    display: none;
  }
}
.site-foot__credit-contents a {
  color: var(--wp--preset--color--light-green);
  text-decoration: underline;
  font-weight: 700;
}
@media (max-width: 840px) {
  .site-foot__credit-contents {
    margin-top: 0;
    border: 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: var(--wp--preset--spacing--small);
    text-align: center;
    padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--small);
  }
  .site-foot__credit-contents a {
    color: var(--wp--preset--color--cream);
  }
  .site-foot__credit-contents p {
    font-size: var(--wp--preset--font-size--small);
  }
}
.site-foot h5 {
  margin: 0 0 20px 0;
}
.site-foot h4 {
  margin-bottom: var(--wp--preset--spacing--x-small);
}
.site-foot p {
  margin-top: 0;
}
.site-foot ul {
  list-style: none;
  padding: 0;
}
.site-foot ul li {
  margin: 0 0 16px 0;
}
.site-foot ul li a {
  border: 0;
}
.site-foot ul li a:hover {
  color: var(--wp--preset--color--yellow);
}

/* 5. Site menu
   ========================================================================== */
.site-menu {
  /* Main menu underline on hover */
  /* Activate sub-menu on hover of parent */
  /* Mobile adapatations for the menu (shared code with desktop) */
}
@media (max-width: 1199px) {
  .site-menu {
    display: none;
  }
}
.pushy-open-right .site-menu {
  display: block;
}
.site-menu__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--wp--preset--spacing--x-small);
  margin: 0;
  /* Top level and sub menus */
  /* Top level only menu */
}
.site-menu__inner ul {
  list-style: none;
  margin: 0;
}
.site-menu__inner > ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: var(--wp--preset--spacing--small);
     -moz-column-gap: var(--wp--preset--spacing--small);
          column-gap: var(--wp--preset--spacing--small);
  margin: 0;
}
.site-menu__inner > ul > li {
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
.site-menu__inner > ul > li.faded > a {
  opacity: 0.6;
}
.site-menu__inner > ul > li.menu-item-has-children > a {
  cursor: default;
  /* down arrow with animation */
}
.site-menu__inner > ul > li.menu-item-has-children > a:after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 6px;
  background-image: url(../svg/icon-menu-down-arrow.svg);
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
.site-menu__inner > ul > li > a {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: block;
  padding-bottom: 30px;
  color: var(--wp--preset--color--grey);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* underscore with animation */
}
.site-menu__inner > ul > li > a img.underline {
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  position: absolute;
  display: block;
  top: 30px;
  left: 0;
  right: 0;
  width: 0;
  height: 4px;
  -o-object-fit: fill;
     object-fit: fill; /* Allow the SVG to ignore its intrinsic aspect ratio */
}
.site-menu__inner > ul > li:hover, .site-menu__inner > ul > li:focus-within {
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.site-menu__inner > ul > li:hover:before, .site-menu__inner > ul > li:focus-within:before {
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.site-menu li > a:hover img.underline {
  width: 100%;
}
.site-menu li.active img.underline {
  -webkit-filter: brightness(0) saturate(100%) invert(58%) sepia(19%) saturate(663%) hue-rotate(78deg) brightness(92%) contrast(90%);
          filter: brightness(0) saturate(100%) invert(58%) sepia(19%) saturate(663%) hue-rotate(78deg) brightness(92%) contrast(90%);
  width: 100%;
}
.site-menu .menu-item-has-children:hover .site-menu__sub-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: dropdown-fade-in 0.3s ease-out forwards;
          animation: dropdown-fade-in 0.3s ease-out forwards;
}
.site-menu .menu-item-has-children:hover > a::after {
  -webkit-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
@-webkit-keyframes dropdown-fade-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.site-menu__sub-menu {
  padding: var(--wp--preset--spacing--medium) 60px 60px;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--wp--preset--color--beige);
  -webkit-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.1215686275);
          box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.1215686275);
  z-index: 50;
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px); /* Initial position above */
  -webkit-transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
  transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}
.site-menu__sub-menu .highlighted-menu {
  background-color: var(--wp--preset--color--cream);
  padding: 30px 40px;
  border-radius: 12px;
}
.site-menu__sub-menu .highlighted-menu h5 {
  margin-top: 0;
}
.site-menu__sub-menu ul li {
  margin-bottom: 15px;
}
.site-menu__sub-menu.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.site-menu__sub-menu.site-menu__sub-menu--about > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--medium);
}
.site-menu__sub-menu.site-menu__sub-menu--our-work > div {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2fr;
  grid-template-columns: 1fr 2fr;
  gap: var(--wp--preset--spacing--medium);
}
.site-menu__sub-menu.site-menu__sub-menu--our-work .highlighted-menu ul {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -webkit-column-gap: var(--wp--preset--spacing--medium);
     -moz-column-gap: var(--wp--preset--spacing--medium);
          column-gap: var(--wp--preset--spacing--medium);
}
@media (max-width: 840px) {
  .site-menu__sub-menu.site-menu__sub-menu--our-work .highlighted-menu ul {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.site-menu__sub-menu.site-menu__sub-menu--our-work .highlighted-menu li:last-child {
  margin-bottom: 0;
}
.site-menu__sub-menu.site-menu__sub-menu--take-action > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--wp--preset--spacing--medium);
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--medium);
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-element-button, .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-block-read-more {
  width: auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
@media (max-width: 1199px) {
  .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-element-button, .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-block-read-more {
    background: none;
  }
  .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-element-button::after, .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-block-read-more::after {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  .site-menu__sub-menu.site-menu__sub-menu--take-action .cta-buttons .wp-block-button {
    width: 90%;
  }
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .row-top {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 1fr 1fr;
  grid-template-columns: 40% 1fr 1fr;
  gap: var(--wp--preset--spacing--large);
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  border-top: 1px solid #c1b6ab;
  padding-top: var(--wp--preset--spacing--medium);
  gap: var(--wp--preset--spacing--medium);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Override the default button focus styles */
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-element-button:first-child::before, .site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-block-read-more:first-child::before {
  content: "";
  background-image: url(../svg/icon-shop.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 23px;
  height: 22px;
  background-size: contain;
  display: inline-block;
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-element-button:last-child::before, .site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-block-read-more:last-child::before {
  content: "";
  background-image: url(../svg/icon-mug-tea.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 23px;
  height: 22px;
  background-size: contain;
  display: inline-block;
}
.site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-element-button:focus::before, .site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom .wp-block-read-more:focus::before {
  position: static;
  border: none;
  display: inline-block;
  border-radius: 0;
}
.site-menu .menu-item-has-children:hover .site-menu__sub-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.site-menu__sub-inner {
  position: relative;
  max-width: var(--wp--custom--wider-content-width) !important;
}
.site-menu__sub-inner h5 {
  margin: 30px 0 20px 0;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--medium);
}
.site-menu__sub-inner ul {
  min-width: 300px;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: static;
}
.site-menu__sub-inner ul li {
  padding: 0;
}
.site-menu__sub-inner ul li a {
  font-size: var(--wp--preset--font-size--x-small);
  color: var(--wp--preset--color--charcoal);
  font-weight: 400;
  text-decoration: none !important;
  padding: 0;
  border-radius: 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  border: none !important;
  gap: 5px;
}
.site-menu__sub-inner ul li a::after {
  -webkit-transition: opacity 0.2s ease-in, visibility 0.2s ease-in;
  transition: opacity 0.2s ease-in, visibility 0.2s ease-in;
  visibility: hidden;
  opacity: 0;
  content: "";
  background-image: url(../svg/icon-right-arrow-green.svg);
  background-repeat: no-repeat;
  background-position: right center;
  width: 24px;
  height: 22px;
  background-size: contain;
  display: inline-block;
}
.site-menu__sub-inner ul li a:hover::after {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 1199px) {
  .site-menu {
    margin-top: var(--wp--preset--spacing--small);
  }
  .site-menu ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: var(--wp--preset--spacing--medium);
  }
  .site-menu ul li {
    margin: 0;
  }
  .site-menu ul a {
    font-size: var(--wp--preset--font-size--x-small);
  }
  .site-menu ul > li {
    padding: 11px 0 17px 0 !important;
  }
  .site-menu ul > li .wp-element-button, .site-menu ul > li .wp-block-read-more {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  .site-menu ul > li a::after {
    display: none;
  }
  .site-menu ul > li a:not(.wp-element-button):not(.wp-block-read-more) {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-bottom: 2px solid var(--wp--preset--color--peach) !important;
    border-radius: 0;
    font-weight: normal;
    line-height: 1.4;
    padding-bottom: 0;
    margin: 0;
  }
  .site-menu ul > li a:not(.wp-element-button):not(.wp-block-read-more) img.underline {
    display: none;
  }
  .site-menu ul > li.menu-item-has-children {
    padding: 11px 0 !important;
  }
  .site-menu ul > li.menu-item-has-children .highlighted-menu {
    padding: 0;
    margin-bottom: var(--wp--preset--spacing--small);
  }
  .site-menu ul > li.menu-item-has-children .highlighted-menu h5 {
    color: var(--wp--preset--color--green);
  }
  .site-menu ul > li.menu-item-has-children:hover a::after {
    -webkit-transform: none;
            transform: none;
  }
  .site-menu ul > li.menu-item-has-children > a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
  }
  .site-menu ul > li.menu-item-has-children > a::after {
    background-image: url(../png/icon-chevron-right.png);
    translate: none;
    background-size: contain;
    height: 13px;
    width: 13px;
    -webkit-transition: none;
    transition: none;
  }
  .site-menu ul > li.menu-item-has-children > a:not(.wp-element-button):not(.wp-block-read-more) {
    border-bottom: 0 !important;
  }
  .site-menu ul > li.menu-item-has-children > a {
    -webkit-transition: none !important;
    transition: none !important;
  }
  .site-menu ul > li.menu-item-has-children > a.active {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--wp--preset--color--beige);
    padding: var(--wp--preset--spacing--x-small);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    translate: none;
    padding-left: var(--wp--preset--spacing--small);
  }
  .site-menu ul > li.menu-item-has-children > a.active::after {
    background-image: url(../png/icon-chevron-left.png);
    width: 18px;
    height: 18px;
  }
  .site-menu ul > li.menu-item-has-children .site-menu__sub-menu {
    position: static;
    padding: 0;
    background-color: inherit;
    -webkit-box-shadow: none;
            box-shadow: none;
    display: none !important;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--small);
  }
  .site-menu ul > li.menu-item-has-children .site-menu__sub-menu .site-menu__sub-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .site-menu ul > li.menu-item-has-children .site-menu__sub-menu .site-menu__sub-inner .site-menu__title {
    margin-bottom: 0;
    color: var(--wp--preset--color--green);
  }
  .site-menu ul > li.menu-item-has-children .site-menu__sub-menu.is-visible {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    position: absolute;
    top: 98px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wp--preset--color--cream);
  }
  .site-menu ul > li.menu-item-has-children .site-menu__sub-menu > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0;
  }
  .site-menu ul > li .site-menu__sub-menu.site-menu__sub-menu--take-action > div {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .site-menu ul > li .site-menu__sub-menu.site-menu__sub-menu--take-action .row-top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--wp--preset--spacing--small);
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .site-menu ul > li .site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-top: 0;
    padding-top: var(--wp--preset--spacing--small);
    padding-bottom: var(--wp--preset--spacing--medium);
  }
  .site-menu ul > li .site-menu__sub-menu.site-menu__sub-menu--take-action .row-bottom a::after {
    display: none;
  }
}

/* 6. Alignment fixes
    ========================================================================== */
/* WP removes the padding for blocks inside the main container that have default padding.
This causes issues with content inside full width blocks, so override it. */
.has-global-padding :where(.has-global-padding) {
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
}

/* If the user has selected the option to remove the padding after the last block, add
the styles to do this. */
.wp-site-blocks.remove-bottom-padding {
  padding-bottom: 0 !important;
}

/* If the h1 is the first element on the page, add some top margin. */
.wp-site-blocks > h1 {
  padding-top: var(--wp--preset--spacing--medium);
}

/* 7. Mobile menu
   ========================================================================== */
.site-mobile-nav__button {
  background: var(--wp--preset--color--dark-green);
  padding-top: var(--wp--preset--spacing--x-small);
  padding-bottom: var(--wp--preset--spacing--x-small);
  margin-bottom: var(--wp--preset--spacing--small);
}
.site-mobile-nav__button button {
  background: none;
  border: none;
  background-image: url(../svg/icon-close-mobile-nav.svg);
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.site-mobile-nav ul {
  list-style: none;
  padding: 0;
}
.site-mobile-nav ul a {
  display: inline-block;
  font-size: var(--wp--preset--font-size--medium);
  border-bottom: 2px solid var(--wp--preset--color--peach);
}

/* 9. Skip to main content
	========================================================================== */
a.skip-main:focus-visible, a.skip-main:active {
  color: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--contrast);
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: 0;
  display: inline-block;
  margin: auto;
  height: auto;
  width: auto;
  clip: auto;
  overflow: auto;
  padding: 15px;
  border-radius: 0 0 15px 15px;
  text-align: center;
  font-size: var(--wp--preset--font-size--medium);
  text-decoration: underline;
  outline: none;
  border: none;
  -webkit-transition: none;
  transition: none;
}

/* 10. Miscelaneous classes for layout, spacing and effects
	========================================================================== */
.sticky-sidebar {
  position: sticky;
  top: 60px; /* Adjust as needed */
  max-height: calc(100vh - 60px); /* Prevents overflow below viewport */
  overflow-y: auto; /* Enables vertical scrolling */
}
@media (max-width: 840px) {
  .sticky-sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
}

.wp-block-column.sticky-sidebar {
  -ms-flex-item-align: start;
      align-self: flex-start; /* Ensures the column doesn't stretch */
}

.banner-with-image-overlap {
  position: relative;
  z-index: 0;
}
.banner-with-image-overlap h2 {
  max-width: 880px;
}
.banner-with-image-overlap > .wp-block-group:first-child {
  padding-bottom: 215px !important;
}
@media (max-width: 840px) {
  .banner-with-image-overlap > .wp-block-group:first-child {
    padding-bottom: 105px !important;
  }
}
.banner-with-image-overlap > .wp-block-post-featured-image, .banner-with-image-overlap > .wp-block-cover, .banner-with-image-overlap > .wp-block-image {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -170px !important;
}
@media (max-width: 840px) {
  .banner-with-image-overlap > .wp-block-post-featured-image, .banner-with-image-overlap > .wp-block-cover, .banner-with-image-overlap > .wp-block-image {
    margin: 0 var(--wp--preset--spacing--x-small);
    margin-top: -60px !important;
  }
}
.banner-with-image-overlap > .wp-block-post-featured-image img, .banner-with-image-overlap > .wp-block-cover img, .banner-with-image-overlap > .wp-block-image img {
  border-radius: 12px;
}
@media (max-width: 840px) {
  .banner-with-image-overlap .has-global-padding :where(.has-global-padding),
  .banner-with-image-overlap .wp-block-boldblocks-breadcrumb-block {
    padding: 0 var(--wp--preset--spacing--small);
    text-align: left;
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
  .banner-with-image-overlap h1,
  .banner-with-image-overlap p {
    text-align: left;
    padding-bottom: 0 !important;
  }
  .banner-with-image-overlap .is-layout-flex {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 10px;
  }
  .banner-with-image-overlap h2 {
    text-align: left;
  }
}

/* Image mask to fade image to the right */
.add-image-mask .wp-block-image,
.add-image-mask .wp-block-media-text__media, .add-image-mask.wp-block-image, .add-image-mask.wp-block-media-text__media {
  position: relative;
  height: 100%;
}
.add-image-mask .wp-block-image img,
.add-image-mask .wp-block-media-text__media img, .add-image-mask.wp-block-image img, .add-image-mask.wp-block-media-text__media img {
  height: 100%;
}
.add-image-mask .wp-block-image:after,
.add-image-mask .wp-block-media-text__media:after, .add-image-mask.wp-block-image:after, .add-image-mask.wp-block-media-text__media:after {
  content: "";
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(var(--wp--preset--color--green)), to(rgba(245, 245, 245, 0)));
  background: linear-gradient(to left, var(--wp--preset--color--green), rgba(245, 245, 245, 0));
}
@media screen and (max-width: 781px) {
  .add-image-mask .wp-block-image:after,
  .add-image-mask .wp-block-media-text__media:after, .add-image-mask.wp-block-image:after, .add-image-mask.wp-block-media-text__media:after {
    display: none;
  }
}

/* Variation for beige background */
.has-beige-background-color .add-image-mask .wp-block-image:after,
.has-beige-background-color .add-image-mask .wp-block-media-text__media:after, .has-beige-background-color .add-image-mask.wp-block-image:after, .has-beige-background-color .add-image-mask.wp-block-media-text__media:after {
  background: -webkit-gradient(linear, right top, left top, from(var(--wp--preset--color--beige)), to(rgba(245, 245, 245, 0)));
  background: linear-gradient(to left, var(--wp--preset--color--beige), rgba(245, 245, 245, 0));
}

/* Variation for light green background */
.has-light-green-background-color .add-image-mask .wp-block-image:after,
.has-light-green-background-color .add-image-mask .wp-block-media-text__media:after, .has-light-green-background-color .add-image-mask.wp-block-image:after, .has-light-green-background-color .add-image-mask.wp-block-media-text__media:after {
  background: -webkit-gradient(linear, right top, left top, from(var(--wp--preset--color--light-green)), to(rgba(245, 245, 245, 0)));
  background: linear-gradient(to left, var(--wp--preset--color--light-green), rgba(245, 245, 245, 0));
}

@media (max-width: 1199px) {
  .mobile-remove-margins {
    margin: 0 !important;
    width: 100vw; /* Force full width */
    max-width: 100vw !important;
    /* Offset the left & right padding of the parent */
    margin-left: calc(-1 * var(--wp--preset--spacing--medium)) !important;
    margin-right: calc(-1 * var(--wp--preset--spacing--medium)) !important;
    /* Remove border radius */
    border-radius: 0 !important;
  }
}
/* A custom class .stack-columns-below-desktop to improve responsiveness of 4 column grid */
@media (max-width: 1199px) {
  /* Adjusted breakpoint for 2x2 grid */
  .stack-columns-below-desktop.wp-block-columns:not(.is-not-stacked-on-mobile) {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 840px) {
  /* Adjusted breakpoint for 1 column grid */
  .stack-columns-below-desktop.wp-block-columns:not(.is-not-stacked-on-mobile) {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
/* 10. Archive (cards) index template
	========================================================================== */
#archive {
  margin-bottom: var(--wp--preset--spacing--medium);
}
#archive h1 {
  margin-bottom: var(--wp--preset--spacing--medium);
}
#archive .card {
  -webkit-margin-before: var(--wp--preset--spacing--small);
          margin-block-start: var(--wp--preset--spacing--small);
}
#archive .card a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
#archive .card h3 {
  margin-bottom: var(--wp--preset--spacing--x-small);
}
#archive .pagination .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: var(--wp--preset--spacing--medium);
  margin-bottom: var(--wp--preset--spacing--medium);
}

.search-results-archive {
  /* Post type filters */
}
.search-results-archive .no-results p {
  text-align: center;
}
.search-results-archive .archive__listing__item {
  padding-top: var(--wp--preset--spacing--large);
}
.search-results-archive .archive__listing__item .content {
  gap: var(--wp--preset--spacing--x-small) !important;
}
.search-results-archive .archive__listing__item .content h3 {
  margin-bottom: 0;
  text-decoration: underline;
}
.search-results-archive .post-type {
  font-size: var(--wp--preset--font-size--x-small);
  font-weight: 600;
  color: var(--wp--preset--color--dark-green);
}
.search-results-archive .post-type-icon {
  background-color: var(--wp--preset--color--light-green);
  border-radius: 50%;
  -ms-flex-item-align: start;
      align-self: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  background-repeat: no-repeat;
  background-size: 38px auto;
  background-position: center;
}
.search-results-archive .post-type-icon.post {
  background-image: url(../svg/icon-news-bell.svg);
}
.search-results-archive .post-type-icon.page {
  background-image: url(../svg/icon-file.svg);
}
.search-results-archive .post-type-icon.resource {
  background-image: url(../svg/icon-resource.svg);
  background-size: 80px auto;
}
.search-results-archive .post-type-icon.event {
  background-image: url(../svg/icon-news-event.svg);
}
.search-results-archive .facetwp-facet-search_post_types {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: var(--wp--preset--spacing--x-small);
}
.search-results-archive .facetwp-facet-search_post_types .facetwp-checkbox {
  display: inline-block;
  background: var(--wp--preset--color--beige);
  padding: 13px 24px;
  border-radius: 1000px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-size: var(--wp--preset--font-size--small);
  font-weight: bold;
}
.search-results-archive .facetwp-counter {
  display: none !important;
}

.quote-pattern img {
  width: 71px;
  max-width: 71px;
  height: auto;
}
.quote-pattern .wp-block-columns {
  margin-top: 0 !important;
}
@media (max-width: 840px) {
  .quote-pattern .wp-block-columns {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 71px 1fr;
    grid-template-columns: 71px 1fr;
    margin-top: 0 !important;
  }
}

/* 11. 404-page adjust
	========================================================================== */
.not-found-error-page {
  padding-bottom: var(--wp--preset--spacing--medium);
}

/* ==========================================================================
   Blocks
   ========================================================================== */
/**
 * Block styles that cannot be achived in theme.json.
 *
 * Contents
 *
 * 1. Button variations
 * 2. Spacer
 * 3. Group
 * 4. Read more
 * 5. Post block
 * 6. Blockquote
 * 7. Details block / Advanced details block
 * 8. Image block
 * 9. Media Text Block
 * 10. List block
 * 11. Verse block
 * 12. Pullquote block
 */
/* 1. Custom button variation
   ========================================================================== */
/* Add the chevron after the button text using a FontAwesome pseudo element. */
.wp-element-button, .wp-block-read-more {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
  position: relative;
  border: 0;
  background-color: var(--wp--preset--color--peach);
  color: var(--wp--preset--color--dark-brown);
  font-size: var(--wp--preset--font-size--small);
  border-radius: 25px;
  text-transform: none;
  gap: 9px;
  min-height: 48px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /* Inactive style */
}
.wp-element-button::after, .wp-block-read-more::after {
  background-image: url("../svg/bg-button-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 21px;
  height: 20px;
  content: "";
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.wp-element-button:focus, .wp-block-read-more:focus {
  /* Adds focus state to simulate border */
  outline: none;
  /* Use pseudo-element for the detached border */
}
.wp-element-button:focus::before, .wp-block-read-more:focus::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--wp--preset--color--peach);
  border-radius: 29px; /* Ensure pseudo border follows the same curvature with offset */
  background: transparent;
  pointer-events: none; /* Avoid interfering with hover/focus behavior */
}
.wp-element-button:focus:not(:focus-visible), .wp-block-read-more:focus:not(:focus-visible) {
  outline: none;
}
.wp-element-button:hover, .wp-block-read-more:hover {
  background-color: var(--wp--preset--color--light-green);
}
.wp-element-button:hover:focus::before, .wp-block-read-more:hover:focus::before {
  border: 2px solid var(--wp--preset--color--light-green);
}
.wp-element-button.inactive, .inactive.wp-block-read-more, .wp-element-button:disabled, .wp-block-read-more:disabled {
  background-color: var(--wp--preset--color--warm-grey); /* Example: Dimmed background */
  color: var(--wp--preset--color--light-brown); /* Dimmed text */
  cursor: not-allowed; /* Show 'inactive' cursor */
  opacity: 0.5; /* Optional: Reduce visibility */
  pointer-events: none; /* Ensure it's not interactive */
}
.wp-element-button.is-medium-size, .is-medium-size.wp-block-read-more {
  height: 42px;
}
.wp-element-button.is-small-size, .is-small-size.wp-block-read-more {
  height: 31px;
  font-size: var(--wp--preset--font-size--2-x-small);
}
@media (max-width: 840px) {
  .wp-element-button, .wp-block-read-more {
    line-height: 1.3em;
    height: auto !important;
  }
}

.link-button-style, .wp-block-read-more, .wp-block-button.is-style-link-button .wp-element-button, .wp-block-button.is-style-link-button .wp-block-read-more {
  font-weight: bold;
  line-height: 1em;
  background-color: transparent;
  background-image: url("../svg/bg-button-underline.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 0;
  background-size: contain;
  border-radius: 0;
  width: auto;
}
.link-button-style:hover, .wp-block-read-more:hover, .wp-block-button.is-style-link-button .wp-element-button:hover, .wp-block-button.is-style-link-button .wp-block-read-more:hover {
  background-color: transparent;
  text-decoration: none;
  background-image: url("../svg/bg-button-underline-hover.svg");
}
.link-button-style:hover::after, .wp-block-read-more:hover::after, .wp-block-button.is-style-link-button .wp-element-button:hover::after, .wp-block-button.is-style-link-button .wp-block-read-more:hover::after {
  margin-left: 6px;
}
.link-button-style:focus:before, .wp-block-read-more:focus:before, .wp-block-button.is-style-link-button .wp-element-button:focus:before, .wp-block-button.is-style-link-button .wp-block-read-more:focus:before {
  border: none;
}

/* Add styles for the custom secondary button option. */
.reset-button, .block-resources-archive .filter-reset a.facetwp-reset {
  line-height: 1em;
  background-color: transparent;
  background-image: url("../svg/bg-button-underline.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 0;
  background-size: contain;
  border-radius: 0;
  gap: 6px;
  line-height: 1em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  height: 44px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
  font-size: var(--wp--preset--font-size--small);
  font-weight: bold;
}
.reset-button:hover, .block-resources-archive .filter-reset a.facetwp-reset:hover {
  text-decoration: none;
}
.reset-button:after, .block-resources-archive .filter-reset a.facetwp-reset:after {
  background-image: url("../svg/icon-button-close.svg");
  width: 18px;
  height: 18px;
  content: "";
  background-size: contain;
  display: inline-block;
}

.wp-block-button.is-style-anchor-button .wp-element-button::after, .wp-block-button.is-style-anchor-button .wp-block-read-more::after {
  background-image: url("../svg/bg-anchor-button-arrow.svg");
  width: 20px;
  height: 20px;
}

.wp-element-button.is-style-more-button::after, .is-style-more-button.wp-block-read-more::after {
  background-image: url("../svg/bg-button-read-more-2.svg");
  width: 22px;
  height: 24px;
}

.wp-element-button.is-style-external-button::after, .is-style-external-button.wp-block-read-more::after {
  background-image: url("../svg/bg-button-read-more-2.svg");
  width: 22px;
  height: 24px;
}

.wp-element-button.is-filter-button, .is-filter-button.wp-block-read-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: var(--wp--preset--spacing--x-small);
}
.wp-element-button.is-filter-button::after, .is-filter-button.wp-block-read-more::after {
  display: block;
  content: "";
  background-image: url("../svg/icon-filter-results.svg");
  width: 22px;
  height: 22px;
}

/* Button size variations */
.is-button-small {
  height: 34px;
  font-size: var(--wp--preset--font-size--x-small);
  padding-left: 15px;
  padding-right: 15px;
}

/* Deal with background colours button variations */
.has-background.has-green-background-color .wp-block-button.is-style-link-button .wp-element-button.wp-block-button__link, .has-background.has-green-background-color .wp-block-button.is-style-link-button .wp-block-button__link.wp-block-read-more {
  color: var(--wp--preset--color--cream);
}
.has-background.has-green-background-color .wp-block-button.is-style-link-button .wp-element-button.wp-block-button__link:after, .has-background.has-green-background-color .wp-block-button.is-style-link-button .wp-block-button__link.wp-block-read-more:after {
  background-image: url("../svg/bg-button-arrow-white.svg");
}

/* Set button colours by default when on beige or light green backgrounds (BG would be applied to the group) */
.has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button, .has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more,
.has-beige-background-color .wp-element-button.gform_button,
.has-beige-background-color .gform_button.wp-block-read-more,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more,
.has-light-green-background-color .wp-element-button.gform_button,
.has-light-green-background-color .gform_button.wp-block-read-more {
  background-color: var(--wp--preset--color--maroon);
  color: var(--wp--preset--color--cream);
}
.has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button:after, .has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more:after,
.has-beige-background-color .wp-element-button.gform_button:after,
.has-beige-background-color .gform_button.wp-block-read-more:after,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button:after,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more:after,
.has-light-green-background-color .wp-element-button.gform_button:after,
.has-light-green-background-color .gform_button.wp-block-read-more:after {
  background-image: url("../svg/bg-button-arrow-white.svg");
}
.has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button:hover, .has-beige-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more:hover,
.has-beige-background-color .wp-element-button.gform_button:hover,
.has-beige-background-color .gform_button.wp-block-read-more:hover,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-element-button:hover,
.has-light-green-background-color .wp-block-button:not(.is-style-link-button) .wp-block-read-more:hover,
.has-light-green-background-color .wp-element-button.gform_button:hover,
.has-light-green-background-color .gform_button.wp-block-read-more:hover {
  background-color: var(--wp--preset--color--dark-green);
}
.has-beige-background-color .wp-block-button.is-style-anchor-button .wp-element-button::after, .has-beige-background-color .wp-block-button.is-style-anchor-button .wp-block-read-more::after,
.has-light-green-background-color .wp-block-button.is-style-anchor-button .wp-element-button::after,
.has-light-green-background-color .wp-block-button.is-style-anchor-button .wp-block-read-more::after {
  background-image: url("../svg/bg-anchor-button-arrow-white.svg");
  width: 20px;
  height: 20px;
}
.has-beige-background-color .wp-block-button.is-style-link-button .wp-element-button, .has-beige-background-color .wp-block-button.is-style-link-button .wp-block-read-more,
.has-light-green-background-color .wp-block-button.is-style-link-button .wp-element-button,
.has-light-green-background-color .wp-block-button.is-style-link-button .wp-block-read-more {
  background-image: url("../svg/bg-button-underline-on-bg.svg");
}
.has-beige-background-color .wp-block-button.is-style-link-button .wp-element-button:hover, .has-beige-background-color .wp-block-button.is-style-link-button .wp-block-read-more:hover,
.has-light-green-background-color .wp-block-button.is-style-link-button .wp-element-button:hover,
.has-light-green-background-color .wp-block-button.is-style-link-button .wp-block-read-more:hover {
  background-image: url("../svg/bg-button-underline-on-bg-hover.svg");
}

/* 2. Spacer
   ========================================================================== */
.wp-block-spacer {
  -webkit-margin-before: 0 !important;
          margin-block-start: 0 !important;
}

/* 3. Group
   ========================================================================== */
/* 4. Read more
   ========================================================================== */
.wp-block-read-more {
  height: auto;
  padding-bottom: 10px;
}

/* 5. Post block
   ========================================================================== */
.wp-block-post-template .post-tags .post-tag {
  background-color: var(--wp--preset--color--cream);
}

.wp-block-post-date {
  font-size: var(--wp--preset--font-size--2-x-small);
  color: var(--wp--preset--color--light-brown);
}

/* 6. Blockquote 
   ========================================================================== */
blockquote {
  color: var(--wp--preset--color--maroon);
  font-size: var(--wp--preset--font-size--large);
  font-style: italic;
  font-weight: 500;
  line-height: 135%;
  letter-spacing: 0.26px;
  position: relative;
}
blockquote:before {
  content: "";
  background-image: url("../svg/icon-quote-marks.svg");
  background-repeat: no-repeat;
  font-size: 2em;
  width: 80px;
  height: 25px;
  line-height: 0.1em;
  margin-right: 0.1em;
  vertical-align: -0.4em;
  display: block;
  margin-bottom: 16px;
}
blockquote p:before,
blockquote p:after {
  content: '"';
}

/* 7. Details block
   ========================================================================== */
.wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--warm-grey);
}
.wp-block-details summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  list-style: none; /* Remove default triangle */
  position: relative;
  padding-right: 40px; /* Add space for custom icon */
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding-bottom: 16px;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}
.wp-block-details summary::marker, .wp-block-details summary::-webkit-details-marker {
  display: none;
  content: "";
}
.wp-block-details p {
  padding-bottom: 16px;
  font-size: var(--wp--preset--font-size--small);
}
.wp-block-details summary::after {
  content: "";
  width: 23px; /* Adjust size */
  height: 23px;
  background-image: url("../svg/icon-expand.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0;
}
@media (max-width: 559px) {
  .wp-block-details summary::after {
    position: relative;
    margin-left: auto;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}
.wp-block-details[open] summary::after {
  background-image: url("../svg/icon-minimise.svg");
}
.wp-block-details.advanced-details {
  padding: var(--wp--preset--spacing--small);
  border-bottom: none;
  background: var(--wp--preset--color--cream);
  border-radius: 8px;
  margin-bottom: var(--wp--preset--spacing--x-small);
}
.wp-block-details.advanced-details summary {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding: 0;
}
.wp-block-details.advanced-details p {
  padding-top: 16px;
  padding-bottom: 0;
  padding-left: 57px;
}
.wp-block-details.advanced-details summary::before {
  content: "";
  width: 32px; /* Adjust size */
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: var(--wp--preset--spacing--small);
}
.wp-block-details.advanced-details.icon-work summary::before {
  content: "";
  background-image: url("../svg/icon-work.svg");
}
.wp-block-details.advanced-details.icon-gender summary::before {
  content: "";
  background-image: url("../svg/icon-gender.svg");
}
.wp-block-details.advanced-details.icon-school summary::before {
  content: "";
  background-image: url("../svg/icon-school.svg");
}
.wp-block-details.advanced-details.icon-home summary::before {
  content: "";
  background-image: url("../svg/icon-home.svg");
}
.wp-block-details.advanced-details.icon-users summary::before {
  content: "";
  background-image: url("../svg/icon-users.svg");
}
.wp-block-details.advanced-details.icon-systems summary::before {
  content: "";
  background-image: url("../svg/icon-systems.svg");
}
.wp-block-details.advanced-details.icon-leaf summary::before {
  content: "";
  background-image: url("../svg/icon-leaf.svg");
}

/* 8. Image block
   ========================================================================== */
.wp-block-image {
  position: relative;
}
.wp-block-image img {
  border-radius: 12px;
}
.wp-block-image .wp-element-caption {
  font-size: var(--wp--preset--font-size--2-x-small);
  text-align: center;
  margin-top: 12px;
}
.wp-block-image.is-style-no-border-radius img {
  border-radius: 0;
}
.wp-block-image.is-style-tooltip-caption figcaption {
  font-size: var(--wp--preset--font-size--2-x-small);
  color: white;
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: transparent;
  font-size: 0;
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 1;
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption::before {
  content: "i";
  font-size: var(--wp--preset--font-size--2-x-small);
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background-color: var(--wp--preset--color--maroon);
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption .tooltip-box {
  position: absolute;
  background-color: var(--wp--preset--color--dark-brown);
  color: white;
  padding: 8px;
  border-radius: 4px;
  border-bottom-right-radius: 0;
  font-size: var(--wp--preset--font-size--2-x-small);
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  bottom: calc(100% + 12px);
  right: 10px;
}
@media (max-width: 559px) {
  .wp-block-image.is-style-tooltip-caption .wp-element-caption .tooltip-box {
    width: 300px;
    white-space: wrap;
  }
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption .tooltip-triangle {
  position: absolute;
  width: 15px;
  height: 36px;
  background: url("../svg/icon-tooltip-right.svg") no-repeat center center;
  background-size: 15px 12px;
  background-position: right top;
  bottom: 0;
  right: 10px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  width: 100px;
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption a {
  color: white;
  text-decoration: underline;
  -webkit-transition: none;
  transition: none;
}
.wp-block-image.is-style-tooltip-caption .wp-element-caption:hover .tooltip-box, .wp-block-image.is-style-tooltip-caption .wp-element-caption:hover .tooltip-triangle,
.wp-block-image.is-style-tooltip-caption .wp-element-caption .visible {
  visibility: visible;
  opacity: 1;
}

/* Extra utility class for adding a curve to the image */
.add-image-curve,
.add-image-curve img {
  border-radius: 0;
  border-bottom-left-radius: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 781px) {
  .add-image-curve,
  .add-image-curve img {
    border-bottom-left-radius: 0;
    border-top-right-radius: 100vh;
    width: 100vw;
    margin-left: calc(var(--wp--style--root--padding-left) * -1);
    display: block;
  }
}

/* 9. Media Text Block
   ========================================================================== */
.wp-block-media-text.has-media-on-the-right:not(.has-background) > .wp-block-media-text__content {
  padding-left: 0;
}
.wp-block-media-text img {
  border-radius: 8px;
}

/* 10. List block
   ========================================================================== */
.wp-block-list {
  padding-left: 20px;
  /* Make the WP list block bullets a green colour instead of black */
}
.wp-block-list li {
  margin-bottom: var(--wp--preset--spacing--x-small);
  list-style-type: disc; /* Ensures bullets are shown */
}
.wp-block-list li::marker {
  color: green; /* Changes the bullet color */
}
.wp-block-list.is-style-bold-dark-green-bullets li {
  font-weight: 600;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--medium);
}
.wp-block-list.is-style-bold-dark-green-bullets li::marker {
  color: var(--wp--preset--color--green); /* Changes the bullet color */
}
.wp-block-list.is-style-bold-dark-green-bullets li .wp-block-list {
  margin-top: var(--wp--preset--spacing--x-small);
}
.wp-block-list.is-style-bold-dark-green-bullets li .wp-block-list li {
  margin-bottom: 4px;
  font-weight: normal;
}
.wp-block-list.is-style-bold-dark-green-bullets li .wp-block-list li::marker {
  color: var(--wp--preset--color--dark-brown);
}
.wp-block-list.is-style-bold-dark-green-bullets li .wp-block-list li:last-child {
  margin-bottom: var(--wp--preset--spacing--x-small);
}

/* 11. Verse block
   ========================================================================== */
.wp-block-verse {
  padding: 40px;
}

/* 12. Pullquote block
   ========================================================================== */
.wp-block-pullquote {
  text-align: left;
}
.wp-block-pullquote blockquote {
  color: var(--wp--preset--color--maroon);
}
.wp-block-pullquote blockquote p {
  margin-bottom: var(--wp--preset--spacing--x-small);
}
.wp-block-pullquote cite {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
  color: var(--wp--preset--color--dark-brown);
  font-style: normal;
}

/* 13. Query Block
   ========================================================================== */
.wp-block-query h3 {
  margin-bottom: 6px;
  color: var(--wp--preset--color--dark-brown);
}
.wp-block-query h3 a {
  color: var(--wp--preset--color--dark-brown);
}
.wp-block-query time {
  display: block;
  font-size: var(--wp--preset--font-size--2-x-small);
  color: var(--wp--preset--color--light-brown);
  font-weight: 600;
  margin-bottom: 20px;
}
.wp-block-query .wp-block-button.is-style-link-button.external .wp-element-button::after, .wp-block-query .wp-block-button.is-style-link-button.external .wp-block-read-more::after {
  background-image: url(../svg/icon-external-link.svg);
}

/* ==========================================================================
	Custom blocks
	========================================================================== */
/**
 * Styles for custom blocks created with the ACF block API.
 * maintenance.
 *
 * Contents
 *
 * 1. Accordion
 * 2. Call to action
 * 3. Related content
 * 4. Home Banner
 * 5. Call to action banner / sub footer
 * 6. Latest news and events
 * 7. Our Network Listing
 * 8. Resources Archive
 * 9. Team and board listing
 * 10. Social share 
 * 11. Post content sidebar
 * 12. Page Links Banner
 **/
/* 1. Accordion
	========================================================================== */
.wp-block-accordion h3 {
  margin: 0;
}
.wp-block-accordion h3 button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: none;
  width: 100%;
  background: var(--wp--preset--color--primary);
  padding: 20px;
  color: var(--wp--preset--color--base);
  text-align: left;
  font-size: var(--wp--preset--font-size--normal) !important;
  cursor: pointer;
}
.wp-block-accordion h3 button:hover {
  background: var(--wp--preset--color--contrast);
}
.wp-block-accordion h3 button i {
  font-style: normal;
  margin: 0;
}
.wp-block-accordion__item {
  padding-bottom: 15px;
}

/* 2. Call to action
	========================================================================== */
.wp-block-cta__inner {
  padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--small) var(--wp--preset--spacing--small);
  border: 2px solid var(--wp--preset--color--contrast);
}
@media (max-width: 840px) {
  .wp-block-cta__inner {
    padding: 0 var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--x-small);
  }
}
.wp-block-cta h2,
.wp-block-cta p {
  margin: var(--wp--preset--spacing--x-small) 0;
}

/* 3. Related content
	========================================================================== */
.wp-block-related-content h2 {
  margin-bottom: 40px;
}
.wp-block-related-content__list {
  display: -ms-grid;
  display: grid;
  grid-gap: 40px;
  -ms-grid-columns: (minmax(0, 1fr))[3];
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
}
@media (max-width: 840px) {
  .wp-block-related-content__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
}
.wp-block-related-content__item > a {
  display: block;
  text-decoration: none;
}
.wp-block-related-content__item > a:has(img) {
  border-bottom: none;
}
.wp-block-related-content__item > a:has(img):hover {
  opacity: 0.7;
}
.wp-block-related-content__item img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin-bottom: var(--wp--preset--spacing--x-small);
}
.wp-block-related-content__item h3 {
  margin: 0 0 15px;
}
.wp-block-related-content__item h3 a {
  color: var(--wp--preset--color--primary);
}
.wp-block-related-content__item h3 a:hover {
  color: var(--wp--preset--color--contrast);
}

/* 4. Home Banner
	========================================================================== */
.wp-block-home-banner {
  background-color: var(--wp--preset--color--green);
  position: relative;
  overflow-x: hidden;
}
.wp-block-home-banner__wrapper {
  margin-right: -80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 422px;
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
}
.wp-block-home-banner__content {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-top: var(--wp--preset--spacing--large);
  padding-bottom: var(--wp--preset--spacing--large);
}
@media (min-width: 1400px) {
  .wp-block-home-banner__content {
    padding-right: 0;
    padding-left: 0;
  }
}
.wp-block-home-banner h1 {
  margin-top: 0;
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.2em;
  color: var(--wp--preset--color--cream);
}
.wp-block-home-banner__images {
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-left-radius: 100vh;
  background-position: bottom right;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  height: auto;
  width: calc(45% + 100px);
  height: 100%;
  position: absolute;
  top: 0;
  right: -100px;
}
.wp-block-home-banner__images:after {
  content: "";
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(var(--wp--preset--color--green)), to(rgba(245, 245, 245, 0)));
  background: linear-gradient(to left, var(--wp--preset--color--green), rgba(245, 245, 245, 0));
}
.wp-block-home-banner__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}
.wp-block-home-banner__image.active {
  opacity: 1;
}
@media (max-width: 840px) {
  .wp-block-home-banner__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    min-height: 0;
  }
  .wp-block-home-banner__images {
    width: 100%;
    height: 300px;
    position: relative;
    padding: 0;
    right: 0;
  }
  .wp-block-home-banner__images::after {
    display: none;
  }
  .wp-block-home-banner__content {
    width: 100%;
  }
}
@media (max-width: 559px) {
  .wp-block-home-banner__images {
    height: 171px;
  }
}

/* 5. Call to action banner / sub footer
	========================================================================== */
.block-cta-banner {
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  color: white;
}
.block-cta-banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(92.38deg, rgba(0, 0, 0, 0.65) 41.37%, rgba(0, 0, 0, 0) 91.23%);
}
.block-cta-banner__inner {
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  width: 100%;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: white;
  padding-right: calc(var(--wp--style--root--padding-right));
  padding-left: calc(var(--wp--style--root--padding-left));
}
.block-cta-banner__content {
  max-width: 672px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (max-width: 840px) {
  .block-cta-banner__content {
    padding: var(--wp--preset--spacing--small) 0;
  }
}
.block-cta-banner__illustration {
  margin-left: -63px;
}
@media (max-width: 840px) {
  .block-cta-banner__illustration {
    display: none;
  }
}
.block-cta-banner h3 {
  color: white;
}
.block-cta-banner p {
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.2em;
  color: white;
  font-weight: 500;
}

/* 6. Latest news and events
	========================================================================== */
.block-latest-news-events__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: var(--wp--preset--spacing--medium);
  margin-top: var(--wp--preset--spacing--large);
}
.block-latest-news-events__header--archive {
  margin-top: var(--wp--preset--spacing--large);
  margin-bottom: var(--wp--preset--spacing--medium);
}
.block-latest-news-events__header--archive .results-count,
.block-latest-news-events__header--archive .facetwp-facet-result_count {
  margin: 0;
  font-weight: 600;
}
.block-latest-news-events h2 {
  margin-top: 0;
  font-size: var(--wp--preset--font-size--x-large);
}
.block-latest-news-events h3 {
  margin: 0;
}
.block-latest-news-events .wp-element-button, .block-latest-news-events .wp-block-read-more {
  /* Reset or set whatever styles it needs */
  /* Or custom styles */
}
.block-latest-news-events--archive .block-latest-news-events__content {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px;
}
@media (max-width: 840px) {
  .block-latest-news-events--archive .block-latest-news-events__content {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.block-latest-news-events .swiper-wrapper {
  position: relative;
}
@media (min-width: 841px) {
  .block-latest-news-events .swiper-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
  }
}
.block-latest-news-events .view-all-mobile {
  display: none;
}
@media (max-width: 840px) {
  .block-latest-news-events .view-all-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .block-latest-news-events .view-all-desktop {
    display: none;
  }
  .block-latest-news-events .actions .wp-block-buttons {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 16px;
  }
  .block-latest-news-events .actions .wp-block-buttons .wp-element-button, .block-latest-news-events .actions .wp-block-buttons .wp-block-read-more {
    height: 31px;
    min-height: 31px;
  }
}

.swiper-container {
  overflow: hidden;
}

.swiper-nav {
  display: none;
  padding-top: var(--wp--preset--spacing--medium);
  padding-bottom: var(--wp--preset--spacing--medium);
}
@media (max-width: 840px) {
  .swiper-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 30px;
    margin-top: var(--wp--preset--spacing--medium);
  }
}

.swiper-button-next {
  width: 48px !important;
  height: 48px !important;
  position: relative !important;
  border-radius: 100%;
  background-color: var(--wp--preset--color--beige);
}
.swiper-button-next:after {
  content: "" !important;
  width: 24px;
  height: 24px;
  background-image: url(../png/icon-chevron-right.png);
  background-size: contain;
}

.swiper-button-prev {
  position: relative !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 100%;
  background-color: var(--wp--preset--color--beige);
}
.swiper-button-prev:after {
  content: "" !important;
  width: 24px;
  height: 24px;
  background-image: url(../png/icon-chevron-left.png);
  background-size: contain;
}

/* 7. Our Network Listing
	========================================================================== */
.block-our-network-listing {
  padding-top: var(--wp--preset--spacing--large);
  padding-bottom: var(--wp--preset--spacing--large);
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

.our-network-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
  padding: 0;
}
@media (max-width: 840px) {
  .our-network-grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
.our-network-grid__info {
  display: none;
}
.our-network-grid__logo img {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.our-network-grid__item {
  background-color: white;
  border-radius: 8px;
  border: 2px solid transparent;
  -webkit-transition: border 0.3s ease-in-out;
  transition: border 0.3s ease-in-out;
  position: relative;
  padding: 25px 40px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.our-network-grid__item .our-network-grid__more {
  position: absolute;
  top: calc(50% - 17px);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  left: 0;
  text-align: center;
  width: 100%;
}
.our-network-grid__item:hover {
  border: 2px solid var(--wp--preset--color--peach);
}
.our-network-grid__item:hover .our-network-grid__more {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 840px) {
  .our-network-grid__item {
    padding: 20px;
  }
}

.our-network-modal__header {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  color: var(--wp--preset--color--cream);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: var(--wp--preset--spacing--medium);
  height: 345px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 80px;
}
.our-network-modal .actor-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: var(--wp--preset--spacing--x-small);
}
.our-network-modal .actor-details h3 {
  margin: 0;
}
.our-network-modal .actor-logo {
  padding: 25px 40px;
  background-color: white;
  border-radius: 8px;
  max-width: 280px;
  max-height: 185px;
}
.our-network-modal .actor-logo img {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.our-network-modal__content {
  padding: 80px;
  background: var(--wp--preset--color--cream);
  border-radius: 12px;
}
.our-network-modal__content .wp-block-group.quote-pattern {
  margin-top: 0 !important;
}
.our-network-modal__content h5 {
  margin-top: 0;
}
.our-network-modal .wp-block-button.is-style-link-button.external .wp-element-button::after, .our-network-modal .wp-block-button.is-style-link-button.external .wp-block-read-more::after {
  background-image: url(../svg/icon-external-link-light.svg) !important;
}
@media (max-width: 559px) {
  .our-network-modal .our-network-modal__header {
    padding: 60px 30px !important;
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .our-network-modal .actor-logo {
    padding: 20px;
    max-width: 100%;
    max-height: 100%;
  }
  .our-network-modal .wp-block-button__link.wp-element-button, .our-network-modal .wp-block-button__link.wp-block-read-more {
    font-size: 16px;
  }
  .our-network-modal .our-network-modal__content .wp-block-heading {
    margin-top: 0 !important;
  }
}

.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.3) !important; /* Background color */
}

.fancybox__nav .carousel__button {
  background: var(--wp--preset--color--peach);
  color: black;
}
.fancybox__nav .carousel__button.is-prev::after {
  content: "\f053"; /* Unicode for fa-arrow-right */
}
.fancybox__nav .carousel__button.is-next::after {
  content: "\f054"; /* Unicode for fa-arrow-right */
}
.fancybox__nav .carousel__button svg {
  display: none;
}
@media (max-width: 559px) {
  .fancybox__nav .carousel__button.is-prev {
    left: 0 !important;
    width: 32px;
    height: 32px;
  }
  .fancybox__nav .carousel__button.is-next {
    right: 0 !important;
    width: 32px;
    height: 32px;
  }
}

.fancybox__content {
  border-radius: 12px;
  padding: 0 !important;
  max-width: 920px;
}
.fancybox__content .wp-block-button__link:focus:not(:focus-visible) {
  outline: none !important;
}

/* Fancy box close button */
.fancybox__content > .carousel__button.is-close {
  top: 30px !important;
  right: 30px !important;
}
@media (max-width: 559px) {
  .fancybox__content > .carousel__button.is-close {
    top: 20px !important;
    right: 20px !important;
  }
}
.fancybox__content > .carousel__button.is-close svg {
  display: none;
}
.fancybox__content > .carousel__button.is-close::after {
  font-size: 30px;
  color: var(--wp--preset--color--cream);
  content: "\f00d"; /* Unicode for fa-close */
  font-weight: normal;
}

/* 8. Resources Archive
	========================================================================== */
/* 11. Resources Archive
	========================================================================== */
.block-resources-archive {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--large);
  -webkit-margin-before: var(--wp--preset--spacing--large);
          margin-block-start: var(--wp--preset--spacing--large);
}
.block-resources-archive .facetwp-facet {
  margin: 0;
}
.block-resources-archive .facetwp-facet-reset {
  margin-bottom: var(--wp--preset--spacing--small);
}
.block-resources-archive .facetwp-facet-reset .facetwp-reset {
  text-decoration: none;
}
.block-resources-archive .facetwp-facet-reset.facetwp-hidden {
  display: block;
}
.block-resources-archive .facetwp-facet-reset.facetwp-hidden .facetwp-reset {
  cursor: default;
  color: #B8AFA8;
}
.block-resources-archive .facetwp-facet-reset.facetwp-hidden .facetwp-reset::after {
  opacity: 0.6;
}
.block-resources-archive .archive__sidebar {
  position: sticky;
  top: 60px;
  -ms-flex-item-align: start;
      align-self: flex-start;
  margin-bottom: var(--wp--preset--spacing--large);
  max-height: calc(100vh - 60px); /* Prevents overflow below viewport */
  overflow-y: auto; /* Enables vertical scrolling */
  -ms-flex-preferred-size: 28%;
      flex-basis: 28%;
}
.block-resources-archive .archive__main {
  -ms-flex-preferred-size: 72%;
      flex-basis: 72%;
}
.block-resources-archive .mobile-filter-results-button {
  display: none;
  margin: 0;
}
.block-resources-archive .filter-reset .facetwp-facet-reset.facetwp-hidden a.facetwp-reset {
  /* stop a click working on this element */
  pointer-events: none;
  background-image: url("../svg/bg-button-underline-dark-2.svg");
}
.block-resources-archive .results-count {
  margin-bottom: var(--wp--preset--spacing--medium);
}
.block-resources-archive .archive__sidebar__filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--wp--preset--spacing--x-small);
}
@media (max-width: 1199px) {
  .block-resources-archive {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .block-resources-archive .archive__sidebar {
    position: static;
    width: 100%;
  }
  .block-resources-archive .archive__sidebar .archive__sidebar__filters {
    display: none;
  }
  .block-resources-archive .archive__sidebar .filter-section {
    background-color: transparent;
    padding: 8px 0;
  }
  .block-resources-archive .mobile-filter-results-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }
}
.block-resources-archive .filter-thirst-only {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: var(--wp--preset--font-size--x-small);
  gap: 8px;
  margin-bottom: var(--wp--preset--spacing--small);
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only {
  margin: 0;
  border: 0;
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-display-value {
  display: none;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-counter {
  display: none;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio:first-child {
  display: none;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio {
  padding-top: 0;
  background-image: url(../svg/toggle-off.svg);
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  height: 24px;
  width: 24px;
  border: 0;
  padding: 0;
  padding-left: 36px;
  margin: 0;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio::after, .block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio::before {
  display: none;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio:hover {
  background-color: transparent;
  background-image: url(../svg/toggle-off.svg);
  border: 0;
}
.block-resources-archive .filter-thirst-only .facetwp-facet-thirst_only .facetwp-radio.checked {
  background-color: transparent;
  background-image: url(../svg/toggle-on.svg);
}
.block-resources-archive .filter-section {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  background-color: var(--wp--preset--color--light-green);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
}
.block-resources-archive .filter-section .facetwp-facet {
  padding: 0 16px 16px 16px;
}
.block-resources-archive .filter-section .facetwp-facet .facetwp-checkbox:first-child {
  margin-top: 0;
}
.block-resources-archive .filter-section-label {
  padding: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-weight: bold;
  font-size: var(--wp--preset--font-size--x-small);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.block-resources-archive .filter-section-label::after {
  content: "\f107"; /* Unicode for fa-chevron-down */
}
.block-resources-archive .filter-section .facetwp-checkbox {
  font-size: var(--wp--preset--font-size--x-small);
  margin-top: 16px;
  background-image: url(../svg/bg-checkbox.svg);
  background-size: 20px 20px;
  background-position: top left;
  padding-left: 26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 20px;
}
.block-resources-archive .filter-section .facetwp-checkbox.checked {
  background-image: url(../svg/bg-checkbox-checked.svg);
}
.block-resources-archive .filter-section .facetwp-facet {
  display: none;
  margin: 0;
}
.block-resources-archive .filter-section .facetwp-type-date_range {
  margin-top: 16px;
}
.block-resources-archive .filter-section .facetwp-type-date_range input {
  border: 1px solid var(--wp--preset--color--green);
  border-radius: 4px;
}
.block-resources-archive .filter-section .facetwp-type-date_range input:last-child {
  margin-top: 10px;
}
.block-resources-archive .filter-section.active .facetwp-facet {
  display: block;
}
.block-resources-archive .filter-section.active .filter-section-label::after {
  content: "\f106"; /* Unicode for fa-chevron-up */
}
.block-resources-archive .archive__listing {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--wp--preset--spacing--large);
  /* Remove border-bottom from the previous sibling */
}
.block-resources-archive .archive__listing-header {
  font-weight: 600;
  font-size: var(--wp--preset--font-size--medium);
}
.block-resources-archive .archive__listing h3 {
  font-size: var(--wp--preset--font-size--large);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.52px;
  margin: 0;
}
.block-resources-archive .archive__listing .call-to-action {
  margin-top: calc(-1 * var(--wp--preset--spacing--large));
}
.block-resources-archive .archive__listing .call-to-action::before {
  border-bottom: none;
}
.block-resources-archive .archive__listing__item {
  padding-bottom: var(--wp--preset--spacing--large);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid rgba(115, 96, 83, 0.4);
  gap: var(--wp--preset--spacing--small);
}
.block-resources-archive .archive__listing__item .post-tags .post-tag {
  background-color: var(--wp--preset--color--beige);
}
.block-resources-archive .archive__listing__item.thirst .post-tags .post-tag {
  background-color: var(--wp--preset--color--light-green);
}
.block-resources-archive .archive__listing__item:first-child {
  padding-top: var(--wp--preset--spacing--medium);
}
.block-resources-archive .archive__listing__item:last-child {
  border-bottom: none;
}
.block-resources-archive .archive__listing__item.no-border {
  border-bottom: none;
}
.block-resources-archive .archive__listing__item img {
  max-width: 130px;
  height: auto;
  aspect-ratio: 65/92;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -ms-flex-item-align: start;
      -ms-grid-row-align: start;
      align-self: start;
  border-radius: 4px;
}
.block-resources-archive .archive__listing__item h3 {
  margin-bottom: 6px;
}
.block-resources-archive .archive__listing__item time {
  display: block;
  font-size: var(--wp--preset--font-size--2-x-small);
  color: var(--wp--preset--color--light-brown);
  font-weight: 600;
}
.block-resources-archive .archive__listing__item .excerpt {
  font-size: var(--wp--preset--font-size--x-small);
  color: var(--wp--preset--color--light-brown);
}
.block-resources-archive .archive__listing__item .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--wp--preset--spacing--small);
}
.block-resources-archive .archive__listing__item .content p {
  margin: 0;
}
.block-resources-archive .archive__listing__item .wp-block-button.is-style-link-button.external .wp-element-button::after, .block-resources-archive .archive__listing__item .wp-block-button.is-style-link-button.external .wp-block-read-more::after {
  background-image: url(../svg/icon-external-link.svg);
}
.block-resources-archive .archive__listing__item.featured {
  padding-top: 60px;
  padding-left: var(--wp--preset--spacing--medium);
  padding-right: var(--wp--preset--spacing--medium);
  border: 2px solid var(--wp--preset--color--green);
  background-color: #fffaf5;
  border-radius: 8px;
  position: relative;
}
.block-resources-archive .archive__listing__item.featured:not(:first-child) {
  margin-top: calc(-1 * var(--wp--preset--spacing--large) - 6px);
}
.block-resources-archive .archive__listing__item.featured .featured-label {
  position: absolute;
  font-size: var(--wp--preset--font-size--2-x-small);
  background-color: var(--wp--preset--color--green);
  top: 0;
  left: 0;
  color: var(--wp--preset--color--cream);
  padding: 4px 32px 4px 12px;
  border-bottom-right-radius: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}
.block-resources-archive .archive__listing__item.featured .featured-label:before {
  background-image: url(../svg/icon-star-on-green-bg.svg);
  width: 16px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
}
.block-resources-archive .archive__listing__item.featured h3 {
  color: var(--wp--preset--color--green);
}
@media (max-width: 840px) {
  .block-resources-archive .archive__listing__item img.attachment-card {
    max-width: 69px;
    aspect-ratio: 65/92;
  }
  .block-resources-archive .archive__listing__item .content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

/* Modal window for filters */
/* Modal Background */
.filters-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

/* Modal Content */
.filters-modal__content {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.95);
          transform: translate(-50%, -50%) scale(0.95); /* Starts slightly smaller */
  background: var(--wp--preset--color--cream);
  border-radius: 12px;
  padding: 40px 25px 0 25px;
  width: 90%;
  max-width: 400px;
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.filters-modal__content h4 {
  color: var(--wp--preset--color--green);
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--x-small);
}
.filters-modal__content .filters-footer {
  -webkit-box-shadow: 0px -4px 32px 0px rgba(62, 44, 32, 0.2);
          box-shadow: 0px -4px 32px 0px rgba(62, 44, 32, 0.2);
  margin-left: -25px;
  margin-right: -25px;
  padding: 25px;
  margin-top: 25px;
}
.filters-modal__content .filters-footer .wp-element-button, .filters-modal__content .filters-footer .wp-block-read-more {
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.filters-modal__content .filters-footer .wp-element-button::after, .filters-modal__content .filters-footer .wp-block-read-more::after {
  background: none;
}
@media (max-width: 559px) {
  .filters-modal__content {
    max-height: 90vh; /* or something like 80vh if you want padding around */
    overflow-y: auto;
  }
}

/* Close Button */
.filters-modal__close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Active State */
.filters-modal.active {
  display: block;
}
.filters-modal.active .archive__sidebar__filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.filters-modal.active .filters-modal__content {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}

/* 9. Team and board listing
	========================================================================== */
.block-team-and-board-listing .team-members-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; /* Allows items to wrap onto new rows */
  gap: var(--wp--preset--spacing--large); /* Space between items */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Center-align items in each row */
}
.block-team-and-board-listing .team-members-wrapper .team-member {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 calc(25% - var(--wp--preset--spacing--large));
          flex: 1 1 calc(25% - var(--wp--preset--spacing--large)); /* Make each item 25% width minus gap */
  max-width: calc(25% - var(--wp--preset--spacing--large)); /* Ensure items don't grow beyond 25% */
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Include padding and borders in width calculations */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 25px;
  padding: 0;
}
.block-team-and-board-listing .team-members-wrapper .team-member h6,
.block-team-and-board-listing .team-members-wrapper .team-member p {
  margin: 0;
}
.block-team-and-board-listing .team-members-wrapper .team-member p {
  font-size: var(--wp--preset--font-size--x-small);
  margin-top: 5px;
}
.block-team-and-board-listing .team-members-wrapper .team-member .wp-block-button {
  border: 0;
}
@media (max-width: 840px) {
  .block-team-and-board-listing .team-members-wrapper .team-member {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - var(--wp--preset--spacing--large));
            flex: 1 1 calc(50% - var(--wp--preset--spacing--large));
    max-width: calc(50% - var(--wp--preset--spacing--large));
  }
}
@media (max-width: 559px) {
  .block-team-and-board-listing .team-members-wrapper .team-member {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(100% - var(--wp--preset--spacing--large));
            flex: 1 1 calc(100% - var(--wp--preset--spacing--large));
    max-width: calc(100% - var(--wp--preset--spacing--large));
  }
}

.team-member-photo img {
  border-radius: 100%;
  overflow: hidden;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 240px;
}

.team-member-modal__header {
  color: var(--wp--preset--color--cream);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--medium);
  height: auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: var(--wp--preset--spacing--large);
}
.team-member-modal__header h3 {
  margin: 0 0 10px 0;
}
.team-member-modal__header h5 {
  font-weight: normal;
  margin: 0 0 10px 0;
}
.team-member-modal__header .wp-element-button:focus, .team-member-modal__header .wp-block-read-more:focus {
  outline: none !important;
}
.team-member-modal__header .wp-element-button.wp-block-button__link:after, .team-member-modal__header .wp-block-button__link.wp-block-read-more:after {
  background-image: url(../svg/icon-button-link-external-white.svg) !important;
}
.team-member-modal__content {
  padding: var(--wp--preset--spacing--large);
  background: var(--wp--preset--color--cream);
}
.team-member-modal__content h5 {
  margin: 0 0 15px 0;
}

/* 10. Social share
	========================================================================== */
.block-social-share {
  text-align: center;
}
.block-social-share ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sticky-sidebar .block-social-share ul {
  margin-top: var(--wp--preset--spacing--small);
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: var(--wp--preset--spacing--x-small);
  margin-bottom: 0;
}

/* 11. Post content sidebar
	========================================================================== */
.post-contents-sidebar {
  background-color: var(--wp--preset--color--beige);
  padding: var(--wp--preset--spacing--medium);
  border-radius: 8px;
}
.post-contents-sidebar h5 {
  margin: 0 0 var(--wp--preset--spacing--small) 0;
}
.post-contents-sidebar ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: var(--wp--preset--spacing--small);
}

/* 12. Page Links Banner
	========================================================================== */
.block-page-links-banner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--wp--preset--spacing--medium);
}
@media (max-width: 840px) {
  .block-page-links-banner {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.block-page-links-banner__item a {
  background-color: var(--wp--preset--color--beige);
  color: var(--wp--preset--color--dark-brown);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: var(--wp--preset--spacing--medium);
  border-radius: 16px;
  font-size: var(--wp--preset--font-size--large);
  font-weight: 600;
  line-height: 140%;
  height: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto; /* Allows it to grow and shrink */
  text-decoration: none;
}
.block-page-links-banner__item a:hover {
  text-decoration: none;
  background-color: var(--wp--preset--color--light-green);
}
.block-page-links-banner__item a::after {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 37px;
          flex: 0 0 37px; /* Prevents shrinking and ensures a fixed size */
  background-image: url(../svg/icon-page-link-button-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 37px;
  height: 37px;
  content: "";
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  justify-self: flex-end;
}

.block-event-date-time {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.block-event-date-time .event-date-time {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1fr;
  grid-template-columns: auto 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
  row-gap: var(--wp--preset--spacing--small);
}
.block-event-date-time .date-label, .block-event-date-time .time-label {
  font-weight: bold;
  white-space: nowrap;
}
.block-event-date-time .date-value, .block-event-date-time .time-value {
  text-align: left;
}
.block-event-date-time .bullet {
  color: var(--wp--preset--color--beige);
}

/* ==========================================================================
   Components
   ========================================================================== */
/**
 * Project-specific non-block component styles.
 *
 * Contents
 *
 * 1. Kicker
 * 2. Illustrations
 * 3. Button arrow
 * 4. Card
 * 5. Post Tags (taxonomy labels)
 * 6. Page banner customisation
 * 7. Pagination
 * 8. Breadcrumbs
 */
/* 1. Kicker
	========================================================================== */
.kicker {
  margin: 0 !important;
  font-size: var(--wp--preset--font-size--x-small) !important;
  color: var(--wp--preset--color--grey);
  text-transform: uppercase;
}

/* 2. Button arrow
	========================================================================== */
.button-arrow {
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
.button-arrow:hover:after {
  content: "";
  display: block;
  width: 28px;
  height: 16px;
  margin-left: 15px;
  background-image: url(../svg/shape-button-arrow-dark.svg);
}
@media (max-width: 840px) {
  .button-arrow:after {
    content: "";
    display: block;
    width: 28px;
    height: 16px;
    margin-left: 15px;
    background-image: url(../svg/shape-button-arrow-dark.svg);
  }
}

/* 3. Custom interim content width
   ========================================================================== */
.wider-content-width, .site-foot__content, .site-foot__credit-contents {
  max-width: var(--wp--custom--wider-content-width) !important;
  margin-left: auto;
  margin-right: auto;
}

.widest-width {
  max-width: var(--wp--custom--widest-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 4. Card
   ========================================================================== */
.card {
  border: 1px solid var(--wp--preset--color--light-grey);
  border-radius: var(--wp--preset--border-radius--small);
  -webkit-box-shadow: var(--wp--preset--box-shadow--small);
          box-shadow: var(--wp--preset--box-shadow--small);
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
.card a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}
.card a:hover {
  text-decoration: none;
}
.card h3 {
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--small);
  font-size: var(--wp--preset--font-size--medium);
}
.card p {
  font-size: var(--wp--preset--font-size--x-small);
  margin-top: 0;
  margin-bottom: 20px;
}
.card time {
  font-size: var(--wp--preset--font-size--2-x-small);
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
  display: block;
}
.card .category {
  font-size: var(--wp--preset--font-size--2-x-small);
  padding: 6px 30px 8px 14px;
  background-color: var(--wp--preset--color--light-green);
  border-bottom-right-radius: 1000px;
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.card .category .post-tag {
  background: transparent;
  padding: 0;
}
.card .category .post-tag .icon {
  max-width: 16px;
  overflow: visible;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 4px;
}
.card .details {
  padding: 20px 10px;
}
.card.event {
  border-radius: 8px;
}
.card.event h3 {
  font-size: var(--wp--preset--font-size--large);
  color: var(--wp--preset--color--cream);
  margin-bottom: var(--wp--preset--spacing--medium);
}
.card.event time {
  color: var(--wp--preset--color--light-green);
  font-size: var(--wp--preset--font-size--x-small);
}
.card.event .details {
  padding: 24px;
}
.card.event .is-style-link-button a {
  color: var(--wp--preset--color--cream);
}
.card .thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.card .thumbnail img {
  aspect-ratio: 424/200; /* Or simply 2.12 */
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
  display: block;
  border-radius: 8px;
}
.card.event .thumbnail img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.card .thumbnail:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--wp--preset--color--medium-green);
  opacity: 0; /* Start fully transparent */
  -webkit-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out; /* Add transition */
}
.card.active .thumbnail:before {
  opacity: 0.6; /* Fade to 60% opacity */
}
.card.active h3 {
  color: var(--wp--preset--color--medium-green);
}
.card.active.event h3 {
  color: var(--wp--preset--color--light-green);
}
/* 5. Post Tags (taxonomy labels)
   ========================================================================== */
.post-tags {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.post-tags .post-tag {
  background-color: var(--wp--preset--color--light-green);
  padding: 4px 8px;
  color: var(--wp--preset--color--dark-brown);
  font-size: var(--wp--preset--font-size--2-x-small);
  border-radius: 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}
.post-tags .post-tag.geography {
  gap: 0;
}
.post-tags .post-tag .comma {
  margin-right: 5px;
}
.post-tags .post-tag .icon {
  max-width: 16px;
  height: auto;
  overflow: visible;
}
.post-tags .post-tag.location:before {
  width: 14px;
  height: 14px;
  background-image: url("../svg/icon-post-tag-location.svg");
  content: "";
  display: inline-block;
}
.post-tags .post-tag.topic:before, .post-tags .post-tag.source:before {
  width: 14px;
  height: 14px;
  background-image: url("../svg/icon-resources-author.svg");
  background-size: contain;
  content: "";
  display: inline-block;
}
.post-tags .post-tag.geography:before {
  width: 14px;
  height: 14px;
  background-image: url("../svg/icon-resources-earth.svg");
  content: "";
  display: inline-block;
  margin-right: 10px;
}

/* 6. Page banner customisation
   ========================================================================== */
.wp-block-group .facetwp-type-search {
  text-align: center;
}
.wp-block-group .facetwp-type-search .facetwp-input-wrap {
  width: 100%;
  max-width: 600px;
  height: 56px;
}
.wp-block-group .facetwp-type-search .facetwp-input-wrap .facetwp-search {
  height: 56px;
  padding-left: 24px;
  padding-right: 8px;
  border-radius: 1000px;
  border-color: #FFFAF4;
}
.wp-block-group .facetwp-type-search .facetwp-input-wrap .facetwp-icon {
  width: 48px;
  height: 48px;
  background-color: var(--wp--preset--color--peach);
  border-radius: 1000px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 4px;
  margin-right: 4px;
  opacity: 1;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.wp-block-group .facetwp-type-search .facetwp-input-wrap .facetwp-icon::before {
  background-position: center;
  background-size: cover;
  background-image: url("../svg/icon-search.svg");
  width: 20px;
  height: 20px;
}
.wp-block-group .facetwp-type-search .facetwp-input-wrap .facetwp-icon:hover {
  background-color: var(--wp--preset--color--light-green);
}
@media (max-width: 559px) {
  .wp-block-group .wp-block-group {
    padding-left: 0;
    padding-right: 0;
  }
}

.facetwp-type-search i.clear {
  position: absolute;
  right: 60px;
  height: 100%;
  line-height: 1;
  cursor: pointer;
  display: inline-block;
  width: 24px;
  height: 100%;
  background: transparent url("../svg/icon-close-search.svg") 0 50% no-repeat;
  background-size: 24px 24px;
}

.facetwp-type-search i.clear:hover {
  opacity: 0.8;
}

/* no clear icon  while the Search facet is loading */
/* and when an auto-refresh is running */
.facetwp-type-search .f-loading + input + i.clear,
.facetwp-type-search .loading + i.clear {
  display: none !important;
}

.facetwp-facet input.facetwp-search {
  padding-right: 54px;
  display: inline-block !important;
}

/* 7. Pagination
   ========================================================================== */
.facetwp-pager,
.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: var(--wp--preset--spacing--medium);
  margin-bottom: var(--wp--preset--spacing--medium);
}
.facetwp-pager .fa,
.pagination .fa {
  color: var(--wp--preset--color--green);
}
.facetwp-pager .facetwp-page,
.facetwp-pager .page-numbers,
.pagination .facetwp-page,
.pagination .page-numbers {
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 1000px;
  background-color: transparent;
  text-decoration: none;
}
.facetwp-pager .facetwp-page:hover,
.facetwp-pager .page-numbers:hover,
.pagination .facetwp-page:hover,
.pagination .page-numbers:hover {
  background-color: var(--wp--preset--color--peach);
  text-decoration: none;
}
.facetwp-pager .facetwp-page.active, .facetwp-pager .facetwp-page.current,
.facetwp-pager .page-numbers.active,
.facetwp-pager .page-numbers.current,
.pagination .facetwp-page.active,
.pagination .facetwp-page.current,
.pagination .page-numbers.active,
.pagination .page-numbers.current {
  background-color: var(--wp--preset--color--beige);
}

/* 8. Breadcrumbs
   ========================================================================== */
.breadcrumb-item {
  font-size: var(--wp--preset--font-size--2-x-small);
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Styles for inputs and other form elements.
 *
 * Contents
 *
 * 1. Input fields
 * 2. Selects
 * 3. Custom checkboxes
 * 4. Custom radio buttons
 * 5. Labels and legends
 */
/**
 * To ensure these styles are loaded only for blocks and no for other WP UI
 * components in the editor, give them some specificity.
 */
.editor-styles-wrapper,
.wp-site-blocks {
  /* 1. Input fields
     ========================================================================== */
  /* 2. Selects
     ========================================================================== */
  /* 3. Checkboxes
     ========================================================================== */
  /* 4. Radio buttons
     ========================================================================== */
  /* 5. Fieldsets, labels and legends
     ========================================================================== */
  /* 6. Gravity Forms overrides
     ========================================================================== */
}
.editor-styles-wrapper input[type=text],
.editor-styles-wrapper input[type=password],
.editor-styles-wrapper input[type=email],
.editor-styles-wrapper input[type=url],
.editor-styles-wrapper input[type=date],
.editor-styles-wrapper input[type=month],
.editor-styles-wrapper input[type=time],
.editor-styles-wrapper input[type=datetime],
.editor-styles-wrapper input[type=datetime-local],
.editor-styles-wrapper input[type=week],
.editor-styles-wrapper input[type=number],
.editor-styles-wrapper input[type=search],
.editor-styles-wrapper input[type=tel],
.editor-styles-wrapper textarea,
.editor-styles-wrapper select,
.wp-site-blocks input[type=text],
.wp-site-blocks input[type=password],
.wp-site-blocks input[type=email],
.wp-site-blocks input[type=url],
.wp-site-blocks input[type=date],
.wp-site-blocks input[type=month],
.wp-site-blocks input[type=time],
.wp-site-blocks input[type=datetime],
.wp-site-blocks input[type=datetime-local],
.wp-site-blocks input[type=week],
.wp-site-blocks input[type=number],
.wp-site-blocks input[type=search],
.wp-site-blocks input[type=tel],
.wp-site-blocks textarea,
.wp-site-blocks select {
  background-color: #FFFAF4;
  width: 100%;
  font-size: 17px;
  padding: 13px 14px;
  border: 1px solid var(--wp--preset--color--medium-green);
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: var(--wp--preset--font-family--figtree);
  line-height: 1em;
  min-height: 48px !important;
}
.editor-styles-wrapper input[type=text]:focus,
.editor-styles-wrapper input[type=password]:focus,
.editor-styles-wrapper input[type=email]:focus,
.editor-styles-wrapper input[type=url]:focus,
.editor-styles-wrapper input[type=date]:focus,
.editor-styles-wrapper input[type=month]:focus,
.editor-styles-wrapper input[type=time]:focus,
.editor-styles-wrapper input[type=datetime]:focus,
.editor-styles-wrapper input[type=datetime-local]:focus,
.editor-styles-wrapper input[type=week]:focus,
.editor-styles-wrapper input[type=number]:focus,
.editor-styles-wrapper input[type=search]:focus,
.editor-styles-wrapper input[type=tel]:focus,
.editor-styles-wrapper textarea:focus,
.editor-styles-wrapper select:focus,
.wp-site-blocks input[type=text]:focus,
.wp-site-blocks input[type=password]:focus,
.wp-site-blocks input[type=email]:focus,
.wp-site-blocks input[type=url]:focus,
.wp-site-blocks input[type=date]:focus,
.wp-site-blocks input[type=month]:focus,
.wp-site-blocks input[type=time]:focus,
.wp-site-blocks input[type=datetime]:focus,
.wp-site-blocks input[type=datetime-local]:focus,
.wp-site-blocks input[type=week]:focus,
.wp-site-blocks input[type=number]:focus,
.wp-site-blocks input[type=search]:focus,
.wp-site-blocks input[type=tel]:focus,
.wp-site-blocks textarea:focus,
.wp-site-blocks select:focus {
  outline: 1px solid var(--wp--preset--color--primary);
  outline-offset: 5px;
}
.editor-styles-wrapper select,
.wp-site-blocks select {
  max-width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.editor-styles-wrapper select option,
.wp-site-blocks select option {
  font-family: var(--wp--preset--font-family--figtree);
  font-size: 17px;
}
.editor-styles-wrapper select:not([multiple]),
.wp-site-blocks select:not([multiple]) {
  background: url(../svg/icon-chevron-down.svg) no-repeat right 15px center/15px 15px;
}
.editor-styles-wrapper select:is([multiple]),
.wp-site-blocks select:is([multiple]) {
  padding: 10px 0;
}
.editor-styles-wrapper select:is([multiple]) option,
.wp-site-blocks select:is([multiple]) option {
  padding: 5px 15px;
}
.editor-styles-wrapper select:is([multiple]) option:checked,
.wp-site-blocks select:is([multiple]) option:checked {
  background-image: -webkit-gradient(linear, left bottom, left top, from(var(--wp--preset--color--secondary)), to(var(--wp--preset--color--secondary)));
  background-image: linear-gradient(0deg, var(--wp--preset--color--secondary) 0%, var(--wp--preset--color--secondary) 100%);
}
.editor-styles-wrapper [type=checkbox],
.wp-site-blocks [type=checkbox] {
  /* Remove the default checkbox */
  position: absolute;
  opacity: 0;
  /* The checkbox itself. */
  /* Checkbox hover state. */
  /* Checkbox focus state. */
  /* Checked background. */
  /* The checkmark. */
  /* Show the checkmark. */
}
.editor-styles-wrapper [type=checkbox] ~ label,
.wp-site-blocks [type=checkbox] ~ label {
  font-weight: 400;
  position: relative;
  cursor: pointer;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.editor-styles-wrapper [type=checkbox] ~ label:before,
.wp-site-blocks [type=checkbox] ~ label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 24px;
  height: 24px;
  background: #FFFAF4;
  border-radius: 2px;
  border: 1px solid var(--wp--preset--color--medium-green);
}
.editor-styles-wrapper [type=checkbox]:hover ~ label:before,
.wp-site-blocks [type=checkbox]:hover ~ label:before {
  border-color: var(--wp--preset--color--medium-green);
}
.editor-styles-wrapper [type=checkbox]:focus ~ label:before,
.wp-site-blocks [type=checkbox]:focus ~ label:before {
  outline: 1px solid var(--wp--preset--color--medium-green);
  outline-offset: 5px;
}
.editor-styles-wrapper [type=checkbox]:checked ~ label:before,
.wp-site-blocks [type=checkbox]:checked ~ label:before {
  background: #FFFAF4;
  border-color: var(--wp--preset--color--dark-green);
}
.editor-styles-wrapper [type=checkbox] ~ label:after,
.wp-site-blocks [type=checkbox] ~ label:after {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  top: 6px;
  left: 5px;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-box-shadow: inset 1em 1em var(--wp--preset--color--dark-green);
          box-shadow: inset 1em 1em var(--wp--preset--color--dark-green);
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.editor-styles-wrapper [type=checkbox]:checked ~ label:after,
.wp-site-blocks [type=checkbox]:checked ~ label:after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.editor-styles-wrapper [type=radio],
.wp-site-blocks [type=radio] {
  /* Remove the default radio button. */
  position: absolute;
  opacity: 0;
  /* The radio button itself. */
  /* Radio button hover state. */
  /* Radio button focus state. */
  /* Checked radio button style. */
  /* Show the checked state. */
}
.editor-styles-wrapper [type=radio] ~ label,
.wp-site-blocks [type=radio] ~ label {
  font-weight: 400;
  position: relative;
  cursor: pointer;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.editor-styles-wrapper [type=radio] ~ label:before,
.wp-site-blocks [type=radio] ~ label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 24px;
  height: 24px;
  background: var(--wp--preset--color--base);
  border: 2px solid var(--wp--preset--color--contrast);
  border-radius: 50%;
}
.editor-styles-wrapper [type=radio]:hover ~ label:before,
.wp-site-blocks [type=radio]:hover ~ label:before {
  border: 2px solid var(--wp--preset--color--primary);
}
.editor-styles-wrapper [type=radio]:focus ~ label:before,
.wp-site-blocks [type=radio]:focus ~ label:before {
  outline: 1px solid var(--wp--preset--color--primary);
  outline-offset: 5px;
}
.editor-styles-wrapper [type=radio]:checked ~ label:before,
.wp-site-blocks [type=radio]:checked ~ label:before {
  border-color: var(--wp--preset--color--primary);
}
.editor-styles-wrapper [type=radio] ~ label:after,
.wp-site-blocks [type=radio] ~ label:after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 6px;
  left: 6px;
  -webkit-transform: scale(0);
          transform: scale(0);
  background: var(--wp--preset--color--primary);
  border-radius: 50%;
}
.editor-styles-wrapper [type=radio]:checked ~ label:after,
.wp-site-blocks [type=radio]:checked ~ label:after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.editor-styles-wrapper fieldset,
.wp-site-blocks fieldset {
  padding: 0;
  border: none;
}
.editor-styles-wrapper label,
.wp-site-blocks label {
  font-weight: 400;
  font-size: 18px;
}
.editor-styles-wrapper label,
.editor-styles-wrapper legend,
.wp-site-blocks label,
.wp-site-blocks legend {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
}
.editor-styles-wrapper .gform_wrapper .ginput_container_select select,
.wp-site-blocks .gform_wrapper .ginput_container_select select {
  background-color: #FFFAF4;
}
.editor-styles-wrapper .gform_wrapper .gfield_label,
.wp-site-blocks .gform_wrapper .gfield_label {
  font-weight: 400;
}
.editor-styles-wrapper .gform_wrapper .gform_button,
.wp-site-blocks .gform_wrapper .gform_button {
  font-size: 20px;
}
@media (max-width: 1199px) {
  .editor-styles-wrapper .gform_wrapper .gform_button,
  .wp-site-blocks .gform_wrapper .gform_button {
    font-size: 18px;
  }
}
.editor-styles-wrapper .gform_wrapper .gform_fields,
.wp-site-blocks .gform_wrapper .gform_fields {
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
.editor-styles-wrapper .gform_wrapper .gform_fields .gfield--width-half,
.wp-site-blocks .gform_wrapper .gform_fields .gfield--width-half {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc(50% - 10px);
          flex: 0 0 calc(50% - 10px);
}
.editor-styles-wrapper .gform_wrapper .hidden_label .gfield_label,
.editor-styles-wrapper .gform_wrapper .hidden_label legend,
.wp-site-blocks .gform_wrapper .hidden_label .gfield_label,
.wp-site-blocks .gform_wrapper .hidden_label legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.editor-styles-wrapper .gform_wrapper .gfield_label_before_complex,
.wp-site-blocks .gform_wrapper .gfield_label_before_complex {
  margin-bottom: var(--wp--preset--spacing--small);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 700;
}
.editor-styles-wrapper .gform_wrapper .gfield_visibility_hidden,
.wp-site-blocks .gform_wrapper .gfield_visibility_hidden {
  display: none !important;
}
.editor-styles-wrapper .gform_wrapper .gform_validation_errors,
.wp-site-blocks .gform_wrapper .gform_validation_errors {
  color: var(--wp--preset--color--maroon);
  padding: 0;
  margin-bottom: 25px;
  font-weight: bold;
}
.editor-styles-wrapper .gform_wrapper .validation_message,
.wp-site-blocks .gform_wrapper .validation_message {
  color: var(--wp--preset--color--maroon);
}
.editor-styles-wrapper .gform_wrapper .gfield_error input,
.editor-styles-wrapper .gform_wrapper .gfield_error textarea,
.editor-styles-wrapper .gform_wrapper .gfield_error select,
.wp-site-blocks .gform_wrapper .gfield_error input,
.wp-site-blocks .gform_wrapper .gfield_error textarea,
.wp-site-blocks .gform_wrapper .gfield_error select {
  border: 2px solid var(--wp--preset--color--maroon) !important;
}
.editor-styles-wrapper .gform_wrapper .gfield_error label,
.wp-site-blocks .gform_wrapper .gfield_error label {
  color: var(--wp--preset--color--maroon);
  font-weight: bold;
}
@media (max-width: 840px) {
  .editor-styles-wrapper .gform_wrapper .gform_fields,
  .wp-site-blocks .gform_wrapper .gform_fields {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-column-gap: 0;
       -moz-column-gap: 0;
            column-gap: 0;
  }
  .editor-styles-wrapper .gform_wrapper .gfield--width-half,
  .wp-site-blocks .gform_wrapper .gfield--width-half {
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 100% !important;
            flex: 0 0 100% !important;
  }
}

/* Override for the sign up form gform_2 - make the button alongside that name and email address fields which are in gfield--width-half styling */
@media (min-width: 1200px) {
  #gform_2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 20px;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  #gform_2 .gform-body {
    width: 100%;
  }
  #gform_2 .wp-element-button, #gform_2 .wp-block-read-more {
    min-width: 170px;
    margin-bottom: var(--wp--preset--spacing--small);
  }
}
/* ==========================================================================
   Gravity Forms base styles
   ========================================================================== */
/**
 * Framework styles for forms generated by Gravity Forms.
 *
 * Contents
 *
 * 1. Layout
 * 2. Name field
 * 3. Radio buttons and checkboxes
 * 4. Complex fields
 * 5. Messages, errors, notifications
 */
/* 1. Layout
   ========================================================================== */
.gform_fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.gform_fields > * {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  margin-bottom: var(--wp--preset--spacing--small);
}

/* 2. Name field
   ========================================================================== */
.ginput_container_name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--x-small);
}
.ginput_container_name > * {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.ginput_container_name > * label {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--grey);
  font-weight: 400;
  margin-bottom: 0;
}

/* 3. Radio buttons and checkboxes
   ========================================================================== */
.gfield_radio,
.gfield_checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: var(--wp--preset--spacing--small);
  margin: 0;
}
.gfield_radio li,
.gfield_checkbox li {
  display: inline-block;
}
.gfield_radio li label,
.gfield_checkbox li label {
  display: inline-block;
  font-weight: 300;
}

/* 4. Complex fields
   ========================================================================== */
.ginput_complex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--x-small);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  /* Messes with flex layout. */
  /* For date and time fields. */
  /* For address fields - might need modifying for non-UK addresses. */
  /* For an email group with confirmation field. */
}
.ginput_complex .gf_clear_complex {
  position: absolute;
}
.ginput_complex .ginput_container_time {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80px;
          flex: 0 0 80px;
}
.ginput_complex .ginput_container_date {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 120px;
          flex: 0 0 120px;
}
.ginput_complex.ginput_container_address {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.ginput_complex.ginput_container_address > * {
  -webkit-box-flex: 100%;
      -ms-flex: 100%;
          flex: 100%;
  max-width: 100%;
}
.ginput_complex.ginput_container_address > *.ginput_address_city {
  max-width: 70%;
}
.ginput_complex.ginput_container_address > *.ginput_address_zip {
  max-width: calc(30% - var(--wp--preset--spacing--x-small));
}
.ginput_complex.ginput_container_email > * {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/* File upload fields. */
.ginput_container_fileupload {
  border: 2px dotted var(--wp--preset--color--contrast);
  padding: var(--wp--preset--spacing--x-small);
}
.ginput_container_fileupload [type=file] {
  font-size: var(--wp--preset--font-size--small);
}

/* 5. Label modifiers
   ========================================================================== */
label.gform-field-label--type-sub,
legend.gform-field-label--type-sub {
  font-weight: 300;
}
label .gfield_required,
legend .gfield_required {
  font-weight: 400;
  display: inline-block;
  margin-left: 3px;
  color: var(--wp--preset--color--primary);
}

/* 6. Messages, errors, notifications
   ========================================================================== */
.gfield_description {
  font-size: var(--wp--preset--font-size--small);
  opacity: 0.5;
  font-weight: 400;
  margin-top: 5px;
}

.gform_validation_errors {
  margin-bottom: var(--wp--preset--spacing--small);
  background: var(--wp--preset--color--primary);
  padding: var(--wp--preset--spacing--x-small);
  outline: none;
  /* If there are multiple errors, they are added to a list with anchors. */
}
.gform_validation_errors .gform_submission_error {
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--base);
  font-weight: 400;
}
.gform_validation_errors ol li {
  margin-bottom: 5px;
  color: var(--wp--preset--color--base);
}

.gfield_validation_message {
  color: var(--wp--preset--color--primary);
  opacity: 1;
}

.gform_confirmation_message {
  font-size: var(--wp--preset--font-size--medium);
}
