/********************************************************
 * (1) 기본 reset & global styles template2.css
 ********************************************************/
html, body {
  margin: 0;
  padding: 0;
  width: 100%;

  overflow-x: hidden;
  font-family: system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body {
  display: flex;
  flex-direction: column;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}

/********************************************************
 * (2) 전체 레이아웃: header + main + footer
 ********************************************************/
main {
  flex: 1;
}

/********************************************************
 * (3) 공통 Section 스타일
 ********************************************************/
section:not(.hero-slider):not(.top-menu-bar):not(.hero-section) {
  /* clamp(1.5rem, 5vw, 3rem) 등으로 반응형 여백 */
  /*padding: clamp(1.5rem, 5vw, 3rem) 1rem;*/
  padding: 0 1rem;  
  max-width: 1200px; 
  margin: 0 auto; /* 가운데 정렬 용도로 사용 */
}
section:not(.hero-slider) > h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}


/********************************************************
 * (4) Hero Slider (슬라이더)
 ********************************************************/
section.hero-slider {
  margin: 0 !important;
  padding: 0 !important;
}

section.hero-slider {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
  position: relative;
  min-height: 35vh;
  overflow: hidden;
}
.slider-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
  user-select: none;
  touch-action: pan-y;
}
.slide {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  height: 35vh;
  background-size: cover;
  background-position: center;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-slider .slide-content {
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 90%;
}
.hero-slider .slide-content h1 {
  overflow-wrap: break-word;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.hero-slider .slide-content h2 {
  overflow-wrap: break-word;
  font-size: clamp(1rem, 4vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 1.2rem;
}
.hero-slider .slide-content h1,
.hero-slider .slide-content h2 {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-slider .slide-content .slide-btn {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s;
}
.hero-slider .slide-content .slide-btn:hover {
  background: rgba(255,255,255,0.15);
}
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: #fff;
}
section.hero-slider.has-board {
  margin-bottom: 0 !important;
}

/********************************************************
 * 게시판 미리보기 & 고객센터 - 3열 레이아웃
 ********************************************************/
/* 큰 화면: 3열, 중간: 2열, 모바일: 1열 */
.board-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0;  /* 상황에 맞춰 조정 */
}
@media (max-width: 992px) { /* 태블릿 이하 */
  .board-list-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 576px) { /* 모바일 */
  .board-list-wrap {
    grid-template-columns: 1fr;
  }
}

/* ────────── 연락처 (고객센터) ────────── */
.contact2 {
  background: none;       /* 그라디언트 제거(원하면 유지) */
  border: none;
  box-shadow: none;
  padding: 0;             /* 여백 자유롭게 */
  display: flex;          /* 가운데 정렬 예시 */
  align-items: center;
  justify-content: center;
}
.contact2-inner {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  padding: 0;
}
.contact2-inner h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #ee5917;         /* 같은 포인트 컬러 사용 */
}
.phone2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.time2 {
  font-size: 0.95rem;
  color: #666;
}

/********************************************************
 * (6) 커스텀 섹션 (custom-section2)
 ********************************************************/
.custom-section2 {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  padding: 1.5rem;
  margin-top: 2rem;
}


/* Updated Header & Footer Styles – v3 */
/* Font: Nanum Myeongjo */
@import url('https://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');

/**********************************************
 * Color & Typography Variables
 **********************************************/
:root {
  /* Accent (orange still used for CTAs) */
  --pri:        #ffa75e;
  --pri-dark:   #e18b46;

  /* Text colour (brown family) */
  --txt:        #8a6756;
  --txt-hover:  #725545;   /* darker on hover */

  /* Backgrounds & lines */
  --bg:         #ffffff;
  --bg-soft:    #f9f4f0;   /* very light brown tint */
  --border:     #ffa75e;
  --border-light: #ffa75e;
  --bg-hover:   #ffffff;
}

/**********************************************
 * Header Scope
 **********************************************/
.header-scope * { box-sizing: border-box; margin: 0; padding: 0; }

.header-scope {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Nanum Myeongjo', "Helvetica Neue", Arial, sans-serif;
  position: relative; /* to anchor the full‑width bottom line */
}

/* Full‑width bottom line */
.header-scope::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--txt);
  z-index: 5;
}

/* Site Header (inner container) */
.header-scope .site-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background-color: var(--bg);
  font-family: 'Nanum Myeongjo', Arial, sans-serif;
}

.header-scope .site-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--txt);
}
.header-scope .site-header h1 a {
  color: inherit;
  text-decoration: none;
}

/***************  Navigation  ***************/
.header-scope .site-header nav { position: relative; }

.header-scope .site-header nav ul {
  display: inline-flex;
  list-style: none;
  gap: 2rem;
}

.header-scope .site-header nav li { position: relative; }

.header-scope .site-header nav a {
  color: var(--txt);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s, transform 0.25s ease, letter-spacing 0.25s ease;
}
/* underline */
.header-scope .site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pri);
  transition: width 0.25s ease;
}

/* hover action – rise & spacing */
.header-scope .site-header nav a:hover {
  color: var(--txt-hover);
  transform: translateY(-2px);
  letter-spacing: 0.4px;
}
.header-scope .site-header nav a:hover::after {
  width: 100%;
  height: 3px;
}

/* dropdown */
.header-scope .site-header nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: var(--bg);
  border-radius: 4px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 999;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.header-scope .site-header nav li ul li a {
  display: block;
  color: var(--txt);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.header-scope .site-header nav li ul li a:hover {
  background: var(--bg-soft);
  color: var(--txt-hover);
}
.header-scope .site-header nav li:hover > ul { display: block; }

/***************  Hamburger (Mobile)  ***************/
.header-scope .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--txt);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s, transform 0.25s ease;
}
.header-scope .menu-toggle:hover {
  color: var(--txt-hover);
  transform: scale(1.1);
}

/***************  Responsive  ***************/
@media (max-width: 992px) {
  .header-scope .site-header { height: 120px; padding: 1rem 1.5rem; }
  .header-scope .site-header h1 { font-size: 1.6rem; }
  .header-scope .menu-toggle { display: block; font-size: 3.2rem; margin-left: auto; }

  .header-scope .site-header nav { position: absolute; top: 85px; left: 0; right: 0; z-index: 999; }
  .header-scope .site-header nav ul { display: none; flex-direction: column; background: var(--bg); padding: 0.5rem 0; width: 100%; }
  .header-scope .site-header nav ul.show { display: flex; }
  .header-scope .site-header nav li ul { margin-left: 1rem; position: static; transform: none; box-shadow: none; }
  .header-scope .site-header nav li.active > ul { display: block; }
  .header-scope .site-header nav li:hover > ul { display: none; }
  .header-scope .site-header nav li a { display: block; border-bottom: 1px solid var(--border-light); padding: 1rem; color: var(--txt); }
  .header-scope .site-header nav li a:hover { background: var(--bg-soft); color: var(--txt-hover); transform: none; letter-spacing: 0.4px; }
}

/**********************************************
 * Footer Scope
 **********************************************/
.footer-scope {
  width: 100%;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Nanum Myeongjo', "Helvetica Neue", Arial, sans-serif;
  border-top: 1px solid var(--border);
}
.footer-scope .site-footer {
  max-width: clamp(320px, 90%, 1200px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  padding: 0 1rem;
}
.footer-scope .site-footer p { margin: 0; }

.footer-scope .site-footer a {
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}
.footer-scope .site-footer a:hover {
  color: var(--txt-hover);
  border-bottom: 1px solid var(--txt-hover);
}

/********************************************************
 * (12) Hero Section (고정 높이 → 유연한 높이)
 ********************************************************/
.hero-section {
  width: 100%;
  min-height: clamp(100px, 40vh, 250px);
  background: #1a73e8
    url('/make_test/uploads/img/hero_default.jpg')
    center center / cover 
    no-repeat; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;

  /* 여백 제거 */
  margin: 0 !important; /* 상/하/좌/우 모두 0 */
  /* 기존 margin-bottom: 30px; → 삭제/오버라이드 */
  /* 필요하면 padding도 0으로, 현재는 미사용. */
}
.hero-section h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-section p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }
  .hero-section p {
    font-size: 0.95rem;
  }
}
/********************************************************
 * (13) Page Layout: container, sidebar, page-content
 ********************************************************/
.page-container {
  max-width: clamp(320px, 95%, 1200px);
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  background: #ffffff; /* 차분한 흰색 배경 */
  border-radius: 12px;
  padding: 2rem;
  gap: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* 사이드바 */
.sidebar {
  flex: 0 0 240px;
  background: linear-gradient(135deg, #f3f4f6, #ffffff); /* 은은한 그라데이션 */
  border-radius: 8px;
  padding: 1.5rem;
  color: #444; /* 텍스트는 편안한 그레이 톤 */
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sidebar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sidebar h3 {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: #ffa75e; /* 세련된 포인트 컬러(차분한 블루톤) */
  border-bottom:2px solid currentColor;
  padding-bottom: 0.5rem;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar li a {
  display: block;
  text-decoration: none;
  color: #444;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.02);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  font-weight: 500;
}
.sidebar li a:hover {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

/* 메인 콘텐츠 */
.page-content {
  flex: 1;
  background: #ffffff; /* 깔끔한 화이트 */
  border-radius: 8px;
  padding: 1.5rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  color: #ffa75e; /* 같은 포인트 컬러 사용 */
  border-bottom: 2px solid #ffa75e;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* 반응형 - 태블릿 이하 */
@media (max-width: 992px) {
  html {
    font-size: 180%;
  }
  .page-container {
    flex-direction: column;
    padding: 1rem;
    border-radius: 0;
    box-shadow: none;
  }
  .sidebar {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .page-content {
    width: 100%;
    border-radius: 0;
    padding: 1rem;
    font-size: 0.95rem;
    box-shadow: none;
  }
}

/* 빈 미디어 쿼리(기존 코드와 스코프 동일하게 유지) */
@media () {
  html {
    font-size: 120%;
  }
  .hero-section h1 {
    font-size: 1.5rem;
  }
  .hero-section p {
    font-size: 0.95rem;
  }
}


/********************************************************
 * (14) Top Menu Bar ― 최종 고정 높이 50 px
 ********************************************************/
section.top-menu-bar {
  /* hero-section과 밀착시키려면 margin, padding 전부 0 */
  margin: 0 !important;
  padding: 0 !important;

  max-width: none !important;
}
.top-menu-bar {
  width: 100%;
  height: 50px;
  background: #ffa75e;
  display: flex;
  overflow: hidden;
}
.top-menu-bar .menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  height: 100%;
}
.top-menu-bar .menu-inner ul {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-menu-bar .menu-inner li {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-menu-bar .menu-inner li a {
  width: 100%;
  height: 100%;
  line-height: 50px;
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s;
}
.top-menu-bar .menu-inner li a:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* 2) 모든 탭에 회색 밑줄 부여 */
.tab-buttons li {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-bottom: 1px solid #ddd; /* ← 밑줄 위치 이동 */
}

.tab-buttons li.active {
  position: relative;         
  background: #fff;
  border-bottom: 2px solid #fff; 
  font-weight: bold;
  color: #ee5917;
  margin-bottom: -2px !important; /* 반드시 !important 로 전역 스타일 덮어쓰기 */
  z-index: 1;                 
}

/* 탭 컨텐츠 영역 */
.tab-contents {
  border: 1px solid #ddd;
  background: #fff;
  padding: 1rem;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}
.tab-pane ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tab-pane li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f3f3f3;
}
.tab-pane li a {
  color: #333;
  text-decoration: none;
}
.tab-pane li a:hover {
  text-decoration: underline;
}
.tab-pane li small {
  color: #999;
}
.board-list-tabs-wrap, 
.board-list-tabs,
.board-list-tabs-wrap section, 
.board-list-tabs-wrap .tab-contents, 
.board-list-tabs-wrap .tab-buttons,
.board-list-tabs-wrap li,
.board-list-tabs-wrap h2,
.board-list-tabs-wrap p {
  margin: 0 !important;
  padding: 1 !important;
}

/* 
   .board-list-tabs-wrap: 1200px 컨테이너를 가운데 정렬하되,
   내부에서 flex-start로 정렬하여 탭을 왼쪽으로 붙임
*/
.board-list-tabs-wrap {
  margin: 0 !important;         /* 수평 가운데 정렬 제거 */
  padding: 0 !important;        
  max-width: 1200px !important; /* 1200px 너비 유지 */
  display: flex !important;
  justify-content: flex-start !important;
}

/* 실제 탭 박스 - margin: 2rem 0; 로 바꿔서 auto(가로) 제거 */
.board-list-tabs {
  width: 400px;
  margin: 3rem 0; /* 상하만 여백, 좌우는 0으로 하여 왼쪽에 붙음 */
}

/* 탭 버튼 영역 */
.tab-buttons {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  width: 100%;  /* 부모의 350px에 맞춤 */
  border-bottom: none;
}




/* ==============================
   [NEW] Hero Contact Section
   ============================== */
section.hero-contact-section {
  /* hero-section과 밀착시키려면 margin, padding 전부 0 */
  margin: 0 !important;
  padding: 0 !important;

  max-width: none !important;
}
.hero-contact-section {
  width: 100%;
  /* 배경이미지를 브라우저 가로폭만큼 꽉 채우기 위해 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  color: #fff;
  padding: 40px 0;
}

.hero-contact-section::before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.4); /* 어두운 오버레이 */
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.hero-contact-inner {
  position: relative; /* 오버레이 위로 올리기 */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 왼쪽 버튼 랩 */
.hc-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 공통 버튼 스타일 */
.hc-btn {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  transform: rotate(-4deg); /* 기본 비스듬하게 */
  box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s;
}

.hc-btn:hover {
  transform: rotate(0deg);
}

.hc-left {
  display: grid;
  grid-template-columns: 200px 200px;
  grid-template-rows: 130px 130px;
  gap: 0;

  margin-left: 0px; 
}
/* 2) 공통 버튼 – margin·transform 제거 ------------------- */
.hc-btn{
  width:100%; height:100%;
  margin:0;               /* ★ 혹시 모를 기본 마진 제거 */
  transform:none;         /* 기울기 제거 */
  box-shadow:3px 3px 8px rgba(0,0,0,.3);
  transition:transform .25s;
}
.hc-btn:hover{ transform:scale(1.05); }

/* 회사소개 버튼(기존 아래) → 위로 이동 */
.hc-btn-company {
  grid-column: 1;
  grid-row: 1; /* ★ 1로 바꿔서 위쪽 배치 */
  background: #005baa;
}

/* 찾아오시는길 버튼(기존 위) → 아래로 이동 */
.hc-btn-location {
  grid-column: 2;
  grid-row: 2; /* ★ 2로 바꿔서 아래쪽 배치 */
  background: #333;
}


/* 오른쪽 영역 */
.hc-right {
  flex: 1;
  text-align: right;
}

/* 큰 제목 */
.hc-right h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* 서브 텍스트 */
.hc-desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 전화번호 */
.hc-phone {
  font-size: 30px;
  line-height: 1.2;
}
.hc-phone small {
  font-size: 14px;
  color: #ccc;
}


/* --------------------------------------------------
   (2) Flex 컨테이너: 왼쪽 탭 + 오른쪽 이미지
   - align-items: stretch → 자식들의 높이를 같게
   -------------------------------------------------- */
/* 
  (A) 섹션 래퍼: 가로 최대 1200px, 수평 중앙정렬
  여백을 없애기 위해 padding도 0
*/
.board-tabs-with-image-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  padding: 0 !important;


}

/* 
  (B) Flex 컨테이너 
  - align-items: stretch 로 자식 요소를 같은 높이로
  - gap: 0 → 좌우 요소 사이 공백 제거
*/
.board-tabs-with-image {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0; 
  width: 100%;
  margin: 0;  /* 혹시 모를 디폴트 margin 제거 */
  padding: 0; /* 혹시 모를 디폴트 padding 제거 */
}

/* (B-1) 왼쪽 탭 영역 */
.board-list-tabs-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 !important;  /* 모든 여백 제거 */
  padding: 0 !important;
}

/* 실제 탭 박스에 있던 margin 제거 */
.board-list-tabs {
  width: 100%;      /* 부모 flex를 꽉 채우도록 */
  margin: 0 !important;
  padding: 0 !important;
  /* 기존에 있었던 "margin: 3rem 0;"를 없애거나 0으로 */
}

/* (B-2) 오른쪽 이미지 영역 */
.board-preview-image {
  flex: 1;
  position: relative;
  overflow: hidden; /* 이미지가 넘칠 시 숨김 */
  margin: 0;        /* 여백 제거 */
  padding: 0;       /* 여백 제거 */
  display: flex;    /* 혹시 내부 컨텐츠가 있을 경우 대비 */
}

/* 이미지를 부모 높이에 딱 맞춤 + cover */
.board-preview-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비율 유지하며 영역을 꽉 채움 (잘릴 수 있음) */
  display: block;
}

/* 
  (C) 반응형 - 992px 이하에서 세로 배치
  세로로 쌓으면 탭 아래에 이미지가 위치.
*/
@media (max-width: 992px) {
  .board-tabs-with-image {
    flex-direction: column;
  }
  .board-preview-image {
    width: 100%;

    margin-top: 0;
  }
  .board-preview-image img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
