/*
Theme Name: MB15 Theme
Author: Your Name
Description: A WordPress theme for Bybit Mining Academy
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: MB15 Theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #181a20;
    --bg-secondary: #1e2329;
    --bg-card: #2b3139;
    --bg-card-hover: #363c45;
    --text-primary: #eaecef;
    --text-secondary: #b7bdc6;
    --text-muted: #848e9c;
    --accent-yellow: #f0b90b;
    --accent-yellow-hover: #f8d12f;
    --accent-green: #0ecb81;
    --accent-blue: #1e88e5;
    --border-color: #2b3139;
    --container-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

/* Header */
.header {
    background-color: var(--bg-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.mobile-nav ul,
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav li {
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .current-menu-item a,
.mobile-nav .current_page_item a {
    color: var(--accent-yellow);
}

.mobile-nav .btn-signup {
    text-align: center;
    margin-top: 10px;
    border-radius: 4px;
}

.top-nav {
    display: flex;
    gap: 25px;
}

.top-nav ul,
.top-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-nav li {
    margin: 0;
    padding: 0;
}

.top-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.top-nav a:hover {
    color: var(--accent-yellow);
}

.top-nav .current-menu-item a,
.top-nav .current_page_item a {
    color: var(--accent-yellow);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 16px;
}

.btn-signup {
    background-color: var(--accent-yellow);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-signup:hover {
    background-color: var(--accent-yellow-hover);
    color: #000;
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.hero-featured {
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-featured img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Quick Links */
.quick-links {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-links .container {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-3px);
}

.quick-link-item .icon {
    font-size: 28px;
}

.quick-link-item span {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Suggested Section */
.suggested {
    padding: 40px 0;
}

.suggested h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Earn Section */
.earn-section {
    padding: 40px 0;
}

.earn-content {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.earn-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    flex-shrink: 0;
}
.earn-icon img{
    width: 80%;
}

.earn-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.earn-text p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    color: #000;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.see-all {
    color: var(--accent-yellow);
    font-size: 14px;
    font-weight: 500;
}

.see-all:hover {
    color: var(--accent-yellow-hover);
}

/* Latest News Section */
.latest-news {
    padding: 40px 0;
}

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

.news-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.news-tag {
    background-color: rgba(240, 185, 11, 0.15);
    color: var(--accent-yellow);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    display: inline-block;
    color: var(--accent-yellow);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--accent-yellow-hover);
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.tag.beginner {
    background-color: rgba(14, 203, 129, 0.15);
    color: var(--accent-green);
}

.tag:not(.beginner) {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.content-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-meta {
    color: var(--text-muted);
    font-size: 13px;
}

/* Why Choose Mining Section */
.why-mining {
    padding: 60px 0;
}

.why-mining h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

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

.why-mining-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-mining-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-mining-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.why-mining-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Rewards Showcase Section */
.rewards-showcase {
    padding: 60px 0;
}

.rewards-showcase h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.rewards-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 180px;
}

.reward-image {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-card);
    margin: 0 auto;
}

.reward-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.reward-image:hover img {
    transform: scale(1.02);
}

/* VIP Rebate Section */
.vip-rebate {
    padding: 60px 0;
}

.vip-rebate h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.rebate-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.rebate-table {
    width: 100%;
    border-collapse: collapse;
}

.rebate-table thead {
    background-color: var(--accent-yellow);
}

.rebate-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.rebate-table td {
    padding: 16px 20px;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.rebate-table tbody tr:last-child td {
    border-bottom: none;
}

.rebate-table tbody tr:hover {
    background-color: var(--bg-card-hover);
}

/* FAQ Section */
.faq {
    padding: 60px 0;
}

.faq h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-card-hover);
}

.faq-icon {
    font-size: 20px;
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Glossary Section */
.glossary {
    padding: 50px 0;
}

.glossary h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.glossary-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.glossary-stats {
    flex: 1;
    max-width: 300px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.glossary-stats p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: transparent;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
}

.glossary-terms {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.term-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 25px;
}

.term-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.term-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.term-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-yellow);
    color: #000;
}

/* Partner CTA */
.partner-cta {
    padding: 60px 0;
    text-align: center;
}

.partner-cta h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.partner-cta p {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.partner-cta .btn-primary {
    margin-bottom: 40px;
}

.partner-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.illustration-people {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.person {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.person-1 {
    background-color: #e74c3c;
}

.person-2 {
    background-color: var(--accent-yellow);
}

.person-3 {
    background-color: #3498db;
}

.illustration-line {
    width: 200px;
    height: 3px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-column p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-yellow);
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-mining-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-featured {
        max-width: 100%;
    }
    
    .quick-links .container {
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .why-mining-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-images {
        grid-template-columns: 1fr;
    }
    
    .glossary-content {
        flex-direction: column;
    }
    
    .glossary-stats {
        max-width: 100%;
    }
    
    .glossary-terms {
        grid-template-columns: 1fr;
    }
    
    .earn-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Breadcrumb Styles */
.breadcrumb-section {
    background: var(--bg-dark);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--accent-yellow);
}

/* List Page Styles */
.list-page {
    padding: 60px 0;
    background: var(--bg-dark);
}

.page-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.list-item {
    display: flex;
    gap: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.15);
}

.list-thumbnail {
    flex-shrink: 0;
    width: 300px;
    overflow: hidden;
}

.list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.list-item:hover .list-thumbnail img {
    transform: scale(1.05);
}

.list-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.list-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.list-content h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.list-content h2 a:hover {
    color: var(--accent-yellow);
}

.list-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.list-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s;
    align-self: flex-start;
}

.list-link:hover {
    opacity: 0.8;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.pagination .page-numbers:hover:not(.dots) {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border-color: var(--accent-yellow);
}

.pagination .page-numbers.current {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border-color: var(--accent-yellow);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: var(--text-muted);
}

.pagination .prev,
.pagination .next {
    padding: 0 16px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.page-link:hover:not(.disabled):not(.active) {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border-color: var(--accent-yellow);
}

.page-link.active {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border-color: var(--accent-yellow);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 5px;
}

/* Content Page Styles */
.content-page {
    padding: 60px 0;
    background: var(--bg-dark);
}

.content-page .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.article-main {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

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

.article-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
}

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

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    color: var(--text-primary);
    line-height: 1.8;
}

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

.article-body h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: var(--accent-yellow);
}

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

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

.article-tags-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(240, 185, 11, 0.1);
    color: var(--accent-yellow);
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(240, 185, 11, 0.3);
}

.article-tag:hover {
    background: var(--accent-yellow);
    color: var(--bg-dark);
}

.article-navigation {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 185, 11, 0.1);
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-prev:hover .nav-title,
.nav-next:hover .nav-title {
    color: var(--accent-yellow);
}

/* Content Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-yellow);
}

.related-articles,
.latest-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article a,
.latest-article a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.related-article a:hover,
.latest-article a:hover {
    opacity: 0.8;
}

.related-article img,
.latest-article img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h4,
.latest-content h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-content span,
.latest-content span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive for List and Content Pages */
@media (max-width: 1024px) {
    .content-page .container {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        flex-direction: row;
        gap: 20px;
    }
    
    .sidebar-widget {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .list-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .article-main {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .content-sidebar {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}
