.hero {
    background-image: url("/ClientImages/PageBannerImages/PreventionTesting.jpg");
}

.prevention-page {
    --pt-red: #bf1e2e;
    --pt-red-dark: #931724;
    --pt-ink: #1d2f42;
    --pt-soft: #f4f7fa;
    --pt-line: rgba(29, 47, 66, 0.12);
    --mc-red: #bf1e2e;
    --mc-red-dark: #931724;
    --mc-line: rgba(29, 47, 66, 0.12);
    margin-top: clamp(1.2rem, 2.8vw, 2.4rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: var(--pt-ink);
}

.prevention-page h2,
.prevention-page h3 {
    margin: 0;
    color: #12283d;
}

.prevention-page p {
    color: #32485f;
}

.prevention-page ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1.2rem;
    margin: 0;
}

.prevention-page ul ul {
    list-style-type: circle;
    padding-left: 1.2rem;
    margin-top: 0.35rem;
}

.pt-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);
}

.pt-card h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.35rem, 2.35vw, 1.95rem);
}

.pt-card p {
    margin-bottom: 0.75rem;
    line-height: 1.65;
}

.pt-card li {
    margin-bottom: 0.42rem;
    line-height: 1.45;
}

.pt-card-red {
    background: linear-gradient(180deg, #cf2435 0%, #ad1f2e 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(191, 30, 46, 0.27);
}

.pt-card-red h2,
.pt-card-red p,
.pt-card-red li,
.pt-card-red a {
    color: #fff;
}

.pt-card-red a {
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.pt-small-note {
    font-size: 0.95rem;
    opacity: 0.98;
}

.pt-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;
}

.pt-community-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(0.9rem, 2.3vw, 1.5rem);
    margin-top: clamp(1rem, 2.2vw, 1.6rem);
    align-items: stretch;
}

.pt-community-images,
.pt-community-cards {
    display: grid;
    gap: clamp(0.8rem, 1.8vw, 1.1rem);
}

.pt-community-images {
    /*grid-template-rows: minmax(0, 1fr) minmax(0, 0.5fr);*/
}

.pt-community-images .pt-image-panel:first-child {
    min-height: 420px;
}

.pt-community-image-secondary {
    min-height: 190px;
}

.pt-community-cards {
    grid-template-rows: auto 1fr;
}

.pt-campus-section {
    margin-top: clamp(1rem, 2.2vw, 1.6rem);
    align-items: stretch;
}

.pt-community-card {
    border-radius: 22px;
    padding: clamp(1.15rem, 2.2vw, 1.8rem);
}

.pt-community-card h2 {
    color: #fff;
    font-size: clamp(1.9rem, 2.6vw, 2.65rem);
    margin-bottom: 0.6rem;
    line-height: 1.05;
}

.pt-community-card p {
    color: #fff;
    font-size: clamp(1rem, 1.15vw, 1.35rem);
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.pt-services-card p:last-child {
    margin-bottom: 0;
}

.pt-event-partner-cta {
    margin-top: clamp(1rem, 2.4vw, 1.8rem);
    text-align: center;
}

.pt-event-partner-button {
    width: min(100%, 800px);
    display: inline-block;
    border-radius: 14px;
    padding: 0.9rem 1.35rem;
    background-color: var(--mc-red);
    background: linear-gradient(135deg, var(--mc-red) 0%, var(--mc-red-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.02rem, 1.6vw, 1.8rem);
    line-height: 1.3;
    box-shadow: 0 12px 24px rgba(18, 16, 22, 0.35);
    text-decoration: none;
    border-color: transparent;
    -webkit-tap-highlight-color: transparent;
    margin-bottom: 1.5rem;
}

    .pt-event-partner-button:hover,
    .pt-event-partner-button:focus,
    .pt-event-partner-button:active,
    .pt-event-partner-button:focus-visible {
        background-color: var(--mc-red);
        background: linear-gradient(135deg, var(--mc-red) 0%, var(--mc-red-dark) 100%);
        color: #fff;
        text-decoration: none;
    }

.pt-event-partner-button:hover,
.pt-event-partner-button:focus-visible {
    filter: brightness(1.08);
}

.pt-image-panel,
.pt-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;
}

.pt-education-block {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    display: grid;
    gap: clamp(0.8rem, 1.8vw, 1.2rem);
}

.pt-education-panel {
    border-radius: 18px;
    padding: clamp(1rem, 2vw, 1.6rem);
}

.pt-education-panel h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    line-height: 1.1;
}

.pt-education-panel p {
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.pt-education-panel ul {
    margin: 0;
    padding-left: 1.2rem;
}

.pt-education-panel li {
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.pt-education-goals {
    background: #efefef;
}

.pt-education-goals h2,
.pt-education-goals p,
.pt-education-goals li {
    color: #1f1f1f;
}

.pt-education-approach {
    /*background: #ba1f08;*/
}

.pt-education-approach h2,
.pt-education-approach p,
.pt-education-approach li {
    color: #fff;
}

.pt-education-note {
    margin-top: 0.45rem;
    margin-bottom: 0;
}

.pt-education-image {
    border-radius: 0;
    overflow: hidden;
}

.pt-education-image img {
    width: 100%;
    height: clamp(220px, 32vw, 360px);
    object-fit: cover;
    display: block;
}

.pt-image-panel img,
.pt-wide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-wide-image {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    min-height: 240px;
}

.mc-btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, filter 0.18s ease;
}

.mc-btn:hover,
.mc-btn:focus-visible {
    transform: translateY(-1px);
}

.mc-btn-primary {
    background-color: var(--mc-red);
    background: linear-gradient(135deg, var(--mc-red) 0%, var(--mc-red-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(191, 30, 46, 0.27);
    padding: 0.6rem 1.1rem;
}

.mc-btn-primary:hover,
.mc-btn-primary:focus-visible {
    background-color: var(--mc-red);
    background: linear-gradient(135deg, var(--mc-red) 0%, var(--mc-red-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 26px rgba(191, 30, 46, 0.3);
}

.mc-testing-block {
    margin-top: clamp(1rem, 2.2vw, 1.7rem);
    padding: clamp(1rem, 2vw, 1.6rem);
    border-radius: 18px;
    border: 1px solid var(--mc-line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(17, 40, 62, 0.08);
}

.mc-testing-block h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    margin-bottom: 0.35rem;
}

.mc-copy-block {
    margin-top: clamp(1.1rem, 2.2vw, 1.75rem);
}

.mc-copy-block h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.mc-copy-block p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.mc-rapid-test {
    background: #efefef;
    padding: 1.7rem 2.8rem;
    border-radius: 1.5rem;
}

.mc-testing-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.7rem, 2vw, 1.2rem);
    margin-bottom: 1rem;
}

.mc-testing-option {
    text-align: center;
}

.mc-option-image {
    position: relative;
    width: min(270px, 100%);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 auto 0.55rem;
}

.mc-option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mc-option-image span {
    position: absolute;
    inset: auto auto 0px 0px;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(20, 33, 47, 0.3);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    font-size: 8.1rem;
}

.mc-testing-option h3 {
    font-size: 1rem;
    margin: 0;
}

.mc-testing-details {
    border-top: 1px solid var(--mc-line);
    padding-top: 0.9rem;
}

.mc-testing-details p {
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.mc-bottom-cta {
    margin-top: 0.75rem;
    text-align: center;
}

.mc-fade {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.mc-fade-left {
    transform: translateX(-36px);
}

.mc-fade-right {
    transform: translateX(36px);
}

.mc-fade-up {
    transform: translateY(26px);
}

.mc-fade.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.pt-fade {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pt-fade-left {
    transform: translateX(-36px);
}

.pt-fade-right {
    transform: translateX(36px);
}

.pt-fade-up {
    transform: translateY(26px);
}

.pt-fade.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 991.98px) {
    .pt-split {
        grid-template-columns: 1fr;
    }

    .pt-community-showcase {
        grid-template-columns: 1fr;
    }

    .pt-community-images {
        grid-template-rows: auto;
    }

    .pt-community-images .pt-image-panel:first-child {
        min-height: 300px;
    }

    .pt-community-image-secondary {
        min-height: 180px;
    }

    .mc-testing-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pt-image-panel,
    .pt-wide-image {
        min-height: 220px;
    }

    .pt-education-image img {
        height: clamp(200px, 42vw, 300px);
    }
}

@media (max-width: 767.98px) {
    .mc-testing-options {
        grid-template-columns: 1fr;
    }

    .mc-rapid-test {
        padding: 1.1rem 1rem;
        border-radius: 1rem;
    }

    .pt-community-card h2 {
        font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    }

    .pt-community-card p {
        font-size: 1rem;
    }

    .pt-event-partner-button {
        width: 100%;
    }

    .pt-card,
    .mc-testing-block {
        border-radius: 14px;
        padding: 1rem;
    }

    .pt-education-panel {
        border-radius: 12px;
        padding: 0.95rem;
    }

    .pt-education-panel h2 {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
    }

    .pt-education-image img {
        height: clamp(180px, 58vw, 250px);
    }

    .mc-bottom-cta .mc-btn {
        width: 100%;
    }

    .mc-option-image {
        width: min(190px, 90%);
    }

    .pt-image-panel,
    .pt-wide-image {
        min-height: 190px;
    }
}

@media (max-width: 991.98px) {
    .five-spot-item,
    .five-spot-detail-item,
    .fivespot-form-column {
        width: 100%;
    }

    .five-spot-detail-item {
        padding: 0;
    }

    .right-bar {
        border-right: 0;
        border-bottom: 2px solid rgba(0, 0, 0, 0.15);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .FiveSpotBanner::before {
        background: linear-gradient(180deg, rgba(118, 0, 104, 0.86) 0%, rgba(118, 67, 179, 0.28) 100%);
    }

    .FiveSpotIcon {
        max-width: 150px;
        margin-bottom: 1rem;
    }

    .FiveSpotMapIcon {
        float: none;
        display: block;
        margin: 0 auto 0.75rem;
    }

    .five-spot-item {
        text-align: center;
    }

    .five-spot-form {
        padding: 1rem;
    }

    .fivespot-form-grid {
        gap: 0.75rem;
    }

    .five-spot-form-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-fade,
    .mc-fade-left,
    .mc-fade-right,
    .mc-fade-up,
    .pt-fade,
    .pt-fade-left,
    .pt-fade-right,
    .pt-fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.FiveSpotMapIcon {
    float:left;
    max-width: 50px;
    margin-right: 14px;
}

.FiveSpotBanner {
    position: relative;
    isolation: isolate;
    height: auto;
    min-height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

    .FiveSpotBanner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(90deg, rgba(118, 0, 104, 0.8) 0%, rgba(118, 67, 179, 0) 80%);
        pointer-events: none;
    }

.FiveSpotBanner .hero-banner-copy {
    position: relative;
    z-index: 1;
}

.FiveSpotIcon {
    max-width: 200px;
    margin-bottom: 25px;
}

.five-spot-item {
    width: 50%;
    margin-bottom: 25px;
}

.five-spot-detail-item {
    width: 50%;
    padding: 0px 50px;
}

.right-bar {
    border-right: 3px solid black;
}

.list-indent {
    margin-left: 15px !important;
}

.five-spot-form-header {
    place-self: center;
    margin-bottom: 15px;
}

.five-spot-form {
    padding: 30px;
    background-color: var(--fivespot-color);
    margin-top: 35px;
    border-radius: 16px;
}

.five-spot-form-input {
    background-color: var(--fivespot-color) !important;
    border: solid white 1px !important;
    color: white !important;
    border-radius: 25px !important;
}

.five-spot-form-textarea {
    height: 150px;
}

.five-spot-form-input::placeholder {
    color: white;
    opacity: 1; /* For Firefox */
}

.five-spot-form-button {
    background-color: mediumpurple;
    color: white !important;
}

.fivespot-form-column {
    width:31.3%;
}

.fivespot-form-grid {
    gap: 3%;
    margin-bottom: 16px;
}

