/*
Theme Name: TermPick Choice Guide
Theme URI: https://termpick.com/
Author: TermPick
Description: 사업자가 서비스와 장비에 돈을 쓰기 전에 비교하는 선택 가이드용 워드프레스 테마. 반응형 레이아웃, 다크모드, 모바일 메뉴, 북마크, 비교 콘텐츠 중심 홈 화면을 포함합니다.
Version: 1.8.9
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: termpick
*/

/* =========================================================
   AI·소프트웨어 목차형 카테고리 페이지
========================================================= */
.tp-ai-directory {
  padding-top: 52px;
  padding-bottom: 84px;
}

.tp-ai-directory-header {
  max-width: 820px;
  margin-bottom: 30px;
}

.tp-ai-directory-header h1 {
  margin-bottom: 14px;
}

.tp-ai-directory-header > p:last-child {
  max-width: 720px;
  color: var(--tp-muted, #667085);
  font-size: 18px;
  line-height: 1.75;
}

.tp-ai-directory-start {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 0 0 42px;
  padding: 26px 28px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 43, 84, .06);
}

.tp-ai-directory-start-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #2563eb;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .12);
}

.tp-ai-directory-start-icon svg {
  width: 38px;
  height: 38px;
}

.tp-ai-directory-start-copy > span {
  display: inline-block;
  margin-bottom: 5px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
}

.tp-ai-directory-start-copy h2 {
  margin: 0 0 7px;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.35;
}

.tp-ai-directory-start-copy h2 a {
  color: #0d2b54;
  text-decoration: none;
}

.tp-ai-directory-start-copy p {
  margin: 0;
  color: #536278;
  line-height: 1.7;
}

.tp-ai-directory-start-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #fff;
  background: #2563eb;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.tp-ai-directory-start-link:hover {
  color: #fff;
  background: #0d2b54;
}

.tp-ai-directory-start-link svg,
.tp-ai-directory-arrow svg {
  width: 18px;
  height: 18px;
}

.tp-ai-directory-list-section {
  max-width: 980px;
}

.tp-ai-directory-heading {
  align-items: end;
  margin-bottom: 18px;
}

.tp-ai-directory-heading h2 {
  margin: 0;
}

.tp-ai-directory-heading > span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.tp-ai-directory-kicker {
  margin: 0 0 5px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.tp-ai-directory-list {
  counter-reset: tp-ai-item;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-ai-directory-item {
  counter-increment: tp-ai-item;
  margin: 0;
}

.tp-ai-directory-item-link {
  display: grid;
  grid-template-columns: 42px 112px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 16px 18px;
  color: inherit;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 15px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tp-ai-directory-item-link:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(15, 43, 84, .08);
}

.tp-ai-directory-number::before {
  content: counter(tp-ai-item, decimal-leading-zero);
  color: #2563eb;
  font-size: 15px;
  font-weight: 900;
}

.tp-ai-directory-thumb {
  display: block;
  width: 112px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f7fb;
  border-radius: 10px;
}

.tp-ai-directory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-ai-directory-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
}

.tp-ai-directory-placeholder svg {
  width: 38px;
  height: 38px;
}

.tp-ai-directory-copy {
  min-width: 0;
}

.tp-ai-directory-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 6px;
  color: #718096;
  font-size: 12px;
  font-weight: 700;
}

.tp-ai-directory-copy > strong {
  display: block;
  margin-bottom: 6px;
  color: #0d2b54;
  font-size: 19px;
  line-height: 1.45;
}

.tp-ai-directory-excerpt {
  display: block;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.tp-ai-directory-arrow {
  display: grid;
  place-items: center;
  color: #2563eb;
}

@media (max-width: 760px) {
  .tp-ai-directory {
    padding-top: 30px;
    padding-bottom: 56px;
  }

  .tp-ai-directory-header > p:last-child {
    font-size: 16px;
  }

  .tp-ai-directory-start {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .tp-ai-directory-start-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .tp-ai-directory-start-link {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .tp-ai-directory-item-link {
    grid-template-columns: 34px 78px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
    padding: 13px;
  }

  .tp-ai-directory-thumb {
    width: 78px;
  }

  .tp-ai-directory-copy > strong {
    font-size: 16px;
  }

  .tp-ai-directory-excerpt {
    display: none;
  }

  .tp-ai-directory-arrow {
    display: none;
  }
}


/* ==================================================
   TermPick 본문 디자인 시스템 v1.8.5
   문단 간격 + 브랜드 글꼴 + 브랜드 컬러
================================================== */

/* 본문 전체 기본 서체와 색상 */
.tp-entry-content,
.entry-content,
.wp-block-post-content {
    font-family: Pretendard, "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #27364A;
    font-size: 17px;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 일반 문단 */
.tp-entry-content p,
.entry-content p,
.wp-block-post-content p {
    margin-top: 0;
    margin-bottom: 1.35em;
    color: #27364A;
    line-height: 1.85;
}

/* 큰 소제목 H2 */
.tp-entry-content h2,
.entry-content h2,
.wp-block-post-content h2 {
    margin-top: 2.6em;
    margin-bottom: 0.9em;
    padding-bottom: 0.45em;
    color: #0D2B54;
    font-size: 1.65em;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.025em;
    border-bottom: 2px solid #E5ECF5;
    scroll-margin-top: calc(var(--tp-header-height, 74px) + 24px);
}

/* 세부 소제목 H3 */
.tp-entry-content h3,
.entry-content h3,
.wp-block-post-content h3 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #0D2B54;
    font-size: 1.3em;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.02em;
    scroll-margin-top: calc(var(--tp-header-height, 74px) + 24px);
}

/* H3 왼쪽 브랜드 표시선 */
.tp-entry-content h3::before,
.entry-content h3::before,
.wp-block-post-content h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 0.95em;
    margin-right: 9px;
    border-radius: 4px;
    background: linear-gradient(180deg, #2563EB 0%, #16A34A 100%);
    vertical-align: -0.05em;
}

/* 네 번째 수준 제목 */
.tp-entry-content h4,
.entry-content h4,
.wp-block-post-content h4 {
    margin-top: 1.7em;
    margin-bottom: 0.65em;
    color: #2563EB;
    font-size: 1.08em;
    font-weight: 750;
    line-height: 1.5;
    scroll-margin-top: calc(var(--tp-header-height, 74px) + 24px);
}

/* 링크 */
.tp-entry-content a,
.entry-content a,
.wp-block-post-content a {
    color: #2563EB;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.tp-entry-content a:hover,
.entry-content a:hover,
.wp-block-post-content a:hover {
    color: #16A34A;
}

/* 강조 문구 */
.tp-entry-content strong,
.entry-content strong,
.wp-block-post-content strong {
    color: #0D2B54;
    font-weight: 800;
}

/* 목록 전체 */
.tp-entry-content ul,
.tp-entry-content ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
    margin-top: 0.8em;
    margin-bottom: 1.5em;
    padding-left: 1.55em;
}

/* 목록 항목 */
.tp-entry-content li,
.entry-content li,
.wp-block-post-content li {
    margin-bottom: 0.5em;
    color: #27364A;
    line-height: 1.75;
}

/* 일반 목록 점 색상 */
.tp-entry-content ul li::marker,
.entry-content ul li::marker,
.wp-block-post-content ul li::marker {
    color: #2563EB;
}

/* 번호 목록 색상 */
.tp-entry-content ol li::marker,
.entry-content ol li::marker,
.wp-block-post-content ol li::marker {
    color: #0D2B54;
    font-weight: 800;
}

/* 인용문 및 핵심 원칙 박스 */
.tp-entry-content blockquote,
.entry-content blockquote,
.wp-block-post-content blockquote {
    margin-top: 1.8em;
    margin-bottom: 1.8em;
    padding: 1.3em 1.5em;
    color: #0D2B54;
    line-height: 1.75;
    background: #F0F6FF;
    border-left: 5px solid #2563EB;
    border-radius: 0 10px 10px 0;
}

.tp-entry-content blockquote p,
.entry-content blockquote p,
.wp-block-post-content blockquote p {
    color: inherit;
}

/* 인용문 내부 마지막 문단 여백 제거 */
.tp-entry-content blockquote p:last-child,
.entry-content blockquote p:last-child,
.wp-block-post-content blockquote p:last-child {
    margin-bottom: 0;
}

/* 워드프레스 표 래퍼 */
.tp-entry-content .wp-block-table,
.entry-content .wp-block-table,
.wp-block-post-content .wp-block-table {
    margin-top: 1.5em;
    margin-bottom: 2em;
    overflow-x: auto;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
}

/* 표 전체 */
.tp-entry-content table,
.entry-content table,
.wp-block-post-content table {
    width: 100%;
    min-width: 620px;
    margin-top: 1.5em;
    margin-bottom: 2em;
    border-collapse: collapse;
    color: #27364A;
    font-size: 0.95em;
    white-space: normal;
}

.tp-entry-content .wp-block-table table,
.entry-content .wp-block-table table,
.wp-block-post-content .wp-block-table table {
    margin: 0;
}

/* 표 제목 행 */
.tp-entry-content table thead,
.entry-content table thead,
.wp-block-post-content table thead {
    color: #FFFFFF;
    background: #0D2B54;
}

/* 표 셀 */
.tp-entry-content table th,
.tp-entry-content table td,
.entry-content table th,
.entry-content table td,
.wp-block-post-content table th,
.wp-block-post-content table td {
    padding: 0.9em 1em;
    line-height: 1.6;
    border: 1px solid #DCE5F0;
    vertical-align: middle;
    text-align: left;
}

.tp-entry-content table th,
.entry-content table th,
.wp-block-post-content table th {
    color: #FFFFFF;
    background: #0D2B54;
    font-weight: 800;
}

/* 표 짝수 행 */
.tp-entry-content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
.wp-block-post-content table tbody tr:nth-child(even) {
    background: #F7FAFE;
}

/* 이미지 및 인포그래픽 */
.tp-entry-content figure,
.entry-content figure,
.wp-block-post-content figure {
    margin-top: 2.1em;
    margin-bottom: 2.1em;
}

/* 이미지 테두리 */
.tp-entry-content figure img,
.entry-content figure img,
.wp-block-post-content figure img,
.tp-entry-content img,
.entry-content img,
.wp-block-post-content img {
    border-radius: 10px;
}

/* 이미지 설명 */
.tp-entry-content figcaption,
.entry-content figcaption,
.wp-block-post-content figcaption {
    margin-top: 0.7em;
    color: #6B7280;
    font-size: 0.88em;
    line-height: 1.6;
    text-align: center;
}

/* 구분선 */
.tp-entry-content hr,
.entry-content hr,
.wp-block-post-content hr {
    margin-top: 2.6em;
    margin-bottom: 2.6em;
    border: 0;
    border-top: 1px solid #DCE5F0;
}

/* 워드프레스 버튼 */
.tp-entry-content .wp-block-button__link,
.entry-content .wp-block-button__link,
.wp-block-post-content .wp-block-button__link {
    padding: 0.85em 1.45em;
    color: #FFFFFF;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    background: #2563EB;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* 버튼 마우스 오버 */
.tp-entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button__link:hover {
    color: #FFFFFF;
    background: #0D2B54;
    transform: translateY(-1px);
}

/* 부드러운 초록색 안내 박스 */
.termpick-success-box {
    margin: 1.7em 0;
    padding: 1.25em 1.4em;
    color: #0D2B54;
    line-height: 1.75;
    background: #E6F7EF;
    border-left: 5px solid #16A34A;
    border-radius: 0 10px 10px 0;
}

.termpick-success-box p,
.termpick-info-box p {
    color: inherit;
}

.termpick-success-box > *:last-child,
.termpick-info-box > *:last-child {
    margin-bottom: 0;
}

/* 부드러운 파란색 정보 박스 */
.termpick-info-box {
    margin: 1.7em 0;
    padding: 1.25em 1.4em;
    color: #0D2B54;
    line-height: 1.75;
    background: #F0F6FF;
    border-left: 5px solid #2563EB;
    border-radius: 0 10px 10px 0;
}

/* 보조 설명 */
.termpick-muted {
    color: #6B7280;
    font-size: 0.92em;
}

/* 코드 블록 */
.tp-entry-content pre,
.entry-content pre,
.wp-block-post-content pre {
    overflow-x: auto;
    padding: 1.2em 1.35em;
    color: #E7EEF9;
    background: #0C1727;
    border-radius: 10px;
    line-height: 1.65;
    -webkit-overflow-scrolling: touch;
}

.tp-entry-content code,
.entry-content code,
.wp-block-post-content code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.tp-entry-content :not(pre) > code,
.entry-content :not(pre) > code,
.wp-block-post-content :not(pre) > code {
    padding: 0.12em 0.4em;
    color: #0D2B54;
    background: #EEF4FC;
    border-radius: 5px;
    font-size: 0.92em;
}

/* ==================================================
   다크모드 본문 색상
================================================== */
html.tp-dark .tp-entry-content,
html.tp-dark .entry-content,
html.tp-dark .wp-block-post-content,
body.tp-dark .tp-entry-content,
body.tp-dark .entry-content,
body.tp-dark .wp-block-post-content {
    color: #D7E0EC;
}

html.tp-dark .tp-entry-content p,
html.tp-dark .tp-entry-content li,
html.tp-dark .entry-content p,
html.tp-dark .entry-content li,
html.tp-dark .wp-block-post-content p,
html.tp-dark .wp-block-post-content li,
body.tp-dark .tp-entry-content p,
body.tp-dark .tp-entry-content li,
body.tp-dark .entry-content p,
body.tp-dark .entry-content li,
body.tp-dark .wp-block-post-content p,
body.tp-dark .wp-block-post-content li {
    color: #D7E0EC;
}

html.tp-dark .tp-entry-content h2,
html.tp-dark .tp-entry-content h3,
html.tp-dark .tp-entry-content strong,
html.tp-dark .entry-content h2,
html.tp-dark .entry-content h3,
html.tp-dark .entry-content strong,
html.tp-dark .wp-block-post-content h2,
html.tp-dark .wp-block-post-content h3,
html.tp-dark .wp-block-post-content strong,
body.tp-dark .tp-entry-content h2,
body.tp-dark .tp-entry-content h3,
body.tp-dark .tp-entry-content strong,
body.tp-dark .entry-content h2,
body.tp-dark .entry-content h3,
body.tp-dark .entry-content strong,
body.tp-dark .wp-block-post-content h2,
body.tp-dark .wp-block-post-content h3,
body.tp-dark .wp-block-post-content strong {
    color: #F3F7FC;
}

html.tp-dark .tp-entry-content h2,
html.tp-dark .entry-content h2,
html.tp-dark .wp-block-post-content h2,
body.tp-dark .tp-entry-content h2,
body.tp-dark .entry-content h2,
body.tp-dark .wp-block-post-content h2 {
    border-bottom-color: #263A56;
}

html.tp-dark .tp-entry-content h4,
html.tp-dark .tp-entry-content a,
html.tp-dark .entry-content h4,
html.tp-dark .entry-content a,
html.tp-dark .wp-block-post-content h4,
html.tp-dark .wp-block-post-content a,
body.tp-dark .tp-entry-content h4,
body.tp-dark .tp-entry-content a,
body.tp-dark .entry-content h4,
body.tp-dark .entry-content a,
body.tp-dark .wp-block-post-content h4,
body.tp-dark .wp-block-post-content a {
    color: #78A7FF;
}

html.tp-dark .tp-entry-content a:hover,
html.tp-dark .entry-content a:hover,
html.tp-dark .wp-block-post-content a:hover,
body.tp-dark .tp-entry-content a:hover,
body.tp-dark .entry-content a:hover,
body.tp-dark .wp-block-post-content a:hover {
    color: #5DE0A5;
}

html.tp-dark .tp-entry-content ul li::marker,
html.tp-dark .entry-content ul li::marker,
html.tp-dark .wp-block-post-content ul li::marker,
body.tp-dark .tp-entry-content ul li::marker,
body.tp-dark .entry-content ul li::marker,
body.tp-dark .wp-block-post-content ul li::marker {
    color: #78A7FF;
}

html.tp-dark .tp-entry-content ol li::marker,
html.tp-dark .entry-content ol li::marker,
html.tp-dark .wp-block-post-content ol li::marker,
body.tp-dark .tp-entry-content ol li::marker,
body.tp-dark .entry-content ol li::marker,
body.tp-dark .wp-block-post-content ol li::marker {
    color: #F3F7FC;
}

html.tp-dark .tp-entry-content blockquote,
html.tp-dark .entry-content blockquote,
html.tp-dark .wp-block-post-content blockquote,
body.tp-dark .tp-entry-content blockquote,
body.tp-dark .entry-content blockquote,
body.tp-dark .wp-block-post-content blockquote {
    color: #DCE8F8;
    background: #142D52;
    border-left-color: #6CA4FF;
}

html.tp-dark .tp-entry-content table,
html.tp-dark .entry-content table,
html.tp-dark .wp-block-post-content table,
body.tp-dark .tp-entry-content table,
body.tp-dark .entry-content table,
body.tp-dark .wp-block-post-content table {
    color: #D7E0EC;
}

html.tp-dark .tp-entry-content table thead,
html.tp-dark .tp-entry-content table th,
html.tp-dark .entry-content table thead,
html.tp-dark .entry-content table th,
html.tp-dark .wp-block-post-content table thead,
html.tp-dark .wp-block-post-content table th,
body.tp-dark .tp-entry-content table thead,
body.tp-dark .tp-entry-content table th,
body.tp-dark .entry-content table thead,
body.tp-dark .entry-content table th,
body.tp-dark .wp-block-post-content table thead,
body.tp-dark .wp-block-post-content table th {
    color: #FFFFFF;
    background: #18345C;
}

html.tp-dark .tp-entry-content table th,
html.tp-dark .tp-entry-content table td,
html.tp-dark .entry-content table th,
html.tp-dark .entry-content table td,
html.tp-dark .wp-block-post-content table th,
html.tp-dark .wp-block-post-content table td,
body.tp-dark .tp-entry-content table th,
body.tp-dark .tp-entry-content table td,
body.tp-dark .entry-content table th,
body.tp-dark .entry-content table td,
body.tp-dark .wp-block-post-content table th,
body.tp-dark .wp-block-post-content table td {
    border-color: #2A3B52;
}

html.tp-dark .tp-entry-content table tbody tr:nth-child(even),
html.tp-dark .entry-content table tbody tr:nth-child(even),
html.tp-dark .wp-block-post-content table tbody tr:nth-child(even),
body.tp-dark .tp-entry-content table tbody tr:nth-child(even),
body.tp-dark .entry-content table tbody tr:nth-child(even),
body.tp-dark .wp-block-post-content table tbody tr:nth-child(even) {
    background: #152238;
}

html.tp-dark .tp-entry-content figcaption,
html.tp-dark .entry-content figcaption,
html.tp-dark .wp-block-post-content figcaption,
html.tp-dark .termpick-muted,
body.tp-dark .tp-entry-content figcaption,
body.tp-dark .entry-content figcaption,
body.tp-dark .wp-block-post-content figcaption,
body.tp-dark .termpick-muted {
    color: #9BAABC;
}

html.tp-dark .tp-entry-content hr,
html.tp-dark .entry-content hr,
html.tp-dark .wp-block-post-content hr,
body.tp-dark .tp-entry-content hr,
body.tp-dark .entry-content hr,
body.tp-dark .wp-block-post-content hr {
    border-top-color: #2A3B52;
}

html.tp-dark .termpick-success-box,
body.tp-dark .termpick-success-box {
    color: #DDF8EB;
    background: #12382C;
    border-left-color: #54D69A;
}

html.tp-dark .termpick-info-box,
body.tp-dark .termpick-info-box {
    color: #DCE8F8;
    background: #142D52;
    border-left-color: #6CA4FF;
}

html.tp-dark .tp-entry-content :not(pre) > code,
html.tp-dark .entry-content :not(pre) > code,
html.tp-dark .wp-block-post-content :not(pre) > code,
body.tp-dark .tp-entry-content :not(pre) > code,
body.tp-dark .entry-content :not(pre) > code,
body.tp-dark .wp-block-post-content :not(pre) > code {
    color: #DCE8F8;
    background: #182A43;
}

/* ==================================================
   모바일 화면
================================================== */
@media screen and (max-width: 768px) {
    .tp-entry-content,
    .entry-content,
    .wp-block-post-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .tp-entry-content p,
    .entry-content p,
    .wp-block-post-content p {
        margin-bottom: 1.25em;
        line-height: 1.8;
    }

    .tp-entry-content h2,
    .entry-content h2,
    .wp-block-post-content h2 {
        margin-top: 2.2em;
        font-size: 1.45em;
    }

    .tp-entry-content h3,
    .entry-content h3,
    .wp-block-post-content h3 {
        margin-top: 1.8em;
        font-size: 1.2em;
    }

    .tp-entry-content table,
    .entry-content table,
    .wp-block-post-content table {
        min-width: 560px;
        font-size: 0.88em;
    }

    .tp-entry-content table th,
    .tp-entry-content table td,
    .entry-content table th,
    .entry-content table td,
    .wp-block-post-content table th,
    .wp-block-post-content table td {
        padding: 0.75em 0.7em;
    }

    .tp-entry-content blockquote,
    .entry-content blockquote,
    .wp-block-post-content blockquote,
    .termpick-success-box,
    .termpick-info-box {
        padding: 1.05em 1.1em;
    }
}


/* v1.8.6 AI·소프트웨어 발행 순서 번호 */
.tp-ai-directory-number {
  color: #2563eb;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.tp-ai-directory-number::before { content: none !important; }
html.tp-dark .tp-ai-directory-number { color: #78a7ff; }



/* v1.8.8 실제 카드 수에 맞춘 홈페이지 그리드 */
.tp-category-section.tp-category-count-1 { grid-template-columns: minmax(0, 1fr); }
.tp-category-section.tp-category-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-guide-group-cards.tp-guide-card-count-1 { grid-template-columns: minmax(0, 1fr); }
.tp-guide-group-cards.tp-guide-card-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 767px) {
  .tp-category-section.tp-category-count-2 { grid-template-columns: 1fr; }
}


/* =========================================================
   v1.8.9 단일 반응형 홈페이지
   별도 모바일/데스크톱 마크업을 동시에 출력하지 않습니다.
========================================================= */
#main-content > .tp-home-hero:first-child { margin-top: 0; }
