/* NEXTREND tech-news theme ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ loaded last to override legacy styles */

:root {
    --navy: #0A133A;
    --cyan: #10DFE6;
    --main-color: #10DFE6;
    --body-bg: #F3F4F6;
    --card-bg: #FFFFFF;
    --h-color: #0A133A;
    --e-color: #EEF1F6;
    --border-color: #E6EAF2;
    --icon-active: #0A133A;
    --icon-idle: #10DFE6;
    --subp-color: #6B7288;
    --link-color: #0A133A;
    --a-light: #FFFFFF;
    --shadow-color: rgba(16, 223, 230, 0.16);
    --sub-light: #FCFCFD;
    --border-input: #D9DEE9;
    --nt-radius: 16px;
    --nt-shadow: 0 10px 30px rgba(10, 19, 58, 0.08);
    --nt-font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

.dark-mode {
    --navy: #0A133A;
    --cyan: #10DFE6;
    --main-color: #10DFE6;
    --body-bg: #070B1C;
    --card-bg: #10183A;
    --h-color: #FFFFFF;
    --e-color: #0C1430;
    --border-color: #1C274D;
    --icon-active: #FFFFFF;
    --icon-idle: #10DFE6;
    --subp-color: #9AA4BF;
    --link-color: #10DFE6;
    --a-light: #FFFFFF;
    --shadow-color: rgba(16, 223, 230, 0.18);
    --sub-light: #0C1430;
    --border-input: #2A3560;
    --nt-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html,
body,
button,
input,
optgroup,
select,
textarea,
.form-control,
.btn,
.nav,
h1, h2, h3, h4, h5, h6,
p, a, span, li, label {
    font-family: var(--nt-font) !important;
}

html {
    scroll-padding-top: 140px;
    scroll-behavior: smooth;
}

.row {
    overflow: visible;
}

h1, h2, h3, h4, h5, h6,
.news-title,
.item-title,
.section-heading h1,
.section-heading h3,
.widget-title {
    color: var(--h-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--h-color);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--cyan);
    text-decoration: none;
}

/* ----- Sticky chrome / Navbar ----- */
.nt-chrome {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(10, 19, 58, 0.07);
}

.nt-chrome::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0 120px, var(--navy) 120px 100%);
}

.dark-mode .nt-chrome {
    background: var(--navy);
}

.dark-mode .nt-chrome::before {
    background: linear-gradient(90deg, var(--cyan) 0 120px, #15204a 120px 100%);
}

.urgent {
    position: relative !important;
    width: 100%;
    height: 42px !important;
    min-height: 42px;
    background: var(--navy) !important;
    overflow: hidden;
    top: auto !important;
    z-index: 1 !important;
}

.urgent .urgent-title {
    background: var(--cyan) !important;
    color: var(--navy) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 16px !important;
    margin-left: 12px;
}

.urgent .urgent-news,
.urgent .urgent-news a {
    color: #fff !important;
    font-weight: 600;
}

.urgent-swiper,
.urgent-swiper .swiper-wrapper,
.urgent-swiper .swiper-slide,
.urgent .urgent-content {
    height: 42px !important;
    min-height: 42px !important;
}

.header,
.header.header-custom-class {
    background: #FFFFFF !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(10, 19, 58, 0.08);
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
    margin-bottom: 0 !important;
}

.content {
    padding-top: 8px !important;
}

.dark-mode .header,
.dark-mode .header.header-custom-class {
    background: var(--navy) !important;
}

.header .navbar,
.header .navbar .upper-navbar {
    display: none !important;
}

.nt-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 8px 0;
}

.header .nav-logo {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header .nav-logo .nav-menu {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
}

.header .nav-logo .nav-menu:hover {
    background: rgba(16, 223, 230, 0.18);
}

.header .nav-logo .nav-menu svg {
    width: 22px;
    height: 22px;
    fill: var(--navy);
}

.dark-mode .header .nav-logo .nav-menu svg {
    fill: #fff;
}

.nt-logo-link {
    display: flex !important;
    align-items: center;
    min-height: 0 !important;
}

.nt-logo-link .site-logo {
    height: 52px;
    max-width: 160px;
    width: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.nt-logo-link .author {
    display: none;
}

.nt-chrome,
.header,
.header .container,
.nt-nav,
.nt-cats {
    overflow: visible;
}

.nt-cats {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 50;
}

.nt-cats .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.nt-cats .nav-link {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    white-space: nowrap;
    position: relative;
}

.nt-cats > .nav-links > .nav-link:hover,
.nt-cats > .nav-links > .nav-link:focus-within {
    z-index: 130;
}

.nt-cats > .nav-links > .nav-link::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 12px;
}

.nt-cats .nav-link > a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy) !important;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nt-cats .nav-link > a:hover,
.nt-cats .nav-link:hover > a,
.nt-cats .nav-link.active > a,
.nt-cats .nav-link > a[aria-current="page"] {
    color: var(--navy) !important;
    background: rgba(16, 223, 230, 0.16);
    box-shadow: inset 0 -2px 0 var(--cyan);
}

.nt-cats .nav-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.7;
}

.nt-cats .nav-link-dropdown,
.nt-cats .nav-link-dropdown-l2 {
    position: absolute !important;
    min-width: 200px;
    padding: 8px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(10, 19, 58, 0.08) !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(10, 19, 58, 0.12) !important;
    overflow: visible;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nt-cats .nav-link-dropdown {
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
}

.nt-cats .nav-link-dropdown-l2 {
    top: 0 !important;
    right: calc(100% + 6px) !important;
    left: auto !important;
    transform: translateX(8px);
}

.nt-cats .nav-link:hover > .nav-link-dropdown,
.nt-cats .nav-link:focus-within > .nav-link-dropdown,
.nt-cats .nav-link-dropdown .nav-link:hover > .nav-link-dropdown-l2,
.nt-cats .nav-link-dropdown .nav-link:focus-within > .nav-link-dropdown-l2 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
}

.nt-cats .nav-link-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid rgba(10, 19, 58, 0.08);
    border-top: 1px solid rgba(10, 19, 58, 0.08);
    transform: rotate(-45deg);
}

.nt-cats .nav-link-dropdown ul {
    margin: 0;
    padding: 0;
}

.nt-cats .nav-link-dropdown ul li {
    padding: 0 !important;
    margin: 0;
    border-radius: 10px;
}

.nt-cats .nav-link-dropdown ul li a,
.nt-cats .nav-link-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px !important;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy) !important;
}

.nt-cats .nav-link-dropdown ul li:hover,
.nt-cats .nav-link-dropdown ul li:hover a,
.nt-cats .nav-link-dropdown a:hover {
    background: rgba(16, 223, 230, 0.14) !important;
    color: var(--navy) !important;
    transform: none !important;
}

.nt-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nt-search {
    position: relative;
    width: 210px;
}

.nt-search .form-control {
    height: 42px;
    border-radius: 999px;
    background: #F3F4F6;
    border: 1px solid transparent;
    padding: 0 16px 0 42px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
}

.nt-search .form-control::placeholder {
    color: #8b93a7;
    font-weight: 500;
}

.nt-search .form-control:focus {
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 223, 230, 0.2);
}

.nt-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-search .search-icon svg {
    width: 18px;
    height: 18px;
    fill: #7b8499;
}

.nt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--cyan);
    color: var(--navy) !important;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(16, 223, 230, 0.28);
}

.nt-btn:hover {
    color: var(--navy) !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(16, 223, 230, 0.36);
}

.nt-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background: #F3F4F6;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nt-icon-btn:hover {
    background: rgba(16, 223, 230, 0.18);
    box-shadow: 0 0 0 3px rgba(16, 223, 230, 0.15);
}

.nt-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--navy);
}

.down-nav-container {
    display: none !important;
}

/* ----- Hero ----- */
.nt-hero {
    padding: 28px 0 8px;
}

.nt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 20px;
}

.nt-hero-featured {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    min-height: 460px;
    background: var(--navy);
    box-shadow: var(--nt-shadow);
}

.nt-hero-featured figure,
.nt-hero-featured .post-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    min-height: 460px;
}

.nt-hero-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.nt-hero-featured:hover {
    box-shadow: 0 0 0 3px rgba(16, 223, 230, 0.35), var(--nt-shadow);
}

.nt-hero-featured:hover img {
    transform: scale(1.05);
}

.nt-hero-featured .news-date {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
}

.nt-hero-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 19, 58, 0.05) 20%, rgba(10, 19, 58, 0.88) 100%);
    z-index: 1;
}

.nt-hero-featured .nt-hero-copy {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 32px;
    color: #fff;
}

.nt-hero-featured .news-title,
.nt-hero-featured .nt-hero-copy .news-title {
    color: #fff !important;
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 10px 0 8px;
}

.nt-hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.nt-side-card {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    min-height: 124px;
    flex: 1;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 8px 22px rgba(10, 19, 58, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dark-mode .nt-side-card {
    background: var(--card-bg);
}

.nt-side-card:hover {
    border-color: rgba(16, 223, 230, 0.7);
    box-shadow: 0 14px 30px rgba(10, 19, 58, 0.12);
    transform: translateY(-3px);
}

.nt-side-card figure {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    aspect-ratio: 1 / 1;
    align-self: center;
    border-radius: 14px;
    overflow: hidden;
    background: var(--e-color);
    flex-shrink: 0;
    z-index: 1;
}

.nt-side-card img {
    position: absolute !important;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.35s ease;
}

.nt-side-card:hover img {
    transform: scale(1.06);
}

.nt-side-body {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 2px 0;
}

.nt-side-body .nt-badge {
    margin-bottom: 8px;
    background: var(--navy) !important;
    color: var(--cyan) !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
}

.nt-side-card .news-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--navy) !important;
    word-break: break-word;
}

.nt-side-card:hover .news-title {
    color: var(--cyan) !important;
}

.dark-mode .nt-side-card .news-title {
    color: #fff !important;
}

.nt-side-card .news-date {
    color: var(--subp-color);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
}

/* ----- Badges ----- */
.nt-badge,
.cat-badge,
.news-cat-badge {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    background: var(--cyan) !important;
    color: var(--navy) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    line-height: 1.2 !important;
}

/* ----- Article cards ----- */
.news-card,
.related-card.news-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--nt-radius);
    overflow: hidden;
    box-shadow: var(--nt-shadow);
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dark-mode .news-card,
.dark-mode .related-card.news-card {
    background: var(--card-bg);
}

.news-card:hover,
.related-card.news-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(16, 223, 230, 0.16), var(--nt-shadow);
    transform: translateY(-3px);
}

.news-card > a,
.related-card.news-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-card .news-overlay,
.related-card .news-overlay {
    display: none;
}

.news-card figure.news-image,
.related-card figure.news-image {
    position: relative;
    width: 100%;
    height: 190px;
    min-height: 190px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--e-color);
}

.news-card figure.news-image img,
.related-card figure.news-image img {
    transition: transform 0.4s ease;
}

.news-card:hover figure.news-image img,
.related-card:hover figure.news-image img {
    transform: scale(1.07);
}

.news-card .news-cat-badge,
.related-card .news-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.news-card .header-news-content,
.related-card .header-news-content {
    position: relative !important;
    background: transparent !important;
    padding: 16px 16px 18px !important;
    margin: 0 !important;
}

.news-card .news-title,
.related-card .news-title,
.latest-news .latest-news-big .news-card a .header-news-content .news-title {
    color: var(--navy) !important;
    font-size: 1.05rem !important;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark-mode .news-card .news-title,
.dark-mode .related-card .news-title,
.dark-mode .latest-news .latest-news-big .news-card a .header-news-content .news-title {
    color: #fff !important;
}

.nt-excerpt {
    color: var(--subp-color);
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-date,
.related-card .news-date {
    color: var(--subp-color);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card .news-date svg,
.related-card .news-date svg {
    width: 14px;
    height: 14px;
    fill: var(--cyan);
}

/* Category overlay cards on inner pages */
.header-posts {
    padding-top: 24px;
}

.header-posts .header-post {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--nt-shadow);
}

.header-posts .header-post a .header-post-content .news-title,
.header-posts .box-1 a .header-post-content .news-title,
.header-posts .box-2 .header-post a .header-post-content .news-title,
.header-posts .box-3 .header-post a .header-post-content .news-title,
.header-posts .box-4 .header-post a .header-post-content .news-title,
.header-posts .box-5 .header-post a .header-post-content .news-title,
.categories .categories-content .category-part .category-part-container .category-post-big a .category-post-content .news-title,
.videos .videos-content .video-card a .video-card-content .news-title,
.video-card-content .news-title {
    color: #fff !important;
    font-weight: 800;
}

.header-posts .box-1 a .header-post-content .news-title {
    font-size: 2rem;
}

/* ----- Sections: unified navy pill headers ----- */
.section-header-main,
.nt-related-header,
.nt-feed-header,
.poll-header .section-header,
.search-page .section-header,
.latest-news-small > .section-header,
.post-sidebar .latest-news-small > .section-header,
.post-sidebar .section-header.nt-feed-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    padding: 11px 22px !important;
    background: var(--navy) !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    border-right: 5px solid var(--cyan) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 22px rgba(10, 19, 58, 0.12);
    position: relative;
    font-family: var(--nt-font);
}

.section-header-main .section-heading,
.nt-related-header .nt-related-title,
.nt-feed-header .section-heading,
.poll-header .section-heading,
.search-page .section-header .section-heading,
.latest-news-small > .section-header .section-heading,
.post-sidebar .section-header .section-heading {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    min-width: 0;
}

.section-header-main .section-heading h1,
.section-header-main .section-heading h2,
.section-header-main .section-heading h3,
.section-header-main .section-heading .widget-title,
.section-header-main > .section-heading:not(:has(*)),
.nt-related-title,
.nt-feed-header .section-heading h1,
.nt-feed-header .section-heading h3,
.nt-feed-header .section-heading .widget-title,
.poll-header .section-heading h3,
.search-page .section-header .section-heading h1,
.latest-news-small .section-header .widget-title,
.post-sidebar .section-header .widget-title,
.post-sidebar .urgent-news .section-header .section-heading h1,
.post-sidebar .urgent-news .section-header .section-heading h3,
.post-sidebar .urgent-news .section-header .section-heading .widget-title,
.post-related .section-header-main .section-heading,
.related-posts-section .section-header-main .section-heading {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    font-family: var(--nt-font);
    position: static;
}

.section-heading h1::after,
.section-heading h2::after,
.section-heading h3::after,
.widget-title::after,
.nt-related-title::after {
    content: none !important;
    display: none !important;
}

.section-header-main .section-actions,
.nt-feed-header .section-actions,
.poll-header .section-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin: 0 !important;
}

.section-header-main .section-actions a,
.nt-feed-header .section-actions a,
.nt-feed-more,
.poll-header .section-actions .hide-poll,
.poll-header .section-actions span {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--cyan) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    white-space: nowrap;
    /* Arrow on the left, "ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¹ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ±ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¶ ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ§ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ" to its right */
    direction: ltr;
    flex-direction: row-reverse;
}

.section-header-main .section-actions a:hover,
.nt-feed-more:hover,
.poll-header .section-actions .hide-poll:hover {
    color: #fff !important;
}

.section-header-main .section-actions a span,
.nt-feed-header .section-actions a span,
.nt-feed-more span,
.section-header-main .section-actions a span {
    color: var(--cyan) !important;
    margin: 0 !important;
    order: 0;
}

.section-header-main .section-actions svg,
.nt-feed-header .section-actions svg,
.nt-feed-more svg,
.poll-header .section-actions svg {
    width: 18px;
    height: 18px;
    fill: var(--cyan) !important;
    border: none !important;
    border-radius: 0 !important;
    flex-shrink: 0;
    order: 0;
}

.section-header-main .section-actions a:hover svg,
.nt-feed-more:hover svg,
.section-header-main .section-actions a:hover span {
    fill: #fff !important;
    color: #fff !important;
}

.search-page .section-header .section-span,
.search-page .section-header .section-span span {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.latest-news,
.videos,
.categories,
.albums {
    padding-top: 12px;
    padding-bottom: 8px;
}

.latest-news-small,
.categories-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--nt-shadow);
}

.dark-mode .latest-news-small,
.dark-mode .categories-sidebar {
    background: var(--card-bg);
}

.news-card-small a:hover .news-title,
.news-card-small .news-title:hover {
    color: var(--cyan) !important;
}

.categories .category-post-big {
    border-radius: 18px;
    overflow: hidden;
}

/* ----- Footer ----- */
.footer {
    background: var(--navy) !important;
    background-image: none !important;
    color: #fff;
    margin-top: 40px;
    font-family: var(--nt-font);
}

.footer .footer-container {
    padding: 48px 0 28px;
}

.footer .footer-container .footer-logo .site-logo {
    height: 72px;
    max-width: 180px;
    background: #fff;
    border-radius: 14px;
    padding: 8px 12px;
    object-fit: contain;
}

.footer .footer-container .footer-logo .author {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.88) !important;
}

.footer .footer-container .footer-logo .author .pretitle,
.footer .footer-container .footer-logo .author span {
    color: var(--cyan) !important;
    font-weight: 700;
}

.footer a,
.footer .footer-head,
.footer .footer-head a,
.footer span,
.footer p,
.footer h3,
.footer .copyrights,
.footer .footer-container .footer-col .footer-head,
.footer .footer-container .footer-col .footer-head a,
.footer .footer-container .footer-col ul li,
.footer .footer-container .footer-col ul li span,
.footer .footer-container .footer-col ul li a {
    color: #fff !important;
}

.footer .footer-container .footer-col {
    text-align: right !important;
    display: block !important;
    width: 100%;
    margin-bottom: 8px;
}

.footer .footer-container .footer-col .footer-head,
.footer .footer-container .footer-col .footer-head a {
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 8px;
}

.footer .footer-container .footer-col .footer-head::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--cyan);
}

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

.footer .footer-container .footer-col ul li {
    margin: 0 0 10px !important;
    font-size: 0.92rem !important;
    line-height: 1.5;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer .footer-container .footer-col ul li a {
    color: rgba(255, 255, 255, 0.86) !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    font-weight: 600;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer .footer-container .footer-col ul li a:hover,
.footer a:hover {
    color: var(--cyan) !important;
    transform: translateX(-4px);
}

.footer .footer-container .footer-social ul li a svg {
    fill: #fff !important;
}

.footer .footer-container .footer-social ul li a:hover svg {
    fill: var(--cyan) !important;
}

.footer .newsletter,
.footer .footer-container .newsletter {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 22px 18px;
    width: 100%;
}

.footer .newsletter span,
.footer .footer-container .newsletter span {
    display: block;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff !important;
}

.footer .newsletter .form-control,
.footer .footer-container .newsletter .form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid transparent !important;
    color: var(--navy) !important;
    border-radius: 999px;
    height: 44px;
    font-weight: 600;
}

.footer .newsletter .form-control::placeholder,
.footer .footer-container .newsletter .form-control::placeholder {
    color: #6b7288 !important;
    opacity: 1 !important;
}

.footer .newsletter button,
.footer .newsletter button[type="submit"],
.footer .footer-container .newsletter button {
    background: var(--cyan) !important;
    color: var(--navy) !important;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    height: 44px;
    padding: 0 18px;
    width: 100%;
    margin-top: 10px;
}

.footer .copyrights {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0 10px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 600;
}

.footer .site-logo--dark {
    display: none !important;
}

.footer .site-logo--light {
    display: inline-block !important;
}

.footer .author .pretitle,
.footer .author span {
    color: var(--cyan) !important;
}

/* Buttons / forms across the site */
button,
.btn,
.save-btn {
    font-family: var(--nt-font);
}

.save-btn,
.settings-container .save-btn {
    background: var(--cyan) !important;
    color: var(--navy) !important;
}

.form-group .form-control:focus {
    border-color: var(--cyan);
}

/* Mobile menu polish */
.big-nav {
    background: #fff;
    font-family: var(--nt-font);
}

.dark-mode .big-nav {
    background: var(--navy);
}

.big-nav .big-nav-header-title {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.big-nav .nav-link a:hover,
.big-nav .nav-links a:hover {
    color: var(--cyan);
}

.big-nav .nt-btn {
    width: calc(100% - 24px);
    margin: 12px;
}

@media (max-width: 1199.98px) {
    .nt-search {
        width: 180px;
    }

    .nt-hero-featured,
    .nt-hero-featured figure,
    .nt-hero-featured .post-image {
        min-height: 400px;
    }
}

@media (max-width: 991.98px) {
    .header .nav-logo .nav-menu {
        display: flex;
    }

    .nt-cats,
    .nt-search {
        display: none;
    }

    .nt-nav {
        min-height: 64px;
        justify-content: space-between;
    }

    .nt-hero-grid {
        grid-template-columns: 1fr;
    }

    .nt-hero-featured,
    .nt-hero-featured figure,
    .nt-hero-featured .post-image {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .nt-logo-link .site-logo {
        height: 44px;
        max-width: 132px;
    }

    .nt-hero-featured .nt-hero-copy {
        padding: 18px;
    }

    .nt-hero-featured .nt-hero-copy .news-title {
        font-size: 1.35rem;
    }

    .nt-side-card {
        gap: 12px;
        padding: 10px;
        min-height: 112px;
    }

    .nt-side-card figure {
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        height: 96px;
        min-height: 96px;
        max-height: 96px;
    }

    .nt-hero-side {
        gap: 14px;
    }
}

/* =========================================================
   NEXTREND feed lists ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ urgent + latest (unified cards)
   ========================================================= */

.nt-feed,
.latest-news-small.nt-feed {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.nt-feed .section-side-news {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--nt-shadow);
    margin-bottom: 20px;
    padding: 12px;
}

.nt-feed-header {
    margin-bottom: 10px !important;
}

.nt-feed-header--urgent {
    background: var(--navy) !important;
}

.nt-feed-more {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    color: var(--cyan) !important;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nt-feed-more svg {
    fill: var(--cyan) !important;
    border: none !important;
}

.nt-feed-more:hover {
    color: #fff !important;
}

.nt-feed-more:hover svg {
    fill: #fff !important;
}

.post-sidebar .urgent-news .section-header.nt-feed-header .section-actions a span {
    color: var(--cyan) !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
}

.post-sidebar .urgent-news .section-header.nt-feed-header .section-actions a svg {
    fill: var(--cyan) !important;
    border: none !important;
}

.nt-feed-list,
.nt-feed .latest-news-small-container {
    padding: 4px 0 !important;
    background: var(--card-bg) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.nt-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none !important;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.18s ease, transform 0.18s ease;
}

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

.nt-feed-item:hover {
    background: rgba(16, 223, 230, 0.08);
}

.nt-feed-item:hover .news-title {
    color: var(--cyan) !important;
}

.nt-feed-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 2px 10px;
    margin-top: 2px;
    border-radius: 8px;
    background: var(--cyan);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.nt-feed-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(16, 223, 230, 0.18);
}

.nt-feed-body {
    flex: 1;
    min-width: 0;
}

.nt-feed-item .news-title,
.nt-feed-item .item-title {
    margin: 0 0 6px !important;
    color: var(--h-color) !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-feed-item .news-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    color: var(--subp-color);
    font-size: 0.8rem;
    line-height: 1.3;
}

.nt-feed-item .news-info span + span::before {
    content: "ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ·";
    margin-left: 10px;
    margin-right: 0;
    opacity: 0.55;
}

[dir="rtl"] .nt-feed-item .news-info span + span::before {
    margin-left: 0;
    margin-right: 10px;
}

.nt-feed-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(16, 223, 230, 0.12);
    color: var(--navy);
    transition: background 0.18s ease;
}

.nt-feed-arrow svg {
    fill: var(--navy);
}

.nt-feed-item:hover .nt-feed-arrow {
    background: var(--cyan);
}

.nt-feed-item--thumb {
    align-items: center;
}

.nt-feed-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--e-color);
}

.nt-feed-thumb img,
.nt-feed-thumb picture,
.nt-feed-thumb figure {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0;
}

.nt-feed-thumb figure {
    background-size: cover;
    background-position: center;
}

/* Kill legacy urgent black/yellow chrome */
.post-sidebar .urgent-news .section-header:not(.nt-feed-header) {
    background: var(--navy) !important;
    border-right-color: var(--cyan) !important;
}

.post-sidebar .urgent-news .section-header:not(.nt-feed-header) .section-heading h3,
.post-sidebar .urgent-news .section-header:not(.nt-feed-header) .section-heading h1 {
    color: #fff !important;
}

/* Hide old "??????" buttons if any leftover markup */
.news-card-small .more-btn,
.news-card-small .btn-more,
.urgent-news .news-card-small > a.btn,
.urgent-news .latest-news-small-container .btn {
    display: none !important;
}

.nt-list-page .nt-feed .section-side-news {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .section-header-main,
    .nt-related-header,
    .nt-feed-header,
    .poll-header .section-header,
    .search-page .section-header,
    .latest-news-small > .section-header {
        padding: 10px 16px !important;
        border-radius: 999px !important;
    }

    .section-header-main .section-heading h1,
    .section-header-main .section-heading h2,
    .section-header-main .section-heading h3,
    .nt-related-title,
    .nt-feed-header .section-heading .widget-title,
    .latest-news-small .section-header .widget-title {
        font-size: 1.02rem !important;
    }

    .nt-feed-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .nt-feed-thumb {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .nt-feed-item .news-title {
        font-size: 0.94rem !important;
    }
}

/* =========================================================
   NEXTREND related articles section
   ========================================================= */

.nt-related {
    margin-top: 28px;
    padding-top: 8px;
}

.nt-related-header {
    margin-bottom: 16px !important;
}

.nt-related-title {
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    font-family: var(--nt-font);
}

.nt-related-title::after {
    content: none !important;
}

.nt-related .related-grid > [class*="col-"] {
    margin-bottom: 24px !important;
}

.nt-related .related-grid > [class*="col-"] .related-card,
.nt-related .related-grid > [class*="col-"] .news-card,
.nt-related .related-grid > [class*="col-"] .video-main-card {
    margin-bottom: 0;
}

.nt-related-card.related-card.news-card,
.nt-related .related-card.news-card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 19, 58, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dark-mode .nt-related-card.related-card.news-card,
.dark-mode .nt-related .related-card.news-card {
    background: var(--card-bg);
}

.nt-related-card:hover,
.nt-related .related-card.news-card:hover {
    border-color: rgba(16, 223, 230, 0.65);
    box-shadow: 0 14px 32px rgba(10, 19, 58, 0.12);
    transform: translateY(-4px);
}

.nt-related-card figure.news-image,
.nt-related .related-card figure.news-image,
.post-page .nt-related .news-card a .news-image {
    height: 168px !important;
    min-height: 168px !important;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.nt-related-card .news-cat-badge,
.nt-related .related-card .news-cat-badge,
.post-page .nt-related .news-card a .news-cat-badge {
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    background: var(--navy) !important;
    color: var(--cyan) !important;
    border-radius: 8px !important;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.nt-related-card .header-news-content,
.nt-related .related-card .header-news-content,
.post-page .nt-related .news-card a .header-news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 15px 16px !important;
    background: transparent !important;
}

.nt-related-card .related-card-title,
.nt-related-card .news-title,
.post-page .nt-related .related-card-title,
.post-page .nt-related .header-news-content .news-title {
    color: var(--navy) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
    -webkit-line-clamp: 2;
    min-height: calc(1.5em * 2);
}

.dark-mode .nt-related-card .related-card-title,
.dark-mode .nt-related-card .news-title,
.dark-mode .post-page .nt-related .related-card-title {
    color: #fff !important;
}

.nt-related-card:hover .related-card-title,
.nt-related-card:hover .news-title {
    color: var(--cyan) !important;
}

.nt-related-card .nt-excerpt {
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0 0 14px;
    -webkit-line-clamp: 2;
    flex: 1;
}

.nt-related-card .news-date {
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.nt-related-card .news-date svg {
    fill: var(--cyan);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nt-related-card .news-date span {
    color: var(--subp-color);
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .nt-related-card figure.news-image,
    .nt-related .related-card figure.news-image {
        height: 150px !important;
        min-height: 150px !important;
    }
}
/* Reinforce unified pill headers against legacy main.css */
.poll .poll-header .section-header,
.poll-show .poll-header .section-header,
.latest-news .latest-news-small .section-header,
.post-sidebar .latest-news-small .section-header,
.categories .categories-sidebar .categories-sidebar-section .section-header,
.search-page .sidebar-filter .section-header {
    background: var(--navy) !important;
    border-right: 5px solid var(--cyan) !important;
    border-radius: 999px !important;
    color: #fff !important;
    padding: 11px 22px !important;
}

.poll .poll-header .section-header .section-heading h3,
.poll-show .poll-header .section-header .section-heading h3,
.latest-news .latest-news-small .section-header .section-heading h3,
.latest-news .latest-news-small .section-header .widget-title {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
}

.section-header-main .section-actions a span,
.latest-news .latest-news-small .section-header .section-actions a span {
    color: var(--cyan) !important;
    margin-left: 6px !important;
}

.section-header-main .section-heading h3 {
    background: transparent !important;
    border-right: none !important;
    color: #fff !important;
    padding: 0 !important;
}
/* =========================================================
   NEXTREND videos section
   ========================================================= */

.videos {
    background: var(--body-bg) !important;
    background-image: none !important;
    padding: 36px 0 48px !important;
    margin-top: 24px !important;
}

.videos .videos-content,
.videos .videos-content.nt-videos {
    margin-top: 0 !important;
}

.videos .nt-videos .row > [class*="col-"] {
    margin-bottom: 1rem;
}

.videos .nt-videos .col-lg-6 > .row > [class*="col-"] {
    margin-bottom: 1rem;
}

.videos .nt-videos .col-lg-6 > .row > [class*="col-"]:nth-last-child(-n+2) {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .videos .nt-videos .col-lg-6 > .row > [class*="col-"]:nth-last-child(-n+2) {
        margin-bottom: 1rem;
    }

    .videos .nt-videos .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

.videos .nt-videos .video-card,
.videos .videos-content .video-card {
    position: relative;
    height: 100%;
    margin-bottom: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 19, 58, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.videos .nt-videos .video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(10, 19, 58, 0.16);
}

.videos .videos-content .video-card a,
.videos .nt-videos .video-card a {
    display: block;
    height: 100%;
    min-height: inherit;
}

.videos .videos-content .video-card a .video-card-overlay,
.videos .nt-videos .video-card a .video-card-overlay {
    border-radius: 16px !important;
    box-shadow: inset 0 -160px 60px -30px rgba(10, 19, 58, 0.88) !important;
}

.videos .videos-content .video-card a .video-card-image,
.videos .nt-videos .video-card a .video-card-image {
    border-radius: 16px !important;
}

.videos .box-1 .video-card {
    height: 460px !important;
}

.videos .box-3 .video-card {
    height: 222px !important;
}

.videos .nt-videos .col-lg-6 > .row {
    height: 100%;
}

.videos .nt-videos .col-lg-6 > .row > [class*="col-"] {
    display: flex;
}

.videos .videos-content .video-card a .play-vid,
.videos .nt-videos .video-card a .play-vid {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 3px solid var(--cyan);
    box-shadow: 0 8px 20px rgba(16, 223, 230, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.videos .nt-videos .video-card:hover a .play-vid {
    background: var(--cyan) !important;
    transform: translate(-50%, -50%) scale(1.06);
}

.videos .box-3 .video-card a .play-vid {
    height: 48px !important;
    width: 48px !important;
    transform: translate(-50%, -50%) !important;
}

.videos .box-3 .video-card:hover a .play-vid {
    transform: translate(-50%, -50%) scale(1.06) !important;
}

.videos .videos-content .video-card a .video-card-content,
.videos .nt-videos .video-card a .video-card-content {
    bottom: 0 !important;
    padding: 18px 16px 16px;
    text-align: right !important;
}

.videos .videos-content .video-card a .video-card-content .cat-badge,
.videos .nt-videos .video-card a .video-card-content .cat-badge {
    display: inline-flex !important;
    margin: 0 0 8px auto !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    background: var(--navy) !important;
    color: var(--cyan) !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.videos .videos-content .video-card a .video-card-content .news-title,
.videos .videos-content .video-card a .video-card-content h2,
.videos .nt-videos .video-card a .video-card-content .news-title {
    color: #fff !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2;
}

.videos .box-3 .video-card a .video-card-content .news-title,
.videos .box-3 .video-card a .video-card-content h2 {
    font-size: 0.95rem !important;
}

.videos .videos-content .video-card a .video-card-content .news-date,
.videos .nt-videos .video-card a .video-card-content .news-date {
    text-align: right !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

.videos .videos-content .video-card a .video-card-content .news-date svg {
    fill: var(--cyan) !important;
}

.videos .videos-content .video-card a .video-card-content .news-date span {
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 !important;
}

@media (max-width: 991.98px) {
    .videos .box-1 .video-card,
    .videos .box-3 .video-card {
        height: 240px !important;
    }
}

@media (max-width: 575.98px) {
    .videos .box-1 .video-card,
    .videos .box-3 .video-card {
        height: 210px !important;
    }
}
/* Latest news grid uses same card chrome as related articles */
.latest-news-big .nt-news-grid > [class*="col-"],
.latest-news .nt-news-grid > [class*="col-"] {
    margin-bottom: 24px !important;
}

.latest-news-big .nt-related-card,
.latest-news .nt-related-card,
.categories-page .nt-related-card,
.city-page .nt-related-card {
    height: 100%;
}

.latest-news-big .nt-related-card .news-cat-badge,
.latest-news .nt-related-card .news-cat-badge {
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    background: var(--navy) !important;
    color: var(--cyan) !important;
    border-radius: 8px !important;
}
/* Trending sidebar ? same horizontal cards, no image/text overlap */
.latest-news-small.nt-trending {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.nt-trending-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nt-trending-card.nt-side-card {
    flex: 0 0 auto;
    min-height: 108px;
}

.nt-trending-card.nt-side-card figure {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
}

.nt-trending-card .news-title {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
}

@media (max-width: 575.98px) {
    .nt-side-card {
        gap: 12px;
        padding: 10px;
        min-height: 112px;
    }

    .nt-side-card figure {
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        height: 96px;
        min-height: 96px;
        max-height: 96px;
    }

    .nt-hero-side {
        gap: 14px;
    }
}
/* =========================================================
   NEXTREND ? global responsive + dark-mode hard fixes
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    background: var(--body-bg) !important;
    color: var(--h-color);
    overflow-x: hidden;
}

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

/* Do NOT override Bootstrap .container max-widths */

/* ---------- Dark mode: chrome / nav ---------- */
.dark-mode .nt-chrome {
    background: #0A133A !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dark-mode .header .nav-logo .nav-menu {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .nt-cats .nav-link > a {
    color: rgba(255, 255, 255, 0.92) !important;
}

.dark-mode .nt-cats .nav-link > a:hover,
.dark-mode .nt-cats .nav-link.active > a,
.dark-mode .nt-cats .nav-link > a[aria-current="page"] {
    color: #fff !important;
    background: rgba(16, 223, 230, 0.18);
}

.dark-mode .nt-cats .nav-link-dropdown,
.dark-mode .nt-cats .nav-link-dropdown-l2,
.dark-mode .nt-cats .nav-link-dropdown::before {
    background: #10183A !important;
    border-color: #1C274D !important;
}

.dark-mode .nt-cats .nav-link-dropdown ul li a,
.dark-mode .nt-cats .nav-link-dropdown a {
    color: #fff !important;
}

.dark-mode .nt-cats .nav-link-dropdown ul li:hover,
.dark-mode .nt-cats .nav-link-dropdown ul li:hover a,
.dark-mode .nt-cats .nav-link-dropdown a:hover {
    background: rgba(16, 223, 230, 0.16) !important;
    color: var(--cyan) !important;
}

.dark-mode .nt-search .form-control {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .nt-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.dark-mode .nt-search .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cyan);
}

.dark-mode .nt-search .search-icon svg {
    fill: rgba(255, 255, 255, 0.7);
}

.dark-mode .nt-icon-btn {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .nt-icon-btn svg {
    fill: #fff;
}

.dark-mode .nt-icon-btn:hover {
    background: rgba(16, 223, 230, 0.18);
}

/* ---------- Dark mode: surfaces / text ---------- */
.dark-mode .content,
.dark-mode .latest-news,
.dark-mode .videos,
.dark-mode .categories,
.dark-mode .albums,
.dark-mode .shows,
.dark-mode .ingograph,
.dark-mode .cat-vid {
    background: var(--body-bg) !important;
    background-image: none !important;
}

.dark-mode .nt-side-card,
.dark-mode .news-card,
.dark-mode .related-card.news-card,
.dark-mode .nt-related-card,
.dark-mode .nt-feed .section-side-news,
.dark-mode .post-sidebar .latest-news-small-container,
.dark-mode .settings-container,
.dark-mode .settings-content,
.dark-mode .big-nav,
.dark-mode .poll,
.dark-mode .contact-banner,
.dark-mode .form-control,
.dark-mode .search-page .latest-news-small-container {
    background: var(--card-bg) !important;
    color: var(--h-color);
}

.dark-mode .nt-side-card,
.dark-mode .news-card,
.dark-mode .related-card,
.dark-mode .nt-related-card,
.dark-mode .nt-feed .section-side-news {
    border-color: var(--border-color) !important;
}

.dark-mode .news-title,
.dark-mode .item-title,
.dark-mode .related-card-title,
.dark-mode .header-news-content .news-title,
.dark-mode .nt-side-card .news-title,
.dark-mode .nt-feed-item .news-title,
.dark-mode .nt-related-card .news-title,
.dark-mode .post-page .post-title,
.dark-mode .post-page h1,
.dark-mode .post-page h2,
.dark-mode .post-page h3,
.dark-mode .static-page-render,
.dark-mode .static-page-render p,
.dark-mode .static-page-render li,
.dark-mode .about-page,
.dark-mode .contact-page,
.dark-mode .terms-page,
.dark-mode .privacy-page {
    color: #fff !important;
}

.dark-mode .nt-excerpt,
.dark-mode .news-date,
.dark-mode .news-date span,
.dark-mode .news-info,
.dark-mode .news-info span,
.dark-mode .nt-feed-item .news-info,
.dark-mode .subp,
.dark-mode .post-page .post-content,
.dark-mode .post-page .post-content p {
    color: var(--subp-color) !important;
}

.dark-mode .nt-side-card:hover .news-title,
.dark-mode .nt-related-card:hover .news-title,
.dark-mode .nt-feed-item:hover .news-title,
.dark-mode .news-card:hover .news-title {
    color: var(--cyan) !important;
}

.dark-mode .form-control,
.dark-mode input,
.dark-mode textarea,
.dark-mode select {
    background: #0C1430 !important;
    border-color: var(--border-input) !important;
    color: #fff !important;
}

.dark-mode .form-control::placeholder,
.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.dark-mode .settings-container,
.dark-mode .settings-content,
.dark-mode .settings-content-container {
    background: var(--card-bg) !important;
    color: #fff;
}

.dark-mode .settings-header,
.dark-mode .settings-line,
.dark-mode .settings-line label,
.dark-mode .settings-line span {
    color: #fff !important;
}

.dark-mode .big-nav {
    background: #0A133A !important;
    color: #fff;
}

.dark-mode .big-nav a,
.dark-mode .big-nav .nav-link a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .footer {
    background: #0A133A !important;
    background-image: none !important;
}

.dark-mode .footer a,
.dark-mode .footer span,
.dark-mode .footer p,
.dark-mode .footer h3,
.dark-mode .footer .copyrights {
    color: #fff !important;
}

.dark-mode .nt-feed-item {
    border-bottom-color: var(--border-color);
}

.dark-mode .nt-feed-item:hover {
    background: rgba(16, 223, 230, 0.08);
}

.dark-mode .nt-feed-arrow {
    background: rgba(16, 223, 230, 0.16);
}

.dark-mode .nt-feed-arrow svg {
    fill: var(--cyan);
}

.dark-mode .pagination .page-link,
.dark-mode .page-item .page-link {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: #fff;
}

/* Frontend listing pagination â LTR numbers, Arabic summary, theme colors */
.nt-pagination-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 28px;
}

.nt-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.nt-pagination__list.pagination {
    direction: ltr;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nt-pagination .page-item {
    margin: 0;
}

.nt-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    background: var(--card-bg);
    color: var(--navy) !important;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nt-pagination .page-link svg {
    display: block;
}

.nt-pagination .page-item.active .page-link {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
}

.nt-pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
    background: var(--e-color);
    color: var(--subp-color) !important;
}

.nt-pagination .page-link:hover {
    background: rgba(16, 223, 230, 0.14);
    border-color: var(--cyan) !important;
    color: var(--navy) !important;
}

.nt-pagination .page-item.active .page-link:hover {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
}

.nt-pagination__ellipsis {
    letter-spacing: 0.12em;
}

.nt-pagination__info {
    margin: 0;
    color: var(--subp-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.nt-pagination__info span {
    color: var(--navy);
    font-weight: 800;
}

.dark-mode .nt-pagination .page-link {
    background: var(--card-bg);
    border-color: var(--border-color) !important;
    color: #fff !important;
}

.dark-mode .nt-pagination .page-item.active .page-link,
.dark-mode .nt-pagination .page-item.active .page-link:hover {
    background: var(--cyan) !important;
    border-color: var(--cyan) !important;
    color: var(--navy) !important;
}

.dark-mode .nt-pagination .page-item.disabled .page-link {
    background: var(--e-color);
    color: var(--subp-color) !important;
}

.dark-mode .nt-pagination .page-link:hover {
    background: rgba(16, 223, 230, 0.16);
    color: #fff !important;
}

.dark-mode .nt-pagination__info span {
    color: #fff;
}

@media (max-width: 575.98px) {
    .nt-pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
}

.dark-mode .breadcrumb,
.dark-mode .breadcrumb a,
.dark-mode .breadcrumb-item,
.dark-mode .breadcrumb-item.active {
    color: var(--subp-color) !important;
}

.dark-mode .table,
.dark-mode table {
    color: #fff;
}

.dark-mode .modal-content,
.dark-mode .dropdown-menu {
    background: var(--card-bg);
    color: #fff;
    border-color: var(--border-color);
}

.dark-mode .post-page .post-content a {
    color: var(--cyan) !important;
}

.dark-mode .section-header-main .section-actions a span {
    color: var(--cyan) !important;
}

/* Keep navy brand surfaces readable in dark mode */
.dark-mode .section-header-main,
.dark-mode .nt-related-header,
.dark-mode .nt-feed-header,
.dark-mode .poll-header .section-header,
.dark-mode .search-page .section-header,
.dark-mode .latest-news-small > .section-header {
    background: #0A133A !important;
    color: #fff !important;
}

.dark-mode .videos .nt-videos .video-card,
.dark-mode .videos .videos-content .video-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 110px;
    }

    .content {
        padding-top: 4px !important;
    }

    .nt-hero {
        padding: 16px 0 4px;
    }

    .nt-hero-grid {
        gap: 14px;
    }

    .section-header-main,
    .nt-related-header,
    .nt-feed-header,
    .poll-header .section-header,
    .search-page .section-header,
    .latest-news-small > .section-header {
        padding: 10px 14px !important;
        gap: 8px;
    }

    .section-header-main .section-heading h1,
    .section-header-main .section-heading h2,
    .section-header-main .section-heading h3,
    .nt-related-title {
        font-size: 1.05rem !important;
    }

    .section-header-main .section-actions a,
    .nt-feed-more {
        font-size: 0.82rem;
    }

    .latest-news-big .nt-news-grid > [class*="col-"],
    .nt-related .related-grid > [class*="col-"] {
        margin-bottom: 18px !important;
    }

    .post-page > .container > .row > [class*="col-lg-"],
    .post-page > .container > .row > [class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .post-sidebar {
        margin-top: 24px;
    }

    .footer .footer-container {
        padding: 36px 0 20px;
    }

    .footer .footer-container .footer-logo .site-logo {
        height: 60px;
    }

    .videos .box-1 .video-card,
    .videos .box-3 .video-card {
        height: 230px !important;
    }

    .nt-nav-actions .nt-btn {
        padding: 0 14px;
        font-size: 0.82rem;
        height: 40px;
    }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 767.98px) {
    .nt-hero-featured,
    .nt-hero-featured figure,
    .nt-hero-featured .post-image {
        min-height: 260px !important;
    }

    .nt-hero-featured .nt-hero-copy .news-title {
        font-size: 1.25rem !important;
    }

    .nt-side-card {
        min-height: 0;
    }

    .urgent {
        height: 38px !important;
        min-height: 38px;
    }

    .urgent .urgent-title,
    .urgent-swiper,
    .urgent .urgent-content {
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        font-size: 0.75rem !important;
    }

    .latest-news-big .nt-news-grid > [class*="col-"],
    .nt-related .related-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .videos .nt-videos .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .videos .box-1 .video-card,
    .videos .box-3 .video-card {
        height: 200px !important;
    }

    .footer .row > [class*="col-"] {
        margin-bottom: 18px;
    }

    .section-header-main {
        flex-wrap: nowrap;
    }

    .section-header-main .section-heading {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 90px);
    }

    .nt-related-card figure.news-image,
    .latest-news-big .nt-related-card figure.news-image {
        height: 180px !important;
        min-height: 180px !important;
    }
}

@media (max-width: 575.98px) {
    .nt-nav {
        min-height: 58px;
        gap: 8px;
        padding: 6px 0;
    }

    .nt-nav-actions {
        gap: 6px;
    }

    .nt-icon-btn {
        width: 38px;
        height: 38px;
    }

    .nt-nav-actions .nt-btn {
        height: 38px;
        padding: 0 12px;
        font-size: 0.78rem;
    }

    .nt-logo-link .site-logo {
        height: 40px;
        max-width: 120px;
    }

    .section-header-main,
    .nt-related-header,
    .nt-feed-header,
    .poll-header .section-header,
    .search-page .section-header,
    .latest-news-small > .section-header {
        border-radius: 999px !important;
        padding: 9px 12px !important;
    }

    .section-header-main .section-actions a span {
        display: none;
    }

    .nt-feed-more span {
        display: inline;
    }

    .nt-side-card {
        gap: 10px;
        padding: 10px;
    }

    .nt-side-card figure {
        width: 88px;
        min-width: 88px;
        max-width: 88px;
        height: 88px;
        min-height: 88px;
        max-height: 88px;
    }

    .nt-side-card .news-title {
        font-size: 0.88rem;
    }

    .nt-related-card .news-title,
    .nt-related-card .related-card-title {
        font-size: 0.95rem !important;
        min-height: 0;
    }

    .nt-related-card .nt-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .footer .footer-container .footer-logo .site-logo {
        height: 52px;
        max-width: 140px;
    }

    .settings-container {
        width: 100%;
        max-width: 100%;
    }

    .big-nav {
        width: min(100vw, 320px);
    }
}

/* Keep mobile rows inside Bootstrap container padding */
@media (max-width: 575.98px) {
    .videos .nt-videos .row > [class*="col-"],
    .latest-news-big .nt-news-grid > [class*="col-"],
    .nt-related .related-grid > [class*="col-"] {
        margin-bottom: 16px !important;
    }
}
/* Dark mode: footer newsletter stays readable on navy */
.dark-mode .footer .newsletter .form-control,
.dark-mode .footer .footer-container .newsletter .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.dark-mode .footer .newsletter button,
.dark-mode .footer .newsletter button[type="submit"] {
    background: var(--cyan) !important;
    color: var(--navy) !important;
}

/* Dark mode: category home blocks */
.dark-mode .categories .category-post-content .news-title,
.dark-mode .category-post-big .news-title {
    color: #fff !important;
}

.dark-mode .album .album-content h2,
.dark-mode .album .album-content .news-title {
    color: #fff !important;
}

.dark-mode .copyrights,
.dark-mode .copyrights a {
    color: rgba(255, 255, 255, 0.8) !important;
}