/* news-specific styles (rules not present in global.css) */

:root {
            --teal-500: #00B6B4;
            --teal-600: #00A09D;
            --teal-700: #008D82;
            --blue-500: #0A84FF;
            --blue-600: #006AD4;
            --blue-700: #0050A3;
            --safe-500: #1589C4;
            --neutral-50: #F8F8FA;
            --neutral-100: #F2F2F7;
            --neutral-200: #E5E5EA;
            --neutral-600: #8E8E93;
            --neutral-700: #636366;
            --neutral-800: #48484A;
            --neutral-900: #3A3A3C;
            --red-500: #E70E00;
            --orange-500: #FEA009;
            --green-500: #32D74B;
        }

/* Page Header */
        .page-header {
            margin-top: 120px;
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--teal-600) 0%, var(--blue-600) 100%);
            color: white;
            text-align: center;
        }

.page-header h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

.page-header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

/* News Index */
        .news-index {
            padding: 3rem 0;
            background: var(--neutral-50);
            border-bottom: 1px solid var(--neutral-200);
        }

.index-list {
            display: none;
        }

.index-filters {
            display: flex;
            gap: 1.5rem;
            align-items: flex-end;
            flex-wrap: wrap;
        }

.index-filters-row2 {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            margin-top: 1.25rem;
            flex-wrap: wrap;
            justify-content: space-between;
        }

.filter-group {
            flex: 1;
            min-width: 220px;
        }

.filter-group label {
            display: block;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--neutral-700);
            margin-bottom: 0.5rem;
        }

.filter-search {
            width: 100%;
            padding: 0.65rem 1rem 0.65rem 2.5rem;
            border: 1px solid var(--neutral-200);
            border-radius: 8px;
            font-size: 0.95rem;
            font-family: 'Roboto', sans-serif;
            color: var(--neutral-900);
            background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.75rem center;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

.filter-search:focus {
            outline: none;
            border-color: var(--teal-600);
            box-shadow: 0 0 0 3px rgba(0, 182, 180, 0.1);
        }

.filter-search::placeholder {
            color: var(--neutral-600);
        }

.date-slider-wrap {
            position: relative;
        }

.date-slider-track {
            position: relative;
            height: 6px;
            background: var(--neutral-200);
            border-radius: 3px;
            margin: 0.25rem 0;
        }

.date-slider-range {
            position: absolute;
            height: 100%;
            background: var(--teal-600);
            border-radius: 3px;
            pointer-events: none;
        }

.date-slider-wrap input[type="range"] {
            -webkit-appearance: none;
            appearance: none;
            position: absolute;
            top: -5px;
            left: 0;
            width: 100%;
            height: 16px;
            background: transparent;
            pointer-events: none;
            margin: 0;
        }

.date-slider-wrap input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--teal-600);
            border: 2px solid white;
            box-shadow: 0 1px 4px rgba(0,0,0,0.2);
            cursor: pointer;
            pointer-events: auto;
        }

.date-slider-wrap input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--teal-600);
            border: 2px solid white;
            box-shadow: 0 1px 4px rgba(0,0,0,0.2);
            cursor: pointer;
            pointer-events: auto;
        }

.date-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.82rem;
            color: var(--teal-700);
            font-weight: 600;
            margin-top: 0.4rem;
        }

.filter-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            align-items: center;
        }

.filter-tag-btn {
            padding: 0.45rem 0.9rem;
            border: 1px solid var(--neutral-200);
            border-radius: 20px;
            background: white;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: 'Roboto', sans-serif;
            color: var(--neutral-700);
        }

.filter-tag-btn:hover {
            border-color: var(--teal-600);
            color: var(--teal-600);
        }

.filter-tag-btn.active {
            background: var(--teal-600);
            color: white;
            border-color: var(--teal-600);
        }

.filter-reset {
            padding: 0.45rem 0.9rem;
            border: none;
            border-radius: 20px;
            background: transparent;
            font-size: 0.82rem;
            font-weight: 500;
            cursor: pointer;
            color: var(--neutral-600);
            font-family: 'Roboto', sans-serif;
            transition: color 0.2s ease;
        }

.filter-reset:hover {
            color: var(--red-500);
        }

.no-results {
            text-align: center;
            padding: 3rem 0;
            color: var(--neutral-600);
            font-size: 1.1rem;
            display: none;
        }

.index-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.25rem;
            background: white;
            border: 1px solid var(--neutral-200);
            border-radius: 8px;
            text-decoration: none;
            color: var(--neutral-800);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

.index-link:hover {
            border-color: var(--teal-600);
            color: var(--teal-600);
            box-shadow: 0 4px 16px rgba(0, 182, 180, 0.15);
            transform: translateY(-1px);
        }

.index-link.hidden {
            display: none;
        }

.news-article.hidden {
            display: none;
        }

.index-date {
            font-size: 0.8rem;
            color: var(--neutral-600);
            font-weight: 400;
        }

.result-count {
            font-size: 0.85rem;
            color: var(--neutral-600);
            white-space: nowrap;
        }

/* News Articles */
        .news-article {
            padding: 5rem 0;
            border-bottom: 1px solid var(--neutral-200);
        }

.news-article:nth-child(even) {
            background: var(--neutral-50);
        }

.news-article:last-of-type {
            border-bottom: none;
        }

.article-inner {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: start;
        }

.article-meta {
            position: sticky;
            top: 150px;
        }

.article-date {
            display: inline-block;
            padding: 0.4rem 0.8rem;
            background: var(--teal-600);
            color: white;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

.article-tag {
            display: inline-block;
            padding: 0.3rem 0.7rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
            margin-left: 0.5rem;
        }

.tag-education {
            background: rgba(10, 132, 255, 0.1);
            color: var(--blue-500);
        }

.tag-government {
            background: rgba(50, 215, 75, 0.1);
            color: var(--green-500);
        }

.tag-product {
            background: rgba(0, 182, 180, 0.1);
            color: var(--teal-600);
        }

.tag-partnership {
            background: rgba(254, 160, 9, 0.1);
            color: var(--orange-500);
        }

.tag-leadership {
            background: rgba(10, 132, 255, 0.08);
            color: var(--safe-500);
        }

.article-source {
            margin-top: 1.5rem;
        }

.article-source a {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--teal-600);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: gap 0.3s ease;
        }

.article-source a:hover {
            gap: 0.75rem;
        }

.article-source svg {
            width: 16px;
            height: 16px;
        }

.article-body h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--neutral-900);
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }

.article-body p {
            color: var(--neutral-700);
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 1.25rem;
        }

.article-body blockquote {
            border-left: 4px solid var(--teal-600);
            padding: 1.25rem 1.5rem;
            margin: 1.5rem 0;
            background: var(--neutral-50);
            border-radius: 0 8px 8px 0;
        }

.article-body blockquote p {
            font-style: italic;
            color: var(--neutral-800);
            margin-bottom: 0.5rem;
        }

.article-body blockquote cite {
            font-style: normal;
            font-weight: 600;
            color: var(--teal-600);
            font-size: 0.9rem;
        }

.article-highlights {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1.5rem 0;
        }

.highlight-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 1rem;
            background: white;
            border-radius: 8px;
            border: 1px solid var(--neutral-200);
        }

.highlight-item svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: var(--teal-600);
            margin-top: 2px;
        }

.highlight-item span {
            font-size: 0.95rem;
            color: var(--neutral-700);
        }

/* Responsive - Tablet */
        @media (max-width: 1024px) {
            .nav-links {
                gap: 1.25rem;
            }

            .nav-links a {
                font-size: 0.9rem;
            }

            .article-inner {
                gap: 2.5rem;
            }
        }

/* Responsive - Mobile */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 1rem 20px;
                gap: 0;
                box-shadow: 0 8px 20px rgba(0,0,0,0.1);
                border-top: 1px solid var(--neutral-200);
            }

            .nav-links.open {
                display: flex;
            }

            .nav-links li a {
                display: block;
                padding: 0.75rem 0;
                border-bottom: 1px solid var(--neutral-100);
            }

            .logo img {
                height: 80px;
            }

            .page-header {
                margin-top: 100px !important;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .index-filters {
                flex-direction: column;
            }

            .filter-group {
                min-width: 100% !important;
                flex: unset !important;
            }

            .index-filters-row2 {
                flex-direction: column;
                align-items: flex-start;
            }

            .article-inner {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .article-meta {
                position: static;
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
                align-items: center;
            }

            .article-source {
                margin-top: 0;
                margin-left: 0.5rem;
            }

            .article-body h2 {
                font-size: 1.5rem;
            }

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

            .news-article {
                padding: 3rem 0;
            }

            .container {
                padding: 0 16px;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .footer-brand {
                grid-column: span 2;
            }
        }

/* Responsive - Small Mobile */
        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 1.75rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .footer-brand {
                grid-column: span 1;
            }
        }

[data-theme="dark"] .news-index {
            background: #1C1C1E;
            border-bottom-color: #3A3A3C;
        }

[data-theme="dark"] .filter-search {
            background-color: #2C2C2E;
            border-color: #3A3A3C;
            color: var(--neutral-900);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398989D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
        }

[data-theme="dark"] .filter-tag-btn {
            background: #2C2C2E;
            border-color: #3A3A3C;
            color: var(--neutral-700);
        }

[data-theme="dark"] .filter-tag-btn:hover {
            border-color: var(--teal-500);
            color: var(--teal-500);
        }

[data-theme="dark"] .filter-tag-btn.active {
            background: var(--teal-600);
            color: white;
            border-color: var(--teal-600);
        }

[data-theme="dark"] .news-article {
            border-bottom-color: #3A3A3C;
        }

[data-theme="dark"] .news-article:nth-child(even) {
            background: #1C1C1E;
        }

[data-theme="dark"] .article-body blockquote {
            background: #1C1C1E;
            border-left-color: var(--teal-500);
        }

[data-theme="dark"] .highlight-item {
            background: #1C1C1E;
            border-color: #3A3A3C;
        }
