html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

.entry-content > .alignfull,
.is-root-container > .alignfull,
.is-root-container > .block-library-block__reusable-block-container.alignfull {
  margin-top: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation a {
  white-space: nowrap;
}

.z-2 {
  z-index: 2 !important;
}

.z-10 {
  z-index: 10 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.has-small-font-size p {
  margin-top: 0.65rem;
}

@media (max-width: 768px) {
  .reverse-mobile {
    flex-direction: column-reverse;
  }
  .hide-mobile {
    display: none !important;
  }
}

.no-shrink {
  flex-shrink: 0 !important;
}

.wp-block-separator {
  border-top-width: 1px !important;
}

.no-underline,
.no-underline a {
  text-decoration: none !important;
}

.no-underline a:not(.wp-block-button__link):hover {
  text-decoration: underline !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.relative {
  position: relative !important;
}

.absolute {
  position: absolute !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

.pointer-events-auto {
  pointer-events: auto !important;
}

.fixed {
  position: fixed !important;
}

.inset-0 {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}

.w-full {
  width: 100% !important;
}

.header-arrow {
  max-width: 64px;
  min-width: 45px;
  width: 4vw;
  height: auto;
}

.angle-crop-white {
  position: absolute !important;
  bottom: 0;
  width: 100%;
  height: 8%;
  background-image: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 49.5%,
    rgb(255, 255, 255) 50%
  );
  padding: 0 !important;
  margin: 0 !important;
}

.angle-crop-grey {
  position: absolute !important;
  bottom: 0;
  width: 100%;
  height: 8%;
  background-image: linear-gradient(
    to bottom right,
    rgba(244, 246, 245, 0) 49.5%,
    rgb(244, 246, 245) 50%
  );
  padding: 0 !important;
  margin: 0 !important;
}

.angle-crop-blue {
  height: 50px;
  background-image: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 49.5%,
    rgb(30, 55, 76, 100) 50%
  );
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .angle-crop-blue {
    height: 105px;
  }
}

.service-grid > .wp-block-group {
  border-top: 20px solid var(--wp--preset--color--accent-1);
  background-image: linear-gradient(
    to top right,
    rgba(255, 255, 255, 0) 49.5%,
    var(--wp--preset--color--accent-1) 50%
  );
  background-size: 100% 40px;
  background-repeat: no-repeat;
  padding-top: 55px !important;
}

@media (min-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.team-group {
  background-color: var(--wp--preset--color--contrast);
  background-image: linear-gradient(
    357deg,
    var(--wp--preset--color--accent-2) 49.5%,
    var(--wp--preset--color--contrast) 50%
  );
  z-index: 1;
}

@media (max-width: 1000px) {
  .team-group {
    background-size: 100% 50vw;
    background-repeat: no-repeat;
    background-position: bottom;
  }
}

.services-overlap {
  position: relative;
}

.bc-sep:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.47059 12L0 11.9998L4 5.99952L0 0H2.47059L6.5 5.99952L2.47059 12Z' fill='%2379A8CD'/%3E%3C/svg%3E");
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.services-overlap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 12em;
  background-color: var(--wp--preset--color--accent-2);
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--light) 49.5%,
    var(--wp--preset--color--accent-2) 50%
  );
  background-size: 100% 4em;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: -1;
}

@media (max-width: 1240px) {
  .md\:pr-0 {
    padding-right: 0 !important;
  }
}

.angle-crop-light-blue-grey,
.angle-crop-white-light-blue,
.angle-crop-grey-light-blue,
.angle-crop-white-light,
.angle-crop-light-white,
.angle-crop-white-contrast,
.angle-crop-light-contrast,
.angle-crop-contrast-white {
  padding: 0 !important;
  margin: 0 !important;
}

.angle-crop-light-blue-grey {
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--accent-2) 49.5%,
    transparent 50%
  );
}

.angle-crop-grey-light-blue {
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--light) 49.5%,
    var(--wp--preset--color--accent-2) 50%
  );
}

.angle-crop-white-light-blue {
  background-image: linear-gradient(
    to bottom right,
    white 49.5%,
    var(--wp--preset--color--accent-2) 50%
  );
}

.angle-crop-white-light {
  background-image: linear-gradient(
    to bottom right,
    white 49.5%,
    var(--wp--preset--color--light) 50%
  );
}

.angle-crop-white-contrast {
  background-image: linear-gradient(
    to bottom right,
    white 49.5%,
    var(--wp--preset--color--contrast) 50%
  );
}

.angle-crop-light-white {
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--light) 49.5%,
    white 50%
  );
}

.angle-crop-light-contrast {
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--light) 49.5%,
    var(--wp--preset--color--contrast) 50%
  );
}

.angle-crop-contrast-white {
  background-image: linear-gradient(
    to bottom right,
    var(--wp--preset--color--contrast) 49.5%,
    white 50%
  );
}

.gform-theme {
  --gf-ctrl-btn-radius: 9999px !important;
  --gf-form-gap-y: 1.25rem !important;
  --gf-form-validation-bg-color: var(--wp--preset--color--base) !important;
  --gf-ctrl-desc-color-error: var(--wp--preset--color--base) !important;
  --gf-form-footer-margin-y-start: 0.5 !important;
  --gf-ctrl-font-size: 1rem !important;
  --gf-ctrl-size: 50px !important;
}

.gform_button {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03rem !important;
}

.gform-footer {
  margin-top: 1.25rem !important;
}

.captcha-warning {
  font-size: 13px !important;
  color: white !important;
  opacity: 0.7 !important;
}

.editor-styles-wrapper .animate {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) !important;
}

.animate,
.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1 !important;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.animate-delay-1 {
  transition-delay: 0.35s !important;
}

.animate-delay-2 {
  transition-delay: 0.45s !important;
}

.fade-in {
  transition: opacity 1s ease-in-out;
}

.slide-in-left {
  transform: translateX(-20px);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
}

.slide-in-right {
  transform: translateX(20px);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
}

.slide-in-up {
  transform: translateY(-20px);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
}

.slide-in-down {
  transform: translateY(20px);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
}

@media (min-width: 768px) {
  .slide-in-left {
    transform: translateX(-50px);
  }

  .slide-in-right {
    transform: translateX(50px);
  }

  .slide-in-up {
    transform: translateY(-50px);
  }

  .slide-in-down {
    transform: translateY(50px);
  }
}

.social-icons a:hover {
  filter: brightness(0.8);
  transition: filter 0.3s;
}

.footer-grid {
  grid-template-columns: 1fr !important;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
  }
}

.wp-block-pullquote {
  --tw-shadow: 0 13px 25px -6px rgba(0, 0, 0, 0.25);
  --tw-shadow-colored: 0 13px 25px -6px var(--tw-shadow-color);

  display: flex;
  background-color: var(--wp--preset--color--light);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}
.wp-block-pullquote::before {
  content: "";
  width: 10px;
  background-image: linear-gradient(
    to bottom,
    var(--wp--preset--color--contrast-2) 0%,
    var(--wp--preset--color--accent-2) 100%
  );
  flex-shrink: 0;
}

.wp-block-pullquote > blockquote {
  text-align: left;
  padding: var(--wp--preset--spacing--40);
  font-size: var(--wp--preset--font-size--medium);
}

.wp-block-pullquote cite {
  font-size: var(--wp--preset--font-size--x-medium);
  font-style: normal;
  font-weight: 600;
}

/*Search modal styles*/

#search-modal {
  --tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  background-color: var(--wp--preset--color--light);

  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
  left: 1.25rem;
  right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-height: 100%;
  max-width: 600px;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) 0
    var(--wp--preset--spacing--30);
  position: absolute;
  z-index: 20;
  font-size: var(--wp--preset--font-size--regular);
}

#modal-overlay {
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.15);
}

.search-field-wrapper {
  margin-bottom: var(--wp--preset--spacing--30);
  position: relative;
}

.search-field-wrapper .search-field {
  padding: 0.75rem 0.75rem 1rem 2.5rem;
  width: 100%;
  font-size: var(--wp--preset--font-size--regular);

  border: none;
  outline: none;
  box-shadow: none;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--contrast);
  border-radius: 0.375rem;
}

.search-field-wrapper .search-submit {
  cursor: pointer;
  height: 1.5rem;
  left: 0.75rem;
  font-size: 0;
  position: absolute;
  top: 0.85rem;
  width: 1.25rem;
  color: var(--wp--preset--color--contrast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.ajax-results > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ajax-results {
  -ms-overflow-style: none;
  border-color: #f6f6f6;
  max-height: 60vh;
  overflow-y: scroll;
  scrollbar-width: none;
}

.ajax-results::-webkit-scrollbar {
  display: none;
}

.ajax-results .relevanssi-live-search-result:first-child {
  padding-top: 0;
}

.relevanssi-live-search-no-results {
  padding-bottom: var(--wp--preset--spacing--30);
}

.relevanssi-live-search-result {
  align-items: center;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--wp--preset--spacing--30);
  padding-top: var(--wp--preset--spacing--30);
}

.relevanssi-live-search-result h3 {
  color: var(--wp--preset--color--contrast);
  font-family: var(--wp--body--font-family);
  font-size: var(--wp--preset--font-size--small);
  margin: 0;
}

.relevanssi-live-search-result .meta {
  color: var(--wp--preset--color--contrast-2);
  font-size: var(--wp--preset--font-size--x-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Breadcrumbs - Mobile Only */
@media (max-width: 768px) {
  .yoast-breadcrumbs {
    font-size: 13px;
    padding-bottom: 10px !important;
  }

  /* Hide all breadcrumb items */
  .yoast-breadcrumbs > span > span {
    display: none;
    white-space: nowrap;
  }

  /* Show the second-to-last breadcrumb */
  .yoast-breadcrumbs > span > span:nth-last-child(3) {
    display: inline;
  }

  /* Show the last separator */
  .yoast-breadcrumbs > span > span.bc-sep:nth-last-child(2) {
    display: inline-block !important;
  }

  /* Show the last separator */
  .yoast-breadcrumbs > span > span.bc-sep:nth-last-child(2):before {
    height: 9px;
    width: 5px;
    margin: 0 0.25rem;
  }

  /* Show the last breadcrumb */
  .yoast-breadcrumbs > span > span.breadcrumb_last {
    display: inline;
  }
}
