/* Ball Post V1.9.26 — shared TinyMCE visual editor and public article tables.
   Loaded only inside the Ball Post TinyMCE iframe and on owned public posts.
   CSS only: no table data or HTML is rewritten. */
body#tinymce table, body.mce-content-body table,
body.single-post table:not(.wp-block-table table), body.single-post .entry-content table,
body.single-post .post-content table, body.single-post .wp-block-post-content table {
  border-collapse:separate!important;border-spacing:0!important;
  width:100%!important;max-width:100%;margin:22px 0!important;
  border:1px solid #d8e8df!important;border-radius:12px;
  background:#fff;box-shadow:0 5px 18px rgba(14,95,58,.06);
  font-size:15px;line-height:1.55;
}
body#tinymce table th,body#tinymce table td,body.mce-content-body table th,body.mce-content-body table td,
body.single-post table th,body.single-post table td {
  padding:12px 14px!important;text-align:left;vertical-align:middle!important;
  border:0!important;border-bottom:1px solid #e2ece6!important;
  overflow-wrap:break-word;word-break:normal;
}
body#tinymce table th,body.mce-content-body table th,body.single-post table th,
body#tinymce table tr:first-child td:has(strong),body.mce-content-body table tr:first-child td:has(strong) {
  background:#eaf6ef!important;color:#115a3b!important;font-weight:700!important;
}
body#tinymce table tr:nth-child(even) td,body.mce-content-body table tr:nth-child(even) td,
body.single-post table tr:nth-child(even) td{background:#f7faf8!important}
body#tinymce table tr:last-child td,body.mce-content-body table tr:last-child td,
body.single-post table tr:last-child td{border-bottom:0!important}
body#tinymce table tr > * + *,body.mce-content-body table tr > * + *,
body.single-post table tr > * + *{border-left:1px solid #e2ece6!important}
body#tinymce table tr:first-child > *:first-child,body.mce-content-body table tr:first-child > *:first-child,
body.single-post table tr:first-child > *:first-child{border-top-left-radius:11px}
body#tinymce table tr:first-child > *:last-child,body.mce-content-body table tr:first-child > *:last-child,
body.single-post table tr:first-child > *:last-child{border-top-right-radius:11px}
@media(max-width:700px){
 body.single-post table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;white-space:nowrap;max-width:100%!important}
 body.single-post table th,body.single-post table td{white-space:normal;min-width:120px}
}
