/* 암보험비교사이트 — 크롤러·본문 우선 레이아웃 */
:root {
  --ac-blue: #2b5ed4;
  --ac-blue-dark: #1e46a8;
  --ac-ink: #1b2330;
  --ac-body: #4a5260;
  --ac-muted: #6b7280;
  --ac-line: #e3e7ee;
  --ac-soft: #f2f5fb;
  --ac-soft-border: #d6dff2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ac-ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ac-blue-dark);
}

.ac-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ac-blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.ac-skip:focus {
  left: 8px;
  top: 8px;
}

.ac-header {
  border-bottom: 1px solid var(--ac-line);
  background: #fff;
}

.ac-header__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px;
}

.ac-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ac-ink);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.ac-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.ac-lead {
  font-size: 17px;
  color: var(--ac-ink);
  font-weight: 500;
}

.ac-direct {
  font-size: 15.5px;
  color: var(--ac-ink);
  background: var(--ac-soft);
  border-left: 4px solid var(--ac-blue);
  padding: 12px 14px;
  margin: 0 0 16px;
  border-radius: 0 8px 8px 0;
  line-height: 1.75;
}

.ac-source {
  margin: 28px 0 0;
  padding: 16px;
  background: #fafbfd;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
}

.ac-source h2 {
  margin-top: 0;
}

.ac-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.ac-wrap p {
  font-size: 16px;
  color: var(--ac-body);
  line-height: 1.85;
  margin: 14px 0;
}

.ac-wrap p strong,
.ac-wrap p b {
  color: var(--ac-ink);
  font-weight: 800;
}

.ac-crumb {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ac-muted);
}

.ac-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ac-crumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: #c5cad3;
}

.ac-crumb a {
  color: var(--ac-muted);
  text-decoration: none;
}

.ac-h1 {
  margin: 8px 0 16px;
  font-size: 28px;
  font-weight: 900;
  color: var(--ac-ink);
  letter-spacing: -0.8px;
  line-height: 1.3;
}

.ac-h1::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: var(--ac-blue);
  margin-bottom: 10px;
}

.ac-h2 {
  margin: 40px 0 14px;
  font-size: 21px;
  font-weight: 900;
  color: var(--ac-ink);
  letter-spacing: -0.5px;
  line-height: 1.4;
}

.ac-h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--ac-blue);
  margin-bottom: 9px;
}

.ac-h3 {
  margin: 26px 0 10px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ac-blue-dark);
  padding-left: 13px;
  position: relative;
  line-height: 1.4;
}

.ac-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac-blue);
}

.ac-alert {
  position: relative;
  background: var(--ac-soft);
  border: 1px solid var(--ac-soft-border);
  border-radius: 12px;
  padding: 22px 16px 14px;
  margin: 22px 0 18px;
  font-size: 14.5px;
  color: var(--ac-ink);
  line-height: 1.8;
}

.ac-alert strong {
  position: absolute;
  top: -0.8em;
  left: 12px;
  background: var(--ac-blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 20px;
}

.ac-cards {
  margin: 18px 0 8px;
}

.ac-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  padding: 12px;
}

.ac-figure {
  margin: 18px 0 22px;
}

.ac-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--ac-soft);
}

.ac-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-card__img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ac-soft);
}

.ac-card__body {
  flex: 1;
  min-width: 0;
}

.ac-card__title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ac-ink);
  margin: 0 0 5px;
  line-height: 1.4;
}

.ac-card__desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ac-muted);
  line-height: 1.55;
}

.ac-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ac-blue);
  color: #fff !important;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.ac-card__btn:hover {
  background: var(--ac-blue-dark);
}

.ac-wrap ul,
.ac-wrap ol {
  padding-left: 22px;
  margin: 10px 0 18px;
}

.ac-wrap li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ac-body);
}

.ac-table-wrap {
  overflow-x: auto;
  margin: 16px 0 22px;
}

.ac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.ac-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ac-ink);
}

.ac-table th {
  background: var(--ac-blue-dark);
  color: #fff;
  padding: 11px 10px;
  text-align: left;
  font-weight: 700;
}

.ac-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--ac-soft-border);
  color: var(--ac-body);
  vertical-align: top;
}

.ac-table tr:nth-child(even) td {
  background: var(--ac-soft);
}

h3.ac-faq-q,
.ac-faq-q {
  margin: 22px 0 7px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ac-ink);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.ac-faq-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--ac-soft);
  color: var(--ac-blue-dark);
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ac-faq-a {
  padding-left: 28px;
  margin-top: 0;
}

.ac-note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--ac-line);
  font-size: 13px;
  color: var(--ac-muted);
  line-height: 1.7;
}

.ac-footer {
  border-top: 1px solid var(--ac-line);
  background: #fafbfd;
}

.ac-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  font-size: 13px;
  color: var(--ac-muted);
  line-height: 1.7;
}

.ac-footer a {
  color: var(--ac-muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .ac-h1 {
    font-size: 23px;
  }

  .ac-h2 {
    font-size: 19px;
    margin-top: 34px;
  }

  .ac-wrap p,
  .ac-wrap li {
    font-size: 15px;
  }

  .ac-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .ac-card__btn {
    width: 100%;
  }
}
