/*
 * CricketWindies forum-display/category landing
 *
 * This file is intentionally limited to the forum-display main region. It
 * makes the category landing use the same quiet card treatment as home while
 * preserving the shared navigation, sidebar, footer, and masthead decisions.
 */

#forum-view .forum-heading h1 {
  font-size: 34px;
}

/* Home does not repeat the browsing-status line above the forum groups. */
#forum-view .forum-column > .smalltext,
#forum-view .forum-column > .smalltext + br {
  display: none;
}

/* The custom subforum row should read as one of the home forum rows.
   background was hardcoded #fff in the handoff (inconsistent with its own
   border rule right above using var(--border) already) — found live: the
   whole row went invisible-on-dark, text unreadable against a white card
   in dark mode. Swapped to the same --surface token .forum-row's home
   counterpart already uses, rather than adding a separate dark override. */
#forum-view .forum-column > .forum-row {
  margin-top: 13px;
  border: 1px solid var(--border, #e4ddd7);
  border-radius: 4px;
  background: var(--surface, #fff);
  box-shadow: 0 1px 2px rgba(21, 32, 51, .04);
}

#forum-view .forum-column > .forum-row .forum-title {
  font-size: 16px;
}

#forum-view .forum-column > .forum-row .forum-name p {
  max-width: 430px;
  font-size: 13px;
  line-height: 1.18;
}

#forum-view .forum-column > .forum-row .stat {
  font-size: 16px;
}

#forum-view .forum-column > .forum-row .latest-post a {
  font-size: 14px;
  line-height: 1.17;
}

/*
 * fid=1 currently leaves an empty legacy table after the rendered subforum
 * row. Hide only header-only tables; real thread/subforum tables with a data
 * row remain available on other forum-display pages.
 */
#forum-view .forum-column > .tborder:not(:has(> tbody > tr:nth-child(3))) {
  display: none;
}

#forum-view .forum-column > .tborder + br {
  display: none;
}

@media (max-width: 700px) {
  #forum-view .forum-heading h1 {
    font-size: 30px;
  }

  #forum-view .forum-column > .forum-row {
    margin-top: 12px;
  }

  #forum-view .forum-column > .forum-row .forum-title {
    font-size: 15px;
  }
}

