/* Article Specific Styles */

/* Article Header */
.article-header {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 80px 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.author-info .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info .author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Author Info */
.author-info {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    max-width: 500px;
}

.author-section-title {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 50px 0 20px 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 15px 0;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Theme Badge */
.theme-badge {
    background: linear-gradient(135deg, var(--primary-sage), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Rest Type Sections */
.rest-type {
    background: #f8fafc;
    border-left: 4px solid var(--primary-sage);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rest-type h3 {
    color: var(--primary-dark);
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

.rest-type p {
    margin-bottom: 15px;
}

.rest-type strong {
    color: var(--primary-dark);
}

/* Article Callout */
.article-callout {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-callout h3 {
    color: var(--primary-dark);
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

.article-callout ul {
    margin: 0;
}

.article-callout li {
    margin-bottom: 8px;
}

.article-callout p em {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-style: italic;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

.related-articles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.related-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-hero {
        min-height: 400px;
        padding: 60px 0;
    }
    
    .article-hero h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-stats {
        gap: 15px;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body .lead {
        font-size: 1.1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
        margin: 25px 0 10px 0;
    }
    
    .rest-type {
        padding: 20px;
        margin: 20px 0;
    }
    
    .article-callout {
        padding: 20px;
        margin: 30px 0;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-articles {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .article-hero {
        min-height: 350px;
        padding: 40px 0;
    }
    
    .article-hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .article-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .content-wrapper {
        padding: 0 10px;
    }
    
    .article-body .lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .article-body h2 {
        font-size: 1.3rem;
    }
    
    .rest-type {
        padding: 15px;
    }
    
    .article-callout {
        padding: 15px;
    }
}