/* ========================================
   content03.css - 6. 급수별 이수 과목 섹션
   ======================================== */

.content03 {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 80px 16px;
  background-image:
    linear-gradient(0deg, #fcfcfc 72%, #caf4ea 100%),
    linear-gradient(90deg, #f4f5f8, #f4f5f8);
}

.content03__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1190px;
}

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

.content03__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 28px;
  color: #000;
  letter-spacing: -1.38px;
  line-height: 36px;
}

.content03__subtitle {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 12px;
  color: #666;
  letter-spacing: -0.42px;
}

/* 카드 컨테이너 */
.content03__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
}

/* 과목 카드 */
.subject-card {
  position: relative;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  width: 100%;
  max-width: 585px;
  padding: 40px 20px;
  overflow: hidden;
}

.subject-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.subject-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* 등급 뱃지 */
.subject-card__badge {
  background: #fff;
  border: 1px solid #1b995e;
  border-radius: 9999px;
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subject-card__badge-text {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 20px;
  color: #1b995e;
  text-align: center;
}

/* 정보 행 */
.subject-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  font-size: 14px;
  letter-spacing: -0.54px;
}

.subject-card__row {
  display: flex;
  gap: 12px;
  align-items: center;
  line-height: 30px;
}

.subject-card__row--subjects {
  align-items: flex-start;
  line-height: 24px;
}

.subject-card__row--border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.subject-card__label {
  font-family: var(--font-pretendard);
  font-weight: 700;
  color: #1b995e;
  width: 50px;
  flex-shrink: 0;
}

.subject-card__value {
  font-family: var(--font-pretendard);
  font-weight: 500;
  color: #000;
  flex: 1;
}

/* --- 태블릿/PC (768px ~) --- */
@media (min-width: 768px) {
  .content03 {
    padding: 180px 20px;
  }

  .content03__inner {
    gap: 40px;
  }

  .content03__title-wrap {
    gap: 30px;
  }

  .content03__title {
    font-size: 46px;
    line-height: 50px;
  }

  .content03__subtitle {
    font-size: 14px;
  }

  .content03__cards {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .subject-card {
    padding: 70px 50px;
    width: 585px;
  }

  .subject-card__content {
    gap: 30px;
  }

  .subject-card__badge {
    width: 138px;
    height: 54px;
  }

  .subject-card__badge-text {
    font-size: 28px;
  }

  .subject-card__info {
    gap: 11px;
    font-size: 18px;
  }

  .subject-card__row {
    line-height: 34px;
  }

  .subject-card__row--subjects {
    line-height: 28px;
  }

  .subject-card__label {
    width: 61px;
  }
}
