@charset "UTF-8";

/* @import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css'); */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@supports (-webkit-touch-callout: none) {

  html,
  body {
    overflow-x: hidden;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* 기본 */
html {

  transition: font-size 0.25s ease-in-out;
}

/* 크게 */
html.font-lg {
  font-size: 18px;
}

.link-unstyled {
  color: inherit;
  text-decoration: none;
}

.link-unstyled:hover {
  color: inherit;
  text-decoration: none;
}

.menu_txt {
  font-size: 1.2rem;
  width: 40px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .menu_txt {
    font-size: 1rem;
  }
}

/* 메뉴 버튼 위치 */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1051;
}

body.offcanvas-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ===== 전체 메뉴 레이어 ===== */
.fullmenu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1050;

  /* 등장 애니메이션 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* offcanvas 열렸을 때 */
.fullmenu.show {
  opacity: 1;
  visibility: visible;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
}

/* 기본 헤더 상태 */
.header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* 스크롤 시 헤더 */
.header.scrolled {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.top_logo {
  height: 80px;
}

/* offcanvas 기본 transform 제거 */
.offcanvas {
  transform: none !important;
}

/* 내부 콘텐츠 영역 */
.fullmenu .offcanvas-body {
  background: transparent;
  color: #fff;
}

/* 링크 컬러 */
.fullmenu a {
  color: #fff;
}

.fullmenu a:hover {
  text-decoration: underline;
}

/* 닫기 버튼 흰색 */
.fullmenu .btn-close {
  filter: invert(1);
}

.offcanvas-backdrop {
  display: none;
}

.header {
  transition: background-color .3s ease, box-shadow .3s ease;
  z-index: 1040;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header .btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: #57b3ad;
}

.gnb_link .gnb_screen img,
.gnb_link .gnb_font img {
  height: 70px;
}

/* =========================
   퀵메뉴 위치 & 등장 효과
========================= */
.quick-menu {
  position: fixed;
  right: 32px;
  bottom: 120px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1000;

  /* ▶ 오른쪽에서 등장 */
  opacity: 0;
  transform: translateX(40px);
  animation: quickMenuIn 0.8s ease forwards;
}

/* 등장 애니메이션 */
@keyframes quickMenuIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   퀵메뉴 위치 (컨테이너)
========================= */
.quick-menu {
  position: fixed;
  right: 32px;
  bottom: 120px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1000;
}

/* =========================
   아이콘 공통 스타일
========================= */
.quick-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);

  color: #fff;
  font-size: 18px;

  /* ▶ 기본 숨김 상태 */
  opacity: 0;
  transform: translateX(48px);

  animation: quickItemIn 0.6s ease forwards;
}

.quick-icon img {
  width: 30px;
  height: auto;
}

/* hover */
.quick-icon:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-3px);
}

/* =========================
   차례대로 등장 딜레이
========================= */
.quick-menu .quick-icon:nth-child(1) {
  animation-delay: 0.1s;
}

.quick-menu .quick-icon:nth-child(2) {
  animation-delay: 0.2s;
}

.quick-menu .quick-icon:nth-child(3) {
  animation-delay: 0.3s;
}

.quick-menu .quick-icon:nth-child(4) {
  animation-delay: 0.4s;
}

.quick-menu .quick-icon:nth-child(5) {
  animation-delay: 0.5s;
}

.quick-menu .quick-icon:nth-child(6) {
  animation-delay: 0.6s;
}

/* ⚠️ 5번째는 divider라 건너뜀 */

/* =========================
   구분선
========================= */
.quick-divider {
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 6px 0;
}

/* =========================
   애니메이션 정의
========================= */
@keyframes quickItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TOP 버튼 */
.quick-top {
  border: none;
  cursor: pointer;
}

.quick-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);

  /* 초기 숨김 상태 */
  opacity: 0;
  transform: translateX(20px);
}

.menu-close-btn {
  font-weight: 600;
  letter-spacing: -0.02em;
}

@keyframes quickIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quick-item.show {
  animation: quickIn 0.4s ease forwards;
}

.zine_number {
  font-size: 1rem !important;
}

/* 반응형 */
@media (max-width: 768px) {
  .top_logo {
    height: 60px;
  }

  .zine_number {
    font-size: 1rem !important;
  }

  .gnb_link .gnb_screen img,
  .gnb_link .gnb_font img {
    height: 50px;
  }

  .sub_top_title {
    font-size: 2rem;
    word-break: keep-all;
  }

}

/* 모바일 아코디언 메뉴 */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a:focus {
  text-decoration: underline;
}

/* 다크톤 아코디언 */
.accordion-button {
  background: transparent;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-body {
  background: transparent;
}

/* 아코디언 전체 배경 제거 */
.accordion,
.accordion-item {
  background-color: transparent;
  border: none;
}

.accordion-item {
  border-bottom: rgba(255, 255, 255, 0.4) 1px solid;
}

/* 헤더 버튼 배경 제거 */
.accordion-button {
  background-color: transparent !important;
  color: #fff;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

/* 열렸을 때도 배경 제거 */
.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  color: #fff;
  box-shadow: none;
}

/* 기본 화살표 아이콘 색상 조정 */
.accordion-button::after {
  filter: invert(1);
}

/* 아코디언 바디 배경 제거 */
.accordion-body {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.accordion-body ul li {
  padding-bottom: 15px;
  border-bottom: rgba(255, 255, 255, 0.2) 1px solid;
}

.accordion-body ul li:last-child {
  border-bottom: none !important;
}

/* 테두리 제거 */
.accordion-flush .accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 아코디언 버튼 포커스/클릭 테두리 제거 */
.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-header .accordion-button {
  font-size: 1.4rem !important;
  font-weight: 700;
}

/* 클릭(active) 상태에서도 제거 */
.accordion-button:not(.collapsed) {
  box-shadow: none;
}

/* 키보드 접근 포커스까지 완전 제거 (Bootstrap 5.3+) */
.accordion-button:focus-visible {
  box-shadow: none;
  outline: none;
}


/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 0;
  font-size: 0.875rem;
}

/* 로고 */
.footer-logo img {
  max-height: 36px;
}

/* 정보 텍스트 */
.footer-info p {
  margin: 0;
  line-height: 1.6;
}

/* 우측 유틸 */
.footer-util {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* SNS */
.footer-sns {
  display: flex;
  gap: 8px;
}

.footer-sns a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
}

.footer-sns a img {
  width: 22px;
}

/* TOP 버튼 */
.btn-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* ===== 모바일 ===== */
@media (max-width: 991px) {

  .footer-logo,
  .footer-info {
    text-align: center;
  }

  .footer-util {
    justify-content: center;
  }
}

/* -----------------
    Discover 
  -----------------*/

.discover-section small {
  font-weight: 500;
}

.swiper-wrap {
  position: relative;
  padding: 0 60px;
  /* 버튼 공간 확보 */
}

/* 버튼 공통 */
.custom-nav {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

/* 왼쪽 */
.swiper-button-prev.custom-nav {
  left: 0;
}

/* 오른쪽 */
.swiper-button-next.custom-nav {
  right: 0;
}

/* 아이콘 색상 */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 30px;
}

.mainSwiper {
  height: auto;
}

/* 오른쪽 컬럼을 기준으로 */
.discover-swiper .col-lg-6.position-relative {
  position: relative;
}

.discover-swiper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}



.thumbSwiper .swiper-slide {
  height: auto;
  opacity: 0.4;
  cursor: pointer;
  transition: 0.3s;
}

.thumbSwiper .swiper-slide-thumb-active {
  opacity: 1;

}

.textSwiper .swiper-slide {
  height: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: #000;
}

@media (max-width: 768px) {
  .swiper-wrap {
    padding: 0 40px;
  }

  .custom-nav {
    width: 40px;
    height: 40px;
  }

  .discover-swiper h5 {
    margin: 10px auto;
    text-align: center;
  }

  .discover-swiper h3 {
    margin: 10px auto;
    text-align: center;
  }

  .discover-swiper p {
    margin: 10px auto;
    text-align: center;
  }

  .discover-swiper .btn {
    display: flex !important;
    width: fit-content;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* -----------------
    connect 
  -----------------*/
.connect-section {
  background-color: #5b56a3;
}

.connect-section small {
  font-weight: 500;
}

/* 카드 */
.connect-card {
  color: #fff;
}

.connect-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.connect-card {
  height: 100%;
  overflow: hidden;
  /* ✅ 범위 밖 차단 */
  transition: transform .3s ease;
}

.connect-card .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.connect-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  border-radius: 10px;
}

@media (hover: none) {
  .connect-link:hover .thumb img {
    transform: none;
  }
}

.connect-link:hover .thumb img {
  transform: scale(1.08);
}

.connect-card .category {
  display: inline-block;
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 10px;
  padding: 4px 30px;
  border: #fff 1px solid;
  border-radius: 30px;
}

.connect-card .title {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
}

@media (max-width: 768px) {
  .connect-card .title {
    font-size: 1rem;
  }
}

/* Swiper */
.connectSwiper .swiper-slide {
  width: auto;
}

/* 컨트롤 버튼 */
.connect-nav button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  position: relative;
}

/* 화살표 */
.connect-nav button::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.connect-button-prev::after {
  transform: rotate(-135deg);
}

.connect-button-next::after {
  transform: rotate(45deg);
}

/* -----------------
    refresh 
  -----------------*/
.refresh-section {
  background: #fde6cf;
  padding: 80px 0;
}

.refresh-section small {
  font-weight: 500;
}

/* ===== PC GRID ===== */
.refresh-grid {
  display: grid;
  grid-auto-rows: 1fr;
  /* 모든 셀 높이 균등 */
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.refresh-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* 텍스트 가독성용 그라데이션 */
.refresh-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.refresh-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.refresh-overlay-text {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  /* 오버레이 위 */
  color: #fff;
}

.refresh-overlay-text .badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 1rem;
  margin-bottom: 12px;
}

.refresh-overlay-text .title {
  font-size: 1.4rem;
  line-height: 1.4;
}


/* ===== MOBILE CARD ===== */
.refresh-card {
  background: #fff;
  height: 300px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

/* 이미지 */
.refresh-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 가독성용 그라데이션 */
.refresh-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.35) 35%,
      rgba(0, 0, 0, 0.15) 60%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

/* 텍스트 오버레이 */
.refresh-card .refresh-overlay-text {
  position: absolute;
  left: 16px;
  bottom: 16px;
  /* 모바일은 하단 배치가 안정적 */
  z-index: 2;
  color: #fff;
}

.refresh-card .refresh-overlay-text .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.refresh-card .refresh-overlay-text .title {
  font-size: 1rem;
  line-height: 1.4;
}

/* Swiper spacing */
.refreshSwiper {
  padding-right: 20px;
}

/* 링크 기본 리셋 */
.refresh-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* 카드 공통 */
.refresh-item,
.refresh-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  /* ✅ 이미지 hover 시 영역 밖 방지 */
}

/* 이미지 */
.refresh-item img,
.refresh-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* hover 효과 (PC 위주) */
@media (hover: hover) {
  .refresh-link:hover img {
    transform: scale(1.08);
  }
}


/* ===== REFRESH 배경 ===== */
.refresh-section {
  background: #fde6cf;
  padding: 80px 0;
}

.cartoon-section small {
  font-weight: 500;
}


/* 큰 세로 */
.item-lg {
  grid-row: span 2;
}

/* 작은 상단 */
.item-sm {
  height: 200px;
}

/* 하단 가로 */

.item-wide {
  grid-column: span 2;
}

.thumbSwiper .swiper-slide {
  width: auto;
  /* slidesPerView:auto 대비 */
}

.thumb-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumb-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;

}

.thumb-title {
  font-size: 1rem;
  text-align: center;
  margin: 0;

  line-height: 1.4;
}

.thumbSwiper .swiper-slide-thumb-active .thumb-title {
  font-weight: 700;

}

/* offcanvas 하단 고정 영역 */
.offcanvas-footer {
  position: sticky;
  bottom: 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 버튼 스타일 */
.footer-cta {
  display: block;
  padding: 12px 8px;
  background: #E06B2D;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-cta:hover,
.footer-cta:focus {
  background: #c85d26;
  color: #fff;
  box-shadow: 0 4px 10px rgba(224, 107, 45, 0.35);
}

/* 모바일 터치 영역 강화 */
@media (max-width: 575px) {
  .footer-cta {
    font-size: 0.85rem;
    padding: 14px 6px;
  }
}

.menu-quick {
  padding-top: 40px;
  position: sticky;
  bottom: 40px;
}

.menu-quick .quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-decoration: none;

  transition: all 0.25s ease;
}

.menu-quick .quick-icon img {
  width: 38px;
  height: 38px
}

.menu-quick .quick-icon:hover {
  background: #00AAA5;
  color: #000;
  transform: translateY(-3px);
}

/* 모바일 하단 고정 영역 */
.mobile-menu-fixed {
  position: fixed;
  bottom: 80px;
  left: 0;
  width: 100%;
  z-index: 1055;
  padding: 30px;
  transition: transform .3s ease, opacity .3s ease;
}

.mobile-menu-fixed.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

/* 헤더 링크 */
.mobile-menu-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* SNS 영역 */
.mobile-menu-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 아이콘 사이즈 보정 */
.mobile-menu-sns .quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;


  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 18px;
}

.s2_1_icon {
  width: 70px;
  height: auto;
}