:root {
  /* Article Card Font Sizes */
  --fs-article-tag: clamp(14px, 2vw, 24px);
  --fs-article-title: clamp(20px, 3.5vw, 48px);
  
  /* Structural Spacing */
  --section-padding-x: clamp(24px, 8vw, 130px);
  --article-card-width: clamp(280px, 80vw, 1100px);
  --carousel-gap: clamp(60px, 15vw, 240px);
}

/* ============================================================
    IN THE LOOP SECTION - index.html and enterprise.html
============================================================ */

.in-the-loop-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(60px, 10vw, 200px);
}

.section-header {
  padding: clamp(60px, 10vw, 120px) var(--section-padding-x) 32px;
  background: var(--color-bg);
}

.section-header__label {
  font-size: var(--fluid-label);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.section-header__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-header__title {
  font-size: var(--fs-section-title);
  font-weight: 500;
  line-height: 1;
  letter-spacing: clamp(-3px, -0.2vw, -1px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.carousel-btn {
  width: clamp(40px, 5vw, 52px);
  height: clamp(40px, 5vw, 52px);
  border-radius: 0;
  border: none;
  background: var(--color-bg-btn);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #3a3a3a;
}

.carousel-btn:active {
  transform: scale(0.93);
}

.articles-carousel {
  background: var(--color-bg);
  padding: clamp(32px, 5vw, 60px) 0 0;
  overflow: hidden;
  position: relative;
  flex: 1;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.articles-track {
  display: flex;
  gap: var(--carousel-gap);
  width: max-content;
  animation: carousel-scroll 120s linear infinite;
}

.article-card {
  flex: 0 0 auto;
  width: var(--article-card-width);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
  display: block;
}

.article-card:hover {
  opacity: 0.75;
}

.article-card__tag {
  font-size: var(--fs-article-tag);
  font-weight: 500;
  margin-bottom: clamp(8px, 2vw, 20px);
}

.article-card__title {
  font-size: var(--fs-article-title);
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .in-the-loop-section {
    min-height: 60vh;
  }

  .section-header__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .carousel-controls {
    justify-content: flex-end;
    width: 100%;
  }

  .articles-track {
    animation-duration: 40s;
  }
}