/* ================================================
   sw_tab_freelink - 스와이퍼 + 외부링크/자유 스타일
   ================================================ */

/* ★ 섹션 배경 (HTML 통째 입력 / 스크롤 고정 / 투명도) */
.sw_tab_freelink.has-sec-bg {
  position: relative;
  isolation: isolate;
}
.sw_tab_freelink_sec_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sw_tab_freelink_sec_bg > * {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.sw_tab_freelink_sec_bg img,
.sw_tab_freelink_sec_bg video,
.sw_tab_freelink_sec_bg iframe,
.sw_tab_freelink_sec_bg canvas,
.sw_tab_freelink_sec_bg svg,
.sw_tab_freelink_sec_bg lottie-player {
  object-fit: cover;
}

/* 스크롤 고정 모드 — 배경만 화면 전체에 고정 (parallax 느낌) */
.sw_tab_freelink.sec-bg-fixed .sw_tab_freelink_sec_bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  inset: auto;
  z-index: -1;
  clip-path: inset(0 0 0 0);
}
.sw_tab_freelink.sec-bg-fixed {
  position: relative;
  z-index: 0;
}

/* 배경 위 본문은 항상 위 레이어 */
.sw_tab_freelink.has-sec-bg > .contents-container,
.sw_tab_freelink.has-sec-bg > .sw_tab_freelink_badge {
  position: relative;
  z-index: 1;
}

/* 헤더 영역 (타이틀 + 더보기) */
.sw_tab_freelink_header {
  position: relative;
  width: 100%;
  float: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(16px, calc(1.56vw + 11px), 30px);
}

.sw_tab_freelink_titles {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.sw_tab_freelink_titles .sub_stit {
  display: block;
  width: 100%;
}

.sw_tab_freelink_more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, calc(0.47vw + 6.5px), 14px);
  font-size: clamp(14px, calc(0.31vw + 13px), 18px);
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sw_tab_freelink_more:hover {
  color: var(--more-hover-color, var(--primary, #111827));
}

.sw_tab_freelink_more:hover .sw_more_circle {
  background: var(--more-hover-color, var(--primary, #111827));
}

.sw_tab_freelink_more:hover .sw_more_txt::after {
  background: var(--more-hover-color, var(--primary, #111827));
}

.sw_tab_freelink_more .sw_more_txt {
  display: inline;
}

.sw_tab_freelink_more .sw_more_txt::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9ca3af;
  margin-left: clamp(8px, calc(0.47vw + 6.5px), 14px);
  vertical-align: middle;
}

.sw_tab_freelink_more .sw_more_circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, calc(1.09vw + 28.5px), 46px);
  height: clamp(32px, calc(1.09vw + 28.5px), 46px);
  border-radius: 50%;
  background: #1f2937;
  color: #fff;
  font-size: clamp(16px, calc(0.47vw + 14.5px), 22px);
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.sw_tab_freelink_more:hover .sw_more_circle {
  transform: translateX(2px);
}

/* ================================================
   탭 영역
   ================================================ */
.sw_tab_freelink_tab_area {
  width: 100%;
  float: left;
}

.sw_tab_freelink_tabs {
  width: 100%;
  float: left;
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: clamp(16px, calc(1.56vw + 11px), 30px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sw_tab_freelink_tabs::-webkit-scrollbar {
  display: none;
}

.sw_tab_freelink_tabs .sw_tab {
  position: relative;
  padding: clamp(12px, calc(0.47vw + 10.5px), 18px) clamp(16px, calc(0.94vw + 13px), 28px);
  font-size: clamp(16px, calc(0.47vw + 14.5px), 22px);
  font-weight: 500;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.sw_tab_freelink_tabs .sw_tab:hover {
  color: #374151;
}

.sw_tab_freelink_tabs .sw_tab.on {
  color: var(--tab-color, #111827);
  font-weight: 700;
  border-bottom-color: var(--tab-color, #111827);
}

.hide-label .label_css,
.hide-label .card_label {
  display: none !important;
}

.sw_tab_freelink_panel {
  width: 100%;
  float: left;
}

.sw_tab_freelink_panel[hidden] {
  display: none !important;
}

.lazy-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 100%;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--main-color, #333);
  border-radius: 50%;
  animation: swtlk_spin 1s linear infinite;
}

@keyframes swtlk_spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================================================
   스와이퍼 래퍼
   ================================================ */
.sw_tab_freelink_swiper_wrap {
  position: relative;
  width: 100%;
  float: left;
}

.sw_tab_freelink_swiper_wrap .content-swiper {
  width: 100%;
  float: left;
  overflow: hidden;
}

/* ★ 오른쪽 화면 끝까지 확장 (bbstab_mix 모달의 full-right 옵션)
   - swiper만 우측 100vw까지 확장
   - 가로 스크롤 방지를 위해 섹션/위젯 root에 가로 마스크 필요 */
.sw_tab_freelink_swiper_wrap.full-right .content-swiper {
  overflow: visible;
  clip-path: inset(0 -100vw 0 0);
}

/* full-right 사용 시 섹션 전체에 가로 마스크 */
.mbt_section:has(.sw_tab_freelink_swiper_wrap.full-right),
.sw_tab_freelink:has(.sw_tab_freelink_swiper_wrap.full-right) {
  overflow-x: clip;
}
/* :has() 미지원 브라우저 대비 — 위젯 root에도 직접 클래스 박을 수 있게 */
.sw_tab_freelink.has-full-right,
.mbt_section.has-full-right {
  overflow-x: clip;
}

/* FOUC 방지 */
.sw_tab_freelink_swiper_wrap .content-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  overflow: hidden;
}

.sw_tab_freelink_swiper_wrap .content-swiper:not(.swiper-initialized) .swiper-slide {
  flex-shrink: 0;
  width: 25%;
  min-width: 0;
}

/* ※ img 강제 규칙은 latest 스킨의 .card_img_inner img { height: 100% } 등을 깨뜨릴 수 있어 제거.
   FOUC 단계의 슬라이드 폭만 잡고 이미지 크기는 latest 스킨에 맡긴다. */

/* ───────────────────────────────────────────────
   TOTAL_CARDIMG1 (.SWCF_totalnotice) 호환 강제
   latest 스킨 CSS 로드 누락/순서 문제 대비 — 썸네일 박스 보장
   ─────────────────────────────────────────────── */
.sw_tab_freelink .swiper-slide.SWCF_totalnotice .card_item {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.sw_tab_freelink .swiper-slide.SWCF_totalnotice .card_img_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ci1-img-ratio, var(--swtl-img-ratio, 16/10));
}
.sw_tab_freelink .swiper-slide.SWCF_totalnotice .card_img,
.sw_tab_freelink .swiper-slide.SWCF_totalnotice .card_img_inner {
  position: absolute;
  inset: 0;
  border-radius: var(--ci1-img-radius, var(--swtl-img-radius, 16px));
  overflow: hidden;
}
.sw_tab_freelink .swiper-slide.SWCF_totalnotice .card_img_inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================
   ★ 사용자 옵션 — CSS 변수가 "있을 때만" 카드 내부 오버라이드
   기본값(옵션 미입력) 상태에서는 latest 스킨 원본 CSS를 절대 건드리지 않음
   ================================================ */

/* ── 이미지 높이 ── (img_height 설정 시에만 적용) */
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .thumb,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .img_box,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .card_img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .item_img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .thumb_box {
  height: var(--swtl-img-height) !important;
  overflow: hidden;
}

/* ── 이미지 비율 ── (img_ratio 설정 시에만 적용) */
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .thumb,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .img_box,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .card_img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .item_img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .thumb_box {
  aspect-ratio: var(--swtl-img-ratio) !important;
  height: auto !important;
  overflow: hidden;
}

/* 이미지 안의 img 태그 — 부모 박스에 맞추기 */
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .thumb img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .img_box img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .card_img img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .item_img img,
.sw_tab_freelink[style*="--swtl-img-height"] .swiper-slide .thumb_box img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .thumb img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .img_box img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .card_img img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .item_img img,
.sw_tab_freelink[style*="--swtl-img-ratio"] .swiper-slide .thumb_box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ── 이미지 라운드 ── (img_radius 설정 시에만) */
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide .thumb,
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide .img_box,
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide .card_img,
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide .item_img,
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide .thumb_box,
.sw_tab_freelink[style*="--swtl-img-radius"] .swiper-slide img {
  border-radius: var(--swtl-img-radius) !important;
}

/* ── 라벨 ── */
.sw_tab_freelink[style*="--swtl-label-size"] .swiper-slide .label_css,
.sw_tab_freelink[style*="--swtl-label-size"] .swiper-slide .card_label,
.sw_tab_freelink[style*="--swtl-label-size"] .swiper-slide .cate,
.sw_tab_freelink[style*="--swtl-label-size"] .swiper-slide .badge {
  font-size: var(--swtl-label-size) !important;
}
.sw_tab_freelink[style*="--swtl-label-color"] .swiper-slide .label_css,
.sw_tab_freelink[style*="--swtl-label-color"] .swiper-slide .card_label,
.sw_tab_freelink[style*="--swtl-label-color"] .swiper-slide .cate,
.sw_tab_freelink[style*="--swtl-label-color"] .swiper-slide .badge {
  color: var(--swtl-label-color) !important;
}
.sw_tab_freelink[style*="--swtl-label-bg"] .swiper-slide .label_css,
.sw_tab_freelink[style*="--swtl-label-bg"] .swiper-slide .card_label,
.sw_tab_freelink[style*="--swtl-label-bg"] .swiper-slide .cate,
.sw_tab_freelink[style*="--swtl-label-bg"] .swiper-slide .badge {
  background-color: var(--swtl-label-bg) !important;
}

/* ── 제목 ── */
.sw_tab_freelink[style*="--swtl-title-size"] .swiper-slide .subject,
.sw_tab_freelink[style*="--swtl-title-size"] .swiper-slide .title,
.sw_tab_freelink[style*="--swtl-title-size"] .swiper-slide .card_title,
.sw_tab_freelink[style*="--swtl-title-size"] .swiper-slide .tit {
  font-size: var(--swtl-title-size) !important;
}
.sw_tab_freelink[style*="--swtl-title-color"] .swiper-slide .subject,
.sw_tab_freelink[style*="--swtl-title-color"] .swiper-slide .title,
.sw_tab_freelink[style*="--swtl-title-color"] .swiper-slide .card_title,
.sw_tab_freelink[style*="--swtl-title-color"] .swiper-slide .tit {
  color: var(--swtl-title-color) !important;
}
.sw_tab_freelink[style*="--swtl-title-weight"] .swiper-slide .subject,
.sw_tab_freelink[style*="--swtl-title-weight"] .swiper-slide .title,
.sw_tab_freelink[style*="--swtl-title-weight"] .swiper-slide .card_title,
.sw_tab_freelink[style*="--swtl-title-weight"] .swiper-slide .tit {
  font-weight: var(--swtl-title-weight) !important;
}

/* ── 내용 ── */
.sw_tab_freelink[style*="--swtl-content-size"] .swiper-slide .content,
.sw_tab_freelink[style*="--swtl-content-size"] .swiper-slide .desc,
.sw_tab_freelink[style*="--swtl-content-size"] .swiper-slide .summary,
.sw_tab_freelink[style*="--swtl-content-size"] .swiper-slide .card_desc,
.sw_tab_freelink[style*="--swtl-content-size"] .swiper-slide .txt {
  font-size: var(--swtl-content-size) !important;
}
.sw_tab_freelink[style*="--swtl-content-color"] .swiper-slide .content,
.sw_tab_freelink[style*="--swtl-content-color"] .swiper-slide .desc,
.sw_tab_freelink[style*="--swtl-content-color"] .swiper-slide .summary,
.sw_tab_freelink[style*="--swtl-content-color"] .swiper-slide .card_desc,
.sw_tab_freelink[style*="--swtl-content-color"] .swiper-slide .txt {
  color: var(--swtl-content-color) !important;
}

/* ================================================
   하단 페이징
   ================================================ */
.sw_tab_freelink_swiper_wrap .paging-wrap {
  width: 100%;
  float: left;
  display: flex;
  align-items: center;
  gap: clamp(12px, calc(0.78vw + 9.5px), 20px);
  margin-top: clamp(16px, calc(1.17vw + 12.25px), 28px);
}

.sw_tab_freelink_swiper_wrap .btn-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sw_tab_freelink_swiper_wrap .btn-prev,
.sw_tab_freelink_swiper_wrap .btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, calc(1.25vw + 40px), 60px);
  height: clamp(44px, calc(1.25vw + 40px), 60px);
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: clamp(18px, calc(0.47vw + 16.5px), 24px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sw_tab_freelink_swiper_wrap .btn-prev:hover,
.sw_tab_freelink_swiper_wrap .btn-next:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.sw_tab_freelink_swiper_wrap .btn-prev.swiper-button-disabled,
.sw_tab_freelink_swiper_wrap .btn-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.sw_tab_freelink_swiper_wrap .swiper-pagination {
  position: relative;
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  border-radius: 2px;
}

.sw_tab_freelink_swiper_wrap .swiper-pagination .swiper-pagination-progressbar-fill {
  background: #374151;
  border-radius: 2px;
}

/* ================================================
   관리자 뱃지
   ================================================ */
.sw_tab_freelink_badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.sw_tab_freelink_badge:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.sw_tab_freelink_badge i {
  font-size: 14px;
}

/* ================================================
   모바일
   ================================================ */
@media only all and (max-width: 767px) {
  .sw_tab_freelink_header {
    margin-bottom: 14px;
  }

  .sw_tab_freelink_more {
    font-size: 13px;
    gap: 6px;
  }

  .sw_tab_freelink_more .sw_more_txt::after {
    width: 3px;
    height: 3px;
    margin-left: 6px;
  }

  .sw_tab_freelink_more .sw_more_circle {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .sw_tab_freelink_tabs {
    margin-bottom: 14px;
  }

  .sw_tab_freelink_tabs .sw_tab {
    padding: 10px 14px;
    font-size: 15px;
  }

  .sw_tab_freelink_swiper_wrap .paging-wrap {
    margin-top: 14px;
    gap: 10px;
  }

  .sw_tab_freelink_swiper_wrap .btn-prev,
  .sw_tab_freelink_swiper_wrap .btn-next {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ================================================
   더보기 위치 프리셋 + 오프셋 + 데코 라인 (sw2 패턴)
   ================================================ */

/* MORE 스킨이 출력하는 wrapper도 헤더 기준 absolute (sw2 패턴) */
.sw_tab_freelink_header .hymore_wrap {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* 위치 옵션 적용 시 더보기를 absolute로 띄움 (기본은 flex 우측끝 자동) */
.sw_tab_freelink_header[data-more-pos] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos] .hymore_wrap,
.sw_tab_freelink_header[data-more-pos-mo] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos-mo] .hymore_wrap,
.sw_tab_freelink_header[style*="--mt"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mt"] .hymore_wrap,
.sw_tab_freelink_header[style*="--mr"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mr"] .hymore_wrap,
.sw_tab_freelink_header[style*="--mb"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mb"] .hymore_wrap,
.sw_tab_freelink_header[style*="--ml"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--ml"] .hymore_wrap {
  position: absolute;
}

/* 제목 밑 */
.sw_tab_freelink_header[data-more-pos="below"] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos="below"] .hymore_wrap {
  position: static;
  margin-top: clamp(8px, calc(0.47vw + 6.5px), 14px);
  align-self: flex-start;
}

/* 우측 상단 */
.sw_tab_freelink_header[data-more-pos="right_top"] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos="right_top"] .hymore_wrap {
  top: 0;
  right: 0;
  bottom: auto;
}

/* 우측 중앙 */
.sw_tab_freelink_header[data-more-pos="right_center"] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos="right_center"] .hymore_wrap {
  top: 50%;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
}
.sw_tab_freelink_header[data-more-pos="right_center"] .sw_tab_freelink_more:hover .sw_more_circle {
  transform: translateX(2px);
}

/* 우측 하단 */
.sw_tab_freelink_header[data-more-pos="right_bottom"] .sw_tab_freelink_more,
.sw_tab_freelink_header[data-more-pos="right_bottom"] .hymore_wrap {
  right: 0;
  bottom: 0;
  top: auto;
}

/* 커스텀 오프셋 PC */
.sw_tab_freelink_header[style*="--mt"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mt"] .hymore_wrap {
  top: var(--mt, auto);
}
.sw_tab_freelink_header[style*="--mr"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mr"] .hymore_wrap {
  right: var(--mr, 0);
}
.sw_tab_freelink_header[style*="--mb"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--mb"] .hymore_wrap {
  bottom: var(--mb, auto);
}
.sw_tab_freelink_header[style*="--ml"] .sw_tab_freelink_more,
.sw_tab_freelink_header[style*="--ml"] .hymore_wrap {
  left: var(--ml, auto);
}

/* 데코 라인 */
.sw_tab_freelink_header[data-deco-line]::after {
  content: '';
  position: absolute;
  left: var(--dl-left, 30%);
  right: var(--dl-right, 70px);
  top: var(--dl-top, auto);
  bottom: var(--dl-bottom, auto);
  height: var(--dl-h, 1px);
  background: var(--dl-color, #ddd);
  pointer-events: none;
}
/* 데코 라인 시작점 도트 */
.sw_tab_freelink_header[data-deco-line][data-deco-dot]::before {
  content: '';
  position: absolute;
  left: calc(var(--dl-left, 30%) + var(--dl-dot-x, -6px));
  top: calc(var(--dl-top, auto) + var(--dl-dot-y, 0px));
  bottom: var(--dl-bottom, auto);
  width: var(--dl-dot-size, 4px);
  height: var(--dl-dot-size, 4px);
  background: var(--dl-dot-color, #222);
  border-radius: 50%;
  pointer-events: none;
}

/* 모바일 더보기 위치 + 오프셋 */
@media only all and (max-width: 767px) {
  /* 모바일 위치 옵션이 명시되면 PC를 덮어씀 */
  .sw_tab_freelink_header[data-more-pos-mo="below"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[data-more-pos-mo="below"] .hymore_wrap {
    position: static;
    margin-top: clamp(8px, calc(0.47vw + 6.5px), 14px);
    align-self: flex-start;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }
  .sw_tab_freelink_header[data-more-pos-mo="right_top"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[data-more-pos-mo="right_top"] .hymore_wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    transform: none;
  }
  .sw_tab_freelink_header[data-more-pos-mo="right_center"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[data-more-pos-mo="right_center"] .hymore_wrap {
    position: absolute;
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }
  .sw_tab_freelink_header[data-more-pos-mo="right_bottom"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[data-more-pos-mo="right_bottom"] .hymore_wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    left: auto;
    transform: none;
  }

  /* 모바일 오프셋 */
  .sw_tab_freelink_header[style*="--mt-mo"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[style*="--mt-mo"] .hymore_wrap {
    top: var(--mt-mo) !important;
  }
  .sw_tab_freelink_header[style*="--mr-mo"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[style*="--mr-mo"] .hymore_wrap {
    right: var(--mr-mo) !important;
  }
  .sw_tab_freelink_header[style*="--mb-mo"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[style*="--mb-mo"] .hymore_wrap {
    bottom: var(--mb-mo) !important;
  }
  .sw_tab_freelink_header[style*="--ml-mo"] .sw_tab_freelink_more,
  .sw_tab_freelink_header[style*="--ml-mo"] .hymore_wrap {
    left: var(--ml-mo) !important;
  }

  /* 모바일 데코라인 숨김 옵션 */
  .sw_tab_freelink_header[data-deco-line][data-deco-line-mo-hide]::after,
  .sw_tab_freelink_header[data-deco-line][data-deco-line-mo-hide]::before {
    display: none;
  }
}
