/* ===================================
   NEWS PAGE STYLES - Dr. C. Ajithkumar Portfolio
   Professional News & Updates Design
   =================================== */

/* ===================================
   NEWS DETAIL PAGE STYLES
   =================================== */

/* Article Header */
.article-header {
    background: var(--light-gray);
    padding: 100px 0 40px;
}

.article-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.article-breadcrumb .breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-gold);
}

.article-breadcrumb .breadcrumb-item.active {
    color: var(--text-gray);
}

.article-meta {
    margin-bottom: 30px;
}

.meta-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.meta-badges .badge {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.meta-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-gray);
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    color: var(--primary-blue);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--dark-gray);
    background: rgba(30, 64, 175, 0.05);
    padding: 20px;
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Social Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

.share-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
    white-space: nowrap;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-buttons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    transition: var(--transition);
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Featured Image */
.article-featured-image {
    background: var(--white);
    padding: 40px 0;
}

.featured-image-container {
    position: relative;
}

.featured-image-container img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.image-caption {
    margin-top: 12px;
    text-align: center;
}

/* Article Content */
.article-content {
    background: var(--white);
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 16px;
}

.article-body blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

/* Related Athletes */
.related-athletes {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}

.related-athletes h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.athlete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.athlete-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.athlete-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.athlete-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border: 2px solid var(--accent-gold);
}

.athlete-info h6 {
    margin-bottom: 4px;
    font-size: 14px;
}

.athlete-info h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.athlete-info h6 a:hover {
    color: var(--accent-gold);
}

.athlete-info p {
    font-size: 12px;
    color: var(--text-gray);
}

/* Article Tags */
.article-tags {
    background: var(--light-gray);
    padding: 24px;
    border-radius: var(--border-radius-lg);
}

.article-tags h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-list .tag-item {
    background: var(--white);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.tags-list .tag-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Article Navigation */
.article-navigation {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}

.nav-article {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.nav-article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.nav-article h6 {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.nav-article h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.nav-article h6 a:hover {
    color: var(--accent-gold);
}

/* Comments Section */
.comments-section {
    background: var(--white);
}

.comments-section h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent-gold);
}

.comment-form {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
}

.comment-form h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.comment-form .form-control,
.comment-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
}

.comment-form .form-control:focus,
.comment-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.comment-form .btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 24px;
    transition: var(--transition);
}

.comment-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Comments List */
.comment-item {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-reply {
    margin-left: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0;
    font-size: 14px;
}

.comment-author a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.comment-author a:hover {
    color: var(--accent-gold);
}

.comment-date {
    font-size: 12px;
    color: var(--text-gray);
}

.comment-body {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.comment-actions .btn {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.comment-actions .btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.no-comments {
    background: var(--light-gray);
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
}

/* Sidebar Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-details h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

/* Related Articles in Sidebar */
.related-article-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.related-article-item:last-child {
    border-bottom: none;
}

.related-article-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light-gray);
}

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

.related-article-content {
    flex: 1;
}

.related-article-content h6 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.related-article-content h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.related-article-content h6 a:hover {
    color: var(--accent-gold);
}

/* Author Articles */
.author-article-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.author-article-item:last-child {
    border-bottom: none;
}

.author-article-item h6 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.author-article-item h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.author-article-item h6 a:hover {
    color: var(--accent-gold);
}

/* Share Buttons Vertical */
.share-buttons-vertical .btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 16px;
    transition: var(--transition);
}

.share-buttons-vertical .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Related Articles Section at Bottom */
.news-card-small {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
}

.news-card-small:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.news-image-small {
    height: 120px;
    overflow: hidden;
    background: var(--light-gray);
}

.news-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card-small:hover .news-image-small img {
    transform: scale(1.05);
}

.news-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    color: var(--text-gray);
}

.news-content-small {
    padding: 16px;
}

.news-meta-small {
    margin-bottom: 8px;
}

.news-content-small h6 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-content-small h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.news-content-small h6 a:hover {
    color: var(--accent-gold);
}

.news-content-small p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.4;
}

/* CSS Variables */
:root {
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-gray: #64748b;
    --dark-gray: #374151;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

/* News Page Body */
.news-page {
    background: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    top: 40%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Breaking News Section */
.breaking-badge {
    background: var(--white);
    color: var(--danger-red);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.breaking-news-ticker {
    white-space: nowrap;
    overflow: hidden;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.breaking-news-ticker a {
    display: inline-block;
    padding-right: 50px;
}

.breaking-news-ticker a:hover {
    color: var(--accent-gold) !important;
}

/* Section Styling */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Search and Filter Section */
.search-filter-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.search-filter-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 14px;
}

.search-filter-form .form-control,
.search-filter-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.search-filter-form .form-control:focus,
.search-filter-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.search-filter-form .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.search-filter-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.search-filter-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Featured News Cards */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-gold);
}

.news-card.featured {
    border-color: var(--accent-gold);
}

.news-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
}

.news-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-gray);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    color: var(--text-gray);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-badges .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.news-category {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.news-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-content h4 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.news-content h4 a:hover {
    color: var(--accent-gold);
}

.news-excerpt {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.news-author {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
}

.news-author i {
    color: var(--primary-blue);
}

/* Horizontal News Cards */
.news-card-horizontal {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
}

.news-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.news-image-horizontal {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.news-image-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card-horizontal:hover .news-image-horizontal img {
    transform: scale(1.05);
}

.news-placeholder-horizontal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    color: var(--text-gray);
}

.pinned-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--warning-orange);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.news-content-horizontal {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-content-horizontal .news-meta {
    margin-bottom: 12px;
}

.news-type {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content-horizontal h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    flex-grow: 1;
}

.news-content-horizontal h5 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.news-content-horizontal h5 a:hover {
    color: var(--accent-gold);
}

.news-footer-horizontal {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.news-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.detail-item {
    color: var(--text-gray);
    font-size: 12px;
    display: flex;
    align-items: center;
}

.detail-item i {
    color: var(--primary-blue);
}

.news-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.news-tags .badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
}

/* Sidebar Styles */
.sidebar-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.sidebar-card h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}

/* Newsletter Form */
.sidebar-card form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
}

.sidebar-card form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.sidebar-card form .btn {
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Popular Articles */
.popular-article-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.popular-article-item:last-child {
    border-bottom: none;
}

.popular-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.popular-article-item h6 {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.popular-article-item h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.popular-article-item h6 a:hover {
    color: var(--accent-gold);
}

/* Recent Articles */
.recent-article-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.recent-article-item:last-child {
    border-bottom: none;
}

.recent-article-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light-gray);
}

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

.article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.recent-article-content {
    flex: 1;
}

.recent-article-content h6 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.recent-article-content h6 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.recent-article-content h6 a:hover {
    color: var(--accent-gold);
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

.category-item:hover {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-blue);
    text-decoration: none;
    transform: translateX(4px);
}

.category-name {
    font-weight: 600;
}

.category-count {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-gray);
}

.empty-state p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-gray);
}

/* Pagination */
.pagination {
    --bs-pagination-color: var(--primary-blue);
    --bs-pagination-bg: var(--white);
    --bs-pagination-border-color: #e5e7eb;
    --bs-pagination-hover-color: var(--white);
    --bs-pagination-hover-bg: var(--primary-blue);
    --bs-pagination-hover-border-color: var(--primary-blue);
    --bs-pagination-active-color: var(--white);
    --bs-pagination-active-bg: var(--primary-blue);
    --bs-pagination-active-border-color: var(--primary-blue);
}

.page-link {
    border-radius: var(--border-radius);
    margin: 0 4px;
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-item {
        padding: 16px;
        min-width: 100px;
    }
    
    .search-filter-card {
        padding: 20px;
    }
    
    .search-filter-form .row > div {
        margin-bottom: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-image-horizontal {
        height: 150px;
    }
    
    .news-content-horizontal {
        padding: 20px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .breaking-news-ticker {
        animation-duration: 20s;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .news-details {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        padding: 14px;
    }
    
    .search-filter-card {
        padding: 16px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-content h4 {
        font-size: 1.1rem;
    }
    
    .news-image-horizontal {
        height: 120px;
    }
    
    .news-content-horizontal {
        padding: 16px;
    }
    
    .news-content-horizontal h5 {
        font-size: 1rem;
    }
    
    .news-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
}

@media (max-width: 360px) {
    .search-filter-form .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .news-content h4 {
        font-size: 1rem;
    }
    
    .news-content-horizontal h5 {
        font-size: 0.95rem;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .search-filter-card,
    .news-overlay,
    .floating-elements,
    .sidebar-card {
        display: none !important;
    }
    
    .news-card,
    .news-card-horizontal {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}