/* ==========================================================================
   EVANGENEWS - JORNALZINHO DA EVANGELIZACAO
   ========================================================================== */

/* Hero Section */
.evangenews-hero {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.evangenews-hero .container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.hero-icon i {
    font-size: 3rem;
    color: #f39c12;
}

.evangenews-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
}

.evangenews-hero .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
    color: #f39c12;
}

.evangenews-hero .description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image .placeholder-image i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.news-card-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: #8e44ad;
    margin-bottom: 0.75rem;
}

.news-date i {
    margin-right: 0.3rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.news-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8e44ad;
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .read-more i {
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    font-size: 2rem;
    color: #666;
    margin: 0 0 0.5rem;
}

.empty-state p {
    color: #999;
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #8e44ad;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #6c3483;
    transform: translateY(-2px);
}

/* Back Section */
.back-section {
    padding: 2rem;
    text-align: center;
    background: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8e44ad;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #6c3483;
}

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #8e44ad;
    text-decoration: none;
}

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

.breadcrumb span {
    color: #999;
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: #666;
}

/* Article */
.news-article {
    padding: 3rem 2rem;
}

.news-article .container {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.article-meta span {
    font-size: 0.9rem;
    color: #8e44ad;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.article-header .subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Featured Video */
.featured-video {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Article Gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-gallery .gallery-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-gallery .gallery-item:hover {
    transform: scale(1.02);
}

.article-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    text-align: center;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

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

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-section span {
    font-weight: 500;
    color: #666;
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* Related Section */
.related-section {
    background: #f8f9fa;
    padding: 3rem 2rem;
}

.related-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.related-section h2 {
    text-align: center;
    font-size: 1.5rem;
    color: #8e44ad;
    margin: 0 0 2rem;
}

.related-section h2 i {
    margin-right: 0.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.related-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-card .placeholder-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-card .placeholder-image i {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
}

.related-info {
    padding: 1rem;
}

.related-info .date {
    font-size: 0.8rem;
    color: #8e44ad;
}

.related-info h3 {
    font-size: 1rem;
    color: #333;
    margin: 0.25rem 0 0;
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: white;
    font-size: 1rem;
    opacity: 0.9;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: -4rem;
}

.lightbox-next {
    right: -4rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .evangenews-hero {
        padding: 3rem 1.5rem;
    }

    .evangenews-hero h1 {
        font-size: 2rem;
    }

    .evangenews-hero .tagline {
        font-size: 1.2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-gallery {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .related-card {
        flex-direction: column;
    }

    .related-card img,
    .related-card .placeholder-image {
        width: 100%;
        height: 150px;
    }
}
