/* ─── Article Promo Section ───────────────────────────── */
.article-promo {
  padding: 5rem var(--section-padding-x);
  background-color: var(--bg-light);
}

.article-promo__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  padding-top: 1rem;
}

.article-promo__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--primary-black);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.article-promo__subtext {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 500px;
}

/* ─── Carousel ────────────────────────────────────────── */
.article-carousel {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.article-carousel__viewport {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #e5e7eb;
  background-color: var(--bg-light);
}

.article-carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* ─── Slide ───────────────────────────────────────────── */
.article-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0;
  min-height: 360px;
}

.article-slide__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 2.5rem 3rem;
}

.article-slide__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
  line-height: 1.3;
  margin: 0;
}

.article-slide__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-muted);
  line-height: 1.7;
  margin: 0;
}

.article-slide__image {
  width: 100%;
  height: 360px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-slide__image--1 { background-image: url('/UlapBiz/assets/about-img.png'); }
.article-slide__image--2 { background-image: url('/UlapBiz/assets/core_stack.png'); }
.article-slide__image--3 { background-image: url('/UlapBiz/assets/interactive_teamwork.png'); }
.article-slide__image--4 { background-image: url('/UlapBiz/assets/core_bir.png'); }
.article-slide__image--5 { background-image: url('/UlapBiz/assets/overview/cloud-access.png'); }

/* ─── CTA Button ──────────────────────────────────────── */
.article-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  background: var(--primary);
  color: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.article-promo__btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ─── Dots ────────────────────────────────────────────── */
.article-carousel__dots {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-right: 0.25rem;
}

.article-carousel__dot {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background-color: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.article-carousel__dot:hover {
  background-color: #9ca3af;
}

.article-carousel__dot.is-active {
  background-color: var(--primary);
}

/* ─── Mobile ──────────────────────────────────────────── */
@media (max-width: 992px) {
  .article-slide__text {
    padding: 2rem 1.75rem;
  }
  .article-slide__title { font-size: 1.25rem; }
  .article-slide__image { height: 320px; }
}

@media (max-width: 768px) {
  .article-promo {
    padding: 3rem 1.25rem;
  }
  .article-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .article-slide__image {
    height: 220px;
    order: -1;
  }
  .article-slide__text {
    order: 1;
    padding: 1.5rem;
  }
  .article-promo__btn { width: 100%; max-width: 280px; }
  .article-carousel__dots { justify-content: center; }
}

@media (max-width: 480px) {
  .article-promo { padding: 2.5rem 1rem; }
  .article-slide__image { height: 180px; }
  .article-slide__text { padding: 1.25rem; }
}
