/* ================================================================
   PROGRESSIVE CARE CENTER — TEMPLATE STYLESHEET
   Loaded after Bootstrap 5 + Font Awesome in index.html <head>.
   ================================================================ */

:root {
    --pcc-pink: #a81f44;
    --pcc-pink-dark: #881936;
    --pcc-pink-tint: #f8e6ec;
    --pcc-maroon: #a81f44;
    --pcc-maroon-dark: #881936;
    --pcc-black: #1A1A1A;
    --pcc-cream: #F6F3EE;
    --pcc-gray: #6B6B6B;
    --pcc-border: #E7E1D8;
    font-family: 'Outfit', sans-serif;
}

body {
    color: var(--pcc-black);
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Roboto Slab', serif;
}

a {
    text-decoration: none;
}

/* ===== Header ===== */
.pcc-header {
    border-bottom: 1px solid var(--pcc-border);
    background: #fff;
    position: relative;
    z-index: 1030;
}

.pcc-logo-full {
    height: 42px;
    width: auto;
    display: block;
}

    .pcc-logo-full.sm {
        height: 30px;
    }

#pccNav .nav-item[data-menu] {
    position: relative;
}

#pccNav .nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .1rem;
}

.pcc-nav-link {
    color: var(--pcc-black);
    font-weight: 600;
    font-size: .95rem;
    padding: .55rem 1.1rem !important;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-radius: 50rem;
    transition: background .15s, color .15s;
}

    .pcc-nav-link:hover {
        color: var(--pcc-pink);
    }

    .pcc-nav-link .chev {
        font-size: .65rem;
        transition: transform .2s;
    }

    .pcc-nav-link.active-hover {
        background: var(--pcc-pink-tint);
        color: var(--pcc-pink-dark);
    }

        .pcc-nav-link.active-hover .chev {
            transform: rotate(180deg);
        }

.btn-pcc-search {
    background: var(--pcc-pink);
    color: #fff;
    border-radius: 50rem;
    font-weight: 600;
    padding: .55rem 1.4rem;
    border: none;
    font-size: .9rem;
}

    .btn-pcc-search:hover {
        background: var(--pcc-pink-dark);
        color: #fff;
    }

/* ===== Hover/tap dropdown (nav — shown at all breakpoints) =====
   Compact card anchored directly under its own nav item, opened on
   mouseenter (desktop) or a first tap (touch — see js/main.js) and
   closed after a short delay on mouseleave, or on tapping elsewhere.
   Lives INSIDE the <li> it belongs to, so hovering from the trigger
   link into the panel below never fires the <li>'s mouseleave (it's a
   DOM descendant, not a sibling). */
.pcc-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: calc(100vw - 2rem);
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
    padding: .5rem;
    z-index: 1025;
}

    .pcc-dropdown-panel.show {
        display: block;
    }

.pcc-dropdown-link {
    display: block;
    padding: .7rem 1.1rem;
    border-radius: .75rem;
    color: var(--pcc-black);
    font-weight: 500;
    font-size: .95rem;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

    .pcc-dropdown-link:hover {
        background: var(--pcc-pink-tint);
        color: var(--pcc-pink-dark);
    }

/* ===== Breadcrumb ===== */
.pcc-breadcrumb {
    background: #fff;
    font-size: .85rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--pcc-border);
}

    .pcc-breadcrumb a {
        color: var(--pcc-pink);
    }

    .pcc-breadcrumb .sep {
        color: var(--pcc-border);
        margin: 0 .5rem;
    }

/* ===== Hero ===== */
.pcc-hero {
    background: var(--pcc-cream);
    padding: 2.5rem 0 4rem;
}

/* Two fully independent <section>s (no shared Bootstrap .row/.col — each
   section is a self-contained component in its own right, e.g. two
   separate Sitefinity widgets). CSS Grid on this wrapper is what puts
   them side by side, not a shared row/column pairing between them. */
.pcc-hero-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
}

@media (max-width: 991.98px) {
    .pcc-hero-columns {
        grid-template-columns: 1fr;
    }
}

.pcc-hero-img {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

    .pcc-hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .pcc-hero-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .05) 55%);
    }

.pcc-hero-caption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    color: #fff;
}

    .pcc-hero-caption .eyebrow {
        font-weight: 600;
        font-size: .9rem;
    }

    .pcc-hero-caption h1 {
        font-size: 1.85rem;
        font-weight: 700;
        margin: 0;
    }

.pcc-tile {
    background: #fff;
    border: 1px solid var(--pcc-border);
    border-radius: .75rem;
    padding: 0.9rem 1.2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .25s ease, border-color .25s ease, box-shadow .2s, transform .2s;
}

    .pcc-tile:hover {
        background: var(--pcc-maroon);
        border-color: var(--pcc-maroon);
        box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
        transform: translateY(-2px);
    }

    .pcc-tile span {
        font-weight: 600;
        color: var(--pcc-black);
        font-size: 0.95rem;
        transition: color .25s ease;
    }

    .pcc-tile:hover span {
        color: #fff;
    }

    .pcc-tile i {
        color: var(--pcc-pink);
        transition: color .25s ease, border-color .25s ease, background-color .25s ease;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1.5px solid transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .pcc-tile:hover i {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.4);
        background-color: rgba(255, 255, 255, 0.15);
    }

.pcc-diagonals {
    position: absolute;
    right: 0;
    bottom: -6.5rem;
    width: 180px;
    height: 80px;
    opacity: .5;
    pointer-events: none;
}

/* ===== Navigate accordion pill ===== */
.pcc-navigate {
    border: 1px solid var(--pcc-pink);
    border-radius: 2rem;
    background: #fff;
    overflow: hidden;
}

.pcc-navigate-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

    .pcc-navigate-trigger .label-sm {
        color: var(--pcc-gray);
        font-weight: 400;
        margin-right: .5rem;
    }

.pcc-navigate-body {
    border-top: 1px solid var(--pcc-border);
    padding: 1.25rem 1.5rem;
}

    .pcc-navigate-body a {
        display: block;
        padding: .4rem 0;
        color: var(--pcc-black);
        font-size: .95rem;
    }

        .pcc-navigate-body a:hover {
            color: var(--pcc-pink);
        }

    .pcc-navigate-body .active-page {
        display: inline-block;
        border: 1px solid var(--pcc-pink);
        color: var(--pcc-pink-dark);
        border-radius: 2rem;
        padding: .4rem 1rem;
        font-weight: 600;
        margin-bottom: .5rem;
    }

/* ===== CTA band ===== */
.pcc-cta {
    background: var(--pcc-maroon);
    border-radius: 1.5rem;
    color: #fff;
    padding: 2.75rem 3rem;
}

.btn-pcc-outline-light {
    background: #fff;
    color: var(--pcc-maroon);
    font-weight: 700;
    border-radius: 50rem;
    padding: .55rem 1.4rem;
    font-size: .9rem;
    transition: background-color .2s ease, color .2s ease;
}

    .btn-pcc-outline-light:hover {
        background: var(--pcc-black);
        color: #fff;
    }

/* ===== Footer ===== */
.pcc-footer {
    background: var(--pcc-cream);
    border-top: 1px solid var(--pcc-border);
    padding-top: 3rem;
}

    .pcc-footer h6 {
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: .95rem;
    }

    .pcc-footer a {
        color: var(--pcc-black);
        font-size: .9rem;
        display: block;
        margin-bottom: .55rem;
    }

        .pcc-footer a:hover {
            color: var(--pcc-pink);
        }

.pcc-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pcc-pink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
}

    .pcc-social a:hover {
        background: var(--pcc-black);
        color: #fff;
    }

.pcc-footer-bottom {
    border-top: 1px solid var(--pcc-border);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    font-size: .8rem;
    color: var(--pcc-gray);
}

    .pcc-footer-bottom a {
        display: inline;
        color: var(--pcc-gray);
        margin-right: 1rem;
        font-size: .8rem;
    }

        .pcc-footer-bottom a:hover {
            color: var(--pcc-pink);
        }

/* ===== Full screen SEARCH overlay ===== */
.pcc-search-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 2000;
    display: none;
    flex-direction: column;
}

    .pcc-search-overlay.show {
        display: flex;
    }

.pcc-search-hero {
    background: var(--pcc-cream);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.pcc-search-input {
    border: 2px solid var(--pcc-pink);
    border-radius: 2.5rem;
    padding: .9rem 1.6rem;
    font-size: 1rem;
}

    .pcc-search-input:focus {
        box-shadow: 0 0 0 .2rem rgba(168, 31, 68, .15);
        border-color: var(--pcc-pink);
    }

.pcc-search-btn {
    background: var(--pcc-pink);
    border-radius: 2.5rem;
    color: #fff;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
}

/* ===== Nav responsiveness (no hamburger/overlay — the same top nav with
   its dropdowns is shown at every breakpoint; see js/main.js for the
   tap-to-reveal handling added for touch screens) ===== */
@media (max-width:991.98px) {
    /* Logo keeps its default order (0), so it stays first; the Search
     button (last child of the header row in both the static markup and
     the Sitefinity layout) moves to row 1 alongside it, and the nav
     wraps to a full-width row 2 below. */
    .pcc-header .container {
        flex-wrap: wrap;
    }

        .pcc-header .container > div:last-child {
            order: 2;
        }

    #pccNav {
        order: 3;
        flex-basis: 100%;
        padding-top: .5rem;
        padding-bottom: .35rem;
        margin-top: .5rem;
        border-top: 1px solid var(--pcc-border);
    }

        #pccNav .nav {
            flex-wrap: wrap;
            justify-content: center;
            gap: .25rem;
        }

    .pcc-nav-link {
        font-size: .9rem;
        padding: .45rem .85rem !important;
    }
}

@media (max-width:767.98px) {
    /* Maroon CTA band: desktop padding (2.75rem 3rem) eats too much of a
     phone's width once text and button stack via .flex-column. */
    .pcc-cta {
        padding: 1.75rem 1.5rem;
        border-radius: 1rem;
    }
}

@media (max-width:575.98px) {
    /* Header logo + Search button share the first row (nav wraps to its
     own row below it — see the 991.98px block above). Shrink the logo
     slightly and drop the Search label down to icon-only (aria-label on
     the button keeps it accessible) so that first row stays comfortable
     on narrow phones. */
    .pcc-logo-full {
        height: 34px;
    }

    .pcc-btn-label {
        display: none;
    }

    .btn-pcc-search {
        padding: .55rem .75rem;
    }
}

/* =====================================================================
   Utility classes — pulled out of inline style="" attributes so page
   markup stays presentation-free and safe to paste into a Sitefinity
   Content Block without an editor needing to touch a style attribute.
   ===================================================================== */

/* Text color */
.pcc-text-pink {
    color: var(--pcc-pink);
}

.pcc-text-maroon {
    color: var(--pcc-maroon);
}

.pcc-check-icon {
    color: var(--pcc-pink) !important;
}

.pcc-chevron-icon {
    color: var(--pcc-pink);
    font-size: 0.75rem;
}

/* Sidebar "Learn More" link list */
.pcc-link-plain {
    color: var(--pcc-black);
    font-weight: 500;
}

.pcc-link-active {
    color: var(--pcc-pink);
    font-weight: 700;
}

.pcc-learnmore-title {
    color: var(--pcc-maroon);
    font-family: 'Roboto Slab', serif;
}

/* Underlined inline links (body copy) */
.pcc-link-underline {
    color: var(--pcc-pink);
    text-decoration: underline;
}

.pcc-link-underline-bold {
    color: var(--pcc-pink);
    text-decoration: underline;
    font-weight: 600;
}

/* Cards */
.pcc-card-cream {
    background: var(--pcc-cream);
    border-radius: .5rem;
}

.pcc-card-cream-lg {
    background: var(--pcc-cream);
    border-radius: .75rem;
}

.pcc-card-white {
    background: #fff;
    border: 1px solid var(--pcc-border);
    border-radius: .5rem;
}

.pcc-card-white-lg {
    background: #fff;
    border: 1px solid var(--pcc-border);
    border-radius: .75rem;
}

.pcc-card-white-plain {
    background: #fff;
    border-radius: .75rem;
}

.pcc-dashed-box {
    border: 2px dashed var(--pcc-border);
    border-radius: 1rem;
    background: #fff;
}

.pcc-dashed-fill {
    background: #fff;
    border-style: dashed !important;
}

/* Icon circle (team credential badges) */
.pcc-icon-circle {
    width: 100px;
    height: 100px;
    background: var(--pcc-pink-tint);
    color: var(--pcc-pink-dark);
}

/* Blockquote accent (history page) */
.pcc-quote-pink {
    font-size: 0.95rem;
    border-color: var(--pcc-pink) !important;
}

/* Map embed frame + placeholder (contact page) */
.pcc-map-frame {
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid var(--pcc-border);
}

.pcc-map-placeholder {
    background: #eee;
    height: 300px;
}

/* Copyright line */
.pcc-copyright {
    font-size: .8rem;
    color: var(--pcc-gray);
}

/* Max-width helpers */
.pcc-max-500 {
    max-width: 500px;
}

.pcc-max-640 {
    max-width: 640px;
}

.pcc-max-760 {
    max-width: 760px;
}

/* Font-size / line-height helpers */
.pcc-fs-85 {
    font-size: 0.85rem;
}

.pcc-fs-90 {
    font-size: 0.9rem;
}

.pcc-fs-95 {
    font-size: 0.95rem;
}

.pcc-list-relaxed {
    font-size: 1.05rem;
    line-height: 1.6;
}

.pcc-list-relaxed-lg {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =====================================================================
   Dynamic content cards — Patient Testimonials + Team Members.
   See sitefinity/DYNAMIC_CONTENT_PLAN.md for the Dynamic Module field
   schema and the Razor templates these classes are meant to be pasted
   with into the Dynamic content widget's List/Detail template editor.
   ===================================================================== */

/* ----- Patient Testimonial card ----- */
.pcc-testimonial-card {
    background: #fff;
    border: 1px solid var(--pcc-border);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pcc-testimonial-quote-icon {
    color: var(--pcc-pink-tint);
    font-size: 2rem;
    margin-bottom: .75rem;
}

.pcc-testimonial-text {
    font-style: italic;
    color: var(--pcc-black);
    flex-grow: 1;
}

.pcc-testimonial-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--pcc-border);
}

.pcc-testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pcc-testimonial-avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pcc-pink-tint);
    color: var(--pcc-pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.pcc-testimonial-name {
    font-weight: 700;
    color: var(--pcc-maroon);
    margin-bottom: 0;
}

.pcc-testimonial-meta {
    font-size: .82rem;
    color: var(--pcc-gray);
}

.pcc-testimonial-stars {
    color: var(--pcc-pink);
    font-size: .8rem;
    margin-bottom: .5rem;
}

/* ----- Team Member card -----
   Reuses .pcc-card-white-plain (card shell) and .pcc-icon-circle (the
   icon-avatar fallback already used on team.html) — only the photo
   variant is new. */
.pcc-team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
