/* Main Content */
.main-content {
    padding-top: 50px;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-nav a {
    color: #7CB342;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    color: #ccc;
}

/* Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Article Main */
.article-main {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 400px;
    background: linear-gradient(135deg, #7CB342, #689F3A);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image .default-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.7;
}

.article-content {
    padding: 2rem;
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-date {
    background: #7CB342;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.meta-category {
    background: #e8f5e8;
    color: #7CB342;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #7CB342;
    border-radius: 0 10px 10px 0;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h3 {
    color: #1a365d;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #7CB342;
    padding-bottom: 0.5rem;
}

.article-body h4 {
    color: #1a365d;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.article-body ul, 
.article-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.article-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #7CB342;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    border-radius: 0 5px 5px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-body th,
.article-body td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.article-body th {
    background: #7CB342;
    color: white;
    font-weight: 600;
}

.article-body tr:hover {
    background: #f8f9fa;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-widget h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #7CB342;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem;
}

.related-image {
    width: 80px;
    height: 60px;
    background: #7CB342;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.related-article:hover .related-image {
    background: #689F3A;
}

.related-image i {
    color: white;
    font-size: 1.2rem;
}

.related-content h4 {
    font-size: 0.9rem;
    color: #1a365d;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.related-content a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content a:hover {
    color: #7CB342;
}

.related-date {
    font-size: 0.8rem;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.share-facebook:hover {
    background: #166fe5;
}

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

.share-twitter:hover {
    background: #1a91da;
}

.share-linkedin { 
    background: #0077b5; 
    color: white; 
}

.share-linkedin:hover {
    background: #006ba1;
}

.share-whatsapp { 
    background: #25d366; 
    color: white; 
}

.share-whatsapp:hover {
    background: #22c55e;
}

/* Back Navigation */
.back-navigation {
    margin-bottom: 2rem;
}

.back-btn {
    background: #7CB342;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(124, 179, 66, 0.3);
}

.back-btn:hover {
    background: #689F3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
}

.back-btn i {
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-main,
.sidebar-widget {
    animation: fadeInUp 0.6s ease forwards;
}

.sidebar-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-widget:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 250px;
        gap: 2rem;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-image {
        height: 250px;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .breadcrumb-nav {
        font-size: 0.8rem;
    }
    
    .breadcrumb-nav span {
        display: none;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.7rem;
    }

    .article-content {
        padding: 1rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .share-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .back-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .sidebar,
    .back-navigation,
    .breadcrumb {
        display: none;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}