/* ====================================================================
 * 파일명: aeo_styles.css
 * 위치: FTP 업로드 → /css/aeo_styles.css
 * 적용: index.php (그리고 다른 AEO 페이지) <head>에 다음 한 줄 추가
 *       <link rel="stylesheet" href="/css/aeo_styles.css">
 *
 * 목적: 08, 10, 11, 12 등 AEO 콘텐츠 블록의 가독성과 구조감을 확보.
 *       사이트 기존 디자인을 침범하지 않도록 'aeo-' 접두사로 모두 격리.
 * ==================================================================== */

/* ─── 메인 컨테이너 ───────────────────── */
.aeo-main {
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: #222;
  line-height: 1.7;
  max-width: 960px;
  margin: 32px auto;
  padding: 0 16px;
}

/* ─── 히어로 ───────────────────────────── */
.aeo-hero {
  border-bottom: 2px solid #1F3864;
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.aeo-main h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1F3864;
  line-height: 1.4;
  margin: 0 0 16px;
}
.aeo-lead {
  font-size: 16px;
  color: #333;
  margin: 0 0 16px;
}
.aeo-quick {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  color: #555;
}
.aeo-quick li { padding: 4px 0; }
.aeo-quick a { color: #1F3864; text-decoration: none; font-weight: 500; }
.aeo-quick a:hover { text-decoration: underline; }


/* ─── 섹션 공통 ───────────────────────── */
.aeo-section {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #E0E0E0;
}
.aeo-section:first-of-type { border-top: none; padding-top: 0; }

.aeo-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2E74B5;
  margin: 0 0 16px;
  line-height: 1.4;
}
.aeo-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1F3864;
  margin: 20px 0 8px;
}
.aeo-section p { margin: 0 0 12px; font-size: 15px; }

/* 직접 답변 — AEO 핵심 시각 강조 */
.aeo-answer {
  background: #F4F8FB;
  border-left: 4px solid #2E74B5;
  padding: 16px 20px;
  margin: 0 0 16px;
  border-radius: 4px;
  font-size: 15px;
  color: #1F3864;
}
.aeo-answer strong { color: #1F3864; }


/* ─── 진료 분야 그리드 ─────────────────── */
.aeo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.aeo-card {
  background: #FFF;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 18px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.aeo-card:hover {
  box-shadow: 0 4px 12px rgba(31, 56, 100, 0.08);
  transform: translateY(-1px);
}
.aeo-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1F3864;
}
.aeo-card p { font-size: 14px; color: #444; margin: 0 0 8px; }
.aeo-card a {
  color: #2E74B5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.aeo-card a:hover { text-decoration: underline; }


/* ─── 진료 절차 단계 ───────────────────── */
.aeo-steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 16px 0;
}
.aeo-steps li {
  counter-increment: steps;
  position: relative;
  padding: 16px 16px 16px 56px;
  margin: 0 0 12px;
  background: #FAFAFA;
  border-radius: 6px;
}
.aeo-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2E74B5;
  color: #FFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.aeo-steps h3 { margin: 0 0 4px; font-size: 16px; }
.aeo-steps p { margin: 0; font-size: 14px; color: #555; }


/* ─── FAQ ──────────────────────────────── */
.aeo-faq article {
  background: #FFF;
  border: 1px solid #E8E8E8;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 0 0 12px;
}
.aeo-faq h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1F3864;
}
.aeo-faq p { margin: 0; font-size: 14px; color: #333; }


/* ─── 신뢰 정보 ─────────────────────────── */
.aeo-trust {
  background: #F8F8F8;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 13px;
  color: #555;
}
.aeo-trust h2 {
  font-size: 14px !important;
  color: #888 !important;
  margin: 0 0 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.aeo-trust p { margin: 0 0 8px; font-size: 13px; }


/* ─── CTA 링크 ─────────────────────────── */
.aeo-cta {
  display: inline-block;
  padding: 8px 16px;
  background: #2E74B5;
  color: #FFF !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 8px;
}
.aeo-cta:hover { background: #1F3864; }


/* ─── 표 ───────────────────────────────── */
.aeo-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.aeo-section th, .aeo-section td {
  border: 1px solid #DDD;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.aeo-section th {
  background: #1F3864;
  color: #FFF;
  font-weight: 700;
}
.aeo-section tr:nth-child(even) td { background: #FAFAFA; }


/* ─── 빵부스러기 ───────────────────────── */
.aeo-breadcrumb {
  font-size: 13px;
  color: #888;
  margin: 16px 0 24px;
}
.aeo-breadcrumb a { color: #2E74B5; text-decoration: none; }
.aeo-breadcrumb a:hover { text-decoration: underline; }


/* ─── 모바일 반응형 ─────────────────────── */
@media (max-width: 640px) {
  .aeo-main { padding: 0 12px; margin: 16px auto; }
  .aeo-main h1 { font-size: 22px; }
  .aeo-section h2 { font-size: 18px; }
  .aeo-section h3 { font-size: 15px; }
  .aeo-quick { flex-direction: column; gap: 6px; }
  .aeo-grid { grid-template-columns: 1fr; }
  .aeo-steps li { padding: 14px 14px 14px 50px; }
}
