@charset "utf-8";

/* ============================================================
   OFFSET_SW - 오프셋 스와이퍼 (연합/멤버 카드 좌우 자동 슬라이드)
   - 다크 반투명 배경 위에 흰색 텍스트
   - 상단 바 라인 + 도트 장식
   - 로그인/회원가입 dashed pill 버튼
   - hover 시 포인트 컬러 전환
   ============================================================ */

.OFFSET_SW {
  width: 100%;
  float: left;
  position: relative;
  overflow: hidden;
}

/* ── wrap: 100vw 브레이크아웃 ── */
.OFFSET_SW .ofsw_wrap {
  width: 100%;
  float: left;
  position: relative;
  overflow: hidden;
  padding: clamp(30px, calc(2.34vw + 22.5px), 60px) 0;
}

/* ── 스와이퍼 ── */
.OFFSET_SW .ofsw_swiper {
  width: 100%;
  overflow: visible;
}

.OFFSET_SW .ofsw_swiper .swiper-wrapper {
  display: flex;
}

/* ── 슬라이드 아이템 ── */
.OFFSET_SW .ofsw_item {
  position: relative;
  float: left;
  padding-right: clamp(15px, calc(1.17vw + 11.25px), 30px);
  cursor: default;
}

/* ── 상단 바 ── */
.OFFSET_SW .ofsw_bar {
  width: calc(100% - 30px);
  float: left;
  height: 2px;
  background-color: rgba(204, 204, 204, 0.6);
  margin-bottom: clamp(25px, calc(1.17vw + 21.25px), 40px);
  position: relative;
}

/* 바 컬러 채움 (왼→오 모션) */
.OFFSET_SW .ofsw_bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary, var(--div-color1, #fe1616));
  transition: width 0.5s ease;
}

.OFFSET_SW .ofsw_item:hover .ofsw_bar::after {
  width: 100%;
}

/* 바 우측 도트 장식 */
.OFFSET_SW .ofsw_bar::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 100%;
  position: absolute;
  right: -45px;
  top: -2.5px;
  background-color: rgba(204, 204, 204, 0.6);
  transition: background-color 0.3s ease 0.4s;
  z-index: 1;
}

.OFFSET_SW .ofsw_item:hover .ofsw_bar::before {
  background-color: var(--primary, var(--div-color1, #fe1616));
}

/* ── 텍스트1: 메인 타이틀 ── */
.OFFSET_SW .ofsw_tx1 {
  width: 100%;
  float: left;
  color: #fff;
  font-size: clamp(22px, calc(0.47vw + 20.5px), 28px);
  font-weight: 800;
  margin-bottom: clamp(6px, calc(0.31vw + 5px), 10px);
  letter-spacing: -1px;
  line-height: 120%;
  word-break: keep-all;
}

.OFFSET_SW .ofsw_tx1 em {
  color: #fff;
  font-weight: 800;
  font-style: normal;
  transition: color 0.3s ease;
}

.OFFSET_SW .ofsw_item:hover .ofsw_tx1 em {
  color: var(--primary, var(--div-color1, #fe1616));
}

/* ── 텍스트2: 설명 ── */
.OFFSET_SW .ofsw_tx2 {
  width: 100%;
  float: left;
  color: #fff;
  font-size: clamp(14px, calc(0.16vw + 13.5px), 16px);
  font-weight: 400;
  margin-bottom: clamp(18px, calc(0.94vw + 15px), 30px);
  letter-spacing: -0.5px;
  line-height: 130%;
}

/* ── 멤버 버튼 영역 ── */
.OFFSET_SW .ofsw_memberbox {
  width: 100%;
  float: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  box-sizing: border-box;
  gap: 10px;
}

/* 공통 버튼 스타일 */
.OFFSET_SW .ofsw_login,
.OFFSET_SW .ofsw_join {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: auto;
  padding: clamp(10px, calc(0.39vw + 8.75px), 15px) clamp(18px, calc(0.55vw + 16.25px), 25px);
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.OFFSET_SW .ofsw_login em,
.OFFSET_SW .ofsw_join em {
  padding-left: 10px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  line-height: 100%;
  transition: color 0.3s ease;
}

/* hover */
.OFFSET_SW .ofsw_login:hover,
.OFFSET_SW .ofsw_join:hover {
  border-color: var(--primary, var(--div-color1, #fe1616));
  color: var(--primary, var(--div-color1, #fe1616));
}

.OFFSET_SW .ofsw_login:hover em,
.OFFSET_SW .ofsw_join:hover em {
  color: var(--primary, var(--div-color1, #fe1616));
}

/* ── 연합사 가입 상태 버튼 ── */
.OFFSET_SW .ofsw_join.ofsw_st_ok {
  border-color: rgba(22, 163, 74, 0.6);
  color: rgba(22, 163, 74, 0.9);
  cursor: default;
}
.OFFSET_SW .ofsw_join.ofsw_st_ok em {
  color: rgba(22, 163, 74, 0.9);
}
.OFFSET_SW .ofsw_join.ofsw_st_ok:hover {
  border-color: rgba(22, 163, 74, 0.8);
  color: rgba(22, 163, 74, 1);
}
.OFFSET_SW .ofsw_join.ofsw_st_wait {
  border-color: rgba(217, 119, 6, 0.6);
  color: rgba(217, 119, 6, 0.9);
}
.OFFSET_SW .ofsw_join.ofsw_st_wait em {
  color: rgba(217, 119, 6, 0.9);
}
.OFFSET_SW .ofsw_join.ofsw_st_wait:hover {
  border-color: rgba(217, 119, 6, 0.8);
  color: rgba(217, 119, 6, 1);
}

/* ── 빈 슬라이드 ── */
.OFFSET_SW .empty_li {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 20px;
}

/* ============================================================
   반응형
   ============================================================ */

/* 태블릿 */
@media screen and (max-width: 1024px) {
  .OFFSET_SW .ofsw_bar::before {
    right: -25px;
  }
}

/* 모바일 */
@media screen and (max-width: 640px) {
  .OFFSET_SW .ofsw_wrap {
    padding: 20px 0;
  }

  .OFFSET_SW .ofsw_bar {
    width: 100%;
    height: 1px;
    margin-bottom: 20px;
  }

  .OFFSET_SW .ofsw_bar::before {
    right: -20px;
    width: 6px;
    height: 6px;
  }

  .OFFSET_SW .ofsw_tx1 {
    font-size: 22px;
  }

  .OFFSET_SW .ofsw_tx2 {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .OFFSET_SW .ofsw_login,
  .OFFSET_SW .ofsw_join {
    padding: 10px 20px;
    font-size: 12px;
    border-width: 1px;
  }
}
