/* Widget 36 — topic archive (/thailand/culture/), blog design system v2 (v2_browse.topic_page).
   Breadcrumb, eyebrow, chips and thumbs share 14-hub-v2.css. One full-width list of rows. */
.hc-topic { padding: 64px 0 112px; }
.hc-topic h1.hc-topic__h1 {
  margin: 18px 0 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -1.6px;
  color: var(--hc-text);
  text-wrap: balance;
}
.hc-topic__desc { max-width: 620px; margin: 18px 0 0; font-size: 20px; line-height: 1.6; color: var(--hc-body); text-wrap: pretty; }
.hc-topic__meta { margin-top: 18px; font-size: 15px; color: var(--hc-muted); }
.hc-topic__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hc-topic a.hc-topic__more {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hc-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* ---- The list ---- */
.hc-topic__list { display: flex; flex-direction: column; margin-top: 56px; box-shadow: inset 0 -1px 0 var(--hc-hair); }
.hc-topic a.hc-topic__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 28px 0;
  box-shadow: inset 0 1px 0 var(--hc-hair);
  color: var(--hc-text);
  text-decoration: none;
}
.hc-topic a.hc-topic__row:hover { opacity: 0.9; }
.hc-topic__thumb { flex: 0 0 240px; width: 240px; height: 135px; aspect-ratio: auto; }
.hc-topic__row-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hc-topic__kicker { margin-top: 0; }
.hc-topic__title { font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--hc-text); }
.hc-topic__claim { max-width: 744px; font-size: 16px; line-height: 1.6; color: var(--hc-body); }
.hc-topic__row-meta { font-size: 14px; color: var(--hc-muted); }

/* ---- Pages (W33) ---- */
.hc-w33,
.hc-w33-compact { display: flex; align-items: center; gap: 8px; margin-top: 40px; }
.hc-w33__spacer { flex: 1 1 auto; }
.hc-w33 a.hc-w33__page,
.hc-w33 a.hc-w33__dir,
.hc-w33-compact a.hc-w33__dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hc-line);
  color: var(--hc-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hc-w33 a.hc-w33__page--current { background: var(--hc-chip-on-bg); box-shadow: inset 0 0 0 1px var(--hc-chip-on-line); color: var(--hc-chip-on-fg); }
.hc-w33__gap { color: var(--hc-muted); }
.hc-w33-compact { display: none; }
.hc-w33-compact__count { flex: 1 1 auto; text-align: center; font-size: 14px; color: var(--hc-muted); }

/* ---- Back to the hub ---- */
.hc-topic__back {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 24px 30px;
  border-radius: 20px;
  background: var(--hc-card-on-band);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
:root[data-theme="dark"] .hc-topic__back { background: var(--hc-alt); }
.hc-topic__back > span:first-child { font-size: 17px; font-weight: 500; color: var(--hc-text); }
.hc-topic__back-spacer { flex: 1 1 auto; }
.hc-topic__back a { font-size: 15px; font-weight: 600; color: var(--hc-accent); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

@media (max-width: 900px) {
  .hc-topic { padding: 40px 0 64px; }
  .hc-topic h1.hc-topic__h1 { margin-top: 16px; font-size: 36px; letter-spacing: -1px; }
  .hc-topic__desc { margin-top: 16px; font-size: 18px; }
  .hc-topic__meta { margin-top: 16px; }
  .hc-topic__chips { margin-top: 14px; }
  .hc-topic__list { margin-top: 32px; }
  .hc-topic a.hc-topic__row { gap: 14px; padding: 18px 0; }
  .hc-topic__thumb { flex-basis: 112px; width: 112px; height: 63px; border-radius: 10px; }
  .hc-topic__row-body { gap: 6px; }
  .hc-topic__title { font-size: 17px; }
  .hc-topic__claim { display: none; }
  .hc-w33 { display: none; }
  .hc-w33-compact { display: flex; }
  .hc-topic__back { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 32px; padding: 20px 22px; }
  .hc-topic__back-spacer { display: none; }
}
