/* 홈페이지의 기존 다크·라이트 테마 유지. 글 본문에는 영향을 주지 않는다. */
.insight-index { max-width: 1120px; }
.insight-index [hidden] { display: none !important; }
.insight-index__head { text-align: left; margin-bottom: 32px; }
.insight-index__head h1 { font-size: clamp(28px, 4vw, 40px); }
.insight-index__head p { font-size: 16px; line-height: 1.7; color: var(--text-primary); }
.catalog-kinds { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.catalog-kinds button, .catalog-kinds a, .catalog-search button, .catalog-more {
  font: inherit; font-size: 16px; font-weight: 600; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card);
  color: var(--text-primary); cursor: pointer; text-decoration: none;
}
.catalog-kinds button[aria-pressed="true"] { background: #1a3669; border-color: #1a3669; color: #fff; }
.catalog-kinds span { font-size: 14px; }
.catalog-search { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-top: 24px; }
.catalog-search label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; flex: 1 1 160px; }
.catalog-search .catalog-query { flex: 2 1 240px; }
.catalog-search input, .catalog-search select {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px;
  font: inherit; font-size: 16px; color: var(--text-primary); background: var(--bg-card);
  border: 1px solid #857f75; border-radius: 8px; color-scheme: dark;
}
[data-theme="light"] .catalog-search input, [data-theme="light"] .catalog-search select { color-scheme: light; }
.catalog-search input::placeholder { color: var(--text-primary); opacity: .8; }
.catalog-status { margin: 24px 0 16px; font-size: 14px; color: var(--text-primary); }
.insight-index__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.insight-index .insight-card { box-shadow: none; border-radius: 12px; transition: none; }
.insight-index .insight-card:hover { border-color: var(--text-secondary); }
.insight-index .insight-card__img { height: 176px; }
.insight-index .insight-card__body { padding: 20px; }
.insight-index .insight-card__title { font-size: 18px; line-height: 1.6; margin: 0 0 12px; overflow-wrap: anywhere; }
.insight-index .insight-card__date { font-size: 13px; line-height: 1.7; color: var(--text-primary); }
.insight-index .insight-card__excerpt { font-size: 16px; line-height: 1.7; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-more { display: block; margin: 32px auto 0; }
.insight-index :is(a, button, input, select):focus-visible { outline: 3px solid var(--text-primary); outline-offset: 4px; }
.insight-index ::selection { background: #1a3669; color: #fff; }
@media (max-width: 900px) { .insight-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .insight-index__grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-kinds { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-kinds button, .catalog-kinds a { text-align: center; padding: 12px 8px; }
  .catalog-search { gap: 12px; }
  .catalog-search label { flex-basis: calc(50% - 12px); }
  .catalog-search .catalog-query { flex-basis: 100%; }
  .insight-index .insight-card__img { height: 180px; }
}
