/* ====== 글 레이아웃 & 타이포 ====== */
.post-wrap { max-width: 980px; margin: 0 auto; padding: 8px 12px; }
.post-hero { text-align:center; margin: 0 0 32px; }
.post-hero img { max-width:100%; height:auto; border-radius:10px; }

.post-title { font-size: 28px; line-height: 1.3; margin: 0 0 20px; font-weight:700; text-align:left; }
.post-lead  {font-size:15px;color:#566174;margin:0 0 18px;line-height:1.8;  text-align:left;}

/* ====== 섹션 ====== */
.post-section {
  margin: 60px 0;               /* 블로그식 넉넉한 여백 */
  padding: 32px 20px;
  border-radius: 12px;
}
.post-section:nth-of-type(odd) { background:#fafafa; }
.post-section:nth-of-type(even){ background:#fdfdfd; }

.post-section h2 {
  font-size: 22px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid #0056b3; /* 강조선 */
  padding-left: 8px;
}
.post-section p {
  margin: 0 0 14px;
  line-height: 1.85;
  color:#222;
}
.post-figure { text-align:center; margin: 20px 0 24px; }
.post-figure img { max-width:100%; height:auto; border-radius:10px; }

/* ====== 배지 (블로그 전용 색상 세트) ====== */
.blog-badge {
  display:inline-block;
  padding:3px 10px;
  border-radius:9999px;
  font-size:13px;
  font-weight:700;
}
.blog-badge.blue   { background:#eef3ff; color:#1a3ea1; }
.blog-badge.green  { background:#e8fff2; color:#1a7a3e; }
.blog-badge.orange { background:#fff3e5; color:#d66a00; }
.blog-badge.pink   { background:#ffeaf1; color:#c2185b; }

/* ====== 인포박스 ====== */
.note, .tip {
  border-left: 4px solid #0056b3;
  background:#f7fbff;
  padding:14px 16px;
  border-radius:8px;
  margin:20px 0;
  line-height:1.7;
}
.tip {
  border-left-color:#1b8f47;
  background:#f5fff7;
}

/* ====== KT 결합 비교표 ====== */
.kt-compare {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: center;
  margin: 16px 0 4px;
}
.kt-compare th,
.kt-compare td {
  border: 1px solid #ccc;
  padding: 10px;
  line-height: 1.5;
}
.kt-compare thead th {
  background: #0056b3;   /* KT 블루 */
  color: #fff;
  font-weight: 700;
}
.kt-compare tbody tr:nth-child(even) {
  background: #f9f9f9;
}
.table-caption {
  font-size:13px; color:#666; margin-top:6px;
  text-align:right;
}

/* ====== 모바일 반응형(표 → 카드형) ====== */
@media (max-width: 768px) {
  .post-title { font-size: 24px; }
  .post-lead  { font-size: 15px; }

  .post-section { margin:40px 0; padding:24px 16px; }
  .post-section h2 { font-size:20px; }

  .kt-compare {
    border: 0;
    font-size: 13px;
  }
  .kt-compare thead { display: none; }
  .kt-compare tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }
  .kt-compare td {
    display: block;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 9px 12px;
  }
  .kt-compare td:last-child { border-bottom: 0; }
  .kt-compare td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0056b3;
  }
}
