/* ==========================================================================
   Pastor's Updates — Front-end Styles
   ========================================================================== */

/* Homepage section */
.pastor-updates-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pastor-updates-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 8px;
}

.pastor-updates-title {
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.pastor-updates-view-all {
    font-size: 0.875rem;
    text-decoration: none;
    opacity: 0.65;
    transition: opacity 0.2s;
}
.pastor-updates-view-all:hover {
    opacity: 1;
}

/* Card grid */
.pastor-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.pastor-update-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}
.pastor-update-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pastor-update-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    opacity: 0.55;
}

.pastor-update-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    color: #374151;
}

.pastor-update-read-more {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: opacity 0.2s;
}
.pastor-update-read-more:hover {
    opacity: 0.75;
}

/* Archive page */
.pastor-updates-archive {
    max-width: 740px;
    margin: 0 auto;
    padding: 48px 20px;
}

.pastor-updates-archive h1 {
    font-size: 2rem;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.pastor-update-archive-item {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #f0f0f0;
}

.pastor-update-archive-item:last-child {
    border-bottom: none;
}

.pastor-update-archive-item time {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    opacity: 0.5;
    margin-bottom: 6px;
}

.pastor-update-archive-item h2 {
    font-size: 1.25rem;
    margin: 0 0 16px;
}

.pastor-update-archive-item h2 a {
    text-decoration: none;
}

/* Single post content */
.pastor-update-content {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.pastor-update-content p {
    margin-bottom: 1.25em;
}

/* Responsive */
@media (max-width: 600px) {
    .pastor-updates-grid {
        grid-template-columns: 1fr;
    }
    .pastor-updates-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
