/* Blog Article View Page Specific Styles */

/* Article Content Section */
.article-content-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.article-main-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid #28a745;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #28a745;
    text-decoration: underline;
}

.article-content a:hover {
    color: #1e7e34;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.sidebar-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #28a745;
}

.blog-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-info-icon {
    font-size: 1.25rem;
    color: #28a745;
    margin-top: 0.25rem;
}

.blog-info-content {
    flex: 1;
}

.blog-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-info-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Latest Articles in Sidebar */
.latest-article-item {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}

.latest-article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-article-item:hover {
    transform: translateX(4px);
}

.latest-article-thumbnail {
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.latest-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.latest-article-item:hover .latest-article-title {
    color: #28a745;
}

.latest-article-date {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile: Sidebar becomes footer */
@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .sidebar-section {
        padding: 1.5rem;
    }
    
    .latest-articles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .latest-article-item {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .article-main-content {
        padding: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .sidebar-section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .article-main-content {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .sidebar-section {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .latest-articles-grid {
        grid-template-columns: 1fr;
    }
}
