﻿.navbar.transparent {
    background:var(--color-contrast);
}
main {padding-top: 40px;}
.news-read-button {
    margin-top: auto;
    align-self: flex-start;
}

.news-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.filter-input,
.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.filter-button {
    padding: 0.5rem 1rem;
    background-color: #2E4057;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-end;
    margin-top: auto;
    height: 42px;
}

    .filter-button:hover {
        background-color: #223344;
    }


.news-article-bg {
    background-color: #f9f9f9;
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.news-article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap:.5rem
}

.news-back-link {
    font-size: 0.95rem;
    color: #2E4057;
    text-decoration: none;
    font-weight: 500;
}

    .news-back-link:hover {
        text-decoration: underline;
    }

.news-article-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height:2.25rem;
    color: #222;
    margin:0;
}

.news-article-date {
    color: #888;
    font-size: 0.75rem;
    line-height:.75rem;
    margin:0;
}

.news-article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height:400px;
}

.news-article-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.news-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.news-share-button {
    background-color: #2E4057;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

    .news-share-button:hover {
        background-color: #223344;
    }
.news-article-file {
    margin-top: 1rem;
}

    .news-article-file a {
        background-color: var(--color-primary);
        color: white;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        text-decoration: none;
        display: inline-block;
    }

        .news-article-file a:hover {
            background-color: var(--color-primary);
        }
