/* Clergy page styles - Updated for consistent header layout */

/* Page Header Section */
.page-header {
    background-color: #ffffff; /* Changed from #e8bdb0 */
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-header .page-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    color: #9A4B1D; /* Changed from black */
    flex-shrink: 0;
    margin: 0;
}

.image-placeholder {
    width: 60px;
    height: 60px;
    background-color: #d9d9d9;
    border-radius: 50%;
    flex-shrink: 0;
}

.image-placeholder.left {
    margin-right: auto;
}

.image-placeholder.right {
    margin-left: auto;
}

/* Table Layout - Shared Base */
.clergy-table {
    margin: 0 auto;
    padding: 0 20px;
}

.clergy-table table {
    width: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-collapse: collapse;
}

/* Max-width per type */
.clergy-table:not(.two-column) {
    max-width: 900px;
}

.clergy-table.two-column {
    max-width: 700px;
}

/* Column Width Defaults */
.clergy-table:not(.bishops):not(.two-column) th:first-child,
.clergy-table:not(.bishops):not(.two-column) td:first-child {
    width: 45%;
}

/* Reduce width of first column in two-column and bishops tables */
.clergy-table.bishops th:first-child,
.clergy-table.bishops td:first-child,
.clergy-table.two-column th:first-child,
.clergy-table.two-column td:first-child {
    width: 45%;
}

.clergy-table thead {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: white;
}

.clergy-table thead th {
    font-size: 1.3rem;
    font-weight: bold;
}

.clergy-table th {
    padding: 15px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.clergy-table th:last-child {
    border-right: none;
}

.clergy-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    font-size: 1rem;
    vertical-align: top;
    color: #333;
}

.clergy-table td:last-child {
    border-right: none;
}

.clergy-table tbody tr:last-child td {
    border-bottom: none;
}

.clergy-table tbody tr:nth-child(even) {
    background-color: #fff7ed; /* pale amber cream */
}

.clergy-table tbody tr:hover {
    background-color: #fef7ed;
}

/* Bishops table - 3 column layout */
.clergy-table.bishops th:first-child,
.clergy-table.bishops td:first-child {
    width: 35%;
}

.clergy-table.bishops th:nth-child(2),
.clergy-table.bishops td:nth-child(2) {
    width: 40%;
}

.clergy-table.bishops th:nth-child(3),
.clergy-table.bishops td:nth-child(3) {
    width: 25%;
    text-align: center;
}

/* Two column table layout */
.clergy-table.two-column th:first-child,
.clergy-table.two-column td:first-child {
    width: 50%;
}

.clergy-table.two-column th:nth-child(2),
.clergy-table.two-column td:nth-child(2) {
    width: 50%;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
    }

    .page-header .page-title {
        font-size: 1.8rem;
    }

    .clergy-table {
        padding: 0 10px;
    }

    .clergy-table th,
    .clergy-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .clergy-table.bishops th:first-child,
    .clergy-table.bishops td:first-child,
    .clergy-table.two-column th:first-child,
    .clergy-table.two-column td:first-child {
        width: 30%;
    }

    .clergy-table.bishops th:nth-child(2),
    .clergy-table.bishops td:nth-child(2) {
        width: 45%;
    }

    .clergy-table.bishops th:nth-child(3),
    .clergy-table.bishops td:nth-child(3) {
        width: 25%;
    }

    .clergy-table.two-column th:nth-child(2),
    .clergy-table.two-column td:nth-child(2) {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .page-header .page-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .clergy-table {
        padding: 0 5px;
    }

    .clergy-table th,
    .clergy-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .clergy-table.bishops th:first-child,
    .clergy-table.bishops td:first-child,
    .clergy-table.two-column th:first-child,
    .clergy-table.two-column td:first-child {
        width: 30%;
    }

    .clergy-table.bishops th:nth-child(2),
    .clergy-table.bishops td:nth-child(2) {
        width: 45%;
    }

    .clergy-table.bishops th:nth-child(3),
    .clergy-table.bishops td:nth-child(3) {
        width: 25%;
        font-size: 0.75rem;
    }

    .clergy-table.two-column th:nth-child(2),
    .clergy-table.two-column td:nth-child(2) {
        width: 70%;
    }
}

/* Enhanced readability for content cells */
.clergy-table tbody td:first-child {
    font-weight: 500;
    color: black;
}

.clergy-table tbody td:nth-child(2) {
    font-weight: 600;
}

.clergy-table tbody td:nth-child(3) {
    font-weight: 500;
    color: #555; /* #666; */
}

/* Hero Section - amber gradient to match gallery */
.hero h2 {
    font-size: 1.6rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    text-align: center;
    font-weight: 600;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero {
    padding: 1.5rem 1.5rem;
    background: linear-gradient(135deg, #b45309, #d97706);
    color: white;
    text-align: center;
    max-width: 1000px;
    margin: 1.5rem auto 1rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(180, 83, 9, 0.3);
}

/* Pull the table closer to the hero banner (base.css adds 28px on top) */
.hero + .content-section {
    padding-top: 0;
}

/* Parish Vocations Section */
.vocations-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.parish-vocation-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #d97706;
}

.parish-vocation h3 {
    color: #b45309;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.parish-vocation p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0;
}

.parish-vocation-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.footer-bottom {
        width: 100%;
        text-align: center;
    }


