/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --header-top-bg: #16213e;
    --nav-bg: #1a1a2e;
    --footer-bg: #1a1a2e;
    --footer-bottom-bg: #0f0f23;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--header-top-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trending-label {
    background: var(--primary-color);
    padding: 5px 12px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.trending-news {
    flex: 1;
    margin-left: 15px;
    overflow: hidden;
    max-width: 70%;
}

.trending-news a {
    color: rgba(255,255,255,0.85);
    margin-right: 20px;
    white-space: nowrap;
    font-size: 13px;
    transition: color 0.3s ease;
}

.trending-news a:hover {
    color: var(--primary-color);
}

.date-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

/* Language Selector */
.lang-selector {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    z-index: 1002;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    justify-content: center;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.lang-btn i {
    font-size: 12px;
}

.lang-flag {
    width: 20px;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 160px;
    display: none;
    margin-top: 8px;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    gap: 8px;
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.lang-dropdown a.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-dropdown a.active .lang-flag {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

/* Utility Classes */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.me-1 {
    margin-right: 4px;
}

.me-2 {
    margin-right: 8px;
}

/* Header Main */
.header-main {
    padding: 25px 0;
    background: var(--white);
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.header-ads {
    width: 728px;
    height: 90px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ccc;
    color: #999;
    font-size: 14px;
    border-radius: 4px;
}

/* Navigation */
.nav {
    background: var(--nav-bg);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex: 1;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 16px 22px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 100;
    border-top: 3px solid var(--primary-color);
}

.dropdown a {
    color: var(--text-color);
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-transform: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    width: 200px;
    border-radius: 3px 0 0 3px;
    font-size: 13px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-box input:focus {
    outline: none;
    background: rgba(255,255,255,0.18);
}

.search-box button {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #e85a2b;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* Featured Section */
.featured-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
}

/* Hero Post */
.hero-post {
    position: relative;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: var(--white);
}

.hero-post-category {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-radius: 3px;
}

.hero-post-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-post-meta {
    font-size: 13px;
    opacity: 0.8;
}

.hero-post-meta span {
    margin-right: 15px;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.post-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-image {
    position: relative;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 3px;
}

.post-card-content {
    padding: 15px;
}

.post-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    font-size: 12px;
    color: var(--text-light);
}

.post-card-meta span {
    margin-right: 10px;
}

/* Post List */
.post-list {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.post-list-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-image {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    overflow: hidden;
    border-radius: 5px;
}

.post-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-list-item:hover .post-list-image img {
    transform: scale(1.05);
}

.post-list-content {
    flex: 1;
}

.post-list-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 8px;
}

.post-list-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-list-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-list-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary-color);
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post-rank {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    border-radius: 5px;
}

.popular-post-content {
    flex: 1;
}

.popular-post-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list .count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: var(--bg-light);
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Social Widget */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Newsletter Widget */
.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 3px;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* Article Page */
.article-header {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-radius: 3px;
}

.article-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.article-content {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content h2,
.article-content h3 {
    margin: 30px 0 15px;
}

.article-content img {
    margin: 20px 0;
    border-radius: 5px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

/* Related Posts */
.related-posts {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Comments */
.comments-section {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.comment {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Category Page */
.category-header {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    text-align: center;
}

.category-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.category-header p {
    color: var(--text-light);
}

/* About Page */
.about-content {
    background: var(--white);
    padding: 40px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.about-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.about-content li {
    margin-bottom: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--white);
    border-radius: 3px;
    font-size: 14px;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
    margin-top: 60px;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    font-size: 16px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-widget p i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.footer-quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-quick-links .btn-outline {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-quick-links .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 12px;
}

/* Error Page */
.error-section {
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.error-container {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.error-code {
    font-size: 140px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(212, 175, 55, 0.4);
    animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 3px 3px 6px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 5px 5px 10px rgba(212, 175, 55, 0.6);
    }
}

.error-title {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.error-message {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.error-actions .btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.error-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.error-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.error-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.error-suggestions {
    padding-top: 40px;
    border-top: 2px dashed var(--border-color);
}

.error-suggestions h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.suggestion-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.suggestion-links a {
    padding: 10px 24px;
    background: var(--bg-light);
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.suggestion-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Error Page Responsive */
@media (max-width: 768px) {
    .error-section {
        padding: 60px 20px;
        min-height: 60vh;
    }
    
    .error-container {
        padding: 30px 20px;
    }
    
    .error-code {
        font-size: 100px;
    }
    
    .error-title {
        font-size: 24px;
    }
    
    .error-message {
        font-size: 15px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .suggestion-links {
        flex-direction: column;
        align-items: center;
    }
    
    .suggestion-links a {
        width: 100%;
        max-width: 280px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .main-content-area {
        order: 1;
    }
    
    .header-ads {
        display: none;
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top-inner {
        flex-wrap: nowrap;
    }
    
    .trending-news {
        display: none;
    }
    
    .date-time #current-date,
    .date-time #current-time {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown {
        position: static;
        display: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
    }
    
    .search-box {
        display: none;
    }
    
    .hero-post img {
        height: 250px;
    }
    
    .hero-post-title {
        font-size: 20px;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .post-list-item {
        flex-direction: column;
    }
    
    .post-list-image {
        width: 100%;
        height: 200px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-post-content {
        padding: 15px;
    }
    
    .hero-post-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-content h1 {
        font-size: 24px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .lang-flag {
        width: 16px;
    }
}

/* ============================================
   ARTICLE DETAIL PAGE STYLES
   ============================================ */

/* Article Header Improvements */
.article-header {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    padding: 35px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    color: var(--white);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.article-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.article-category-badge a {
    color: var(--white);
}

.article-main-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-color);
    font-size: 15px;
}

/* Article Body */
.article-body {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.article-featured-image {
    margin: -40px -40px 30px -40px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-featured-image:hover img {
    transform: scale(1.02);
}

.article-summary {
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.article-summary p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-summary strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.article-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
}

.article-text p {
    margin-bottom: 25px;
}

.article-text h2,
.article-text h3,
.article-text h4 {
    margin: 35px 0 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.article-text h2 {
    font-size: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.article-text h3 {
    font-size: 24px;
}

.article-text h4 {
    font-size: 20px;
}

.article-text ul,
.article-text ol {
    margin: 25px 0;
    padding-left: 35px;
}

.article-text li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article-text img {
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-text blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    border-radius: 0 8px 8px 0;
}

.article-text blockquote p {
    margin: 0;
}

/* Article Tags */
.article-tags {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.article-tags h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-tags h4 i {
    color: var(--primary-color);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-list .tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag-list .tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Article Share */
.article-share {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.article-share h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share h4 i {
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--white);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.email {
    background: #6c757d;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: var(--white);
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    padding: 25px 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.nav-prev.disabled,
.nav-next.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nav-prev.disabled:hover,
.nav-next.disabled:hover {
    border-color: transparent;
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
}

.nav-next {
    text-align: right;
    align-items: flex-end;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

/* Responsive for Article Detail */
@media (max-width: 768px) {
    .article-header {
        padding: 25px;
    }
    
    .article-main-title {
        font-size: 26px;
    }
    
    .article-body {
        padding: 25px;
    }
    
    .article-featured-image {
        margin: -25px -25px 20px -25px;
    }
    
    .article-featured-image img {
        height: 250px;
    }
    
    .article-text {
        font-size: 16px;
    }
    
    .article-text h2 {
        font-size: 22px;
    }
    
    .article-text h3 {
        font-size: 20px;
    }
    
    .article-tags,
    .article-share {
        padding: 25px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .share-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
        align-items: flex-start;
    }
    
    .nav-next .nav-label {
        justify-content: flex-start;
    }
}
