/* ================== 초기화 ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
}

/* body는 padding 제거 */
body {
  display: flex;
  flex-direction: column;
}
header#ppl-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;

  z-index: 1000;

  width: 100%;
  max-width: 1820px;
  padding: 16px;

  background: #fff;
  border: 2px solid #000;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* 제목/설명 */
header h1 {
  font-size: 2rem;
  margin-bottom: 6px;
}

header p {
  text-align: right;
  font-size: 16px; /* 약 15px */
  font-weight: bold;   /* 글씨 두껍게 */
  margin-bottom: 12px;
}

/* nav */
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

header nav a {
  font-weight: bold;
  text-decoration: none;
  color: #000;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

header nav a:hover {
  background: #9f007734;
  color: #fff;
}

/* ================== 모바일 ================== */
@media (max-width: 768px) {
  header nav {
    justify-content: flex-start;
    gap: 10px;
  }

  header nav a {
    padding: 4px 8px;
    font-size: 0.85rem;
  }
}
@media(max-width:768px){

  header h1{
    font-size:18px;
    line-height:1.4;

    text-align:left;

    word-break:keep-all;

    margin-bottom:10px;
  }

}
@media(max-width:768px){

  header p{
    font-size:13px;
    line-height:1.5;

    text-align:left;

    margin-bottom:8px;
  }

}

.strength-header {
  text-align: center;
  margin-bottom: 40px;
}
.strength-box {
  border: 2px solid #000;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
}
.titlesub{
  font-size:24px;
  font-weight:700;
  text-align:left;
  border-bottom: 2px solid #000;
}

.sub-title{
  font-size:18px;
  font-weight:400;
  color:#dd0bc1;
  text-align: left;
}

@media(max-width:768px){

  .titlesub{
    font-size:24px;
    text-align: left;
  }

  .sub-title{
    font-size:14px; text-align: left;
  }

}
/* ================== MAIN ================== */
main {
  width: 100%;
  max-width: 1820px; /* 🔥 1400 + 400 + 여백 */
  margin: 0 auto;

  /* header 높이 고려 */
  padding: 500px 10px 20px;

  box-sizing: border-box;
}
/* ================== 모바일 ================== */
@media (max-width: 768px) {

  main {
    padding-top: 300px; /* ← 모바일에서 더 내리기 */
  }
}


/* ================== 미디어 ================== */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ================== CONTACT ================== */
#contact {
  padding: 0;
  margin: 0;
}



/* ================== 슬라이더 ================== */
.slider-wrapper {
  max-width: 1400px;
  margin: 50px auto;
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}

figure {
  min-width: 320px;
  border: 2px solid #000;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}

figure.latest {
  animation: glow 1.5s infinite;
}

@keyframes glow {
  50% { box-shadow: 0 0 20px rgba(0,0,0,.4); }
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

figcaption {
  padding: 12px;
}

.card-btns button {
  margin: 6px;
  padding: 6px 12px;
  border: 1.5px solid #000;
  background: none;
  cursor: pointer;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #000;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}

.left { left: 10px; }
.right { right: 10px; }



html{
  scroll-behavior:smooth;
}

/* 헤더 높이만큼 보정 */

section[id],
article[id],
div[id]{
  scroll-margin-top:400px;
}

/* 모바일 */

@media(max-width:768px){

  section[id],
  article[id],
  div[id]{
    scroll-margin-top:280px;
  }

}

/* ================== 리뷰 카드 ================== */
#review-board{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  width:100%;
}

.review-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 3px 8px rgba(0,0,0,0.1);
  display:flex;
  flex-direction:column;
  cursor:pointer;
  transition:0.25s;
  border:2px solid transparent;
}

.review-card:hover{
  transform:translateY(-5px);
  border-color:red;
}

.review-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.review-card p{
  margin:8px 5px;
  word-break:break-word;
}


.review-date{
  color:#999;
  font-size:12px;
  margin-top:6px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:0 12px;
}

.review-date span:first-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.review-detail{
  color:#000;
  font-weight:900;
  cursor:pointer;
  flex-shrink:0;
  white-space:nowrap;
}

/* ===== PC (5개) ===== */
@media(min-width:1400px){
  .review-card{
    flex:0 1 calc((100% - 60px)/5);
    max-width:calc((100% - 60px)/5);
  }
}


/* ===== 1200px 이하 = 무조건 1개 ===== */
@media(max-width:1199px){

  #review-board{
    flex-wrap:nowrap;
    overflow:hidden;
  }

  .review-card{
    display:none;
    flex:0 0 100%;
    max-width:100%;
  }

  .review-card:first-child{
    display:flex;
  }

}

















/* ================== 리뷰 모달 ================== */
/* 모달 기본 스타일 */
#review-modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  justify-content:center;
  align-items:center;
  z-index:2000;
  overflow:auto;
  padding:20px;
  box-sizing:border-box;
}

#review-modal .modal-content{
  background:#fff;
  padding:20px;
  border-radius:10px;
  max-width:500px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  position:relative;
  cursor:move; /* 드래그 가능 표시 */
}

#review-modal img{
  width:100%;
  max-height:320px;
  object-fit:cover;
  margin-bottom:10px;
}

#close-modal{
  position:absolute;
  top:10px;
  right:12px;
  font-size:20px;
  cursor:pointer;
}

#modal-review{
  white-space:pre-wrap;
}

#modal-date{
  color:#666;
  font-size:12px;
  margin-top:6px;
}

































.naeil-card {
  border: 2px solid #000;
  border-radius: 16px;
  padding: 32px;

  margin: 40px auto;
  line-height: 1.8;
  color: #000;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.naeil-header {
  text-align: center;
  margin-bottom: 40px;
}

.title {
  font-size: 28px;
  font-weight: 800;
}

.subtitle {
  font-size: 16px;
  margin-top: 8px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.desc {
  font-size: 16px;
  margin-bottom: 20px;
}

.list {
  padding-left: 18px;
}

.list li {
  margin-bottom: 6px;
}

.step-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 2px solid #222;
  border-radius: 14px;
  margin-bottom: 20px;
}

.step-number {
  min-width: 90px;
  height: 90px;
  background: #222;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.path {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
}

.warning-box {
  margin-top: 40px;
  padding: 20px;
  border: 2px solid #b00020;
  border-radius: 14px;
}

.warning-title {
  font-size: 18px;
  font-weight: 700;
  color: #b00020;
  margin-bottom: 8px;
}

.warning-list {
  padding-left: 18px;
}




/* ===============================
   태블릿 이하 (1024px)
================================ */
@media (max-width: 1024px) {
  .naeil-card {
    padding: 24px;
  }

  .title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .step-number {
    min-width: 72px;
    height: 72px;
    font-size: 14px;
  }
}

/* ===============================
   모바일 (768px 이하)
================================ */
@media (max-width: 768px) {
  .naeil-card {
    padding: 20px 16px;
    margin: 20px auto;
  }

  .title {
    font-size: 22px;
  }

  .subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 18px;
    margin-top: 32px;
  }

  .desc {
    font-size: 15px;
  }

  .step-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .step-number {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 8px 0;
    text-align: center;
  }

  .step-title {
    font-size: 16px;
  }

  .path {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ===============================
   소형 모바일 (480px 이하)
================================ */
@media (max-width: 480px) {
  .title {
    font-size: 20px;
  }

  .section-title {
    font-size: 17px;
  }

  .step-number {
    font-size: 13px;
  }

  .warning-box {
    padding: 16px;
  }

  .warning-title {
    font-size: 16px;
  }

  .warning-list li {
    font-size: 14px;
  }
}






.academy-strength {
  width: 100%;           /* 부모 너비 100% */
  margin: 0;             /* 좌우 마진 제거 */
  padding: 0px;         /* 필요시 조정 가능 */
  box-sizing: border-box;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}




.feature-card {
  border: 2px solid #222;
  border-radius: 14px;
  padding: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.7;
}

/* 반응형 */
@media (max-width: 768px) {
  .academy-strength {
    padding: 20px 16px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-desc {
    font-size: 14px;
  }
}




.instructor-intro {
  border: 2px solid #000;
  border-radius: 16px;
  padding: 32px;

  margin: 40px auto;
  line-height: 1.7;
  color: #000;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.instructor-header {
  text-align: center;
  margin-bottom: 36px;
}




/* 기본 (PC) */
#ppl {
  word-break: keep-all;
}

/* 태블릿 이하 */
@media (max-width: 1024px) {
  #ppl {
    padding: 28px;
  }

  #ppl p:first-of-type {
    font-size: 22px !important;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  #ppl {
    padding: 22px;
  }

  #ppl p:first-of-type {
    font-size: 20px !important;
    line-height: 1.4;
  }

  #ppl p:nth-of-type(2) {
    font-size: 15px !important;
    line-height: 1.7;
  }

  /* 서명 위치 고정 해제 → 자연스럽게 아래로 */
  #ppl p:last-of-type {
    position: static !important;
    margin-top: 24px;
    text-align: right;
  }
}

/* 초소형 모바일 */
@media (max-width: 480px) {
  #ppl {
    padding: 18px;
  }

  #ppl p:first-of-type {
    font-size: 18px !important;
  }
}


























/* ==================== 제목 ==================== */
.training-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

/* ==================== 박스 ==================== */
.simple-box {
  border: 1.5px solid #000;
  border-radius: 14px;
  padding: 20px;
  background-color: #fff;
  margin-bottom: 20px;
}

/* ==================== 상단 헤더 ==================== */
.training-header {
  display: flex;
  align-items: center;      
  gap: 12px;                
  flex-wrap: wrap;          
  margin-bottom: 20px;      
  justify-content: left;  
  text-align: left;
}

.training-header .course-title {
  border: 2px solid #FF00FF;  /* 초기 테두리 색상 */
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 24px;
  color: #000000;             /* 초기 글씨 색상 */
  font-weight: 400;            /* 기본 글꼴 굵기 */
  text-shadow: none;          /* 선명하게 */
  animation: fontColorPulse 4s linear infinite;
  transition: all 0.3s ease;
}

/* 호버 시 살짝 확대 */
.training-header .course-title:hover {
  transform: scale(1.05);
}


/* h4 기본 스타일 */
.training-header h4 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  flex: 1 1 auto;           
  min-width: 150px;         
}

/* 버튼/상태 */
.training-header strong,
.training-header a {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 2px 8px;
  text-decoration: none;
  color: #000;
  font-size: 24px;
  flex: 0 1 auto;           
  min-width: 80px;           
}

/* ==================== 하단 항목 grid ==================== */
.training-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
  font-size: 16px;
}

.training-info-grid > div {
  display: flex;
  gap: 8px;
  line-height: 1.6;
  flex-wrap: wrap;
}

.training-info-grid strong {
  min-width: 90px;
  font-weight: 600;
}

.training-info-grid span {
  font-size: 15px;
  word-break: break-word;
}

/* ==================== 반응형 ==================== */
@media (max-width: 1024px) {
  .training-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .training-info-grid {
    grid-template-columns: 1fr;
  }

  .training-info-grid > div {
    white-space: normal;
  }

  .training-header {
    justify-content: flex-start;  
  }

  .training-header h4 {
    font-size: 18px;              
  }

  .training-header strong,
  .training-header a {
    font-size: 16px;              
  }
}

/* 글씨 색상 + 굵기 + 테두리 색상 애니메이션 */
@keyframes fontColorPulse {
  0%, 100% {
    color: #FF00FF;
    font-weight: 400;       /* 기본 굵기 */
    border-color: #FF00FF;
  }
  12.5% {
    color: #FF00FF;
    font-weight: 700;       /* 진하게 */
    border-color: #FF00FF;
  }
  25% {
    color: #FF0000;
    font-weight: 400;       /* 기본 굵기 */
    border-color: #FF0000;
  }
  37.5% {
    color: #FF0000;
    font-weight: 700;       /* 진하게 */
    border-color: #FF0000;
  }
  50% {
    color: #0000FF;
    font-weight: 400;
    border-color: #0000FF;
  }
  62.5% {
    color: #0000FF;
    font-weight: 700;
    border-color: #0000FF;
  }
  75% {
    color: #00FF00;
    font-weight: 400;
    border-color: #00FF00;
  }
  87.5% {
    color: #00FF00;
    font-weight: 700;
    border-color: #00FF00;
  }
}





.training-title{
    text-align:left;
    margin-bottom:20px;
}


.strength-header .title,
.strength-header .section-title{
    text-align:left;
}



.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;  /* 왼쪽-중앙-오른쪽 배치 */
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 12px;
  width: 100%;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  gap: 10px;
  flex-wrap: wrap;                 /* 모바일에서 세로 배치 가능 */
   margin-top: 16px;
}

/* 상담전화 */
.phone-link {
  flex-shrink: 0;                  /* 고정폭 */
  text-decoration: none;
  color: #000;        
  font-weight: normal; 
  font-size: 16px;     
  transition: all 0.2s ease; 
}
.phone-link:hover {
  color: #3326a7;      
  font-weight: bold;    
  font-size: 20px;      
}

/* 신청방법 텍스트 */
.how-to-apply {
  flex: 1;                         /* 남은 공간 차지 */
  text-align: center;               /* 중앙 정렬 */
  font-weight: bold;
  font-size: 18px;
  color: #000;
  word-break: break-word;           /* 글자 길어도 줄바꿈 */
}

/* 신청하기 버튼 */
.apply-btn {
  flex-shrink: 0;                   /* 고정폭 */
  border: 1px solid #000;
  border-radius: 12px;
  padding: 10px 40px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.apply-btn:hover {
  border-color: red;
  background-color: #f0f0f0;
}

/* ================= 반응형 ================= */
@media (max-width: 600px) {
  .contact-row {
    flex-direction: column;          /* 세로 배치 */
    align-items: stretch;            /* 폭 전체 사용 */
  }

  .how-to-apply {
    text-align: left;
    margin: 6px 0;
    font-size: 16px;
  }

  .apply-btn {
    width: 100%;                     /* 버튼 전체 폭 */
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
    margin-top: 8px;
  }

  .phone-link {
    font-size: 16px;
  }
}










/* 버튼 그룹 */
.button-group {
  display: flex;
  justify-content: space-between; /* 🔥 좌·우 끝 */
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  width: 100%;
}

/* 모든 버튼 공통 */
.button-group a {
  flex: 1 1 260px;          /* 반응형 기준 */
  max-width: 300px;
  width: 100%;

  text-align: center;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #000;
  color: #020202;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;

  transition: all 0.2s ease;
}

/* hover */
.button-group a:hover {
  border-color: #ff01c8;
  transform: scale(1.04);
}

/* 카카오 버튼 */
.kakao-chat-btn:hover {
  color: #550369;
}

/* 전화 아이콘 */
.call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
  margin-right: 6px;

  background: #ffe5e5;
  color: #b00000;
  border-radius: 50%;

  font-size: 18px;
  font-weight: 900;

  transition: all 0.2s ease;
}

/* 전화 버튼 hover 시 아이콘 강조 */
.contact-btn:hover .call-icon {
  background: #b00000;
  color: #ffffff;
}

/* 📱 모바일 반응형 */
@media (max-width: 520px) {
  .button-group {
    justify-content: center;
  }

  .button-group a {
    max-width: 100%;
  }
}








/* ================== 버튼 ================== */
#load-more {
  margin: 20px auto;
  display: block;

  /* 🔹 반응형 버튼 폭 */
  width: 100%;
  max-width: 300px;

  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #000;      /* 기본 테두리 */
  border-radius: 8px;
  color: #000;                /* 글씨색 */

  cursor: pointer;
  transition: border-color 0.3s ease;
}

/* hover 효과 */
#load-more:hover {
  border-color: #f0242e;
}


/* 부모 컨테이너 */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* 공통 버튼 */
.share-btn {
  flex: 1 1 260px;      /* 🔥 반응형 핵심 */
  max-width: 300px;

  padding: 10px 14px;
  border: none;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;
  color: #fff;

  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* hover 효과 */
.share-btn:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* 개별 버튼 색상 */
.share-btn.naver {
  background: #03C75A;
}

.share-btn.band {
  background: #512DA8;
}

.share-btn.sms {
  background: #370cf8;
}
.share-btn.kakao
 {
  background: #462202;
}
/* 모바일에서 hover 제거 (선택) */
@media (hover: none) {
  .share-btn:hover {
    transform: none;
    filter: none;
  }
}













/* ================= 유튜브 리스트 ================= */

#youtubeList{
  width:100%;
}

/* 카드 */
.youtube-card{
  display:block;

  width:100%;
  box-sizing:border-box;

  margin-bottom:14px;

  border:1px solid #ddd;
  border-radius:12px;

  overflow:hidden;

  background:#fff;

  text-decoration:none;
  color:#111;

  transition:0.2s;
}

/* hover */
.youtube-card:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 14px rgba(0,0,0,0.12);
}

/* 썸네일 */
.youtube-card img{
  width:100%;
  height:auto;

  display:block;
}

/* 텍스트 */
.youtube-info{
  padding:10px;
}

.youtube-title{
  display:block;

  font-size:14px;
  font-weight:600;
  line-height:1.5;
}

/* 버튼 */
.load-more-wrap{
  margin-top:12px;
}

#loadMoreBtn{
  width:100%;

  padding:12px;

  border:none;
  border-radius:10px;

  background:#111;
  color:#fff;

  font-size:15px;
  cursor:pointer;
}










/* ===== PC ===== */
#hubup{
  width:100%;
  padding:0px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}

.hub-card{
  background:white;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* ⭐ 이미지 영역 */
.hub-img{
  position:relative;
  width:100%;
  height:240px;   /* ⭐ 핵심 */
}

.hub-img img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ⭐ 이미지 안 글 */
.hub-title{
  position:absolute;
  left:10px;
  right:10px;
  bottom:12px;
  color:white;
  font-size:18px;
  font-weight:bold;
  text-shadow:0 3px 8px rgba(0,0,0,0.8);
}

/* ⭐⭐⭐ 모바일 */
@media(max-width:768px){

  #hubup{
    padding:12px;
    gap:12px;
    grid-template-columns:1fr;
  }

  .hub-card{
    display:none;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
  }

  .hub-card:first-child{
    display:block;
    width:100%;
  }

  .hub-img{
    height:320px;   /* ⭐ 모바일 크게 */
  }

}













/* ================== footer ================== */
footer {
  width: 100%;
  max-width: 1800px;
  margin: 24px auto 20px;
  padding: 14px 16px;
  border: 2px solid #000;
  border-radius: 14px;
  background: transparent;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000;
}

@media(max-width:768px){
  footer {
    font-size: 0.8rem;
    padding: 12px;
    line-height: 1.5;
  }
}





#modal-img{
transition:0.3s;
}




















@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  #review-board {
    grid-template-columns: 1fr;
  }
}


h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 15px;
  padding-bottom: 6px;
  border-bottom: 2px solid #000;
}

p {
  margin: 8px 5px;  
}
.main-left p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.button-group a {
  transition: 0.2s;
}

.button-group a:hover {
  transform: scale(1.05);
}
#sidebar-reviews a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}






.banner-wrap{
  display:flex;
  gap:10px;
  width:100%;
}

.banner-wrap a{
  flex:1;
  display:block;
}

.banner-wrap img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
}

@media(max-width:768px){
  .banner-wrap{
    flex-wrap:wrap;
  }

  .banner-wrap a{
    width:48%;
    flex:none;
  }
}





.partner-item a{
  text-decoration:none;
  color:#111;
}

.partner-line{
  display:flex;
  align-items:center;
  gap:12px;

  margin:0;
}

.partner-line img{
  width:70px;
  height:70px;

  border-radius:50%;
  object-fit:cover;

  border:2px solid #eee;
}

.partner-line span{
  font-size:16px;
  font-weight:600;
}






















/* ===== 레이아웃 ===== */
.layout-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1820px;
  margin: 0 auto;

  align-items: flex-start; /* ⭐ 추가 */
}

/* 왼쪽 */
.main-left {
  width: 1400px;
}


/* 오른쪽 */
/* 오른쪽 사이드 전체 박스 */

.sidebar {
  width: 400px;
  position: sticky;
  top: 260px; /* ⭐ 180 → 260 이상 */
  height: fit-content;

  align-self: flex-start; /* ⭐ 추가 */

  border: 2px solid #000;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

/* 위젯 스타일 */
.sidebar .widget {
  border: 1px solid #ddd;
  padding:8px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #fff;
}
/* ================= 반응형 (핵심) ================= */

/* 1200px 이하 → 세로 구조 */
@media (max-width: 1200px) {

  .layout-wrap {
    flex-direction: column;
    gap: 0;
  }

  .main-left {
    width: 100%;
  }

  .sidebar {
    width: 100%;
    position: static;   /* 🔥 sticky 해제 */
    margin-top: 20px;
  }
}/* ================== 제목 (h4) ================== */
.sidebar h4 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  position: relative;
}

/* 포인트 라인만 */
.sidebar h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;   /* 전체 밑줄 */
  height: 2px;
  background: #000;
}
/* ================== 내용 박스 (p) ================== */
.sidebar p {
  border: 2px solid #000;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
  line-height: 1.6;

  transition: 0.2s;
}

/* hover 효과 */
.sidebar p:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
/* ================= 1200px 이하 ================= */
@media (max-width: 1200px) {

  /* 레이아웃 세로 변경 */
  .layout-wrap {
    flex-direction: column;
    gap: 0;
  }

  /* 본문 */
  .main-left {
    width: 100%;
  }

  /* 사이드바 */
  .sidebar {
    width: 100%;
    position: static;   /* 🔥 sticky 해제 (필수) */
    margin-top: 20px;
  }

  /* 위젯 가독성 */
  .sidebar h4 {
    font-size: 16px;
  }

  .sidebar p {
    font-size: 14px;
    padding: 10px;
  }
}







/* ================== h3 제목 ================== */
.sidebar h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  padding-bottom: 10px;
  position: relative;
}

/* 밑줄 */
.sidebar h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
}





/* ================== 후기 리스트 ================== */
#sidebar-reviews {
  border: 2px solid #000;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  background: #fff;
  list-style: none;
}

/* li 간격 */
#sidebar-reviews li {
  margin-bottom: 8px;
}

/* 링크 스타일 */
#sidebar-reviews a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  transition: 0.2s;
}

/* hover 효과 */
#sidebar-reviews a:hover {
  color: #d32f2f;
  font-weight: bold;
}


.academy-strength h2 {
  margin: 30px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #000;
}













.header-seo-article{
  width:100%;
}

/* ================= NAV ================= */

.top-nav{
  width:100%;
  max-width:1820px;

  display:grid;

  /* 🔥 PC 5개 가로 */
  grid-template-columns:repeat(5,1fr);

  gap:10px;

  margin-top:14px;
}

.top-nav a{
  display:flex;
  flex-direction:column;
  align-items:center;

  text-decoration:none;
  color:#000;

  font-size:15px;
  font-weight:bold;

  transition:0.25s;
}

/* ================= 이미지 ================= */

.top-nav img{
  width:100%;

  /* 🔥 정사각 제거 */
  height:180px;

  object-fit:cover;

  border-radius:12px;

  border:1px solid #000;

  display:block;

  transition:0.25s;
}

.top-nav img:hover{
  transform:scale(1.03);
  border-color:#ff00aa;
}

.top-nav span{
  margin-top:8px;
  text-align:center;
}

/* ================= SEO ARTICLE ================= */

.seo-image-article{
  width:100%;
}

.seo-image-desc{
  text-align:center;
  margin-bottom:20px;
}

@media (max-width:900px){

  #ppl-container{
    width:100%;
    max-width:100%;
    padding:0;
    margin:0;
  }

  .top-nav{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:1;

    width:100%;
    padding:0 1px;
    box-sizing:border-box;

    margin:0;
  }

  .top-nav a{
    display:flex;
    flex-direction:column;
    align-items:stretch;

    width:100%;
    margin:0;
    padding:0;

    text-decoration:none;
  }

.top-nav img{
  width:100%;
  height:60px;
  object-fit:cover;
  display:block;

  border:0;
  border-radius:8px;
}
  .top-nav span{
    display:block;
    text-align:center;

    font-size:10px;
    line-height:1.2;

    margin-top:2px;
  }

  /* 모바일 hover 제거 */
  .top-nav img:hover{
    transform:none;
    border-color:transparent;
  }

}




