

/* ================================================
   MAIN_bbstab1 - 게시판 탭 위젯 전용 스타일
   ================================================ */
.MAIN_bbstab1 { width: 100%; float: left; position: relative; height: auto; overflow: hidden !important; }
.MAIN_bbstab1 .contents-container {
 position: relative;
  /* height: 100% 제거 - float 자식 높이를 clearfix로 인식 */ padding: 80px 0px 
}
/* float 요소 높이 포함을 위한 clearfix */
.MAIN_bbstab1 .contents-container::after {
  content: "";
  display: table;
  clear: both;
}
/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) {
.MAIN_bbstab1 .contents-container .sub_stit{width: 100%; float: left; }

.MAIN_bbstab1 .contents-container .tab_area{width: 100%; float: left; overflow: hidden; }
.MAIN_bbstab1 .tab_area .tabs { width: 100%; float: left;display: flex; flex-direction: row;  grid-gap: 10px;  margin-bottom: 30PX; display: flex;  justify-content: flex-start;  align-items: center; flex-wrap: wrap; min-height: 40px;}

.MAIN_bbstab1 .tab_area .tabs .tab {
  font-weight: 500;
  font-size:calc(var(--tx-sm-size) * 1.1);
  min-width: 100PX;
  float: left;
  background: #fff;
  padding: 7px 50px 7px 20px; padding-top: 7px!important;padding-bottom: 7px!important;
  border-radius: 50PX;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  color: var(--primary);
  position: relative;
  transition: all 0.3s ease;
}

.MAIN_bbstab1 .tab_area .tabs .tab:hover {
  background: rgba(var(--primary-rgb), 0.05);
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all {
  border-color: #fff;
  color: #333;
  padding:7px 20px!important;
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.on {
  border-color: #fff;
  color: #333;
}

/* 전체탭 - 라벨 컬러가 설정된 경우 */
.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.has-label-color {
  border-color: #fff;
  color: #333;
  background: #fff;
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.has-label-color:hover {
  border-color: var(--tab-label-color);
  background: var(--tab-label-color);
  color: #fff;
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.has-label-color.on {
  border-color: var(--tab-label-color);
  background: var(--tab-label-color);
  color: #fff;
}

.MAIN_bbstab1 .tab_area .tabs .tab .tab-label {
  width: auto;
  float: left;
  white-space: nowrap;
}

.MAIN_bbstab1 .tab_area .tabs .tab .morebtn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.MAIN_bbstab1 .tab_area .tabs .tab .morebtn i {
  font-size: 28px;
  color: inherit;
  transition: all 0.3s ease;
}

.MAIN_bbstab1 .tab_area .tabs .tab .morebtn:hover i {
  transform: scale(1.1);
  color: #333;
}

/* 화살표 버튼 */
.MAIN_bbstab1 .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
  font-size: 14px;
  line-height: 24px;
  display: none
}
.MAIN_bbstab1 .arrow.left { left: 5px; }
.MAIN_bbstab1 .arrow.right { right: 5px; }

}

/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}

/**** 모바일 ****/
@media only all and (max-width:767px) {
.MAIN_bbstab1 .contents-container .sub_stit{width: 100%; float: left; font-size:calc(var(--tit-md-size) * 1); font-weight: 700; line-height: 130%; margin-bottom: 10px; }

.MAIN_bbstab1 .contents-container .tab_area{ width: 100%; float: left; position: relative; overflow: hidden;}
.MAIN_bbstab1 .tab_area .tabs {
  display: flex;
  flex-direction: row;
  grid-gap: 10px;
  justify-content: flex-start;
  margin-bottom: 20px;
  overflow-x: auto;
  padding: 0px 40px;
  flex-wrap: nowrap;
}

.MAIN_bbstab1 .scroll-hidden {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.MAIN_bbstab1 .scroll-hidden::-webkit-scrollbar {
  display: none;
}

.MAIN_bbstab1 .tab_area .tabs .tab {
  min-width: auto;
  flex-shrink: 0;
  background: #fff;
  padding: 10px 40px 10px 15px;
  border-radius: 50PX;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid var(--primary);
  color: var(--primary);
  position: relative;
  font-size: calc(var(--tx-sm-size) * 0.9);
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all {
  padding: 10px 15px;
  border-color: #fff;
  color: #333;
}

.MAIN_bbstab1 .tab_area .tabs .tab .morebtn i {
  font-size: 22px;
}

.MAIN_bbstab1 .scroll-mask {position: relative; padding: 0px 0px}

/* 마스크 효과 */
.MAIN_bbstab1 .scroll-mask::before,
.MAIN_bbstab1 .scroll-mask::after {
  content: '';
  position: absolute;
  top: 0;
  width:50px;
  height: 70px;
  z-index: 2;
  pointer-events: none;
}
.MAIN_bbstab1 .scroll-mask::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 40px;
  background: linear-gradient(to right, #fff 0px, #fff 15px, transparent 30px);
  z-index: 9999;
  pointer-events: none;
}

.MAIN_bbstab1 .scroll-mask::after {
  content: '';
  position: absolute;
  top: 0;
  right:-1px;
  width: 40px;
  background: linear-gradient(to left, #fff 0px, #fff 15px, transparent 30px);
  z-index: 9999;
  pointer-events: none;
}

/* 화살표 버튼 */
.MAIN_bbstab1 .arrow {
  position: absolute;
  top: 15px;
  width: 30px;
  height: 30px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  z-index: 9999999;
  cursor: pointer;
  font-size: 16px;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.MAIN_bbstab1 .arrow:active {
  background: rgba(0,0,0,0.7);
  transform: scale(0.95);
}
.MAIN_bbstab1 .arrow.left { left: 5px; }
.MAIN_bbstab1 .arrow.right { right: 5px; }
}

/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/



/* 탭 활성화 상태 스타일 */
/**** pc ****/
@media only all and (min-width:768px) {

.MAIN_bbstab1 .tab_area .tabs .tab .tab-label {
  padding: 5px 0px;
  cursor: pointer;
 font-size:calc(var(--tx-sm-size) * 1.1);
  font-weight: 700;
  width: auto;
  float: left;
  white-space:nowrap;
}

.MAIN_bbstab1 .tab_area .tabs .tab.on {
  background-color: #fff;
  border-color: var(--primary-700);
  color: var(--primary-700);
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.on {
  border-color: var(--tertiary-700);
  color: var(--tertiary-700);
}

.MAIN_bbstab1 .tab_area .tabs .tab.on .tab-label {
 font-size:calc(var(--tx-sm-size) * 1.1);
  font-weight: 700;
  color: inherit;
}

.MAIN_bbstab1 .tab-content {
  display: none;
  padding: 0px 0PX;
  width: 100%;
  float: left;
  min-height: 400px;
}

.MAIN_bbstab1 .tab-content .bbs_swiper_wrap {
  width: 100%;
  float: left;
  position: relative;
}

/* 스와이퍼 오른쪽 화면 끝까지 확장 - 활성 패널에만 적용 */
/* bbs_swiper_wrap은 원래 너비 유지, overflow만 visible */
.MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right {
  width: 100%;
  overflow: visible;
}

/* content-swiper도 원래 너비 유지 - Swiper가 이 너비 기준으로 슬라이드 계산 */
.MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right .content-swiper {
  width: 100%;
  overflow: visible;
}

/* swiper-wrapper만 오른쪽으로 확장 가능하도록 */
.MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right .swiper-wrapper {
  overflow: visible;
}

/* full-right 활성화시 - clip-path로만 확장, overflow는 hidden 유지 */
/* .contents-container는 overflow 변경 안함 - 데코 밀림 방지 */

.MAIN_bbstab1:has(.tab-content.active .bbs_swiper_wrap.full-right) .tab_area {
  overflow: visible !important;
}

/* 활성 패널에만 overflow visible 적용 */
.MAIN_bbstab1 .tab-content.active:has(.bbs_swiper_wrap.full-right) {
  overflow: visible !important;
}

/* 비활성 패널은 hidden 유지 */
.MAIN_bbstab1 .tab-content:not(.active) {
  overflow: hidden !important;
}

/* 왼쪽은 가리고 오른쪽만 보이게 - 활성 패널에만 적용 */
.MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right .content-swiper {
  clip-path: inset(0 -100vw 0 0);
}

}

/**** 모바일 ****/
@media only all and (max-width:767px) {

.MAIN_bbstab1 .tab_area .tabs .tab .tab-label {
  padding: 2px 0px;
  cursor: pointer;
  font-size:calc(var(--tit-mds-size) * 0.75);
  font-weight: 600;
  width: auto;
  float: left;
  white-space:nowrap;
}

.MAIN_bbstab1 .tab_area .tabs .tab.on {
  background-color: #fff;
  border-color: #fff;
  color: #333;
}

.MAIN_bbstab1 .tab_area .tabs .tab.tab-all.on {
  border-color: #fff;
  color: #333;
}

.MAIN_bbstab1 .tab_area .tabs .tab.on .tab-label {
  font-weight: 700;
  color: inherit;
}

.MAIN_bbstab1 .tab-content {
  display: none;
  padding: 10px 0px;
  border-radius: 6px;
  min-height: 300px;
}
}

/* 탭 컨텐츠 활성화 */
.MAIN_bbstab1 .tab-content.active { display: block; }


/* 기본 포커스 링/하이라이트 제거 */
.MAIN_bbstab1 .tabs [role="tab"] {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.MAIN_bbstab1 .tabs [role="tab"]:focus { outline: none; box-shadow: none; }
.MAIN_bbstab1 .tabs [role="tab"]::-moz-focus-inner { border: 0; }

.MAIN_bbstab1 .tabs [role="tab"]:focus-visible {
  outline: 0;
  box-shadow: none;
}

.MAIN_bbstab1 .tabs [role="tab"]:focus:not(:focus-visible){
  outline: none !important;
  box-shadow: none !important;
}

/* ===== 관리자 모드 스타일 (권한 8 이상) ===== */
html:has(.MAIN_bbstab1 .tab_admin_mode),
body:has(.MAIN_bbstab1 .tab_admin_mode) {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.MAIN_bbstab1 {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

.MAIN_bbstab1 .tab_area {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden !important;
}

.MAIN_bbstab1 .tab-content {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

.MAIN_bbstab1 .tab-content.tab_admin_mode {
  position: relative;
  border: 2px dashed #10b981;
  overflow: visible;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.MAIN_bbstab1 .tab-content.tab_admin_mode:hover {
  border-color: #059669;
  background-color: rgba(16, 185, 129, 0.03);
}

/* 탭 래퍼 - 탭 버튼과 설정 아이콘을 감싸는 컨테이너 */
.MAIN_bbstab1 .tab-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* 탭 아래 설정 아이콘 */
.MAIN_bbstab1 .tab_mix_icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.MAIN_bbstab1 .tab_mix_icon:hover {
  background: #059669;
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.5);
}

/* 모바일에서 관리자 패딩 조정 */
@media only all and (max-width:767px) {
  .MAIN_bbstab1 .tab-content.tab_admin_mode {
    padding: 15px;
  }

  .MAIN_bbstab1 .tab_mix_icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
    bottom: -18px;
  }
}


/* ================================================
   게시판 Swiper 래퍼 스타일
   ================================================ */

.MAIN_bbstab1 .bbs_swiper_wrap {
  width: 100%;
  float: left;
  position: relative;
}

.MAIN_bbstab1 .content-swiper {
  overflow: hidden;
  position: relative;
}

.MAIN_bbstab1 .content-swiper .swiper-wrapper {
  position: relative;
}

/**** pc ****/
@media only all and (min-width:768px) {
  .MAIN_bbstab1 .bbs_swiper_wrap {
    padding: 0px;
  }

  /* 하단 네비게이션 컨테이너 */
  .MAIN_bbstab1 .swiper-nav-bottom {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    margin-top: 30px;
    padding-left: 10%; /* 왼쪽 10%에서 시작 */
    padding-right: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    float: left;
    clear: both;
  }

  /* 화살표 버튼 - 인라인 배치 */
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev,
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background-color: #f3f4f6;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev {
    background-image: url(../icons/ico_prev.svg);
    margin-right:20px;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next {
    background-image: url(../icons/ico_next.svg);
    margin-right:40px;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev:hover,
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next:hover {
    background-color: #e5e7eb;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev::after,
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next::after {
    content: none;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev.swiper-button-disabled,
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  /* 페이징바 (스크롤바) */
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-scrollbar {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 4px !important;
    background: #fff !important;
    border-radius: 2px;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    display: block !important  ; margin-left: 20px
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-scrollbar-drag {
    background:var(--primary) !important;
    border-radius: 2px;
    height: 100% !important;
    cursor: grab; 
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-scrollbar-drag:active {
    cursor: grabbing;
  }
}

/**** 모바일 ****/
@media only all and (max-width:767px) {
  .MAIN_bbstab1 .bbs_swiper_wrap {
    padding: 0px 0px;
  }

  /* 모바일 하단 네비게이션 */
  .MAIN_bbstab1 .swiper-nav-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-prev,
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-button-next {
    display: none;
  }

  /* 모바일 페이징바 */
  .MAIN_bbstab1 .swiper-nav-bottom .swiper-scrollbar {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
  }

  .MAIN_bbstab1 .swiper-nav-bottom .swiper-scrollbar-drag {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
    height: 100%;
  }
}


/* Swiper 슬라이드 - slidesPerView 정수 사용시 자동 계산됨 */
/* 슬라이드 너비는 Swiper breakpoints에서 제어 */
.MAIN_bbstab1 .swiper-slide {
  flex-shrink: 0;
  box-sizing: border-box;
}

/* slidesPerView: 'auto' 사용시에만 고정 너비 적용 */
.MAIN_bbstab1 .content-swiper.auto-width .swiper-slide {
  width: min(100%, 375px) !important;
}

@media (max-width: 420px) {
  .MAIN_bbstab1 .content-swiper.auto-width .swiper-slide {
    width: 100% !important;
    max-width: 375px;
  }
}


/* ================================================
   데코 이미지 스타일
   ================================================

   [클래스 명명 규칙]
   .deco_img_[항목번호]_[이미지번호]
   예: .deco_img_6_1 = 항목6의 이미지1

   [위젯 CSS 필드에서 커스터마이징 예시]

   .deco_img_6_1 {
     top: -50px;
     right: 0;
     width: 200px;
   }
   .deco_img_6_2 {
     bottom: 0;
     left: -30px;
     width: 150px;
   }

   ================================================ */

/* 데코 영역 컨테이너 - 탭 콘텐츠 뒤에 배치 */
.MAIN_bbstab1 .deco_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; /* tab_content_wrap이 z-index:1이므로 그 뒤에 배치 */
  overflow: visible;
}

/* 왼쪽 확장용 데코 영역 - 항상 overflow visible 유지 */
.MAIN_bbstab1 .deco_area_left {
  overflow: visible !important; /* full-right 영향 받지 않음 */
}

/* 오른쪽 확장용 데코 영역 - 컨테이너 시작점에서 시작, 오른쪽 끝까지 확장 */
.MAIN_bbstab1 .deco_area_right {
  position: absolute;
  bottom: 0px;
  /* 컨테이너 시작점 계산: (100vw - 컨테이너너비) / 2 */
  left: calc((100% - var(--container-width, 1560px)) / 2);
  right: 0; /* 오른쪽 끝까지 */
  width: auto; /* left와 right로 너비 결정 */
  height: 100%;
  pointer-events: none;
  z-index: -1; /* 가장 뒤에 배치 */
}

/* 컨테이너가 뷰포트보다 작을 때만 계산 적용, 뷰포트가 작으면 left:0 */
@media (max-width: 1400px) {
  .MAIN_bbstab1 .deco_area_right {
    left: 0;
  }
}

/* full-right 활성화 시 오른쪽 데코 영역만 잘림 */
.MAIN_bbstab1:has(.tab-content.active .bbs_swiper_wrap.full-right) .deco_area_right {
  overflow: hidden !important;
}


/* 데코 이미지 기본 스타일 - 탭 콘텐츠 뒤에 배치 */
.MAIN_bbstab1 .deco_img {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.MAIN_bbstab1 .deco_img img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 데코 텍스트 기본 스타일 */
.MAIN_bbstab1 .deco_txt {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* PC/모바일 표시 제어 */
.MAIN_bbstab1 .wg_pc_only {
  display: block;
}

.MAIN_bbstab1 .wg_mo_only {
  display: none;
}

@media only all and (max-width:767px) {
  .MAIN_bbstab1 .wg_pc_only {
    display: none;
  }
  .MAIN_bbstab1 .wg_mo_only {
    display: block;
  }
}

/* 관리자 모드 - 데코 이미지 편집 가능 상태 */
.MAIN_bbstab1 .deco_area.admin_mode {
  pointer-events: auto;
}

.MAIN_bbstab1 .deco_area.admin_mode .deco_img {
  pointer-events: auto;
  cursor: pointer;
  outline: 2px dashed transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s ease;
}

.MAIN_bbstab1 .deco_area.admin_mode .deco_img:hover {
  outline-color: #f59e0b;
}

/* ================================================
   데코 이미지 위치 예시 (참고용)
   실제 사용 시 위젯 CSS 필드에서 오버라이드
   ================================================ */

/*
[예시 1] 우측 상단 장식
.MAIN_bbstab1 .deco_img_6_1 {
  top: -30px;
  right: 20px;
  width: 180px;
}

[예시 2] 좌측 하단 장식
.MAIN_bbstab1 .deco_img_6_2 {
  bottom: -20px;
  left: -40px;
  width: 120px;
  opacity: 0.8;
}

[예시 3] 배경 이미지 스타일
.MAIN_bbstab1 .deco_img_7_1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0.1;
  z-index: 0;
}
*/


.MAIN_bbstab1 .deco_img_5_1 {
  top: 0px;
  left: auto !important; /* left 해제 - right 기준으로 배치 */
  right: 0px;
  width: 150%; height: 630px;
  opacity: 0.8; z-index: 0; text-align: right; border-radius: 0px 80px 0px 0px; overflow: hidden;
}
.MAIN_bbstab1 .deco_img_5_1 img{ position: absolute; right: 0px; top: 0px
}

.MAIN_bbstab1 .deco_txt_5_1 {
  position: absolute !important;
  top: auto !important;
  bottom: 0px;
  left: 5%;
  right: auto !important;
  width: 150%; /* 컨테이너 기준 */
  height: 630px;
  opacity: 0.8;
  z-index: -1;
  text-align: right;

  background-color: #e6e9f0;
  border-radius: 0px 0px 0px 40px;
}
.MAIN_bbstab1 .deco_txt_5_1:before {content: "\eb19";    font-family: unicons-line;
  position: absolute !important;
  top: auto !important;
  bottom: 0px;
  left:100%;
  right: auto !important;
  width:100%; /* 컨테이너 기준 */
  height: 630px;
  opacity: 0.8;
  z-index: -1;
  text-align: right;
  overflow: hidden;
  background-color: #000;
  background-color: #e6e9f0;
}


/* ================================================
   탭 라벨 컬러 스타일
   ================================================ */

/* 라벨 컬러가 설정된 탭 버튼 - 기본 상태 */
.MAIN_bbstab1 .tab_area .tabs .tab.has-label-color {
  --tab-label-color: #10b981; /* 기본 컬러 (fallback) */
  border-color: #e5e7eb;
  color: #333;
  background: #fff;
}

/* 라벨 컬러 탭 - 호버 상태 */
.MAIN_bbstab1 .tab_area .tabs .tab.has-label-color:hover {
  border-color: var(--tab-label-color);
  background: var(--tab-label-color);
  color: #fff;
}

/* 라벨 컬러 탭 - 활성화 상태 (on) - 전체 배경색 라벨컬러, 폰트 흰색 */
.MAIN_bbstab1 .tab_area .tabs .tab.has-label-color.on {
  border-color: var(--tab-label-color);
  background: var(--tab-label-color);
  color: #fff;
}

/* 화살표 아이콘 - 기본적으로 숨김 */
.MAIN_bbstab1 .tab_area .tabs .tab .tab-arrow-icon {
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.MAIN_bbstab1 .tab_area .tabs .tab .tab-arrow-icon:hover {
  transform: scale(1.1);
}

.MAIN_bbstab1 .tab_area .tabs .tab .tab-arrow-icon i {
  font-size: 16px;
  line-height: 1;
}

/* 활성화된 탭에서만 화살표 아이콘 표시 */
.MAIN_bbstab1 .tab_area .tabs .tab.has-label-color.on .tab-arrow-icon {
  display: flex;
}

/* PC에서 라벨 컬러 탭 패딩 조정 (화살표 공간 확보) */
@media only all and (min-width:768px) {
  .MAIN_bbstab1 .tab_area .tabs .tab.has-label-color {
    padding: 13px 20px;
  }

  .MAIN_bbstab1 .tab_area .tabs .tab.has-label-color.on {
    padding: 13px 15px 13px 20px;
  }
}

/* 모바일에서 라벨 컬러 탭 패딩 조정 */
@media only all and (max-width:767px) {
  .MAIN_bbstab1 .tab_area .tabs .tab.has-label-color {
    padding: 10px 15px;
  }

  .MAIN_bbstab1 .tab_area .tabs .tab.has-label-color.on {
    padding: 10px 12px 10px 15px;
  }

  .MAIN_bbstab1 .tab_area .tabs .tab .tab-arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: 6px;
  }

  .MAIN_bbstab1 .tab_area .tabs .tab .tab-arrow-icon i {
    font-size: 14px;
  }
}


/* ================================================
   빈 리스트 스타일 및 네비게이션 숨김
   ================================================ */

/* 빈 슬라이드 스타일 - 일반 슬라이드와 동일한 크기 유지 */
.MAIN_bbstab1 .empty-slide {
  width: 100%;
}

.MAIN_bbstab1 .empty-slide .empty_li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin: 0;
  padding: 40px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
}

/* 빈 리스트일 때 네비게이션(화살표, 스크롤바) 숨김 */
.MAIN_bbstab1 .bbs_swiper_wrap:has(.empty-slide) .swiper-nav-bottom {
  display: none !important;
}

/* :has 미지원 브라우저용 클래스 (JS로 추가) */
.MAIN_bbstab1 .bbs_swiper_wrap.has-empty-slide .swiper-nav-bottom {
  display: none !important;
}


/* ================================================
   모바일 스와이퍼 레이아웃 - 100% + 양옆 패딩
   ================================================ */

@media only all and (max-width:767px) {
  /* 모바일에서 full-right 확장 해제 - 100% 유지 */
  .MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right {
    width: 100%;
    overflow: hidden;
  }

  .MAIN_bbstab1 .tab-content.active .bbs_swiper_wrap.full-right .content-swiper {
    width: 100%;
    overflow: hidden;
    clip-path: none;
  }

  /* 모바일 스와이퍼 양옆 패딩 */
  .MAIN_bbstab1 .bbs_swiper_wrap {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .MAIN_bbstab1 .content-swiper {
    width: 100%;
  }
}

