/* Page News CSS */

/* Standard Page Banner */
.page-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner:before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
    filter: blur(60px);
}

.banner-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: 999px;
    position: relative;
    z-index: 1;
}

.banner-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

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

.banner-breadcrumb .sep {
    font-size: 10px;
    color: #64748b;
}

.banner-breadcrumb .current {
    color: var(--accent);
    font-weight: 700;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 16px;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .page-title { font-size: 28px; }
    .page-banner { padding: 50px 0; }
}

/* News Grid Section */
.subpage-main {
    background: var(--light);
}

.news-section-page {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.3);
}

.news-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.08);
}

.news-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(79, 70, 229, 0.9);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}

.news-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.read-more-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

@media (max-width: 991px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

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