@font-face {
    font-family: 'HsBombaram30';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.1/HSBombaram3_Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'HsBombaram30';
    src: url('https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.1/HSBombaram3_Regular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
.success-hero.hero {
  background: no-repeat left/cover url("../img/placeholders/success_hero_bg.jpg");
}

.interview-video-section {
  background-color: #131313;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}

.interview-video-section .sub-title {
  color: #d84141;
  margin-bottom: 0.6rem;
}

.interview-video-section .container h2,
.interview-video-section .section-description {
  color: #fff;
  margin-bottom: 1.5rem;
}



.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 유지 */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.video-container video { /* iframe 대신 video 태그로 변경 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비디오가 컨테이너를 채우도록 */
}

.success-stats-section {
  padding: 5rem 2rem;
  background-color: #F5F5F5;
  text-align: center;

}


.success-stats-section .stats-section-header-wrap {
  margin-bottom: 3rem;
}

.title-group h2,.count{/* 1. 그라데이션 방향과 색상 정의 (여기서는 왼쪽에서 오른쪽으로 빨간색에서 파란색 그라데이션) */
  background-image: linear-gradient(30deg, #FFD700, #DAA520); /* 시작 색상, 끝 색상 */
  /* 또는 to right, red, blue; */
  /* 또는 45deg, #FF6B6B, #4ECDC4; (각도 사용) */

  /* 2. 그라데이션 배경을 텍스트 모양으로 자르기 */
  -webkit-background-clip: text;
  background-clip: text; /* 표준 속성도 함께 작성 (향후 표준화될 가능성 대비) */

  /* 3. 텍스트 자체의 색상을 투명하게 만들어 아래 그라데이션이 보이도록 함 */
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback 또는 일부 브라우저 지원 */

  /* (선택 사항) 만약 폰트 색이 적용되지 않는 브라우저를 위한 대체 색상 */
  /* color: #ff7e5f; */
font-family: 'HsBombaram30';
text-shadow:-1px -1px -1px rgba(0, 0, 0, 0.8);}


.stats-section-header-wrap_m {
  display: none;
}

.success-stats-section span{font-size: 0.6em;}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 3rem 2rem;
  justify-content: center;
  align-items: flex-start;
}

.stat-card {
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  transition: none;
  flex: 0 1 calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats-grid .stat-card:nth-child(n+4) {
  flex-basis: calc(50% - 2rem);
  margin-top: 2rem;
}

.school-logo-large {
  width: auto;
  height: 150px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.count {
  color: #d84141;
  font-size: 1.5em;
  font-weight: 800;
  margin-bottom: 0.5rem;
}



.note {
  color: #777;
  font-weight: 500;
  margin-top: 0.3rem;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 991px) {
  .interview-video-section,
  .success-stats-section {
    padding: 4rem 1.5rem;
  }
  .video-container {
    max-width: 700px;
  }
  .stats-grid {
    gap: 2rem 1.5rem;
  }
  .stat-card {
    flex: 0 1 calc(33.333% - 1.5rem);
  }
  .stat-card:nth-child(n+4) {
    flex-basis: calc(50% - 1.5rem);
    margin-top: 2rem;
  }
  .school-logo-large {
    width: auto;
    height: 130px;
  }
}

@media (max-width: 767px) {
  .interview-video-section,
  .success-stats-section {
    padding: 3rem 1rem;
  }
  .video-container {
  max-width: none;
}


  .success-stats-section .stats-section-header-wrap {
    display: none;
  }

  .stats-section-header-wrap_m {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    -webkit-overflow-scrolling: touch;
  }

  .stats-section-header-wrap_m .title-group {
    display: block;
    flex: 1 1 auto;
    min-width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;

  }

  .stats-section-header-wrap_m .title-group .sub-title {
    color: #d84141;
    margin-bottom: 0.2rem;
  }
  .stats-section-header-wrap_m .title-group h2 {
    color: #111;
    margin-bottom: 0.5rem;
    white-space: normal;
    word-break: keep-all;

  }
  .stats-section-header-wrap_m .title-group p {
    color: #555;
    margin-bottom: 0;
    white-space: normal;
  }

  .stats-section-header-wrap_m .school-list {
    display: flex;
    flex-direction: column; /* school-item들을 세로로 나열 */
    flex: 1 1 auto;
    gap: 3rem;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 0;
    -webkit-overflow-scrolling: auto;

  }

  .stats-section-header-wrap_m .school-item {
    display: flex;
    flex-direction: row; /* 로고와 텍스트 컨테이너를 가로로 나열 */
    justify-content: left;
    align-items: center; /* 로고와 텍스트 컨테이너 높이 중앙 정렬 */
    flex-shrink: 0;
    gap: 1rem;
  }

  .stats-section-header-wrap_m .school-logo {
    width: auto;
    height: 85px;
    margin-bottom: 0;
  }

  /* school-name 내부에 합격자 수와 학교 이름을 세로로 배치 */
  .stats-section-header-wrap_m .school-name {
    display: flex;
    flex-direction: column; /* 합격자 수와 학교명 세로로 배치 */
    justify-content: center;
    align-items: flex-start; /* 텍스트는 좌측 정렬 */
    white-space: normal; /* 줄바꿈 허용 */
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.3; /* 줄 간격 조정 */
  }

  /* .count 스타일을 .school-name 내부 텍스트에 맞게 조정 (html 변경 없이 텍스트 내용의 변화로만 처리) */
  .stats-section-header-wrap_m .school-name span {
    font-size: 1.5em; /* 합격자 수 폰트 크기 */
    font-weight: 900;
    color: #d84141;
    display: block; /* 줄바꿈 처리 */
  }

  .stats-grid {
    display: none;
  }
}
