/* ============================================
   1. CTA (Homepage)
============================================ */

.cta-duplicate {
    text-align: center;
    margin: 2rem 0 2.5rem;
    position: relative;
    z-index: 5;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

.cta-button:hover {
    background: rgba(255,255,255,0.38);
    transform: translateY(-3px);
}


/* ============================================
   2. Floating CTA
============================================ */

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cta-button {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.floating-cta-button:hover {
    background: rgba(255,255,255,0.38);
    transform: translateY(-3px);
}


/* ============================================
   3. PBC HERO (Unified)
============================================ */

.pbc-page .hero-shell {
    position: relative;
    width: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

.pbc-page .hero-rotator {
    height: 360px !important;
    overflow: hidden;
}

.pbc-page .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.pbc-page .hero-slide--active {
    opacity: 1;
}

.pbc-page .hero-image-layer {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #000;
}

.pbc-page .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 2rem;
    color: white;
    z-index: 2;
    background: linear-gradient(
        to bottom right,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.25)
    );
}

.pbc-page .hero-overlay h1,
.pbc-page .hero-overlay h2 {
    color: #fff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}


/* ============================================
   4. PBC Panels
============================================ */

.pbc-page .panel,
.pbc-page .this-week-panel {
    position: relative !important;
    margin-top: 2rem !important;
    z-index: 5;
}


/* ============================================
   5. Photo Grid (PBC)
============================================ */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.photo-item .caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}


/* ============================================
   6. Officers Page Overrides
============================================ */

body.pbc-officers .site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

body.pbc-officers .site-header .site-title,
body.pbc-officers .site-header .site-subtitle {
    color: #003366;
    text-shadow: none;
}

body.pbc-officers .top-nav a {
    color: #003366 !important;
    text-shadow: none;
}

body.pbc-officers .top-nav a:hover {
    color: #0055aa !important;
}


/* ============================================
   7. Remove Global Nav Padding on PBC
============================================ */

.pbc-page {
    padding-top: 0 !important;
}
.pbc-page #hero-image-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Visit Counter — PBC Footer */
#pbc-counter,
.visit-counter {
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0.85;
    text-align: center;
}
