/* ========================================
   content01.css - 4. 학습자 수 1위 그래프 섹션
   ======================================== */

.content01 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content01__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content01__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 60px 16px 40px;
}

.content01__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* 타이틀 */
.content01__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.content01__title-sub {
  font-family: var(--font-paperlogy);
  font-weight: 200;
  font-size: 18px;
  color: #fff;
  line-height: normal;
}

.content01__title-main {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 26px;
  background-image: linear-gradient(93deg, #e9dacb 25%, #ac7037 30%, #d5b79b 36%, #fff 82%, #fefec2 91%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 그래프 영역 */
.content01__graph-area {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.content01__graph {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 626px;
}

.content01__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

/* 개별 바 */
.content01__bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 60px;
}

.content01__bar-label {
  font-family: var(--font-paperlogy);
  font-weight: 500;
  font-size: 11px;
  color: #a6a6a6;
  text-align: center;
  width: 100%;
}

.content01__bar {
  width: 100%;
  background: linear-gradient(to right, #3f5a5b, #82a490);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 4px;
}

.content01__bar--y { height: 50px; }
.content01__bar--w { height: 74px; }
.content01__bar--s { height: 98px; }

.content01__bar--baeoom {
  height: 122px;
  background: var(--color-primary-light);
}

.content01__bar-value {
  font-family: var(--font-paperlogy);
  font-weight: 500;
  font-size: 12px;
  color: #000;
  text-align: center;
}

/* 1위 레이블 */
.content01__rank {
  text-align: center;
  font-family: var(--font-paperlogy);
  font-weight: 500;
}

.content01__rank-num {
  font-size: 14px;
  color: var(--color-primary-light);
  line-height: normal;
}

.content01__rank-name {
  font-size: 18px;
  color: var(--color-primary-light);
  line-height: normal;
}

/* 출처 */
.content01__source {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 9px;
  color: #6c738e;
  text-align: center;
  letter-spacing: -0.36px;
  line-height: 20px;
}

/* 우측 빈 공간 (PC 정렬용) */
.content01__spacer {
  display: none;
}

/* --- PC (1280px ~) --- */
@media (min-width: 1280px) {
  .content01__inner {
    min-height: 640px;
    padding: 120px 0 60px;
  }

  .content01__content {
    gap: 30px;
  }

  .content01__title-sub {
    font-size: 26px;
  }

  .content01__title-main {
    font-size: 46px;
  }

  .content01__graph-area {
    gap: 10px;
    padding: 10px;
  }

  .content01__bars {
    gap: 62px;
  }

  .content01__bar-item {
    gap: 11px;
    width: 110px;
  }

  .content01__bar-label {
    font-size: 18px;
  }

  .content01__bar {
    padding: 16px 21px;
  }

  .content01__bar--y { height: 84px; }
  .content01__bar--w { height: 124px; }
  .content01__bar--s { height: 165px; }
  .content01__bar--baeoom { height: 205px; }

  .content01__bar-value {
    font-size: 22px;
  }

  .content01__rank-num {
    font-size: 22px;
  }

  .content01__rank-name {
    font-size: 32px;
  }

  .content01__bar-item--baeoom {
    gap: 12px;
  }

  .content01__source {
    font-size: 12px;
    line-height: 34px;
  }

  .content01__spacer {
    display: block;
    width: 524px;
    height: 10px;
    flex-shrink: 0;
  }
}
