/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  color: #2a2a2a;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
nav.gnb ul {
  display: flex;
  gap: 24px;
}
nav.gnb a {
  font-size: 15px;
  color: #444;
  transition: color 0.2s;
}
nav.gnb a:hover { color: #d17b8a; }

/* ===== Blog Cards Section ===== */
.blog-section {
  padding: 60px 0 40px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f2f2f2;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-body {
  padding: 20px;
}
.blog-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  line-height: 1.4;
}
.blog-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.blog-excerpt {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Banner Section ===== */
.banner-section {
  padding: 40px 0;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.banner-item {
  aspect-ratio: 1/1;
  background: #f7f7f7;
  border-radius: 6px;
  overflow: hidden;
}
.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-banner {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 6/1;
  background: linear-gradient(90deg, #f5c6cf, #e9a7b3);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
}
.cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(209,123,138,0.75), rgba(233,167,179,0.75));
  z-index: 1;
}
.cta-banner span {
  position: relative;
  z-index: 2;
}

hr.divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 40px 0;
}

/* ===== Hero Section ===== */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: #fdf6f7;
}
.hero-section h1 {
  font-size: 34px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero-section h1 small {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  margin-top: 8px;
}
.hero-section p.lead {
  font-size: 16px;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Consultation CTA Section ===== */
.consult-section {
  text-align: center;
  padding: 50px 20px;
}
.consult-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2a2a2a;
}
.consult-section p {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}
.btn-consult {
  display: inline-block;
  background: #d17b8a;
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-consult:hover {
  background: #b96473;
  transform: translateY(-2px);
}

/* ===== Info Sections ===== */
.info-section {
  padding: 50px 20px;
  border-top: 1px solid #f2f2f2;
}
.info-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 18px;
  text-align: center;
}
.info-section p {
  font-size: 15.5px;
  color: #444;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.info-section ul.checklist {
  max-width: 500px;
  margin: 20px auto 0;
  padding-left: 0;
}
.info-section ul.checklist li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 15.5px;
  color: #444;
  border-bottom: 1px dashed #eee;
}
.info-section ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: #d17b8a;
  font-weight: 700;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 60px 20px;
  background: #fafafa;
}
.faq-section h2 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #2a2a2a;
}
.faq-section > .container > p.faq-intro {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: #fdf6f7; }
.faq-question::after {
  content: "+";
  font-size: 22px;
  color: #d17b8a;
  transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
  content: "−";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== Disclaimer ===== */
.disclaimer {
  padding: 30px 20px;
  background: #f5f5f5;
  text-align: center;
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}
.disclaimer .container { max-width: 900px; }

/* ===== Footer ===== */
footer.site-footer {
  padding: 30px 20px;
  background: #2a2a2a;
  color: #bbb;
  text-align: center;
  font-size: 13px;
}
footer.site-footer a { color: #fff; font-weight: 500; }

/* ===== Floating Call Button ===== */
.float-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #d17b8a;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(209,123,138,0.4);
  font-weight: 600;
  z-index: 200;
  font-size: 15px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 16px 20px 0;
}
.breadcrumb a { color: #d17b8a; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Article Hero ===== */
.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: #f2f2f2;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.6) 100%);
}
.article-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 20px 34px;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.article-hero-title h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto;
}

/* ===== Article Meta ===== */
.article-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  color: #999;
  font-size: 14px;
  padding: 18px 20px 0;
}

/* ===== Table of Contents ===== */
.article-toc {
  max-width: 760px;
  margin: 30px auto 0;
  background: #fdf6f7;
  border: 1px solid #f3dde1;
  border-radius: 10px;
  padding: 20px 26px;
}
.article-toc h2 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #2a2a2a;
}
.article-toc ol {
  padding-left: 20px;
  list-style: decimal;
}
.article-toc li {
  margin-bottom: 6px;
}
.article-toc a {
  color: #555;
  font-size: 14.5px;
}
.article-toc a:hover { color: #d17b8a; }

/* ===== Article Body ===== */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}
.article-body h2 {
  font-size: 22px;
  margin: 44px 0 14px;
  color: #2a2a2a;
  font-weight: 700;
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-size: 17px;
  margin: 26px 0 10px;
  color: #2a2a2a;
  font-weight: 700;
}
.article-body p {
  font-size: 15.5px;
  color: #444;
  margin-bottom: 14px;
}
.article-body ul.plain {
  margin: 0 0 16px;
  padding-left: 0;
}
.article-body ul.plain li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15px;
  color: #444;
  border-bottom: 1px dashed #eee;
}
.article-body ul.plain li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #d17b8a;
  font-weight: 700;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.article-table th, .article-table td {
  border: 1px solid #eee;
  padding: 12px;
  text-align: left;
}
.article-table th {
  background: #fdf6f7;
  color: #2a2a2a;
}
.article-callout {
  background: #fdf6f7;
  border-left: 4px solid #d17b8a;
  padding: 16px 20px;
  margin: 24px 0;
  color: #555;
  font-size: 15px;
  border-radius: 0 8px 8px 0;
}

/* ===== Related Posts ===== */
.related-section {
  padding: 20px 20px 50px;
  background: #fafafa;
}
.related-section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 24px;
  color: #2a2a2a;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.related-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.related-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.related-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card h3 {
  font-size: 13.5px;
  padding: 12px;
  color: #333;
  line-height: 1.4;
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section h1 { font-size: 26px; }
  .hero-section h1 small { font-size: 17px; }
  .article-hero-title h1 { font-size: 24px; }
}
@media (max-width: 600px) {
  nav.gnb { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { padding: 40px 20px; }
  .hero-section h1 { font-size: 22px; }
  .info-section h2, .faq-section h2, .consult-section h2 { font-size: 20px; }
  .article-hero { aspect-ratio: 4/3; }
  .article-hero-title h1 { font-size: 20px; }
  .article-meta { flex-direction: column; gap: 4px; }
}
