/* Modern News Detail Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
    z-index: 1000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

/* Navigation Styles - Use global navbar styles */

/* Hero Article Section */
.hero-article {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-article .container {
    position: relative;
    z-index: 2;
}



/* Article Meta Modern */
.article-meta-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.category-badge {
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Title Modern */
.article-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



/* Article Content Modern */
.article-content-modern {
    padding: 4rem 0;
    background: #f8f9fa;
}

.article-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Featured Image Modern */
.featured-image-modern {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

.featured-image-modern:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.image-caption {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Article Body Modern */
.article-body-modern {
    padding: 3rem;
    position: relative;
}



/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff 0%, #007bff 60px, transparent 60px);
}

.title-number {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Avatar Placeholder for Quote */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Modern Quote */
.quote-section {
    margin: 3rem 0;
}

.modern-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    border: none;
    margin: 0;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 3rem;
    opacity: 0.3;
}

.modern-quote p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.quote-author strong {
    display: block;
    font-size: 1.1rem;
}

.quote-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.stats-header h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 0.2rem;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Timeline Styles */
.future-timeline,
.future-roadmap {
    margin: 2rem 0;
}

.timeline-item,
.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover,
.roadmap-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.timeline-year,
.roadmap-year {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
    height: fit-content;
}

.timeline-content,
.roadmap-content {
    flex: 1;
}

.timeline-content h5,
.roadmap-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p,
.roadmap-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* Article Tags Modern */
.article-tags-modern {
    margin-top: 3rem;
    padding: 2rem 2rem 0 2rem;
    border-top: 1px solid #dee2e6;
}

.tags-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-modern {
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    color: #495057;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.tag-modern:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Share Section Modern */
.share-section-modern {
    margin-top: 2rem;
    padding: 2rem 2rem 2rem 2rem;
    border-top: 1px solid #dee2e6;
}

/* Article Navigation Inline */
.article-navigation-inline {
    margin-top: 2rem;
    padding: 2rem 2rem 2rem 2rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 15px;
}

.article-navigation-inline .nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.article-navigation-inline .nav-item {
    display: flex;
}

.article-navigation-inline .nav-item.prev-article {
    justify-content: flex-start;
}

.article-navigation-inline .nav-item.next-article {
    justify-content: flex-end;
}

.article-navigation-inline .nav-item.back-to-list {
    justify-content: center;
}

/* Vertical Navigation Layout */
.article-navigation-vertical {
    margin: 3rem 0;
    padding: 2rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 15px;
}

.article-navigation-vertical .nav-item {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.article-navigation-vertical .nav-item:last-child {
    margin-bottom: 0;
}

.article-navigation-vertical .nav-item.prev-article,
.article-navigation-vertical .nav-item.next-article {
    justify-content: flex-start;
}

.article-navigation-vertical .nav-item.back-to-list {
    justify-content: center;
}

.article-navigation-inline .nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    max-width: 280px;
    border: 1px solid #f1f3f4;
}

.article-navigation-inline .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #007bff;
}

.article-navigation-inline .nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.article-navigation-inline .nav-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.article-navigation-inline .nav-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.article-navigation-inline .btn-back-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.2rem 1.8rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    font-size: 0.9rem;
}

.article-navigation-inline .btn-back-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

/* Vertical Navigation Styles */
.article-navigation-vertical .nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    border: 1px solid #f1f3f4;
}

.article-navigation-vertical .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #007bff;
}

.article-navigation-vertical .nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.article-navigation-vertical .nav-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.article-navigation-vertical .nav-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.article-navigation-vertical .btn-back-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    font-size: 0.9rem;
    width: auto;
    max-width: 200px;
}

.article-navigation-vertical .btn-back-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.share-buttons-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.share-btn.wechat {
    background: #07c160;
    color: white;
}

.share-btn.weibo {
    background: #e6162d;
    color: white;
}

.share-btn.qq {
    background: #12b7f5;
    color: white;
}

.share-btn.link,
.share-btn.print {
    background: #6c757d;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar Modern */
.sidebar-modern {
    padding-left: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header-modern {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1.5rem;
}

.widget-title-modern {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.card-body-modern {
    padding: 1.5rem;
}

/* Related Articles Modern */
.related-articles-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-article-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.related-article-card:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.article-thumb-modern {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumb-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-article-card:hover .thumb-overlay {
    opacity: 1;
}

.related-article-card:hover .article-thumb-modern img {
    transform: scale(1.1);
}

.article-info-modern {
    flex: 1;
}

.article-category {
    background: #007bff;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.article-info-modern h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-info-modern h6 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-info-modern h6 a:hover {
    color: #007bff;
}

.article-meta-mini {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Latest News Modern */
.latest-news-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    position: relative;
}

.news-item-modern:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.news-indicator {
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-content h6 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h6 a:hover {
    color: #007bff;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.news-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-badge.hot {
    background: #ff6b6b;
    color: white;
}

.news-badge.new {
    background: #51cf66;
    color: white;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-card .card-header-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-card .card-body-modern {
    background: transparent;
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.contact-value {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-action .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-action .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Article Navigation Modern */
.article-navigation-modern {
    background: #f8f9fa;
    padding: 3rem 0;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
}

.nav-item.prev-article {
    justify-content: flex-start;
}

.nav-item.next-article {
    justify-content: flex-end;
}

.nav-item.back-to-list {
    justify-content: center;
}

.article-navigation-modern .nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 300px;
    border: 1px solid #f1f3f4;
}

.article-navigation-modern .nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: #007bff;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.nav-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.nav-content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.btn-back-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-back-list:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
    color: white;
}

/* Footer Modern */
.footer-modern {
    background: #2c3e50;
    color: white;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #007bff;
    transform: translateY(-2px);
    color: white;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-bottom {
    background: #34495e;
    padding: 1.5rem 0;
    border-top: 1px solid #4a5f7a;
}

.copyright {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #007bff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    font-size: 1.2rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .sidebar-modern {
        padding-left: 1rem;
    }
}

@media (max-width: 992px) {
    .sidebar-modern {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .article-title-modern {
        font-size: 2.5rem;
    }
    
    .article-body-modern {
        padding: 2rem;
    }
    
    .nav-wrapper,
    .article-navigation-inline .nav-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-item,
    .article-navigation-inline .nav-item {
        justify-content: center;
    }
    
    .article-navigation-inline .nav-link {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-article {
        padding: 3rem 0 4rem;
    }
    
    .article-title-modern {
        font-size: 2rem;
    }
    
    .article-meta-modern {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .article-body-modern {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .title-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons-modern {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .article-navigation-inline {
        padding: 1.5rem;
    }
    
    .article-navigation-inline .nav-wrapper {
        gap: 1rem;
    }
    
    .article-navigation-inline .nav-link {
        padding: 1rem;
        max-width: 100%;
    }
    
    .article-navigation-inline .btn-back-list {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-article {
        padding: 2rem 0 3rem;
    }
    
    .article-title-modern {
        font-size: 1.75rem;
    }
    

    
    .article-body-modern {
        padding: 1rem;
    }
    
    .modern-quote {
        padding: 2rem;
    }
    
    .stats-section {
        padding: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-article-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-thumb-modern {
        width: 100%;
        height: 150px;
    }
    
    .timeline-item,
    .roadmap-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-year,
    .roadmap-year {
        width: fit-content;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-article,
    .sidebar-modern,
    .article-navigation-modern,
    .article-navigation-inline,
    .share-section-modern,
    .footer-modern,
    .back-to-top,
    .scroll-progress {
        display: none !important;
    }
    
    .article-content-modern {
        padding: 0;
    }
    
    .article-wrapper {
        box-shadow: none;
        border-radius: 0;
    }
    
    .article-body-modern {
        padding: 0;
    }
    
    .section-title {
        color: #000;
    }
    
    .content-section p {
        color: #000;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}