﻿.article-details-page {
    background: #f8f9fa;
    padding: 2rem 0 4rem;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.article-category-badge {
    background: #1a472a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-lead {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.article-author-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-text {
    flex: 1;
}

.author-name-large {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.author-bio {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.article-meta-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.95rem;
}

    .meta-item i {
        color: #1a472a;
    }

.article-admin-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .article-featured-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

    .article-body h2 {
        font-size: 2rem;
        font-weight: bold;
        color: #1a472a;
        margin-top: 2.5rem;
        margin-bottom: 1.25rem;
    }

    .article-body h3 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1a472a;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .article-body p {
        margin-bottom: 1.25rem;
    }

    .article-body img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1.5rem 0;
    }

    .article-body blockquote {
        border-right: 4px solid #1a472a;
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
        background: #f8f9fa;
        font-style: italic;
        color: #4a5568;
    }

    .article-body ul,
    .article-body ol {
        margin-bottom: 1.25rem;
        padding-right: 2rem;
    }

    .article-body li {
        margin-bottom: 0.5rem;
    }

.article-gallery {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a472a;
    margin-bottom: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }

.article-tags-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

    .article-tags-section h5 {
        font-weight: bold;
        color: #1a472a;
        margin-bottom: 1rem;
    }

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: #2d3748;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .tag-link:hover {
        background: #1a472a;
        color: white;
    }

.article-actions-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-label {
    font-weight: 600;
    color: #2d3748;
}

.rating-stars {
    display: flex;
    gap: 0.35rem;
}

.rating-star {
    font-size: 1.5rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .rating-star:hover,
    .rating-star.active {
        color: #fbbf24;
        transform: scale(1.2);
    }

.rating-info {
    color: #718096;
    font-size: 0.9rem;
}

.btn-favorite {
    background: white;
    border: 2px solid #e2e8f0;
    color: #718096;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .btn-favorite:hover {
        background: #fff5f5;
        border-color: #e74c3c;
        color: #e74c3c;
    }

    .btn-favorite.active {
        background: #e74c3c;
        border-color: #e74c3c;
        color: white;
    }

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-label {
    font-weight: 600;
    color: #2d3748;
}

.btn-facebook {
    background: #3b5998;
    color: white;
    border: none;
}

    .btn-facebook:hover {
        background: #2d4373;
        color: white;
    }

.btn-twitter {
    background: #1da1f2;
    color: white;
    border: none;
}

    .btn-twitter:hover {
        background: #0c85d0;
        color: white;
    }

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
}

    .btn-whatsapp:hover {
        background: #1da851;
        color: white;
    }

.comments-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1a472a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.comment-form-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

    .comment-form-container h5 {
        font-weight: bold;
        color: #2d3748;
        margin-bottom: 1rem;
    }

.comments-list {
    margin-top: 2rem;
}

.comment-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.author-details-small strong {
    color: #2d3748;
    font-size: 0.95rem;
}

.comment-date {
    color: #718096;
    font-size: 0.85rem;
    display: block;
}

.comment-body {
    color: #4a5568;
    line-height: 1.6;
}

.comment-actions {
    margin-top: 0.75rem;
}

.comment-replies {
    margin-top: 1rem;
    margin-right: 2.5rem;
    border-right: 3px solid #e2e8f0;
    padding-right: 1rem;
}

.reply-form-container {
    margin-top: 1rem;
    margin-right: 2.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    color: #718096;
}

    .no-comments i {
        font-size: 3rem;
        color: #cbd5e0;
        margin-bottom: 1rem;
    }

.related-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1a472a;
    margin-bottom: 1.5rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .related-article-card:hover {
        transform: translateY(-5px);
    }

.related-article-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-article-no-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.related-article-content {
    padding: 1rem;
}

.related-article-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

    .related-article-title a {
        color: #2d3748;
        text-decoration: none;
    }

        .related-article-title a:hover {
            color: #1a472a;
        }

.related-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #718096;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
    }

.lightbox-close {
    position: absolute;
    top: -50px;
    left: -50px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .lightbox-close:hover {
        background: #e74c3c;
        color: white;
        transform: rotate(90deg);
    }

@media (max-width: 768px) {
    .article-main-title {
        font-size: 2rem;
    }

    .article-body {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .article-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .article-rating,
    .share-buttons {
        justify-content: center;
    }

    .comment-replies {
        margin-right: 1rem;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 10px;
        left: 10px;
    }
}

