/*
Theme Name: NEWS211
Theme URI: https://www.news211.com.ng/
Author: NEWS211
Description: Modern responsive Nigerian news magazine theme for NEWS211 — Your News, Your Voice.
Version: 1.3
License: GPL-2.0-or-later
Text Domain: news211
*/

/* =========================================================
   NEWS211 — GLOBAL VARIABLES
   ========================================================= */

:root {
    --n-red: #e21b23;
    --n-red-dark: #b81219;
    --n-red-light: #fff1f2;

    --n-black: #111318;
    --n-black-2: #181b21;
    --n-ink: #1d2229;
    --n-gray: #6b7280;
    --n-gray-light: #9ca3af;

    --n-light: #f5f6f8;
    --n-light-2: #f8f9fa;
    --n-white: #ffffff;

    --n-border: #e5e7eb;
    --n-border-dark: #d5d8dd;

    --n-max: 1240px;
    --n-radius: 7px;
    --n-radius-lg: 10px;

    --n-shadow: 0 8px 28px rgba(17, 19, 24, 0.08);
    --n-shadow-hover: 0 14px 35px rgba(17, 19, 24, 0.13);

    --n-transition: 0.22s ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--n-white);
    color: var(--n-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--n-transition),
        background-color var(--n-transition),
        opacity var(--n-transition);
}

a:hover {
    color: var(--n-red);
}

p {
    margin-top: 0;
}

ul,
ol {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 32px), var(--n-max));
    margin-inline: auto;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(226, 27, 35, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.n-topbar {
    background: var(--n-black);
    color: #ffffff;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.n-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.n-date {
    color: #d5d7db;
    opacity: 0.9;
}

.n-top-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.n-top-links a {
    color: #d5d7db;
}

.n-top-links a:hover {
    color: #ffffff;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.n-header {
    position: relative;
    background: var(--n-white);
    border-bottom: 1px solid var(--n-border);
    z-index: 100;
}

.n-header-main {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.n-brand {
    display: inline-flex;
    align-items: center;
    color: var(--n-black);
    font-size: 40px;
    font-weight: 950;
    letter-spacing: -2.5px;
    line-height: 1;
    white-space: nowrap;
}

.n-brand .red {
    color: var(--n-red);
}

.n-brand:hover {
    color: var(--n-black);
}

.n-tagline {
    padding-left: 2px;
    color: var(--n-gray);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.n-search {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    width: 290px;
}

.n-search input {
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--n-border-dark);
    border-right: 0;
    border-radius: 5px 0 0 5px;
    padding: 8px 12px;
    color: var(--n-ink);
    background: #ffffff;
    outline: none;
}

.n-search input:focus {
    border-color: var(--n-red);
}

.n-search button {
    min-width: 48px;
    border: 0;
    background: var(--n-red);
    color: #ffffff;
    border-radius: 0 5px 5px 0;
    font-weight: 900;
    transition: background-color var(--n-transition);
}

.n-search button:hover {
    background: var(--n-red-dark);
}

.n-menu-toggle {
    display: none;
    border: 0;
    background: var(--n-black);
    color: #ffffff;
    border-radius: 5px;
    padding: 9px 12px;
    font-weight: 800;
    line-height: 1;
}

.n-menu-toggle:hover {
    background: var(--n-red);
}


/* =========================================================
   PRIMARY NAVIGATION
   ========================================================= */

.n-nav {
    background: #ffffff;
    border-top: 1px solid #f1f2f4;
    border-bottom: 1px solid var(--n-border);
}

.n-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.n-nav ul::-webkit-scrollbar {
    display: none;
}

.n-nav li {
    margin: 0;
}

.n-nav a {
    position: relative;
    display: block;
    padding: 13px 16px;
    color: var(--n-black);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.n-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 3px;
    background: var(--n-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--n-transition);
}

.n-nav a:hover,
.n-nav .current-menu-item > a,
.n-nav .current_page_item > a {
    color: var(--n-red);
}

.n-nav a:hover::after,
.n-nav .current-menu-item > a::after,
.n-nav .current_page_item > a::after {
    transform: scaleX(1);
}


/* =========================================================
   BREAKING NEWS
   ========================================================= */

.n-breaking {
    background: var(--n-red);
    color: #ffffff;
}

.n-breaking-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.n-breaking-label {
    flex: 0 0 auto;
    background: var(--n-black);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 2px;
}

.n-breaking-title {
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.n-section-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 950;
    line-height: 1.2;
    margin: 34px 0 18px;
    letter-spacing: -0.4px;
}

.n-section-title::before {
    content: "";
    width: 5px;
    height: 27px;
    flex: 0 0 5px;
    background: var(--n-red);
    border-radius: 2px;
}

.n-meta {
    color: var(--n-gray);
    font-size: 12px;
    line-height: 1.4;
}

.n-cat {
    display: inline-block;
    width: fit-content;
    background: var(--n-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.35px;
    line-height: 1.2;
}

.n-placeholder {
    min-height: 180px;
    background: #e9ebef;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.n-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.n-hero-main,
.n-hero-card {
    position: relative;
    overflow: hidden;
    background: var(--n-black);
    border-radius: var(--n-radius-lg);
    isolation: isolate;
}

.n-hero-main {
    min-height: 475px;
}

.n-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.n-hero-card {
    min-height: 228px;
}

.n-hero-main img,
.n-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}

.n-hero-main:hover img,
.n-hero-card:hover img {
    transform: scale(1.035);
    opacity: 0.9;
}

.n-overlay {
    position: absolute;
    z-index: 1;
    inset: 20% 0 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.12) 25%,
            rgba(0, 0, 0, 0.9) 100%
        );
}

.n-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: #ffffff;
}

.n-hero-content h1,
.n-hero-content h2 {
    color: #ffffff;
}

.n-hero-content h1 {
    font-size: clamp(30px, 3.1vw, 43px);
    line-height: 1.04;
    margin: 9px 0 7px;
    letter-spacing: -1px;
    font-weight: 900;
}

.n-hero-content h2 {
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.12;
    margin: 8px 0 5px;
    font-weight: 900;
}

.n-hero .n-meta {
    color: #d6d8dc;
}


/* =========================================================
   MAIN CONTENT GRID
   ========================================================= */

.n-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: 30px;
    align-items: start;
}

.n-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 22px;
}

.n-card {
    min-width: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--n-border);
}

.n-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    background: #eef0f2;
    transition:
        transform 0.35s ease,
        opacity 0.3s ease;
}

.n-card > a:first-child {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.n-card > a:first-child:hover img {
    transform: scale(1.025);
    opacity: 0.94;
}

.n-card h3 {
    font-size: 19px;
    line-height: 1.22;
    margin: 9px 0 5px;
    font-weight: 850;
    letter-spacing: -0.2px;
}

.n-card h3:hover {
    color: var(--n-red);
}

.n-card .n-excerpt {
    color: #5d6470;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.n-widget {
    margin: 30px 0;
    padding: 16px;
    background: var(--n-light);
    border-top: 4px solid var(--n-black);
}

.n-widget:first-child {
    margin-top: 30px;
}

.n-widget h3 {
    margin: 0 0 11px;
    color: var(--n-black);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.n-side-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #dddddf;
}

.n-side-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.n-side-item:first-child {
    padding-top: 4px;
}

.n-side-item img {
    width: 92px;
    height: 64px;
    object-fit: cover;
    border-radius: 5px;
    background: #e5e7eb;
}

.n-side-item h4 {
    margin: 0;
    color: var(--n-ink);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.n-side-item h4:hover {
    color: var(--n-red);
}

.n-numbered {
    counter-reset: news;
}

.n-numbered .n-side-item {
    grid-template-columns: 34px minmax(0, 1fr);
}

.n-numbered .n-side-item::before {
    counter-increment: news;
    content: counter(news);
    color: var(--n-red);
    font-size: 25px;
    font-weight: 950;
    line-height: 1;
}


/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

.n-single {
    max-width: 930px;
    margin: 36px auto;
}

.n-single-title {
    margin: 10px 0;
    color: var(--n-black);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.04;
    letter-spacing: -1.7px;
    font-weight: 900;
}

.n-single-meta {
    margin: 11px 0 24px;
    color: var(--n-gray);
    font-size: 13px;
}

.n-single-featured {
    width: 100%;
    margin-bottom: 27px;
    border-radius: 7px;
    background: #eef0f2;
}

.n-entry {
    color: #272b31;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.82;
}

.n-entry p {
    margin: 0 0 1.15em;
}

.n-entry h2,
.n-entry h3,
.n-entry h4 {
    color: var(--n-black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    margin-top: 1.5em;
}

.n-entry h2 {
    font-size: 29px;
}

.n-entry h3 {
    font-size: 24px;
}

.n-entry blockquote {
    margin: 28px 0;
    padding: 13px 20px;
    background: var(--n-light);
    border-left: 4px solid var(--n-red);
    color: #454b54;
    font-style: italic;
}

.n-entry a {
    color: var(--n-red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.n-entry ul,
.n-entry ol {
    margin-bottom: 1.3em;
}

.n-entry img {
    margin: 24px auto;
    border-radius: 6px;
}


/* =========================================================
   SEARCH & PAGE HEADERS
   ========================================================= */

.n-search-header {
    padding: 30px 0 2px;
}

.n-search-header h1 {
    margin: 0;
    color: var(--n-black);
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.n-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 28px 0;
}

.n-pagination a,
.n-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--n-border);
    border-radius: 4px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.n-pagination a:hover {
    border-color: var(--n-red);
    color: var(--n-red);
}

.n-pagination .current {
    background: var(--n-black);
    color: #ffffff;
    border-color: var(--n-black);
}


/* =========================================================
   FOOTER
   ========================================================= */

.n-footer {
    margin-top: 55px;
    background: var(--n-black);
    color: #c9cbd0;
}

.n-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    padding: 45px 0;
}

.n-footer h3 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.25;
}

.n-footer p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.7;
}

.n-footer a {
    color: #c9cbd0;
}

.n-footer a:hover {
    color: #ffffff;
}

.n-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.n-footer li {
    margin-bottom: 8px;
    font-size: 13px;
}

.n-footer-bottom {
    border-top: 1px solid #30333a;
    padding: 17px 0;
    color: #9297a0;
    font-size: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .n-header-main {
        min-height: 78px;
    }

    .n-brand {
        font-size: 36px;
    }

    .n-search {
        width: 250px;
    }

    .n-content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

    .n-hero-main {
        min-height: 430px;
    }

    .n-hero-card {
        min-height: 206px;
    }

    .n-hero-content {
        padding: 23px;
    }
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    .container {
        width: min(calc(100% - 28px), var(--n-max));
    }

    .n-tagline,
    .n-search {
        display: none;
    }

    .n-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .n-nav {
        display: none;
        border-top: 1px solid var(--n-border);
    }

    .n-nav.n-open {
        display: block;
    }

    .n-nav ul {
        display: block;
        overflow: visible;
    }

    .n-nav a {
        padding: 13px 3px;
        border-bottom: 1px solid #eeeeee;
    }

    .n-nav a::after {
        display: none;
    }

    .n-nav li:last-child a {
        border-bottom: 0;
    }

    .n-breaking-inner {
        min-height: 40px;
    }

    .n-breaking-label {
        font-size: 10px;
    }

    .n-breaking-title {
        font-size: 12px;
    }

    .n-hero {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .n-hero-main {
        min-height: 390px;
    }

    .n-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 15px;
    }

    .n-hero-card {
        min-height: 200px;
    }

    .n-content-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .n-footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .n-widget {
        margin: 25px 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .container {
        width: calc(100% - 22px);
    }

    body {
        font-size: 15px;
    }

    .n-topbar {
        font-size: 11px;
    }

    .n-topbar-inner {
        min-height: 31px;
    }

    .n-top-links {
        display: none;
    }

    .n-header-main {
        min-height: 68px;
        gap: 10px;
    }

    .n-brand {
        font-size: 31px;
        letter-spacing: -2px;
    }

    .n-menu-toggle {
        padding: 9px 11px;
        font-size: 13px;
    }

    .n-breaking-inner {
        gap: 8px;
    }

    .n-breaking-label {
        padding: 5px 7px;
        font-size: 9px;
    }

    .n-breaking-title {
        font-size: 11px;
    }

    .n-hero {
        margin-top: 15px;
        gap: 12px;
    }

    .n-hero-main {
        min-height: 315px;
        border-radius: 6px;
    }

    .n-hero-side {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .n-hero-card {
        min-height: 205px;
        border-radius: 6px;
    }

    .n-hero-content {
        padding: 18px;
    }

    .n-hero-content h1 {
        font-size: 28px;
        line-height: 1.07;
        letter-spacing: -0.6px;
    }

    .n-hero-content h2 {
        font-size: 20px;
    }

    .n-section-title {
        margin: 27px 0 15px;
        font-size: 20px;
    }

    .n-section-title::before {
        width: 4px;
        height: 23px;
        flex-basis: 4px;
    }

    .n-news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .n-card {
        padding-bottom: 17px;
    }

    .n-card img {
        aspect-ratio: 16 / 9;
        border-radius: 5px;
    }

    .n-card h3 {
        font-size: 18px;
        line-height: 1.24;
    }

    .n-card .n-excerpt {
        font-size: 12.5px;
    }

    .n-side-item {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .n-side-item img {
        width: 88px;
        height: 62px;
    }

    .n-single {
        margin: 27px auto;
    }

    .n-single-title {
        font-size: 33px;
        line-height: 1.07;
        letter-spacing: -0.9px;
    }

    .n-single-meta {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .n-single-featured {
        margin-bottom: 20px;
        border-radius: 5px;
    }

    .n-entry {
        font-size: 17px;
        line-height: 1.75;
    }

    .n-entry h2 {
        font-size: 25px;
    }

    .n-entry h3 {
        font-size: 21px;
    }

    .n-entry blockquote {
        margin: 22px 0;
        padding: 11px 15px;
    }

    .n-search-header {
        padding-top: 24px;
    }

    .n-search-header h1 {
        font-size: 27px;
    }

    .n-footer {
        margin-top: 40px;
    }

    .n-footer-main {
        padding: 35px 0;
        gap: 23px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 18px);
    }

    .n-brand {
        font-size: 28px;
    }

    .n-menu-toggle {
        padding: 8px 10px;
    }

    .n-hero-main {
        min-height: 290px;
    }

    .n-hero-content {
        padding: 15px;
    }

    .n-hero-content h1 {
        font-size: 25px;
    }

    .n-card h3 {
        font-size: 17px;
    }

    .n-single-title {
        font-size: 29px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================
   NEWS211 CAROUSEL
   ========================================= */

.n-carousel {
    position: relative;
    width: 100%;
    height: 520px;
    margin: 24px 0 36px;
    overflow: hidden;
    border-radius: 10px;
    background: #111318;
}

.n-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.n-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.n-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.n-carousel-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.n-carousel-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.n-carousel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22252b;
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
}

.n-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.48) 42%,
            rgba(0, 0, 0, 0.08) 100%
        );
}

.n-carousel-content {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px;
    color: #ffffff;
}

.n-carousel-content h2 {
    max-width: 850px;
    margin: 12px 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 800;
}

.n-carousel-content h2 a {
    color: #ffffff;
    text-decoration: none;
}

.n-carousel-content h2 a:hover {
    text-decoration: underline;
}

.n-carousel-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.n-carousel-prev,
.n-carousel-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 22px;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.n-carousel-prev:hover,
.n-carousel-next:hover {
    background: #e21b23;
}

.n-carousel-prev {
    left: 18px;
}

.n-carousel-next {
    right: 18px;
}

.n-carousel-dots {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 18px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.n-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.n-carousel-dot.is-active {
    width: 24px;
    border-radius: 10px;
    background: #e21b23;
}


/* MOBILE */

@media (max-width: 767px) {

    .n-carousel {
        height: 430px;
        margin-top: 16px;
        border-radius: 6px;
    }

    .n-carousel-content {
        padding: 24px 20px 46px;
    }

    .n-carousel-content h2 {
        font-size: 27px;
        line-height: 1.12;
    }

    .n-carousel-prev,
    .n-carousel-next {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 18px;
    }

    .n-carousel-prev {
        left: 10px;
    }

    .n-carousel-next {
        right: 10px;
    }

}

/* =========================================================
   NEWS211 HEADER - ENHANCED
   ========================================================= */

.n-topbar {
    background: #111318;
    color: #ffffff;
    font-size: 13px;
}

.n-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.n-date {
    color: rgba(255,255,255,.75);
}

.n-top-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.n-top-links a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s ease;
}

.n-top-links a:hover {
    color: #ffffff;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.n-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.n-header-main {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 24px;
}


/* LOGO */

.n-brand {
    flex: 0 0 auto;
    color: #111318;
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -2.5px;
    text-decoration: none;
}

.n-brand .red {
    color: #e21b23;
}

.n-brand:hover {
    text-decoration: none;
}


/* TAGLINE */

.n-tagline {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}


/* SEARCH */

.n-search {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    width: min(330px, 100%);
}

.n-search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dfe3e8;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    outline: none;
    background: #ffffff;
    color: #111318;
    font-size: 14px;
}

.n-search input:focus {
    border-color: #e21b23;
    box-shadow: 0 0 0 2px rgba(226,27,35,.08);
}

.n-search button {
    height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: #e21b23;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.n-search button:hover {
    background: #b81219;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.n-nav {
    background: #111318;
}

.n-nav .container {
    min-height: 48px;
}

.n-primary-menu,
.n-nav ul {
    min-height: 48px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
}

.n-primary-menu > li,
.n-nav ul > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.n-primary-menu > li > a,
.n-nav ul > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease;
}

.n-primary-menu > li > a:hover,
.n-nav ul > li > a:hover,
.n-primary-menu > li.current-menu-item > a,
.n-nav ul > li.current-menu-item > a {
    background: #e21b23;
    color: #ffffff;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.n-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: #111318;
    cursor: pointer;
}

.n-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    transition: transform .2s ease;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .n-topbar-inner {
        min-height: 34px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .n-date {
        font-size: 11px;
    }

    .n-top-links {
        gap: 10px;
    }

    .n-top-links a {
        font-size: 11px;
    }


    /* MAIN HEADER */

    .n-header-main {
        min-height: 68px;
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }


    /* MENU BUTTON */

    .n-menu-toggle {
        display: block;
        flex: 0 0 42px;
    }


    /* LOGO */

    .n-brand {
        font-size: 29px;
        letter-spacing: -1.8px;
    }


    /* HIDE TAGLINE ON SMALL SCREENS */

    .n-tagline {
        display: none;
    }


    /* SEARCH */

    .n-search {
        width: auto;
        margin-left: auto;
    }

    .n-search input {
        width: 110px;
        height: 38px;
        font-size: 13px;
    }

    .n-search button {
        height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }


    /* NAVIGATION */

    .n-nav {
        display: none;
    }

    .n-nav.is-open {
        display: block;
    }

    .n-nav .container {
        padding-left: 0;
        padding-right: 0;
    }

    .n-primary-menu,
    .n-nav ul {
        display: block;
        min-height: 0;
    }

    .n-primary-menu > li,
    .n-nav ul > li {
        display: block;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .n-primary-menu > li > a,
    .n-nav ul > li > a {
        min-height: 46px;
        padding: 0 18px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .n-brand {
        font-size: 25px;
    }

    .n-search input {
        width: 80px;
    }

    .n-search button {
        font-size: 0;
        width: 40px;
        padding: 0;
    }

    .n-search button::before {
        content: "⌕";
        font-size: 21px;
    }

}

/* =========================================================
   NEWS211 BREAKING NEWS
   ========================================================= */

.n-breaking {
    width: 100%;
    background: #e21b23;
    color: #ffffff;
    overflow: hidden;
}

.n-breaking-inner {
    min-height: 42px;
    display: flex;
    align-items: stretch;
}


/* LABEL */

.n-breaking-label {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 108px;
    padding: 0 16px;
    background: #b81219;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
}


/* RED PULSE DOT */

.n-breaking-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.7);
    animation: news211-breaking-pulse 1.5s infinite;
}

@keyframes news211-breaking-pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,.65);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }

}


/* HEADLINE WINDOW */

.n-breaking-window {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}


/* MOVING TRACK */

.n-breaking-track {
    display: flex;
    width: max-content;
    align-items: center;
    white-space: nowrap;
    animation: news211-breaking-scroll 35s linear infinite;
}


/* HEADLINE */

.n-breaking-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.n-breaking-item::after {
    content: "•";
    position: absolute;
    right: 0;
    color: rgba(255,255,255,.65);
}

.n-breaking-item:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* ANIMATION */

@keyframes news211-breaking-scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* PAUSE WHEN HOVERED */

.n-breaking:hover .n-breaking-track {
    animation-play-state: paused;
}


/* MOBILE */

@media (max-width: 767px) {

    .n-breaking-inner {
        min-height: 38px;
    }

    .n-breaking-label {
        min-width: 88px;
        padding: 0 11px;
        font-size: 10px;
    }

    .n-breaking-pulse {
        width: 7px;
        height: 7px;
    }

    .n-breaking-item {
        padding: 0 18px;
        font-size: 12px;
    }

}


/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {

    .n-breaking-track {
        animation: none;
    }

    .n-breaking-pulse {
        animation: none;
    }

}

/* =========================================================
   NEWS211 ARTICLE CARDS
   ========================================================= */

.n-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.n-card:hover {
    transform: translateY(-4px);
    border-color: #d7dbe0;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}


/* =========================================================
   IMAGE
   ========================================================= */

.n-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef0f2;
}

.n-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.n-card:hover .n-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.n-card-image .n-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #20242a;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* =========================================================
   CARD BODY
   ========================================================= */

.n-card-body {
    padding: 16px 17px 17px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.n-card-category {
    margin-bottom: 9px;
}

.n-card-category .n-cat {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 3px;
    background: #e21b23;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
}

.n-card-category .n-cat:hover {
    background: #b81219;
    color: #ffffff;
}


/* =========================================================
   TITLE
   ========================================================= */

.n-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.n-card-title a {
    color: #17191d;
    text-decoration: none;
}

.n-card-title a:hover {
    color: #e21b23;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.n-card-excerpt {
    margin-top: 10px;
    color: #68707a;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   META
   ========================================================= */

.n-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    color: #8a919a;
    font-size: 11px;
    line-height: 1.4;
}

.n-card-author {
    font-weight: 700;
    color: #6b7280;
}

.n-card-separator {
    color: #c0c5ca;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .n-card {
        border-radius: 6px;
    }

    .n-card:hover {
        transform: none;
        box-shadow: none;
    }

    .n-card-body {
        padding: 13px 14px 15px;
    }

    .n-card-category {
        margin-bottom: 7px;
    }

    .n-card-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .n-card-excerpt {
        margin-top: 8px;
        font-size: 12px;
    }

    .n-card-meta {
        margin-top: 11px;
        font-size: 10px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .n-card-body {
        padding: 12px;
    }

    .n-card-title {
        font-size: 17px;
    }

}

/* =========================================================
   NEWS211 MOST READ
   ========================================================= */

.n-most-read {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}


/* =========================================================
   HEADING
   ========================================================= */

.n-widget-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.n-widget-heading h3 {
    flex: 0 0 auto;
    margin: 0;
    color: #17191d;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 850;
}

.n-widget-line {
    flex: 1;
    height: 3px;
    background: #e21b23;
}


/* =========================================================
   MOST READ LIST
   ========================================================= */

.n-most-read-list {
    display: flex;
    flex-direction: column;
}


/* =========================================================
   INDIVIDUAL ITEM
   ========================================================= */

.n-most-read-item {
    display: grid;
    grid-template-columns: 32px 96px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 0;
    border-bottom: 1px solid #eceef0;
}

.n-most-read-item:first-child {
    padding-top: 0;
}

.n-most-read-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}


/* =========================================================
   NUMBER
   ========================================================= */

.n-most-read-number {
    align-self: flex-start;
    color: #e21b23;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
}


/* =========================================================
   IMAGE
   ========================================================= */

.n-most-read-image {
    display: block;
    width: 96px;
    height: 68px;
    overflow: hidden;
    border-radius: 5px;
    background: #eef0f2;
}

.n-most-read-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.n-most-read-item:hover .n-most-read-image img {
    transform: scale(1.06);
}


/* =========================================================
   IMAGE PLACEHOLDER
   ========================================================= */

.n-most-read-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #20242a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.n-most-read-content {
    min-width: 0;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.n-most-read-category {
    display: inline-block;
    margin-bottom: 4px;
    color: #e21b23;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
}

.n-most-read-category:hover {
    color: #b81219;
}


/* =========================================================
   TITLE
   ========================================================= */

.n-most-read-content h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

.n-most-read-content h4 a {
    display: block;
    color: #202328;
    text-decoration: none;
}

.n-most-read-content h4 a:hover {
    color: #e21b23;
}


/* =========================================================
   META
   ========================================================= */

.n-most-read-meta {
    margin-top: 6px;
    color: #969da5;
    font-size: 10px;
    line-height: 1.2;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .n-most-read {
        padding: 16px;
        border-radius: 6px;
    }

    .n-widget-heading {
        margin-bottom: 15px;
    }

    .n-widget-heading h3 {
        font-size: 19px;
    }

    .n-most-read-item {
        grid-template-columns: 28px 88px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 0;
    }

    .n-most-read-number {
        font-size: 19px;
    }

    .n-most-read-image {
        width: 88px;
        height: 62px;
    }

    .n-most-read-content h4 {
        font-size: 13px;
        line-height: 1.3;
    }

    .n-most-read-meta {
        font-size: 9px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .n-most-read {
        padding: 14px;
    }

    .n-most-read-item {
        grid-template-columns: 25px 76px minmax(0, 1fr);
        gap: 8px;
    }

    .n-most-read-image {
        width: 76px;
        height: 56px;
    }

    .n-most-read-number {
        font-size: 17px;
    }

    .n-most-read-content h4 {
        font-size: 12px;
    }

}