/* Only the Dark Full Width template's main content area. */
.mwt-dark-full-width {
    --mwt-pattern-opacity: 0.02;
    position: relative;
    isolation: isolate;
    background-color: #1f1f1f;
    background-image: var(--ft-bg-gradient, linear-gradient(180deg, #000 0%, #1f1f1f 55%, #242424 70%, #282828 100%));
    color: #ededed;
}

.mwt-dark-full-width::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("../images/mwt-background-flair.svg");
    background-position: center top;
    background-size: 2000px auto;
    background-repeat: repeat;
    opacity: var(--mwt-pattern-opacity);
}

.mwt-dark-full-width :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
}

/* Ordinary text links; leave button and card styles intact. */
.mwt-dark-full-width a:not([class]) {
    color: #ffcc00;
    text-decoration: none;
    text-underline-offset: 0.15em;
}

.mwt-dark-full-width a:not([class]):hover {color: #fff;}
.mwt-dark-full-width a:focus-visible {outline: 2px solid #ffcc00;outline-offset: 3px;}
@media (max-width: 767px) {.mwt-dark-full-width > .container {padding-left: 20px;padding-right: 20px;}}

/* Breadcrumbs within the dark patterned background */
.mwt-dark-full-width {padding-top: 24px;}
.mwt-dark-full-width .mwt-dark-breadcrumbs {margin-bottom: 40px;}
.mwt-dark-breadcrumbs .breadcrumb {display: block;margin: 0;padding: 0;background: transparent;color: #cccccc;}
.mwt-dark-breadcrumbs .breadcrumb a {color: #ffcc00;text-decoration: none;}
.mwt-dark-breadcrumbs .breadcrumb a:hover {color: #ffffff; text-decoration: underline;}

/* Optional blue content section above the footer */
.mwt-dark-full-width.mwt-dark-blue-section {background-color: #202d82;background-image: linear-gradient(
	to bottom,
        #3848c7 0%,
        #202d82 100%
    );
    border-top: 9px solid #ffcc00; border-bottom: 9px solid #ffcc00; padding-top: 60px; padding-bottom: 60px; color: #ffffff;
}

/* Yellow headings */
.mwt-dark-blue-section :is(h1, h2, h3, h4, h5, h6) {color: #ffcc00;}
.mwt-dark-blue-section > .container {display: flow-root;}
.mwt-dark-blue-section > .container > :last-child {margin-bottom: 0;}

@media (max-width: 767px) {
    .mwt-dark-full-width.mwt-dark-blue-section {padding-top: 36px;padding-bottom: 36px;}
}

/* Yellow gradient lettering in the blue section */
.mwt-dark-blue-section :is(h1, h2, h3, h4, h5, h6) {
    color: #ffcc00; /* Fallback */
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .mwt-dark-blue-section :is(h1, h2, h3, h4, h5, h6) {
        background-image: linear-gradient(
            to bottom,
            #ffdf3a 0%,
            #ffcc00 45%,
            #ffad00 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* Center the pattern within the optional blue section */
.mwt-dark-blue-section::before {background-position: center center;}

/* Fill dark content areas with the smaller repeating pattern */
.mwt-dark-full-width:not(.mwt-dark-blue-section) {
    overflow: hidden;
}

.mwt-dark-full-width:not(.mwt-dark-blue-section)::before {
    inset: -20%;
    background-size: 1800px auto;
    background-position: center;
    background-repeat: repeat;
}

/* Contact location phone links */
.mwt-contact-locations .mwt-location-card a[href^="tel:"] {
    color: #3848c7;
    transition: color 0.2s ease;
}

.mwt-contact-locations .mwt-location-card a[href^="tel:"]:hover,
.mwt-contact-locations .mwt-location-card a[href^="tel:"]:focus-visible {
    color: #ffcc00;
}
/* White card text within the dark template's main content */
.mwt-dark-full-width:not(.mwt-dark-blue-section) .card-body,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .card-body p,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .card-body li,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .card-body :is(h2, h3, h4, h5, h6) {
    color: #ffffff;
}
/* Remove white backgrounds and lighten bullet-list text */
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li strong {
    background-color: transparent;
    color: #ffffff;
}

.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li::marker {color: #ffcc00;}

/* Remove white backgrounds from links inside bullet lists */
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a {background-color: transparent;color: #ffcc00;}
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a:hover,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a:focus-visible {background-color: transparent;color: #ffffff;}
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a:hover,
.mwt-dark-full-width:not(.mwt-dark-blue-section) .inner_bullet li a:focus-visible {text-decoration: none;}

.mwt-dark-full-width .mwt-yellow-callout {background: #ffcc00;color: #1f1f1f;border-radius: 5px;padding: clamp(24px, 5vw, 64px);}
.mwt-dark-full-width .mwt-yellow-callout a {color: #1f1f1f;font-weight: 700;text-decoration: none;}
.mwt-dark-full-width .mwt-yellow-callout a:hover,
.mwt-dark-full-width .mwt-yellow-callout a:focus-visible {color: #202d82;}

/* Blue employee names in Team Members Pro cards. */
.mwt-dark-full-width .tmm_names,
.mwt-dark-full-width .tmm_names :is(h2, h3, h4, span, a) {
    color: #3848c7;
}