/* Association: bring the first section closer to the banner. */
body.page-id-10 #main .achile-page-hero {
  padding-bottom: 24px;
}

body.page-id-10 #main .achile-page-hero + .achile-section {
  padding-top: 28px;
}

body.page-id-10 #main .achile-page-hero + .achile-section > .e-con-inner {
  padding-top: 24px;
}

/* Team: invitation after the Elementor page content. */
.achile-team-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 20px;
  list-style: none;
}
.achile-team-partners li,
.achile-team-partners a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.achile-team-partners img {
  width: 100%;
  max-width: 180px;
  height: 90px;
  object-fit: contain;
}

.achile-team-join {
  padding: 24px 24px 72px;
  background: #fff;
}

.achile-team-join__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 40px;
  border: 1px solid #d9eaf4;
  border-radius: 20px;
  background: linear-gradient(110deg, #eff9fd, #f5fcf9);
}

.achile-team-join__eyebrow {
  margin: 0 0 8px;
  color: #087c9f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.achile-team-join h2 {
  margin: 0 0 10px;
  color: #1a3e6e;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.achile-team-join p:last-child {
  max-width: 720px;
  margin: 0;
  color: #45566b;
  line-height: 1.55;
}

.achile-team-join__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  padding: 14px 22px;
  border-radius: 10px;
  background: linear-gradient(110deg, #ffad59, #ef7184);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.achile-team-join__link:hover,
.achile-team-join__link:focus-visible {
  color: #fff;
  box-shadow: 0 8px 22px rgba(239,113,132,.25);
}

/* Elementor loop cards: reduce excessive width, padding and logo areas. */
body.page-id-26 .ue-grid,
body.page-id-28 .ue-grid {
  justify-content: center;
  gap: 18px;
}

body.page-id-26 .ue-grid {
  grid-template-columns: repeat(2, minmax(0, 420px)) !important;
}

body.page-id-28 .ue-grid {
  grid-template-columns: repeat(2, minmax(0, 460px)) !important;
}

body.page-id-26 .elementor-2273 .elementor-element.elementor-element-87159d4,
body.page-id-28 .elementor-2221 .elementor-element.elementor-element-c8d6e0b {
  --gap: 18px;
  --row-gap: 18px;
  --padding-top: 22px;
  --padding-bottom: 22px;
  --padding-left: 22px;
  --padding-right: 22px;
}

body.page-id-26 .elementor-2273 .elementor-element.elementor-element-3f2794d {
  --min-height: 140px;
}

body.page-id-26 .elementor-2273 .elementor-element.elementor-element-6c5055a img {
  height: 120px;
  object-fit: contain;
}

body.page-id-28 .elementor-2221 .elementor-element.elementor-element-d4eedff img {
  height: 110px;
}

body.page-id-28 .elementor-2221 a {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body.page-id-10 #main .achile-page-hero {
    padding-bottom: 8px;
  }

  body.page-id-10 #main .achile-page-hero + .achile-section {
    padding-top: 24px;
  }

  body.page-id-10 #main .achile-page-hero .elementor-element-67e9919 {
    min-height: 240px;
  }

  body.page-id-10 .elementor-10 .elementor-element-c9be9bf {
    display: none;
  }

  .achile-team-join {
    padding: 16px 16px 48px;
  }

  .achile-team-join__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 22px;
  }

  .achile-team-join__link {
    width: 100%;
  }

  body.page-id-26 .ue-grid,
  body.page-id-28 .ue-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
