/* Defaults
--------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Adjust footer */
footer::before {
  clear: both;
  content: "";
  display: block;
}

header,
footer {
  margin-top: 0;
  margin-block-start: 0;
}

a,
button,
input:focus,
input[type=button],
input[type=submit],
textarea:focus,
.wp-element-button,
.powered-by-rockbase a img {
  transition: all 0.2s ease-in-out;
}

/* Forms and Inputs */
input,
select,
textarea {
  background-color: var(--wp--preset--color--background-1);
  border: 1px solid var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--foreground-1);
  font-family: var(--wp--preset--font-family--base);
  font-size: var(--wp--preset--font-size--small);
  font-weight: inherit;
  line-height: inherit;
  padding: 0.7rem clamp(1.5rem, 1.75vw, 3.5rem) 0.6rem clamp(1.5rem, 1.75vw, 3.5rem);
  width: 100%;
}

input:focus,
textarea:focus {
  background-color: var(--wp--preset--color--background-2);
  outline: none;
}

input[type=checkbox],
input[type=image],
input[type=radio] {
  width: auto;
}

input[type=button],
input[type=email],
input[type=search],
input[type=submit],
input[type=text],
textarea {
  -webkit-appearance: none;
}

::placeholder {
  color: var(--wp--preset--color--foreground-3);
  font-size: var(--wp--preset--font-size--small);
}

/* Utility Classes
--------------------------------------------- */
.has-balance-text-wrap {
  text-wrap: balance !important;
}

.has-overflow-y-auto {
  overflow-y: auto;
}

.has-min-width {
  min-width: var(--wp--style--global--wide-size);
}

.has-highlight-underline {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.has-highlight-underline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  border-radius: 5px;
  background-color: var(--wp--preset--color--secondary);
  z-index: -1;
}

/* Hide Mobile / Desktop */
body .hide-desktop {
  display: none;
}

@media (max-width: 781px) {
  body .hide-desktop {
    display: initial;
  }
  body .hide-mobile {
    display: none;
  }
}
/* Single Post
--------------------------------------------- */
/* Hide featured image if empty */
.single-post-featured-image:empty {
  display: none;
}

body {
  background-color: var(--wp--preset--color--background-2);
}

.bg-grain-texture-light {
  background-image: url(../images/grain-light.png);
  background-repeat: repeat;
  background-size: 200px !important;
}

.bg-grain-texture-dark {
  background-image: url(../images/grain-dark.png);
  background-repeat: repeat;
  background-size: 200px !important;
}

.position-absolute.half-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: 50%;
  width: 100%;
  z-index: 0;
  margin: 0 !important;
}

.line-background-4 {
  position: relative;
}
.line-background-4::before, .line-background-4::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  opacity: 0.2;
  background-color: var(--wp--preset--color--background-4);
  z-index: 1;
}
.line-background-4::before {
  left: 60px;
}
@media (max-width: 1560px) {
  .line-background-4::before {
    display: none;
  }
}
.line-background-4::after {
  right: 60px;
}
@media (max-width: 1560px) {
  .line-background-4::after {
    display: none;
  }
}
.line-background-4 > * {
  z-index: 1;
}

.line-foreground-4 {
  position: relative;
}
.line-foreground-4::before, .line-foreground-4::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  opacity: 0.2;
  background-color: var(--wp--preset--color--foreground-4);
  z-index: 1;
}
.line-foreground-4::before {
  left: 60px;
}
@media (max-width: 1560px) {
  .line-foreground-4::before {
    display: none;
  }
}
.line-foreground-4::after {
  right: 60px;
}
@media (max-width: 1560px) {
  .line-foreground-4::after {
    display: none;
  }
}
.line-foreground-4 > * {
  z-index: 1;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

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

.align-self-center {
  align-self: center;
}

.hero-grid-item-border {
  row-gap: 2rem !important;
}
.hero-grid-item-border > div {
  position: relative;
}

@media (min-width: 1366px) {
  .hero-grid-item-border > div:not(:last-child)::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 3rem;
    background-color: var(--wp--preset--color--background-4);
  }
}
.add-custom-arrow.wp-block-read-more {
  position: relative;
  padding-right: calc(var(--wp--preset--spacing--20) + 21px);
}
.add-custom-arrow.wp-block-read-more:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  mask-image: url(../images/long-arrow-right.svg);
  mask-size: cover;
  width: 21px;
  height: 13px;
  display: block;
  background-color: var(--wp--preset--color--foreground-1);
  transition: background 0.3s ease;
}
.add-custom-arrow.wp-block-read-more:hover {
  color: var(--wp--preset--color--primary) !important;
}
.add-custom-arrow.wp-block-read-more:hover:after {
  background-color: var(--wp--preset--color--primary);
}

.category-data-group {
  position: relative;
}
.category-data-group .category-data {
  position: absolute;
  right: 1rem;
  top: 0.75rem;
}

@media (min-width: 1366px) {
  .hero-image {
    position: absolute;
    right: 0;
  }
}
@media (max-width: 991px) {
  .mobile-wrap {
    flex-wrap: wrap !important;
  }
  .mobile-remove-margin {
    margin: 0 !important;
  }
  .mobile-remove-padding {
    padding: 0 !important;
  }
}
@media (max-width: 768px) {
  .mobile-image {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 611px) {
  .mobile-wrap-small {
    flex-wrap: wrap !important;
  }
}
.wp-block-categories-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
}
.wp-block-categories-list a {
  padding: 10px var(--wp--preset--spacing--20);
  color: var(--wp--preset--color--foreground-1);
  background-color: var(--wp--preset--color--background-4);
}
.wp-block-categories-list a:hover {
  background-color: var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--background-1);
}
.wp-block-categories-list li {
  display: flex;
}
.wp-block-categories-list li.current-cat a {
  background-color: var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--background-1);
}

.taxonomy-post_tag,
.taxonomy-category {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
}
.taxonomy-post_tag .wp-block-post-terms__separator,
.taxonomy-category .wp-block-post-terms__separator {
  display: none !important;
}
.taxonomy-post_tag a,
.taxonomy-category a {
  padding: 4px var(--wp--preset--spacing--20);
  color: var(--wp--preset--color--foreground-1);
  background-color: var(--wp--preset--color--background-4);
}
.taxonomy-post_tag a:hover,
.taxonomy-category a:hover {
  background-color: var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--background-1);
}

.item-number {
  width: 76px;
  height: 76px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--background-3);
  border-radius: 50%;
}
@media (max-width: 768px) {
  .item-number {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 479px) {
  .item-number {
    width: 48px;
    height: 48px;
  }
}

.items-row {
  position: relative;
}
.items-row > * {
  position: relative;
}
.items-row > *:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 38px;
  top: -57px;
  width: 1px;
  height: 50px;
  border-left: 2px dashed var(--wp--preset--color--background-4);
}
@media (max-width: 768px) {
  .items-row > *:not(:first-child)::before {
    left: 31px;
    top: -30px;
    width: 1px;
    height: 24px;
    border-left: 1px dashed var(--wp--preset--color--background-4);
  }
}
@media (max-width: 479px) {
  .items-row > *:not(:first-child)::before {
    left: 24px;
    top: -20px;
    height: 16px;
  }
}

.item-checked .item-number {
  color: var(--wp--preset--color--foreground-4);
  background-image: url(../images/icon-check.png);
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  color: transparent;
}
@media (max-width: 768px) {
  .item-checked .item-number {
    background-size: 18px;
    font-size: var(--wp--preset--font-size--medium) !important;
  }
}
@media (max-width: 479px) {
  .item-checked .item-number {
    font-size: var(--wp--preset--font-size--small) !important;
  }
}
.item-checked .item-number + p {
  color: var(--wp--preset--color--foreground-4);
}

.item-active .item-number {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--background-1);
}

.hero-highlight strong {
  position: relative;
  background-image: url(../images/hero-ellipse.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}

.text-underline-large s {
  position: relative;
  background-image: url(../images/text-underline-large.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 100%;
  text-decoration: none;
}

.text-underline-medium s {
  position: relative;
  background-image: url(../images/text-underline-medium.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 100%;
  text-decoration: none;
}

.is-style-clickable-card {
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  transform: translateY(0px);
}
.is-style-clickable-card:hover {
  transform: translateY(-4px);
  background-color: #fff !important;
  box-shadow: 0px 20px 30px 0px rgba(147, 138, 132, 0.2);
}
.is-style-clickable-card a {
  position: relative;
  text-decoration: none;
}
.is-style-clickable-card a[href] {
  position: static;
  z-index: 4;
}
.is-style-clickable-card a[href]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.site-header .custom-logo-link {
  max-width: 100px;
}

@media (max-width: 720px) {
  .align-left-mobile {
    justify-content: flex-start !important;
  }
}
@media (max-width: 1024px) {
  .tablet-2-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
