/* ================================
   ARTICLE PAGE STYLES
   ================================ */

/* Article Main Layout */
.article-main {
    padding: 40px 0;
}

.article-main .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.breadcrumb span {
    margin: 0 8px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-header .category-tag {
    margin-bottom: 15px;
}

.article-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.article-meta-full {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta-full span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta-full svg {
    color: var(--accent-gold);
}

/* Featured Image */
.featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.featured-image figcaption {
    background: var(--bg-card);
    padding: 12px 15px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Article Body */
.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
}

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

.article-body p.lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-light);
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin-bottom: 30px;
}

.article-body h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 30px 0 15px;
}

/* Article List */
.article-list {
    margin: 20px 0 30px;
    padding-left: 0;
}

.article-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-list li::before {
    content: '🎖️';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
}

/* Content Images */
.content-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    height: auto;
}

.content-image figcaption {
    background: var(--bg-card);
    padding: 12px 15px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Blockquote */
.quote {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 10px 10px 0;
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
}

.quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 30px;
}

.quote cite {
    display: block;
    font-size: 14px;
    color: var(--accent-gold);
    font-style: normal;
    padding-left: 30px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border: 1px solid var(--accent-gold);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.info-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.info-box ul {
    list-style: none;
}

.info-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li strong {
    color: var(--text-light);
}

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

.tags-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.share-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

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

.share-btn.copy:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.related-articles h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

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

.related-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.related-card a {
    display: block;
}

.related-image {
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 15px;
}

.related-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.related-card:hover .related-content h4 {
    color: var(--accent-gold);
}

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

/* ================================
   SIDEBAR
   ================================ */
.article-sidebar {
    position: sticky;
    top: 100px;
}

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

.sidebar-widget h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

/* Popular List */
.popular-list li {
    margin-bottom: 15px;
}

.popular-list li:last-child {
    margin-bottom: 0;
}

.popular-list li a {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.popular-list .number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    border-radius: 5px;
}

.popular-list .title {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.popular-list li a:hover .title {
    color: var(--accent-gold);
}

/* Categories List */
.categories-list li {
    margin-bottom: 10px;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-hover);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.categories-list li a:hover {
    background: var(--primary);
    color: var(--accent-gold);
}

.categories-list li a span {
    background: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Newsletter Widget */
.sidebar-widget.newsletter p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 12px;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    width: 100%;
    padding: 12px 15px;
    background: var(--accent-gold);
    border: none;
    border-radius: 6px;
    color: var(--primary-dark);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-copper);
    transform: translateY(-2px);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
    .article-main .container {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .article-main .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta-full {
        gap: 15px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .article-body p.lead {
        font-size: 17px;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-meta-full {
        flex-direction: column;
        gap: 10px;
    }
    
    .quote {
        padding: 20px;
    }
    
    .quote p {
        font-size: 16px;
        padding-left: 20px;
    }
    
    .article-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-share {
        flex-wrap: wrap;
    }
}
