/* =====================================================
   BACIL Staff Page (page ID 990, /staff2/)
   Loaded only on that page via functions.php enqueue.
   ===================================================== */

/* Section headers */
.bacil-section-header {
    background: #3D4061;
    color: #fff;
    text-align: center;
    border-radius: 7px;
    padding: 13px 24px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 28px;
}

/* Staff card */
.bacil-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px 20px 20px;
    text-align: center;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
}

.bacil-card .wp-block-image {
    margin-bottom: 12px;
}

.bacil-card .wp-block-image img {
    border-radius: 6px;
    max-height: 260px;
    object-fit: contain;
    width: 100%;
}

.bacil-card h3.wp-block-heading {
    font-size: 1rem !important;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.bacil-card p.bc-title {
    color: #3D4061;
    font-size: .875rem;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
}

.bacil-card p.bc-phone,
.bacil-card p.bc-email {
    font-size: .8125rem;
    color: #555;
    margin: 2px 0;
}

.bacil-card p.bc-email a {
    color: #3D4061;
    text-decoration: none;
    font-weight: 500;
}

.bacil-card p.bc-email a:hover {
    text-decoration: underline;
}

.bacil-card p.bc-bio {
    font-size: .8125rem;
    color: #555;
    line-height: 1.55;
    text-align: left;
    margin: 8px 0 0;
}

/* Board of Directors box */
.bacil-board {
    background: #f5f5f8;
    border-radius: 10px;
    padding: 20px 32px;
    max-width: 520px;
    margin: 0 auto;
}

.bacil-board p.bacil-board-member {
    font-size: 1.05rem;
    margin: 8px 0;
}

/* Mobile: stack columns */
@media (max-width: 599px) {
    .wp-block-columns {
        flex-wrap: wrap;
    }
    .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100%;
    }
}

/* Constrain content to ~80% width, matching rest of site */
.page-id-990 .elementor-widget-theme-post-content > .elementor-widget-container {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .page-id-990 .elementor-widget-theme-post-content > .elementor-widget-container {
        max-width: 96%;
    }
}

/* Tighten Elementor container on staff page */
.page-id-990 .elementor-section .elementor-container {
    max-width: 65%;
}

@media (max-width: 1024px) {
    .page-id-990 .elementor-section .elementor-container {
        max-width: 90%;
    }
}
