html {
  font-size: 14px;
}

#google_translate_element {
    /*display:none;*/
}

@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.page-banner-icon-holder {
    margin-top: auto;
    margin-bottom: 10px;
    width: 100%;
}

.PageBannerIcon {
    width: 10%;
    max-width: 20%;
    float: right;
    opacity: 0.75;
}

.BoardDivider {
    padding: 0px;
    margin-top: 0px;
    width: 400px;
    justify-self: center;
}

.red-divider {
    height: 2px;
    background-color: var(--main-color);
    margin-bottom: 35px;
}

.gray-divider {
    height: 2px;
    background-color: lightgray;
    margin-bottom: 35px;
}

.breakwords {
    overflow-wrap: break-word;
}

.fit-content {
    width: fit-content;
}

.wrap {
    flex-wrap: wrap;
}

.validation-summary-valid {
    display: none;
}

.field-validation-valid {
    display: none;
}

.site-logo {
    text-decoration: none;
    display: block;
    flex: 0 0 280px;
    max-width: 68px;
}

.hero--location .hero__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0) 100%);
}

.hero--location {
    background-size: cover;
    background-position: center center;
}

.hero-banner-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 840px;
    margin-left: clamp(14px, 5vw, 80px);
    padding: clamp(16px, 2.4vw, 30px) 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

    .hero-banner-copy h1 {
        margin: 0 0 8px;
        font-size: clamp(1.7rem, 5.8vw, 3.6rem);
        font-weight: 800;
        line-height: 1.05;
    }

    .hero-banner-copy p {
        margin: 0;
        font-size: clamp(0.92rem, 1.85vw, 1.2rem);
        line-height: 1.4;
        max-width: 75ch;
    }

@media (max-width: 576px) {
    .hero-banner-copy {
        margin-left: 14px;
        margin-right: 14px;
    }

        .hero-banner-copy p {
        }
}



.nav-items {
    flex: 1;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-right-item {
    display: flex;
    align-items: center;
    justify-self: flex-end;
    margin-bottom: 0px;
}

.english-spanish-container {
    margin-right: 15px;
    align-content: center;
}

.center-text {
    align-content: center;
}

.pdf {
    border: 1px solid black;
    width: calc(100% + 26px);
    height: 800px;
}

.bullets {
    list-style: disc;
    margin-left: 60px;
}

    .bullets li {
        padding-left: 20px;
    }

        .bullets li::marker {
            color: var(--main-color);
        }

    .btn {
        border: 0;
        border-radius: 12px;
        background-color: #bf1e2e;
        color: #fff;
        font: normal 400 1em "Lato", sans-serif;
        display: inline-block;
        padding: 5px 20px 4px 20px;
        font-size: 20px;
        text-decoration: none;
        text-transform: none;
        line-height: 36px;
        -webkit-appearance: none;
        text-align: center;
        cursor: pointer;
        border-width: 0;
        border: 0 solid #000;
    }

    .btn:focus {
        outline-width: 0
    }

    .btn:hover {
        background: #ac1b29;
        text-decoration: none;
        border-color: #000
    }

    .btn.fw {
        display: block;
        width: 100%
    }

    .btn.main {
        box-shadow: 0 3px 6px rgba(0,0,0,0.16)
    }

    .btn.white {
        background: #fff;
        color: #bf1e2e;
        border-color: #ccc
    }

        .btn.white:hover {
            background: #bf1e2e;
            color: #fff;
            border-color: #000
        }

    .btn.white-outline {
        border: 1px solid #fff;
        background: none;
        color: #fff
    }

        .btn.white-outline:hover {
            background: #6E000B
        }

    .btn.color-outline {
        border: 1px solid #000;
        background: none;
        color: #000
    }

        .btn.color-outline:hover {
            background: #fafafa
        }

    .btn.custom-1 {
        background: #bf1e2e;
        border-color: #991825;
        position: relative;
        padding: 35px;
        font-size: 1.75em;
        text-transform: uppercase;
        letter-spacing: 0.05em
    }

.header-login-button {
    margin-right: 15px;
}

.request-apt-btn {
    white-space: nowrap;
}

.header-donate-button {
    border: 1px solid #000;
    background: none;
    color: #000;
    margin-right: 15px;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-dialog {
    z-index: 1050;
    width: auto;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
}

.modal-content {
    width: min(100%, 36rem);
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(29, 47, 66, 0.14);
    border-radius: 20px;
    outline: none;
    -webkit-box-shadow: 0 22px 48px rgba(17, 40, 62, 0.2);
    box-shadow: 0 22px 48px rgba(17, 40, 62, 0.2);
    background-clip: padding-box;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #000000;
}

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

.modal-header {
    min-height: 16.428571429px;
    padding: 1.5rem 1.5rem 0.75rem;
    border-bottom: 0;
}

    .modal-header .close {
        margin-top: -2px;
    }

.modal-title {
    margin: 0;
    line-height: 1.428571429;
}

.modal-body {
    position: relative;
    padding: 0 1.5rem 1.25rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: 0;
    text-align: right;
    border-top: 0;
}

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }

@media screen and (min-width: 768px) {
    .modal-dialog {
        right: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
}

#GenericMessagePopup .modal-content {
    transform: translateY(18px);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.modal.in .modal-content,
.modal.show .modal-content,
#GenericMessagePopup.in .modal-content,
#GenericMessagePopup.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

#GenericMessagePopup .modal-dialog {
    max-width: 36rem;
}

#GenericMessagePopup .modal-header,
#GenericMessagePopup .modal-body,
#GenericMessagePopup .modal-footer {
    text-align: center;
}

#GenericMessagePopup .modal-content {
    background: #ffffff;
    border: 1px solid rgba(18, 40, 61, 0.12);
    border-radius: 22px;
    overflow: hidden;
}

#GenericMessagePopup .modal-header {
    background: #ffffff;
    padding: 2rem 2rem 0.9rem;
}

#GenericMessagePopup .modal-body {
    padding: 0 2rem 1.5rem;
}

#GenericMessagePopup .modal-footer {
    padding: 0 2rem 2rem;
}

#GenericMessagePopup .modal-footer .close-button {
    min-width: 9rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--main-color) 0%, #931724 100%);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(191, 30, 46, 0.22);
    font-size: 1rem;
    font-weight: 700;
}

#GenericMessagePopup .modal-footer .close-button:hover,
#GenericMessagePopup .modal-footer .close-button:focus-visible {
    background: linear-gradient(135deg, var(--main-color) 0%, #931724 100%);
    filter: brightness(1.06);
}

.form-status-popup__title {
    margin: 0;
    color: #12283d;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.24;
    text-wrap: balance;
}

.form-status-popup__message {
    margin: 0;
    color: #32485f;
    font-size: 1rem;
    line-height: 1.65;
    text-wrap: pretty;
}

@media (max-width: 575.98px) {
    .modal-dialog {
        padding: 16px;
    }

    .modal-content {
        width: 100%;
        border-radius: 18px;
    }

    #GenericMessagePopup .modal-header {
        padding: 1.5rem 1.2rem 0.7rem;
    }

    #GenericMessagePopup .modal-body {
        padding: 0 1.2rem 1rem;
    }

    #GenericMessagePopup .modal-footer {
        padding: 0 1.2rem 1.4rem;
    }

    #GenericMessagePopup .modal-footer .close-button {
        width: 100%;
    }

    .form-status-popup__title {
        font-size: 1.55rem;
    }

    .form-status-popup__message {
        font-size: 0.98rem;
        line-height: 1.6;
    }
}

:root {
    --main-color: #bf1e2e;
    --fivespot-color: #be95be;
}

.hidden {
    display: none;
}

.full-width {
    width: 100%;
}

.admin-users-table {
    width: 100%;
    table-layout: fixed;
}

.admin-users-table th,
.admin-users-table td {
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-users-table__email {
    width: 24%;
}

.admin-users-table__status {
    width: 12%;
}

.admin-users-table__last-login {
    width: 12%;
}

.admin-users-table__action {
    width: 7rem;
    white-space: nowrap;
}

.admin-users-table__action input,
.admin-users-table__action a {
    display: inline-block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.00) 100% );
}

.hero__content {
    position: relative;
    color: #fff;
    max-width: 540px;
}

    .hero__content h1 {
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.1;
        margin: 0 0 12px;
    }

    .hero__content p {
        font-size: 1.125rem;
        margin: 0 0 24px;
        opacity: 0.95;
    }

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darkened background */
    z-index: 1050;
}

.companyColor {
    background-color: var(--main-color);
}

.navGray {
    background-color: #fff;
}

#secondNavbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#secondNavbar .container-fluid,
#secondNavbar .navbar-collapse,
#secondNavbar .navbar-nav {
    align-items: center;
}

#secondNavbar .container-fluid {
    justify-content: space-between;
}

#secondNavbar .navbar-collapse {
    margin-left: auto;
    justify-content: flex-end;
}

#secondNavbar .navbar-nav {
    margin-left: auto;
    justify-content: flex-end;
}

#secondNavbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 0.42rem 0.55rem;
}

#secondNavbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(191, 30, 46, 0.25);
}

#secondNavbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(191, 30, 46, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#secondNavbar .navbar-nav > .nav-item > .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 8px 12px;
    min-height: 44px;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

#secondNavbar .nav-split-link {
    display: flex;
    align-items: center;
}

#secondNavbar .nav-split-link > a.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 8px 12px;
    min-height: 44px;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

#secondNavbar .nav-split-toggle {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 8px 9px;
    margin-left: 2px;
    min-height: 44px;
    line-height: 1;
}

#secondNavbar .nav-split-toggle::after {
    display: inline-block;
    content: "\25BE";
    border: 0;
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.2s ease, color 0.2s ease;
}

#secondNavbar .nav-item.dropdown.show .nav-split-toggle::after {
    transform: rotate(180deg);
    color: #bf1e2e;
}

#secondNavbar .sub-nav-split-link {
    display: flex;
    align-items: center;
    width: 100%;
}

#secondNavbar .sub-nav-split-link > a.dropdown-item {
    flex: 1 1 auto;
    margin-right: 0;
}

#secondNavbar .sub-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    margin: 2px 0 2px 4px;
    width: 2.5rem;
    border-radius: 8px;
    padding: 8px 0;
    color: #bf1e2e;
    font-weight: 700;
}

#secondNavbar .sub-nav-toggle::after {
    display: inline-block;
    content: "+";
    border: 0;
    font-size: 1.2rem;
    line-height: 1;
}

#secondNavbar .sub-nav-toggle::before {
    display: none;
}

#secondNavbar .sub-nav-toggle--placeholder {
    visibility: hidden;
    pointer-events: none;
}

#secondNavbar .sub-nav-toggle--placeholder::after {
    content: "";
}

#secondNavbar .navbar-nav > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, #bf1e2e 0%, #de4a58 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

#secondNavbar .nav-split-link > a.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, #bf1e2e 0%, #de4a58 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

#secondNavbar .navbar-nav > .nav-item > .nav-link:hover,
#secondNavbar .navbar-nav > .nav-item > .nav-link:focus-visible {
    color: #bf1e2e !important;
    background-color: rgba(191, 30, 46, 0.06);
    transform: translateY(-1px);
}

#secondNavbar .nav-split-link > a.nav-link:hover,
#secondNavbar .nav-split-link > a.nav-link:focus-visible,
#secondNavbar .nav-item.dropdown.show > .nav-split-link > a.nav-link {
    color: #bf1e2e !important;
    background-color: rgba(191, 30, 46, 0.06);
    transform: translateY(-1px);
}

#secondNavbar .navbar-nav > .nav-item > .nav-link:hover::after,
#secondNavbar .navbar-nav > .nav-item > .nav-link:focus-visible::after {
    transform: scaleX(1);
}

#secondNavbar .nav-split-link > a.nav-link:hover::after,
#secondNavbar .nav-split-link > a.nav-link:focus-visible::after,
#secondNavbar .nav-item.dropdown.show > .nav-split-link > a.nav-link::after {
    transform: scaleX(1);
}

#secondNavbar .navbar-nav > .nav-item.dropdown > .nav-link[aria-expanded="true"] {
    color: #bf1e2e !important;
    background-color: rgba(191, 30, 46, 0.08);
}

#secondNavbar .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 992px) {
    #secondNavbar .second-navbar-collapse {
        justify-content: flex-end !important;
    }

    #secondNavbar .nav-items,
    #secondNavbar .nav-right-item {
        flex: 0 0 auto;
        width: auto;
        justify-content: flex-end;
    }
}

#secondNavbar .nav-btn:hover,
#secondNavbar .nav-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

@media (max-width: 991.98px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    #secondNavbar .second-navbar-collapse {
        width: 100%;
        margin-top: 10px;
        padding: 10px 8px;
        border: 1px solid rgba(0, 0, 0, 0.09);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    #secondNavbar .nav-items,
    #secondNavbar .nav-right-item,
    #secondNavbar .navbar-nav {
        width: 100%;
    }

    #secondNavbar .navbar-nav > .nav-item {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #secondNavbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }

    #secondNavbar .navbar-nav > .nav-item > .nav-link::after {
        display: none;
    }

    #secondNavbar .nav-split-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 3rem;
        width: 100%;
        align-items: stretch;
    }

    #secondNavbar .nav-split-link > a.nav-link {
        display: flex;
        align-items: center;
        min-width: 0;
        padding: 10px 12px;
    }

    #secondNavbar .nav-split-link > a.nav-link::after {
        display: none;
    }

    #secondNavbar .nav-split-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 3rem;
        min-width: 3rem;
        padding: 10px 0;
        margin-left: 0;
    }

    #secondNavbar .nav-split-toggle.d-none {
        display: inline-flex !important;
    }

    #secondNavbar .nav-split-link > .nav-split-toggle::after {
        content: "+";
        font-size: 1.2rem;
        font-weight: 700;
        color: #bf1e2e;
    }

    #secondNavbar .nav-item.dropdown.show .nav-split-toggle::after {
        content: "-";
        transform: none;
    }

    #secondNavbar .nav-item.dropdown > .nav-link.dropdown-toggle::after {
        display: inline-block;
        content: "+";
        margin-left: auto;
        border: 0;
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1;
        color: #bf1e2e;
    }

    #secondNavbar .nav-item.dropdown.show > .nav-link.dropdown-toggle::after {
        content: "-";
    }

    #secondNavbar .nav-item.dropdown:hover > .dropdown-menu,
    #secondNavbar .sub-nav-item.dropdown:hover .sub-dropdown-menu {
        display: none;
    }

    #secondNavbar .dropdown-menu,
    #secondNavbar .sub-dropdown-menu {
        position: static;
        transform: none !important;
        float: none;
        min-width: 0;
        margin: 4px 6px 8px;
        padding: 6px;
        border-radius: 10px;
        box-shadow: none;
        animation: none !important;
        background: rgba(191, 30, 46, 0.05);
    }

    /* Bootstrap handles first-level dropdown open state with .show. */
    #secondNavbar .sub-dropdown-menu {
        display: none;
        margin-left: 14px;
        border-left: 2px solid rgba(191, 30, 46, 0.25);
    }

    #secondNavbar .dropdown-item {
        margin: 0;
    }

    #secondNavbar .dropdown-item::before {
        left: 4px;
    }

    #secondNavbar .sub-nav-split-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 3rem;
        align-items: stretch;
        width: 100%;
    }

    #secondNavbar .sub-nav-split-link > a.dropdown-item {
        min-width: 0;
        margin: 0;
    }

    #secondNavbar .sub-nav-item--static .sub-nav-split-link > a.dropdown-item,
    #secondNavbar .sub-nav-item--static .sub-nav-toggle--placeholder {
        min-height: 44px;
    }

    #secondNavbar .sub-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 3rem;
        min-width: 3rem;
        margin: 0;
        padding: 10px 0;
    }

    #secondNavbar .nav-btn {
        width: 100%;
        margin-top: 4px;
    }

    #secondNavbar .header-donate-button {
        margin-right: 0;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.bg-custom {
    background-color: #5172b0;
}

.location-navbar {
    padding: 0 20px;
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030; /* Ensures it stays above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.no-padding {
    padding:0px;
}

.location-item:hover {
    background-color: black;
    color:white;
}

.location-item {
    padding: 20px 3vw !important;
}

.left-red-bar {
    border-left: 18px solid var(--main-color);
}

.padding-left-bar {
    margin: 25px;
    padding: 30px 40px;
    display: grid;
}

.generic-modal {
    align-content: center;
    text-align: center;
    width: 100%;
    justify-self: anchor-center;
}

.DeleteModal {
    width: 40% !important;
    left: auto;
}

.modal {
    align-content: center;
    text-align: center;
    width: 100%;
    justify-self: anchor-center;
}

.modalHeader {
    border-bottom: 1px solid black;
    color: white;
}

.blackBorder {
    border: 1px solid black;
}

.modalButton {
    width: 100px;
    float: right;
    margin: 6px;
}

.MarginTop {
    margin-top: 20px;
}

.MarginBottom {
    margin-bottom: 20px;
}

.FloatRight {
    float:right;
}

.row {
    margin-bottom: 10px;
}

.IconActive {
    filter: invert(15%) sepia(93%) saturate(3733%) hue-rotate(345deg) brightness(70%) contrast(89%);
}

.modal-header {
    background-color: crimson;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
    .flexbox .flex-grid-unit 
    {
        flex: 0 0 40%;
    }

.ColorBlack {
    color: black;
}

.color-main {
    color: var(--color-main)
}

.background-main {
    background-color: var(--color-main)
}

.header-icon-chat {
    display: inline-block;
    background-size: 40px;
    background-position: 0 center;
    background-repeat: no-repeat;
    padding-left: 1.8em;
}

.chat-icon {
    background-image: url(/img/SiteIcons/ChatIcon.svg);
}

.handshake-icon {
    background-image: url(/img/SiteIcons/HandshakeIcon.svg);
}

.house-icon {
    background-image: url(/img/SiteIcons/HouseIcon.svg);
}

.bus-icon {
    background-image: url(/img/SiteIcons/BusIcon.svg);
}

.search-money-icon {
    background-image: url(/img/SiteIcons/SearchMoneyIcon.svg);
}

.scale-icon {
    background-image: url(/img/SiteIcons/ScaleIcon.svg);
}






#block_2291496 {
    background-color: var(--color-main)
}

#block_2291496 > .inner {
    padding: 45px 15px
}

    #block_2291496 > .inner > .flexbox {
        gap: 30px
    }

body.editing #block_2291496 > .inner > .flexbox {
    gap: calc(30px * 0.5)
}

@media all and (max-width: 800px) {
    #block_2291496 > .inner > .flexbox {
        gap: 30px
    }
}

.container #block_2291497 {
    background-color: transparent;
    color: #6e000b;
    font-size: 22px;
    flex: 0 1 0 1 autopx;
    text-align: center
}

#block_2291497 > .content_body {
    padding: 0px
}

#block_2291497 > .overlay {
    opacity: 0.0;
    background-color: var(--color-main)
}

@media all and (max-width: 800px) {
    .container #block_2291497 {
        order: 0;
        font-size: 18px
    }
}

.container #block_2291518 {
    background-color: transparent;
    color: inherit;
    font-size: 20px;
    flex: 1;
    text-align: left
}

#block_2291518 > .content_body {
    padding: 0px
}

#block_2291518 > .overlay {
    opacity: 0.0;
    background-color: var(--color-main)
}

@media all and (max-width: 800px) {
    .container #block_2291518 {
        order: 0;
        text-align: center
    }
}

.container #block_2291533 {
    background-color: transparent;
    color: inherit;
    font-size: inherit;
    flex: 1;
    text-align: center
}

#block_2291533 > .content_body {
    padding: 0px
}

#block_2291533 > .overlay {
    opacity: 0.0;
    background-color: var(--color-main)
}

@media all and (max-width: 800px) {
    .container #block_2291533 {
        order: 0
    }
}

.container #block_2291548 {
    background-color: transparent;
    color: inherit;
    font-size: inherit;
    flex: 1;
    text-align: center
}

#block_2291548 > .content_body {
    padding: 0px
}

#block_2291548 > .overlay {
    opacity: 0.0;
    background-color: var(--color-main)
}

@media all and (max-width: 800px) {
    .container #block_2291548 {
        order: 0
    }
}

#block_2291563 .img-holder {
    padding-top: 0;
    padding-bottom: 20px
}

    #block_2291563 .img-holder img {
        width: 300px
    }

#block_2291587 .btn {
    margin-top: 0px;
    margin-bottom: 0px
}

#block_2291597 .btn {
    margin-top: 0px;
    margin-bottom: 15px
}

#block_2291607 {
    padding: 0px;
    font-size: 36px
}

    #block_2291607 ul.social-links li a {
        color: #ffffff
    }

        #block_2291607 ul.social-links li a:hover {
            color: #6e000b
        }

        #block_2291607 ul.social-links li a svg {
            width: 36px;
            height: 36px
        }

            #block_2291607 ul.social-links li a svg > path {
                fill: #ffffff
            }

        #block_2291607 ul.social-links li a:hover svg > path {
            fill: #6e000b
        }

        #block_2291607 ul.social-links li a svg > g > path {
            stroke: #ffffff
        }

        #block_2291607 ul.social-links li a:hover svg > g > path {
            stroke: #6e000b
        }









#AppointmentsButtonDiv .btn {
    margin-top: 0px;
    margin-bottom: 4vw
}

#BodyLowerSection > .hold {
    padding: 0px
}

    #BodyLowerSection > .hold > .outer {
        background-color: transparent
    }

        #BodyLowerSection > .hold > .outer > .inner {
            padding: 6vw 20px;
            color: var(--color-dark);
            font-size: inherit
        }

        #BodyLowerSection > .hold > .outer > .overlay {
            opacity: 0.0;
            background-color: var(--color-main)
        }

#block_2839783 {
    background-color: transparent
}

    #block_2839783 .menu-inner {
        padding: 0px;
        text-align: inherit
    }

    #block_2839783 a {
        color: #ffffff
    }

        #block_2839783 a:hover {
            color: #6e000b
        }

    #block_2839783 ul {
        gap: 10px
    }

#PatientPortalButtonDiv .btn {
    margin-top: 20px;
    margin-bottom: 20px
}

#block_8146774 > .hold {
    padding: 0px
}

    #block_8146774 > .hold > .outer {
        background-color: transparent
    }

        #block_8146774 > .hold > .outer > .inner {
            max-width: nonepx;
            padding: 120px 60px;
            color: inherit;
            font-size: inherit
        }

        #block_8146774 > .hold > .outer > .overlay {
            opacity: 0.0;
            background-color: var(--color-main)
        }

@media all and (max-width: 800px) {
    #block_8146774 > .hold > .outer > .inner {
        padding: 60px 16px
    }
    .DonationIframe {
        height: 951px !important;
    }
}

.container {
    margin-top:30px;
}

#PrivacyPolicyDiv .btn {
    margin-top: 20px;
    margin-bottom: 20px
}

#block_2291496 .flex-grid-unit {
    flex: 0 1 auto !important
}

#block_2291533 .btn {
    min-width: 260px
}

#block_2291597 .btn:hover {
    background-color: #6E000B
}

.DonationContainer {
    margin-top: 30px;
    margin-bottom: 20px;
}

.control-label {
    margin-bottom: 5px;
}

.AboutUsTitle {
    font: normal 500 1em "Lato", sans-serif;
    font-size: 0.8em;
}

.FancyHeader {
    margin-bottom: 30px;
    font-family: var(--font-family-custom-2);
    font-weight: 700;
    font-style: var(--font-custom-2-style);
    font-size: 38px;
}

.BoldFont {
    font-weight: bold;
}

.top-padding {
    padding-top:10px;
}

.separator {
    padding: 80px 0px;
}

.center-obj {
    justify-self: center;
    place-items: center;
    align-content: center;
}

.container-block-padding {
    padding: 3vw 20px 0;
}

.white {
    background-color: white;
}

.service-btn {
    background: black !important;
    box-shadow: 0 10px 22px rgba(191, 30, 46, 0.27);
}
    .service-btn:hover {
        color: white;
        transform: translateY(-1px);
    }

    .lightgrey {
        background-color: lightgrey;
    }

.line-spacing {
    line-height: 1.75;
}
    .line-spacing p {
        line-height: 1.75;
        padding-bottom: 15px;
    }
    .line-spacing ul {
        line-height: 1.5;
        padding-bottom: 15px;
    }
    .line-spacing li {
        line-height: 1.5;
        padding-bottom: 15px;
    }
    .line-spacing div {
        line-height: 1.5;
        padding-bottom: 15px;
    }

.left-selectors .titles {
    text-align: right;
}

    .left-selectors .titles li a {
        text-decoration: none;
        color: inherit;
    }


    .left-selectors .titles li.active h3::before {
        content: url(/img/SiteIcons/ArrowRightCircle.svg);
        position: absolute;
        right: -41px;
        bottom: -33.5px;
    }

    .left-selectors .titles li.active h3::after {
        content: '';
        display: block;
        width: calc(100% + 30px);
        border-bottom: 3px solid #bf1e2e;
        position: absolute;
        bottom: -10px;
        left: 0;
    }

@media (min-width: 992px) {
    #secondNavbar .nav-item.dropdown > .dropdown-menu[data-bs-popper] {
        inset: auto !important;
        top: auto;
        left: auto;
        margin-top: 0;
        transform: none !important;
    }

    #secondNavbar .nav-item.dropdown:hover > .dropdown-menu,
    #secondNavbar .nav-item.dropdown:focus-within > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: navbarMenuIn 0.2s ease both;
    }
}

.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

@media (min-width: 992px) {
    #secondNavbar .sub-nav-item.dropdown:hover .sub-dropdown-menu,
    #secondNavbar .sub-nav-item.dropdown:focus-within .sub-dropdown-menu {
        display: block;
        margin-top: 0;
        animation: navbarSubMenuIn 0.2s ease both;
    }
}

.sub-nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.sub-dropdown-menu {
    top: -6px;
    left: calc(100% - 12px);
    transform: none;
    border-left: 0px;
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.sub-dropdown-menu {
    display: none;
}

#secondNavbar .dropdown-menu,
#secondNavbar .sub-dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
    #secondNavbar .sub-nav-item.dropdown {
        position: relative;
    }

    #secondNavbar .sub-nav-item.dropdown::after {
        content: "";
        position: absolute;
        top: 0;
        right: -22px;
        width: 22px;
        height: 100%;
    }
}

#secondNavbar .dropdown-item {
    position: relative;
    width: auto;
    box-sizing: border-box;
    border-radius: 8px;
    margin: 2px 6px;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

#secondNavbar .dropdown-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 3px;
    background: #bf1e2e;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

#secondNavbar .dropdown-item:hover,
#secondNavbar .dropdown-item:focus-visible {
    color: #bf1e2e;
    background-color: rgba(191, 30, 46, 0.08);
    transform: translateX(2px);
}

#secondNavbar .dropdown-item:hover::before,
#secondNavbar .dropdown-item:focus-visible::before {
    transform: scaleY(1);
}

@keyframes navbarMenuIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes navbarSubMenuIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #secondNavbar .navbar-nav > .nav-item > .nav-link,
    #secondNavbar .navbar-nav > .nav-item > .nav-link::after,
    #secondNavbar .nav-btn,
    #secondNavbar .dropdown-item,
    #secondNavbar .dropdown-item::before {
        transition: none !important;
    }

    #secondNavbar .nav-item.dropdown:hover > .dropdown-menu,
    #secondNavbar .nav-item.dropdown:focus-within > .dropdown-menu,
    #secondNavbar .sub-nav-item.dropdown:hover .sub-dropdown-menu,
    #secondNavbar .sub-nav-item.dropdown:focus-within .sub-dropdown-menu {
        animation: none !important;
    }
}

/* Final mobile overrides for hamburger dropdown accessibility.
   These are intentionally placed after desktop dropdown rules. */
@media (max-width: 991.98px) {
    #secondNavbar .dropdown-menu.show {
        display: block !important;
    }

    #secondNavbar .locations-nav-item > .dropdown-menu {
        display: none !important;
    }

    #secondNavbar .locations-nav-item.is-open > .dropdown-menu {
        display: block !important;
    }

    #secondNavbar .locations-nav-item.is-open > .nav-split-link .nav-split-toggle::after {
        content: "-";
        transform: none;
    }

    #secondNavbar .sub-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #secondNavbar .sub-nav-item.is-open > .sub-nav-split-link .sub-nav-toggle::after {
        content: "-";
    }

    #secondNavbar .sub-dropdown-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        float: none;
        min-width: 0;
        margin: 4px 6px 8px 14px;
        padding: 6px;
        border-left: 2px solid rgba(191, 30, 46, 0.25);
        box-shadow: none !important;
        background: rgba(191, 30, 46, 0.05);
        z-index: auto;
    }

    #secondNavbar .sub-nav-item.is-open > .sub-dropdown-menu {
        display: block !important;
    }

    #secondNavbar .sub-nav-split-link > a.dropdown-item {
        margin: 2px 0;
    }

    #secondNavbar .sub-nav-toggle {
        margin-left: 0;
    }
}

.five-pillars-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.five-pillars-item {
    position: relative;
}
    .five-pillars-item:hover .five-pillars-text {
        display: block;
    }


.five-pillars-text {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    width: 600px;
}

.fh-footer {
    background: #bf1e2e;
    color: #fff;
    padding: 26px 0;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.fh-footer .container {
    margin-top: 0;
    width: 100%;
}

.fh-footer__row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) 1px minmax(300px, 1fr) 1px minmax(280px, 0.95fr);
    align-items: center;
    column-gap: 40px;
}

.fh-footer__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fh-footer__logo img {
    width: min(100%, 620px);
    height: auto;
}

.fh-footer__divider {
    width: 1px;
    height: 268px;
    background: rgba(255, 255, 255, 0.8);
    justify-self: center;
}

.fh-footer__services {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fh-footer__service-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family-body);
    font-size: clamp(1.75rem, 1.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.02;
}

.fh-footer__service-link > img {
    width: 52px;
}

.fh-footer__service-link:hover {
    color: #fff;
    opacity: 0.92;
}

.fh-footer__service-icon {
    font-size: clamp(2.8rem, 3.6vw, 4rem);
    line-height: 1;
    width: 58px;
    text-align: center;
    flex-shrink: 0;
}

.fh-footer__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.fh-footer__newsletter.btn {
    background: #ebebeb;
    color: #bf1e2e;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    width: 100%;
    max-width: 380px;
    padding: 14px 20px;
    text-align: center;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 700;
    line-height: 1.15;
}

.fh-footer__newsletter.btn:hover {
    background: #f2f2f2;
    color: #a31724;
}

.fh-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.fh-footer__social a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.fh-footer__social a:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.fh-footer__social span {
    font-size: clamp(2.6rem, 2.1vw, 3.8rem);
}

@media (max-width: 1200px) {
    .fh-footer__row {
        grid-template-columns: minmax(220px, 1.2fr) 1px minmax(260px, 1fr) 1px minmax(230px, 1fr);
        column-gap: 28px;
    }

    .fh-footer__divider {
        height: 230px;
    }
}

@media (max-width: 992px) {
    .fh-footer {
        min-height: 0;
        padding: 28px 0;
    }

    .fh-footer__row {
        grid-template-columns: 1fr;
        row-gap: 22px;
        text-align: center;
    }

    .fh-footer__logo {
        justify-content: center;
    }

    .fh-footer__divider {
        width: 100%;
        max-width: 520px;
        height: 1px;
    }

    .fh-footer__services {
        align-items: center;
    }

    .fh-footer__service-link {
        justify-content: center;
        font-size: clamp(1.5rem, 5vw, 2.4rem);
    }

    .fh-footer__right {
        width: 100%;
    }

    .fh-footer__newsletter.btn {
        max-width: 460px;
    }
}


.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 190px;
    height: clamp(190px, 52vw, 280px);
    padding: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    transition: background-image 0.8s ease-in-out;
}

@media (min-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 3840 / 1105;
        background-size: contain;
        background-position: center center;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 190px;
        height: 190px;
        background-position: left center;
    }

    .hero__actions {
        left: 16px;
        bottom: 18px;
    }

        .hero__actions .service-button {
            font-size: 1rem;
            padding: 8px 12px;
        }

    .hero__controls {
        right: 12px;
        bottom: 12px;
    }

        .hero__controls button {
            width: 36px;
            height: 36px;
            font-size: 1rem;
        }
}

.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__content {
    position: relative;
    color: #fff;
    max-width: 540px;
}

    .hero__content h1 {
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.1;
        margin: 0 0 12px;
    }

    .hero__content p {
        font-size: 1.125rem;
        margin: 0 0 24px;
        opacity: 0.95;
    }

.hero__actions {
    position: absolute;
    bottom: 8%;
    left: 4%;
    z-index: 3;
}

    .hero__actions .service-button {
        padding: 14px 24px;
        font-size: 1.7rem;
        font-weight: 600;
    }

.hero__controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

    .hero__controls button {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: none;
        background: rgba(0,0,0,0.55);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        display: grid;
        place-items: center;
        transition: background 0.15s ease, transform 0.15s ease;
    }

        .hero__controls button:hover {
            background: rgba(0,0,0,0.75);
            transform: translateY(-1px);
        }

        .hero__controls button:focus {
            outline: 2px solid rgba(255,255,255,0.6);
            outline-offset: 2px;
        }

@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1.5fr 1fr;
        min-height: 75vh;
    }

    .hero-pillar {
        max-width: 420px;
        padding: 0 1.75rem;
    }

    .hero-img {
        max-width: 55%;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        min-height: 70vh;
    }

    .hero-pillar {
        max-width: none;
        width: 100%;
        padding: 0 1.5rem;
    }

        .hero-pillar::before {
            top: 12%;
            bottom: 12%;
        }

    .hero-img {
        max-width: 60%;
    }
}



@media (max-width: 768px) {
    .hero-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 70vh;
    }

    .hero-bg {
        position: absolute;
    }

    .hero-pillar {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.5rem 1.25rem;
        margin-top: auto;
        align-items: flex-start;
    }

    .pillar-content {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-pillar::before {
        display: none;
    }

    .hero-img {
        max-width: 180px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-wrapper {
        min-height: 65vh;
    }

    .hero-pillar {
        padding: 1.25rem 1rem;
    }

    .hero-img {
        max-width: 150px;
    }

    .pillar-content p {
        font-size: 0.95rem;
    }
}

/* Shared content styling for all Services pages below hero banner. */
.services-page {
    color: #1f2d3d;
    margin-top: clamp(1.25rem, 2.8vw, 2.25rem);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page h4 {
    color: #13263a;
    line-height: 1.25;
}

.services-page p,
.services-page li,
.services-page label,
.services-page input,
.services-page select,
.services-page textarea {
    color: #2b3e52;
    font-size: clamp(1rem, 1.05vw, 1.08rem);
    line-height: 1.7;
}

.services-page .container-block-padding {
    padding-top: clamp(0.75rem, 1.8vw, 1.5rem);
}

.services-page .left-red-bar {
    border-left: 8px solid var(--main-color);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 30px rgba(18, 38, 58, 0.08);
    padding: clamp(1rem, 2.5vw, 2rem);
    margin: clamp(0.9rem, 2vw, 1.5rem) 0;
}

.services-page .padding-left-bar {
    margin: 0;
    display: block;
}

.services-page .rounded-grey-box {
    border: 1px solid rgba(18, 38, 58, 0.12);
    background: #f7fafc;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(18, 38, 58, 0.06);
    padding: clamp(1rem, 2vw, 2rem);
}

.services-page ul.bullets,
.services-page .checklist-icons ul,
.services-page .limited-primary-care-border-list {
    padding-left: 1.3rem;
}

.services-page ul.bullets li,
.services-page .checklist-icons ul li,
.services-page .limited-primary-care-border-list li {
    margin-bottom: 0.6rem;
}

.services-page .limited-primary-care-border-list {
    border: 1px solid rgba(18, 38, 58, 0.12);
    border-radius: 12px;
    background: #fff;
}

.services-page .btn {
    border-radius: 999px;
    font-weight: 600;
}

.services-page .btn.color-outline {
    border-width: 2px;
}

.services-page .button-holder {
    border: 1px solid rgba(18, 38, 58, 0.08);
}

.services-page .voices-form {
    background: #fff;
    border: 1px solid rgba(18, 38, 58, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(18, 38, 58, 0.08);
}

.services-page .form-control,
.services-page .form-select,
.services-page textarea {
    border-radius: 12px;
    border: 1px solid rgba(18, 38, 58, 0.2);
}

.services-page .form-control:focus,
.services-page .form-select:focus,
.services-page textarea:focus {
    border-color: rgba(191, 30, 46, 0.45);
    box-shadow: 0 0 0 0.18rem rgba(191, 30, 46, 0.14);
}

.services-page img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .services-page .rounded-grey-box .flexbox .col-9 {
        padding-left: 0;
    }

    .services-page .header-right {
        width: 100%;
    }

    .services-page .voices-form {
        margin: 1rem 0;
        padding: 1rem;
    }

    .services-page .EPICC-image {
        padding: 0.75rem 0;
    }
}

@media (max-width: 767.98px) {
    .services-page {
        margin-top: 1rem;
    }

    .services-page .left-red-bar {
        border-left-width: 6px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(18, 38, 58, 0.08);
    }

    .services-page .icon-counter p::before {
        width: 38px;
        height: 38px;
        line-height: 38px;
        margin-right: 12px;
    }
}

.tile-fade {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.tile-fade-left {
    transform: translateX(-36px);
}

.tile-fade-right {
    transform: translateX(36px);
}

.tile-fade-up {
    transform: translateY(26px);
}

.tile-fade.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 991.98px) {
    .tile-split {
        grid-template-columns: 1fr;
    }

    .mc-testing-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tile-image-panel,
    .tile-wide-image {
        min-height: 220px;
    }
}

@media (max-width: 767.98px) {
    .mc-testing-options {
        grid-template-columns: 1fr;
    }

    .tile-card,
    .mc-testing-block {
        border-radius: 14px;
        padding: 1rem;
    }

    .mc-bottom-cta .mc-btn {
        width: 100%;
    }

    .mc-option-image {
        width: min(190px, 90%);
    }

    .tile-image-panel,
    .tile-wide-image {
        min-height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-fade,
    .mc-fade-left,
    .mc-fade-right,
    .mc-fade-up,
    .tile-fade,
    .tile-fade-left,
    .tile-fade-right,
    .tile-fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


.tile-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--pt-line);
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(17, 40, 62, 0.08);
    padding: clamp(1rem, 2.4vw, 1.8rem);
}

    .tile-card h2 {
        margin-bottom: 0.6rem;
        font-size: clamp(1.35rem, 2.35vw, 1.95rem);
    }

    .tile-card p {
        margin-bottom: 0.75rem;
        line-height: 1.65;
    }

    .tile-card li {
        margin-bottom: 0.42rem;
        line-height: 1.45;
    }

.tile-card-red {
    background: linear-gradient(180deg, #cf2435 0%, #ad1f2e 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(191, 30, 46, 0.27);
}

    .tile-card-red h2,
    .tile-card-red p,
    .tile-card-red li,
    .tile-card-red a {
        color: #fff;
    }

    .tile-card-red a {
        text-decoration-thickness: 1.5px;
        text-underline-offset: 3px;
    }

.tile-small-note {
    font-size: 0.95rem;
    opacity: 0.98;
}

.tile-split {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(0.9rem, 2.4vw, 1.6rem);
    margin-top: clamp(1rem, 2.2vw, 1.6rem);
    align-items: stretch;
}

.tile-image-panel,
.tile-wide-image {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--pt-line);
    box-shadow: 0 12px 24px rgba(17, 40, 62, 0.11);
    background: #eff3f8;
    min-height: 280px;
}

    .tile-image-panel img,
    .tile-wide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.tile-wide-image {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    min-height: 240px;
}
