/* Article Detail Page Styles */

.article-detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    margin-top: 100px;
}

/* Article Detail Container */
.article-detail {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-green, #70866E);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #5a6c59;
    text-decoration: underline;
}

.breadcrumb span {
    color: #bdc3c7;
}

/* Article Header */
.article-detail-header {
    margin-bottom: 30px;
}

.article-detail-title {
    font-size: 2.5rem;
    color: var(--primary-green, #70866e);
    margin: 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-detail-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-green, #70866E) 0%, #8B9D88 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-detail-read-time,
.article-detail-date {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.article-detail-read-time i,
.article-detail-date i {
    margin-right: 5px;
    color: #95a5a6;
}

/* Featured Image */
.article-detail-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 3px solid var(--primary-gold, #f3ead0);
}

.article-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 50px;
}

.article-detail-content h2 {
    font-size: 1.8rem;
    color: var(--primary-green, #70866e);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-detail-content h3 {
    font-size: 1.5rem;
    color: var(--primary-green, #70866e);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-detail-content ul,
.article-detail-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-detail-content li {
    margin-bottom: 10px;
}

.article-detail-content blockquote {
    border-left: 4px solid var(--primary-green, #70866E);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #5a6c7d;
    background: var(--primary-gold, #f3ead0);
    padding: 20px 20px 20px 24px;
    border-radius: 8px;
}

.content-placeholder {
    background: var(--primary-gold, #f3ead0);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green, #70866E);
    font-style: italic;
    color: #7f8c8d;
}

/* Share Section */
.article-share {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(112, 134, 110, 0.1);
}

.article-share h3 {
    font-size: 1.3rem;
    color: var(--primary-green, #70866e);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

/* Related Articles */
.related-articles {
    margin-bottom: 50px;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.related-articles h2 {
    font-size: 2rem;
    color: var(--primary-green, #70866e);
    margin-bottom: 30px;
    font-weight: 700;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-article-card {
    background: var(--soft-white, #FFFFFF);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(112, 134, 110, 0.1);
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green, #70866E);
}

.related-article-card a {
    text-decoration: none;
    color: inherit;
}

.related-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover img {
    transform: scale(1.05);
}

.related-article-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary-green, #70866E) 0%, #8B9D88 100%);
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.related-article-content h3 {
    font-size: 1.2rem;
    color: var(--dark-text, #2c3e50);
    margin: 10px 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-article-card:hover .related-article-content h3 {
    color: var(--primary-green, #70866E);
}

.related-excerpt {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-read-time {
    color: #95a5a6;
    font-size: 0.85rem;
}

/* Back to Articles */
.back-to-articles {
    text-align: center;
}

.back-to-articles .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: white;
    color: var(--primary-green, #70866E);
    border: 2px solid var(--primary-green, #70866E);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.back-to-articles .btn:hover {
    background: var(--primary-green, #70866E);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-detail-title {
        font-size: 2rem;
    }

    .article-detail-content {
        font-size: 1rem;
    }

    .article-detail-content h2 {
        font-size: 1.5rem;
    }

    .article-detail-content h3 {
        font-size: 1.3rem;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}
