/* Scoped styles for the Text Page element */
.brxe-text-page {
    max-width: 1440px;
      min-height:600px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px !important;
    margin: 75px auto;
    padding-bottom:25px;
}

.brxe-text-page.text-page--narrow {
    max-width: 900px;
    min-height:600px;
    padding-left:20px;
    padding-right:20px;
}

.brxe-text-page.text-page--narrow .page-title,
.brxe-text-page.text-page--narrow .yoast-breadcrumb {
    text-align: center;
}

.brxe-text-page h1,
.brxe-text-page h2,
.brxe-text-page h3,
.brxe-text-page h4,
.brxe-text-page h5,
.brxe-text-page p,
.brxe-text-page ul,
.brxe-text-page ol,
.brxe-text-page blockquote {
      font-family: 'Figtree', sans-serif;
    font-weight: 500;
        margin-top:20px;

}

.brxe-text-page p,
.brxe-text-page ul,
.brxe-text-page ol {
    margin-top: 20px;
    margin-bottom: 20px;
}

.brxe-text-page h2 { font-size: 1.4em; }
.brxe-text-page h3 { font-size: 1.2em; }
.brxe-text-page h4 { font-size: 1em; }

.brxe-text-page .page-title {
    font-family: 'Figtree', sans-serif;
    font-size: 3em;
    margin-bottom: 20px;
    padding-top: 40px !important;
    margin-left:-5px;
    color:#000;
}

.brxe-text-page .yoast-breadcrumb {
    margin-bottom: 40px;
    font-size: 0.9em;
    color: #000;
}

.brxe-text-page a {
    text-decoration: underline;
}

.brxe-text-page a:hover {
    text-decoration: none;
}

/* These styles are more global and might be better placed in your main theme stylesheet, but are kept here as per the original code */
#breadcrumbs {
    margin-top: -10px !important;
}

.mega-menu-wrapper {
    border-bottom: 1px solid #cccccc;
}
/* End global styles */

table {
  /* This is the key fix! It collapses the borders into a single, solid line. */
  border-collapse: collapse; 
  
  font-family: 'Figtree', sans-serif;
  font-size: 0.9em;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #000;
  /* Optional: You can also add a border directly to the table itself */
  /* border: 1px solid #ccc; */
}

th, td {
  /* Adds a 1-pixel solid border to all header and data cells */
  border: 1px solid #ccc;
  /* Adds some space around the content inside the cells */
  padding: 10px;
  /* Aligns text to the left within the cells */
  text-align: left;
}

/* Targets the first <tr> found inside the <table> */
table tr:first-child {
  /* Sets the background color for the entire first row */
  background-color: #F2F1FC;
  /* Makes all text inside this row bold */
  font-weight: 500; 
}


@media screen and (max-width: 767px) {
    
    .brxe-text-page {
        padding-left: 20px;
        padding-right: 20px;
    }
    .brxe-text-page .page-title {
        padding-top: 40px !important;
    }

    .table-container {
  /* This is the key property: it enables horizontal scrolling */
  overflow-x: auto; 
  
  /* Hides any vertical scrollbar that might appear */
  overflow-y: hidden;
  
  /* Ensures the container respects the screen width */
  width: 100%;
}

.page-title{
    font-size:2.5em !important;
}


}