/* ==========================================================================
   지속가능경영 > ESG 보고서 (Figma 덕일산업_디자인_1023, node 1:1175)
   Hero: .sp-hero + .sp-stage--static (sp-common.css)
   Body: full-bleed report section (1:1233)
   ========================================================================== */

/* Stage box: same as 100% auto at desktop (box is shorter than the scaled photo),
   but keeps the photo filling the box on narrow screens instead of showing navy below it. */
.report-page .sp-stage::before { background-size: cover; }

.repo-report {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0b1a10;
}
.report-page .repo-report.repo-report {
  /* style.css: section { padding: 100px 0 } / 80px at small widths */
  padding: 0;
}
/* style.css: section:not(...) > * { max-width: 1440px; margin: 0 auto; padding: 0 40px } */
.report-page .repo-report > .repo-bg.repo-bg {
  max-width: none;
  margin: 0;
  padding: 0;
}
.report-page .repo-report > .repo-inner.repo-inner {
  max-width: none;
  margin: 0;
  padding: var(--repo-pad);
}
.repo-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.repo-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.repo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.repo-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 3.125vw, 60px);
  min-height: clamp(560px, 48.958vw, 940px);
  --repo-pad: clamp(64px, 8.333vw, 160px) clamp(16px, 9.115vw, 175px) clamp(56px, 7.8125vw, 150px) clamp(16px, 8.333vw, 160px);
}

.repo-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.repo-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.repo-title {
  font-weight: 600;
  font-size: clamp(30px, 2.917vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: #fff;
  word-break: keep-all;
}
.repo-desc {
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: #fff;
  word-break: keep-all;
}

.repo-cards {
  display: flex;
  gap: 20px;
  align-self: flex-end;
  list-style: none;
  flex-shrink: 0;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: clamp(240px, 15.625vw, 300px);
  padding: clamp(28px, 2.083vw, 40px) clamp(24px, 2.083vw, 40px) clamp(24px, 1.5625vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.repo-card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.repo-card-year {
  font-family: var(--sp-font-en);
  font-weight: 600;
  font-size: clamp(32px, 2.083vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.repo-card-name {
  font-weight: 500;
  font-size: clamp(16px, 1.042vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.repo-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px clamp(16px, 1.5625vw, 30px);
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--sp-navy);
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.repo-card-btn img { width: 24px; height: 24px; flex-shrink: 0; }
.repo-card-btn:hover { background: #eef2fa; color: var(--sp-navy); }
.repo-card-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 1280px) {
  .repo-inner {
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
  }
  .repo-cards { align-self: flex-start; }
}
@media (max-width: 768px) {
  .repo-inner { min-height: 0; }
  .repo-desc br { display: none; }
}
@media (max-width: 600px) {
  .repo-cards {
    flex-direction: column;
    align-self: stretch;
    gap: 12px;
  }
  .repo-card { width: 100%; }
  .repo-title br { display: none; }
}
