.not-home header {
  background: var(--color-accent);
}

.logo {
  width: 260px;
}
@media screen and (max-width: 1024px) {
  .logo {
    width: 160px;
  }
}

.nav-menu > ul > li:has(a:hover) {
  position: relative;
}
.nav-menu > ul > li:has(a:hover):after {
  opacity: 1;
}
.nav-menu > ul > li:after {
  width: 6px;
  height: 6px;
  content: "";
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  transition: 0.2s ease-out;
}
@media (max-width: 1023px) {
  .nav-menu > ul > li:after {
    display: none;
  }
}
.nav-menu > ul > li a {
  display: block;
  padding: 12px 20px;
}
@media (max-width: 1023px) {
  .nav-menu > ul > li a {
    background: transparent;
  }
}

#menu-primary-2 > li:last-child a {
  background: var(--color-primary);
  border-radius: 0.25rem;
  text-transform: uppercase;
  color: var(--color-white) !important;
}

.current-menu-item,
#menu-primary-menu > .current-menu-parent,
#menu-primary-2 > .current-menu-parent {
  position: relative;
}
@media (max-width: 1023px) {
  .current-menu-item::after,
  #menu-primary-menu > .current-menu-parent::after,
  #menu-primary-2 > .current-menu-parent::after {
    display: none;
  }
}
.current-menu-item:after,
#menu-primary-menu > .current-menu-parent:after,
#menu-primary-2 > .current-menu-parent:after {
  width: 6px;
  height: 6px;
  content: "";
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 1 !important;
}
footer .current-menu-item:after,
footer #menu-primary-menu > .current-menu-parent:after,
footer #menu-primary-2 > .current-menu-parent:after {
  display: none;
}

@media (max-width: 1023px) {
  .current-menu-item > a:not(footer .current-menu-item > a) {
    color: var(--color-primary) !important;
  }
}

@media (max-width: 1023px) {
  .current-menu-parent > a:not(footer .current-menu-parent > a) {
    color: var(--color-primary) !important;
  }
}

.sub-menu {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  z-index: 1;
  animation-fill-mode: both;
  background: white;
  animation-duration: 0.3s;
  padding: 10px;
  top: 100%;
  left: 10px;
  border-radius: 4px;
  max-width: 250px;
  width: max-content;
}
@media (max-width: 1023px) {
  .sub-menu {
    position: static;
    z-index: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    display: none;
    background: transparent;
    border-radius: 0;
    padding: inherit;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #353535;
    border-bottom: 1px solid #353535;
  }
}
.sub-menu.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  animation-name: SubMenu;
}
@media (max-width: 1023px) {
  .sub-menu.open {
    animation-name: none;
    display: block;
  }
}
.sub-menu li {
  text-align: left;
}
@media (max-width: 1023px) {
  .sub-menu li {
    text-align: center;
  }
}
.sub-menu li a {
  color: var(--color-black);
  display: block;
  padding: 10px 10px;
}
@media (max-width: 1023px) {
  .sub-menu li a {
    color: inherit;
    padding: inherit;
  }
}

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

@keyframes SubMenu {
  0% {
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.1);
  }
}
li {
  position: relative;
}
.sub-menu li:has(a:hover)::before {
  background: var(--color-gray-300);
  opacity: 1;
  transition: 0.2s ease-out;
}
.sub-menu li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  opacity: 0;
}
@media (max-width: 1023px) {
  .sub-menu li::before {
    display: none;
  }
}

.current-menu-item {
  position: relative;
}
.sub-menu .current-menu-item:after {
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}
@media (max-width: 1023px) {
  .sub-menu .current-menu-item:after::after {
    display: none;
  }
}

.wpcf7-form {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 10px 0;
  position: relative;
}
[data-wpcf7-id="177"] .wpcf7-form {
  flex-wrap: wrap;
}
[data-wpcf7-id="178"] .wpcf7-form {
  flex-direction: row;
  align-items: flex-end;
}
[data-wpcf7-id="178"] .wpcf7-form label {
  display: none;
}

.wpcf7-form[data-status=sent] .wpcf7-response-output {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 solid transparent !important;
  color: var(--color-black);
  vertical-align: middle;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 !important;
  border-radius: 4px;
  padding: 10px;
}
[data-wpcf7-id="178"] .wpcf7-form[data-status=sent] .wpcf7-response-output {
  background: transparent;
  color: var(--color-white);
  font-size: var(--text-base);
}
[data-wpcf7-id="177"] .wpcf7-form[data-status=sent] .wpcf7-response-output {
  background: var(--color-accent);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  animation: fadeDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: var(--text-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
[data-wpcf7-id="177"] .wpcf7-form[data-status=sent] .wpcf7-response-output:before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M62.5 50L118.75 87.5L175 50M25 106.25H87.5M37.5 131.25H100M56.25 156.25H181.25V43.75H56.25V81.25H12.5" stroke="white" stroke-width="12.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.wpcf7-form[data-status=sent] .form-group {
  opacity: 0;
}
[data-wpcf7-id="177"] .wpcf7-form[data-status=sent] .form-group {
  display: none;
}

.wpcf7-form[data-status=invalid] .wpcf7-response-output {
  background: var(--color-red-500);
  border: 0 solid transparent !important;
  color: var(--color-white);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  border-radius: 4px;
  margin-bottom: 5px;
  width: 100%;
  padding: 10px 15px !important;
}
.wpcf7-form[data-status=invalid] .wpcf7-form[data-status=submitting] input,
.wpcf7-form[data-status=invalid] .wpcf7-form[data-status=submitting] select,
.wpcf7-form[data-status=invalid] .wpcf7-form[data-status=submitting] textarea {
  pointer-events: none;
  opacity: 0.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  width: 100%;
  opacity: 1;
  transition: 0.1s opacity ease-in-out;
}
.form-group p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label.required:after {
  content: "*";
  color: var(--color-red-500);
  margin-left: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-black);
  border: 2px solid transparent;
  padding: 10px 15px;
  border-radius: 4px;
  width: 100%;
}
[data-wpcf7-id="178"] .form-group input,
[data-wpcf7-id="178"] .form-group select,
[data-wpcf7-id="178"] .form-group textarea {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-black);
  flex: 1;
  width: 100%;
}
.form-group input:-webkit-autofill, .form-group input:-webkit-autofill:focus, .form-group input:-webkit-autofill:hover, .form-group input:-webkit-autofill:active,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:focus,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:active,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset !important;
  box-shadow: 0 0 0 1000px var(--color-white) inset !important;
  -webkit-text-fill-color: var(--color-black) !important;
  caret-color: var(--color-black) !important;
  transition: background-color 9999s ease-in-out 0s;
}
.form-group input:-internal-autofill-selected,
.form-group select:-internal-autofill-selected,
.form-group textarea:-internal-autofill-selected {
  background-color: var(--color-white) !important;
  color: var(--color-black) !important;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0px 0px transparent;
}
.form-group input:focus + .wpcf7-not-valid-tip,
.form-group select:focus + .wpcf7-not-valid-tip,
.form-group textarea:focus + .wpcf7-not-valid-tip {
  opacity: 0;
}
.form-group input[type=submit] {
  background: var(--color-primary);
  color: var(--color-primary-content);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: 0.2s ease-in-out;
  padding: 10px 30px;
}
.form-group input[type=submit]:hover {
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-accent-content);
}
.form-group .wpcf7-not-valid-tip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 1;
  transition: 0.2s opacity ease-in-out;
  padding: 0 10px;
  border-radius: 0 4px 4px 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0px 0px 1px white;
}
.form-group .wpcf7-spinner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  width: 100%;
  height: 100%;
}
.form-group .wpcf7-spinner:before {
  left: calc(50% - 8px);
  top: calc(50% - 8px);
  background-color: var(--color-accent);
  width: 8px;
  height: 8px;
}
.form-group span {
  display: block;
  margin: 0;
}
.form-group br {
  height: 0;
  display: none;
}

.form-group--50 {
  flex: 0.5;
  width: 100%;
}
@media (max-width: 639px) {
  .form-group--50 {
    flex: none;
  }
}

.form-group--submit {
  flex: 0;
  width: fit-content;
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-break {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--color-gray-200);
}

@keyframes markerHover {
  0% {
    margin-top: 0;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  50% {
    margin-top: -10px;
    filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.3));
  }
  75% {
    margin-top: -8px;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2));
  }
  100% {
    margin-top: -10px;
    filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.3));
  }
}
.marker {
  top: 0;
  transition: 0.3s ease;
  position: relative;
}
.marker.marker-hover {
  animation: markerHover 0.6s ease 0.1s forwards;
  z-index: 10;
}

.mapboxgl-popup-close-button {
  width: 40px;
  height: 40px;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapboxgl-popup-content {
  border-radius: 0.5rem !important;
}

.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
  display: none !important;
}

.swiper-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  z-index: 20 !important;
  gap: 8px !important;
  padding-top: 20px !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-primary) !important;
  width: 16px !important;
  height: 16px !important;
}

.gallery-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-accent) !important;
  width: 16px !important;
  height: 16px !important;
}

.pagination-container ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.pagination-container ul li {
  margin: 0;
}

.pagination-container ul li a,
.pagination-container ul li span {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 26px;
  font-size: 20px;
}

.pagination-container ul li a:hover {
  background-color: var(--color-gray-100);
  color: var(--color-accent);
}

.pagination-container ul li span.current {
  background-color: var(--color-primary);
  color: white;
}

.display-default,
.display-sl,
.display-ak,
.display-wl,
.undisplay-sl {
  display: none;
}

.location-0 .undisplay-sl,
.location-1 .undisplay-sl,
.location-3 .undisplay-sl {
  display: block;
}

.location-0 .display-default {
  display: block;
}
.location-0 .display-sl,
.location-0 .display-ak,
.location-0 .display-wl {
  display: none;
}

.location-1 .display-default {
  display: none;
}
.location-1 .display-ak {
  display: block;
}

.location-2 .display-default {
  display: none;
}
.location-2 .display-sl {
  display: block;
}

.location-3 .display-default {
  display: none;
}
.location-3 .display-wl {
  display: block;
}

@media (max-width: 1023px) {
  .hero {
    overflow: hidden;
    max-height: 460px;
  }
}

@media (max-width: 1023px) {
  .hero-image {
    position: absolute;
    transform: translateY(0) !important;
  }
}

.hud {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  clip-path: polygon(0% 1.596%, 0% 1.596%, 0.011% 1.337%, 0.042% 1.092%, 0.093% 0.863%, 0.16% 0.654%, 0.243% 0.468%, 0.34% 0.308%, 0.449% 0.178%, 0.569% 0.081%, 0.697% 0.021%, 0.831% 0%, 99.169% 0%, 99.169% 0%, 99.303% 0.021%, 99.431% 0.081%, 99.551% 0.178%, 99.66% 0.308%, 99.756% 0.468%, 99.84% 0.654%, 99.907% 0.863%, 99.958% 1.092%, 99.989% 1.337%, 100% 1.596%, 100% 98.332%, 100% 98.332%, 99.986% 98.632%, 99.945% 98.913%, 99.881% 99.169%, 99.795% 99.397%, 99.691% 99.592%, 99.571% 99.75%, 99.438% 99.867%, 99.295% 99.938%, 99.144% 99.959%, 98.988% 99.925%, 98.988% 99.925%, 97.305% 99.292%, 94.843% 98.45%, 91.625% 97.464%, 87.677% 96.398%, 83.022% 95.319%, 77.685% 94.29%, 71.69% 93.377%, 65.062% 92.644%, 57.823% 92.157%, 50% 91.98%, 50% 91.98%, 42.176% 92.157%, 34.938% 92.644%, 28.309% 93.377%, 22.314% 94.29%, 16.977% 95.319%, 12.323% 96.398%, 8.375% 97.464%, 5.157% 98.45%, 2.695% 99.292%, 1.012% 99.925%, 1.012% 99.925%, 0.856% 99.959%, 0.705% 99.938%, 0.562% 99.867%, 0.429% 99.75%, 0.309% 99.592%, 0.205% 99.397%, 0.119% 99.169%, 0.055% 98.913%, 0.014% 98.632%, 0% 98.332%, 0% 1.596%);
}
@media (max-width: 1023px) {
  .hud {
    clip-path: none;
  }
}

.hero-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
}

/* Override default hero width */
.hero {
  width: auto !important;
  height: calc(100dvh - 104px) !important; /* Adjust height to fit the viewport */
}
@media (max-width: 1023px) {
  .hero {
    height: calc(100dvh - 204px) !important; /* Adjust height to fit the viewport */
  }
}

.sticky-header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-accent);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease-in-out;
  width: auto;
}
@media (max-width: 1023px) {
  .sticky-header {
    top: 0.5rem;
  }
}

@media (max-width: 1023px) {
  .nav-menu {
    height: calc(100dvh - 5rem);
  }
}

@media (max-width: 1023px) {
  .svg-map {
    display: none;
  }
}
.svg-map .cls-2 {
  transition: all 0.2s ease;
  opacity: 0.7;
  cursor: pointer;
}
.svg-map .cls-2:hover {
  opacity: 0.9;
  fill: var(--color-accent);
}
.svg-map .cls-2.active {
  opacity: 1;
  fill: var(--color-white);
  stroke-width: 16px;
}
.svg-map .cls-2.active .cls-3 {
  stroke: var(--color-white);
}
.svg-map .cls-2.active:hover .cls-3 {
  stroke: var(--color-white);
  stroke-width: 16px;
}
.svg-map .cls-2.active:hover .cls-3:hover {
  stroke: var(--color-white);
}
.svg-map .cls-3 {
  stroke: var(--color-accent);
  opacity: 0.5;
  transition: all 0.2s ease;
  cursor: pointer;
}
.svg-map .cls-3:hover {
  stroke: var(--color-accent);
  stroke-width: 16px;
}

#location-popup-overlay {
  display: flex;
  transition: 0.3s opacity ease-out;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
#location-popup-overlay #location-popup {
  transform: translateY(80px);
  transition: 0.2s ease-out 0.1s;
  opacity: 0;
}
#location-popup-overlay.show-selector {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
#location-popup-overlay.show-selector #location-popup {
  transform: translateY(0);
  opacity: 1;
}

.location-details.christchurch .location-details__content, .location-details.auckland .location-details__content, .location-details.wellington .location-details__content, .location-details.southern-lakes .location-details__content {
  transition: 0.2s transform ease-out;
  transform: translateY(-20px);
  opacity: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}
.location-0 .location-details.christchurch {
  background-color: var(--color-accent);
  color: var(--color-accent-content);
  padding: 20px 30px;
}
.location-0 .location-details.christchurch .location-details__content {
  height: auto;
  font-size: 1rem;
  margin-bottom: 0;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.location-1 .location-details.auckland {
  background-color: var(--color-accent);
  color: var(--color-accent-content);
  padding: 20px 30px;
}
.location-1 .location-details.auckland .location-details__content {
  height: auto;
  font-size: 1rem;
  margin-bottom: 0;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.location-3 .location-details.wellington {
  background-color: var(--color-accent);
  color: var(--color-accent-content);
  padding: 20px 30px;
}
.location-3 .location-details.wellington .location-details__content {
  height: auto;
  font-size: 1rem;
  margin-bottom: 0;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.location-2 .location-details.southern-lakes {
  background-color: var(--color-accent);
  color: var(--color-accent-content);
  padding: 20px 30px;
}
.location-2 .location-details.southern-lakes .location-details__content {
  height: auto;
  font-size: 1rem;
  margin-bottom: 0;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

[data-aos=draw] path {
  stroke-dasharray: 1050;
  stroke-dashoffset: 2100;
  transition: stroke-dashoffset 3s ease-in-out;
  opacity: 0;
}
[data-aos=draw].aos-animate path {
  stroke-dashoffset: 0;
  opacity: 1;
}

[data-aos=draw-offset] path {
  stroke-dasharray: 1050;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 2s ease-in-out;
  opacity: 0;
}
[data-aos=draw-offset].aos-animate path {
  stroke-dashoffset: 0;
  opacity: 1;
}

@media (max-width: 1023px) {
  .map-container {
    display: none;
  }
}

.fill-section {
  width: 100dvw;
}

.arrow:after {
  display: inline-block;
  transition: 0.2s ease-out;
  content: "";
  width: 24px;
  height: 25px;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.5L14 18.5M20 12.5L14 6.5M20 12.5L9.5 12.5M4 12.5L6.5 12.5" stroke="%235DC7D6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.arrow:hover:after {
  transform: translateX(5px);
  background-image: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.5L14 18.5M20 12.5L14 6.5M20 12.5L9.5 12.5M4 12.5L6.5 12.5" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.arrow-alt:after {
  display: inline-block;
  transition: 0.2s ease-out;
  content: "";
  width: 24px;
  height: 25px;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.5L14 18.5M20 12.5L14 6.5M20 12.5L9.5 12.5M4 12.5L6.5 12.5" stroke="%23161616" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.arrow-alt:hover:after {
  transform: translateX(5px);
  background-image: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.5L14 18.5M20 12.5L14 6.5M20 12.5L9.5 12.5M4 12.5L6.5 12.5" stroke="%235DC7D6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.wysiwig {
  position: relative;
  z-index: 1;
}
.wysiwig ul {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 1023px) {
  .wysiwig ul {
    flex-direction: column;
  }
}
.wysiwig ul.animate li {
  opacity: 1;
  transform: translateY(0);
}
.wysiwig ul li {
  background-color: var(--color-gray-100);
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex: 1 1 25%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.wysiwig ul li:nth-child(1) {
  transition-delay: 0.1s;
}
.wysiwig ul li:nth-child(2) {
  transition-delay: 0.2s;
}
.wysiwig ul li:nth-child(3) {
  transition-delay: 0.3s;
}
.wysiwig ul li:nth-child(4) {
  transition-delay: 0.4s;
}
.wysiwig ul li:nth-child(5) {
  transition-delay: 0.5s;
}
.wysiwig ul li:nth-child(6) {
  transition-delay: 0.6s;
}
.wysiwig ul li:nth-child(7) {
  transition-delay: 0.7s;
}
.wysiwig ul li:nth-child(8) {
  transition-delay: 0.8s;
}
.wysiwig ul li:nth-child(9) {
  transition-delay: 0.9s;
}
.wysiwig ul li:nth-child(10) {
  transition-delay: 1s;
}
.wysiwig ul li strong {
  display: block;
  font-weight: 1000;
  font-size: large;
  padding-bottom: 10px;
}
.wysiwig ul li strong:after {
  content: "";
  display: block;
  width: 30%;
  height: 1px;
  background-color: var(--color-primary);
  margin-top: 5px;
}

.hide-icons svg {
  display: none;
}

.display-content + .teams {
  padding-top: 200px;
}
@media (max-width: 1023px) {
  .display-content + .teams {
    padding-top: 140px;
  }
}

.page-header {
  position: relative;
  background-color: #262626;
  padding-bottom: 0;
  text-align: center;
}
.page-header h1 {
  position: relative;
  z-index: 10;
}
.page-header + * {
  padding-top: 140px;
}
@media (max-width: 1023px) {
  .page-header + * {
    padding-top: 120px;
  }
}
.page-header:after {
  content: "";
  position: absolute;
  top: 100%;
  left: -140px;
  right: -140px;
  height: 120px;
  border-radius: 50%;
  background: #262626;
  transform: translateY(-50%);
  animation: grow-header 0.5s ease-in-out forwards;
}

@keyframes grow-header {
  0% {
    height: 120px;
    transform: translateY(-50%);
  }
  100% {
    height: 200px;
    transform: translateY(-50%);
  }
}
main {
  overflow: hidden;
}

@media all and (min-width: 1024px) {
  .projects-list li:nth-child(even) > div > div {
    flex-direction: row-reverse !important;
    justify-content: end !important;
    margin-left: 0 !important;
    margin-right: calc(var(--spacing) * -18);
  }
}

@media (max-width: 639px) {
  .location-nav .contact-details {
    display: none;
  }
}

.photo {
  margin: 0 auto;
}
.photo img {
  border-radius: 20px;
  max-width: 900px;
}
