/* CORE TECHNOLOGIES */
.core-tech {
  background: var(--bg-light);
  padding: var(--section-pad-top) var(--section-pad-x) var(--section-pad-bottom);
}
.core-tech-text .section-title {
  text-align: left;
}
.core-tech-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 'text media' 'nav media';
  gap: 80px;
  align-items: center;
}
.core-tech-text {
  grid-area: text;
}
.core-tech-media {
  grid-area: media;
}
.core-tech-nav {
  grid-area: nav;
}
.core-tech-name {
  font-size: var(--fs-heading);
  line-height: 1.4667;
  font-weight: 700;
  margin-top: 3rem;
}
.core-tech-desc {
  margin-top: 0.6rem;
  color: var(--black);
  font-size: var(--fs-body);
  line-height: 1.45;
  font-weight: 500;
}
.core-tech-slides {
  position: relative;
  min-height: 230px;
}
.core-tech-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0.4s;
}
.core-tech-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}
.core-tech-list {
  margin-top: 1.5rem;
}
.core-tech-list li {
  position: relative;
  padding-left: 16px;
  color: var(--black);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.7;
}
.core-tech-list li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.75rem;
  padding: 11px 24px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--black);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    text-shadow 0.2s ease;
}
.btn--disabled {
  opacity: 0.7;
  cursor: default;
}
a.btn--outline:hover {
  box-shadow: inset 0 0 0 1px currentColor;
  text-shadow:
    0 0 0.4px currentColor,
    0 0 0.4px currentColor;
}
.btn-arrow {
  display: block;
}
.core-tech-nav {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.carousel-arrow img {
  width: 18px;
  height: 18px;
}
.carousel-count {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}
.carousel-count #carousel-current {
  font-weight: 700;
}
.core-tech-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #d9d9d9;
}
.core-tech-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0.4s;
}
.core-tech-img.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

@media (max-width: 760px) {
  /* CORE TECHNOLOGIES - image first, then the pagination controls */
  .core-tech {
    padding-bottom: 6rem;
  }
  .core-tech-inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'text' 'media' 'nav';
    gap: 24px;
  }
  .core-tech-slides {
    min-height: 220px;
  }
  .core-tech-text {
    text-align: center;
  }
  .core-tech-text .section-title {
    text-align: center;
  }
  .core-tech-nav {
    margin-top: 0;
    justify-content: center;
  }
  .core-tech-list {
    display: inline-block;
    text-align: left;
  }
  .core-tech-name {
    margin-top: 1.25rem;
  }
  .core-tech-media {
    width: 100%;
    aspect-ratio: 3/2;
    max-width: 500px;
    margin: 0 auto;
  }
  .core-tech .btn {
    margin-top: 1rem;
  }
}
