/*!******************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/styles/style.scss ***!
  \******************************************************************************************************************************************************************************************************************/
/*!
Theme Name: newgrex
Author: Appex Web
Author URI: http://appex.no/
Version: 0.1.2
*/
:root {
  --logo-position: center center;
  --logo-repeat: no-repeat;
  --logo-size: contain;
  --logo-width: 215px;
  --logo-height: 85px;
  --link-color: #000;
  --link-hover-color: #0092e0;
}
@media (max-width: 1023px) {
  :root {
    --logo-width: 138px;
    --logo-height: 54px;
  }
}

a {
  color: var(--link-color);
}
a:hover {
  color: var(--link-hover-color);
}

img {
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
}

table {
  border-collapse: collapse;
}

.user-is-clicking input,
.user-is-clicking textarea,
.user-is-clicking button {
  outline: none;
}

.inset-0 {
  position: absolute;
  inset: 0;
}

a {
  color: var(--wp--preset--color--black);
  text-decoration: none;
}

body {
  overflow-x: hidden;
}

body .appex-consent-banner {
  transition: transform 0.2s ease-in-out;
  position: fixed;
  width: 100%;
  right: 20px;
  left: unset;
  z-index: 9999;
  padding: 30px 40px 20px 40px;
  background-color: #fff;
  border-top: none;
  max-width: 350px;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
}
body .appex-consent-banner.active {
  transform: translateY(-20px);
}
body .appex-consent-banner .appex-consent-banner__body {
  flex-direction: column;
}
body .appex-consent-banner .appex-consent-banner__body .appex-consent-banner__details p {
  margin: 25px 0;
}
body .appex-consent-banner .appex-consent-banner__buttons {
  justify-content: flex-start;
  width: 100%;
}
body .appex-consent-banner .appex-consent-banner__buttons .button-accept, body .appex-consent-banner .appex-consent-banner__buttons .button-decline {
  background-color: var(--wp--preset--color--transparent) !important;
  color: var(--wp--preset--color--black) !important;
  border: 2px solid var(--wp--preset--color--black) !important;
  transition: all 0.2s ease-in-out;
}
body .appex-consent-banner .appex-consent-banner__buttons .button-accept:hover, body .appex-consent-banner .appex-consent-banner__buttons .button-decline:hover {
  background-color: var(--wp--preset--color--black) !important;
  color: var(--wp--preset--color--white) !important;
  border: 2px solid var(--wp--preset--color--black) !important;
}
body .appex-consent-banner .appex-consent-banner__footer {
  margin-top: 20px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
}

main {
  display: block;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

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

a {
  background-color: transparent;
}

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

b,
strong {
  font-weight: bolder;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

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

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

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

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

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

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

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

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

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

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

img {
  max-width: 100%;
  border-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  color: #000;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h4,
h5,
h6, h3, h2, h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

h1 {
  font-size: var(--wp--preset--font-size--xxlarge);
  color: var(--wp--preset--color--green);
}

h2 {
  font-size: var(--wp--preset--font-size--large);
  text-align: center;
  padding-bottom: 1rem;
  line-height: 1.8;
}
@media (max-width: 500px) {
  h2 {
    text-align: left;
  }
}

h3 {
  font-size: var(--wp--preset--font-size--large);
}

h4,
h5,
h6 {
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--green);
}

.visuallyhidden {
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  top: 0;
}

.hero-section {
  position: relative;
  width: 100vw;
  color: var(--wp--preset--color--white);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 5rem;
}
.hero-section:not(.fixed) {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section.fixed {
  min-height: unset;
  height: 744px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section.no-overlap-image:not(.fixed), .hero-section.has-overlap-image:not(.fixed) {
  min-height: 600px;
  height: 100vh;
}
.hero-section__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-section__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  background-image: url("/wp-content/themes/newgrex/images/Forsidefilm_Stillbilde1.jpg");
  background-size: cover;
  background-position: center;
}
.hero-section__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-section__video iframe.loaded {
  opacity: 1;
}
.hero-section__video iframe.no-border {
  border: none;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
  height: 100%;
}
.hero-section__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1066px;
  width: 100%;
  padding: 2rem;
  margin: auto;
  height: 100%;
}
.hero-section__content h1 {
  padding: 2rem 0;
  line-height: 1.2;
  color: var(--wp--preset--color--green);
}
.hero-section__content h1 span {
  display: block;
  color: var(--wp--preset--color--green);
}
.hero-section__content h1:has(span) {
  color: var(--wp--preset--color--white);
}
.hero-section__content__text {
  font-size: var(--wp--preset--font-size--medium);
  margin-bottom: 2rem;
  text-align: center !important;
  max-width: 750px;
  margin: 0 auto;
}
.hero-section__content__text p {
  text-align: center !important;
}
.hero-section__content__buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
.hero-section__content__buttons a {
  background-color: transparent;
  color: var(--wp--preset--color--white);
  padding: 1rem 2rem;
  border: 3px solid var(--wp--preset--color--white);
  cursor: pointer;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 400;
  text-decoration: none;
  min-width: 200px;
  height: 52px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.2s ease-in-out;
}
.hero-section__content__buttons a:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
}
.hero-section__overlap-wrapper {
  position: relative;
  max-width: 1625px;
  margin: -20vh auto 4rem;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  min-height: 462px;
  z-index: 10;
}
@media (max-width: 1024px) {
  .hero-section__overlap-wrapper {
    height: 50vh;
  }
}
@media (max-width: 768px) {
  .hero-section__overlap-wrapper {
    height: 40vh;
    max-height: 462px;
  }
}
.hero-section__overlap-image {
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto 7rem;
  width: 100%;
  height: 100%;
}

button {
  cursor: pointer;
}

.wp-block-button__link {
  background-color: transparent;
  color: var(--wp--preset--color--black);
  border: 3px solid var(--wp--preset--color--black);
  font-weight: 400;
}

html:not(.search-open) .search-form {
  display: none;
}

.service-blocks-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: center;
  margin: 6rem 0 8rem 0;
}
@media (max-width: 1500px) {
  .service-blocks-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .service-blocks-container {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}

.service-card {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  margin: 1rem 0;
  width: 100%;
  flex-shrink: 0;
  min-height: 376px;
}
@media (max-width: 500px) {
  .service-card {
    text-align: left;
  }
}
@media (max-width: 1500px) {
  .service-card {
    max-width: none;
    width: 100%;
  }
}
.service-card h2 {
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--medium);
  margin: 1rem 0 1rem 0;
  line-height: 1.2;
  width: 100%;
}
.service-card p {
  word-break: break-word;
}
.service-card .service-link {
  margin-top: auto;
  width: 100%;
}
.service-card .service-link a {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  height: 100%;
  gap: 1.5rem;
  font-size: 20px;
  text-decoration: none;
  color: var(--wp--preset--color--white);
}
.service-card .service-link a:hover {
  color: var(--wp--preset--color--blue);
}
.service-card .service-link a:hover img {
  transform: translateX(5px);
}
.service-card .service-link a img {
  width: 68px;
  transition: transform 0.3s ease;
}
.service-card .service-link a .inset-0 {
  position: absolute;
  inset: 0;
}

.quote-block-section {
  background-color: #f9f9f9;
  padding: 10rem 2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.quote-block {
  max-width: 661px;
  margin: 0 auto;
  position: relative;
  padding: clamp(2rem, 4rem + 1vw, 7rem);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 500;
  widows: 2;
  word-break: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}
@media (max-width: 500px) {
  .quote-block {
    padding: clamp(2rem, 3rem + 1vw, 7rem);
  }
}
.quote-block .quote-author {
  font-style: italic;
  font-size: var(--wp--preset--font-size--xsmall);
  font-weight: 300;
  padding-top: 1.5rem;
  display: block;
}
.quote-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #000 0, #000 100px, transparent 100px), linear-gradient(to bottom, #000 0, #000 100px, transparent 100px), linear-gradient(to left, #000 0, #000 100px, transparent 100px), linear-gradient(to top, #000 0, #000 100px, transparent 100px);
  background-position: top left, top left, bottom right, bottom right; /* Right line */
  background-size: 100px 18px, 18px 100px, 100px 18px, 18px 100px; /* Right: 10px wide, 20px tall */
  background-repeat: no-repeat;
}
.quote-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to left, #000 0, #000 100px, transparent 100px), linear-gradient(to bottom, #000 0, #000 100px, transparent 100px), linear-gradient(to right, #000 0, #000 100px, transparent 100px), linear-gradient(to top, #000 0, #000 100px, transparent 100px);
  background-position: top right, bottom left; /* Bottom-left line */
  background-size: 100px 18px, 18px 100px, 18px 100px, 100px 18px; /* Right: 10px wide, 20px tall */
  background-repeat: no-repeat;
}

.contacts-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 100%;
  padding-top: 3rem;
}
.contacts-container.gray {
  background-color: #f9f9f9;
}
.contacts-container.white {
  background-color: #fff;
}

.contacts-inner {
  max-width: 1625px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 2rem;
  width: 100vw;
}
.contacts-inner .contact-block-heading {
  width: 100%;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}
.contacts-inner .contact-block-heading h2 {
  margin: 0 1rem;
  display: inline-block;
  position: relative;
  font-size: var(--wp--preset--font-size--large);
}
.contacts-inner .contact-block-heading h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 9px;
  background-color: var(--wp--preset--color--black);
}
@media (max-width: 768px) {
  .contacts-inner .contact-block-heading h2::after {
    width: 290px;
  }
}

.contact-block {
  margin: 0 auto;
  margin-bottom: 5rem;
  padding: 0 2rem;
}
.contact-block .contact-image-wrapper {
  max-width: 380px;
  max-height: 368px;
  width: 100%;
  margin: 0 auto 3rem;
  z-index: 10;
  position: relative;
}
.contact-block .contact-image-wrapper .contact-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
}
.contact-block:nth-child(3n+2) .contact-image-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 106px;
  height: 106px;
  background: linear-gradient(to right, #000 0, #000 106px, transparent 106px), linear-gradient(to bottom, #000 0, #000 106px, transparent 106px);
  background-position: top left, top left; /* Left line */
  background-size: 106px 9px, 9px 106px; /* Left: 9px wide, 106px tall */
  background-repeat: no-repeat;
}
.contact-block:nth-child(3n+3) .contact-image-wrapper::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 106px;
  height: 106px;
  background: linear-gradient(to left, #000 0, #000 106px, transparent 106px), linear-gradient(to top, #000 0, #000 106px, transparent 106px);
  background-position: bottom right, bottom right; /* Right line */
  background-size: 106px 9px, 9px 106px; /* Right: 9px wide, 106px tall */
  background-repeat: no-repeat;
}
.contact-block:nth-child(3n+4) .contact-image-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 106px;
  height: 106px;
  background: linear-gradient(to left, #000 0, #000 106px, transparent 106px), linear-gradient(to bottom, #000 0, #000 106px, transparent 106px);
  background-position: top right, top right; /* Right line */
  background-size: 106px 9px, 9px 106px; /* Right: 9px wide, 106px tall */
  background-repeat: no-repeat;
}

.contact-info {
  font-size: var(--wp--preset--font-size--small);
  text-align: start;
  font-weight: 500;
}
.contact-info .contact-name-title-wrapper {
  max-width: 380px;
}
.contact-info .contact-name-title-wrapper .contact-name {
  font-size: var(--wp--preset--font-size--large);
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  text-align: start;
  text-transform: capitalize;
}
.contact-info .contact-name-title-wrapper .contact-title {
  color: var(--wp--preset--color--blue);
  text-transform: uppercase;
  text-align: start;
  line-height: 0;
}
.contact-info .contact-name-title-wrapper .contact-title p {
  margin-bottom: unset;
}
.contact-info .contact-details {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: start;
  text-align: start;
  padding-top: 1rem;
}
.contact-info .contact-details .contact-mobile {
  text-align: start;
  padding: 0;
  margin: 0;
}
.contact-info .contact-details .contact-email {
  margin: 0;
}

.case-block-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  height: 100%;
  max-width: 1339px;
  width: 100%;
  margin: 5rem auto;
  justify-content: center;
}
@media (max-width: 1399px) {
  .case-block-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}
@media (max-width: 800px) {
  .case-block-container {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}
.case-block-container .case-block-wrapper {
  position: relative;
  min-width: 18rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-bottom: 5rem;
}
@media (max-width: 500px) {
  .case-block-container .case-block-wrapper {
    padding-bottom: 3rem;
  }
}
.case-block-container .case-block-wrapper .case-block-item {
  flex: 1;
}
.case-block-container .case-block-wrapper .case-block-item h2 {
  font-size: var(--wp--preset--font-size--large);
  text-align: start;
  word-break: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  padding-top: 1rem;
}
@media (max-width: 500px) {
  .case-block-container .case-block-wrapper .case-block-item h2 {
    padding-bottom: 0;
  }
}
.case-block-container .case-block-wrapper .case-block-item__p {
  font-size: var(--wp--preset--font-size--small);
  flex: 1;
}
.case-block-container .case-block-wrapper .case-block-link a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 2rem;
  height: 100%;
  gap: 1.5rem;
  font-size: var(--wp--preset--font-size--small);
  text-decoration: none;
  color: var(--wp--preset--color--black);
}
.case-block-container .case-block-wrapper .case-block-link a:hover {
  color: var(--wp--preset--color--blue);
}
.case-block-container .case-block-wrapper .case-block-link a:hover img {
  transform: translateX(5px);
}
.case-block-container .case-block-wrapper .case-block-link a img {
  width: 68px;
  transition: transform 0.3s ease;
}
.case-block-container .case-block-wrapper .case-block-link a .inset-0 {
  position: absolute;
  inset: 0;
}
.case-block-container .case-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  padding-bottom: 1rem;
}
.case-block-container .case-image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.image-carousel {
  max-width: 1625px;
  margin: 0 auto 4rem auto;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 5rem;
  padding-top: 7rem;
}
.image-carousel__slides-wrapper {
  width: 100%;
  height: 100vh;
  max-height: 750px;
  min-height: 226px;
  position: relative;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1024px) {
  .image-carousel__slides-wrapper {
    max-height: 600px;
    height: 100vh;
  }
}
@media (max-width: 768px) {
  .image-carousel__slides-wrapper {
    max-height: 300px;
    height: 100vh;
  }
}
@media (max-width: 412px) {
  .image-carousel__slides-wrapper {
    max-height: 226px;
    height: 100vh;
  }
}
.image-carousel__slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex: 0 0 100%;
}
.image-carousel__slide img, .image-carousel__slide video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  overflow: hidden;
}
.image-carousel .flickity-button.flickity-prev-next-button.next,
.image-carousel .flickity-button.flickity-prev-next-button.previous {
  border: 2px solid var(--wp--preset--color--white);
  background-color: transparent;
}
.image-carousel .flickity-button.flickity-prev-next-button.next:hover,
.image-carousel .flickity-button.flickity-prev-next-button.previous:hover {
  background-color: var(--wp--preset--color--black);
}
.image-carousel .flickity-button-icon {
  display: none;
}
.image-carousel .flickity-button.flickity-prev-next-button.previous::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(-1);
  width: 44px;
  height: 44px;
  background-image: url("images/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.image-carousel .flickity-button.flickity-prev-next-button.next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-image: url("images/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.image-carousel .flickity-page-dots {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 10;
}
.image-carousel .flickity-page-dots .dot {
  width: 22px;
  height: 22px;
  margin: 0 8px;
  background: #e6e5e5;
  border-radius: 50%;
  opacity: 0.7;
}
.image-carousel .flickity-page-dots .dot.is-selected {
  background: #bebdbd;
  opacity: 1;
}

.header {
  background-color: transparent;
  height: 205px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, height 0.3s ease;
}
.header:not(:has(~ .main .main__content .hero-section)) {
  background-color: var(--wp--preset--color--black);
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .header__content {
    padding: 2rem 4rem;
  }
}
.header.scrolled {
  height: 145px;
  background-color: var(--wp--preset--color--black);
}
.header__logo {
  background-image: url("images/grex-logo_white.svg");
  background-position: var(--logo-position);
  background-repeat: var(--logo-repeat);
  background-size: var(--logo-size);
  width: var(--logo-width);
  height: var(--logo-height);
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;
}
.header.scrolled .header__logo {
  width: 138px;
  height: 54px;
}
.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}
@media (max-width: 900px) {
  .header__menu-toggle {
    display: block;
  }
}
.header__menu-toggle .hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--wp--preset--color--white);
  position: relative;
  transition: all 0.3s ease;
}
.header__menu-toggle .hamburger::before, .header__menu-toggle .hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--wp--preset--color--white);
  transition: all 0.3s ease;
  left: 0;
}
.header__menu-toggle .hamburger::before {
  top: -8px;
}
.header__menu-toggle .hamburger::after {
  bottom: -8px;
}
.header__menu-toggle.active .hamburger {
  background-color: transparent;
}
.header__menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.header__menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--wp--preset--color--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999;
  }
  .header__nav.active {
    right: 0;
  }
}
.header__nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .header__nav ul {
    flex-direction: column;
    gap: 2rem;
  }
}
.header__nav ul li {
  margin: 0;
}
.header__nav ul li a {
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--xsmall);
  font-weight: 400;
  text-decoration: none;
}
.header__nav ul li a:hover {
  color: var(--wp--preset--color--green);
}
@media (max-width: 900px) {
  .header__nav ul li a {
    font-size: var(--wp--preset--font-size--medium);
  }
}
.header__nav ul li.current-menu-item a, .header__nav ul li.current_page_item a, .header__nav ul li.current_page_parent a, .header__nav ul li.current_page_ancestor a {
  color: var(--wp--preset--color--green);
}

.main {
  flex: 1;
  margin: 0 auto;
  padding: 0 1rem;
}
.main__content {
  max-width: 1625px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}
.main__content > *:last-child {
  padding-bottom: 10rem;
}
.main__content p {
  max-width: 920px;
  margin-bottom: 1rem;
}
.main__content:not(:has(> .hero-section)) {
  margin-top: 170px;
}
.main__content .wp-block-heading {
  padding: 2rem 0 2rem 0;
}
.main__content .wp-block-list {
  max-width: 920px;
  justify-content: center;
  align-items: left;
  gap: 0.5rem;
  width: 100%;
  margin: 2rem auto;
  padding-left: 4rem;
}
.main__content .wp-block-list li {
  list-style: disc;
  padding-left: 0.5rem;
  margin: 0;
}
.main__content .single-page_more-cases {
  padding: 5rem 0 0 0 !important;
}
.main__content .ingress_content {
  text-align: center;
  margin: 0 auto;
}
@media (max-width: 500px) {
  .main__content .ingress_content {
    text-align: left;
  }
}
.main .error404 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 20rem 0;
  text-align: center;
}
.main .error404 h1 {
  padding-bottom: 2rem;
}
.main .error404 a {
  padding-bottom: unset;
}
.main .wp-block-media-text__content {
  padding: unset;
}
@media (min-width: 601px) {
  .main .wp-block-media-text__content {
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .main .wp-block-media-text__content {
    padding: 5rem;
  }
}
.main .wp-block-button {
  margin: 0 auto;
}

.wp-block-media-text {
  padding: 0 0 1rem 0;
}
@media (min-width: 768px) {
  .wp-block-media-text {
    padding: 0 0 4rem 0;
  }
}
.wp-block-media-text__content {
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
}
@media (min-width: 768px) {
  .wp-block-media-text__content {
    padding: 2rem;
  }
}
.wp-block-media-text__content h2 {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
  padding: 2rem 0;
  margin: 0;
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-block-media-text__content p {
  font-size: var(--wp--preset--font-size--small);
  display: -webkit-box;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}
.wp-block-media-text__media {
  height: 640px;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 768px) {
  .wp-block-media-text__media {
    height: 400px;
  }
}
.wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wp-block-our-services {
  padding-top: 6rem;
}
.wp-block-our-services .wp-block-heading {
  padding: unset;
  line-height: 2.5;
}

.footer {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  width: 100%;
}
.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 2rem 1rem;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
@media (min-width: 900px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
    text-align: start;
  }
}
@media (min-width: 1164px) {
  .footer__content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
  }
}
.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 9px solid var(--wp--preset--color--white);
  max-width: 240px;
  width: 100%;
  justify-self: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  height: 100%;
}
@media (min-width: 900px) {
  .footer__column {
    align-items: start;
  }
}
.footer__column div {
  width: 100%;
}
.footer__column .privacy_policy_url {
  display: flex;
  justify-content: center;
  align-items: end;
}
.footer__column .privacy_policy_url a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}
.footer__column .privacy_policy_url a:hover {
  color: var(--wp--preset--color--blue);
}
@media (min-width: 900px) {
  .footer__column .privacy_policy_url {
    justify-content: start;
  }
}
.footer__logo img {
  width: 100%;
  height: auto;
}
.footer__address_title {
  color: var(--wp--preset--color--green);
}
.footer__address p {
  margin: 0;
  line-height: 1.4;
}
.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
}
.footer__links .footer-link-contact-info a {
  text-decoration: none;
  color: var(--wp--preset--color--white);
}
.footer__links .footer-link-contact-info a:hover {
  color: var(--wp--preset--color--blue);
}

.footer__links span {
  color: var(--wp--preset--color--green);
}

.footer__social {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.footer__social img {
  -o-object-fit: cover;
     object-fit: cover;
}

.social-icon {
  width: 50px;
  height: 50px;
}

.single_page_container figure img {
  margin: 0 auto;
  display: block;
}
.single_page_container p {
  max-width: 920px;
  margin-inline: auto;
}
@media (max-width: 500px) {
  .single_page_container p {
    text-align: left;
  }
}

/*# sourceMappingURL=style.css.map*/