﻿:root {
    --color-primary: #0a2540;
    --color-primary-light: #1e3a5f;
    --color-accent: #dc2626;
    --color-accent-hover: #b91c1c;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e5e7eb;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* Breaking News Ticker */
.breaking-ticker {
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.breaking-label {
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    padding-left: 24px;
}

.ticker-item {
    font-size: 13px;
    font-weight: 500;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-separator {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Featured Hero */
.featured-hero {
    padding: 48px 0;
    background: var(--color-bg-alt);
}

.hero-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    color: white;
}

.category-badge {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: Segoe UI;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.8;
}

    .hero-meta .separator {
        opacity: 0.5;
    }

/* Latest Stories */
.latest-stories {
    padding: 25px 0;
}

.section-title {
    font-family: Segoe UI;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.stories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.story-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

    .story-card:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.story-link {
    display: flex;
    gap: 0;
}

.story-image-wrapper {
    position: relative;
    width: 320px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover .story-image {
    transform: scale(1.05);
}

.story-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
}

.story-content {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.story-date {
    font-size: 13px;
    color: var(--color-text-muted);
}

.story-read-time {
    font-size: 13px;
    color: var(--color-text-muted);
}

.story-title {
    font-family: Segoe UI;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: color 0.2s;
}

.story-card:hover .story-title {
    /*color: var(--color-accent);*/
}

.story-excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.2s;
    text-align: end;
}

.story-card:hover .read-more {
    /*color: var(--color-accent);*/
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    margin-top: 48px;
}

.load-more-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

    .load-more-btn:hover {
        background: var(--color-primary-light);
        transform: translateY(-2px);
    }


/* Responsive */
@media (max-width: 1200px) {
    .nav-desktop {
        gap: 16px;
    }

    .header-search input {
        width: 120px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        gap: 16px;
    }

    .nav-desktop {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--color-border);
        margin-top: 4px;
        gap: 20px;
    }

    .header-search {
        order: 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
    }

    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--color-border);
        gap: 16px;
        width: auto;
        order: unset;
        border-top: none;
        margin-top: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

        .nav-desktop.mobile-open {
            display: flex;
        }

    .header-search {
        display: none;
    }

        .header-search.mobile-visible {
            display: flex;
            order: unset;
        }

    .mobile-menu-toggle {
        display: block;
    }

    .featured-hero {
        padding: 24px 0;
    }

    .hero-image-wrapper {
        height: 350px;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .story-link {
        flex-direction: column;
    }

    .story-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .story-content {
        padding: 20px;
    }

    .story-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .latest-stories {
        padding: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .container {
        padding: 0 16px;
    }

    .ticker-content {
        animation: ticker-scroll 5s linear infinite;
    }
}

@media (max-width: 480px) {
    .breaking-ticker {
        height: 36px;
    }

    .breaking-label {
        padding: 6px 10px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .ticker-item {
        font-size: 11px;
    }

    .logo {
        font-size: 24px;
    }

    .hero-image-wrapper {
        height: 280px;
    }

    .hero-content {
        padding: 16px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .category-badge {
        padding: 5px 10px;
        font-size: 9px;
        margin-bottom: 12px;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 12px;
    }

    .story-image-wrapper {
        height: 180px;
    }

    .story-content {
        padding: 16px;
    }

    .story-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .story-excerpt {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .story-meta {
        gap: 12px;
        margin-bottom: 10px;
    }

    .story-date,
    .story-read-time {
        font-size: 12px;
    }

    .load-more-btn {
        padding: 12px 32px;
        font-size: 13px;
    }

    .ticker-content {
        animation: ticker-scroll 5s linear infinite;
    }
}
