/* --- Case Navigation CTA --- */
.case-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 64px 0 0 0;
}
.case-nav-btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 28px;
  border-radius: 8px;
  background: #f5f5f5;
  text-decoration: none;
  transition: background 0.2s;
}
.case-nav-btn:hover {
  background: #e0e0e0;
}
.case-nav-label {
  font-size: 14px;
  font-weight: bold;
  color: #838383;
  margin-bottom: 6px;
}
.case-nav-title {
  font-size: 18px;
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  color: #2f2f2f;
  font-weight: 500;
}
:root {
  --title: #2f2f2f;
  --body: #838383;
  --body-light: #fafafa;
  --highlight: #5a9ffd;
  --g1: #1b76f3;
  --g2: #92e3a9;
  --g3: #076ef9;
  --g4: #70acff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  background: #ffffff;
  color: var(--title);
}

.case-page {
  width: min(1185px, calc(100% - 40px));
  margin: 80px auto 200px;
}

.hero-banner {
  position: relative;
  min-height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 100%);
  padding: 67px 62px 58px;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/customer/customer_case_knuh_thumb.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55) contrast(1.4) saturate(1.05);
  opacity: 1;
  z-index: 0;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 58, 0.32);
  z-index: 0;
}

.hero-banner > * {
  position: relative;
  z-index: 1;
}

.hero-category {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--highlight);
}

.hero-banner h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--body-light);
}

.hero-author {
  margin: 130px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  color: var(--body-light);
}

.intro-block {
  margin-top: 72px;
  padding-left: 33px;
  border-left: 4px solid var(--title);
}

.intro-block h2 {
  position: relative;
  margin: 0;
  padding-left: 38px;
  font-size: 26px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: 0.64px;
}

.intro-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  background-image: url("https://www.figma.com/api/mcp/asset/a708c984-5930-4c2e-8e3f-b6308f276085");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.intro-block p {
  margin: 24px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--title);
}

.content-block {
  margin-top: 124px;
}

.qa-item h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  color: transparent;
  background: linear-gradient(90deg, var(--g3) 0%, var(--g4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.qa-item h4 {
  margin: 58px 0 26px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.64px;
  color: var(--title);
}

.qa-item p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
}

.highlight {
  color: var(--highlight);
}

.qa-item.second {
  margin-top: 100px;
}

.case-extra {
  margin-top: 86px;
}

.case-extra-item + .case-extra-item {
  margin-top: 58px;
}

.case-extra-item h4 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--title);
}

.case-extra-item p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--body);
}

.case-extra-item p + p {
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .case-page {
    width: calc(100% - 32px);
    margin: 44px auto 90px;
  }

  .hero-banner {
    min-height: 420px;
    padding: 40px 28px;
  }

  .hero-category {
    font-size: 14px;
  }

  .hero-banner h1 {
    font-size: 27px;
    line-height: 1.35;
  }

  .hero-author {
    margin-top: 74px;
    font-size: 16px;
  }

  .intro-block {
    margin-top: 48px;
    padding-left: 18px;
  }

  .intro-block h2 {
    font-size: 21px;
    padding-left: 32px;
  }

  .intro-block h2::before {
    top: 3px;
    width: 19px;
    height: 19px;
  }

  .intro-block p {
    margin-top: 16px;
    font-size: 16px;
  }

  .content-block {
    margin-top: 66px;
  }

  .qa-item h3 {
    font-size: 29px;
    line-height: 1.35;
  }

  .qa-item h4 {
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 19px;
    letter-spacing: 0.2px;
  }

  .qa-item p,
  .case-extra-item p {
    font-size: 14px;
  }

  .case-extra-item h4 {
    margin-bottom: 12px;
    font-size: 19px;
  }

  .case-extra {
    margin-top: 52px;
  }

  .case-extra-item + .case-extra-item {
    margin-top: 36px;
  }

  .qa-item.second {
    margin-top: 52px;
  }
}
