/* ===== ARTICLE PAGE STYLES ===== */
/* Based on Paradox Gaming Network design system */

/* Article-specific layout */
.article-main {
    padding-top: var(--spacing-lg);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Article Header */
.article-header {
    margin-bottom: var(--spacing-2xl);
}

.article-breadcrumb {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
}

.article-breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--light-gold);
    text-decoration: underline;
}

.article-title {
    font-size: var(--font-size-4xl);
    color: var(--primary-gold);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--dark-gray);
}

.article-author,
.article-date {
    color: var(--light-gray);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.article-author {
    color: var(--primary-gold);
}

.article-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-featured-image,
.article-featured-video {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.article-featured-video .video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.article-featured-video .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    font-size: var(--font-size-base);
    color: var(--white);
}

.content-text {
    margin-bottom: var(--spacing-xl);
    color: var(--lighter-gray);
}

.content-text p {
    margin-bottom: var(--spacing-lg);
}

.content-heading {
    color: var(--primary-gold);
    margin: var(--spacing-2xl) 0 var(--spacing-lg) 0;
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.content-heading:first-child {
    margin-top: 0;
}

h2.content-heading {
    font-size: var(--font-size-3xl);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: var(--spacing-sm);
}

h3.content-heading {
    font-size: var(--font-size-2xl);
}

h4.content-heading {
    font-size: var(--font-size-xl);
}

.content-image {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.image-caption {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    font-style: italic;
    text-align: center;
}

/* Article Footer */
.article-footer {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--dark-gray);
}

.article-share {
    margin-bottom: var(--spacing-xl);
}

.article-share h4 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.share-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #0d8bd9;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.facebook:hover {
    background: #365899;
    color: white;
}

.share-btn.reddit {
    background: #ff4500;
    color: white;
}

.share-btn.reddit:hover {
    background: #e03d00;
    color: white;
}

.back-to-home {
    text-align: center;
}

/* Logo link styling */
.logo h1 a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo h1 a:hover {
    color: var(--light-gold);
}

/* Site header override for article pages */
.site-header {
    background-color: var(--primary-black);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    color: var(--primary-gold);
    margin: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.main-nav .nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.main-nav .nav-link:hover {
    color: var(--primary-gold);
    background-color: var(--secondary-black);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: var(--font-size-3xl);
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .article-tags {
        margin-top: var(--spacing-xs);
    }
    
    .article-content {
        font-size: var(--font-size-sm);
    }
    
    h2.content-heading {
        font-size: var(--font-size-2xl);
    }
    
    h3.content-heading {
        font-size: var(--font-size-xl);
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .main-nav {
        gap: var(--spacing-md);
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 0 var(--spacing-md);
    }
    
    .article-title {
        font-size: var(--font-size-2xl);
    }
    
    .content-text {
        margin-bottom: var(--spacing-lg);
    }
    
    .content-heading {
        margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    }
    
    .logo {
        gap: var(--spacing-sm);
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: var(--font-size-xl);
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .article-share,
    .back-to-home {
        display: none;
    }
    
    .article-main {
        padding-top: 0;
    }
    
    .article-title,
    .content-heading {
        color: #000;
    }
    
    body {
        background: white;
        color: #000;
    }
    
    .article-content {
        color: #000;
    }
    
    .content-text {
        color: #333;
    }
}