/* GlupusLes - News Page Styles */

#main {
    margin-top: calc(var(--header-height));
    min-height: calc(100vh - var(--header-height) - 3rem);
}

#lf_newsWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.lf_newsItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--panel-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.lf_newsItem:hover {
    transform: translateY(-2px);
}

.lf_newsItemTitle {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color);
}

.lf_newsItemImg {
    height: auto;
    max-height: 12rem;
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    object-fit: contain;
}

.lf_newsItemContent {
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    color: var(--color);
}

.lf_newsItemDate {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
    color: var(--color);
}

/* Responsive Design */
@media (max-width: 768px) {
    #lf_newsWrapper {
        padding: 1rem;
    }

    .lf_newsItem {
        padding: 1rem;
    }

    .lf_newsItemImg {
        max-height: 10rem;
    }
}

@media (max-width: 480px) {
    .lf_newsItem {
        padding: 0.875rem;
    }
}