/* BASIC css start */
/* 상단 제목 */
.faq-header .faq-title {
  font-size: 32px;
  font-weight: 600;
  color: #53341f; /* 브라운 글자 */
  text-align: center;
  margin: 60px 0 40px;
  font-family: 'Pretendard', sans-serif;
}

/* 하위 메뉴 전체 박스 */
.faq-header .faq-subtabs {
  display: flex;
  justify-content: center; /* 가로 중앙 */
  margin-bottom: 60px;
}

/* ul 초기화 */
.faq-header .faq-subtabs ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px; /* 버튼 간격 */
}

/* li 기본 */
.faq-header .faq-subtabs ul li {
  list-style: none;
}

/* a 버튼 기본 스타일 */
.faq-header .faq-subtabs ul li a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 28px; /* 둥근 모서리 */
  text-decoration: none;
  font-family: 'Pretendard', sans-serif;
  transition: background-color 0.2s ease; /* 브라운 버튼 호버용 */
}

/* NOTICE 버튼: 브라운 배경, 흰 글자 */
.faq-header .faq-subtabs ul li:first-child a {
  background-color: #f5e6dc;
  color: #502c1d;
  border: none;
  font-weight: 600;
}

/* FAQ 버튼: 브라운 배경, 흰 글자 */
.faq-header .faq-subtabs ul li:nth-child(2) a {
  background-color: #f5e6dc;
  color: #502c1d;
  border: none;
  font-weight: 600;
}

/* Q&A 버튼: 배경 없음, 브라운 테두리, 호버 없음 */
.faq-header .faq-subtabs ul li:nth-child(3) a {
  background-color: transparent;
  color: #502c1d;
  border: 3px solid #f5e6dc;
  font-weight: 600;
  transition: none; /* 호버 변화 없음 */
}

/* MEMBERSHIP 버튼: 브라운 배경, 흰 글자 */
.faq-header .faq-subtabs ul li:nth-child(4) a {
  background-color: #f5e6dc;
  color: #502c1d;
  border: none;
  font-weight: 600;
}


/* 1. 제목 h3 글자 Pretendard + 브라운 */
.bbs-tit h3 {
  font-family: 'Pretendard', sans-serif;
  color: #53341f;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  padding-bottom: 5px; /* 글자와 브라운선 간격 조절 */
  border-bottom: none;
}

/* 2. 테이블 위 브라운선 */
.bbs-table-list table {
  border-top: 2px solid #53341f !important;
  border-collapse: collapse;
  margin-top: 5px; /* h3과 테이블 사이 간격 */
}

/* 3. 검색창(.bbs-sch)과 제목 간격 최소화 */
.bbs-tit + .bbs-sch {
  margin-top: 5px;
  padding-top: 0;
}

/* 4. fieldset 기본 테두리 제거 */
.bbs-sch fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/* 5. Q&A 영역 간격 조절 */
.page-body .bbs-table-list {
  margin-top: 10px;
}

.bbs-paging .paging a {
    display: inline-block;      /* 한 줄로 나란히 */
    margin: 0 4px;              /* 숫자 사이 간격 */
    padding: 0;                 /* 배경 제거 */
    text-decoration: none;      /* 밑줄 제거 */
    color: #999;                /* 선택 안 된 숫자 회색 */
    font-weight: normal;
    background: none;           /* 배경 제거 */
    border: none;               /* 테두리 제거 */
}

.bbs-paging .paging a.now {
    color: #53341f;             /* 선택된 페이지 브라운 */
    font-weight: bold;
}

.bbs-paging .paging a.first,
.bbs-paging .paging a.prev,
.bbs-paging .paging a.next,
.bbs-paging .paging a.last {
    color: #53341f;             /* 화살표 브라운 */
    font-weight: normal;
}

/* WRITE 버튼 브라운 스타일 - 가운데 정렬 */
.bbs-link .CSSbuttonWhite {
    color: #53341f;                     /* 글자 브라운 */
    border: 1px solid #53341f;          /* 테두리 브라운 */
    background: none;                   /* 배경 제거 */
    font-family: 'Pretendard', sans-serif; /* 글꼴 Pretendard */
    font-weight: 600;                   /* 글자 굵기 */
    padding: 10px 20px;                 /* 버튼 여백 */
    border-radius: 4px;                 /* 살짝 둥근 테두리 */
    text-decoration: none;              /* 밑줄 제거 */
    
    display: flex;                      /* flex로 글자 중앙 정렬 */
    align-items: center;                /* 세로 중앙 */
    justify-content: center;            /* 가로 중앙 */
    height: 40px;                        /* 버튼 높이 고정 */
    width: auto;                        /* 버튼 너비 자동 */
}



/* BASIC css end */

