/* News Page Specific Styles */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin: -2.5rem -2.5rem 0;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.news-card-header--no-img {
    margin-top: 0;
}

.news-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-category-announcement {
    background: rgba(27, 94, 32, 0.1);
    color: var(--accent);
}

.news-category-event {
    background: rgba(191, 161, 95, 0.1);
    color: var(--accent-warm);
}

.news-category-update {
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
}

.news-category-notice {
    background: rgba(198, 40, 40, 0.1);
    color: var(--color-bhanjyangred);
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-link:hover {
    color: var(--accent);
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.news-read-more:hover {
    gap: 0.75rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.empty-state-text {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Article Detail */
.breadcrumb-section {
    padding-top: calc(var(--top-header-h) + var(--header-h) + 1rem);
    padding-bottom: 0.5rem;
    background: var(--bg-subtle);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    margin-top: 2rem;
}

.article-container--full {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }
}

.article-main {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0;
    color: var(--text);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-cover-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 420px;
    margin: 1.5rem 0 2rem;
}

.article-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    overflow-wrap: anywhere;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-share {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.article-share-label {
    display: block;
    margin-bottom: 0.6rem;
}

.article-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn--facebook {
    border-color: #1877F2;
    color: #1877F2;
}

.share-btn--facebook:hover {
    background: #1877F2;
    color: white;
}

.share-btn--whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.share-btn--whatsapp:hover {
    background: #25D366;
    color: white;
}

.share-btn--viber {
    border-color: #7360F2;
    color: #7360F2;
}

.share-btn--viber:hover {
    background: #7360F2;
    color: white;
}

.article-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: calc(var(--top-header-h) + var(--header-h) + 2rem);
    align-self: start;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-article-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.related-article-card:hover {
    transform: translateX(5px);
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.related-article-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.4;
}

.related-article-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 2rem;
    }
}