/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 📦 가로 깨짐 방지 + 기준점 설정용 기본 세팅
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/

  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }



/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 📦 메인 css
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/



/* ✅ 기본 구조: 여백 + 정렬 */
.svg-spacing {
  display: block;
  width: 1000px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-top: 0px;
  padding-bottom: 0px;
  vertical-align: middle;
}

/* ✅ 사이즈 클래스 (PC 기준 max-width) */
.svg-100 { max-width: 100px; }
.svg-200 { max-width: 200px; }
.svg-300 { max-width: 300px; }
.svg-400 { max-width: 400px; }
.svg-500 { max-width: 500px; }
.svg-600 { max-width: 600px; }
.svg-700 { max-width: 700px; }
.svg-800 { max-width: 800px; }
.svg-900 { max-width: 900px; }
.svg-1000 { max-width: 1000px; }

/* ✅ 모바일 대응 (768px 이하) */
@media (max-width: 768px) {
  .svg-spacing {
    padding-top: 0px;
    padding-bottom: 0px;
  }
 .svg-200 { max-width: 120px; }
  .svg-300 { max-width: 160px; }
  .svg-400 { max-width: 200px; }
  .svg-500 { max-width: 240px; }
  .svg-600 { max-width: 280px; }
  .svg-700 { max-width: 300px; }
  .svg-800 { max-width: 320px; }
  .svg-900 { max-width: 340px; }
  .svg-1000 { max-width: 360px; }

}

/* img, svg {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
} */

.v-margin0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.v-padding0 { padding-top: 0 !important; padding-bottom: 0 !important; }



/* ✅ 기본 구조: 여백 + 정렬 (비디오 전용) */
.video-spacing {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-top: 0px;
  padding-bottom: 0px;
  vertical-align: middle;

  /* ✅ PC에서 중앙정렬 + 비율 유지 */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #000; /* 로딩 중에도 배경 유지 */
}

/* ✅ 사이즈 클래스 (PC 기준 max-width) */
.video-100 { max-width: 100px; }
.video-200 { max-width: 200px; }
.video-300 { max-width: 300px; }
.video-400 { max-width: 400px; }
.video-500 { max-width: 500px; }
.video-600 { max-width: 600px; }
.video-700 { max-width: 700px; }
.video-800 { max-width: 800px; }
.video-900 { max-width: 900px; }
.video-1000 { max-width: 1000px; }

/* ✅ 모바일 대응 */
@media (max-width: 768px) {
  .video-spacing {
    padding-top: 0px;
    padding-bottom: 0px;
    aspect-ratio: auto; /* 모바일은 기본 비율 유지 */
  }
  .video-200 { max-width: 120px; }
  .video-300 { max-width: 160px; }
  .video-400 { max-width: 200px; }
  .video-500 { max-width: 240px; }
  .video-600 { max-width: 280px; }
  .video-700 { max-width: 300px; }
  .video-800 { max-width: 320px; }
  .video-900 { max-width: 340px; }
  .video-1000 { max-width: 360px; }
}

/* ✅ PC에서만 재생 버튼 중앙 정렬 */
@media (min-width: 769px) {
  #myVideo::-webkit-media-controls-panel {
    justify-content: center !important;
  }

  #myVideo::-webkit-media-controls-play-button {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(4.2) !important; /* ✅ 크기 확대 추가 */
    z-index: 10; /* ✅ 다른 컨트롤 위로 */
  }
}



.아이콘박스 {
  position: relative;
  overflow: visible; /* 상위 잘림 방지 */
  z-index: 5;
}

.박스아이콘_좌측상단 {
  position: absolute;
  top: -80px;
  left: 20px;
  transform: translateX(-50%);
  z-index: 20; /* 너무 높으면 헤더랑 충돌하니까 낮춤 */
  width: auto;
  height: auto;
  pointer-events: none; /* 스크롤 시 간섭 방지 */
}

.박스아이콘_우측상단 {
  position: absolute;
  top: -45px;
  right: -130px;
  transform: translateX(-50%);
  z-index: 10;
  width: auto;
  height: auto;
}


.박스아이콘_중앙상단 {
  position: absolute;
  top: -185px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: auto;
  height: auto;
}


/* ✅ 모바일 기준 위치 조정 */
@media (max-width: 768px) {
  .박스아이콘_좌측상단 {
    top: -37px;    /* 더 내려오게 */
    left: 2px;    /* 약간 안쪽으로 */
  }

  .박스아이콘_우측상단 {
    top: -25px;    /* 더 내려오게 */
    right: -70px;  /* 너무 우측 밀림 방지 */
  }
}

/* ✅ 모바일 전용 위치 조정 */
@media (max-width: 768px) {
  .박스아이콘_중앙상단 {
    top: -100px; /* 필요하면 -80~-100px 사이로 미세조정 가능 */
  }
}



.동그라미1 {
  display: block;
  width: 20px;              /* 지름 */
  height: 20px;
  background-color: #000;    /* 검정 */
  border-radius: 50%;        /* 동그라미 */
  margin: 20px auto;         /* 위아래 여백, 가운데 정렬 */
}

/* 강사사진 */
.강사사진프레임 {
  background-color: transparent;
  border-radius: 50%;
  width: 400px !important;    /* 🔥 크기 강제 */
  height: 400px !important;
  max-width: none !important; /* 🔥 80vw 제한 제거 */
  flex: none !important;      /* 🔥 상위 flex 확장 방지 */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
}

.강사사진 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .강사사진프레임 {
    width: 200px !important;   /* 모바일용 크기 */
    height: 200px !important;  /* 모바일용 크기 */
    max-width: 80vw !important; /* 혹시 화면 넘어가면 80%까지만 */
  }
}





/* 밑줄 강조 도형 전용 */
[data-도형_타입="밑줄강조"] {
  width: 100%;
  height: var(--underline-weight, 2px);
  background-color: currentColor;
  display: inline-block;
  vertical-align: baseline;
  margin-bottom: 2px;
}

/* 가로선 도형 */
[data-도형_타입="가로선"] {
  display: block;
  width: var(--길이, 90%);
  height: var(--크기, 2px);
  background-color: var(--색상, #000);
  margin: var(--간격, 8px) auto;
  border-radius: var(--라운드, 0);
  opacity: var(--투명도, 1);
  transition: all 0.3s ease;
}

/* 세로선 도형 */
[data-도형_타입="세로선"] {
  display: block;
  width: var(--크기, 2px);
  height: var(--길이, 90%);
  background-color: var(--색상, #000);
  margin: var(--간격, 8px);
  border-radius: var(--라운드, 0);
  opacity: var(--투명도, 1);
  transition: all 0.3s ease;
 min-height: var(--길이, 90%);
}



/* 이중 화살표 도형 */
[data-도형_타입="이중화살표"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible; /* ✅ 하단 잘림 방지 */
  gap: var(--간격, 4px);
}

[data-도형_타입="이중화살표"] > span {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: var(--크기, 24px) solid transparent;
  border-right: var(--크기, 24px) solid transparent;
  border-top: var(--크기, 24px) solid var(--색상, #ff5c5c);
  transition: all 0.3s ease;
}





/* class1 기본썸박스 css 모음 🟣 */


/* 인라인 강조 텍스트 정렬 */
.텍스트셋 span {
  vertical-align: middle;   /* 줄 위아래 들뜸 방지 */
  line-height: 1.4;         /* div와 비슷한 줄 높이 맞춤 */
}


.기본썸박스 {
  margin-bottom: 0;        /* 하단 간격 제거 */
  text-align: center;
  color: #111;
  line-height: 1.9;
  overflow: visible;
  background: none;

  /* 수정 부분 */
  border: 1px solid transparent; /* 보더 기본 생성 */
  border-radius: inherit;         /* data-라운드 적용 가능하게 */
}

.기본썸박스_상단오목 {
  position: relative;
  overflow: hidden;
  background-color: #222;  /* 필요시 배경색 */
}

.기본썸박스_상단오목::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 180px;
  background-color: white; /* 페이지 배경색과 맞추기 */
  border-bottom-left-radius: 100% 100%;
  border-bottom-right-radius: 100% 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .기본썸박스_상단오목::before {
    top: -15px;       /* 모바일 전용 위치 */
    height: 120px;    /* 모바일 전용 곡선 높이 */
  }
}



.기본썸박스_상단라운드 {
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  overflow: hidden;  /* 파인 부분 잘리게 처리 */
}


.강조박스 {
  display: inline-block;
  padding-top: 0.18em;      /* 상단 패딩 */
  padding-right: 0.1em;     /* 오른쪽 패딩 */
  padding-bottom: 0.01em;    /* 하단 패딩 */
  padding-left: 0.21em;      /* 왼쪽 패딩 */
  
  line-height: 1;
  transform: translateY(1px);   /* 시각적으로 아래 정렬 */
  background-color: transparent;
  border-radius: 4px;
  vertical-align: middle;
}

.내부박스1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 630px;
  height: 200px;  
  margin: 0 auto;
  border-radius: 20px;
   border: 1px solid;
}

@media (min-width: 769px) {
  .내부박스1 .왼쪽 span:first-child {
    display: inline-block;
    margin-bottom: 6px;
  }
}


.내부박스1 .왼쪽 {
  line-height: 1; 
  display: flex;         /* 내부도 flex */
  flex-direction: column;/* 세로 정렬 가능하게 */
  justify-content: center;
  align-items: flex-start;/* 왼쪽 정렬 */
  padding-left: 50px;    /* 왼쪽 여백 */
   gap: 4px;
}

.내부박스1 .오른쪽 {
  line-height: 1;        /* 위아래 여백 제거 */
  display: flex;
  justify-content: center;/* 수평 중앙 */
  align-items: center;    /* 수직 중앙 */
  padding-right: 50px;   /* 오른쪽 여백 */
}

@media (max-width: 768px) {
  .내부박스1 {
    height: auto;                 /* 고정 높이 제거 */
    min-height: 100px;           /* 너무 작아지지 않게 */
    max-width: 90%;
    border-radius: 12px;         /* 덜 둥글게 */
    gap: 2px;
  }

  .내부박스1 .왼쪽 {
    padding-left: 20px;          /* 좌측 여백 축소 */
  }

  .내부박스1 .오른쪽 {
    padding-right: 20px;         /* 우측 여백 축소 */
  }
}




.내부박스2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 630px;
  min-height: 150px;             
  margin: 0 auto;
  
  border: 1px solid;
  padding-top: 50px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  flex-wrap: wrap;                
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.내부박스2 > * {
  flex: 1 1 auto;
  height: auto;
  white-space: normal;
  overflow: visible;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .내부박스2 {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;       /* 🔽 상단 여백 줄임 */
    padding-bottom: 20px;    /* 🔽 하단 여백 줄임 */
    border-radius: 12px;
    max-width: 85%;
    min-height: 110px;
    height: auto;
  }
}



/* 한줄정렬 박스*/
.내부박스3 {
  display: flex;
  flex-direction: column;   /* ✅ 세로 정렬 */
  justify-content: flex-start;
  align-items: flex-start;  /* 좌측 정렬 (필요시 center로 바꿀 수 있음) */
  width: auto; 
  max-width: 650px;
  min-height: 150px;             
  margin: 0 auto;

  border: 1px solid;
  padding-top: 10px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.내부박스3 > * {
  flex: 0 0 auto;           /* ✅ 줄 단위 배치 */
  width: 100%;              /* 한 줄 전체 차지 */
  height: auto;
  white-space: normal;
  overflow: visible;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .내부박스3 {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100% !important;         /* ✅ 폭 강제 고정 */
    max-width: 90% !important;      /* ✅ 범위 제한 */
    min-height: 110px;
    height: auto;
  }
}



.내부박스_최소높이H5 {
  display: flex;
  flex-direction: column;   /* ✅ 세로 정렬 */
  justify-content: flex-start;
  align-items: flex-start;  /* 좌측 정렬 (필요시 center로 바꿀 수 있음) */
  width: auto; 
  max-width: 650px;
  min-height: 80px;             
  margin: 0 auto;

  border: 1px solid;
  padding-top: 20px;
  padding-bottom: 0px;
  padding-left: 20px;
  padding-right: 0px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.내부박스_최소높이H5 > * {
  flex: 0 0 auto;           /* ✅ 줄 단위 배치 */
  width: 100%;              /* 한 줄 전체 차지 */
  height: auto;
  white-space: normal;
  overflow: visible;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .내부박스_최소높이H5 {
    padding-left: px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    width: 100% !important;        
    max-width: 90% !important;      
    min-height: 60px;
    height: auto;
  }
}




.텍스트줄 {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5em;
}

.앞번호 {
  min-width: 3.5em;
  text-align: right;
  color: var(--앞색상, #f55);
  font-weight: 600;
  font-size: 1.06em;
  margin-right: 0.5em;
}

.본문 {
  flex: 1;
}







/* [내부박스] CSS *** */



.박스_내부_네모 {
.내부박스1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 650px;
  height: 200px;  
  margin: 0 auto;
  border-radius: 20px;
}

  /* 정렬 기본값 */
display: flex;
flex-direction: row;     /* 기본값 (생략해도 row임) */
align-items: center;     /* 교차축(위아래) 방향 중앙 정렬 */
}


/* 정렬 옵션 */
.정렬_좌 { 
  text-align: left; 
}

.정렬_우 { 
  text-align: right; 
}

.정렬_센터 { 
  text-align: center; 
}


.coupon-ticket {
  background: #3b5fa3;       /* 기본 배경 */
  color: #fff;               /* 텍스트 흰색 */
  width: 500px;
  height: 250px;
  margin: 24px auto 0;
  border-radius: 12px;       /* 모서리 둥글게 */
  font-weight: 600;
  display: flex;             /* 중앙 정렬 */
  align-items: center;       /* 세로 중앙 */
  justify-content: center;   /* 가로 중앙 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}









/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 📦 커리큘럼 css
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/


.curriculum-section {
  background-color: #f5f6f9;  /* 또는 #f8f7fc */
  padding: 80px 0;
}



/* 배경 자체 톤: 감성 톤 다운 */
.curriculum-section {
  background-color: #f3f4f9;
  padding: 80px 0;
}

/* 타이틀 */
.curriculum-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e1f4b;
  text-align: center;
  margin-bottom: 40px;
}

/* 강의 아이템 */
.custom-lecture-item {
  max-width: 720px;
  margin: 0 auto 36px auto;
}

/* 버튼 스타일: 보라톤 살짝 톤다운 */
.custom-lecture-button {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background-color: #5146b3;
  border: none;
  padding: 14px 18px;
  width: 100%;
  text-align: left;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: background-color 0.3s ease;
}

.custom-lecture-button:hover {
  background-color: #3e379a;
}

/* ▼ 아이콘 */
.accordion-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #ffffffcc;
  transition: transform 0.3s ease;
}

.custom-lecture-button[aria-expanded="true"] .accordion-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* 강의 시간 */
.custom-lecture-time {
  font-size: 14px;
  color: #ddd;
  margin-left: 8px;
}

/* 내용 박스 */
.custom-lecture-body {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #e4e7f0;
  padding: 18px 22px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 파트 */
.custom-lecture-part {
  font-size: 14.5px;
  color: #333;
  padding: 5px 0;
  line-height: 1.7;
}

.custom-lecture-part strong {
  color: #1e1f4b;
  font-weight: 600;
}

/* 반응형 */
@media (max-width: 768px) {
  .custom-lecture-button {
    font-size: 15px;
  }

  .custom-lecture-part {
    font-size: 13.5px;
  }

  .curriculum-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}







/* 후기 스타일 정의 */

/* 그리드 레이아웃 */
#custom-review-section ul {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* ← 여기만 1로 */
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 0;
}

#custom-review-section li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#load-more-btn {
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  color: #444;
  background-color: #f7f7f7;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}




.hidden-review {
  display: none;
}





.course__sidebar {
  position: sticky;
  top: 120px; /* 헤더 밑 여백 */

}

@media (max-width: 992px) {
  .course__sidebar {
    display: none !important;
  }
}






/* 커스텀CSS1 / 전체배경 흰색 강제고정 */

/* 1. 전체 배경 흰색 고정 */
body,
html,
.wrapper,
.site-wrapper,
.page__bg,
.course__area,
.page__wrapper,
.course__wrapper {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* 2. 배경 장식/패턴만 제거 */
.course__area::before,
.course__area::after,
.page__bg::before,
.page__bg::after,
.section__bg,
.section__shape,
.shape-bg,
.bg-shape,
.bg-pattern,
.curve-shape,
.circle-shape,
.bg-decor,
body > img,
body > div > img {
  background: none !important;
  background-image: none !important;
  display: none !important;
}

/* 일부 배경이 남을경우 */
body * {
  box-shadow: none !important;
}





/* 커스텀CSS2 헤더영역 크기 변경 start */

/* container 폭 확장 */
.container {
  max-width: 1130px; /* 기본은 1140px ~ 1200px */
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* row 좌우 컬럼 간격 축소 */
.row {
  --bs-gutter-x: 1rem; /* 기본은 1.5rem → 붙어 보이게 */
}

/* 컬럼 좌우 패딩 줄이기 */
[class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

/* 헤더 하단 선 추가 css */

#header-sticky::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #e0e0e0;
  z-index: 101;
}

@media (max-width: 767px) {
  #header-sticky {
    border-bottom: 1px solid #e0e0e0 !important;
    box-shadow: none !important;
  }
}

/* PC */
@media (min-width: 768px) {
  #header-sticky {
    border-bottom: 1px solid #e0e0e0;
  }
}

/*모바일 썸네일 마진 */
@media (max-width: 767px) {
  .course__img {
    margin-top: 30px;   
  }
}

/* 로고 텍스트 스타일 (선명하고 정렬 깔끔하게) */
.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: #5E4AE3;
  text-decoration: none;
  font-family: 'Noto Sans KR', sans-serif;
}
.logo-text span {
  color: #000; /* 'Class'는 검정색 */
}

/* 모바일에서 햄버거 숨기고 CTA 노출 */
@media (max-width: 768px) {
  .sidebar__menu {
    display: none !important;
  }

  .header__btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 12px;
  }

  .header__btn .e-btn {
    background-color: #5E4AE3 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    min-width: 150px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
  }

  .header__btn .e-btn:hover {
    background-color: #4A36C5 !important;
  }

  .header__btn .e-btn:active {
    background-color: #3F30AB !important;
  }
}

/* 7. CTA 버튼 색상 (PC 공통 적용) */
.header__btn .e-btn {
  background-color: #5E4AE3 !important;
  color: #fff !important;
}

/* 8. 삼발이(햄버거) 색상 변경 */
.sidebar-toggle-btn span {
  background-color: #5E4AE3 !important;
}



/* 헤더 디자인+모바일 CSS */

@media (max-width: 768px) {
  .sidebar__menu {
    display: none !important;
  }

  .header__btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 12px;
  }

  .header__btn .e-btn {
    background-color: #5E4AE3 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    min-width: 150px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
  }

  .header__btn .e-btn:hover {
    background-color: #4A36C5 !important;
  }

  .header__btn .e-btn:active {
    background-color: #3F30AB !important;
  }
}

/* 모든 해상도에서 동일한 버튼 색상 적용 */
.header__btn .e-btn {
  background-color: #5E4AE3 !important;
  color: #fff !important;
}

  /* 로고 텍스트 css */
.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: #5E4AE3; /* 보라색 계열 */
  text-decoration: none;
  font-family: 'Noto Sans KR', sans-serif; /* 필요시 */
}

.logo-text span {
  color: #000;  /* Class는 검정 */
}

  /* 삼발이 색상 css */
.sidebar-toggle-btn span {
  background-color: #5E4AE3 !important;
}







/* custom css3 메인박스 디자인 */

/* 🔲 메인썸박스1 */
.메인썸박스_검정1 {
  background: #2A2A2A;
  height: 420px;
  margin-bottom: 16px;
  padding: 48px 24px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  line-height: 1.9;
  overflow: visible;
  position: relative;
}


.로고화이트 {
  position: absolute;
  top: 0px;      /* 🔼 기존 20px → 더 위로 */
  right: 10px;
  width: 100px;    /* 🔼 기존 60px → 더 크게 */
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 480px) {
  .로고화이트 {
    top: 0px;     /* 모바일에서 더 위로 */
    right: 2px;   /* 오른쪽 끝으로 */
    width: 60px;  /* 크기 줄임 */
  }
}


.썸네일배경이미지 {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

.메인썸_하이라이트박스빨강 {
  background-color: #ff5c70;
  color: #fff;
  padding: 0px 10px;
  border-radius: 6px;
  display: inline-block;
  font-size: inherit;
  margin-top: 0;
  vertical-align: middle;
  line-height: 1.2;
}

/* ✅ 모바일용 스타일 */
@media (max-width: 480px) {
  .메인썸박스_검정1 {
    height: 200px;
    padding: 32px 16px;
  }

  .썸네일배경이미지 {
    display: none !important;
  }
}

/* 기본: PC에선 안 보임 */
.모바일썸네일배경이미지 {
  display: none;
}

/* 모바일 전용 표시 */
@media (max-width: 480px) {
  .모바일썸네일배경이미지 {
    display: block;
    position: absolute;
    top: 12px;
    left: 12px;
    width: 48px;
    opacity: 1; /* ✅ 완전 선명하게 */
    z-index: 0;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .모바일썸네일배경이미지 {
    display: none !important;
  }
}



/* custom footer 색상강제 CSS */

/* footer-bg 클래스를 가진 모든 경우를 싹 덮어버리기 */
footer.footer__area,
.footer__area,
.footer-bg,
footer .footer__area.footer-bg {
  background-color:#202020 !important;
  color:#ccc !important;
}

/* 내부 글자색 */
footer .footer__area p,
footer .footer__area span,
footer .footer__area a {
  color:#ccc !important;
  font-size:14px;
  line-height:1.7;
}


<!-- footer area 추가 CSS -->

.footer__social ul {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 0;
  padding: 0;
  margin: 0;
}
.footer__social li {
  list-style: none;
}
.footer__social li a {
  width: 40px;   /* 아이콘 박스 크기 */
  height: 40px;
  padding: 0;
  margin: 0;
  background: transparent; /* 기존 배경 제거 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__social li a img {
  width: 100%;   /* 박스 안을 꽉 채움 */
  height: 100%;
  object-fit: contain;
  display: block;
}








/* 리뷰 팝업 모달의 위치·크기·레이어 스타일 */

.review-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.review-modal-content {
  background: #fff;
  max-width: 600px;
  height: 500px; 
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  overflow-y: auto;
}

.review-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;         
  font-weight: bold;
  cursor: pointer;
  color: #333;
  padding: 8px;              
  transition: 0.2s;
}

.review-modal-close:hover {
  color: #ff4d4f;            
}



/* 썸네일 카드 전체 컨테이너 */
.thumbnail-stack {
  width: 100%;
  max-width: 770px;        
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;     
  z-index: 2;
  overflow: hidden;
}

/* 각 썸네일 이미지 */
.thumbnail-stack img {
  display: block;
  width: 100%;              
  max-width: 100%;          
  height: auto;             
  object-fit: contain;     
  background-color: transparent;
  border-radius: 0 !important;
  margin: 0 auto;
  image-rendering: auto;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .thumbnail-stack {
    padding: 0 12px;
  }

  .thumbnail-stack img {
    width: 100% !important;
    height: auto !important;
  }
}



/* 후기 스타일 정의 */

/* 그리드 레이아웃 */
#best-review-section ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 0;
}

#best-review-section li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 아바타 + 정보 */
.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
}

.review-meta {
  flex: 1;
}

.review-name-date {
  display: flex;
  align-items: center;
  gap: 8px;
  /* justify-content: flex-start; ← 이건 있어도 됨 */
}


.review-date {
  font-weight: normal;
  color: #6b7280;
}

.review-rating-inline {
  font-size: 0.8rem;
  color: #f59e0b;
}

.review-rating-inline .no-rating {
  color: #d1d5db;
}

.review-snippet p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0;
}

.review-more-btn {
  font-size: 0.875rem;
  color: #6b7280;             /* ✅ 중간 회색 */
  text-decoration: underline;
  cursor: pointer;
}


/* 전체후기보기 버튼 */
.review-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.btn-review-more {
  padding: 10px 18px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  color: #444;
  background-color: #f7f7f7;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-review-more:hover {
  background-color: #e0e0e0;
  color: #111;
}



/* 모바일 */
@media (max-width: 768px) {
  #best-review-section ul {
    grid-template-columns: 1fr !important; /* 모바일에서 1줄 1개 */
  }
}












