*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

figure,
p,
ul,
address,
hr,
h1,
h2,
h3,
h5,
.h1,
.h2,
.h3,
.h5 {
    margin-top: 0;
}

ul,
ol {
    line-height: 1.6;
    margin-bottom: 0;
    padding-left: 2rem;
}

img,
svg {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    caption-side: bottom;
}

tbody,
tr,
td {
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

input,
button {
    margin: 0;
}

summary {
    display: list-item;
}

figure {
    margin: 0 0 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

address {
    margin-bottom: 1rem;
}

hr {
    margin: .25rem 0;
}

.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;

    width: 100%;
    margin-left: auto;
    margin-right: auto;

    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;

    display: flex;
    flex-wrap: wrap;

    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;

    margin-top: var(--bs-gutter-y);

    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

/* =========================
   GRID / COLS
========================= */

@media (width >=576px) {
    .container {
        max-width: 540px;
    }
}

@media (width >=768px) {
    .container {
        max-width: 720px;
    }

    .col-md-6 {
        width: 50%;
        flex: none;
    }

    .col-md-10 {
        width: 83.3333%;
        flex: none;
    }
}

@media (width >=992px) {
    .container {
        max-width: 960px;
    }

    .col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-lg-2 {
        width: 16.6667%;
        flex: none;
    }

    .col-lg-4 {
        width: 33.3333%;
        flex: none;
    }

    .col-lg-6 {
        width: 50%;
        flex: none;
    }

    .col-lg-7 {
        width: 58.3333%;
        flex: none;
    }

    .col-lg-8 {
        width: 66.6667%;
        flex: none;
    }

    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}

@media (width >=1200px) {
    .container {
        max-width: 1140px;
    }

    h1,
    .h1 {
        font-size: 2.5rem;
    }

    h2,
    .h2 {
        font-size: 2rem;
    }

    h3,
    .h3 {
        font-size: 1.75rem;
    }
}

@media (width >=1400px) {
    .container {
        max-width: 1320px;
    }
}

/* =========================
   DISPLAY UTILITIES
========================= */

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-none {
    display: none !important;
}

.visible {
    visibility: visible !important;
}

/* =========================
   POSITION
========================= */

.position-relative {
    position: relative !important;
}

.sticky-header {
    position: sticky;
    top: 0;
}

.doc-overlay {
    position: fixed;
    top: 0;
    bottom: 0;

    width: 100vw;
    height: 100vh;
}

.close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
}

.cancel-btn {
    position: fixed;
    top: 14px;
    right: 7%;
}

.cancel-btn,
.toggle-slide-btn {
    display: none;
}

/* =========================
   FLEX UTILITIES
========================= */

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.align-self-start {
    align-self: flex-start !important;
}

/* =========================
   SIZING
========================= */

.h-100 {
    height: 100% !important;
}

/* =========================
   SPACING UTILITIES
========================= */

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.ms-auto {
    margin-left: auto !important;
}

.my-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-5 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.mt-auto {
    margin-top: auto;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-50 {
    margin-top: 3.125rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: .75rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.p-3 {
    padding: .75rem !important;
}

.px-3 {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.py-3 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
}

.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.pb-2 {
    padding-bottom: .5rem !important;
}

/* =========================
   GAP
========================= */

.gap-2 {
    gap: .5rem !important;
}

.gap-3 {
    gap: .75rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-5 {
    gap: 1.25rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

.g-6 {
    --bs-gutter-x: 1.5rem;
}

.g-6,
.gy-6 {
    --bs-gutter-y: 1.5rem;
}

/* =========================
   TYPOGRAPHY LAYOUT
========================= */

.text-center {
    text-align: center !important;
}

.text-break {
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.truncate-2,
.truncate-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

/* =========================
   HEADER
========================= */

.widget_bwe-service-logo-widget {
    display: flex;
    align-items: center;
}

.bwe-service-logo img {
    width: auto;
    height: 32px;
}

.header nav {
    position: relative;
}

.header nav ul {
    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
}

.header nav ul li {
    position: relative;
    padding-block: 16px;
}

.header ul .dropdown ul li {
    padding: 8px;
}

.header ul .dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    position: relative;
}

.header ul .dropdown ul {
    position: absolute;
    top: 66px;
    left: -15px;

    display: block;
}

.right-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-search {
    position: fixed;
    inset: 0;

    display: none;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100vh;
}

.overlay-search.show {
    display: flex;
}

.overlay-search #hero-srch-wrap {
    position: relative;
    max-width: 600px;
}

.overlay-search #hero-srch-wrap form {
    position: relative;
    width: 100%;
}

.overlay-search #hero-srch-wrap button {
    position: absolute;
    top: 50% !important;
    right: 10px;
    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all .3s;
}

/* =========================
   CARD LAYOUTS
========================= */

.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    padding: .25rem;
    flex: 1 1 auto;
}

.h-card {
    display: grid;
    grid-template-columns: 35% auto;
    place-items: center;
    gap: 12px;
}

.overlay-card {
    position: relative;
    overflow: hidden;
}

.overlay-card:before {
    position: absolute;
    inset: 0;
}

.overlay-card .overlay-card-img {
    display: block;
    width: 100%;
    height: 100%;
}

.overlay-card .overlay-card-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.overlay-card .overlay-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.overlay-card-meta .author-avatar img {
    overflow: hidden;
    flex-shrink: 0;
}

.v-divider {
    display: inline-block;
}

/* =========================
   TABLE OF CONTENTS
========================= */

#tableofcontent {
    width: fit-content;
}

details summary {
    position: relative;
}

details summary:after {
    position: absolute;
    top: 50%;
    right: 25px;
}

/* =========================
   RESPONSIVE
========================= */

.main-header {
    padding-block: 4px;
}

@media screen and (width <=1024px) {
    .main-header {
        padding-block: 12px;
    }

    .header nav {
        background: var(--white);
        height: 100vh;
        left: 0;
        position: absolute;
        top: 0;
        transform: translateX(-100%);
        transition: all 0.2s;
        width: 300px;
        z-index: 10;
    }
    
    .show-ul {
        overflow-y: auto;
        transform: translate(0) !important;
    }

    .header nav ul {
        display: block;
        padding: 28px 20px 20px;
    }
    
    .header nav ul li {
        margin-bottom: 10px;
        padding: 10px 0 0;
    }

    .header ul .dropdown ul {
        width: 100%;
        top: 25px;
        left: 0;
    }

    .toggle-slide-btn {
        display: block;
        order: 1;
    }

    .cancel-btn {
        display: block;
    }
}

@media (width <=992px) {
    .h-card {
        grid-template-columns: 45% 1fr;
        gap: 8px;
    }
}

@media (width <=768px) {
    .h-card {
        grid-template-columns: 1fr;
        place-items: stretch stretch;
        gap: 12px;
    }

    .overlay-card .overlay-card-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .overlay-card {
        min-height: 360px;
    }
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.h-card .img-placeholder {
    border-radius: 1rem;
}

.list-unstyled {
    padding-left: 0;
    list-style: none
}

.footer-heading:after {
    content: "";
    background-color: #1c8ebf;
    width: 25px;
    height: 2px;
    margin-top: 5px;
    position: absolute;
    bottom: 0;
    left: 0
}

.site-footer__main a {
    color: #000;
}

.footer-disclaimer {
    font-size: 16px;
}

.yoast-breadcrumbs {
    margin-bottom: 20px;
}

.pagination .nav-links .current {
    background: #000;
}

.pagination .nav-links a,
.pagination .nav-links .current {
    color: #fff;
    font-weight: 600;
    width: 38px;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    border: none;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
}

.pagination .nav-links a {
    background: #1c8ebf;
}

.fs-20 {
    font-size: 20px;
    font-weight: 600;
}

.auth-avatar .avatar {
    border-radius: 999px;
    width: 80px;
    height: 80px;
    border: 1px solid #ccc;
    padding: 4px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.wp-block-quote {
    box-sizing: border-box;
    overflow-wrap: break-word;
    padding: 20px;
}

.wp-block-quote > :is(p, ul, li):last-child {
    margin-bottom: 0;
}