/*--------------------------------------------------------------
# Single Article Page Styles
--------------------------------------------------------------*/

/* Base Page Styles */
.single-article {
    background: var(--color-primary-black);
    color: var(--color-neutral-white);
    min-height: 100vh;
}

.single-article .site-main {
    padding-top: 0;
}

/*--------------------------------------------------------------
# Article Header
--------------------------------------------------------------*/
.article-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--color-accent-yellow);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Article Categories */
.article-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    color: var(--color-accent-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-category:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    transform: translateY(-2px);
}

/* Article Title */
.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-neutral-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Article Meta */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-meta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-date {
    color: var(--color-accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.article-author {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.article-reading-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-style: italic;
}

.article-meta-right {
    display: flex;
    align-items: center;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-neutral-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    transform: translateY(-2px);
}

.share-twitter:hover {
    background: #1DA1F2;
    color: white;
}

.share-facebook:hover {
    background: #4267B2;
    color: white;
}

.share-linkedin:hover {
    background: #0077B5;
    color: white;
}

/*--------------------------------------------------------------
# Featured Image
--------------------------------------------------------------*/
.article-featured-image {
    background: var(--color-primary-black);
    padding: 2rem 0;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Article Body
--------------------------------------------------------------*/
.article-body {
    padding: 3rem 0;
    background: var(--color-primary-black);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/*--------------------------------------------------------------
# Main Content
--------------------------------------------------------------*/
.article-main {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Article Typography */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--color-accent-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h1 {
    font-size: 2.2rem;
}

.article-content h2 {
    font-size: 1.8rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.3rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.article-content blockquote {
    border-left: 4px solid var(--color-accent-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 215, 0, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.article-content a {
    color: var(--color-accent-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: var(--color-accent-yellow);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--color-accent-gold);
}

.article-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--color-neutral-white);
}

/*--------------------------------------------------------------
# Article Footer
--------------------------------------------------------------*/
.article-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

/* Article Tags */
.article-tags {
    margin-bottom: 2rem;
}

.tags-title {
    font-size: 1.1rem;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-list .tag-link {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    color: var(--color-accent-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tags-list .tag-link:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-accent-gold);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Social Share Bottom */
.social-share-bottom {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.share-label {
    display: block;
    color: var(--color-accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--color-neutral-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.share-btn.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn.share-facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.share-btn.share-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

/*--------------------------------------------------------------
# Article Sidebar
--------------------------------------------------------------*/
.article-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-widget {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Related Articles */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.related-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-article-link:hover {
    color: var(--color-accent-gold);
}

.related-article-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article-content {
    flex: 1;
}

.related-article-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--color-neutral-white);
}

.related-article-date {
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    font-weight: 500;
}

.no-related {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Newsletter Signup */
.newsletter-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--color-neutral-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
    padding: 0.75rem 1.5rem;
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: var(--color-accent-yellow);
    transform: translateY(-2px);
}

/* Popular Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud .tag-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    color: var(--color-accent-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tags-cloud .tag-link:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary-black);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 250px;
        gap: 2rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .article-footer {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
        order: 2;
    }
    
    .article-main {
        order: 1;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-meta-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 2rem 0 1.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-footer {
        padding: 1rem 1.5rem;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
} 