@charset "UTF-8";

/* 메인a */
.m-bg {
  background: #f5f6f8;
}
.weather {
  display: flex;
  font-size: var(--font-size-xs);
  justify-content: end;
  gap: 8px;
  color: #000;
}
.weather .item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.weather .item .ico {
  margin-top: -3px;
}
.weather .item p {
}
.weather .item p span {
  font-weight: 500;
}
.weather .item p span.low {
  color: var(--Success2);
}
.weather .item p span.high {
  color: var(--Error2);
}

.sc-titbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sc-titbox .sc-tit {
  font-weight: 500;
}
.sc-titbox button {
  font-size: var(--font-size-xs);
  border: 1px solid var(--Stroke);
  border-radius: 100px;
  padding: 4px 9px 3px;
}

.sc {
  background: var(--bs-white);
  border-radius: var(--Radius-14);
  padding: 20px;
  box-sizing: border-box;
}
.sc.sc1 {
}
.sc.sc2 {
  background: #eaeff3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc.sc2::after {
  content: "";
  display: inline-block;
  background: url(../../assets/img/contents/sc2-arrow.svg) center no-repeat;
  width: 13px;
  height: 14px;
}
.sc.sc2 .img {
  width: 58px;
  height: 58px;
  border-radius: var(--Radius-14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc.sc2 .img#sky {
  background: transparent;
}
.sc.sc2 .img#sky img {
  width: 48px;
  height: 48px;
}
.sc.sc2 .cont {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.sc.sc2 .cont .tit {
  font-weight: 500;
}
.sc.sc2 .cont .txt {
  font-size: var(--font-size-xs);
}

.sc.sc3 {
}
.sc.sc3 .sc-titbox {
  margin-bottom: 20px;
}
.sc.sc3 .sc-titbox p.sc-tit {
}
.sc.sc3 .sc-titbox button {
  max-width: 100px;
}
.sc.sc3 .weather-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sc.sc3 .weather-left {
  display: flex;
  align-items: center;
}
.sc.sc3 .weather-left .img {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc.sc3 .weather-left .img img.weather-icon {
  width: 75px;
  height: 75px;
}
.sc.sc3 .weather-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.sc.sc3 .weather-right .temp-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sc.sc3 .weather-right .temp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sc.sc3 .weather-right .temp-label {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}
.sc.sc3 .weather-right .temp-value {
  font-size: 24px;
  font-weight: 700;
}
.sc.sc3 .weather-right .temp-value.low {
  color: var(--Success2);
}
.sc.sc3 .weather-right .temp-value.high {
  color: var(--Error2);
}
.sc.sc3 .weather-right .temp-divider {
  width: 1px;
  height: 30px;
  background: #e0e0e0;
}
.sc.sc3 .exchange {
}
.sc.sc3 .exchange .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc.sc3 .exchange .item .ex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc.sc3 .exchange .item .ex .ico img {
  width: 30px;
}
.sc.sc3 .exchange .item .ex p {
  font-weight: 500;
  font-size: var(--font-size-big);
}
.sc.sc3 .exchange .cont {
  text-align: right;
}
.sc.sc3 .exchange .cont .txt1 {
  font-weight: 500;
}
.sc.sc3 .exchange .cont .txt2 {
  font-size: var(--font-size-s);
}
.sc.sc3 .exchange .cont .txt2 span.high {
  color: var(--Error2);
}
.sc.sc3 .exchange .cont .txt2 span.low {
  color: var(--Success2);
}
.sc.sc3 .exchange .cont .txt2 span::before {
  content: "";
  display: inline-block;
  background: url(../../assets/img/contents/high.svg) left center no-repeat;
  width: 8px;
  height: 7px;
  top: -2px;
  position: relative;
  margin-right: 4px;
}
.sc.sc3 .exchange .cont .txt2 span.high::before {
  background: url(../../assets/img/contents/high.svg) left center no-repeat;
}
.sc.sc3 .exchange .cont .txt2 span.low::before {
  background: url(../../assets/img/contents/low.svg) left center no-repeat;
}

/* 메인a - 커뮤니티 */
.mtab-swiper {
  width: 100%;
  height: 100%;
}

.mtab-swiper .swiper-slide {
  width: auto;
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mtab-swiper .nav-link {
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  border-radius: 999px;
  border: 1px solid #ccc;
  background-color: var(--bs-white) !important;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  color: #333;
}
.mtab-swiper .nav-pills .nav-link.active,
.mtab-swiper .nav-pills .show > .nav-link {
  background: var(--Primary1) !important;
  color: var(--bs-white);
  border-color: var(--Primary1);
}
.mtab-swiper .nav-pills .nav-item .nav-link:not(.active):hover {
}
.mtab-swiper .nav-link span {
  width: 58px;
  height: 58px;
  border: 1px solid var(--Stroke);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mtab-swiper .nav-pills .nav-item .nav-link.active span {
  background: var(--Background1);
}
.mtab .tab-content:not(.doc-example-content) {
  padding: 0;
}

.mtab-cont-swiper {
  width: 100%;
  height: 100%;
}
.mtab-cont-swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mtab-cont-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mtab .box-list a {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--Stroke);
  border-radius: var(--Radius);
  padding: 16px 16px 18px;
  box-sizing: border-box;
  align-items: start;
}
.mtab .box-list .tit {
  width: 90%;
  margin: 10px 0 5px;
  font-size: var(--font-size);
  font-weight: 600;
  text-align: left;
}
.mtab .box-list .txt {
  display: flex;
}
.mtab .box-list dl {
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--font-size-xs);
  color: var(--Greyscale8);
  text-align: left;
  margin-bottom: 1px;
}
.mtab .box-list dl:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  background: var(--Stroke);
  margin: 0 6px;
}
.mtab .box-list dl:last-child:after {
  display: none;
}
.mtab .box-list {
  position: relative;
  font-weight: 400;
  margin-right: 4px;
  word-break: keep-all;
  width: 100% !important;
}
.mtab .box-list a {
  width: 100% !important;
}
.mtab .box-list dl dd {
  position: relative;
  font-weight: 400;
  word-break: keep-all;
}
.mtab .box-list dl dd.ellipsis {
  width: 100px;
}

/* 메인a - 안전안내문자 */
.notice-wrap {
  position: relative;
  overflow: hidden; /* 중요: 밖으로 넘치는 걸 잘라줌 */
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

/* Swiper 자체는 넘치도록(=옆 카드 살짝 보이도록) */
.notice-swiper {
  overflow: visible; /* 중요 */
  padding: 0 16px; /* 화면 가장자리와 카드가 붙지 않도록 */
}

/* 핵심: slidesPerView:'auto'를 쓰면서 카드 너비를 컨테이너보다 약간 작게 */
.notice-swiper .swiper-slide {
  width: calc(100% - 14px);
}

/* 카드 스타일(샘플) */
.notice-swiper .swiper-slide-active .notice-card {
  background: #e6f1eb;
}
.notice-card {
  background: #e8ebec; /* 이미지 참고한 연녹 톤 */
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 13px;
  height: 214px;
  transition: all 0.25s;
}
.notice-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}
.notice-card .badge {
  display: inline-block;
  padding: 5px 9px 6px;
  border-radius: 100px;
  background: #ef4444;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
.notice-card .meta time {
  font-size: var(--font-size-xs);
}
.notice-card p.tit {
  font-size: var(--font-size-big);
  font-weight: 600;
}
.notice-card p.txt {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #464646;
}

/* 페이지네이션 점 */
.notice-wrap .notice-pagination {
  margin-top: 5px;
  text-align: center;
}
.notice-wrap .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #dddee2;
  opacity: 1;
}
.notice-wrap .swiper-pagination-bullet-active {
  background: #5a98f5;
}

/* 메인a - 버튼 */
.main-wrap {
  position: relative;
}
.m-icon {
  position: fixed;
  right: 16px;
  width: 56px;
  height: 56px;
  background: linear-gradient(
    90deg,
    rgba(40, 128, 202, 1) 0%,
    rgba(40, 159, 183, 1) 100%
  );
  border-radius: 100%;
  z-index: 10;
  color: var(--bs-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.m-icon:nth-of-type(1) {
  bottom: 96px;
}
.m-icon:nth-of-type(2) {
  bottom: 20px;
}
.m-icon .ico {
  text-align: center;
}
.m-icon p {
  margin-top: -7px;
  text-align: center;
}
