﻿:root {
    --text-dark: #1A1A1A;
    --text-muted: #6B6B6B;
    --border-light: #E6E6E6;
    --bg-light: #F6F6F6;
}

.news-header {
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 991px) {
    .news-header {
        border-bottom: none;
    }
}

.news-header .navbar-brand img {
    height: 48px;
}

@media (min-width: 992px) {
    .news-header .navbar-brand img {
        height: 64px;
    }
}

.nav-hamburger {
    background: none;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-hamburger:hover {
    opacity: 0.7;
}

.nav-bar-desktop {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}

.nav-bar-desktop .nav-link {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.15rem 0.75rem;
}

.nav-bar-desktop .nav-link:hover {
    color: var(--logo-dominant);
}

#navCollapse {
    border-bottom: 1px solid var(--border-light);
}

main {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 991px) {
    main {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.main-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 991px) {
    .main-content-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar-section {
    border-left: 1px solid var(--border-light);
    padding-left: 1.5rem;
}

.sidebar-section .section-header-accent:first-child,
.sidebar-section .section-header-uppercase:first-child {
    margin-top: 0;
}

@media (max-width: 991px) {
    .sidebar-section {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-light);
        padding-top: 1rem;
        margin-top: 0;
    }

    .sidebar-section .section-header-accent:first-child,
    .sidebar-section .section-header-uppercase:first-child {
        margin-top: 0;
    }
}

.news-card {
    border: none;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.news-card:hover {
    background-color: var(--bg-light);
}

.news-card-large .card-img-top {
    border-radius: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.news-card-horizontal:last-child {
    border-bottom: none;
}

.news-card-horizontal .card-img-left {
    width: 120px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 1rem;
}

@media (max-width: 575px) {
    .news-card-horizontal .card-img-left {
        width: 100px;
        height: 66px;
    }
}

.news-card-text-only {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.news-card-text-only:last-child {
    border-bottom: none;
}

.news-card .card-title {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.news-card .card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card .card-title a:hover {
    text-decoration: underline;
}

.news-card .card-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.news-card-large .card-title {
    font-size: 1.25rem;
}

.news-card-horizontal .card-title {
    font-size: 1rem;
}

.news-card-text-only .card-title {
    font-size: 0.95rem;
}

.time-ago {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.section-tag {
    color: var(--logo-darker);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.section-tag:hover {
    text-decoration: underline;
}

.meta-separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.section-header-accent {
    border-left: 4px solid var(--logo-darker);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
    margin-top: 3rem;
}

.section-header-accent h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--logo-darker);
}

.section-header-uppercase {
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    margin-top: 3rem;
}

.section-header-uppercase h2 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    color: var(--logo-darker);
}

.main-feature {
    margin-bottom: 3rem;
}

.main-feature-text-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 991px) {
    .main-feature-text-left {
        grid-template-columns: 1fr;
    }

    .main-feature-text-left .feature-image {
        order: -1;
    }
}

.main-feature .feature-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.main-feature .feature-title a {
    color: inherit;
    text-decoration: none;
}

.main-feature .feature-title a:hover {
    text-decoration: underline;
}

.main-feature .feature-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.main-feature .feature-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.main-feature-hero {
    position: relative;
    margin-bottom: 2rem;
}

.main-feature-hero .feature-image img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
}

@media (max-width: 767px) {
    .main-feature-hero .feature-image img {
        aspect-ratio: 16/9;
    }
}

.main-feature-hero .feature-content {
    margin-top: 1rem;
}

.article-page .article-header {
    margin-bottom: 2rem;
}

.article-page .article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-page .article-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-page .article-reporter {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.article-page .article-image {
    margin-bottom: 2rem;
}

.article-page .article-image img {
    height: auto;
}

@media (max-width: 767px) {
    .article-page .article-image img {
        width: 100%;
    }
}

.article-page .article-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;    
    margin-bottom: 1.5rem;
}

.article-page .article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.static-page {
    max-width: 800px;
    margin: 0 auto;
}

.static-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.static-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.static-page p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.static-page ul {
    margin-bottom: 1.5rem;
}

.static-page li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.feedback-form .form-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feedback-form .form-label-optional {
    color: var(--logo-darker);
    font-size: 0.9rem;
    float: right;
}

.feedback-form .form-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feedback-form .form-control {
    border: 1px solid var(--logo-darker);
    border-radius: 0;
    padding: 0.75rem;
    font-size: 1rem;
}

.feedback-form .form-control:focus {
    border-color: var(--text-dark);
    box-shadow: none;
}

.feedback-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.feedback-form .form-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feedback-form .btn-submit {
    background-color: transparent;
    color: var(--logo-darker);
    border: 1px solid var(--logo-darker);
    border-radius: 0;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.feedback-form .btn-submit:hover {
    background-color: var(--logo-darker);
    color: white;
}

.btn-read-more {
    background-color: transparent;
    border: 1px solid var(--logo-darker);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn-read-more:hover {
    background-color: var(--logo-darker);
    color: white;
}

.news-footer {
    background-color: var(--bg-light);
    padding: 0 0 1.5rem 0;
    margin-top: 3rem;
}

.footer-separator {
    border: 0;
    border-top: 1px solid var(--border-light);
    margin: 0 0 1.5rem 0;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-logo-link {
    flex-shrink: 0;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact,
.footer-copyright {
    display: inline;
}

@media (max-width: 767px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.25rem;
    }
}
