/* ============================================
   News Page — Specific Styles
   ============================================ */

/* ── Page Container ── */
.news-page-container {
    padding: 40px 0 80px;
    background: #fff;
}

/* ── Breadcrumbs ── */
.breadcrumb-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.875rem;
}

.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-tools {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-tools i {
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.action-tools i:hover {
    color: var(--primary-orange);
}

/* ── Main Title ── */
.news-main-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

/* ── Category Tabs ── */
.news-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
    gap: 5px;
    overflow-x: auto;
}

.news-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
}

.news-tab.active {
    color: white;
    background: #a34b4b;
    border-radius: 4px 4px 0 0;
}

.tab-count {
    font-size: 0.75rem;
    margin-left: 3px;
}



/* ── Detail Page ── */
.news-detail-title {
    font-size: 2.25rem;
    color: var(--dark-blue);
    margin-top: 10px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.news-detail-image {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-image img {
    width: 100%;
    aspect-ratio: 8 / 6;
    object-fit: cover;
}

.news-detail-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-main);
    word-break: break-word;
}

.news-detail-content img {
    max-width: 100%;
    height: auto !important;
}

.news-detail-attachments {
    border-top: 3px solid var(--primary-orange);
    transition: var(--transition-base);
}

.news-detail-attachments:hover {
    box-shadow: var(--shadow-md);
}

.news-detail-attachments h5 {
    color: var(--dark-blue);
    font-weight: 700;
}

.news-detail-attachments a {
    color: var(--text-main);
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: inline-flex !important;
    transition: var(--transition-base);
}

.news-detail-attachments a:hover {
    background: var(--primary-orange);
    color: white !important;
    border-color: var(--primary-orange);
}

@media (max-width: 768px) {
    .news-main-title {
        font-size: 1.75rem;
    }
    .news-detail-title {
        font-size: 1.75rem;
    }
}
