/* --- West Yorkshire Community - News & Events Feed Styles --- */

/* 1. News & Updates Section Container */
.updates-section {
    background: rgba(17, 37, 62, 0.6);
    padding: 60px 20px;
    margin-top: 40px;
}

.updates-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.update-col h3 {
    color: #ceb888;
    margin-bottom: 25px;
    border-bottom: 2px solid #ceb888;
    display: inline-block;
}

/* 2. The Individual News Item Box */
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #11253E;
    border: 2px solid rgba(184, 140, 92, 0.3);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.news-item:hover {
    border-color: #ceb888;
    background: #1a3557;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.news-date {
    color: #ceb888;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.news-link {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.news-snippet {
    color: #f4f4f4;
    opacity: 0.8;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* 3. Centered News Feature Card (used in News Pages) */
.news-centered-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.news-feature-card {
    max-width: 800px;
    width: 100%;
    background: rgba(17, 37, 62, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #ceb888;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}

.feature-title {
    display: inline-block;
    border-bottom: 2px solid #ceb888;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: white;
    font-size: 1.8rem;
}

/* 4. Responsive Adjustments */
@media (max-width: 768px) {
    .updates-container {
        grid-template-columns: 1fr;
    }
}