/* ! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: .67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace,monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace,monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: .35em .75em .625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --color3: #0dcaf0;
    --color4: #3281ff;

    /* MediCera blue */
    --white: white;
    --light: #f8f9fa;
    --dark: #212529;
    --brand-blue: #3281ff;

    /* shortcut */
}

body,
html {
    min-height: 100vh;
}

/* === MediCera Hero Quick Links Overrides === */
.hero-quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.hero-quick-links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto !important;
    padding: 8px 16px;
    font-size: 0.9rem;
    line-height: 1.2;
    background: #666666;

    /* lighter grey */
    color: #fff;
    border: none;
    border-radius: 6px;
}

.hero-quick-links .btn:hover {
    background: #777777;

    /* even lighter grey on hover */
    color: #fff;
}

.hero-highlight p {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    margin-top: 8px;
    text-align: center;
}

.site-header a,
.navbar a,
.site-header .menu a,
.navbar .menu a,
.site-header .phone,
.site-header .btn-link {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);

    /* improves legibility over video */
}

/* Hover at top */
.site-header a:hover,
.navbar a:hover {
    color: #e6e6e6 !important;
}

/* When sticky (after scroll): keep your theme's background, but use dark text */
.is-sticky .site-header,
.fixed-header .site-header,
.is-sticky .navbar {
    /* keep existing background from theme (remove next line if you want it) */
    /* background: rgba(0,0,0,0.6) !important; */
    box-shadow: none !important;
}

.is-sticky .site-header a,
.is-sticky .navbar a,
.is-sticky .site-header .menu a {
    color: #1f1f1f !important;

    /* dark text over sticky background */
    text-shadow: none !important;
}

.is-sticky .site-header a:hover,
.is-sticky .navbar a:hover {
    color: #3281ff !important;

    /* MediCera blue hover on sticky */
}

/* Optional: change the thin green line under the header to MediCera blue */
.site-header,
header.site-header {
    border-bottom: none !important;
}

/* Change all Elementor green borders/outlines to MediCera blue */
.elementor-section,
.elementor-column,
.elementor-inner-column,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-divider,
.elementor-divider-separator,
.elementor-testimonial,
.elementor-testimonial-wrapper,
.elementor-column .elementor-widget-wrap > .elementor-widget,
.site-footer,
.site-copyright {
    border-color: #3281ff !important;
    outline-color: #3281ff !important;
}

/* Dividers and separators (remove the thin green lines) */
.elementor-divider,
.elementor-divider-separator {
    border: 0 !important;
    box-shadow: none !important;
}

/* Testimonials/cards sometimes get their own border */
.elementor-testimonial,
.elementor-testimonial-wrapper,
.elementor-column .elementor-widget-wrap > .elementor-widget {
    border: 0 !important;
    box-shadow: none !important;
}

/* Footer top line */
.site-footer,
.site-copyright {
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Hide the page title text inside the banner */
.page-id-162 .single-page-hero .entry-title {
    display: none !important;
}

/* Reduce the hero banner height on single pages */
.single-page-hero {
    height: 200px;

    /* adjust this down until you like it */
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

/* === Footer Size Adjustment === */
.site-footer {
    padding: 20px 0 !important;

    /* shrink top/bottom padding */
}

.site-footer__inner {
    padding: 10px 0 !important;

    /* even tighter inner spacing */
}

.site-copyright {
    margin-top: 10px !important;

    /* reduce extra gap above copyright */
    font-size: 0.9rem;

    /* optional: slightly smaller text */
}

/* === Footer copyright styling === */
.footer-menu .copyright-text {
    color: #ffffff !important;

    /* white text */
    font-weight: 400;

    /* optional: normal weight */
}

.footer-menu .copyright-text:hover {
    color: #ffffff !important;

    /* stay white on hover */
    text-decoration: none;

    /* no underline */
}

.footer-menu li a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-menu li a:hover {
    color: #3281ff !important;

    /* MediCera blue on hover */
    text-decoration: underline;

    /* subtle hover underline */
}

/* === Buttons === */
a.btn {
    background-color: #3281ff !important;
    color: #fff !important;
    border: none;
    transition: background-color 0.3s ease;
}

a.btn:hover {
    background-color: #1f5fcc !important;

    /* slightly darker blue on hover */
    color: #fff !important;
}

/* Hide description + Read More */
.front-providers-single__content,
.front-providers-single .btn {
    display: none !important;
}

/* Make sure the header (name + title) always shows */
.front-providers-single__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;

    /* optional: remove dark overlay */
}

/* Brand-blue cards */
.qc .qc-card {
    background: #3281ff !important;
    border: 1px solid #256fe0 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(50,129,255,.18);
}

/* Headings & body text in white */
.qc .qc-card h3,
.qc .qc-card p,
.qc .qc-card strong {
    color: #fff !important;
}

/* Keep bullets readable while card content is centered */
.qc .qc-card .qc-list {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.qc .qc-card .qc-list li {
    color: #fff;
}

.qc .qc-card .qc-list li::marker {
    color: #fff;
}

/* Links on blue: accessible underline */
.qc .qc-card a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.5px;
}

.qc .qc-card a:focus-visible {
    outline: 2px dashed #fff;
    outline-offset: 3px;
}

/* Mobile sidenav menu hover color */
.mc-mobile-menu li a:hover,
.mc-mobile-menu li a:focus {
    background-color: #3281ff !important;

    /* MediCera blue */
    color: #fff !important;

    /* keep text white */
}

/* === Fix: center headshots on phones/tablets === */
@media (max-width: 768px) {
    /* Center the whole card content just in case */
    .team,
    .leadership,
    .leadership-section,
    .team-card,
    .leadership-card,
    .front-providers-single {
        text-align: center !important;
    }

    /* Make the media wrapper center its child */
    .team-card__media,
    .leadership-card__media,
    .front-providers-single,
    .front-providers-single__overlay,
    .avatar-wrap,
    .headshot-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* The image itself */
    .team img,
    .leadership img,
    .team-card__media img,
    .leadership-card__media img,
    .front-providers-single img,
    img.headshot,
    img.avatar {
        display: block !important;
        float: none !important;
        position: static !important;
        margin: 0 auto !important;
        max-width: 140px !important;

        /* tweak as you like */
        width: 140px !important;

        /* keep square */
        height: 140px !important;
        object-fit: cover !important;

        /* no squish */
    }
}

.single-page-hero__inner {
    pointer-events: none;

    /* lets clicks pass through */
    position: relative;

    /* keeps layout intact */
    z-index: 0;

    /* ensures it's behind content */
}

/* Center the single card under the headings */
.page-section.leadership .team {
    display: grid;
    grid-template-columns: max-content;

    /* only as wide as the card */
    justify-content: center;

    /* center the column in the wrapper */
}

/* Keep the card compact (don't stretch to full width) */
.page-section.leadership .profile {
    grid-template-columns: 120px auto;

    /* was 160px 1fr; avoid 1fr stretching */
    max-width: 560px;

    /* optional: tune to taste */
    margin: 0 auto;

    /* belt-and-suspenders centering */
}

@media (max-width:600px){
    .page-section.leadership .profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
