/*
    Developed by: Igor Kalen  
    Contact: igor@igorkalen.dev  
    Creation Date: July 31, 2025  
    Last Updated: August 1, 2025
    Version: 2.0.0
    Status: IN PRODUCTION
    File: news-article.css

    ----
    © 2025 Laius Entertainment. All rights reserved.

    This code is the exclusive property of Laius Entertainment.  
    Unauthorized use, copying, distribution, or modification  
    is strictly prohibited.

    For internal use only on systems, services, and domains  
    officially managed by Laius Entertainment.
*/

:root {
    --primary: #27742d;
    --primary-light: #2f8235;
    --primary-dark: #1e5d22;
    --text-primary: #3a3a3f;
    --text-secondary: #666666;
    --text-muted: #999999;
    --background: #ffffff;
    --background-subtle: #fafafa;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-md: rgba(0, 0, 0, 0.08);
}


        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--background);
            border-top: 1px solid var(--border);
            padding: 1.5rem;
            z-index: 10002;
            box-shadow: 0 -4px 20px var(--shadow-md);
            transform: translateY(100%);
            opacity: 0;
            transition: all 0.4s ease;
        }

        .cookie-banner.show {
            transform: translateY(0);
            opacity: 1;
        }

        .cookie-banner.hide {
            transform: translateY(100%);
            opacity: 0;
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

        .cookie-text {
            flex: 1;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .cookie-text strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .cookie-text a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

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

        .cookie-actions {
            display: flex;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .cookie-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .cookie-btn-primary {
            background: var(--primary);
            color: white;
        }

        .cookie-btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .cookie-btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .cookie-btn-secondary:hover {
            background: var(--background-subtle);
            border-color: var(--primary);
        }

        .preferences-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: 8px;
            width: 50px;
            height: 50px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px var(--shadow-md);
            transition: all 0.2s ease;
            z-index: 9999999999;
            color: var(--text-secondary);
        }

        .preferences-button:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .preferences-button svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .preferences-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10003;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .preferences-modal.show {
            opacity: 1;
        }

        .preferences-content {
            background: var(--background);
            border-radius: 8px;
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .preferences-modal.show .preferences-content {
            transform: scale(1);
        }

        .preferences-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .preferences-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .preferences-close {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 4px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .preferences-close:hover {
            background: var(--background-subtle);
            color: var(--text-primary);
        }

        .preference-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-light);
        }

        .preference-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .preference-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .preference-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        .preference-toggle {
            position: relative;
            width: 44px;
            height: 24px;
            background: var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .preference-toggle.active {
            background: var(--primary);
        }

        .preference-toggle::before {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 8px;
            transition: transform 0.2s ease;
        }

        .preference-toggle.active::before {
            transform: translateX(20px);
        }

        .preference-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .preferences-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: flex-end;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-light);
        }

    .feedback-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 320px;
    box-shadow: 0 8px 32px var(--shadow-md);
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.feedback-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.feedback-popup.hide {
    transform: translateY(100px);
    opacity: 0;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feedback-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feedback-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feedback-close:hover {
    background: var(--background-subtle);
    color: var(--text-primary);
}

.feedback-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.feedback-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.feedback-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    font-size: 16px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
    transition: opacity 0.2s ease;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.back-link:hover {
    transform: translateX(-2px);
}

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-2px);
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--text-secondary);
}

.news-header {
    margin-bottom: 2rem;
}

.news-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.meta-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: var(--text-muted);
}

.author-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.news-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-md);
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

.news-content p:last-child {
    margin-bottom: 0;
}

.news-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.news-content sup {
    font-size: 0.75em;
    vertical-align: super;
    color: var(--primary);
    font-weight: 600;
}

  .footer {
            background: var(--background);
            padding: 3rem 2rem 2rem;
            border-top: 1px solid var(--border);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-links {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .footer-link:hover {
            color: var(--primary);
        }

        .footer-text {
            color: var(--text-muted);
            font-size: 0.875rem;
        }

.ml-embedded {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

    .news-container {
        padding: 90px 1rem 1rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .news-image {
        height: 200px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        word-break: break-word;
    }
      .feedback-popup {
        bottom: 80px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
     .cookie-content {
                flex-direction: column;
                align-items: stretch;
                gap: 1rem;
            }

            .cookie-actions {
                flex-direction: column;
            }

            .cookie-btn {
                justify-content: center;
            }

            .preferences-content {
                margin: 1rem;
                width: calc(100% - 2rem);
            }

            .preferences-actions {
                flex-direction: column;
            }
}

@media (max-width: 480px) {
    .news-container {
        padding: 80px 1rem 1rem;
    }

    .news-content {
        font-size: 1rem;
    }

    .news-image {
        height: 180px;
    }
}