/* ===== Base Reset & Typography ===== */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Pretendard-Regular.subset.woff2') format('woff2');
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Pretendard-Bold.subset.woff2') format('woff2');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s, background .2s, opacity .2s, box-shadow .2s, transform .2s
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none
}

ul,
ol {
  list-style: none
}

table {
  border-collapse: collapse;
  width: 100%
}

/* ===== Layout ===== */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem
}

.wrap-sm {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-md {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem
}

/* CPA 클릭 영역: 카드·본문 이미지를 링크로 감쌀 때 */
.cpa-figure-link {
  display: block;
  color: inherit
}

.cpa-figure-link:hover img {
  opacity: .96
}

/* ===== Header ===== */
header {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  position: sticky;
  top: 0;
  z-index: 50
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem
}

#logo {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

#logo:hover {
  opacity: .8
}

#logo svg {
  color: #2563eb;
  width: 2rem;
  height: 2rem;
  margin-right: .5rem
}

#logo span {
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827
}

/* ===== Navigation ===== */
.gnb {
  display: none;
  gap: 1.5rem
}

.gnb-item {
  position: relative
}

.gnb-item>button {
  color: #4b5563;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: .5rem 0
}

.gnb-item>button:hover {
  color: #2563eb
}

.gnb-item>button svg {
  width: 1rem;
  height: 1rem;
  margin-left: .25rem
}

.gnb-link {
  color: #4b5563;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: .5rem 0;
  transition: color .2s
}

.gnb-link:hover {
  color: #2563eb
}

.gnb-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: .25rem
}

.gnb-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 13rem;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .1);
  border: 1px solid #f3f4f6;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  z-index: 50
}

.gnb-item:hover .gnb-menu {
  opacity: 1;
  visibility: visible
}

.gnb-menu a {
  display: block;
  padding: .75rem 1rem;
  font-size: .875rem;
  color: #374151
}

.gnb-menu a:hover {
  background: #eff6ff;
  color: #1d4ed8
}

.gnb-menu a:first-child {
  border-radius: .5rem .5rem 0 0
}

.gnb-menu a:last-child {
  border-radius: 0 0 .5rem .5rem
}

.back-link {
  font-size: .875rem;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center
}

.back-link:hover {
  color: #2563eb
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  margin-right: .25rem
}

/* ===== Hero (index) ===== */
#hero {
  position: relative;
  color: #fff;
  padding: 5rem 0;
  background: #1e3a8a center/cover no-repeat
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 138, .9), rgba(30, 64, 175, .8));
  mix-blend-mode: multiply
}

#hero .wrap {
  position: relative;
  z-index: 10;
  text-align: center
}

.hero-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: #3b82f6;
  color: #dbeafe;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1rem
}

#hero h1 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
  line-height: 1.2
}

#hero .hero-sub {
  font-size: 1.125rem;
  color: #dbeafe;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all;
  line-height: 1.6
}

/* ===== Sections ===== */
.sec {
  padding: 4rem 0
}

.sec-head {
  margin-bottom: 2.5rem;
  text-align: center
}

.sec-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem
}

.sec-head p {
  color: #4b5563
}

.sec-alt {
  background: #fff;
  border-top: 1px solid #e5e7eb
}

.sec-gray {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb
}

/* ===== Card Grid (4-col, index) ===== */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem
}

.card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .07);
  overflow: hidden;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1)
}

.card>img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .5rem
}

.card-body p {
  font-size: .875rem;
  color: #4b5563;
  margin-bottom: 0;
  line-height: 1.65;
  min-height: 0
}

.card-foot {
  padding: 1rem 1.5rem 1.5rem;
  margin-top: auto
}

/* ===== Buttons ===== */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  padding: .625rem 1rem;
  border-radius: .25rem;
  border: 1px solid transparent;
  transition: background .2s
}

.btn-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe
}

.btn-blue:hover {
  background: #dbeafe
}

.btn-indigo {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe
}

.btn-indigo:hover {
  background: #e0e7ff
}

.btn-pink {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8
}

.btn-pink:hover {
  background: #fce7f3
}

.btn-teal {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4
}

.btn-teal:hover {
  background: #ccfbf1
}

.btn-dark {
  background: #1f2937;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  font-weight: 500;
  font-size: .875rem
}

.btn-dark:hover {
  background: #374151
}

/* ===== Alt Card (practical section) ===== */
.alt-card {
  background: #f9fafb;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s
}

.alt-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.alt-card>img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}

.alt-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column
}

.alt-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .5rem
}

.alt-card-body p {
  font-size: .875rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
  line-height: 1.65;
  flex-grow: 1
}

.alt-card-body .btn {
  margin-top: auto;
  display: inline-block
}

/* ===== List Section (instructor) ===== */
.list-box {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb
}

.list-row {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: background .2s
}

.list-row:hover {
  background: #f9fafb
}

.list-row+.list-row {
  border-top: 1px solid #f3f4f6
}

.list-row-info {
  display: flex;
  align-items: center
}

.list-row-info img {
  width: 6rem;
  height: 6rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .5rem;
  margin-right: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  flex-shrink: 0
}

.list-row-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827
}

.list-row-info p {
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-top: .35rem
}

.list-row .btn-dark {
  width: 100%;
  text-align: center;
  padding: .625rem 1.5rem;
  border-radius: .25rem
}

/* ===== Steps ===== */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem
}

.step {
  text-align: center;
  padding: 1.5rem;
  background: #eff6ff;
  border-radius: 1rem;
  border: 1px solid #dbeafe
}

.step-num {
  width: 4rem;
  height: 4rem;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.25rem
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .75rem
}

.step p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.6
}

/* ===== Trust ===== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem
}

.trust-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 1.5rem;
  border-radius: .75rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.trust-icon {
  padding: .75rem;
  border-radius: .5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex
}

.trust-icon svg {
  width: 1.5rem;
  height: 1.5rem
}

.ic-blue {
  background: #dbeafe;
  color: #2563eb
}

.ic-green {
  background: #dcfce7;
  color: #16a34a
}

.ic-yellow {
  background: #fef9c3;
  color: #ca8a04
}

.ic-purple {
  background: #f3e8ff;
  color: #9333ea
}

.trust-item h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: .25rem
}

.trust-item p {
  font-size: .875rem;
  color: #4b5563
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.faq-item {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: .75rem;
  border: 1px solid #f3f4f6
}

.faq-item h4 {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
  display: flex;
  align-items: center
}

.faq-item h4 span {
  color: #2563eb;
  font-size: 1.25rem;
  margin-right: .5rem
}

.faq-item p {
  margin-top: .75rem;
  color: #374151;
  padding-left: 1.75rem;
  line-height: 1.6
}

/* ===== Article (detail pages) ===== */
.breadcrumb {
  display: flex;
  font-size: .875rem;
  color: #6b7280;
  margin-bottom: 1.5rem
}

.breadcrumb ol {
  display: inline-flex;
  align-items: center;
  gap: .25rem
}

.breadcrumb a:hover {
  color: #2563eb
}

.breadcrumb svg {
  width: 1rem;
  height: 1rem;
  margin: 0 .25rem
}

.breadcrumb .current {
  color: #1f2937;
  font-weight: 500
}

.article-wrap {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  border: 1px solid #f3f4f6;
  overflow: hidden
}

.article-header {
  background: #eff6ff;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #dbeafe
}

.article-tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: .25rem;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1rem
}

.article-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 1rem
}

.article-meta {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: .875rem;
  gap: 1rem;
  flex-wrap: wrap
}

.article-meta svg {
  width: 1rem;
  height: 1rem;
  margin-right: .25rem
}

.article-meta>div {
  display: flex;
  align-items: center
}

.article-body {
  padding: 2rem 1.5rem;
  font-size: 1.125rem;
  color: #374151
}

.article-body p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  letter-spacing: -.025em
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: #1e3a8a;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: .5rem
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #374151
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  line-height: 1.8
}

.article-body strong {
  font-weight: 700
}

/* 본문 테이블 스타일 추가 */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
  font-size: 0.9375rem;
}

.article-body th,
.article-body td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
  line-height: 1.6;
}

.article-body th {
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

.article-body tr:nth-child(even) {
  background: #f9fafb;
}

/* 본문: 이미지가 들어간 링크 — 작은 박스, 약 300px, 가운데 정렬 */
.article-body p:has(> a > img) {
  margin: 1.25rem 0;
  text-align: center;
  clear: both
}

.article-body p:has(> a > img) a {
  display: inline-block;
  max-width: 300px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  vertical-align: top
}

.article-body p:has(> a > img) a img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: .5rem;
  border: 1px solid #e5e7eb
}

.article-body p:has(> a > img) a:hover img {
  opacity: .95
}

/* 본문: 텍스트만 있는 단독 CTA 링크 */
.article-body p:has(> a:only-child):not(:has(img)) {
  margin: 1.75rem 0
}

.article-body p:has(> a:only-child):not(:has(img)) a {
  display: block;
  text-align: center;
  padding: .9rem 1.25rem;
  font-weight: 700;
  border-radius: .5rem;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  color: #1e40af;
  box-shadow: 0 2px 6px rgba(37, 99, 235, .12)
}

.article-body p:has(> a:only-child):not(:has(img)) a:hover {
  background: #bfdbfe
}

/* 블로그 하단 관련 글 */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb
}

.related-posts-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #111827
}

.related-posts-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem
}

.related-post-card {
  margin: 0
}

.related-post-link {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  text-decoration: none;
  color: #1f2937;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: border-color .2s, box-shadow .2s
}

.related-post-link:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .08)
}

.related-post-thumb-wrap {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: .5rem;
  overflow: hidden;
  background: #f3f4f6
}

.related-post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.related-post-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  min-width: 0;
  flex: 1
}

.related-post-cert {
  font-size: .75rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: none
}

.related-post-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #111827
}

/* 자격증 페이지 공통 보강 블록 */
.cert-read-more {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb
}

.cert-read-more-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 1rem
}

.cert-read-more p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem
}

.cert-inline-fig {
  margin: 1.5rem 0 0;
  padding: 0;
  background: #f9fafb;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden
}

.cert-inline-fig-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 22rem
}

.lead-box {
  font-weight: 500;
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-left: 4px solid #2563eb;
  border-radius: 0 .5rem .5rem 0
}

.lead-box strong {
  color: #2563eb
}

.thumb-float {
  float: right;
  width: 300px;
  height: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #f3f4f6;
  display: none
}

.thumb-mobile {
  display: block;
  margin: 2rem auto;
  width: 300px;
  height: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  border: 1px solid #f3f4f6
}

/* ===== CTA Boxes ===== */
.cta-mid {
  margin: 3rem 0;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  clear: both
}

.cta-mid h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: .75rem
}

.cta-mid p {
  color: #1d4ed8;
  margin-bottom: 1.5rem
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: .75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
  transition: transform .2s, background .2s
}

.cta-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px)
}

.cta-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .5rem
}

.cta-bottom {
  background: #2563eb;
  padding: 2.5rem 1.5rem;
  text-align: center
}

.cta-bottom h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem
}

.cta-bottom>p {
  color: #dbeafe;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto
}

.cta-bottom strong {
  font-weight: 700
}

.cta-glow {
  position: relative;
  display: inline-block;
  width: 100%
}

.cta-glow::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: #fff;
  border-radius: .75rem;
  filter: blur(8px);
  opacity: .3;
  animation: pulse 2s infinite
}

.cta-main-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #facc15;
  color: #111827;
  font-weight: 800;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: .75rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .15);
  transition: transform .2s, background .2s
}

.cta-main-btn:hover {
  background: #fde047;
  transform: translateY(-2px)
}

.cta-main-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: .5rem
}

@keyframes pulse {

  0%,
  100% {
    opacity: .3
  }

  50% {
    opacity: .15
  }
}

/* ===== Check Grid (recommendations) ===== */
.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem
}

.check-card {
  display: flex;
  align-items: flex-start;
  background: #eff6ff;
  padding: 1rem;
  border-radius: .75rem;
  border: 1px solid #dbeafe
}

.check-card svg {
  color: #2563eb;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .5rem;
  margin-top: .125rem;
  flex-shrink: 0
}

.check-card strong {
  font-weight: 700
}

/* ===== Data Table ===== */
.data-table {
  overflow-x: auto;
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  border-radius: .5rem;
  border: 1px solid #e5e7eb
}

.data-table table {
  background: #fff;
  font-size: .875rem
}

.data-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb
}

.data-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: #374151
}

.data-table tbody tr+tr {
  border-top: 1px solid #f3f4f6
}

.data-table td {
  padding: 1rem 1.5rem;
  color: #4b5563;
  line-height: 1.6
}

.data-table .label {
  font-weight: 500;
  color: #111827;
  background: rgba(249, 250, 251, .5)
}

.data-table .sub {
  font-size: .75rem;
  color: #6b7280;
  font-weight: 400
}

/* ===== Related Certs ===== */
.related {
  margin-top: 3rem
}

.related>h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  border-left: 4px solid #2563eb;
  padding-left: .75rem
}

.rel-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: .5rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow .2s
}

.rel-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.rel-icon {
  padding: .5rem;
  border-radius: .5rem;
  margin-right: 1rem;
  display: flex
}

.rel-icon svg {
  width: 1.5rem;
  height: 1.5rem
}

.ic-pink-bg {
  background: #fce7f3;
  color: #db2777
}

.ic-green-bg {
  background: #dcfce7;
  color: #16a34a
}

.rel-card .rel-title {
  font-weight: 700;
  color: #111827
}

.rel-card .rel-desc {
  font-size: .875rem;
  color: #6b7280
}

/* ===== Responsive ===== */
@media(min-width:640px) {

  .wrap,
  .wrap-sm,
  .wrap-md {
    padding: 0 1.5rem
  }

  #hero {
    padding: 7rem 0
  }

  #hero h1 {
    font-size: 2.25rem
  }

  #hero .hero-sub {
    font-size: 1.25rem
  }

  .sec-head h2 {
    font-size: 1.875rem
  }

  .list-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem
  }

  .list-row-info img {
    width: 7rem;
    height: 7rem;
    margin-right: 1.5rem
  }

  .list-row .btn-dark {
    width: auto
  }

  .article-header {
    padding: 2.5rem
  }

  .article-header h1 {
    font-size: 1.875rem
  }

  .article-body {
    padding: 2.5rem
  }

  .cta-bottom {
    padding: 3rem
  }

  .cta-glow {
    width: auto
  }

  .cta-main-btn {
    width: auto
  }
}

@media(min-width:768px) {
  .gnb {
    display: flex
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .step-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .check-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  #hero h1 {
    font-size: 3rem
  }

  .thumb-float {
    display: block
  }

  .thumb-mobile {
    display: none
  }

  .article-header {
    text-align: left
  }

  .article-meta {
    justify-content: flex-start
  }

  .article-header h1 {
    font-size: 2.25rem
  }
}

@media(min-width:1024px) {

  .wrap,
  .wrap-sm,
  .wrap-md {
    padding: 0 2rem
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr)
  }
}

/* ===== Footer (Updated) ===== */
footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 2rem 0;
  border-top: 1px solid #374151;
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-brand-area .brand {
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
}

.footer-brand-area .disclaimer {
  line-height: 1.6;
  max-width: 52rem;
  margin: 0 auto;
}

.company-info {
  font-style: normal;
  color: #d1d5db;
  line-height: 1.8;
}

.divider {
  margin: 0 0.5rem;
  color: #4b5563;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-inner {
    gap: 2rem;
  }
}

/* ===== Blog Recommendations (Detail Pages) ===== */
.blog-rec-sec {
  padding: 4rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  margin-top: 4rem;
}

.blog-rec-head {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.blog-rec-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
}

.blog-rec-head p {
  color: #64748b;
  margin-top: 0.5rem;
}

.blog-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rec-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  border-color: #2563eb;
}

.rec-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.rec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rec-card:hover .rec-img img {
  transform: scale(1.05);
}

.rec-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rec-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.rec-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.rec-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rec-link::after {
  content: '→';
  transition: transform 0.2s;
}

.rec-card:hover .rec-link::after {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .blog-rec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-rec-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EEAT Metadata Section Styling (Refined) ===== */
.section-references {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.6;
}

.section-references h4 {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0 !important;
  letter-spacing: -0.01em;
}

.section-references ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.section-references ul li {
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 0.75rem;
}

.section-references ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #cbd5e1;
}
