.br-company h2 {
    font-size: 25px !important;
    line-height: 25px !important;
    font-weight: 700;
}
.br-company-header {
    background-image: linear-gradient(90deg, #010214 0%, #1f9898 100%);
    margin: 45px;
    padding: 160px 0 100px 0;
    border-radius: 45px;
}
.br-company-header h1 {
    color: white;
    text-align: center;
}
.br-company-info {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 75px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1160px;
    margin: auto;
    margin-top: 60px;
    font-size: 15px;
    line-height: 15px;
}
.br-company-info p {
    line-height: 24px !important;
}
.br-company-logo {
    width: 260px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 8px;
    background-color: white;
    border: 1px solid #4C6D75;
    border-radius: 12px;
    margin-bottom: 100px;
}
.br-company-logo img,
.br-company-logo picture {
    object-fit: contain;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}
.br-company-logo span {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}
.br-company-infoitems {
    display: flex;
    flex-wrap: wrap;
    padding: 0 60px 50px;
    width: 100%;
    border-bottom: 1px solid #0F3C47;
}
.br-company-infoitem {
    width: calc(25% - 40px);
    margin: 20px;
    text-align: center;
}
.br-company-infoitem h2 {
    margin-bottom: 16px;
}
.br-company-catdesc {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 80px 0;
}
.br-company-catdesc h2 {
    margin-bottom: 20px;
}
.br-company-category {
    width: 20%;
    margin-right: 40px;
}
.br-company-description {
    width: calc(100% - 20% - 40px);
}
.br-company-filters {
    width: 90%;
    max-width: 1160px;
    padding: 90px;
    margin: auto;
}
.br-company-filters h2 {
    margin-bottom: 20px;
}
.br-company-filterscontainer {
    display: flex;
    flex-wrap: wrap;
    margin-left: -6px;
    margin-right: -6px;
}
.br-company-filters a {
    background-color: #AEFCA9;
    border: 1px solid #919391;
    border-radius: 50px;
    padding: 7px 22px 8px;
    display: inline-block;
    margin: 10px 6px;
    font-size: 13px;
    cursor: pointer;
    color: #000;
}
.br-company-articles {
    width: 90%;
    max-width: 1160px;
    padding: 45px 90px 0px;
    margin: auto;
    background-color: #F8F8F8;
}
.br-company-articles h2 {
    margin-bottom: 20px;
}
.br-company-articlescontainer {
    display: flex;
    flex-wrap: wrap;
    margin-left: -18px;
    margin-right: -18px;
}
.br-company-article {
    margin: 0 18px 60px;
    width: calc(33.33% - 36px);
}
.br-company-article-imgcontainer {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    background: green;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.br-company-article-imgcontainer img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    background-color: #AEFCA9;
}
.br-company-article .date {
    color: #259898;
}
.br-company-article h3 {
    margin-bottom: 20px;
}
.br-company-article a.link {
    color: #2B525C;
    text-decoration: underline;
    margin-top: 12px;
    padding: 10px 30px 10px 0;
    display: inline-flex;
    align-items: center;
    position: relative;
}
.br-company-article a.link::after {
    font-size: 16px !important;
    padding-top: 1px;
    content: "";
    background: url('/wp-content/uploads/2023/09/arrow.svg') no-repeat center center;
    background-size: 16px 18px;
    width: 16px;
    height: 18px;
    display: inline-block;
    margin-left: 8px;
    position: absolute;
    right: 0;
    margin-top: 3px;
}
.br-company-newsletter {
    width: 90%;
    max-width: 700px;
    padding: 0 90px 200px;
    margin: auto;
}
.br-company-newsletter h2 {
    margin-bottom: 20px;
}
/* Ninja form overrides */
.br-company-newsletter .nf-form-cont .nf-form-content input:not([type=button]),
.br-company-newsletter .nf-form-cont .nf-form-content textarea,
.br-company-newsletter .nf-form-cont .list-select-wrap .nf-field-element > div,
.br-company-newsletter .nf-form-cont .nf-form-content input:focus,
.br-company-newsletter .nf-form-cont .nf-form-content textarea:focus,
.br-company-newsletter .nf-form-cont .list-select-wrap .nf-field-element > div:focus {
    border-color: black;
    color: black;
}
.br-company-newsletter .checkbox-wrap label.nf-checked-label:before,
.br-company-newsletter .listcheckbox-wrap label.nf-checked-label:before,
.br-company-newsletter .checkbox-wrap label:after,
.br-company-newsletter .listcheckbox-wrap label:after {
    border-color: black;
    color: black;
}
/* Footer override for page-id-543 */
body.page-id-543 .et_pb_section_0_tb_footer {
    background-color: #061D2C !important;
}

/* RESPONSIVE */
@media (max-width: 1060px) {
    .br-company-infoitem {
        width: calc(50% - 40px);
    }
}
@media (max-width: 980px) {
    .br-company-header {
        margin: 30px;
    }
    .br-company-category,
    .br-company-description {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .br-company-article {
        width: calc(50% - 36px);
    }
}
@media (max-width: 767px) {
    .br-company-header {
        margin: 15px;
    }
    .br-company-infoitems {
        padding: 0 0 50px 0;
    }
    .br-company-catdesc {
        padding: 60px 0 0 0;
    }
}
@media (max-width: 600px) {
    .br-company-info {
        padding: 60px 30px;
    }
    .br-company-logo {
        margin-bottom: 60px;
    }
    .br-company-filters {
        padding: 50px 30px;
    }
    .br-company-articles {
        padding: 0 30px 100px;
    }
}
@media (max-width: 500px) {
    .br-company-infoitem,
    .br-company-article {
        width: calc(100% - 36px);
    }
}
.br-company-subscribe-cta {
    background-color: #F8F8F8;
    border: 1px solid #061D2C;
    border-radius: 16px;
    padding: 60px 80px;
    margin: 40px auto 40px auto;
    text-align: center;
    max-width: 960px;
    font-family: inherit;
}
.br-company-subscribe-cta h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f3c47;
}
.br-company-subscribe-cta p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}
.br-hubspot-form-container form {
    text-align: left;
}
.br-company-article {
    margin: 0 18px 60px;
    width: calc(25% - 36px);
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.br-company-article:hover {
    transform: translateY(-4px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.1);
}

.article-tag {
    background: #C84444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 2px;
    margin-bottom: 2px;
}

.br-company-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F3C47;
    margin-bottom: 10px;
}

.br-company-article .date {
    font-size: 13px;
    color: #259898;
    margin-bottom: 6px;
    display: block;
}

.br-company-article p {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.br-company-article p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em; /* adjust if needed */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

/* Responsive: 4 to 2 to 1 columns */
@media (max-width: 1200px) {
    .br-company-article {
        width: calc(33.33% - 36px);
    }
}
@media (max-width: 980px) {
    .br-company-article {
        width: calc(50% - 36px);
    }
}
@media (max-width: 600px) {
    .br-company-article {
        width: calc(100% - 36px);
    }
}
.br-company-articles p {
    margin-bottom: 20px;
}