/*
Theme Name: SCPPNEWS Theme
Theme URI: https://scppnews.com
Author: SCPPNEWS
Description: A high-performance, custom news theme.
Version: 1.0
License: protected to scppnews
Text Domain: scppnews
*/

/* === 1. CORE VARIABLES & RESET === */
:root {
    --primary: #d63638; /* News Red */
    --black: #111;
    --grey: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--grey);
    line-height: 1.6;
    margin: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2px;
}

img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    margin: -14px 0.20em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
    width: 1.4em !important;
    height: 1.4em !important;
    cursor: pointer;
}
#main-content {
    display: block !important;
    clear: both;
}

/* === 2. HEADER GENERAL === */
.scpp-header {
    background: var(--black);
    color: white;
    padding: 0;
    border-bottom: 4px solid var(--primary);
}

.logo {
    font-size: 32px;
    font-weight: 900;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: white;
    font-weight: 900;
}

.header-top-bar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 120px;
    margin-bottom: 0px;
}

.header-ad-slot {
    flex-shrink: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: anchor-center;
    justify-content: space-around;
}

.ad-placeholder {
    background: #eee;
    color: #eeeeee;
    text-align: center;
    max-height: 90px;
    max-width: 728px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    border-radius: 0px;
}

.navigation-bar {
    width: 100%;
    margin-top: 0px;
    position: relative;
}

/* Search Bar */
.search-bar {
    display: none;
    background: #333;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary);
}

.search-bar.active {
    display: block;
    width: 400px;
    margin-left: 34px;
    margin-top: -25px;
}

.search-form .input-group {
    display: flex;
}

.search-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
}

.btn-theme {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}



/* === 6. NAVIGATION – DESKTOP (BIG SCREENS) === */
.main-navigation {
    text-align: center;
    padding: 2px 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 16px; /* Clean, professional spacing between items */
}

.main-navigation > ul > li {
    position: relative;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

/* Dropdown submenu – centered under parent */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 220px;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
}

.main-navigation li:hover > ul {
    display: block;
}

.main-navigation ul ul a {
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    padding: 12px 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.main-navigation ul ul a:hover {
    background: #f5f5f5;
    color: var(--primary);
}

/* === 7. NAVIGATION – MOBILE (SMALL SCREENS) === */
@media (max-width: 768px) {
    .main-navigation {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 4px solid var(--primary);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .main-navigation.active {
        display: block; /* Shown when hamburger is clicked */
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .main-navigation > ul > li {
        border-bottom: 1px solid #eee;
    }

    .main-navigation > ul > li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        color: var(--black);
        font-size: 16px;
        font-weight: 600;
        padding: 18px 30px;
        text-transform: none;
    }

    .main-navigation a:hover {
        background: #f9f9f9;
        color: var(--primary);
    }

    /* Submenu on mobile – indented */
    .main-navigation ul ul {
        position: static;
        transform: none;
        background: #f8f8f8;
        box-shadow: none;
        padding-left: 40px;
        display: block;
    }

    .main-navigation ul ul a {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Hamburger button (add this HTML in header.php if not present) */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}


/* === 3. NEWS GRID & CARDS === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Card Image */
.card-image {
    position: relative;
    background: #000;
    overflow: hidden;
}

.card-image::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

.card-image a,
.card-image img,
.card-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.card-image img {
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/* Card Content */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #9d2829;
    white-space: nowrap;
}

.card-author-mini img {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    object-fit: fill;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #333;
    font-weight: 600;
}

.author-details strong {
    color: var(--black);
}

.post-count {
    color: #860038;
    font-weight: 800;
}

.card-date {
    color: var(--black);
    font-size: 10px;
}

.card-content h2 {
    font-size: 18px;
    margin: 5px 0 12px;
    line-height: 1.3;
    font-weight: 800;
}

.card-content h2 a {
    color: var(--black);
    text-decoration: none;
}

.excerpt p {
    margin: 10px 0 0;
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

.read-more-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #860038;
    border-radius: 50%;
    margin-top: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.read-more-circle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more-circle:hover {
    background-color: #5d0027;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.read-more-circle:hover svg {
    transform: translateX(2px);
}

.category-date-group {
    font-size: 11px;
    color: #444;
}

.category-date-group a {
    color: #860038 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
}

/* === 4. SINGLE ARTICLE === */
.single-article {
    max-width: 850px;
    margin: 40px auto;
    background: var(--white);
    padding: 60px 50px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-radius: 8px;
}

.featured-image {
    text-align: center;
    margin-bottom: 10px;
}

.featured-image img {
    max-width: 70%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-header {
    padding-bottom: 20px;
    max-width: 70%;
    margin-left: 15%;
}

.article-header h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    color: var(--black);
    margin: 10px 0;
    font-weight: 800;
}

.article-header .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #9d2829;
}

.author-badge {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    padding: 8px 15px 8px 8px;
    border: 1px solid #9d2829;
    border-radius: 50px;
}

.author-avatar img {
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-right: 12px;
}

.author-label {
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

.author-stats {
    font-size: 11px;
    color: var(--primary);
    margin-top: 2px;
}

.publish-date {
    font-size: 12px;
    color: #000;
    font-style: italic;
}

.content {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
}

.content p {
    margin-bottom: 25px;
}

.content h2,
.content h3 {
    margin: 45px 0 15px;
    color: var(--black);
    font-weight: 700;
}

/* === 5. BREAKING NEWS BAR – WITH SMALL THUMBNAILS ON RIGHT === */
.breaking-news-bar {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breaking-header {
    margin-bottom: 14px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 3px solid #d63638;
    position: relative;
}

.breaking-header::after {
content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 10px;
    background: #d63638;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(214, 54, 56, 0.3);
}

.breaking-label {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 9px 80px;
    border-radius: 4px;
}

.breaking-header h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 9px 0 0;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breaking-inner {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* Left: Two large cards */
.breaking-latest-grid {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.latest-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

.latest-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.latest-featured-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.latest-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.latest-featured-image:hover img {
    transform: scale(1.1);
}

.latest-featured-image .breaking-category {
    position: absolute;
    bottom: 0px;
    left: -1px;
    background: #860038;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.latest-content {
    padding: 30px;
}

.latest-content h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 800;
}

.latest-content h2 a {
    color: var(--black);
    text-decoration: none;
}

.latest-content h2 a:hover {
    color: var(--primary);
}

.latest-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.latest-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.latest-meta time {
    font-size: 15px;
    color: #777;
    font-style: italic;
}

.breaking-author-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9f9f9;
    padding: 4px 2px;
    border-radius: 4px;
    border: 1px solid #9d2829;
}

.breaking-author-mini img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: fill;
}

.breaking-author-mini .author-name {
    font-weight: 700;
    color: var(--black);
    font-size: 15px;
}

/* Right: 4 small items with small thumbnail */
.breaking-recent-small {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    align-self: start;
}

.small-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.small-item {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    padding: 2px 0;
    border-bottom: 6px solid #1e1e1e;
    background: #ffffff;
    border-radius: 0px;
    width: 340px;
    height: 148px;
}

.small-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.small-item:first-child {
    padding-top: 0;
}

.small-thumb {
    flex: 0 0 160px;
    height: 140px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.small-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.small-thumb:hover img {
    transform: scale(1.05);
}

.small-content {
    flex: 1;
}

.small-meta {
    display: flex;
    flex: 0 0 160px;
    margin-top: 109px;
    margin-left: -148px;
}

.breaking-category.small {
    color: #000000;
    padding: 0px 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: calc(10px - 2px);
}

.breaking-author-mini.tiny {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    padding: 4px 2px;
    border-radius: 4px;
    border: 1px solid #9d2829;
}

.breaking-author-mini.tiny img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: fill;
}

.breaking-author-mini.tiny .author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.small-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.small-title a {
    color: var(--black);
    text-decoration: none;
}

.small-title a:hover {
    color: var(--primary);
}

/* Major Topics Sections – KEEP ORIGINAL SMALL LIST STYLE (unchanged) */
.topic-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.topic-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.topic-title {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.topic-title a {
    color: var(--black);
    text-decoration: none;
}

.topic-title a:hover {
    color: var(--primary);
}

.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-thumb {
    margin-top: -20px;
    flex: 0 0 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.topic-content {
    flex: 1;
}

.topic-title-link {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
    color: var(--black);
    text-decoration: none;
    display: block;
}

.topic-title-link:hover {
    color: var(--primary);
}

.topic-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    color: #666;
}

/* === MAJOR TOPICS – LARGE CARD STYLE TO MATCH LATEST UPDATES (ADDED AT END TO OVERRIDE) === */
.major-topics {
    padding: 4px 0;
    background: var(--white);
}

.topic-section {
    margin-bottom: 4px;
}

.topic-section:last-child {
    margin-bottom: 0;
}

.topic-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    position: relative;
    padding-bottom: 15px;
}

.topic-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(214, 54, 56, 0.3);
}

.topic-title a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-title a:hover {
    color: var(--primary);
}

/* 3-column grid of large cards */
.topic-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Same card as latest-card */
.topic-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

.topic-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* Same image as latest-featured-image */
.topic-thumb {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.6s ease;
}

.topic-thumb:hover img {
    transform: scale(1.1);
}

.topic-thumb .breaking-category {
    position: absolute;
    bottom: 0px;
    left: -1px;
    background: #860038;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Same content as latest-content */
.topic-content {
    padding: 30px;
}

.topic-title-link {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
}

.topic-title-link:hover {
    color: var(--primary);
}

.topic-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.topic-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topic-meta time {
    font-size: 15px;
    color: #777;
    font-style: italic;
}

.breaking-author-mini.small {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9f9f9;
    padding: 4px 2px;
    border-radius: 4px;
    border: 1px solid #9d2829;
}

.breaking-author-mini.small img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: fill;
}

.breaking-author-mini.small .author-name {
    font-weight: 700;
    color: var(--black);
    font-size: 15px;
}

/* RESPONSIVE FOR MAJOR TOPICS */
@media (max-width: 1024px) {
    .topic-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .topic-thumb {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .topic-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .topic-thumb {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .topic-thumb {
        height: 220px;
    }
}

/* === 6. & 7. FULL RESPONSIVE – FINAL VERSION WITH 2x2 GRID ON MOBILE === */
/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .header-top-bar {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 25px 0;
    }

    .logo {
        font-size: 34px;
    }

    .header-ad-slot {
        order: -1;
        width: 100%;
        max-width: 728px;
        height: 90px;
    }

    .ad-placeholder {
        font-size: 14px;
    }

    .breaking-inner {
        flex-direction: column;
        gap: 40px;
    }

    .breaking-latest-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .breaking-recent-small {
        padding: 0px;
        margin-top: 0;
    }
}

/* Mobile & Small Tablets (768px and below) */
@media (max-width: 768px) {
    .logo {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .header-ad-slot {
        height: 90px;
        width: 100%;
    }

    .navbar-toggler,
    .search-toggle {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .navbar-toggler {
        right: 70px;
    }

    .search-toggle {
        left: 4px;
        top: -35px;
    }

    .site-branding {
        margin-top: -16px;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger {
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .hamburger::before {
        top: -9px;
    }

    .hamburger::after {
        bottom: -9px;
    }

    .navbar-toggler.active .hamburger {
        background: transparent;
    }

    .navbar-toggler.active .hamburger::before {
        transform: rotate(45deg) translate(6px, 6px);
        background: #feff00;
    }

    .navbar-toggler.active .hamburger::after {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #feff00;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17,17,17,0.98);
        padding-top: 100px;
        z-index: 1000;
        overflow-y: auto;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .main-navigation > ul > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #333;
    }

    .main-navigation a {
        color: white;
        font-size: 18px;
        font-weight: 700;
        padding: 22px;
        display: block;
    }

    .main-navigation a:hover {
        background: var(--primary);
    }

    .main-navigation ul ul {
        position: static;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        padding: 0;
    }

    .main-navigation ul ul a {
        padding: 16px 40px;
        font-size: 16px;
    }

    .search-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--black);
        padding: 15px 20px;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .search-bar.active {
        transform: translateY(0);
    }

    .search-form .input-group {
        flex-direction: column;
    }

    .search-form input {
        margin-bottom: 10px;
        padding: 14px;
        border-radius: 8px;
        font-size: 16px;
    }

    .btn-theme {
        padding: 14px;
        border-radius: 8px;
        font-size: 16px;
    }

    .breaking-news-bar {
        padding: 30px 0;
    }

    .breaking-header h3 {
        font-size: 24px;
    }

    .breaking-label {
        padding: 8px 40px;
    }

    .latest-featured-image {
        height: 240px;
    }

    .latest-content {
        padding: 20px;
    }

    .latest-content h2 {
        font-size: 20px;
    }

    .latest-excerpt {
        font-size: 15px;
    }

    .breaking-recent-small {
        padding: 0px;
        background: transparent;
        box-shadow: none;
    }

    .small-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .small-item {
        flex-direction: column;
        background: #f9f9f9;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .small-item:hover {
        transform: translateY(-6px);
    }

    .small-thumb {
        position: relative;
        width: 100%;
        height: 130px;
    }

    .small-thumb img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

    .breaking-category.small {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #860038;
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 700;
        z-index: 2;
    }

    .small-content {
        padding: 12px;
    }

    .small-title {
        font-size: 14px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .small-title a {
        color: var(--black);
        text-decoration: none;
    }

    .small-title a:hover {
        color: var(--primary);
    }

    .small-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
    }

    .breaking-author-mini.tiny {
        gap: 6px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .breaking-author-mini.tiny img {
        width: 22px;
        height: 22px;
    }

    .breaking-author-mini.tiny .author-name {
        font-size: 11px;
    }
}

/* Extra small phones (480px and below) */
@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    .navbar-toggler {
        right: 60px;
        width: 0px;
        height: 52px;
        top: -27px;
    }

    .search-toggle {
        left: 4px;
        top: -35px;
    }

    .site-branding {
        margin-top: -16px;
    }

    .breaking-header h3 {
        font-size: 22px;
    }

    .latest-content h2 {
        font-size: 19px;
    }

    .small-list {
        gap: 12px;
    }

    .small-thumb {
        height: 110px;
    }

    .small-title {
        font-size: 13.5px;
    }

    .breaking-category.small {
        font-size: 9px;
        padding: 3px 8px;
    }
}