html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

:is(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--wp--preset--color--rocha);
  border-radius: 0.23rem;
  outline-offset: 2px;
}

.wp-site-blocks {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > :not(footer) {
  flex: 0 0 auto;
}

.wp-site-blocks > footer {
  margin-top: auto;
}

.home-redirect-cover {
  background: linear-gradient(to right, var(--wp--preset--color--artica-oceano) 50%, var(--wp--preset--color--neve) 50%);
  background-size: 100% 100%;
  background-attachment: fixed;
}

.artica-content-spaces {
  padding: 80px 104px;
}

.cards-x-scroll .artica-work-card:first-child,
.cards-x-scroll .artica-proc-card:first-child,
.cards-x-scroll ul:first-child {
  margin-left: 104px;
}


.cards-x-scroll ul:last-child {
  margin-right: 104px;
}

.artica-content-spaces-x {
  padding-left: 104px;
  padding-right: 104px;
}

.artica-content-spaces-y {
  padding-top: 80px;
  padding-bottom: 80px;
}

.aam-nav-logo {
  width: 153px;
}

.current-menu-item {
  font-weight: 500;
}

.current-menu-ancestor > button {
  font-weight: 400;
}

.text-decoration-none a {
  text-decoration: none;
}

.text-no-wrap {
  text-wrap: nowrap;
}

.artica-nav-menu-container {
  text-wrap: nowrap;
}

.ac-nav-logo {
  width: 147px;
}

.hidden-desktop {
  display: none !important;
}

.aam-header {
  gap: 40px;
}

.ac-header {
  gap: 40px;
}

.p-description {
  font-size: 16px;
}

.artica-footer .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--artica-chuva);
}

.overflow-x-scroll {
  overflow-x: auto !important;
}

.min-w-1160 {
  min-width: 1160px;
}

.artica-card-proc-container {
  display: flex;
  gap: 24px;
}

.artica-work-card {
  min-width: 278px;
  min-height: 216px;
}

.artica-proc-card {
  min-width: 480px;
  min-height: 480px;
}

.artica-proc-card ul {
  font-size: 14px;
}

.grid-3-col-force {
  grid-template-columns: 1fr 1fr 1fr !important;
}

.grid-4-col-force {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

.artica-main-header-section {
  font-size: 32px;
}

.artica-main-header-section em {
  font-family: merriweather;
}

.artica-main-header-section strong {
  font-weight: 500;
}

.artica-main-legend-section {
  font-size: 14px;
}

.artica-content-gap-y {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cards-x-scroll .artica-work-card:first-child,
.cards-x-scroll .artica-proc-card:first-child {
  margin-left: calc(100vw/2 - 590px);
}

.cards-x-scroll .artica-work-card:last-child,
.cards-x-scroll .artica-proc-card:last-child {
  margin-right: 80px;
}

.ac-partnership {
  display: grid !important;
  grid-template-rows: 100px 200px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 1368px) {
  .artica-map-content-spaces {
    padding: 0 104px;
  }
}

@media (max-width: 1368px) {
  .artica-content-spaces {
    padding: 72px 80px;
  }


  .cards-x-scroll .artica-work-card:first-child,
  .cards-x-scroll .artica-proc-card:first-child,
  .cards-x-scroll ul:first-child {
    margin-left: 80px
  }

  .cards-x-scroll ul:last-child {
    margin-right: 80px;
  }

  .artica-content-spaces-y {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .artica-content-spaces-x {
    padding-left: 80px;
    padding-right: 80px;
  }

  .ac-header {
    gap: 16px;
  }
}

@media (max-width: 1023px) {
  .artica-content-spaces {
    padding: 64px 40px;
  }

  .cards-x-scroll .artica-work-card:first-child,
  .cards-x-scroll .artica-proc-card:first-child,
  .cards-x-scroll ul:first-child {
    margin-left: 40px
  }

  .cards-x-scroll ul:last-child {
    margin-right: 40px;
  }

  .artica-content-spaces-y {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .artica-content-spaces-x {
    padding-left: 40px;
    padding-right: 40px;
  }

  .home-redirect-cover {
    background: white;
  }

  .ac-nav-logo {
    width: 113px;
  }

  .hidden-desktop {
    display: flex !important;
  }

  .hidden-tablet-mobile {
    display: none !important;
  }

  .artica-nav-menu-container {
    justify-content: end !important;
  }

  .aam-header {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .artica-content-spaces {
    padding: 64px 24px;
  }

  .cards-x-scroll .artica-work-card:first-child,
  .cards-x-scroll .artica-proc-card:first-child,
  .cards-x-scroll ul:first-child {
    margin-left: 24px
  }

  .cards-x-scroll ul:last-child {
    margin-right: 24px;
  }

  .artica-content-gap-y {
    gap: 64px;
  }

  .artica-content-spaces-x {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-redirect-cover {
    background: white;
  }

  .hidden-mobile {
    display: none !important;
  }

  .aam-nav-logo {
    width: 153px;
  }

  .p-description {
    font-size: 14px;
  }

  .artica-main-header-section {
    font-size: 24px !important;
  }

  .artica-main-legend-section {
    font-size: 12px !important;
  }

  .ac-partnership {
    display: grid !important;
    grid-template-rows: 100px auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 32px;
  }

  .ac-partnership-text {
    order: 0;
  }

  .artica-proc-card {
    width: 334px;
    min-width: 334px;
    min-height: 580px;
  }

  .artica-proc-card ul {
    font-size: 12px;
  }

}

.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.artica-content-sticky {
  position: sticky;
  z-index: 0;
  top: 100px;
}

/* Interface has WPAdminBar being displayed */
body:has(.nojq) .artica-content-sticky {
  top: 132px;
}

ol.artica-toc,
.artica-toc ol {
  list-style-type: none;
  margin-bottom: 12px;
}

ol.artica-toc a,
.artica-toc ol a {
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

ol.artica-toc a:hover,
.artica-toc ol a:hover {
  opacity: 75%;
}

ol.artica-toc li ol li a,
.artica-toc ol li ol li a {
  font-size: 10px;
  display: inline-block;

}

.artica-toc ol li ol li a::before,
ol.artica-toc li ol li a::before {
  content: "";
  overflow: visible;
  background-color: var(--wp--preset--color--artica-oceano);
  mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg viewBox='0 0 23 22' fill='inherit' version='1.1' id='svg3' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Crect width='173' fill='inherit' fill-opacity='0.01' style='mix-blend-mode:multiply' id='rect1' x='0' y='0' /%3E%3Crect fill='inherit' fill-opacity='0.01' style='mix-blend-mode:multiply' id='rect2' x='1.5' y='1' /%3E%3Cpath d='M 12.75,4.75 11.856,5.62063 16.594,10.375 H 4 v 1.25 H 16.594 L 11.856,16.3581 12.75,17.25 19,11 Z' fill='inherit' id='path2' /%3E%3Cdefs id='defs3'%3E%3CclipPath id='clip0_1979_11537'%3E%3Crect fill='inherit' id='rect3' x='0' y='0' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
  mask-repeat: no-repeat;
  position: absolute;
  left: 60px;
  height: 16px;
  width: 16px;
  transition: background-color 300ms;
  pointer-events: none;
}

ol.artica-toc li ol li div a::before {
  left: -20px;
}

.artica-toc-container {
  height: 100vh;
  overflow-y: auto;
}

.artica-toc-group {
  padding-bottom: 50px
}

h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
  scroll-margin-top: 160px;
}

.artica-margin-0 {
  margin: 0 !important;
}

.artica-truncate-text,
.artica-truncate-text a {
  max-width: 300px;
  -webkit-line-clamp: 2 !important;
  /* autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.artica-truncate-text-3,
.artica-truncate-text-3 a {
  max-width: 300px;
  -webkit-line-clamp: 3 !important;
  /* autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.artica-object-fit img {
  object-position: 0 0 !important;
}
