/* 
Theme Name: CROCCS
Author: MagićMarinac
Author URI: https://magicmarinac.hr/
Description: Tema za CROCCS
*/

/* KORIŠTENE CLAMP VRIJEDNOSTI SU MIN 768PX - MAX 1500PX ŠIRINE EKRANA */

@font-face {
  font-family: "GolosText-Variable";
  src: url("assets/fonts/GolosText-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-optical-sizing: auto;
  font-display: block;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Variable";
  src: url("assets/fonts/Roboto-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-optical-sizing: auto;
  font-display: block;
  font-style: normal;
}

/* Default */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  text-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
  font-size: 16px; /* base font size */
  line-height: 1.15;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: none;
}

@media (min-width: 2048px) {
  html {
    font-size: 0.78125vw;
  }
}

/* Color and spacing variables*/
:root {
  --white: #ffffff;
  --black: #0d0d0d;
  --fullBlack: #000000;
  --grey--opaque: #f1f2f2;
  --grey--opacity: rgba(0, 0, 0, 0.05);
  --red: #ee2f4d;
  --indigo: #5247e2;
  --bg: #f5f5f5;
  --text-placeholder: rgba(56, 64, 72, 0.7);
  --text-input: #384048;

  --spacing-xxs: clamp(0.25rem, -0.0123rem + 0.5464vw, 0.5rem);
  --spacing-xs: clamp(0.5rem, -0.0246rem + 1.0929vw, 1rem);
  --spacing-sm: clamp(1rem, -0.0492rem + 2.1858vw, 2rem);
  --spacing-md: clamp(2rem, -0.0984rem + 4.3716vw, 4rem);
  --spacing-lg: clamp(4rem, -0.1967rem + 8.7432vw, 8rem);
  --spacing-xl: clamp(8rem, 1.7049rem + 13.1148vw, 14rem);

  --fullscreen-width: 100vw;
  --scrollbar-width: 15px;
  --header-height: 7.625rem;
  --container-margin: 0.75rem;
}

body.has-scrollbar {
  --fullscreen-width: calc(100vw - var(--scrollbar-width));
}

@media (min-width: 700px) {
  :root {
    --container-margin: 2rem;
  }
}

@media (min-width: 992px) {
  :root {
    --header-height: 9.5625rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-margin: 6rem;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--black);
  font-family: "GolosText-Variable", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.as-h1,
.as-h2,
.as-h3,
.as-h4,
.as-h5,
.as-h6 {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  font-weight: 400;
}

h1,
.as-h1 {
  /* font-size: clamp(2.25rem, 1.4631rem + 1.6393vw, 3rem); */
  font-size: clamp(2.25rem, -0.373rem + 5.464vw, 4.75rem);
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: -3%;
  color: var(--indigo);
}

h2,
.as-h2 {
  /* font-size: clamp(1.75rem, 1.2254rem + 1.0929vw, 2.25rem); */
  font-size: clamp(1.875rem, 0.17rem + 3.552vw, 3.5rem);
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: -3%;
  color: var(--indigo);
}

h3,
.as-h3 {
  /* font-size: clamp(1.5rem, 1.2377rem + 0.5464vw, 1.75rem); */
  font-size: clamp(1.5rem, 1.107rem + 0.82vw, 1.875rem);
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: -3%;
  line-height: 120%;
}

h4,
.as-h4 {
  /* font-size: clamp(1.125rem, 0.7316rem + 0.8197vw, 1.5rem); */
  font-size: clamp(1.25rem, 0.857rem + 0.82vw, 1.625rem);
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: -3%;
  line-height: 120%;
}

h5,
.as-h5 {
  font-size: clamp(1rem, 0.8689rem + 0.2732vw, 1.125rem);
  padding-top: 0;
  padding-bottom: 0;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 150%;
}

.small-xs {
  font-size: 0.75rem;
  display: inline-block;
}

small,
.small {
  font-size: 0.875rem;
  display: inline-block;
}

.big {
  font-size: 1.25rem;
  display: inline-block;
}

img:where(:not(.logo-marquee--mobile img):not(.partner-card img)) {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: var(--black);
  font-weight: 400;
  display: inline-block;
}

blockquote {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

ol {
  counter-reset: section;
  list-style: none;
  padding-inline-start: 0;
  position: relative;
  padding-left: 0;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

ol li {
  position: relative;
  padding-left: 1.5rem;
  counter-increment: section;
  margin-bottom: 0.5rem;
}

ol li::before {
  content: counters(section, ".") ". ";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--black);
  width: 1.5rem;
}

ol ol li {
  padding-left: 2.5rem;
}

ul {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 0;
  padding-bottom: 0;
  list-style-type: none;
  line-height: 1.5;
}

ul li:where(:not(.menu-item)) {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.5rem;
}

ul li:where(:not(.menu-item))::before {
  content: "";
  display: inline-block;
  background-image: url(assets/img/svg/bullet.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.438rem;
  height: 0.5rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

strong,
b {
  font-weight: 600;
}

sub,
sup {
  position: relative;
  font-size: 0.75rem;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25rem;
}

sup {
  top: -0.5rem;
}

img,
svg {
  vertical-align: middle;
}

iframe {
  border: 0;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: "Roboto-Variable", sans-serif;
  font-size: inherit;
  line-height: inherit;
}

/* Provjerit webkit appearance za iphone */
button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

button,
select {
  text-transform: none;
}

[role="button"] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

select:disabled {
  opacity: 1;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/*!
* Bootstrap Grid v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
:root {
  --gap-x: 1.5rem; /* space between columns */
  --gap-y: 3rem; /* space between rows */
}

.container,
.container-fluid {
  max-width: calc(100% - 1.5rem);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 700px) {
  .container {
    max-width: calc(100% - 4rem);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: calc(100% - 12rem);
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
}

[class^="col-"] {
  flex-grow: 0;
  /* flex-shrink: 0; */
}

.col-1 {
  width: calc(100% * 1 / 12 - var(--gap-x) * 11 / 12);
}
.col-2 {
  width: calc(100% * 2 / 12 - var(--gap-x) * 10 / 12);
}
.col-3 {
  width: calc(100% * 3 / 12 - var(--gap-x) * 9 / 12);
}
.col-4 {
  width: calc(100% * 4 / 12 - var(--gap-x) * 8 / 12);
}
.col-5 {
  width: calc(100% * 5 / 12 - var(--gap-x) * 7 / 12);
}
.col-6 {
  width: calc(100% * 6 / 12 - var(--gap-x) * 6 / 12);
}
.col-7 {
  width: calc(100% * 7 / 12 - var(--gap-x) * 5 / 12);
}
.col-8 {
  width: calc(100% * 8 / 12 - var(--gap-x) * 4 / 12);
}
.col-9 {
  width: calc(100% * 9 / 12 - var(--gap-x) * 3 / 12);
}
.col-10 {
  width: calc(100% * 10 / 12 - var(--gap-x) * 2 / 12);
}
.col-11 {
  width: calc(100% * 11 / 12 - var(--gap-x) * 1 / 12);
}
.col-12 {
  width: 100%;
}

.offset-1 {
  margin-left: calc(100% * 1 / 12 + var(--gap-x) * 1 / 12);
}
.offset-2 {
  margin-left: calc(100% * 2 / 12 + var(--gap-x) * 2 / 12);
}
.offset-3 {
  margin-left: calc(100% * 3 / 12 + var(--gap-x) * 3 / 12);
}
.offset-4 {
  margin-left: calc(100% * 4 / 12 + var(--gap-x) * 4 / 12);
}
.offset-5 {
  margin-left: calc(100% * 5 / 12 + var(--gap-x) * 5 / 12);
}
.offset-6 {
  margin-left: calc(100% * 6 / 12 + var(--gap-x) * 6 / 12);
}
.offset-7 {
  margin-left: calc(100% * 7 / 12 + var(--gap-x) * 7 / 12);
}
.offset-8 {
  margin-left: calc(100% * 8 / 12 + var(--gap-x) * 8 / 12);
}
.offset-9 {
  margin-left: calc(100% * 9 / 12 + var(--gap-x) * 9 / 12);
}
.offset-10 {
  margin-left: calc(100% * 10 / 12 + var(--gap-x) * 10 / 12);
}
.offset-11 {
  margin-left: calc(100% * 11 / 12 + var(--gap-x) * 11 / 12);
}

.order-first {
  order: -1 !important;
}
.order-0 {
  order: 0 !important;
}
.order-1 {
  order: 1 !important;
}
.order-2 {
  order: 2 !important;
}
.order-3 {
  order: 3 !important;
}
.order-4 {
  order: 4 !important;
}
.order-5 {
  order: 5 !important;
}
.order-last {
  order: 6 !important;
}

@media (min-width: 576px) {
  .col-sm-1 {
    width: calc(100% * 1 / 12 - var(--gap-x) * 11 / 12);
  }
  .col-sm-2 {
    width: calc(100% * 2 / 12 - var(--gap-x) * 10 / 12);
  }
  .col-sm-3 {
    width: calc(100% * 3 / 12 - var(--gap-x) * 9 / 12);
  }
  .col-sm-4 {
    width: calc(100% * 4 / 12 - var(--gap-x) * 8 / 12);
  }
  .col-sm-5 {
    width: calc(100% * 5 / 12 - var(--gap-x) * 7 / 12);
  }
  .col-sm-6 {
    width: calc(100% * 6 / 12 - var(--gap-x) * 6 / 12);
  }
  .col-sm-7 {
    width: calc(100% * 7 / 12 - var(--gap-x) * 5 / 12);
  }
  .col-sm-8 {
    width: calc(100% * 8 / 12 - var(--gap-x) * 4 / 12);
  }
  .col-sm-9 {
    width: calc(100% * 9 / 12 - var(--gap-x) * 3 / 12);
  }
  .col-sm-10 {
    width: calc(100% * 10 / 12 - var(--gap-x) * 2 / 12);
  }
  .col-sm-11 {
    width: calc(100% * 11 / 12 - var(--gap-x) * 1 / 12);
  }
  .col-sm-12 {
    width: 100%;
  }

  .offset-sm-1 {
    margin-left: calc(100% * 1 / 12 + var(--gap-x) * 1 / 12);
  }
  .offset-sm-2 {
    margin-left: calc(100% * 2 / 12 + var(--gap-x) * 2 / 12);
  }
  .offset-sm-3 {
    margin-left: calc(100% * 3 / 12 + var(--gap-x) * 3 / 12);
  }
  .offset-sm-4 {
    margin-left: calc(100% * 4 / 12 + var(--gap-x) * 4 / 12);
  }
  .offset-sm-5 {
    margin-left: calc(100% * 5 / 12 + var(--gap-x) * 5 / 12);
  }
  .offset-sm-6 {
    margin-left: calc(100% * 6 / 12 + var(--gap-x) * 6 / 12);
  }
  .offset-sm-7 {
    margin-left: calc(100% * 7 / 12 + var(--gap-x) * 7 / 12);
  }
  .offset-sm-8 {
    margin-left: calc(100% * 8 / 12 + var(--gap-x) * 8 / 12);
  }
  .offset-sm-9 {
    margin-left: calc(100% * 9 / 12 + var(--gap-x) * 9 / 12);
  }
  .offset-sm-10 {
    margin-left: calc(100% * 10 / 12 + var(--gap-x) * 10 / 12);
  }
  .offset-sm-11 {
    margin-left: calc(100% * 11 / 12 + var(--gap-x) * 11 / 12);
  }

  .order-sm-first {
    order: -1 !important;
  }
  .order-sm-0 {
    order: 0 !important;
  }
  .order-sm-1 {
    order: 1 !important;
  }
  .order-sm-2 {
    order: 2 !important;
  }
  .order-sm-3 {
    order: 3 !important;
  }
  .order-sm-4 {
    order: 4 !important;
  }
  .order-sm-5 {
    order: 5 !important;
  }
  .order-sm-last {
    order: 6 !important;
  }
}

@media (min-width: 992px) {
  .col-md-1 {
    width: calc(100% * 1 / 12 - var(--gap-x) * 11 / 12);
  }
  .col-md-2 {
    width: calc(100% * 2 / 12 - var(--gap-x) * 10 / 12);
  }
  .col-md-3 {
    width: calc(100% * 3 / 12 - var(--gap-x) * 9 / 12);
  }
  .col-md-4 {
    width: calc(100% * 4 / 12 - var(--gap-x) * 8 / 12);
  }
  .col-md-5 {
    width: calc(100% * 5 / 12 - var(--gap-x) * 7 / 12);
  }
  .col-md-6 {
    width: calc(100% * 6 / 12 - var(--gap-x) * 6 / 12);
  }
  .col-md-7 {
    width: calc(100% * 7 / 12 - var(--gap-x) * 5 / 12);
  }
  .col-md-8 {
    width: calc(100% * 8 / 12 - var(--gap-x) * 4 / 12);
  }
  .col-md-9 {
    width: calc(100% * 9 / 12 - var(--gap-x) * 3 / 12);
  }
  .col-md-10 {
    width: calc(100% * 10 / 12 - var(--gap-x) * 2 / 12);
  }
  .col-md-11 {
    width: calc(100% * 11 / 12 - var(--gap-x) * 1 / 12);
  }
  .col-md-12 {
    width: 100%;
  }

  .offset-md-1 {
    margin-left: calc(100% * 1 / 12 + var(--gap-x) * 1 / 12);
  }
  .offset-md-2 {
    margin-left: calc(100% * 2 / 12 + var(--gap-x) * 2 / 12);
  }
  .offset-md-3 {
    margin-left: calc(100% * 3 / 12 + var(--gap-x) * 3 / 12);
  }
  .offset-md-4 {
    margin-left: calc(100% * 4 / 12 + var(--gap-x) * 4 / 12);
  }
  .offset-md-5 {
    margin-left: calc(100% * 5 / 12 + var(--gap-x) * 5 / 12);
  }
  .offset-md-6 {
    margin-left: calc(100% * 6 / 12 + var(--gap-x) * 6 / 12);
  }
  .offset-md-7 {
    margin-left: calc(100% * 7 / 12 + var(--gap-x) * 7 / 12);
  }
  .offset-md-8 {
    margin-left: calc(100% * 8 / 12 + var(--gap-x) * 8 / 12);
  }
  .offset-md-9 {
    margin-left: calc(100% * 9 / 12 + var(--gap-x) * 9 / 12);
  }
  .offset-md-10 {
    margin-left: calc(100% * 10 / 12 + var(--gap-x) * 10 / 12);
  }
  .offset-md-11 {
    margin-left: calc(100% * 11 / 12 + var(--gap-x) * 11 / 12);
  }

  .order-md-first {
    order: -1 !important;
  }
  .order-md-0 {
    order: 0 !important;
  }
  .order-md-1 {
    order: 1 !important;
  }
  .order-md-2 {
    order: 2 !important;
  }
  .order-md-3 {
    order: 3 !important;
  }
  .order-md-4 {
    order: 4 !important;
  }
  .order-md-5 {
    order: 5 !important;
  }
  .order-md-last {
    order: 6 !important;
  }
}

@media (min-width: 1440px) {
  .col-lg-1 {
    width: calc(100% * 1 / 12 - var(--gap-x) * 11 / 12);
  }
  .col-lg-2 {
    width: calc(100% * 2 / 12 - var(--gap-x) * 10 / 12);
  }
  .col-lg-3 {
    width: calc(100% * 3 / 12 - var(--gap-x) * 9 / 12);
  }
  .col-lg-4 {
    width: calc(100% * 4 / 12 - var(--gap-x) * 8 / 12);
  }
  .col-lg-5 {
    width: calc(100% * 5 / 12 - var(--gap-x) * 7 / 12);
  }
  .col-lg-6 {
    width: calc(100% * 6 / 12 - var(--gap-x) * 6 / 12);
  }
  .col-lg-7 {
    width: calc(100% * 7 / 12 - var(--gap-x) * 5 / 12);
  }
  .col-lg-8 {
    width: calc(100% * 8 / 12 - var(--gap-x) * 4 / 12);
  }
  .col-lg-9 {
    width: calc(100% * 9 / 12 - var(--gap-x) * 3 / 12);
  }
  .col-lg-10 {
    width: calc(100% * 10 / 12 - var(--gap-x) * 2 / 12);
  }
  .col-lg-11 {
    width: calc(100% * 11 / 12 - var(--gap-x) * 1 / 12);
  }
  .col-lg-12 {
    width: 100%;
  }

  .offset-lg-1 {
    margin-left: calc(100% * 1 / 12 + var(--gap-x) * 1 / 12);
  }
  .offset-lg-2 {
    margin-left: calc(100% * 2 / 12 + var(--gap-x) * 2 / 12);
  }
  .offset-lg-3 {
    margin-left: calc(100% * 3 / 12 + var(--gap-x) * 3 / 12);
  }
  .offset-lg-4 {
    margin-left: calc(100% * 4 / 12 + var(--gap-x) * 4 / 12);
  }
  .offset-lg-5 {
    margin-left: calc(100% * 5 / 12 + var(--gap-x) * 5 / 12);
  }
  .offset-lg-6 {
    margin-left: calc(100% * 6 / 12 + var(--gap-x) * 6 / 12);
  }
  .offset-lg-7 {
    margin-left: calc(100% * 7 / 12 + var(--gap-x) * 7 / 12);
  }
  .offset-lg-8 {
    margin-left: calc(100% * 8 / 12 + var(--gap-x) * 8 / 12);
  }
  .offset-lg-9 {
    margin-left: calc(100% * 9 / 12 + var(--gap-x) * 9 / 12);
  }
  .offset-lg-10 {
    margin-left: calc(100% * 10 / 12 + var(--gap-x) * 10 / 12);
  }
  .offset-lg-11 {
    margin-left: calc(100% * 11 / 12 + var(--gap-x) * 11 / 12);
  }

  .order-lg-first {
    order: -1 !important;
  }
  .order-lg-0 {
    order: 0 !important;
  }
  .order-lg-1 {
    order: 1 !important;
  }
  .order-lg-2 {
    order: 2 !important;
  }
  .order-lg-3 {
    order: 3 !important;
  }
  .order-lg-4 {
    order: 4 !important;
  }
  .order-lg-5 {
    order: 5 !important;
  }
  .order-lg-last {
    order: 6 !important;
  }
}

/* Boostrap END */

/* CMS - dodati cms-content klasu na parent div u kojem zovemo the_content() ili get_the_content() (wordpress sadržaj) */
.cms-content h1 {
  padding-bottom: 1rem;
}

.cms-content .as-h1 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.cms-content h2,
.cms-content .as-h2 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.cms-content h3,
.cms-content .as-h3 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.cms-content h4,
.cms-content .as-h4 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.cms-content h5,
.cms-content .as-h5 {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.cms-content small {
  padding-bottom: 1rem;
}

.cms-content p {
  padding-bottom: 1rem;
}

.cms-content img:where(:not(figure img)),
.cms-content figure {
  margin-bottom: 1rem;
}

.cms-content ul,
.cms-content ol {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

/* CMS Buttons */
.cms-content .wp-block-button {
  padding-bottom: 1rem;
}

/* CMS Links */
.cms-content
  a:where(
    :not(.btn-solid):not(.btn-ghost):not(.btn-inline):not(.link-external):not(
        .wp-block-button__link
      ):not(.wp-element-button):not(.blog-grid > a):not(.aside--latest a)
  ),
.link-underline {
  display: inline-block;
  background:
    linear-gradient(to right, rgba(238, 47, 77, 1), rgba(238, 47, 77, 1)),
    linear-gradient(to right, rgba(238, 47, 77, 0), rgba(238, 47, 77, 0));
  background-size:
    100% 0.0625rem,
    0 0.0625rem;
  background-position:
    100% 100%,
    0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}

.cms-content
  a:where(
    :not(.btn-solid):not(.btn-ghost):not(.btn-inline):not(.link-external):not(
        .wp-block-button__link
      ):not(.wp-element-button):not(.blog-grid > a):not(.aside--latest a)
  ):hover,
.cms-content
  a:where(
    :not(.btn-solid):not(.btn-ghost):not(.btn-inline):not(.link-external):not(
        .wp-block-button__link
      ):not(.wp-element-button):not(.blog-grid > a):not(.aside--latest a)
  ):focus,
.link-underline:where(:not(.link-external .link-underline)):hover,
.link-underline:where(:not(.link-external .link-underline)):focus,
.link-external:hover .link-underline,
.link-external:focus .link-underline {
  background-size:
    0 0.0625rem,
    100% 0.0625rem;
}

.cms-content figure a {
  background: none !important;
  transition: none !important;
}

.cms-content figure a:hover,
.cms-content figure a:focus {
  background: none !important;
}

/* WP Plugins */
/* WP Helper blocks css */
.accordion-icon {
  background-color: transparent;
}

.centered-auto .swiper-slide > * {
  display: block !important;
  height: 70vw !important; /* Visina je potrebna, ako želimo slideove iste visine */
}

@media (min-width: 1024px) {
  .centered-auto .swiper-slide > * {
    height: 45vw !important; /* Visina je potrebna, ako želimo slideove iste visine */
  }
}

.mySwiper .swiper-slide-img {
  border-radius: 0.375rem !important;
}

/* Buttons */
/* 
  btn-solid - klasa za solid button s crnom pozadinom i bijelim tekstom
  btn-ghost - klasa za ghost button s transparentnom pozadinom i crnim tekstom
  full-width - klasa za button koji zauzima punu širinu 
  full-width-responsive - klasa za button koji zauzima punu širinu na manjim ekranima, a na većim je širine sadržaja
*/
.btn-solid,
.btn-ghost,
.wp-block-button__link,
.wp-element-button {
  line-height: 150%;
  transition: 0.3s;
  font-weight: 500;
}

.btn-solid,
.wp-block-button__link,
.wp-element-button {
  border: 0.0625rem solid var(--red);
  border-radius: 0.625rem;
  background-color: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
}

.btn-solid:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
  background-color: transparent;
  color: var(--red);
}

.btn-ghost,
.is-style-outline .wp-block-button__link,
.is-style-outline .wp-element-button {
  border: 0.0625rem solid var(--red);
  border-radius: 0.625rem;
  background-color: transparent;
  color: var(--red);
  padding: 0.75rem 1.5rem;
}

.btn-ghost:hover,
.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-element-button:hover {
  background-color: var(--red);
  color: var(--white);
}

.btn-inline {
  padding: 0;
  background: transparent;
  color: var(--white);
  font-weight: 400;
  display: inline-block;
  white-space: nowrap;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  will-change: transform;
  transform-origin: right center;
}

.btn-inline:hover {
  transform: scale(0.98);
}

.full-width {
  width: 100%;
  text-align: center;
}

.full-width-responsive {
  width: 100%;
  text-align: center;
}

@media (min-width: 576px) {
  .full-width-responsive {
    width: initial;
    text-align: initial;
  }
}

/* Helper klase */
.m-0 {
  margin: 0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-xxs {
  margin-top: var(--spacing-xxs) !important;
}
.mt-xs {
  margin-top: var(--spacing-xs) !important;
}
.mt-sm {
  margin-top: var(--spacing-sm) !important;
}
.mt-md {
  margin-top: var(--spacing-md) !important;
}
.mt-lg {
  margin-top: var(--spacing-lg) !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-xxs {
  margin-bottom: var(--spacing-xxs) !important;
}
.mb-xs {
  margin-bottom: var(--spacing-xs) !important;
}
.mb-sm {
  margin-bottom: var(--spacing-sm) !important;
}
.mb-md {
  margin-bottom: var(--spacing-md) !important;
}
.mb-lg {
  margin-bottom: var(--spacing-lg) !important;
}

.p-0 {
  padding: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pt-xxs {
  padding-top: var(--spacing-xxs) !important;
}
.pt-xs {
  padding-top: var(--spacing-xs) !important;
}
.pt-sm {
  padding-top: var(--spacing-sm) !important;
}
.pt-md {
  padding-top: var(--spacing-md) !important;
}
.pt-lg {
  padding-top: var(--spacing-lg) !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.pb-xxs {
  padding-bottom: var(--spacing-xxs) !important;
}
.pb-xs {
  padding-bottom: var(--spacing-xs) !important;
}
.pb-sm {
  padding-bottom: var(--spacing-sm) !important;
}
.pb-md {
  padding-bottom: var(--spacing-md) !important;
}
.pb-lg {
  padding-bottom: var(--spacing-lg) !important;
}

@media (max-width: 991px) {
  .pt-mob-0 {
    padding-top: 0 !important;
  }
}
/* END OF BASE CSS */

/* GENERAL */

.is-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.blog-card {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;

  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card--thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.blog-card--thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo {
  background: var(--indigo);
}

.blog-card--thumbnail img,
.section--benefits .service-card .service-thumbnail img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  will-change: transform;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0) scale(1);

  -webkit-transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition:
    transform 0.3s,
    -webkit-transform 0.3s;
}

.blog-card--thumbnail::before,
.section--benefits .service-card .service-thumbnail::before {
  content: "";
  position: absolute;
  z-index: 1;
  background-color: var(--indigo);
  mix-blend-mode: soft-light;
  opacity: 0;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;

  transition: opacity 0.3s;
}

.blog-grid a:hover .blog-card--thumbnail img,
.section--benefits .service-card:hover .service-thumbnail img {
  -webkit-transform: scale(1.008);
  -ms-transform: scale(1.008);
  transform: scale(1.008);
}

.blog-grid a:hover .blog-card--thumbnail::before,
.section--benefits .service-card:hover .service-thumbnail::before {
  opacity: 1;
}

.card-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-block;
  background-color: var(--red);
  border-radius: 1.25rem;
  padding: 0.325rem 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 160%;
  font-size: 0.656rem;
  color: var(--white);
  letter-spacing: 0.75px;

  z-index: 1;
}

.blog-card .btn-inline,
.blog-card--hero .btn-inline {
  position: absolute;
  bottom: 0.75rem;
  left: calc(100% - 6.5rem);
  line-height: 162.5%;
  color: var(--white);
}

.blog-card--hero .btn-inline {
  z-index: 1;
}

.blog-card--body {
  padding: 1.25rem;
  background: var(--grey--opacity);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card--title {
  flex: 1;
}

.blog-card--body .link-underline {
  padding-top: 2.5rem;
  width: fit-content;
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.red {
  color: var(--red);
}

.indigo {
  color: var(--indigo);
}

.h-sub {
  font-size: clamp(1.25rem, 1.143rem + 0.286vw, 1.4rem);
  letter-spacing: -3%;
  line-height: 140%;
}

.lede {
  max-width: 45rem;
  font-size: 1.25rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 3rem;
}

.logo-marquee--mobile {
  overflow: hidden;
  width: 100%;
}

.logo-marquee--mobile .items {
  display: flex;
  padding: 2rem 0 0 0;
  width: max-content;
  animation: marquee 13s linear infinite;
  will-change: transform;
}

.logo-marquee--mobile img {
  display: block;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
}

.logo-marquee--mobile .items a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

@media (min-width: 576px) {
  .logo-marquee--mobile .items {
    padding: 2rem 0 3rem 0;
  }
}

@media (max-width: 1499px) {
  .logo-marquee--mobile .items a {
    flex-shrink: 0;
    margin-right: 3rem; /* spacing between logos */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 7.25rem;
  }

  .logo-marquee--mobile .img-color {
    display: none;
  }
}

@media (min-width: 1500px) {
  .logo-marquee--mobile .items {
    width: 100%;
    /* max-width: 75rem; */
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(2rem, -0.143rem + 5.714vw, 5rem);
    margin: 0 auto;

    animation: none;
    will-change: initial;
  }

  .logo-marquee--mobile .mob-only {
    display: none !important;
  }

  .logo-marquee--mobile img {
    position: relative;
    z-index: 1;
  }

  .logo-marquee--mobile .img-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .logo-marquee--mobile a:hover .img-color {
    opacity: 1;
  }

  .logo-marquee--mobile .items a {
    display: flex;
    align-items: center;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section--first {
  padding-top: calc(var(--header-height) + 4.5rem);
}

.two-cols-text {
  column-count: 1;
  column-gap: 5rem;
}

@media (min-width: 992px) {
  .two-cols-text {
    column-count: 2;
  }

  .section--first {
    padding-top: calc(
      var(--header-height) + clamp(6.5rem, 4.402rem + 4.372vw, 8.5rem)
    );
  }
}

.content-with-aside {
  display: flex;
  flex-direction: column;
}

.cms-content--body {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.cms-content--body img:where(:not(figure img)),
.cms-content--body figure:has(img) {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.cms-content--body .wp-block-column img:where(:not(figure img)):first-child,
.cms-content--body .wp-block-column figure:has(img):first-child {
  margin-top: 0 !important;
}

.cms-content--body img {
  border-radius: 0.375rem !important;
}

.cms-content--aside {
  width: 100%;
  background: rgba(82, 71, 226, 0.1);
  border-radius: 1.125rem;
  padding: 2.125rem 2rem;
  margin-bottom: 3rem;
  position: sticky;
  top: 5rem;
}

.cms-content--aside h3 {
  color: var(--indigo);
}

.aside--latest {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aside--latest a {
  width: fit-content;
  transition: color 0.2s;
}

.aside--latest a:hover {
  color: var(--red);
}

.cms-content h1 {
  width: 100%;
}

.post-title {
  font-size: clamp(2.125rem, -0.105rem + 4.645vw, 4.25rem);
}

@media (min-width: 992px) {
  .content-with-aside {
    flex-direction: row;
    gap: 4rem;
  }

  .cms-content--body {
    width: 70%;
    padding-top: 3rem;
  }

  .cms-content--aside {
    flex: 1;
    height: fit-content;
    margin-top: 3rem;
  }

  .cms-content h1 {
    width: 70%;
  }
}

.alignwide {
  width: calc(var(--fullscreen-width) - var(--container-margin) * 2);
}

.alignfull {
  width: var(--fullscreen-width);
  margin-left: calc(-1 * var(--container-margin));
}

.link-external {
  position: relative;
  padding-left: 1.5rem;
}

.link-external::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.125rem;
  height: 100%;
  background-image: url(assets/img/svg/external.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.is-style-grey-bg-full-width {
  position: relative;
}

.is-style-grey-bg-full-width::before {
  content: "";
  position: absolute;
  background-color: var(--grey--opacity);
  top: 0;
  left: calc(-1 * var(--container-margin));
  width: var(--fullscreen-width);
  height: 100%;
  z-index: -1;
}

.is-style-spacer-xxs {
  height: var(--spacing-xxs) !important;
}
.is-style-spacer-xs {
  height: var(--spacing-xs) !important;
}
.is-style-spacer-sm {
  height: var(--spacing-sm) !important;
}
.is-style-spacer-md {
  height: var(--spacing-md) !important;
}
.is-style-spacer-lg {
  height: var(--spacing-lg) !important;
}
.is-style-spacer-xl {
  height: var(--spacing-xl) !important;
}

.wp-block-separator {
  border-top: 0.0625rem solid;
  color: rgba(0, 0, 0, 0.2);
}

.accordion-item {
  background-color: transparent;
  border-radius: 0 !important;
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.2);
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.2);
}

.accordion-header,
.bg-color .accordion-header {
  padding: 1rem 0 !important;
}

.accordion-title {
  color: var(--indigo);
}

.accordion-icon {
  border: 0.0625rem solid var(--red);
}

.accordion-icon::before,
.accordion-icon::after {
  background-color: var(--red);
}

.accordion-content-wrapper,
.bg-color .accordion-content-wrapper {
  padding: 0 0.5rem !important;
}

.accordion-content-wrapper .accordion-content > * {
  width: 100%;
}

.accordion-content > :first-child {
  padding-top: 1.5rem !important;
}

.accordion-content > :last-child {
  padding-bottom: 0 !important;
}

@media (min-width: 1200px) {
  .accordion-content-wrapper
    .accordion-content
    > *:where(:not(.is-layout-grid)) {
    width: 80%;
  }

  .accordion-content-wrapper .accordion-content > * {
    width: 92%;
  }
}

.wp-block-column > :last-child {
  margin-bottom: 0 !important;
}

:root
  :where(
    .wp-block-image.is-style-rounded img,
    .wp-block-image .is-style-rounded img
  ) {
  border-radius: 0.375rem;
}

.grid-3-1 {
  grid-template-columns: 1fr !important;
}

@media (min-width: 992px) {
  .grid-3-1 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.accordion-grid-card:where(
  :not(.accordion-grid-card:has(.wp-block-group__inner-container))
),
.accordion-grid-card .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
}

.accordion-grid-card p {
  padding-bottom: 0;
  font-size: 0.75rem;
}

.is-style-big {
  font-size: 1.25rem;
}

/* GOOGLE MAPS API */

.cluster-marker {
  width: 4.5rem;
  height: 4.5rem;

  position: relative;

  /* transform: translateY(35%); */
}

.cluster-core {
  position: absolute;
  inset: 1rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
}

.ring {
  position: absolute;
  border-radius: 50%;
  background: rgba(238, 47, 77, 0.2);
}

.ring-1 {
  inset: 0.5rem;
}

.ring-2 {
  inset: 0;
}

/* HEADER */

header {
  padding-top: 2.125rem;
  position: absolute;
  width: 100%;
}

.header--hero {
  opacity: 0;
}

.header--hero:has(nav.nav-is-open) {
  opacity: 1 !important;
}

.header--container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header--left {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header--left .nav-menu {
  display: flex;
  gap: 2rem;
  margin: 0 !important;
  padding: 0 !important;

  flex-direction: column;
  align-items: center;
}

.header--left li.menu-item {
  margin: 0 !important;
  padding: 0 !important;
}

.header--left a {
  font-weight: 500;
  line-height: 150%;
  color: var(--black);
  z-index: 3;
}

.header--hero .lang-switch {
  color: var(--white);
  transition: color 0.3s;
}

body.nav-is-open .header--hero .lang-switch {
  color: var(--black);
}

.header--right .btn-ghost {
  display: none;
  position: fixed;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%, 7%);
}

.header--hero .header--right .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}

body.nav-is-open .header--right .btn-ghost {
  display: block;
}

body.nav-is-open .header--hero .header--right .btn-ghost {
  border-color: var(--red);
  color: var(--red);
}

.header--hero .header--right .btn-ghost:hover,
.header--hero .header--right .btn-ghost:focus {
  background-color: var(--white);
  color: var(--black);
}

.header--right {
  display: flex;
  gap: 2rem;
  align-items: center;
  z-index: 3;
}

nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: 2;

  justify-content: center;
  align-items: center;
}

nav.nav-is-open {
  display: flex;
}

.header--left {
  flex: 1;
  justify-content: space-between;
}

.header--container {
  gap: 2rem;
}

.header--left .logo-wrapper {
  width: 5.5rem;
}

.header--left .logo-wrapper svg {
  width: 100%;
  height: auto;
}

.header--left .logo-wrapper svg path {
  transition: fill 0.3s ease;
}

body:where(:not(.nav-is-open))
  .header--hero
  .header--left
  .logo-wrapper
  svg
  path {
  fill: var(--white);
}

.header--left li.menu-item {
  position: relative;
  display: inline-block;
}

.header--left li.menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 0.0625rem;
  background: var(--red);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.3s ease;
}

.header--left li.menu-item:hover::after,
.header--left li.menu-item.current-menu-item::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 992px) {
  nav {
    display: block;
    position: initial;
    width: fit-content;
    height: fit-content;
    background: transparent;
  }

  .header--left {
    flex: none;
    justify-content: left;
  }

  .header--container {
    gap: 0;
  }

  .header--left .logo-wrapper {
    margin-right: 3.813rem;
    width: 7.438rem;
  }

  .header--hero .header--left .logo {
    height: 7.438rem;
  }

  .header--right .btn-ghost {
    position: static;
    display: block;
    transform: none;
  }

  .header--left .nav-menu {
    flex-direction: row;
    align-items: initial;
  }

  .header--hero .header--left a {
    color: var(--white);
  }
}

/* HAMBURGER */

#hamburger {
  display: block;
  position: relative;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

#hamburger span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  width: 1.875rem;
  height: 0.125rem;
  background-color: var(--black);
  transition: all 0.3s ease-in-out;
}

.header--hero #hamburger span {
  background-color: var(--white);
}

body.nav-is-open .header--hero #hamburger span {
  background-color: var(--black);
}

#hamburger span:nth-child(1) {
  top: 30%;
}

#hamburger span:nth-child(2) {
  bottom: 30%;
}

@media (min-width: 992px) {
  #hamburger {
    display: none;
  }
}

/* OPENED NAVIGATION */
body.nav-is-open #hamburger span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

body.nav-is-open #hamburger span:nth-child(2) {
  bottom: 45%;
  transform: rotate(-45deg);
}

body.nav-is-open {
  overflow: hidden;
}

/* FOOTER */

footer {
  background-color: var(--grey--opacity);
  padding: 4rem 0 5rem 0;
}

footer .logo-wrapper {
  height: 5.5rem;
}

footer .logo-wrapper img {
  height: 100%;
  width: auto;
}

footer .linkedin {
  width: 5.75rem;
  padding-top: var(--gap-y);
}

.footer--logos {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap-y);
  padding-bottom: var(--gap-y);
}

.footer--logos img {
  width: fit-content;
}

.footer--logos .non-svg {
  mix-blend-mode: multiply;
  width: 12rem;
}

@media (min-width: 768px) {
  .footer--logos {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  footer .linkedin {
    padding-top: 1rem;
  }
}

@media (min-width: 992px) {
  footer .logo-wrapper {
    height: 7.438rem;
  }
}

@media (min-width: 1440px) {
  .pt-2-desktop {
    padding-top: 2rem;
  }
}

.signature {
  font-size: 0.875rem;
  color: #b3b3b3;
}

div:has(> .signature) {
  display: flex;
  justify-content: flex-end;
}

/* NEWSLETTER */

#sib-container {
  margin: 0;
  display: block;
  /* max-width: 35rem; */
  max-width: 100%;
  padding: clamp(1.5rem, 1.083rem + 1.667vw, 2.125rem);
}

#sib-container .newsletter--heading {
  text-align: left;
  line-height: 100%;
  padding-bottom: 0.75rem;
}

.sib-form {
  padding: 0;
}

form#sib-form {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.sib-form-block__button.btn-solid {
  border: 0.0625rem solid var(--red) !important;
  border-radius: 0.625rem !important;
  background-color: var(--red) !important;
  font-weight: 500 !important;
}

.sib-form-block__button.btn-solid:hover {
  background-color: transparent !important;
  color: var(--red) !important;
}

.form__label-row {
  flex-direction: column;
  gap: 1.5rem;
}

.sib-form .entry__label {
  width: fit-content;

  font-weight: 400 !important;
  line-height: 125%;
  margin-bottom: 0;
}

.newsletter--input {
  display: block;
  flex: 1;
  position: relative;
}

.newsletter--input .entry__field {
  width: 100%;
  margin: 0;
  border-radius: 0.625rem;
  overflow: hidden;
  border: none;
}

.sib-form .newsletter--input .input {
  height: 3rem;
  color: var(--text-input);
}

.sib-form-block__button-with-loader {
  height: 3rem;
  width: 100%;
  text-align: center !important;
}

.sib-form-block {
  padding: 0;
}

.sib-form .newsletter--input .entry__field:focus-within {
  outline: rgba(82, 71, 226, 0.4) solid 0.0625rem;
  box-shadow: none;
}

.sib-form .input:last-child {
  padding-right: 1rem;
}

.sib-form .input:first-child {
  padding-left: 1rem;
}

@media (min-width: 900px) {
  .form__label-row {
    flex-direction: row;
    gap: 5.5rem;
    align-items: center;
  }

  form#sib-form {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
  }

  .sib-form .entry__label {
    max-width: 14.5rem;
  }

  .sib-form-block__button-with-loader {
    width: fit-content;
    text-align: left !important;
  }

  .sib-form .newsletter--input .entry__error {
    position: absolute;
  }
}

@media (min-width: 1440px) {
  #sib-container {
    max-width: 100%;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

/* NEWSLETTER INSIDE CMS */
.cms--newsletter .sib-form,
.cms--newsletter #sib-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cms--newsletter .sib-form-block {
  padding-left: 0 !important;
}

.cms--newsletter .entry__field {
  width: 100%;
  margin: 0;
  border-radius: 0.625rem;
  overflow: hidden;
  border: none;
}

.cms--newsletter .input {
  height: 3rem !important;
  color: var(--text-input);
}

.cms--newsletter .entry__field:focus-within {
  outline: rgba(82, 71, 226, 0.4) solid 0.0625rem;
  box-shadow: none;
}

@media (min-width: 900px) {
  .cms--newsletter .sib-form .entry__error {
    position: absolute;
  }
}

/* FRONT PAGE */

.section--hero {
  background-image:
    url(assets/img/cip2-mobile.jpg),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-repeat: no-repeat;
  background-position: left 0%;
  background-size: cover;
  background-blend-mode: overlay;
  height: 100svh;
  min-height: 43rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 1.246rem + 5.738vw, 6.625rem);
}

.hero--heading {
  max-width: 40rem;
  color: var(--white);

  opacity: 0;
}

.hero--heading > div,
.hero--right a:has(.blog-card--hero),
.hero--right p {
  opacity: 0;
  transform: translateY(100px);
}

a:has(.blog-card--hero) {
  width: 70%;
}

.blog-card--hero .blog-card--thumbnail {
  aspect-ratio: 356 / 183;
}

.blog-card--hero:after {
  content: "";
  background: linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  position: absolute;
  width: 100%;
  height: 100%;
}

.section--hero p {
  color: var(--white);
  padding-top: 1rem;
}

.section--hero .row {
  row-gap: 1.5rem;
}

@media (min-width: 576px) {
  .section--hero {
    background-image:
      url(assets/img/cip2-tablet.jpg),
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-position: left 100%;
  }

  a:has(.blog-card--hero) {
    width: 75%;
  }

  .section--hero p {
    padding-top: 2rem;
  }

  .section--hero .row {
    row-gap: var(--gap-y);
  }
}

@media (min-width: 992px) {
  .section--hero {
    height: 85svh;
    background-image:
      url(assets/img/cip2.jpg),
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-position: center 90%;
  }
}

.section--text-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.section--text-marquee .items {
  display: inline-flex;
  animation: text-marquee 20s linear infinite;
  padding: 0.75rem 0;
}

.section--text-marquee .item {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.375rem 2.5rem;
  border-right: 0.0625rem solid var(--black);
}

@keyframes text-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 3));
  }
}

.section--text-marquee .horizontal-line {
  width: 100%;
  height: 0.0625rem;
  background: var(--black);
  justify-self: center;
}

@media (min-width: 576px) {
  .section--text-marquee .item {
    padding: 0.5rem 4rem;
  }
}

.section--benefits {
  padding-top: clamp(3.5rem, 1.926rem + 3.279vw, 5rem);
}

.section--benefits h2 {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 3rem;
}

.service-thumbnail {
  aspect-ratio: 243 / 125;
  overflow: hidden;
  border-radius: 0.375rem;
  position: relative;
}

.service-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-body {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.service-body .h-sub {
  min-height: 3rem;
}

.service-body p {
  flex: 1;
}

.service-body .link-underline {
  width: fit-content;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.section--news {
  padding-top: clamp(3.5rem, 0.877rem + 5.464vw, 6rem);
}

.section--news h2 {
  font-size: clamp(1.5rem, -0.074rem + 3.279vw, 3rem);
  line-height: 120%;
  padding-bottom: 3rem;
}

.section--about {
  padding: clamp(3.5rem, 0.877rem + 5.464vw, 6rem) 0
    clamp(3.5rem, 1.926rem + 3.279vw, 5rem) 0;
  display: flex;
  flex-direction: column;
}

.section--about h2 {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 3rem;
}

.section--about .centered-btn {
  display: flex;
  justify-content: center;
}

/* ABOUT US PAGE */

.about-intro {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  position: relative;

  padding-bottom: 7rem;
}

.about-intro .about-intro--text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-intro .about-intro--image {
  width: 100%;
  max-width: 33rem;
  position: relative;
  margin: 0 auto;
}

.about-intro .about-intro--image img {
  margin-bottom: 0;
}

.partners-title {
  width: 100%;
  padding-bottom: 2rem !important;
  padding-top: 1rem !important;
}

@media (min-width: 576px) {
  .about-intro .about-intro--text {
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .about-intro {
    flex-direction: row;
    gap: 1rem;
  }

  .about-intro .about-intro--text .two-cols-text {
    max-width: 80rem;
    width: 65%;
  }

  .about-intro .about-intro--image {
    width: 35%;
    max-width: 34rem;
    right: -1rem;
    top: -3rem;
    margin: 0;

    position: absolute;
  }

  .partners-title {
    width: 75%;
    padding-bottom: clamp(2rem, -1.672rem + 7.65vw, 5.5rem) !important;
    padding-top: 0 !important;
  }

  .about-intro .two-cols-text {
    column-gap: 3rem;
  }
}

@media (min-width: 1200px) {
  .about-intro .about-intro--image {
    top: -7rem;
  }

  .about-intro .two-cols-text {
    column-gap: 5rem;
  }
}

.partners-grid--section {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto;
}

.partner-card--logo {
  min-height: 6rem;
}

.partner-card--logo img {
  margin: 0;
}

.partner-card .h-sub {
  padding-bottom: 2rem;
}

.partner-card .partner-card--description {
  flex: 1;
}

.partner-card .link-external {
  margin-top: 1rem;
}

.partner-card {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .partner-card:where(:not(:last-child))::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--container-margin));
    width: calc(2 * var(--container-margin) + 100%);
    height: 0.125rem;
    background: var(--grey--opaque);
  }
}

@media (min-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-card {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .partner-card:nth-child(1),
  .partner-card:nth-child(2),
  .partner-card:nth-child(3) {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .partner-card:nth-child(3n + 1) {
    padding-left: 0;
  }

  /* LEFT BORDER */
  .partner-card:where(:not(:nth-child(3n + 1)))::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0.125rem;
    height: 100%;
    background: var(--grey--opaque);
  }

  /* BOTTOM BORDER OUTER LEFT */
  .partner-card:nth-child(3n + 1):where(:not(:nth-last-child(-n + 3)))::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--container-margin));
    width: calc(100% + var(--container-margin));
    height: 0.125rem;
    background: var(--grey--opaque);
  }

  /* BOTTOM BORDER REGULAR */
  .partner-card:nth-child(3n + 2):where(:not(:nth-last-child(-n + 3)))::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background: var(--grey--opaque);
  }

  /* BOTTOM BORDER OUTER RIGHT */
  .partner-card:nth-child(3n + 3):where(:not(:nth-last-child(-n + 3)))::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: calc(-1 * var(--container-margin));
    width: calc(100% + var(--container-margin));
    height: 0.125rem;
    background: var(--grey--opaque);
  }
}

/* SERVICES PAGE */

.services-intro--bubble {
  background: rgba(82, 71, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem;
  margin-top: 1.625rem;
  border-radius: 0.375rem;

  position: relative;
}

.services-intro--bubble p {
  font-size: 1.25rem;
}

.info-bubble {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0 !important;

  position: absolute;
  top: -1.625rem;
  right: 2.5rem;
}

#skills h2,
#support h2,
#gateway h2 {
  max-width: 55rem;
}

#skills .wp-block-separator,
#support .wp-block-separator,
#gateway .wp-block-separator {
  margin-top: 1rem;
}

.contact-form {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form .h-sub {
  color: var(--indigo);
}

.contact-form--left,
.contact-form--right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form--left p {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0.0625rem solid #e5e6e6;
  background-color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
}

.contact-form textarea {
  height: 8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: rgba(82, 71, 226, 0.4) solid 0.0625rem;
}

.contact-form br {
  display: none;
}

.contact-form ::-webkit-input-placeholder,
#sib-container input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: var(--text-placeholder);
}
.contact-form :-moz-placeholder,
#sib-container input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: var(--text-placeholder);
  opacity: 1;
}
.contact-form ::-moz-placeholder,
#sib-container input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: var(--text-placeholder);
  opacity: 1;
}
.contact-form :-ms-input-placeholder,
#sib-container input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--text-placeholder);
}
.contact-form ::-ms-input-placeholder,
#sib-container input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--text-placeholder);
}

.contact-form ::placeholder,
#sib-container input::placeholder {
  /* Most modern browsers support this now. */
  color: var(--text-placeholder);
}

.entry__label::after {
  content: none;
}

.pilot-line-grid {
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr) !important;
  margin-bottom: 3rem;
}

.pilot-line-grid:last-child {
  margin-bottom: 0;
}

.pilot-line-grid figure {
  margin-bottom: 0 !important;
  max-width: 12rem;
}

@media (min-width: 576px) {
  .pilot-line-grid {
    grid-template-columns: minmax(0, 12rem) 4fr !important;
  }
}

@media (min-width: 768px) {
  .contact-form {
    flex-direction: row;
    gap: 3.5rem;
  }

  .contact-form--left p {
    justify-content: space-between;
    gap: 0;
  }
}

@media (min-width: 992px) {
  .contact-form {
    width: 80%;
    max-width: 63rem;
    min-width: 50rem;
  }
}

/* BLOG ARCHIVE */

.blog .blog-grid {
  padding-top: 3rem;
}

/* CONTACT PAGE */

iframe.google-maps {
  width: 100%;
  height: 60dvh;
}

/* COOKIES */
.cc-nb-text-purposes,
.cc-nb-title-container {
  display: none !important;
}

.termsfeed-com---nb .cc-nb-main-container,
.termsfeed-com---palette-light.termsfeed-com---nb {
  border-radius: 0.375rem !important;
}

.termsfeed-com---nb-simple {
  right: 0.5rem !important;
  bottom: 0.5rem !important;
}

.cc-nb-okagree,
.cc-nb-changep {
  line-height: 150% !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 1.25rem !important;
}

.cc-nb-okagree {
  color: var(--white) !important;
}
