/* bobnoblog v2.4.5 — article and page table refinement.
   Styles only reader tables; preserves WordPress block table variants and content. */
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :where(.wp-block-table) {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #d5e4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 51, 77, .045);
  -webkit-overflow-scrolling: touch;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :where(table) {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #16364f;
}
/* Apply a unified border radius to both block and classic-editor tables. */
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) > table,
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) > :where(div):not(.wp-block-table) > table {
  border: 1px solid #d5e4ef;
  border-radius: 12px;
  overflow: hidden;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :is(th,td) {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #dfe9f1;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) tr > :is(th,td):not(:last-child) {
  border-right: 1px solid #dfe9f1;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) thead th {
  background: #e8f3fc;
  color: #123c5e;
  font-weight: 700;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) tbody tr:nth-child(even) td {
  background: #f6faff;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :is(tbody tr:last-child td, tbody tr:last-child th) {
  border-bottom: 0;
}
:is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :where(.wp-block-table.is-style-stripes) {
  border-color: #d5e4ef;
}
@media (max-width: 600px) {
  :is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :where(.wp-block-table) { border-radius: 10px; }
  :is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :where(table) { font-size: 13px; line-height: 1.65; }
  :is(.bnb-article-reading .bnb-article-content, .content-page__body, .article-surface .entry-content, .content-page__paper .entry-content) :is(th,td) { padding: 10px 11px; }
}
