/* Body copy */
.brxe-post-content {
  color: #1a1a1a;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .brxe-post-content {
    font-size: 17px;
  }
}

/* Bold */
.brxe-post-content strong,
.brxe-post-content b {
  font-weight: 600;
}

/* Byline + date */
.brxe-post-meta {
  font-weight: 300;
}

/* Non-content links */
body.single-post a {
  text-decoration-color: #000;
}

/* Headings */
.brxe-post-content h1,
.brxe-post-content h2,
.brxe-post-content h3,
.brxe-post-content h4,
.brxe-post-content h5,
.brxe-post-content h6 {
  color: #000;
  font-family: "Poppins" !important;
}

.brxe-post-content h1 {
  font-size: 3rem !important;
  font-weight: 600 !important;
}

.brxe-post-content h2 {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin-top: 45px;
  margin-bottom: 10px;
}

.brxe-post-content h3 {
  font-size: 2.2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin-top: 40px;
  margin-bottom: 10px;
}

.brxe-post-content h4 {
  font-size: 2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin-top: 40px;
  margin-bottom: 15px;
}

@media (max-width: 980px) {
  .brxe-post-content h1 { font-size: 2.5rem !important; }
  .brxe-post-content h2 { font-size: 2.2rem !important; }
  .brxe-post-content h3 { font-size: 2rem !important; }
  .brxe-post-content h4 { font-size: 1.8rem !important; }
}

/* Images */
.brxe-post-content img {
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Content links */
.brxe-post-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #FFC6D3;
}

/* Blockquotes */
.brxe-post-content .wp-block-quote {
  font-size: 18px;
  font-family: "Poppins";
}

/* Lists */
.brxe-post-content ul.wp-block-list {
  padding-left: 1em;
  list-style-position: outside;
}

/* Image captions */
.brxe-post-content .wp-element-caption:not(.wp-block-gallery *) {
  border-radius: 10px;
}



/*-------------------------------------Table styles*/

/* =========================================================
   Blog post tables — styled to match pricing page
   ========================================================= */

.brxe-post-content .wp-block-table {
    position: relative;
    width: 100%;
    margin: 1.5em 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brxe-post-content .wp-block-table::-webkit-scrollbar {
    display: none;
}

.brxe-post-content .wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    width: 100%;
    font-size: 15px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    overflow: hidden;
}

@media (max-width: 477px) {
    .brxe-post-content .wp-block-table table {
        font-size: 13px;
    }
}

.brxe-post-content .wp-block-table thead,
.brxe-post-content .wp-block-table tfoot {
    border: none;
}

/* Cells — wrap allowed, words stay whole */
.brxe-post-content .wp-block-table th,
.brxe-post-content .wp-block-table td {
    border: 0;
    border-bottom: 1px solid #000;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    background: #fff;
    color: #000;
}

/* Higher-specificity override for Gutenberg's break-word rule */
.brxe-post-content .wp-block-table .has-fixed-layout th,
.brxe-post-content .wp-block-table .has-fixed-layout td {
    word-break: normal;
    overflow-wrap: normal;
}

.brxe-post-content .wp-block-table tbody tr:last-child th,
.brxe-post-content .wp-block-table tbody tr:last-child td {
    border-bottom: 0;
}

.brxe-post-content .wp-block-table thead th,
.brxe-post-content .wp-block-table thead td {
    background: #000;
    color: #fff;
    font-weight: 500;
}

/* Custom scrollbar track */
.brxe-post-content .wp-block-table + .pricelist-scrollbar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    margin: 6px 0 1.5em;
    overflow: hidden;
    display: none;
    width: 100%;
    cursor: pointer;
    touch-action: none;
}

.brxe-post-content .wp-block-table + .pricelist-scrollbar > div {
    height: 100%;
    width: 40px;
    background: #b5b5b5;
    border-radius: 5px;
    transition: transform 0.1s linear;
    cursor: grab;
}

/* Disable transition + show grabbing cursor while dragging */
.brxe-post-content .wp-block-table + .pricelist-scrollbar.is-dragging > div {
    transition: none;
    cursor: grabbing;
}