/* =========================================
   HOME PAGE — 원본 사이트 정밀 매칭
   브랜드 컬러: #FF1493 / #ec4899 / #db2777
   ========================================= */

body.page-home {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
}
body.page-home * { box-sizing: border-box; }
body.page-home img { max-width: 100%; display: block; }

/* ========== SECTION HEADING (공통: 각 섹션 위 헤더) ========== */
.section-heading {
  text-align: center;
  padding: 60px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.section-heading h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 0 0 24px 0;
}
.section-heading h2 .black { color: #000; }
.section-heading h2 .pink { color: #FF1493; }
.section-heading hr {
  border: none;
  border-top: 1px solid #d1d5db;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 24px;
}
.section-heading p {
  font-size: 18px;
  color: #444;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

/* ========== TOP BAR (Hero 위 핑크 띠) ========== */
.top-bar {
  background: #FF1493;
  padding: 32px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar p {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

/* ========== HERO SECTION (원본 매칭) ========== */
.hero-section {
  position: relative;
  min-height: 944px;
  background-image: url('assets/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: #FF1493;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 9px 24px 11px 24px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  letter-spacing: -1.5px;
}
.hero-title .highlight { color: #FF1493; }
.hero-title .normal { color: #222; }

/* ========== SECTION 2: CAROUSEL (3x3 GRID) ========== */
.guide-carousel-section {
  padding: 30px 0 100px;
  background: #fdf2f8;
  position: relative;
  overflow: hidden;
}
.guide-carousel-section .section-heading {
  padding-top: 60px;
}
.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card-item {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid #ec4899;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
  transition: all 0.3s ease;
  color: inherit;
}
.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.18);
  border-color: #db2777;
}
.card-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.card-content { padding: 24px; }
.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #db2777;
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.card-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 16px 0;
  line-height: 1.8;
}
.card-link-text {
  font-size: 14px;
  font-weight: 600;
  color: #ec4899;
  transition: color 0.2s;
}
.card-item:hover .card-link-text { color: #db2777; }

/* ========== SECTION 3: SERVICES (2x2 INFO) ========== */
.services-section {
  padding: 30px 0 80px;
  background: #fff;
}
.services-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.info-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #fce7f3;
}
.info-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.15);
  border-color: #f9a8d4;
}
.info-image {
  width: 100%;
  height: 350px;
  background-color: #fdf2f8;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}
.info-card:hover .info-image { transform: scale(1.05); }
.info-content { padding: 30px; }
.info-title {
  font-size: 20px;
  color: #db2777;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.3;
}
.info-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ========== SECTION 4: SERVICE DETAIL (5개 카드) ========== */
.service-wrapper {
  padding: 30px 20px 100px;
  width: 100%;
  background: #fdf2f8;
}
.service-container {
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  display: grid;
  gap: 120px;
  margin-bottom: 80px;
  align-items: center;
}
.service-card:last-child { margin-bottom: 0; }
.service-image { grid-area: image; }
.service-content { grid-area: content; }
.service-card:nth-child(odd) {
  grid-template-columns: 1fr 480px;
  grid-template-areas: "content image";
}
.service-card:nth-child(even) {
  grid-template-columns: 480px 1fr;
  grid-template-areas: "image content";
}
.service-image {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #fdf2f8;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-subtitle {
  color: #db2777;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.service-content h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 20px 0;
  color: #1a1a1a;
}
.service-description {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ========== SECTION 5: PROCESS (3단계) ========== */
.process-section {
  padding: 30px 0 100px;
  background: #ffffff;
}
.process-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.process-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 60px;
}
.process-item {
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.12);
}
.process-thumb {
  flex: 0 0 50%;
  max-width: 50%;
  height: 420px;
  overflow: hidden;
}
.process-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.process-item:hover .process-thumb img { transform: scale(1.05); }
.process-content {
  flex: 1;
  padding: 40px 48px 40px 0;
}
.process-item.reverse { flex-direction: row-reverse; }
.process-item.reverse .process-content { padding: 40px 0 40px 48px; }
.process-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #ec4899;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.process-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.process-title span { color: #ec4899; }
.process-desc {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.8;
  margin: 0 0 20px 0;
}
.process-badge { display: inline-block; }
.process-badge span {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 20px;
}
.process-cta { text-align: center; }
.process-btn {
  display: inline-block;
  padding: 18px 48px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}
.process-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

/* ========== SECTION 5-B: 추천 상품권 (PC 전용) ========== */
.giftcard-section {
  padding: 43px 0 30px;
  background: #fdf2f8;
}
.giftcard-section .section-heading {
  padding-top: 0;
  margin-bottom: 10px;
}
.giftcard-section .section-heading p strong {
  color: #db2777;
}
.giftcard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.giftcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}
.giftcard-item {
  width: 100%;
  max-width: 335px;
  height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.giftcard-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.18);
}
.giftcard-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PC 전용 - 모바일 숨김 */
@media (max-width: 991px) {
  .giftcard-section {
    display: none;
  }
}

/* ========== SECTION 6: REVIEWS (스와이퍼) ========== */
.reviews-section {
  overflow: hidden;
  position: relative;
  padding: 30px 0 100px 0;
  background: #fff;
}
.reviews-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.reviews-swiper-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.reviews-swiper { overflow: hidden; }
.review-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #fce7f3;
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
  border-color: #f9a8d4;
}
.review-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #fdf2f8;
}
.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.review-card:hover .review-image img { transform: scale(1.05); }
.review-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}
.review-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-info strong {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.review-info span {
  font-size: 14px;
  color: #888;
}
.cardset-tit {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #db2777;
  line-height: 1.4;
  margin: 0;
}
.cardset-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}
.reviews-section .swiper-pagination {
  position: static;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.reviews-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #f9a8d4;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px;
  border-radius: 6px;
}
.reviews-section .swiper-pagination-bullet-active {
  background: #db2777;
  width: 32px;
}

/* ========== SECTION 7: CHECKLIST ========== */
.checklist-section {
  padding: 30px 0 100px;
  background: #fdf2f8;
  position: relative;
  overflow: hidden;
}
.checklist-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.checklist-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.checklist-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px 80px 24px;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #ec4899;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.checklist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.15);
  border-color: #db2777;
}
.card-text { position: relative; z-index: 1; }
.card-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #db2777;
  margin: 0 0 20px 0;
  line-height: 1.4;
}
.card-text p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.9;
  margin: 0 0 30px 0;
}
.card-icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  z-index: 0;
}
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* 안내 박스 */
.notice-box {
  max-width: 100%;
  margin: 35px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  padding: 28px;
  border: 2px solid #ec4899;
}
.notice-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
  padding-left: 18px;
  padding-top: 16px;
}
.notice-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}
.notice-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}
.notice-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  counter-reset: notice;
}
.notice-list li {
  position: relative;
  padding: 16px 10px 16px 68px;
  color: #1f2937;
  line-height: 1.65;
  border-top: 1px solid #e5e7eb;
  font-size: 15px;
}
.notice-list li:first-child { border-top: 0; }
.notice-list li::before {
  counter-increment: notice;
  content: counter(notice, decimal-leading-zero) ".";
  position: absolute;
  left: 18px;
  top: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #ec4899;
  font-size: 18px;
}

/* ========== SECTION 8: FAQ ========== */
.faq {
  padding: 30px 0 100px 0;
  background: #fff;
}
.faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.faq-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.faq-item:hover {
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.1);
  border-color: #f9a8d4;
}
.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  line-height: 1.5;
  font-family: inherit;
}
.faq-question:hover {
  background: #fdf2f8;
  color: #db2777;
}
.faq-icon {
  font-size: 28px;
  color: #ec4899;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer.active { max-height: 1500px; }
.faq-text {
  padding: 0 30px 28px;
  color: #555;
  line-height: 1.9;
  font-size: 16px;
  word-break: keep-all;
  margin: 0;
  font-family: inherit;
}
.faq-text strong {
  color: #db2777;
  font-weight: 700;
}

/* ========== SECTION 9: 최신 뉴스 & 칼럼 (참조 imweb gift-card.imweb.me 1:1) ========== */
/* 섹션 배경(pink) + 내부 max-width 1280 */
body.page-home .home-news-section {
  background: #fdf2f8;
  padding: 0;
}
body.page-home .home-news-section .inside {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}
body.page-home .home-news-section .board-padding {
  width: 100%;
  min-height: 1px;
  height: 30px;
}

/* 텍스트 위젯: h2 48px (imweb 카드깡(black) + 공백(purple) + 최신 뉴스&칼럼(pink #FF006E)) */
body.page-home .home-news-section .board-heading-text {
  padding: 15px 0;
}
body.page-home .home-news-section .board-heading-text .text-table {
  text-align: center;
}
body.page-home .home-news-section .board-heading-text .text-table h2 {
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
}
body.page-home .home-news-section .board-heading-text .text-table hr {
  border: none;
  border-top: 1px solid #d1d5db;
  max-width: 100%;
  margin: 0;
}
body.page-home .home-news-section .board-heading-text .text-table p {
  margin: 0;
}

/* 게시판 위젯 컨테이너 */
body.page-home .home-news-section .widget.board {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

/* table_top : 카운트 헤더 + 검색 */
body.page-home .home-news-section .table_top {
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
}
body.page-home .home-news-section .table_top .col-dz-12 {
  width: 100%;
  padding: 0;
}
body.page-home .home-news-section .board-head {
  padding: 0 0 14px;
  border-bottom: 2px solid #212121;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
body.page-home .home-news-section .board-head .heading {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
body.page-home .home-news-section .board-head .heading header {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  letter-spacing: -0.3px;
}
body.page-home .home-news-section .board-head .heading em {
  font-style: normal;
  color: #FF1493;
  font-weight: 700;
  margin-left: 6px;
  font-size: 16px;
}
body.page-home .home-news-section .board-head .btn-write {
  display: none;
}
body.page-home .home-news-section .board-head .tools {
  min-width: 240px;
}
body.page-home .home-news-section .board-head .tools .input-group {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 3px 5px 3px 18px;
}
body.page-home .home-news-section .board-head .tools .form-control {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  padding: 7px 0;
  font-size: 13px;
  color: #333;
  min-width: 0;
}
body.page-home .home-news-section .board-head .tools .form-control::placeholder {
  color: #999;
}
body.page-home .home-news-section .board-head .tools .ico-search {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: #212121;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}
body.page-home .home-news-section .board-head .tools .ico-search svg {
  display: block;
}
body.page-home .home-news-section .board-head .tools .icon-magnifier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* sr-only */
body.page-home .home-news-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 카드 그리드 — imweb: 4-col PC, 2-col mobile, 15px gutter */
body.page-home .home-news-section .list-style.grid_02 {
  display: block;
  margin: -7.5px -7.5px 0;
}
body.page-home .home-news-section .list-style.grid_02 .post_row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}
body.page-home .home-news-section .list-style.grid_02 .list-style-card {
  width: 25%;
  box-sizing: border-box;
}
body.page-home .home-news-section .list-style.grid_02 .ma-item {
  padding: 7.5px;
  display: block;
  box-sizing: border-box;
  height: 100%;
}
body.page-home .home-news-section .list-style.grid_02 .card {
  border: 1px solid #eee;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  height: 100%;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
body.page-home .home-news-section .list-style.grid_02 .holder.blocked {
  display: block;
  height: 100%;
  cursor: pointer;
}
body.page-home .home-news-section .list-style.grid_02 .post_link_wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
body.page-home .home-news-section .list-style.grid_02 .ma-item:hover .card {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* 썸네일 — 가로 100%, 정사각형 (imweb img_ratio 100) */
body.page-home .home-news-section .card-thumbnail-wrap,
body.page-home .home-news-section .card_wrapper {
  width: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
}
body.page-home .home-news-section .card-head._img_wrap {
  width: 100%;
  height: 272px; /* 인라인 스타일로도 지정됨 */
}
body.page-home .home-news-section .card-head._img_wrap > span {
  display: none;
}

/* 카드 본문 */
body.page-home .home-news-section .card-body {
  padding: 18px 16px 8px;
  background: #fff;
  flex: 1;
}
body.page-home .home-news-section .card-body .title.title-block {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
}
body.page-home .home-news-section .text.text-block,
body.page-home .home-news-section .text.text-block.show_body {
  display: none;
}

/* 카드 푸터 — like_btn / icon-bubble 둘 다 display:none이라 비어있음 */
body.page-home .home-news-section .card-foot {
  padding: 0 16px;
  background: #fff;
  min-height: 0;
}
body.page-home .home-news-section .card-foot .float_l {
  width: auto;
}

/* 카드 요약 — avatar(32x32) + tools(writer/date/조회) */
body.page-home .home-news-section .card-summary {
  padding: 0 16px 16px;
  background: #fff;
}
body.page-home .home-news-section .card-summary .avatar {
  display: table;
  padding: 0;
}
body.page-home .home-news-section .card-summary .avatar .img_wrap {
  display: table-cell;
  vertical-align: middle;
}
body.page-home .home-news-section .card-summary .avatar .img_wrap img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 50%;
  display: block;
}
body.page-home .home-news-section .card-summary .tools {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  padding: 0;
  line-height: 1.2;
  color: #000;
}
body.page-home .home-news-section .card-summary .tools .writer {
  font-size: 12px;
  color: #757575;
  display: block;
}
body.page-home .home-news-section .card-summary .tools small {
  font-size: 11px;
  color: #757575;
  display: block;
}
body.page-home .home-news-section .card-summary .tools small i {
  font-style: normal;
  margin-right: 3px;
}

/* li_footer — 글쓰기 버튼 (imweb처럼 우측, 데스크탑만) */
body.page-home .home-news-section .li_footer {
  display: none;
}

/* 페이지네이션 — imweb paging-block 1:1 (icon-arrow-left/right) */
body.page-home .home-news-section .paging-block {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
body.page-home .home-news-section .pagination {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
body.page-home .home-news-section .pagination li {
  display: inline-flex;
}
body.page-home .home-news-section .pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 0;
  font-size: 13px;
  color: #555;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s;
}
body.page-home .home-news-section .pagination li a:hover {
  color: #212121;
}
body.page-home .home-news-section .pagination li.active a {
  color: #FF1493;
  font-weight: 700;
}
body.page-home .home-news-section .pagination li a.disabled {
  color: #ccc;
  pointer-events: none;
}
body.page-home .home-news-section .pagination li a.disabled:hover {
  color: #ccc;
}
/* 화살표 (imweb icon-arrow-left/right) */
body.page-home .home-news-section .pagination li a .icon-arrow-left,
body.page-home .home-news-section .pagination li a .icon-arrow-right {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
body.page-home .home-news-section .pagination li a .icon-arrow-left {
  transform: rotate(135deg);
}
body.page-home .home-news-section .pagination li a .icon-arrow-right {
  transform: rotate(-45deg);
}

/* ---- 반응형: <= 991px → 3-col, <= 767px → 2-col, <= 480px → 2-col 작게 ---- */
@media (max-width: 991px) {
  body.page-home .home-news-section .list-style.grid_02 .list-style-card {
    width: 33.3333%;
  }
  body.page-home .home-news-section .list-style.grid_02 .post_row {
    flex-wrap: wrap;
  }
  body.page-home .home-news-section .card-head._img_wrap {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 767px) {
  body.page-home .home-news-section .list-style.grid_02 .list-style-card {
    width: 50%;
  }
  body.page-home .home-news-section .board-heading-text .text-table h2 span[style*="font-size: 48px"] {
    font-size: 28px !important;
  }
  body.page-home .home-news-section .board-head .tools {
    width: 100%;
    min-width: auto;
  }
  body.page-home .home-news-section .board-padding {
    height: 15px;
  }
}
@media (max-width: 480px) {
  body.page-home .home-news-section .inside {
    padding: 0 10px;
  }
  body.page-home .home-news-section .list-style.grid_02 {
    margin: -5px -5px 0;
  }
  body.page-home .home-news-section .list-style.grid_02 .ma-item {
    padding: 5px;
  }
  body.page-home .home-news-section .card-body {
    padding: 14px 12px 6px;
  }
  body.page-home .home-news-section .card-body .title.title-block {
    font-size: 13px;
  }
  body.page-home .home-news-section .card-summary {
    padding: 0 12px 12px;
  }
  body.page-home .home-news-section .card-summary .avatar .img_wrap img {
    width: 26px;
    height: 26px;
    margin-right: 8px;
  }
}

/* ========== MODAL (이메일 무단수집 / 개인정보처리방침) ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
  display: flex;
  flex-direction: column;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e5e5e5;
  background: #f8f9fa;
  flex-shrink: 0;
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.modal-close:hover {
  background: #e5e5e5;
  color: #1a1a1a;
}
.modal-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}
.modal-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 28px 0 12px 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}
.modal-body h4:first-of-type {
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}
.modal-body p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 12px;
}
.modal-body ul,
.modal-body ol {
  margin: 12px 0;
  padding-left: 24px;
}
.modal-body li {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 8px;
}
.modal-body .modal-notice {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  color: #888;
}
@media (max-width: 768px) {
  .modal-overlay { padding: 16px; }
  .modal-content { border-radius: 12px; max-height: 85vh; }
  .modal-header { padding: 20px 24px; }
  .modal-title { font-size: 18px; }
  .modal-body { padding: 24px; }
  .modal-body h4 { font-size: 16px; }
  .modal-body p, .modal-body li { font-size: 14px; }
}

/* ========== FLOATING BOTTOM BANNER ========== */
.floBanPc1,
.floBanMob1 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
}
.floBanPc1 .float,
.floBanMob1 .float {
  width: 100%;
  display: flex;
  justify-content: center;
}
.floBanPc1 .float-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  padding: 16px 20px;
  pointer-events: auto;
}
.floBanMob1 .float-container {
  display: flex;
  width: 100%;
  pointer-events: auto;
}
.float-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  animation: floatBlink 1s infinite alternate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.float-btn-sms {
  background: linear-gradient(135deg, #ff6a4a 0%, #ff9b44 52%, #ffe06a 100%);
}
.float-btn-call {
  background: linear-gradient(135deg, #1f9bff 0%, #41d8c7 52%, #6ff08b 100%);
}
.float-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.float-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.float-label {
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.float-num {
  color: #fff;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  white-space: nowrap;
}
.float-arrow {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #ffd653;
  font-size: 44px;
  line-height: 1;
  font-weight: 300;
}
.float-btn-call .float-arrow {
  color: #64e792;
}
body.page-home .floBanPc1 .float-container {
  max-width: 1200px;
  padding: 0 20px 16px;
}
body.page-home .float-btn {
  min-height: 104px;
  padding: 0 22px;
  border-radius: 14px;
}
body.page-home .float-label {
  font-size: 20px;
  line-height: 1.1;
}
body.page-home .float-num {
  font-size: 38px;
  line-height: 1.08;
}
body.page-home .float-arrow {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  font-size: 42px;
}
@keyframes floatBlink {
  from { opacity: 1; }
  to { opacity: 0.82; }
}

/* PC 기본: PC 배너만 보임 */
.floBanPc1 { display: block; }
.floBanMob1 { display: none; }

/* body 하단 패딩 (floating banner와 겹침 방지) */
body.page-home {
  padding-bottom: 110px;
}

/* ========================================================
   RESPONSIVE — 기준 레이아웃과 동일한 주요 브레이크포인트 적용
   (1024 / 992 / 991 / 768 / 480)
   ======================================================== */

/* ---- ≤ 1024px : Hero / Top-bar 첫 단계 축소 (참조 1681행) ---- */
@media (max-width: 1024px) {
  .hero-section { min-height: 500px; }
  .hero-title { font-size: 56px; }
  .top-bar p { font-size: 20px; }
}

/* ---- ≤ 992px : 태블릿 — 카드 다단/세로전환 + 모바일 배너 전환 ---- */
@media (max-width: 992px) {
  /* Guide Carousel: 3열 → 2열 (참조 2504행) */
  .guide-carousel-section { padding: 20px 0 80px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Service 5 약속 (참조 4104행) — 세로 스택 */
  .service-wrapper { padding: 20px 20px 80px; }
  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    grid-template-areas: "image" "content";
  }
  .service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 16px;
  }
  .service-content { width: 100%; padding-left: 10px; }
  .service-subtitle { font-size: 14px; }
  .service-content h3 { font-size: 24px; }
  .service-description { font-size: 14px; }

  /* 3단계 절차 (참조 5014행) — 세로 */
  .process-section { padding: 20px 0 80px; }
  .process-list { gap: 32px; margin-bottom: 48px; }
  .process-item, .process-item.reverse { flex-direction: column; gap: 0; }
  .process-thumb { flex: none; max-width: 100%; width: 100%; height: 300px; }
  .process-content,
  .process-item.reverse .process-content { padding: 32px 28px; }
  .process-number { font-size: 13px; margin-bottom: 12px; }
  .process-title { font-size: 22px; }
  .process-desc { font-size: 15px; }
  .process-desc br { display: none; }
  .process-badge span { padding: 6px 16px; font-size: 13px; }

  /* 후기 reviews (참조 7378행) */
  .reviews-section { padding: 20px 0 60px; }
  .review-image { height: 300px; }
  .review-content { padding: 24px 20px; gap: 12px; }
  .review-info strong { font-size: 14px; }
  .review-info span { font-size: 12px; }
  .review-card .cardset-tit { font-size: 16px; }
  .review-card .cardset-desc { font-size: 13px; }
  .reviews-section .swiper-pagination { margin-top: 30px; }

  /* 체크리스트 (참조 8360행): 3열 → 2열 + 섹션 타이틀 28/16 */
  .checklist-section { padding: 20px 0 80px; }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 16px; }

  /* 추천 상품권: PC 전용 (참조 동일) */
  .giftcard-section { display: none; }
}

/* ---- ≤ 991px : 플로팅 배너 PC→모바일 전환 (참조 14369행) ---- */
@media (max-width: 991px) {
  .floBanPc1 { display: none !important; }
  .floBanMob1 { display: block; }
  .floBanMob1 .float-container {
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .floBanMob1 .float-btn {
    flex: 1;
    min-width: 0;
    border-radius: 0;
    padding: 11px 8px;
    gap: 4px;
  }
  .floBanMob1 .float-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 9px;
  }
  .floBanMob1 .float-label {
    font-size: 12px;
  }
  .floBanMob1 .float-num {
    font-size: clamp(13px, 3.8vw, 20px);
  }
  .floBanMob1 .float-arrow {
    display: none;
  }
  body.page-home .floBanMob1 .float-btn {
    padding: 11px 8px;
    border-radius: 0;
  }
  body.page-home .floBanMob1 .float-label {
    font-size: 12px;
  }
  body.page-home .floBanMob1 .float-num {
    font-size: clamp(13px, 3.8vw, 20px);
  }
  body.page-home .floBanMob1 .float-arrow {
    display: none;
  }
}

/* ---- ≤ 768px : 모바일 — 참조 픽셀 그대로 ---- */
@media (max-width: 768px) {
  /* Top bar (참조 1713행) */
  .top-bar { padding: 16px 0; }
  .top-bar p { font-size: 18px; }

  /* Hero (참조 1695행) */
  .hero-section { min-height: 450px; }
  .hero-content { padding: 0 24px; }
  .hero-badge { font-size: 14px; padding: 7px 20px 9px 20px; }
  .hero-title { font-size: 36px; line-height: 1.32; word-break: keep-all; }
  .hero-title .normal, .hero-title .highlight { display: inline; }
  .hero-title br { display: none; }

  /* Section heading */
  .section-heading { padding: 40px 18px 0; }
  .section-heading h2 { font-size: 24px; line-height: 1.35; word-break: keep-all; }
  .section-heading hr { margin-bottom: 18px; }
  .section-heading p { font-size: 14px; line-height: 1.65; }

  /* Carousel — 1열 (참조 2520행) */
  .guide-carousel-section { padding: 0 0 80px; }
  .carousel-container { padding: 0 20px; }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-content { padding: 24px 20px 26px; }
  .card-item h3 { font-size: 16px; }
  .card-item p { font-size: 13px; }

  /* Services info cards — 1열 (참조 3298행) */
  .services-section { padding: 20px 0 60px; }
  .info-grid { grid-template-columns: 1fr; gap: 30px; }
  .info-image { height: 236px; }
  .info-content { padding: 25px; }
  .info-title { font-size: 18px; }

  /* Process (참조 5108행) */
  .process-section { padding: 20px 0 130px; }
  .process-list { gap: 24px; }
  .process-thumb { height: 260px; }
  .process-content,
  .process-item.reverse .process-content { padding: 28px 24px; }
  .process-number { font-size: 12px; margin-bottom: 10px; }
  .process-title { font-size: 20px; margin-bottom: 12px; }
  .process-desc { font-size: 14px; line-height: 1.7; }
  .process-btn { padding: 16px 36px; font-size: 16px; }

  /* Reviews (참조 7441행) */
  .review-image { height: 280px; }
  .reviews-section { padding-bottom: 80px; }

  /* Checklist (참조 8387행) — 1열 */
  .checklist-section { padding: 20px 0 60px; }
  .checklist-wrap { padding: 0 20px; }
  .checklist-grid { grid-template-columns: 1fr; gap: 20px; }
  .checklist-card { padding: 20px 18px 70px 18px; min-height: auto; }

  /* Notice box */
  .notice-box { padding: 22px; }
  .notice-title { font-size: 19px; }
  .notice-list li { padding: 14px 6px 14px 60px; font-size: 14px; }
  .notice-list li::before { left: 14px; top: 12px; font-size: 17px; }

  /* FAQ (참조 9280행) */
  .faq { padding: 18px 0 60px 0; }
  .faq-question { padding: 20px; font-size: 16px; }
  .faq-text { padding: 0 20px 24px; font-size: 15px; line-height: 1.8; }
  .faq-icon { font-size: 24px; }

  /* 홈 뉴스 섹션 모바일 규칙은 SECTION 9 블록 내 @media 에서 처리 (imweb 1:1 매칭) */

  body.page-home .bottom-cta-section {
    padding: 60px 0 70px;
  }
  body.page-home .bottom-cta-section .cta-subtitle {
    line-height: 2.05;
    margin-bottom: 34px;
  }
  body.page-home .bottom-cta-section .cta-btn {
    padding: 18px 28px;
  }

  /* Body 하단 패딩 */
  body.page-home { padding-bottom: 64px; }
}

/* ---- ≤ 480px : 소형 모바일 (참조 1722행) ---- */
@media (max-width: 480px) {
  .hero-section { min-height: 400px; }
  .hero-title { font-size: 28px; }
  .hero-badge { font-size: 13px; padding: 7px 16px 9px 16px; }
  .top-bar p { font-size: 16px; }
  .section-heading h2 { font-size: 22px; }
}
