/* =========================
   ROOT VARIABLES
========================= */

:root {
    --primary: #1c8ebf;
    --primary-hover: #156d93;

    --white: #fff;
    --black: #000;

    --secondary-text: #000000bf;

    --border-color: #cccccc63;
    --border-color-light: #0000002d;

    --bg-light: #e9ecef;

    --radius: .375rem;
    --radius-lg: .5rem;
    --radius-xl: 1rem;

    --font-family:
        "Lato",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;

    --transition: .3s ease;
}

/* =========================
   BASE
========================= */

body {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;

    color: var(--black);
    background-color: var(--white);

    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

hr {
    border: 0;
    border-top: 1px solid currentColor;
    opacity: .25;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h5,
.h5 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

h1,
.h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2,
.h2 {
    font-size: calc(1.325rem + .9vw);
}

h3,
.h3 {
    font-size: calc(1.3rem + .6vw);
}

h5,
.h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;

    font-size: 18px;
    line-height: 30px;
}

address {
    font-style: normal;
}

strong {
    font-weight: 700;
}

small,
.small {
    font-size: .875em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

/* =========================
   FORMS
========================= */

button,
[type="button"],
[type="submit"] {
    -webkit-appearance: button;
    text-transform: none;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[class*="-btn"],
[role="button"] {
    cursor: pointer;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
    filter: grayscale();
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-inner-spin-button {
    height: auto;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::file-selector-button {
    font: inherit;
    -webkit-appearance: button;
}

.form-control {
    display: block;

    width: 100%;
    padding: .375rem .75rem;

    font: inherit;
    line-height: 1.5;

    color: var(--black);

    background-color: var(--white);
    background-clip: padding-box;

    border: 1px solid var(--border-color);
    border-radius: var(--radius);

    appearance: none;

    transition:
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: #8ec7df;
    outline: 0;
    box-shadow: 0 0 0 .25rem #1c8ebf40;
}

.form-control::placeholder {
    color: var(--secondary-text);
    opacity: 1;
}

.form-control:disabled {
    background-color: var(--bg-light);
    opacity: 1;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;

    padding: .375rem .75rem;

    font-size: 1rem;
    line-height: 1.5;

    text-align: center;
    vertical-align: middle;

    user-select: none;

    border: 1px solid transparent;
    border-radius: var(--radius);

    background-color: transparent;

    transition:
        color .15s ease-in-out,
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}

.btn-primary {
    color: var(--black);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #3e9fc9;
    border-color: #3399c5;
}

/* =========================
   CARD
========================= */

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius);
}

/* =========================
   UTILITIES
========================= */

.rounded,
.rounded-2 {
    border-radius: var(--radius) !important;
}

.rounded-2 {
    border-radius: .5rem !important;
}

.rounded-3 {
    border-radius: var(--radius-lg) !important;
}

.rounded-4 {
    border-radius: var(--radius-xl) !important;
}

.border {
    border: 1px solid var(--border-color) !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-dark,
.text-black {
    color: var(--black) !important;
}

.text-white {
    color: var(--white) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.lh-lg {
    line-height: 2 !important;
}

/* =========================
   HEADER
========================= */

.sticky-header {
    z-index: 99;
    background: var(--white);
}

.main-header {
    border-bottom: 1px solid #d5d5d5;
}

.header {
    background-color: var(--white);
    transition: .5s ease-in-out;
}

.bwe-service-logo img {
    transition: width 0.3s ease-in-out;
}

.header nav ul li a {
    color: var(--black);
    line-height: 1.6;
    text-decoration: none;
    transition: var(--transition);
}

.header nav ul li a:hover {
    color: #0e002b;
}

.header ul .dropdown ul {
    visibility: hidden;

    z-index: 999;

    min-width: 170px;

    margin: 0;
    padding: 10px;

    background-color: var(--white);

    white-space: nowrap;

    transform: scale(0);
    transform-origin: top;

    transition: var(--transition);

    box-shadow: 0 0 30px #7f89a140;
}

.header .dropdown:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
}

.search-btn {
    padding: 8px 12px;

    background: #f1f1f1;
    border: 0;
}

.doc-overlay {
    z-index: 2;
    background: #000;
    opacity: .5;
}

/* =========================
   SEARCH OVERLAY
========================= */

.overlay-search {
    z-index: 9999;

    padding: 20px;

    background: #000000ed;
}

.overlay-search #hero-srch-wrap {
    width: 100%;
    max-width: 580px !important;

    padding: 6px;

    border-radius: 36px;
}

.overlay-search #hero-srch-wrap input {
    width: 100%;
    padding: 20px 60px 20px 20px;

    font-size: 18px;
    color: var(--black);

    background: var(--white);

    border: 2px solid #333;
    border-radius: 50px;

    outline: none;
}

.overlay-search #hero-srch-wrap button {
    width: 50px;
    height: 50px;

    background: var(--primary);

    border: 0;
    border-radius: 50%;
}

.close-btn {
    z-index: 999999;
    opacity: .8;
}

/* =========================
   FOOTER
========================= */

.site-footer__main {
    background-color: #d1e8f2;

    background-image:
        linear-gradient(#d1e8f2eb, #d1e8f2eb),
        url(/wp-content/themes/bwe-service-child/min/footer-bg-D1H6FkhT.jpg);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.footer-heading::after {
    content: "";

    width: 25px;
    height: 2px;

    background-color: var(--primary);
}

.footer-contact-mail {
    color: #4a4a4a;
}

.footer-contact-mail:hover {
    color: #208dbb;
}

.footer-icon-square {
    width: 32px;
    height: 32px;

    color: var(--white);
    background-color: #208dbb;
}

/* =========================
   CONTENT
========================= */

.category-pill {
    width: fit-content;

    padding: 4px 20px;

    font-size: 16px;
    color: var(--white);

    background-color: var(--primary);

    border: 1px solid var(--border-color);
    border-radius: 40px;
}

.overlay-card {
    background: #ddd;
    border-radius: 24px;
}

.overlay-card::before {
    content: "";

    background:
        linear-gradient(#0000 0%,
            #00000024 27%,
            #000000e6 90%);
}

.overlay-card .overlay-card-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s;
}

.overlay-card:hover .overlay-card-img img {
    transform: scale(1.08);
}

.overlay-card-meta .author-avatar img {
    width: 52px;
    height: 52px;

    border: 2px solid #fff3;
    border-radius: 50%;
}

.overlay-card .overlay-card-meta .meta-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffffeb;
}

.v-divider {
    width: 4px;
    height: 4px;

    margin: 0 8px;

    background-color: var(--white);
    border-radius: 50%;
}

.truncate-2 {
    -webkit-line-clamp: 2;
}

.truncate-3 {
    -webkit-line-clamp: 3;
}

/* =========================
   TOC
========================= */

#tableofcontent {
    margin-block: 30px;
    padding: 24px;

    background: #b4c8c321;

    border: 1px solid var(--black);
    border-radius: 5px;
}

#tableofcontent .head-th {
    margin-bottom: 25px;
    padding-bottom: 15px;

    font-size: 20px;
    font-weight: 600;

    border-bottom: 1px solid var(--border-color);
}

details summary {
    padding: 15px 60px 15px 15px;

    font-size: 16px;
    font-weight: 600;

    background: var(--white);

    border: 1px solid #ddd;
    border-radius: 6px;
}

details .content {
    padding: 10px 20px;
    background: #cccccc2b;
}

.img-placeholder {
    background-color: #c7c7c7;
}

.wp-block-quote {
    border-left: 5px solid #47baeb;
    border-right: 1px solid #47baeb;
    border-top: 1px solid #47baeb;
    border-bottom: 1px solid #47baeb;
}