/* 로밍 센터 안내 페이지 스타일 — Figma IN0003~IN0007(PC)/MIN0003~MIN0007(MO) 기준, .rc-page__content 스코프 자체완결 */

.rc-page__content {
  display: block;
  width: 100%;
  background: #FFFFFF;
}

.rc-page__content * {
  box-sizing: border-box;
}

.rc-list {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

/* ----------------------------------------------------------
   타이틀
   ---------------------------------------------------------- */
.rc-list__header {
  padding: 100px 10px 0;
}

.rc-list__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.32px;
  color: #000000;
}

/* ----------------------------------------------------------
   공항 탭 (bg #f3f5f6 pill, 활성=검정 필. 모바일=좌우 스와이프+우측 그라데이션 딤)
   ---------------------------------------------------------- */
.rc-list__tabs {
  position: relative;
  margin-top: 40px;
}

.rc-tabs-scroll {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-radius: 40px;
}

.rc-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.rc-page__content .filter-tabs.rc-tabs {
  display: flex;
  align-items: center;
  width: 100%;
  background: #F3F5F6;
  border-radius: 40px;
}

.rc-page__content .rc-tabs .filter-tabs__tab {
  flex: 1 0 0;
  min-width: 0;
  height: 56px;
  padding: 10px;
  border: 0;
  border-radius: 40px;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #000000;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

/* PC: EN Incheon 탭 <br> 숨김 → 한 줄 (앞 공백으로 단어 간격 유지) */
.rc-page__content .rc-tabs .filter-tabs__tab br {
  display: none;
}

.rc-page__content .rc-tabs .filter-tabs__tab--active {
  background: #000000;
  color: #FFFFFF;
  font-weight: 700;
}

.rc-tabs-dim {
  display: none;
}

/* ----------------------------------------------------------
   공항 패널 (PC: 지도 590px + 정보 우측, 세로 중앙 정렬)
   ---------------------------------------------------------- */
.rc-panel {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
}

/* display:flex 가 UA 의 [hidden]{display:none} 을 덮어쓰므로 명시적으로 재선언(탭 전환 필수) */
.rc-panel[hidden] {
  display: none;
}

.rc-panel__map {
  flex: 0 0 590px;
  width: 590px;
  background: #fcfcfc;
  overflow: hidden;
  border: 1px solid #dddddd;
  border-radius: 12px; /* PC */
}

.rc-panel__map picture {
  display: block;
  width: 100%;
}

.rc-panel__map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: none;
}

.rc-panel__info {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
}

.rc-panel__name {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.24px;
  color: #000000;
}

.rc-loc__place {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #000000;
}

.rc-loc__hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #000000;
}

.rc-loc__bar {
  width: 1px;
  height: 10px;
  background: #DDDDDD;
}

.rc-panel__divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #EEEEEE;
}

.rc-panel__note {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #666666;
}

/* ----------------------------------------------------------
   모바일
   ---------------------------------------------------------- */
@media (max-width: 1279.98px) {
  .rc-list {
    padding: 0 20px 80px;
  }

  .rc-list__header {
    padding: 20px 4px 0;
  }

  .rc-list__title {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -0.22px;
  }

  .rc-list__tabs {
    margin-top: 20px;
  }

  .rc-tabs-scroll {
    border-radius: 60px;
  }

  .rc-page__content .filter-tabs.rc-tabs {
    width: max-content;
    min-width: 100%;
    height: auto;
    min-height: 48px;
    align-items: stretch;
    border-radius: 60px;
  }

  .rc-page__content .rc-tabs .filter-tabs__tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 102px;
    height: auto;
    min-height: 48px;
    padding: 4px 16px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.14px;
    text-align: center;
    white-space: normal; /* EN Incheon T1/T2 2줄(<br>) 허용 */
  }

  .rc-page__content .rc-tabs .filter-tabs__tab br {
    display: unset; /* MO: 2줄 */
  }

  /* Figma MIN0003: 탭 양끝 그라데이션 딤 — 스크롤 가능 + 선택 탭이 끝에 없으면 .is-on */
  .rc-tabs-dim {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    min-height: 48px;
    height: auto;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  .rc-tabs-dim.is-on {
    opacity: 1;
  }

  .rc-tabs-dim--left {
    left: 0;
    border-radius: 40px 0 0 40px;
    background: linear-gradient(to right, #f3f5f6 27%, rgba(243, 245, 246, 0) 75%);
  }

  .rc-tabs-dim--right {
    right: 0;
    border-radius: 0 40px 40px 0;
    background: linear-gradient(to left, #f3f5f6 27%, rgba(243, 245, 246, 0) 75%);
  }

  .rc-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin-top: 40px;
  }

  .rc-panel__map {
    flex: none;
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 8px; /* MO */
  }

  .rc-panel__info {
    padding: 0 4px;
  }

  .rc-panel__name {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -0.22px;
  }

  .rc-loc__place,
  .rc-loc__hours,
  .rc-panel__note {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.14px;
  }
  .rc-page__content{
    padding-top: 56px;
  }
}
