/*
 * Info10k CTA + 목차
 */

/* ── CTA 버튼 ── */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 40px 0;
  padding: 0;
  text-align: center;
}

.cta-block--multi a.info10k-cta + a.info10k-cta {
  margin-top: 0;
}

.cta-block a.info10k-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  color: #fff !important; /* GeneratePress `.entry-content a` 오버라이드 방지 */
  background: linear-gradient(135deg, #c49a1a 0%, #a67c00 100%);
  box-shadow: 0 4px 14px rgba(196, 154, 26, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* 추가 버튼(2번째 이상): 메인과 구분되는 서브 색상 — 크기·폰트는 primary 와 동일(68px / 19px) */
.cta-block--multi a.info10k-cta:nth-child(n+2) {
  background: linear-gradient(135deg, #4a5f7a 0%, #34485e 100%);
  box-shadow: 0 4px 14px rgba(74, 95, 122, 0.3);
}
.cta-block--multi a.info10k-cta:nth-child(n+2):hover {
  box-shadow: 0 6px 20px rgba(74, 95, 122, 0.4);
}

.cta-block a.info10k-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 26, 0.4);
}

.cta-block--repeat a.info10k-cta {
  background: linear-gradient(135deg, #a67c00 0%, #8a6600 100%);
}

.cta-block--info a.info10k-cta {
  background: linear-gradient(135deg, #567f6b 0%, #3a5e4a 100%);
  box-shadow: 0 4px 14px rgba(86, 127, 107, 0.3);
}

/* ── 썸네일 (16:9 고정) ── */
.info10k-thumb {
  margin: 2.5em 0 28px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
}
.info10k-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 목차 ── */
.info10k-toc {
  margin: 0 0 28px;
  padding: 18px 22px;
  background: #eef1ea;
  border-radius: 14px;
  border: 1px solid #ededea;
}

.info10k-toc__title {
  font-size: 16px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 10px;
}

.info10k-toc__list {
  margin: 0;
  padding-left: 1.2em;
  list-style-position: inside;
}

.entry-content .info10k-toc__list {
  margin-left: 0;
}

.entry-content .info10k-toc__list li,
.entry-content ol.info10k-toc__list li,
.entry-content ul.info10k-toc__list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 4px;
  color: #777 !important;  /* 마커 번호(1., 2.) 색상 — 테마 ol li 오버라이드 방지 */
}

.info10k-toc__list a,
.info10k-toc__list a:link,
.info10k-toc__list a:visited,
.entry-content .info10k-toc__list a,
.entry-content .info10k-toc__list a:link,
.entry-content .info10k-toc__list a:visited {
  color: #6b7f56 !important;  /* GeneratePress `.entry-content a` 오버라이드 방지 */
  text-decoration: none;
}

.info10k-toc__list a:hover,
.entry-content .info10k-toc__list a:hover {
  color: #6b7f56 !important;
  text-decoration: underline;
}

/* ── FAQ 제목 ── */
.info10k-faq-title {
  font-size: 20px;
  font-weight: 800;
  margin-top: 2.5em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ededea;
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .cta-block a.info10k-cta {
    font-size: 17px;
    padding: 18px 20px;
    min-height: 60px;
  }
}
