/* SA Today Newspaper Styles */
:root {
    --pine-green: #01796f;
    --fern-green: #5e8c61;
    --dark-green: #004d47;
    --light-green: #e8f5e8;
    --green-gradient: linear-gradient(90deg, var(--pine-green), var(--fern-green), var(--light-green));
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    --red: #dc3545;
    --shadow: rgba(0, 0, 0, 0.1);
    --paper: #ffffff;
    --page-bg: #ffffff;
    --border: #eee;
}

/* Card presentation uses image + headline by default */

/* Global content image sizing override */
.story-hero,
.main-story img,
.featured-story img {
  width: 100% !important;
  max-width: 1000px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

.news-card img,
.sports-card img,
.business-card img,
.politics-card img,
.lifestyle-card img,
.story-card img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: from-font;
    text-underline-offset: 0.12em;
}

a:hover {
    text-decoration: none;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(193, 18, 31, 0.35);
    outline-offset: 2px;
}

ins.adsbygoogle,
.google-auto-placed {
    max-width: 100% !important;
}

.google-auto-placed {
    margin: 16px auto !important;
}

body > .google-auto-placed,
body > ins.adsbygoogle {
    display: none !important;
}

iframe[id^="aswift_"],
iframe[id^="google_ads_iframe_"],
iframe[title="Advertisement"] {
    max-width: 100% !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--white);
    border-bottom: 3px solid var(--pine-green);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.date-weather {
    display: flex;
    gap: 20px;
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--pine-green);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--fern-green);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--pine-green);
    text-shadow: 2px 2px 4px var(--shadow);
    margin-bottom: 5px;
}

.logo p {
    font-size: 1rem;
    color: var(--fern-green);
    font-style: italic;
}



/* Navigation Styles */
.main-nav {
    background: #f5f5f5;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    min-width: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border-bottom: 2px solid transparent;
    overflow-wrap: anywhere;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: transparent;
    border-bottom-color: var(--red);
}

.search-box {
    display: flex;
    margin-right: 20px;
    min-width: 0;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 2px 0 0 2px;
    outline: none;
    width: 200px;
    max-width: 100%;
}

.search-box button {
    padding: 8px 12px;
    background: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: var(--dark-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Breaking News Ticker */
.breaking-news {
    background: var(--paper);
    color: var(--dark-gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.breaking-news::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--green-gradient);
}

.breaking-news .container {
    display: flex;
    align-items: center;
}

.breaking-label {
    background: var(--red);
    color: var(--white);
    padding: 4px 10px;
    font-weight: bold;
    margin-right: 20px;
    border-radius: 2px;
    letter-spacing: .08em;
}

.news-ticker {
    flex: 1;
    white-space: nowrap;
    animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Main Content */
.main-content {
    padding: 22px 0 40px;
    background: transparent;
}

.main-content .container {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 22px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.content-grid > * {
    min-width: 0;
}

.content-grid.newspaper-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 10px;
}

.content-grid.newspaper-grid > * {
    min-width: 0;
}

.content-grid.newspaper-grid > .mid-column,
.content-grid.newspaper-grid > .right-column {
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.content-grid.newspaper-grid > .right-column {
    padding-left: 16px;
}

@media (max-width: 1100px) {
    .main-nav {
        padding: 0 10px;
    }

    .nav-menu {
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu li a {
        padding: 12px 14px;
        font-size: 12px;
    }

    .search-box {
        margin-right: 10px;
    }

    .search-box input {
        width: 160px;
    }

    .content-grid.newspaper-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
    .content-grid.newspaper-grid .right-column {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 18px;
    }
    .content-grid.newspaper-grid > .mid-column {
        padding-left: 16px;
    }
}

@media (max-width: 900px) {
    .search-box {
        display: none;
    }
}

/* Featured Story */
.featured-story {
    background: var(--white);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.featured-story.home-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px;
    border-color: var(--border);
    margin-bottom: 18px;
}

.featured-story.home-featured > * {
    min-width: 0;
}

.featured-story.home-featured .main-story {
    background: var(--white);
}

.featured-story.home-featured .main-story.news-item {
    border: none;
}

.featured-story.home-featured .main-story img {
    height: clamp(220px, 38vh, 420px) !important;
    object-fit: cover !important;
}

.featured-story.home-featured .story-content {
    padding: 20px;
}

.featured-story.home-featured .story-content h2 {
    font-size: 2rem;
    margin: 14px 0 10px;
    overflow-wrap: anywhere;
}

.featured-story.home-featured .secondary-stories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px 14px 0;
}

.featured-story.home-featured .story-card {
    display: flex;
    flex-direction: column;
}

.featured-story.home-featured .story-card > * {
    min-width: 0;
}

.featured-story.home-featured .story-card img {
    width: 100% !important;
    height: 120px !important;
    border-right: none;
    display: block;
}

.featured-story.home-featured .story-card .card-content {
    padding: 12px 14px;
}

.featured-story.home-featured .story-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .featured-story.home-featured {
        grid-template-columns: 1fr;
    }
    .featured-story.home-featured .secondary-stories {
        padding: 0 14px 14px;
    }
}

@media (max-width: 900px) {
    .featured-story.home-featured {
        grid-template-columns: 1fr;
    }
    .featured-story.home-featured .secondary-stories {
        padding: 0 14px 14px;
    }
    .featured-story.home-featured .story-card img {
        height: 110px !important;
    }
}

.main-story img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.story-content {
    padding: 30px;
}

.category {
    background: var(--red);
    color: var(--white);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.story-content h2 {
    font-size: 2.2rem;
    margin: 20px 0 15px;
    color: var(--dark-gray);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.story-excerpt {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author, .time {
    color: var(--gray);
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-buttons a {
    color: var(--pine-green);
    font-size: 18px;
    transition: color 0.3s ease;
}

.share-buttons a:hover {
    color: var(--fern-green);
}

/* Secondary Stories */
.secondary-stories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-card {
    background: var(--white);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Sports Grid and Cards - match Lifestyle layout */
.sports-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sports-card {
    background: var(--white);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sports-card:hover {
    transform: translateY(-3px);
}

.sports-card img {
    width: 100% !important;
    height: 261px !important;
    object-fit: cover !important;
    display: block;
    margin: 0;
}

/* Unified grids to match Lifestyle layout across pages */
.business-news-grid,
.politics-grid-section,
.news-grid-section,
.secondary-stories,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* All Articles grid layout reused across topic pages */
.all-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Unified cards to match Lifestyle card styling */
.business-card,
.news-card,
.news-item {
  background: var(--white);
  border: 1px solid #e3e3e3;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.business-card:hover,
.news-card:hover,
.news-item:hover {
  transform: translateY(-3px);
}

/* Unified image sizing; override earlier sizing */
.business-card img,
.story-card img,
.news-item img,
.politics-grid-section .news-card img,
.news-grid-section .news-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block;
    margin: 0;
}

@media (max-width: 768px) {
  .main-header { position: static; }
  .header-top { padding: 8px 0; font-size: 13px; }
  .date-weather { gap: 12px; }
  .header-main { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0; }
  .logo h1 { font-size: 2.2rem; }
  .logo p { font-size: .95rem; }
  .header-ad { margin-left: 0; max-width: 100%; width: 100%; }
  .ad-banner { padding: 12px; }
  .ad-728x90 { width: 100%; height: auto; aspect-ratio: 728 / 90; }
  .ad-728x90 img, .ad-728x90 ins { width: 100% !important; height: 100% !important; display: block; }
  .ad-300x250, .ad-336x280, .ad-160x600 { width: 100%; height: auto; }
  .ad-300x250 img, .ad-336x280 img, .ad-160x600 img { width: 100%; height: auto; display: block; }

  .main-nav { padding: 6px 8px; }
  .nav-menu { gap: 6px; overflow-x: auto; }
  .nav-menu li a { padding: 10px 12px; font-size: 12px; }
  .search-box { display: none; }

  .breaking-news { padding: 8px 0; }
  .section-header .container p { font-size: .95rem; }

  .main-content { padding: 20px 0; }
  .content-grid { grid-template-columns: 1fr; gap: 20px; }
  .content-grid.newspaper-grid { grid-template-columns: 1fr; }
  .content-grid.newspaper-grid > .mid-column,
  .content-grid.newspaper-grid > .right-column {
    border-left: none;
    padding-left: 0;
  }
  .secondary-stories { gap: 16px; }

  .main-story img { height: auto; aspect-ratio: 16/9; }
  .news-item img { height: auto; aspect-ratio: 16/9; }
  .story-card img { height: auto !important; aspect-ratio: 16/9; }
  .sports-card img { height: auto !important; aspect-ratio: 16/9; }
  .business-card img,
  .politics-grid-section .news-card img,
  .news-grid-section .news-card img { height: auto !important; aspect-ratio: 16/9; }

  .card-content { padding: 14px; }
  .card-content h3 { font-size: 1.05rem; }
  .story-content { padding: 18px; }

  .ad-160x600, .ad-300x250, .ad-336x280 { width: 100%; height: auto; }
  .ad-728x90 { width: 100%; height: auto; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--dark-gray);
    line-height: 1.4;
}

.card-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.card-content .time {
    font-size: 12px;
    color: var(--gray);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-ad {
    background: var(--light-gray);
    border: 2px dashed var(--gray);
    text-align: center;
    padding: 20px;
    border-radius: 5px;
}

.sidebar-ad .ad-content {
    background: var(--fern-green);
    color: var(--white);
    border-radius: 3px;
    font-weight: bold;
}

/* Trending Section */
.trending-section {
    background: var(--white);
    padding: 25px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    box-shadow: none;
}

.trending-section h3 {
    color: var(--black);
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.trending-item:last-child {
    border-bottom: none;
}

.trend-number {
    background: var(--red);
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.trend-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--dark-gray);
    line-height: 1.4;
}

.trend-time {
    font-size: 12px;
    color: var(--gray);
}

/* Weather Widget */
.weather-widget {
    background: var(--paper);
    padding: 14px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e3e3e3;
}

.weather-widget h3 {
    color: var(--black);
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.city-weather {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.city-weather:last-child {
    border-bottom: none;
}

.city-weather h4 {
    font-size: 14px;
    color: var(--dark-gray);
}

.temp {
    font-weight: bold;
    color: var(--dark-gray);
}

.condition {
    font-size: 12px;
    color: var(--gray);
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--paper);
    color: var(--dark-gray);
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    text-align: left;
}

.newsletter-signup h3 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.newsletter-signup p {
    margin-bottom: 20px;
    color: var(--gray);
    opacity: 1;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.newsletter-form button {
    padding: 12px;
    background: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.newsletter-form button:hover {
    background: var(--dark-green);
}

/* More News Section */
.more-news {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.more-news h2 {
    color: var(--black);
    margin-bottom: 16px;
    font-size: 1rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.news-item {
    border: 1px solid #e3e3e3;
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.2s ease;
    height: 100%;
}

.news-item:hover {
    transform: none;
    box-shadow: none;
    border-color: #cfcfcf;
}

.news-item img {
    width: 100%;
    height: 160px !important;
    object-fit: cover;
}

.news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-content h3 {
    font-size: 1.1rem;
    margin: 10px 0;
    color: var(--dark-gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid .news-item:first-child {
    grid-column: 1 / -1;
}

.news-grid .news-item:first-child img {
    height: 320px !important;
}

.news-grid .news-item:first-child .news-content h3 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-top: 12px;
}

.news-grid .news-item:first-child .news-content p {
    font-size: 1rem;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-grid .news-item:first-child img {
        height: auto !important;
        aspect-ratio: 16/9;
    }
}

.news-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .time {
    margin-top: auto;
}

/* Footer */
.main-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--pine-green);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--pine-green);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--pine-green);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--pine-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-ad {
        margin-left: 0;
        max-width: 100%;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--pine-green);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .search-box {
        margin: 0;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-content h2 {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
.breaking-news .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Modern UI additions */
.news-item,
.news-card,
.sports-card,
.business-card,
.politics-card,
.lifestyle-card,
.story-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 14px var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-item:hover,
.news-card:hover,
.sports-card:hover,
.business-card:hover,
.politics-card:hover,
.lifestyle-card:hover,
.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow);
}
.news-item img,
.news-card img,
.sports-card img,
.business-card img,
.politics-card img,
.lifestyle-card img,
.story-card img {
  border-bottom: 1px solid #eee;
}
.news-content { padding: 14px 16px; }
.news-content h3 { font-size: 1.06rem; line-height: 1.35; color: var(--dark-gray); }
.news-content p { margin-top: 6px; color: #555; }
.news-content .time { display: inline-block; margin-top: 8px; font-size: .85rem; color: #888; }

.category {
  display: inline-block;
  padding: 4px 8px;
  background: var(--red);
  color: var(--white);
  border-radius: 0;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.trending-section { background: var(--paper); border: 1px solid #e3e3e3; border-radius: 0; padding: 14px; }
.trending-section h3 { font-size: .95rem; margin-bottom: 12px; border-bottom: 2px solid var(--red); padding-bottom: 10px; text-transform: uppercase; letter-spacing: .12em; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif; }
.trending-list { display: flex; flex-direction: column; gap: 10px; }
.trending-item { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--white); border: 1px solid #e3e3e3; border-radius: 0; }
.trend-number { width: 28px; height: 28px; border-radius: 0; background: var(--red); color: var(--white); display:flex; align-items:center; justify-content:center; font-weight:800; }
.trend-content h4 { font-size: .98rem; color: var(--dark-gray); }
.trend-time { font-size: .82rem; color: var(--gray); }

.weather-widget { background: var(--paper); border: 1px solid #e3e3e3; border-radius: 0; padding: 14px; }
.weather-widget h3 { font-size: .95rem; margin-bottom: 12px; border-bottom: 2px solid var(--red); padding-bottom: 10px; text-transform: uppercase; letter-spacing: .12em; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif; }
.weather-info { display: grid; grid-template-columns: repeat(1, 1fr); gap: 10px; }
@media (min-width: 640px) { .weather-info { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .weather-info { grid-template-columns: repeat(3, 1fr); } }
.city-weather { background: var(--white); border: 1px solid #e3e3e3; border-radius: 0; padding: 10px; }
.city-weather h4 { font-size: .98rem; color: var(--dark-gray); }
.city-weather .temp { font-weight: 700; margin-right: 8px; }
.city-weather .condition { color: var(--gray); }
.city-weather .forecast span { margin-right: 8px; }

.market-watch { background: var(--light-gray); border: 1px solid #eee; border-radius: 12px; padding: 12px; }
.stock-item { display:flex; align-items:center; justify-content:space-between; padding:8px 10px; background: var(--white); border:1px solid #eee; border-radius:8px; margin-bottom:8px; }
.stock-price .change.positive { color: #2e7d32; }
.stock-price .change.negative { color: #c62828; }

.news-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .story-content h2 {
        font-size: 1.5rem;
    }
    
    .more-news {
        padding: 0;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
.post-news-widgets { padding: 20px 0; }
.widgets-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .widgets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .widgets-grid { grid-template-columns: repeat(3, 1fr); } }
.widgets-grid > div { height: 100%; }

.section-header {
    background: #f7f7f7;
    border-bottom: 1px solid var(--border);
    padding: 26px 0;
}

.section-header h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.2;
    color: var(--black);
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.section-header p {
    margin-top: 10px;
    color: var(--gray);
    max-width: 70ch;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 0 6px;
}

.tab-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 0;
    padding: 10px 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.tab-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(1, 121, 111, 0.35);
}

.tab-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: rgba(222, 56, 49, 0.55);
}

.most-read,
.regional-news {
    background: var(--white);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    box-shadow: none;
    padding: 14px;
}

.most-read h3,
.regional-news h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    font-size: 0.95rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.read-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid #f0f2f2;
}

.read-item:last-child {
    border-bottom: none;
}

.read-number {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: rgba(1, 121, 111, 0.10);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.read-content h4 {
    font-size: 0.98rem;
    line-height: 1.25;
    color: var(--dark-gray);
}

.read-time,
.region-time {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--gray);
}

.region-item {
    padding: 12px 2px;
    border-bottom: 1px solid #f0f2f2;
}

.region-item:last-child {
    border-bottom: none;
}

.region-item h4 {
    font-size: 0.98rem;
    color: var(--dark-gray);
}

.region-item p {
    margin-top: 6px;
    color: #555;
    line-height: 1.55;
}

.story-detail {
    background: var(--white);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    padding: 18px;
    box-shadow: none;
}

.story-detail h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
    line-height: 1.15;
    color: var(--dark-gray);
    letter-spacing: -0.01em;
}

.story-meta {
    color: #66706f;
    font-size: 0.95rem;
    margin: 10px 0 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.story-hero {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #e3e3e3;
}

.story-body {
    font-size: 1.06rem;
    line-height: 1.8;
    margin-top: 14px;
    color: #2f3a39;
    max-width: 75ch;
}

.story-body p + p {
    margin-top: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    color: var(--pine-green);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    color: var(--dark-green);
}

@media (max-width: 768px) {
    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .tab-btn {
        white-space: nowrap;
    }
}

.news-content h3 a,
.card-content h3 a,
.card-title a {
    color: inherit;
    text-decoration: none;
}

.news-content h3 a:hover,
.card-content h3 a:hover,
.card-title a:hover {
    color: var(--dark-green);
}

.sports-card .card-content,
.story-card .card-content {
    padding: 0;
}

.sports-card .card-title,
.story-card .card-content h3 {
    padding: 14px 16px 16px;
    margin: 0;
}

.sports-card .card-content img,
.story-card .card-content img {
    border-radius: 0;
    border-bottom: 1px solid #eee;
}

.sidebar > div:not(.newsletter-signup):not(.weather-widget):not(.market-watch):not(.most-read):not(.regional-news) {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 14px var(--shadow);
    padding: 14px;
}

.sidebar > div:not(.newsletter-signup) > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-green);
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.live-scores-widget .score-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f2;
}

.live-scores-widget .score-item:last-child {
    border-bottom: none;
}

.live-scores-widget .teams {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.live-scores-widget .team:first-child {
    font-size: 0.82rem;
    font-weight: 700;
    color: #60716e;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.live-scores-widget .team:last-child {
    font-size: 0.98rem;
    color: var(--dark-gray);
    line-height: 1.25;
}

.live-scores-widget .score {
    grid-row: span 2;
    align-self: center;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark-gray);
}

.live-scores-widget .status {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(1, 121, 111, 0.12);
    color: var(--dark-green);
    font-weight: 800;
    font-size: 0.82rem;
    width: fit-content;
}

.top-performers .performer-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f2;
}

.top-performers .performer-item:last-child {
    border-bottom: none;
}

.performer-info h4 {
    font-size: 0.98rem;
    color: var(--dark-gray);
}

.performer-info p {
    margin-top: 4px;
    color: var(--gray);
    font-size: 0.9rem;
}

.performer-info .sport {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 122, 77, 0.12);
    color: var(--dark-green);
    font-weight: 700;
    font-size: 0.78rem;
}

.top-performers .stat {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.political-leaders .leader-item,
.parliament-schedule .schedule-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f2;
}

.political-leaders .leader-item:last-child,
.parliament-schedule .schedule-item:last-child {
    border-bottom: none;
}

.leader-info h4 {
    font-size: 1rem;
    color: var(--dark-gray);
}

.leader-info .position,
.schedule-time {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.leader-info .recent-activity {
    margin-top: 8px;
    color: var(--dark-gray);
    line-height: 1.5;
}

.parliament-schedule .schedule-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: start;
}

.schedule-date {
    font-weight: 800;
    color: var(--pine-green);
    background: rgba(1, 121, 111, 0.10);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
}

.schedule-event h4 {
    font-size: 0.98rem;
    line-height: 1.25;
    color: var(--dark-gray);
}

.opinion-polls .poll-item {
    display: grid;
    grid-template-columns: 56px 1fr 44px;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
}

.poll-party {
    font-weight: 800;
    color: var(--dark-gray);
}

.poll-bar {
    height: 10px;
    border-radius: 999px;
    background: #eef3f2;
    overflow: hidden;
}

.poll-fill {
    height: 100%;
    background: var(--red);
    border-radius: 999px;
}

.poll-percentage {
    font-weight: 800;
    color: var(--gray);
    text-align: right;
}

.poll-info small {
    display: block;
    margin-top: 10px;
    color: var(--gray);
    line-height: 1.4;
}

.political-analysis .analysis-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f2;
}

.political-analysis .analysis-item:last-child {
    border-bottom: none;
}

.analysis-item h4 {
    font-size: 0.98rem;
    color: var(--dark-gray);
    line-height: 1.25;
}

.analysis-item p {
    margin-top: 8px;
    color: var(--dark-gray);
    line-height: 1.55;
}

.analysis-author {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 700;
}

.market-summary {
    background: #f7f7f7;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.market-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.indicator {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 14px var(--shadow);
    padding: 14px;
}

.indicator .label {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.indicator .value {
    margin-top: 6px;
    font-weight: 900;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.indicator .change {
    margin-top: 8px;
    color: var(--dark-gray);
    font-weight: 700;
}

.events-calendar .event-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f2;
}

.events-calendar .event-item:last-child {
    border-bottom: none;
}

.event-date {
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    gap: 2px;
    color: var(--dark-gray);
    font-weight: 900;
}

.event-date .day {
    font-size: 1.15rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.event-info h4 {
    font-size: 0.98rem;
    line-height: 1.25;
    color: var(--dark-gray);
}

.event-info p {
    margin-top: 6px;
    color: #3b4a47;
    line-height: 1.55;
}

.event-location {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #60716e;
    font-weight: 700;
}

.celebrity-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f2;
}

.celebrity-item:last-child {
    border-bottom: none;
}

.celebrity-item h4 {
    font-size: 0.98rem;
    color: var(--dark-gray);
    line-height: 1.25;
}

.celebrity-item p {
    margin-top: 8px;
    color: #3b4a47;
    line-height: 1.55;
}

.celebrity-time {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #60716e;
    font-weight: 700;
}

.fashion-trends .trend-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f2;
}

.fashion-trends .trend-item:last-child {
    border-bottom: none;
}

.fashion-trends .trend-item h4 {
    font-size: 0.98rem;
    color: var(--dark-gray);
}

.fashion-trends .trend-item span {
    font-size: 0.85rem;
    color: #60716e;
    font-weight: 800;
}

.main-content-area {
    min-width: 0;
}

.all-articles-grid {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .nav-menu {
        padding: 10px 12px 14px;
        gap: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 16px 30px var(--shadow);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .nav-menu li a {
        border-bottom-color: transparent;
        border-radius: 10px;
    }
}
