/* ───────────────────────────────────────────────────────────
   STORY CSS (EDITORIAL COMPOSITION)
   ─────────────────────────────────────────────────────────── */

.story {
  padding: var(--space-32) 0;
  background-color: var(--color-white);
  color: var(--color-black);
}

.story__editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.story__editorial-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
}

.story__img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.story__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 4px solid var(--color-white);
}

.story__img-detail {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 30%;
  height: 25%;
  box-shadow: var(--shadow-md);
  z-index: 3;
  border: 4px solid var(--color-white);
}

.story__img-main img,
.story__img-secondary img,
.story__img-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__editorial-content {
  padding-right: 2rem;
}

.story__editorial-headline {
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.1;
  font-weight: var(--font-black);
}

.story__editorial-lead {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--color-enterprise-blue);
}

.story__editorial-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-gray);
}

@media (max-width: 1024px) {
  .story__editorial-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .story__editorial-images {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .story {
    padding: var(--space-20) 0;
  }
  .story__editorial-images {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    background-color: var(--color-cool-gray);
  }
  .story__stage[data-index="1"]::before { background-image: url('/images/real-estate/commercial-real-estate-02.jpg'); }
  .story__stage[data-index="2"]::before { background-image: url('/images/business/business-meeting-01.jpg'); }
  .story__stage[data-index="3"]::before { background-image: url('/images/finance/private-capital-02.jpg'); }
  .story__stage[data-index="4"]::before { background-image: url('/images/finance/private-capital-01.jpg'); }
  .story__stage[data-index="5"]::before { background-image: url('/images/real-estate/real-estate-property-01.jpg'); }
  .story__stage[data-index="6"]::before { background-image: url('/images/business/business-meeting-02.jpg'); }
}
