   /* Pretendard 폰트 */
    @font-face {
      font-family: 'Pretendard';
      src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
      font-weight: 400;
      font-display: swap;
    }
    @font-face {
      font-family: 'Pretendard';
      src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
      font-weight: 600;
      font-display: swap;
    }

    body {
      background: #fffdfb;
      font-family: 'Pretendard', sans-serif;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      min-height: 100vh;
      color: #222;
    }


    h2{
      text-align: center;
    }


    /* 💬 광고문의 버튼 스타일 */
.contact-btn {
  background-color: #1C1C1C;
  color: white;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  margin: 10px 0 25px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.contact-btn:hover {
  background: #4f4f4f;

}

#btn-con{
      display: flex;
    justify-content: center;
}

/* 💬 팝업(모달) 전체 배경 */
.modal {
  display: none; /* 기본은 숨김 */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* 💬 팝업 내부 내용 */
.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  width: 85%;
  max-width: 360px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.modal-content h3 {
  color: #1C1C1C;
  margin-bottom: 10px;
}
.modal-content p {
  font-size: 0.95rem;
  color: #444;
  margin: 5px 0;
  line-height: 1.5;
}
.modal-content .email {
  font-weight: 700;
  color: #1C1C1C;
}
.close-btn {
  background: #1C1C1C;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 0.9rem;
}
.close-btn:hover {
  background: #d44639;
}

/* 팝업 등장 애니메이션 */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

    #logo{
      width: 80px;
      display: flex;
      margin: 20px auto;
    }

    /* 상단 공지 */
    .notice-bar {
      position: sticky;
      top: 0;
      z-index: 9999;
      width: 100%;
      display: flex;
      justify-content: center;
      background: #fff4f3;
      overflow: hidden;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .notice-track {
      width: 100%;
      max-width: 430px;
      white-space: nowrap;
      color: #1C1C1C;
      font-size: 13px;
      font-weight: 600;
      padding: 10px 0;
      display: inline-block;
      transform: translateX(-100%);
      animation: notice-marquee 16s linear infinite;
    }
    @keyframes notice-marquee {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .container {
      width: 100%;
      max-width: 430px; /* 📱 모바일 폭 고정 */
      padding: 20px;
      box-sizing: border-box;
    }

    .profile {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 10px 0 20px 0;
    }

    .profile img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #1C1C1C;
      box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }

    .profile h1 {
      font-size: 1.2rem;
      margin: 10px 0 4px 0;
      font-weight: 600;
    }

    .profile p {
      font-size: 0.85rem;
      color: #666;
      margin: 0;
    }

    /* ✅ header 전체 여백 추가 */
header {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px 20px;  /* 좌우 여백 + 아래 공간 */
  box-sizing: border-box;
}

/* ✅ 검색창 주변에 여백 주기 */
.search-box {
  width: 100%;
  padding: 0 6px;         /* 좌우 살짝 여유 */
  margin: 20px 0 25px;    /* 위/아래 공간 */
  box-sizing: border-box;
  position: relative;     /* 고정 아님 */
}

    /* ✅ input을 '둥둥 떠있는 카드' 느낌으로 */
.search-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid #1C1C1C;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  text-align: center;
  color: #333;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 살짝 그림자 */
  background: #fff;
}

.search-box input:focus {
  background: #fff4f3;
  box-shadow: 0 4px 12px rgba(199,43,32,0.2); /* 포커스 시 부드러운 강조 */
}

    /* 카드 리스트 (단일 열, 모바일형) */
    .feed {
      display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 14px; /* 👈 양옆 여백 추가 */
  box-sizing: border-box;
    }

    .card {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0,0,0,0.05);
      transition: transform 0.2s ease;
      cursor: pointer;

    }

    .card:hover {
      transform: translateY(-2px);
    }

    /* 이미지 영역 */
    .card-img {
      display: flex;
      width: 100%;
      height: 210px;
      overflow: hidden;
    }

    .card-img img {
      width: 100%;
      object-fit: cover;
    }

    .card-img.double img {
      width: 50%;
      border-right: 1px solid #fffdfb;
    }

    .card-content {
      text-align: center;
      padding: 14px 16px;
    }

    .card-title {
      font-size: 0.95rem;
      font-weight: 600;
      color: #222;
      margin: 0 0 6px 0;
      line-height: 1.4;
    }

    .card-number {
      font-size: 0.8rem;
      color: #1C1C1C;
      font-weight: 700;
    }

    .multi-links {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 10px;
    }

    .sub-link {
      background: #fff4f3;
      border: 1px solid #1C1C1C;
      color: #1C1C1C;
      border-radius: 8px;
      padding: 7px 0;
      font-size: 0.85rem;
      text-align: center;
      text-decoration: none;
      transition: 0.2s ease;
    }
    .sub-link:hover {
      background: #1C1C1C;
      color: #fff;
    }

    footer {
      font-size: 12px;
      color: #888;
      text-align: center;
      margin: 20px 0;
      line-height: 1.6;
    }
    footer a{
      text-decoration: none;
      color: #111;
    }

    /* === 두 이미지 슬라이더 (PC: hover, 모바일: tap) === */
.card-img.slider {
  position: relative;
  width: 100%;
  height: 210px;            /* 기존 카드 이미지 높이와 동일 */
  overflow: hidden;
  background: #f9f9f9;
  border-bottom: 1px solid #fffdfb;
}

.card-img .slider-track {
  display: flex;
  width: 200%;              /* 2장 = 200% 폭 */
  height: 100%;
  transform: translateX(0%);
  transition: transform 400ms ease;   /* 부드러운 전환 */
}

.card-img .slide {
  width: 50%;               /* 2장이라 각 50% */
  height: 100%;
  flex: 0 0 50%;
}

.card-img .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC에서 카드 hover 시 오른쪽 이미지로 슬라이드 */
.card:hover .slider-track {
  transform: translateX(-50%);
}

/* 모바일/접근성: 모션 최소화 설정 시 전환 제거 */
@media (prefers-reduced-motion: reduce) {
  .card-img .slider-track {
    transition: none;
  }
}

/* 탭으로 전환된 상태(.toggled) - 모바일에서 사용 */
.card-img.slider.toggled .slider-track {
  transform: translateX(-50%);
}