/* BASIC css start */
/* =========================
   1) 단일 컬럼(세로 스택) 레이아웃
   ========================= */
.single-col{
  display:flex;
  flex-direction:column;     /* 세로 쌓기 */
  align-items:center;        /* 가운데 정렬 */
  gap:20px;                  /* 이미지 간격 */
  padding:20px 0;
}
.single-col img{
  max-width:100%;
  height:auto;
  display:block;
}

/* =========================
   2) 전역 폰트 (페이지 일관)
   ========================= */
body,
.ceo-banner-section,
.ceo-title-section,
.ceo-message-text,
.ceo-photo{
  font-family:'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

/* =========================
   상단 배너 (store / ceo 동일 규격)
   ========================= */
   
   
   

   

/* 공통 */
.ceo-banner-section {
    position: relative;
  width: 100%;
  max-width: 846px;
  margin: 0 auto;
  height: 400px;  /* ← 여기 고정 높이 */
    background: url('/design/issis/growseminar_mo_bg_3.jpg') no-repeat center center;
  background-size: cover;
  display: block;

  /* ▶ 내부 패딩 */
  padding: 80px 20px 100px;
  
}




/* 텍스트 */
.ceo-banner-section h2 {
   position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 140px 0 15px 20px;  /* top right bottom left */
  text-align: left;
  font-family: 'Pretendard Variable', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  text-shadow: 0 1px 10px rgba(255,255,255,0.6);
}







/* 작은 화면에서 높이 축소 */
@media (max-width: 420px) {

  .ceo-banner-section {
    height: 400px;
  }

  .ceo-banner-section h2 {
    font-size: 30px;
  }
}

  
   .fade-up{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
  .fade-up.in{ opacity:1; transform:translateY(0); }

  /* 만약 스크립트 불러오기 실패 시 즉시 노출(폴백) */
  .fade-up.__fallback{ opacity:1 !important; transform:none !important; }
  

/* 섹션 패딩 */
.product_category_wrap{padding:0px 5% 25px !important}

/* 1차 카테고리 제목 */
.product_category_wrap .cate1{
  font-family:'Lora Variable',serif !important;
  font-weight:500 !important;
  font-size:22px !important;
  padding:10px 0 40px !important;
  color:#666 !important;
  text-align:center;
}

/* 컨테이너 */
.product_category_wrap .cate_child_wrap{overflow:hidden;}

/* 기본: 한 줄 고정 + 중앙 정렬 + 가로 스크롤 */
.product_category_wrap .cate_child_wrap ul{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;

  display:flex !important;
  flex-wrap:nowrap !important;         /* 줄바꿈 금지 */
  justify-content:center !important;   /* 중앙 정렬 */
  align-items:center;

  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;

  scrollbar-width:none;
}
.product_category_wrap .cate_child_wrap ul::-webkit-scrollbar{display:none;}

/* li */
.product_category_wrap .cate_child_wrap ul li{
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
}

/* 링크 */
.product_category_wrap .cate_child_wrap ul li a{
  display:inline-flex;align-items:center;justify-content:center;
  height:34px;
  padding:0 12px 0 16px !important; /* 앞에 바 들어갈 여백 확보 */
  white-space:nowrap;
  line-height:1;
  font-family:'Noto Sans KR','Pretendard Variable',sans-serif !important;
  font-size:16px !important;font-weight:400 !important;
  color:#aaaaaa !important;text-decoration:none !important;
  background:transparent !important;border:none !important;border-radius:0 !important;
  position:relative;
}

/* 모든 항목 앞에 │ 바 */
.product_category_wrap .cate_child_wrap ul li a::before{
  content:"";
  position:absolute; left:0; top:50%;
  transform:translateY(-50%);
  width:1px; height:16px;
  background:#cfcfcf;
}

/* 선택 상태 */
.product_category_wrap .cate_child_wrap ul li a.sel{
  color:#000 !important;
  font-weight:600;
}

/* 3차 카테고리 기본 비노출 */
.product_category_wrap .cate_child_wrap ul.cate3{display:none;padding-top:0 !important;}
.product_category_wrap .cate_child_wrap ul.cate3.on{
  display:flex !important;
  justify-content:center;
  padding-top:15px !important;
}

/* ─────────────────────────────────────────────
   모바일(≤420px): 2열 그리드 + 세로바(│) 유지, 가로바(─) 제거
   ───────────────────────────────────────────── */
@media (max-width:420px){
  .product_category_wrap .cate_child_wrap ul{
    display:grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    justify-content:stretch !important;
    align-items:stretch !important;
    overflow:visible !important;
    flex-wrap:unset !important;
  }

  .product_category_wrap .cate_child_wrap ul li{
    margin:0 !important; padding:0 !important;
  }

  .product_category_wrap .cate_child_wrap ul li a{
    display:flex !important;
    align-items:center; justify-content:center;
    padding:12px 10px 12px 16px !important;
    height:auto; line-height:1.2;
    white-space:normal !important;
    text-align:center;
  }

  /* 가로 바 제거 */
  .product_category_wrap .cate_child_wrap ul li:nth-child(n+3) a{
    border-top:none !important;
  }

  /* 세로 바는 ::before로 그대로 유지됨 */

  .product_category_wrap .cate_child_wrap ul li a.sel{
    color:#111 !important; font-weight:700 !important;
  }

  .product_category_wrap .cate_child_wrap ul.cate3.on{
    display:grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top:8px !important;
    padding-top:0 !important;
  }
}

/* BASIC css end */

