/* Modern Article Page Styles */

.modern-article-section {
    padding: 2rem 0 5rem;
}

.modern-article {
    background: var(--modern-accent);
    border: 1px solid var(--modern-secondary);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.modern-article-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
}

.modern-article-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.modern-category-badge {
    background: var(--brand-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-article-title {
    color: var(--modern-text);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--modern-text), var(--brand-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--modern-secondary);
    border-bottom: 1px solid var(--modern-secondary);
}

.modern-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modern-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.modern-author-name {
    color: var(--brand-color);
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.modern-article-date {
    color: var(--modern-text);
    opacity: 0.7;
    font-size: 0.9rem;
    display: block;
}

.modern-article-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modern-read-time {
    color: var(--modern-text);
    opacity: 0.7;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.modern-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-article:hover .modern-article-image img {
    transform: scale(1.05);
}

.modern-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), transparent, rgba(0,0,0,0.1));
}

.modern-article-content {
    padding: 3rem;
    color: var(--modern-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modern-article-content h1,
.modern-article-content h2,
.modern-article-content h3,
.modern-article-content h4,
.modern-article-content h5,
.modern-article-content h6 {
    color: var(--brand-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modern-article-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--brand-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.modern-article-content h3 {
    font-size: 1.5rem;
}

.modern-article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.modern-article-content blockquote {
    background: var(--modern-bg);
    border-left: 4px solid var(--brand-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.modern-article-content blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--brand-color);
    position: absolute;
    top: -10px;
    left: 15px;
    line-height: 1;
}

.modern-article-content ul,
.modern-article-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.modern-article-content li {
    margin-bottom: 0.5rem;
}

.modern-article-content a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.modern-article-content a:hover {
    border-bottom-color: var(--brand-color);
}

.modern-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.modern-article-footer {
    padding: 2rem 3rem 3rem;
    border-top: 1px solid var(--modern-secondary);
}

.modern-social-share h6 {
    color: var(--modern-text);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.modern-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modern-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modern-share-btn.facebook {
    background: #3b5998;
}

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

.modern-share-btn.linkedin {
    background: #0077b5;
}

.modern-share-btn.whatsapp {
    background: #25d366;
}

.modern-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.modern-related-section {
    margin-top: 3rem;
}

.modern-section-title {
    color: var(--brand-color);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.modern-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-color);
    border-radius: 2px;
}

.modern-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.modern-related-card {
    background: var(--modern-accent);
    border: 1px solid var(--modern-secondary);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.modern-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-color);
    text-decoration: none;
}

.modern-related-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modern-related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), transparent);
}

.modern-related-content {
    padding: 1.5rem;
}

.modern-related-title {
    color: var(--modern-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.modern-related-card:hover .modern-related-title {
    color: var(--brand-color);
}

.modern-related-date {
    color: var(--modern-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

.modern-back-btn {
    background: transparent;
    border: 2px solid var(--brand-color);
    color: var(--brand-color);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.modern-back-btn:hover {
    background: var(--brand-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-article-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .modern-article-title {
        font-size: 2rem;
    }
    
    .modern-article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modern-article-content {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    
    .modern-article-footer {
        padding: 1.5rem;
    }
    
    .modern-related-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-share-buttons {
        gap: 0.5rem;
    }
    
    .modern-share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}