/* Global Insight CSS Variables */
:root {
    --primary: #0a192f;
    --secondary: #ff6b35;
    --accent: #00b4d8;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--primary);
}

p {
    margin-bottom: 16px;
    color: #333;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--primary);
    color: white;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-top {
    background-color: var(--secondary);
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

/* Navigation */
.nav-desktop {
    display: flex;
    gap: 25px;
}

.nav-desktop a {
    color: white;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-btn, .menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.search-btn:hover, .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
    padding: 25px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: white;
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background-color: #fff;
}

/* Hero Section */
.hero {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 450px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent),
                url('https://images.unsplash.com/photo-1588681664899-f142ff2dc9b1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    box-shadow: 0 10px 20px var(--shadow);
    transition: var(--transition);
}

.hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hero-content {
    padding: 30px;
    width: 100%;
}

.hero-content .category {
    background-color: var(--secondary);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
    color: white;
}

.hero-content h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 18px;
    max-width: 700px;
}

.hero-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-img {
    height: 180px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content .category {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray);
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
}

/* News Ticker */
.news-ticker {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    margin-bottom: 40px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.ticker-header {
    padding: 0 15px;
    font-weight: 700;
    display: inline-block;
    background: var(--secondary);
    height: 100%;
    margin-right: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    padding-left: 100%;
}

.ticker-item {
    display: inline-block;
    padding: 0 25px;
    font-size: 15px;
    position: relative;
}

.ticker-item::after {
    content: '•';
    position: absolute;
    right: 5px;
    color: var(--secondary);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Featured Stories */
.featured-stories {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--secondary);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.story-card.tall {
    grid-row: span 2;
}

.story-card.wide {
    grid-column: span 2;
}

.story-content {
    padding: 18px;
}

.story-content .category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    display: block;
}

.story-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.story-content p {
    font-size: 14px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Latest News */
.latest-news {
    margin-bottom: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition);
    align-items: center;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item-img {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.05);
}

.news-item-content {
    flex-grow: 1;
}

.news-item-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.news-item-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-meta {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, #1a365d 100%);
    color: white;
    padding: 50px 0;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    transform: rotate(30deg);
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Sidebar */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 40px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.widget-header {
    background: var(--primary);
    color: white;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.widget-content {
    padding: 18px;
}

.trending-list {
    list-style: none;
}

.trending-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trending-number {
    background: var(--light-gray);
    color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.trending-list a {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    display: block;
}

.trending-list a:hover {
    color: var(--secondary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: var(--secondary);
    color: white;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 10px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Detail Page Styles */
.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-header .category {
    background-color: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.article-hero {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px var(--shadow);
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 17px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2, .article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.article-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    margin: 25px 0;
    background: var(--light);
    font-style: italic;
    color: var(--dark);
    font-size: 18px;
}

.article-content img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Category Page */
.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
    background: var(--light);
    border-radius: 8px;
}

.category-header h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Privacy & Terms Pages */
.privacy, .Terms, .legal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy h2, .Terms h1, .legal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--secondary);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.privacy h3, .Terms h3, .legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy p, .Terms p, .legal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.privacy .title, .Terms .title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.privacy .title:last-child, .Terms .title:last-child {
    border-bottom: none;
}

.privacy .title:hover, .Terms .title:hover {
    background-color: rgba(10, 25, 47, 0.02);
    padding-left: 10px;
    border-radius: 8px;
}

.privacy a, .Terms a, .legal-content a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.privacy a:hover, .Terms a:hover, .legal-content a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.privacy ul, .Terms ul, .legal-content ul {
    margin-left: 30px;
    margin-bottom: 25px;
    list-style-type: disc;
}

.privacy li, .Terms li, .legal-content li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.privacy b, .Terms b, .legal-content b {
    color: var(--primary);
    font-weight: 700;
}

.privacy .mm, .Terms .mm, .legal-content .mm {
    color: var(--secondary);
    font-weight: 600;
}

/* Table of Contents */
.privacy .title:first-of-type + div, .Terms .title:first-of-type + div {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary);
}

.privacy .title:first-of-type + div h3, .Terms .title:first-of-type + div h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.privacy .title:first-of-type + div + div, .Terms .title:first-of-type + div + div {
    margin-left: 0;
}

.privacy .title:first-of-type + div + div p, .Terms .title:first-of-type + div + div p {
    margin-bottom: 10px;
}

.privacy .title:first-of-type + div + div a, .Terms .title:first-of-type + div + div a {
    display: inline-block;
    padding: 5px 0;
    transition: var(--transition);
}

.privacy .title:first-of-type + div + div a:hover, .Terms .title:first-of-type + div + div a:hover {
    transform: translateX(5px);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    font-size: 18px;
    background: white;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 3px var(--secondary);
}

.close-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    padding: 10px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-hero {
        height: 300px;
    }

    .article-content {
        padding: 20px;
        font-size: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        margin-bottom: 10px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-card.wide {
        grid-column: span 1;
    }

    .news-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .news-item-img {
        width: 100%;
        height: 180px;
    }

    /* Mobile Specific - Max 5px margins */
    .container {
        padding: 0 5px;
    }

    .hero-content {
        padding: 15px;
    }

    .card-content, .story-content, .widget-content, .news-item-content, .article-content {
        padding: 15px;
    }

    .header-main {
        padding: 10px 5px;
    }

    .main-content {
        padding: 15px 0;
    }



    .legal-content,.story-content {
        padding: 5px ;
    }
    .news-ticker{
        display: none;
    }
    .content-grid{
        margin-bottom: 5px;
    }
    .card-content p,.story-content p,.category-header h1,.card-content h3{
        margin-bottom: 0;
    }
    .featured-grid,.article-header h1,#news-article{
        margin-bottom: 5px;
    }
    .category-header{
        margin-bottom: 10px;
        padding: 5px;
    }
    .category-grid,.featured-grid{
        gap: 10px;
        margin-bottom: 5px;
    }
    #load-more-btn{
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content p {
        display: none;
    }

    .hero-meta {
        flex-direction: column;
        gap: 5px;
    }

    .featured-grid, .category-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .newsletter h3 {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ticker-header {
        display: none;
    }

    .ticker-wrap {
        justify-content: center;
    }

    .ticker-content {
        animation: none;
        padding-left: 0;
        white-space: normal;
        text-align: center;
    }

    .ticker-item {
        display: inline-block;
        padding: 5px 10px;
    }
}
