﻿/* Modern Breadcrumb */
.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease-out;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .breadcrumb-item:hover {
        color: white;
    }

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Article Hero Modern */
.article-hero-modern {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.article-hero-modern:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 3rem;
    color: white;
}

.article-category-modern {
    background: var(--gradient-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(240, 147, 251, 0.3);
}

.article-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.article-meta-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

    .meta-item.breaking {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
        animation: pulse 2s infinite;
    }

/* Social Share Modern */
.social-share-modern {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.share-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.share-icon {
    width: 50px;
    height: 50px;
    background: var(--default-button);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.share-header h4 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.social-buttons-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.social-btn-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

    .social-btn-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        color: white;
    }

    .social-btn-modern.facebook {
        background: linear-gradient(135deg, #3b5998 0%, #8b9dc3 100%);
    }

        .social-btn-modern.facebook:hover {
            box-shadow: 0 8px 25px rgba(59, 89, 152, 0.4);
        }

    .social-btn-modern.twitter {
        background: linear-gradient(135deg, #1da1f2 0%, #74c0fc 100%);
    }

        .social-btn-modern.twitter:hover {
            box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
        }

    .social-btn-modern.whatsapp {
        background: linear-gradient(135deg, #25d366 0%, #75e6a4 100%);
    }

        .social-btn-modern.whatsapp:hover {
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        }

    .social-btn-modern.linkedin {
        background: linear-gradient(135deg, #0077b5 0%, #40a3cc 100%);
    }

        .social-btn-modern.linkedin:hover {
            box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
        }

/* Article Content Modern */
.article-content-modern {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-success);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: var(--shadow-colored);
}

.content-header h3 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.article-excerpt-modern {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #4ade80;
    border-radius: 0 16px 16px 0;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.excerpt-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--gradient-success);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.excerpt-content {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-left: 2rem;
}

.article-body-modern {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
}

    .article-body-modern h1,
    .article-body-modern h2,
    .article-body-modern h3,
    .article-body-modern h4,
    .article-body-modern h5,
    .article-body-modern h6 {
        color: white;
        margin: 2rem 0 1rem 0;
        font-weight: 600;
    }

    .article-body-modern p {
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .article-body-modern ul,
    .article-body-modern ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

        .article-body-modern ul li,
        .article-body-modern ol li {
            margin-bottom: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
        }

    .article-body-modern img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 2rem 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .article-body-modern blockquote {
        border-left: 4px solid #667eea;
        padding-left: 2rem;
        margin: 2rem 0;
        font-style: italic;
        background: rgba(255, 255, 255, 0.1);
        padding: 1.5rem 1.5rem 1.5rem 3rem;
        border-radius: 0 16px 16px 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .article-body-modern a {
        color: #4ade80;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .article-body-modern a:hover {
            color: white;
            text-decoration: underline;
        }

/* Related News Modern */
.related-news-modern {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    width: 50px;
    height: 50px;
    background: var(--default-button);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
}

    .header-icon.breaking {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
        animation: pulse 2s infinite;
    }

.section-header h3,
.section-header h4 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-news-card-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .related-news-card-modern:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    }

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(240, 147, 251, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-news-card-modern:hover .image-overlay {
    opacity: 1;
}

.related-content {
    padding: 1.5rem;
}

    .related-content h5 {
        color: white;
        font-weight: 600;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

        .related-content h5 a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .related-content h5 a:hover {
                color: #4ade80;
            }

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.category-tag,
.date-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Back Button */
.back-to-news {
    text-align: center;
    margin: 2rem 0;
}

.btn-back-modern {
    background: var(--default-button);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--default-button-shadow)
}

    .btn-back-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
    }

/* Sidebar Sections */
.breaking-news-modern,
.reading-stats,
.newsletter-cta {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    color: white;
    animation: slideInRight 0.8s ease-out;
}

.breaking-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breaking-news-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .breaking-news-item-modern:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

.breaking-time {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    height: fit-content;
}

.breaking-content h6 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

    .breaking-content h6 a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breaking-content h6 a:hover {
            color: #4ade80;
        }

.breaking-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Reading Stats */
.stats-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .stat-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-success);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Newsletter CTA */
.newsletter-cta {
    text-align: center;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: var(--default-button);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.newsletter-cta h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0.5rem;
}

.form-control-modern {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(10px);
}

    .form-control-modern::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .form-control-modern:focus {
        border-color: var(--input-control-focus-color);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.1);
    }

.btn-newsletter {
    background: var(--default-button);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-newsletter:hover {
        transform: scale(1.05);
        box-shadow: var(--default-button-shadow-hover);
    }

/* Error State */
.error-state {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    color: white;
    animation: slideInUp 0.8s ease-out;
}

.error-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

.error-state h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-state p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-modern-primary,
.btn-modern-secondary {
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-modern-primary {
    background: var(--default-button);
    color: white;
    box-shadow: var(--default-button-shadow)
}

    .btn-modern-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--default-button-shadow-hover);
    }

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

    .btn-modern-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
        color: white;
    }

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .article-hero-modern {
        height: 400px;
    }

    .hero-content {
        padding: 2rem;
    }

    .article-title-modern {
        font-size: 2rem;
    }

    .article-meta-modern {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .social-buttons-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .breaking-news-modern,
    .reading-stats,
    .newsletter-cta {
        position: static;
    }
}

@media (max-width: 768px) {
    .modern-breadcrumb, .article-hero-modern, .social-share-modern, .article-content-modern, .related-news-modern, .breaking-news-modern, .reading-stats, .newsletter-cta {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem;
    }

    .article-hero-modern {
        height: 300px;
    }

    .article-title-modern {
        font-size: 1.8rem;
    }

    .breadcrumb-current {
        max-width: 150px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .social-buttons-modern {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .breadcrumb-items {
        font-size: 0.9rem;
    }

    .breadcrumb-current {
        max-width: 120px;
    }

    .article-title-modern {
        font-size: 1.5rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .form-control-modern {
        margin-bottom: 1rem;
    }
}
