/* ============================================================
   experts-lib.css — Kira Experts transcript library (on service.css).
   ============================================================ */
.xt-lib { padding-top: 72px; scroll-margin-top: 72px; }
.xt-lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.xt-lib-head .ex-h2 { margin-bottom: 18px; }
.xt-lib-head .btn { margin-bottom: 22px; }
.xt-search { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; height: 52px; max-width: 720px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg); color: var(--muted-dim); }
.xt-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,102,240,.12); }
.xt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--text); }
.xt-search .btn { padding: 9px 18px; }
.xt-count { margin: 18px 0 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); }
.xt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xt-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: inherit; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.xt-card:hover { border-color: var(--primary); box-shadow: var(--elevation-md); transform: translateY(-2px); }
.xt-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.xt-pill { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--haze); color: var(--primary); }
.xt-pill.fmt { background: #FEF6E4; color: #8A5A00; }
.xt-card h3 { font-family: 'Satoshi', var(--font-cjk, sans-serif), sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.xt-expert { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); font-weight: 500; }
.xt-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 700; }
.xt-blurb { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.xt-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted-dim); }
.xt-foot b { color: var(--primary); font-weight: 600; white-space: nowrap; }
.xt-empty { margin-top: 18px; padding: 18px; border: 1px dashed var(--border-strong); border-radius: 10px; color: var(--muted); font-size: 14px; }
.xt-inside { padding-top: 88px; }
.xt-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 28px; }
.xt-feat > div { padding: 4px 24px 4px 0; }
.xt-feat > div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.xt-feat h3 { font-family: 'Satoshi', var(--font-cjk, sans-serif), sans-serif; font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.xt-feat p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.ex-form-section { border-top: 1px solid var(--border); margin-top: 88px; }

/* Listing page /en/experts/transcripts/ (layout = library list in research.css) */
.cover-thumb .ph.xt-ph { justify-content: center; align-items: center; gap: 5px; padding: 6px; background: linear-gradient(160deg, #0F172A, #1E3A6E); text-align: center; }
.cover-thumb .ph.xt-ph .xt-ph-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 12px; line-height: 1; font-weight: 700; -webkit-line-clamp: unset; overflow: visible; }
.cover-thumb .ph.xt-ph b { font-size: 8px; letter-spacing: .18em; margin-top: 2px; }
.cover-thumb .ph.xt-ph span:last-child { font-size: 7.5px; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.cover-thumb .ph.xt-ph[data-t="0"] { background: linear-gradient(160deg, #0F2A5C, #1A66F0); }
.cover-thumb .ph.xt-ph[data-t="1"] { background: linear-gradient(160deg, #10302A, #17705E); }
.cover-thumb .ph.xt-ph[data-t="2"] { background: linear-gradient(160deg, #0F172A, #1E3A6E); }
.cover-thumb .ph.xt-ph[data-t="3"] { background: linear-gradient(160deg, #2A1640, #5B3A9E); }
.cover-thumb .ph.xt-ph[data-t="4"] { background: linear-gradient(160deg, #3A1414, #9B3B2E); }
.cover-thumb .ph.xt-ph[data-t="5"] { background: linear-gradient(160deg, #33240A, #9A6A12); }
.cover-thumb .ph.xt-ph[data-t="6"] { background: linear-gradient(160deg, #1B2430, #4A5A70); }
.cover-thumb .ph.xt-ph[data-t="7"] { background: linear-gradient(160deg, #0B2A3A, #1C7A9E); }
.xt-pill.type { background: var(--text); color: var(--bg); }
.lrow-chips .chip.xt-fmt { background: #FEF6E4; color: #8A5A00; }
.xt-empty a { margin-left: 6px; font-weight: 600; }
.xt-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; margin-bottom: 72px; padding: 28px 32px; border: 1px solid var(--border); border-radius: 12px; background: var(--haze-2); }
.xt-cta h2 { font-family: 'Satoshi', var(--font-cjk, sans-serif), sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; }
.xt-cta p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 560px; }

@media (max-width: 900px) {
  .xt-grid { grid-template-columns: 1fr; }
  .xt-feat { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .xt-feat > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .xt-cta { padding: 22px 18px; }
  .xt-feat { grid-template-columns: 1fr; gap: 20px; }
  .xt-feat > div, .xt-feat > div + div { padding: 0; border-left: 0; }
  .xt-card { padding: 18px; }
}

/* Listing thumbnail: a square illustration of the interview (replaces the initials tile when present). */
.cover-thumb.xt-img { aspect-ratio: 1 / 1; background: #F1E6D2; }
.lrow.xt-wide { grid-template-columns: 96px minmax(0, 1fr) auto; }
.lrow.xt-wide .cover-thumb { width: 96px; }
@media (max-width: 640px) {
  .lrow.xt-wide { grid-template-columns: 72px minmax(0, 1fr) 20px; }
  .lrow.xt-wide .cover-thumb { width: 72px; }
}
