/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --card-bg: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
} */

/* Dark Theme Overrides
body.dark-theme {
    --card-bg: #121212;
    --bg-color: #121212;
    --text-color: #ffffff;
    --primary-color: #4fc3f7;
    --secondary-color: #9575cd;
    --accent-color: #80deea;
    --shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    background-color: var(--bg-color);
    color: var(--text-color);
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.featured-newspaper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* background: var(--card-bg); */
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.featured-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--card-bg); */
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

:root {
    --primary-color: #2563eb;
    /* Blue 600 */
    --secondary-color: #1e40af;
    /* Blue 900 */
    --accent-color: #3b82f6;
    /* Blue 500 */
    --text-color: #1f2937;
    /* Gray 800 */
    --text-light: #6b7280;
    /* Gray 500 */
    --bg-color: #ffffff;
    --card-bg: #f1f5f9;
    /* Slate 100 */
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Button & link default */
    --button-bg: var(--primary-color);
    --button-text: #ffffff;
    --link-color: var(--accent-color);
    --link-hover: var(--secondary-color);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Dark Theme Overrides */
body.dark-theme {
    --primary-color: #60a5fa;
    /* Blue 400 */
    --secondary-color: #3b82f6;
    /* Blue 500 */
    --accent-color: #93c5fd;
    /* Blue 300 */
    --text-color: #e0f2fe;
    /* Light blue */
    --text-light: #94a3b8;
    /* Slate 400 */
    --bg-color: #0f172a;
    /* Slate 900 */
    --card-bg: #1e293b;
    /* Slate 800 */
    --border-color: #334155;
    /* Slate 700 */
    --shadow: 0 4px 6px rgba(255, 255, 255, 0.05);

    --button-bg: var(--primary-color);
    --button-text: #0f172a;
    --link-color: var(--accent-color);
    --link-hover: #60a5fa;
}

Animate transition body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Optional: Change icon appearance */
.theme-toggle .fas {
    transition: transform 0.3s ease;
}

body.dark-theme .theme-toggle .fas {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar {
        width: 100%;
        max-width: 400px;
    }

    .newspapers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .featured-newspaper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newspaper-card.list-view {
        flex-direction: column;
        height: auto;
    }

    .newspaper-card.list-view .newspaper-preview {
        width: 100%;
        height: 200px;
    }
}