/* =============================================
   TIN TỨC / NEWS PAGE STYLES
   Thiết kế như trang báo chính thức
   ============================================= */

/* ==================== HERO SECTION ==================== */
.news-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.news-hero-content {
    position: relative;
    z-index: 1;
}

.news-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.news-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #475569;
    max-width: 600px;
}

.news-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.news-hero .hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* ==================== CATEGORY FILTER ==================== */
.news-categories {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-scroll {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: 1.5px solid #e5e7eb;
    background: white;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.category-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.category-btn .cat-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 12px;
}

.category-btn.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ==================== SEARCH BAR ==================== */
.news-search-bar {
    position: relative;
    max-width: 400px;
}

.news-search-bar input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.news-search-bar input:focus {
    border-color: #2563eb;
    outline: none;
    background: white;
}

.news-search-bar .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 18px;
    height: 18px;
}

/* ==================== FEATURED NEWS (TOP BANNER) ==================== */
.featured-news-section {
    background: #f8fafc;
    padding: 48px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.featured-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    height: 440px;
    background: #1e293b;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    opacity: 0.7;
}

.featured-main:hover img {
    transform: scale(1.05);
}

.featured-main .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.featured-main .featured-badge {
    display: inline-block;
    padding: 4px 14px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.featured-main h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-main .featured-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-main .featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-side-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid #f1f5f9;
    flex: 1;
}

.featured-side-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.featured-side-card img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.featured-side-card .side-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.featured-side-card .side-category {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-side-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-side-card .side-meta {
    font-size: 12px;
    color: #94a3b8;
}

/* ==================== NEWS GRID ==================== */
.news-grid-section {
    padding: 48px 0 80px;
    background: white;
}

.news-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #0f172a;
}

.news-grid-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-grid-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: #ef4444;
    border-radius: 2px;
}

.news-article-count {
    font-size: 14px;
    color: #64748b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ==================== NEWS CARD ==================== */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-image .card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.badge-thong-bao { background: #3b82f6; }
.badge-su-kien { background: #8b5cf6; }
.badge-khuyen-mai { background: #ef4444; }
.badge-meo-hoc { background: #10b981; }
.badge-thanh-tich { background: #f59e0b; }
.badge-tuyen-sinh { background: #ec4899; }

.news-card-image .card-featured-star {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.news-card-image .default-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.news-card-image .default-thumbnail svg {
    width: 48px;
    height: 48px;
    color: #94a3b8;
}

.news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body .card-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-card-body .card-date .dot-sep {
    width: 3px;
    height: 3px;
    background: #cbd5e1;
    border-radius: 50%;
}

.news-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-card:hover .news-card-body h3 {
    color: #2563eb;
}

.news-card-body .card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-card-footer .card-author {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.news-card-footer .card-views {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== NEWS DETAIL MODAL ==================== */
.news-detail-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.news-detail-backdrop.active {
    display: flex;
}

.news-detail-modal {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease;
    margin: 0 auto;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-detail-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
}

.news-detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.news-detail-header .detail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.news-detail-header .detail-category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-detail-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
}

.news-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 20px;
    transition: background 0.2s;
}

.news-detail-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 32px;
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 14px;
}

.news-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-detail-meta .meta-item svg {
    width: 16px;
    height: 16px;
}

.news-detail-body {
    padding: 32px;
}

.news-detail-body .detail-content {
    line-height: 1.8;
    color: #334155;
    font-size: 16px;
}

.news-detail-body .detail-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 16px;
}

.news-detail-body .detail-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 12px;
}

.news-detail-body .detail-content p {
    margin-bottom: 16px;
}

.news-detail-body .detail-content ul,
.news-detail-body .detail-content ol {
    margin: 12px 0 20px 24px;
}

.news-detail-body .detail-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.news-detail-body .detail-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 16px 24px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.news-detail-body .detail-content strong {
    font-weight: 700;
    color: #0f172a;
}

.news-detail-tags {
    padding: 0 32px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-detail-tags .tag {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Related Articles */
.news-related {
    border-top: 1px solid #f1f5f9;
    padding: 24px 32px 32px;
}

.news-related h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s;
}

.related-card:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.related-card .related-cat {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.related-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* ==================== PAGINATION ==================== */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.news-pagination button {
    padding: 10px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.news-pagination button:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.news-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.news-pagination .page-num {
    min-width: 40px;
    text-align: center;
    padding: 10px 14px;
}

.news-pagination .page-num.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* ==================== EMPTY STATE ==================== */
.news-empty {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.news-empty svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #cbd5e1;
}

.news-empty h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.news-empty p {
    font-size: 15px;
}

/* ==================== LOADING SKELETON ==================== */
.news-skeleton {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.news-skeleton .skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.news-skeleton .skeleton-body {
    padding: 20px;
}

.news-skeleton .skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.news-skeleton .skeleton-line.w-60 { width: 60%; }
.news-skeleton .skeleton-line.w-80 { width: 80%; }
.news-skeleton .skeleton-line.w-40 { width: 40%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-main {
        height: 320px;
    }
    .featured-sidebar {
        flex-direction: row;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2rem;
    }
    .news-hero .hero-subtitle {
        font-size: 1rem;
    }
    .featured-main {
        height: 260px;
    }
    .featured-main h2 {
        font-size: 1.3rem;
    }
    .featured-sidebar {
        flex-direction: column;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-detail-header {
        height: 200px;
    }
    .news-detail-header h1 {
        font-size: 1.3rem;
    }
    .news-detail-meta {
        padding: 16px 20px;
        gap: 12px;
    }
    .news-detail-body {
        padding: 20px;
    }
    .news-detail-body .detail-content {
        font-size: 15px;
    }
    .news-detail-tags,
    .news-related {
        padding-left: 20px;
        padding-right: 20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .news-grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .featured-side-card img {
        width: 80px;
        height: 60px;
    }
    .news-card-image {
        height: 160px;
    }
}

/* ==================== NEWS ARTICLE DETAIL PAGE ==================== */
.news-article-page {
    min-height: 100vh;
}

.article-header-loading {
    text-align: center;
    padding: 160px 20px 60px;
}

.article-hero-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.article-hero-banner.hero-animated {
    background: radial-gradient(ellipse at 20% 50%, #e8f0fe 0%, #eef4ff 40%, #f0f4ff 100%);
}

.article-hero-banner .article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.article-hero-overlay {
    position: relative;
    width: 100%;
    padding: 120px 24px 48px;
}

.article-hero-category {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.article-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
    max-width: 800px;
}

.article-hero-excerpt {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    line-height: 1.6;
}

/* Breadcrumb */
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 14px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

/* Article Meta */
.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 14px;
}

.article-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-bar .meta-item svg {
    width: 16px;
    height: 16px;
}

/* Article Body Content */
.article-body-content {
    line-height: 1.9;
    color: #334155;
    font-size: 17px;
    margin-bottom: 40px;
}

.article-body-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 16px;
}

.article-body-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 14px;
}

.article-body-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 12px;
}

.article-body-content p {
    margin-bottom: 18px;
}

.article-body-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

/* Article inline images (figure with figcaption) */
.article-body-content figure.article-image,
.article-body-content figure {
    margin: 32px 0;
    text-align: center;
}

.article-body-content figure.article-image img,
.article-body-content figure img {
    max-width: 100%;
    width: auto;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.article-body-content figure figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    line-height: 1.5;
}

/* Two-column image layout */
.article-body-content .image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.article-body-content .image-row figure {
    margin: 0;
}

@media (max-width: 640px) {
    .article-body-content .image-row {
        grid-template-columns: 1fr;
    }
}

.article-body-content ul,
.article-body-content ol {
    margin: 12px 0 20px 24px;
}

.article-body-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-body-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 18px 24px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #475569;
}

.article-body-content strong {
    font-weight: 700;
    color: #0f172a;
}

.article-body-content a {
    color: #2563eb;
    text-decoration: underline;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.article-tags .tag {
    padding: 5px 14px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    transition: all 0.2s;
}

.share-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.share-btn.share-fb {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-btn.share-fb:hover {
    background: #166fe5;
}

/* Related Articles */
.article-related {
    margin-bottom: 40px;
}

.article-related h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-article-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
}

.related-article-card:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.related-article-card .related-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.related-article-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.related-article-card .related-date {
    font-size: 12px;
    color: #94a3b8;
}

/* Back button */
.article-back {
    text-align: center;
    padding: 40px 0 60px;
}

.back-to-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #f1f5f9;
    color: #374151;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.back-to-news-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Article page responsive */
@media (max-width: 768px) {
    .article-hero-banner {
        min-height: 300px;
    }
    .article-hero-title {
        font-size: 1.6rem;
    }
    .article-hero-excerpt {
        font-size: 0.95rem;
    }
    .article-body-content {
        font-size: 16px;
    }
    .article-related-grid {
        grid-template-columns: 1fr;
    }
    .article-share {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-hero-banner {
        min-height: 250px;
    }
    .article-hero-overlay {
        padding: 80px 16px 32px;
    }
}
