/*
Theme Name: نبض - Nabd News
Theme URI: https://example.com/nabd
Author: Nabd
Description: قالب بوابة إخبارية عربي (RTL) بتصميم البوابات المصرية الكبرى: هيدر غامق بأيقونات الخدمات (الطقس، العملات، الذهب)، كلمات رائجة، واجهة شبكية، صندوق فيديو، مختارات، بلوكات أقسام ملونة، الأكثر قراءة، مقالات الرأي، وشريط عاجل سفلي — مع لوحة تحكم كاملة.
Version: 4.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nabd
Tags: news, magazine, rtl-language-support, custom-logo, custom-menu, featured-images, threaded-comments, two-columns
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--nb-accent: #e03322;
	--nb-link: #2f3ba2;
	--nb-dark: #1d1d1d;
	--nb-page: #f8f8f8;
	--nb-foot: #111111;
	--nb-font: "Tajawal", system-ui, sans-serif;
	--nb-w: 1100px;

	--nb-bg: #ffffff;
	--nb-card: #ffffff;
	--nb-text: #1d1d1d;
	--nb-text-2: #555555;
	--nb-muted: #8a8a8a;
	--nb-border: #e6e6e6;
	--nb-chip: #f2f2f2;
	--nb-r: 8px;
	--nb-gap: 16px;
	--nb-hdr: 50px;
}
:root[data-theme="dark"] {
	--nb-bg: #0d0d0d;
	--nb-page: #151515;
	--nb-card: #1f1f1f;
	--nb-text: #f1f1f1;
	--nb-text-2: #c4c4c4;
	--nb-muted: #9a9a9a;
	--nb-border: #2c2c2c;
	--nb-chip: #2a2a2a;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--nb-bg); color: var(--nb-text);
	font-family: var(--nb-font); font-size: var(--nb-fs, 16px); line-height: 1.6;
	direction: rtl; text-align: right; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nb-accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.5; font-family: var(--nb-font-h, var(--nb-font)); }
.nb-article__title, .nb-archive-head h1, .nb-tv__title, .nb-op__title, .nb-related__title, .nb-404 h1 { font-weight: var(--nb-hw, 700); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.nb-skip { position: absolute; top: -100px; right: 10px; z-index: 999; background: var(--nb-accent); color: #fff; padding: 8px 14px; border-radius: 6px; }
.nb-skip:focus { top: 10px; color: #fff; }
:focus-visible { outline: 2px solid var(--nb-accent); outline-offset: 2px; }
.nb-muted { color: var(--nb-muted); }
.nb-accent { color: var(--nb-accent); }
.nb-icon { flex-shrink: 0; }

.nb-btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 195px; height: 36px; padding: 0 22px; border: 0; border-radius: 6px;
	background: var(--nb-accent); color: #fff; font-weight: 700; font-size: 15px; transition: filter .15s;
}
.nb-btn:hover, .comment-form .submit:hover { color: #fff; filter: brightness(1.1); }

.nb-box { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); }

/* Placeholder when a post has no image */
.nb-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 80px; background: #2a2a2a; color: rgba(255, 255, 255, .25); font-weight: 700; }

/* =========================================================
   3. Header (dark bar · tools · dropdown panels)
   ========================================================= */
.nb-hdr {
	position: relative; z-index: 100; display: flex; align-items: stretch;
	height: var(--nb-hdr); background: var(--nb-dark); color: #b8b8b8;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 2px 10px rgba(0, 0, 0, .18);
}
.nb-sticky-header .nb-hdr { position: sticky; top: 0; }
.admin-bar.nb-sticky-header .nb-hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar.nb-sticky-header .nb-hdr { top: 0; } }

/* Burger */
.nb-burger {
	position: relative; width: 60px; flex-shrink: 0; border: 0; padding: 0;
	background: var(--nb-accent); transition: filter .2s;
}
.nb-burger:hover { filter: brightness(1.08); }
.nb-burger span {
	position: absolute; right: 15px; width: 30px; height: 3px; background: #fff; border-radius: 1px;
	transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nb-burger span:nth-child(1) { top: calc(50% - 10px); }
.nb-burger span:nth-child(2) { top: calc(50% - 1.5px); }
.nb-burger span:nth-child(3) { top: calc(50% + 7px); }
.nb-drawer-open .nb-burger span:nth-child(1) { top: calc(50% - 1.5px); transform: rotate(45deg); }
.nb-drawer-open .nb-burger span:nth-child(2) { opacity: 0; }
.nb-drawer-open .nb-burger span:nth-child(3) { top: calc(50% - 1.5px); transform: rotate(-45deg); }
/* Burger & tools scale with the header height */
.nb-burger { width: max(60px, calc(var(--nb-hdr) * 1.1)); }
.nb-burger span { right: calc(50% - 15px); }

/* Logo & date */
.nb-logo { display: flex; align-items: center; gap: 8px; padding: 0 18px; flex-shrink: 0; }
.nb-logo img { height: var(--nb-logo-h, 40px); max-height: calc(var(--nb-hdr) - 8px); width: auto; max-width: min(420px, 40vw); object-fit: contain; }
.nb-logo__text { color: #fff; font-size: calc(var(--nb-logo-h, 40px) * .68); font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.nb-logo__mark { width: calc(var(--nb-logo-h, 40px) * .8); height: calc(var(--nb-logo-h, 40px) * .8); border-radius: 50%; flex-shrink: 0; background: conic-gradient(from 200deg, #e03322 0 33%, #2f9e44 0 66%, #1c7ed6 0); box-shadow: 0 0 0 3px #f5b301, inset 0 0 0 5px var(--nb-dark); }
.nb-logo:hover .nb-logo__text { color: #fff; }
.nb-hdr__date { display: flex; align-items: center; padding: 0 18px; font-size: 16px; color: #b8b8b8; border-inline-start: 1px solid #333; white-space: nowrap; }

/* Tools */
.nb-tools { margin-inline-start: auto; display: flex; }
.nb-tools > ul { display: flex; align-items: stretch; height: 100%; }
.nb-tool { position: relative; display: flex; border-inline-start: 1px solid #333; }
.nb-tool__btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	min-width: 84px; height: 100%; padding: 5px 8px 4px; border: 0; background: transparent;
	color: #b8b8b8; font-size: 11px; line-height: 1.15; white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.nb-tool__btn .nb-licon { width: clamp(24px, calc(var(--nb-hdr) * .5), 36px); height: clamp(24px, calc(var(--nb-hdr) * .5), 36px); color: #d0d0d0; transition: color .2s, transform .2s; }
.nb-tool__btn { font-size: clamp(11px, calc(var(--nb-hdr) * .2), 13px); min-width: clamp(74px, calc(var(--nb-hdr) * 1.2), 92px); padding-inline: 6px; }
/* Keep the header inside the screen whatever the logo size */
html, body { overflow-x: clip; }
.nb-hdr { min-width: 0; }
.nb-logo { flex-shrink: 0; }
.nb-logo img { max-width: 100%; }
.nb-hdr__date { flex-shrink: 0; }
.nb-hdr__date.is-hidden { display: none; }
.nb-tools { flex-shrink: 0; }
@media (max-width: 1280px) { .nb-hdr__date { display: none; } }
.nb-tool__btn .nb-wart { width: clamp(34px, calc(var(--nb-hdr) * .68), 50px); height: auto; }
.nb-hdr__date { font-size: clamp(15px, calc(var(--nb-hdr) * .3), 18px); }
.nb-tool:hover > .nb-tool__btn, .nb-tool:focus-within > .nb-tool__btn, .nb-tool__btn:focus-visible { background: #444; color: #fff; }
.nb-tool:hover > .nb-tool__btn .nb-licon { color: #fff; }
.nb-tool__btn:hover { color: #fff; }
.nb-tool--weather .nb-tool__btn { flex-direction: row; gap: 6px; padding: 0 12px; }
.nb-tool--weather .nb-tool__btn b { font-size: clamp(22px, calc(var(--nb-hdr) * .42), 30px); font-weight: 700; color: #e6e6e6; line-height: 1; }
.nb-tool--weather .nb-tool__btn sup { font-size: 13px; vertical-align: 7px; margin-inline-start: 1px; }

/* Dropdown panel */
.nb-drop {
	position: absolute; top: 100%; inset-inline-end: -1px; width: 252px; z-index: 5;
	background: #444; color: #fff; border-radius: 0 0 8px 8px; text-align: right;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .2s ease-in-out, visibility .2s ease-in-out, transform .2s ease-in-out;
	transition-delay: .08s;
}
.nb-tool:hover > .nb-drop, .nb-tool:focus-within > .nb-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nb-drop__body { padding: 16px 16px 18px; }
.nb-drop p { margin: 0; }
.nb-drop__title { font-size: 20px; line-height: 1.55; color: #fff; text-align: center; }
.nb-drop__date { font-size: 14px; color: #8f8f8f; text-align: center; margin-top: 6px !important; }
.nb-drop__num { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 18px; font: 700 36px/1 Arial, sans-serif; color: #fff; direction: ltr; }
.nb-drop__num small { font: 400 15px var(--nb-font); color: #8f8f8f; direction: rtl; }
.nb-drop__more {
	display: flex; align-items: center; justify-content: center; gap: 10px; height: 40px;
	background: #333; color: #fff; font-size: 14px; border-radius: 0 0 8px 8px; transition: background .2s;
}
.nb-drop__more:hover { background: var(--nb-dark); color: #fff; }

/* Weather panel */
.nb-wx { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 6px; direction: ltr; }
.nb-wx__temps { display: flex; align-items: baseline; gap: 10px; direction: rtl; }
.nb-wx__temps b { font: 700 46px/1 Arial, sans-serif; color: #fff; }
.nb-wx__temps span { font: 400 26px/1 Arial, sans-serif; color: #7a7a7a; }
.nb-wx__temps sup { font-size: .45em; vertical-align: .9em; }
.nb-wx__meta { margin-top: 10px; font-size: 13px; color: #cfcfcf; display: grid; gap: 4px; }
.nb-wx__meta li { display: flex; align-items: center; gap: 6px; }
.nb-wx__meta .nb-licon { color: #9a9a9a; }

/* Prayer panel */
.nb-drop--prayer { width: 290px; }
.nb-drop__hijri { font-size: 14px; color: #fff; text-align: center; }
.nb-drop__city { font-size: 26px; color: #fff; text-align: center; margin: 20px 0 22px !important; line-height: 1.2; }
.nb-drop__sub { font-size: 14px; color: #8f8f8f; text-align: center; margin-bottom: 10px !important; }
.nb-count { display: flex; align-items: center; justify-content: center; gap: 8px; direction: ltr; }
.nb-count b { display: grid; place-items: center; width: 62px; height: 48px; background: #333; border-radius: 4px; font: 400 30px/1 Arial, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.nb-count i { font-style: normal; font: 700 26px/1 Arial, sans-serif; color: #fff; }

/* Archive calendar */
.nb-drop--cal { width: 236px; background: #fff; color: #1d1d1d; padding: 12px 12px 14px; border: 1px solid #e3e3e3; border-top: 0; }
.nb-cal__head { display: flex; align-items: center; justify-content: space-between; direction: ltr; margin-bottom: 10px; }
.nb-cal__head button { border: 0; background: none; width: 30px; height: 30px; display: grid; place-items: center; color: #1d1d1d; border-radius: 6px; }
.nb-cal__head button:hover { background: #f0f0f0; }
.nb-cal__head button[disabled] { color: #cfcfcf; pointer-events: none; }
.nb-cal__title { text-align: center; line-height: 1.25; }
.nb-cal__title b { display: block; font-size: 19px; font-weight: 500; }
.nb-cal__title small { color: #777; font-size: 13px; }
.nb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #e3e3e3; border-inline-start: 1px solid #e3e3e3; direction: ltr; }
.nb-cal__grid span, .nb-cal__grid a { display: grid; place-items: center; height: 30px; font-size: 12.5px; border-bottom: 1px solid #e3e3e3; border-inline-end: 1px solid #e3e3e3; font-family: Arial, sans-serif; }
.nb-cal__grid .is-dow { border: 0; height: 24px; color: var(--nb-accent); font-weight: 700; font-size: 10.5px; }
.nb-cal__grid a { color: #1d1d1d; transition: background .15s; }
.nb-cal__grid a:hover { background: #f2f2f2; color: var(--nb-accent); }
.nb-cal__grid .is-today { background: var(--nb-accent); color: #fff !important; }
.nb-cal__grid .is-future { color: #c8c8c8; }
.nb-cal__grid .is-dow:first-child, .nb-cal__grid .is-dow { border-top: 0; }
.nb-cal__wrap-dow { display: contents; }

/* Full-screen search */
.nb-search {
	position: fixed; inset: 0; z-index: 400; background: #fff; overflow-y: auto;
	opacity: 0; transition: opacity .2s ease-in-out;
}
.nb-search[hidden] { display: none; }
.nb-search.is-open { opacity: 1; }
.nb-search__close { position: absolute; top: 16px; left: 22px; width: 44px; height: 44px; border: 0; background: none; color: #1d1d1d; display: grid; place-items: center; border-radius: 50%; transition: background .2s, transform .2s; }
.nb-search__close:hover { background: #f2f2f2; transform: rotate(90deg); }
.nb-search__in { max-width: 1000px; margin: 0 auto; padding: 50px 24px 40px; transform: translateY(-10px); transition: transform .25s ease; }
.nb-search.is-open .nb-search__in { transform: none; }
.nb-search__form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid #e6e6e6; padding-bottom: 10px; transition: border-color .2s; }
.nb-search__form:focus-within { border-color: var(--nb-accent); }
.nb-search__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 34px; padding: 10px 0; color: #1d1d1d; }
.nb-search__form input::placeholder { color: #bdbdbd; }
.nb-search__form button { border: 0; background: none; color: #bdbdbd; padding: 0; transition: color .2s; }
.nb-search__form button:hover, .nb-search__form:focus-within button { color: var(--nb-accent); }
.nb-search__trend { margin-top: 56px; }
.nb-search__trend h3 { font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.nb-search__tags { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-search__tags a { height: 30px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 8px; background: #f2f2f2; font-size: 13px; color: #1d1d1d; transition: background .2s, color .2s; }
.nb-search__tags a:hover { background: var(--nb-dark); color: #fff; }

/* Side menu (drawer) */
.nb-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; transition: visibility 0s .25s; }
.nb-drawer.is-open { visibility: visible; transition: none; }
.nb-drawer__overlay { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .25s ease; }
.nb-drawer.is-open .nb-drawer__overlay { opacity: .85; }
.nb-drawer__panel {
	position: absolute; top: 0; bottom: 0; right: 0; width: 320px; max-width: 86vw;
	background: var(--nb-dark); color: #fff; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .25s ease;
}
.nb-drawer.is-open .nb-drawer__panel { transform: none; }
.nb-drawer__close {
	position: absolute; top: 0; left: -60px; width: 60px; height: var(--nb-hdr); border: 0;
	background: var(--nb-accent); color: #fff; display: grid; place-items: center;
	opacity: 0; transition: opacity .2s .1s;
}
.nb-drawer.is-open .nb-drawer__close { opacity: 1; }
.nb-drawer__close:hover { filter: brightness(1.08); }
.nb-drawer__head { height: 84px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nb-drawer__scroll { flex: 1; overflow-y: auto; padding: 0 20px 30px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.nb-drawer__services { display: flex; justify-content: space-around; align-items: center; padding: 10px 0 14px; border-bottom: 1px solid #333; direction: ltr; }
.nb-drawer__services a { display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 8px; transition: background .2s; }
.nb-drawer__services a:hover { background: #2b2b2b; }
.nb-drawer__wx small { color: #fff; font-size: 12px; align-self: flex-end; }
.nb-drawer__menu > li { position: relative; border-bottom: 1px solid #333; }
.nb-drawer__menu > li > a {
	display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 10px; margin: 0 -10px;
	color: #fff; font-size: 16px; font-weight: 500; transition: background .2s;
}
.nb-drawer__menu > li > a:hover, .nb-drawer__menu > li.is-open > a { background: #333; color: #fff; }
.nb-mi { display: grid; place-items: center; width: 24px; color: var(--mi, var(--nb-dicon, #fff)); }
.nb-mt { flex: 1; }
.nb-drawer__toggle {
	position: absolute; left: -10px; top: 0; width: 50px; height: 60px; border: 0; background: none; color: #fff;
	display: grid; place-items: center;
}
.nb-drawer__toggle .nb-licon { transition: transform .25s ease; }
.nb-drawer__menu .is-open > .nb-drawer__toggle .nb-licon { transform: rotate(-90deg); }
.nb-drawer__menu .sub-menu { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.nb-drawer__menu .is-open > .sub-menu { max-height: 800px; }
.nb-drawer__menu .sub-menu li { border-top: 1px solid #2c2c2c; }
.nb-drawer__menu .sub-menu a { display: block; padding: 0 16px; height: 50px; line-height: 50px; font-size: 14px; color: #8a8a8a; transition: color .2s, padding .2s; }
.nb-drawer__menu .sub-menu a:hover { color: #fff; padding-inline-start: 22px; }
.nb-drawer__extra { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 18px 0 6px; }
.nb-drawer__extra a { color: #9a9a9a; font-size: 13px; }
.nb-drawer__extra a:hover { color: #fff; }
.nb-social--drawer { padding: 14px 0 0; }
body.nb-lock { overflow: hidden; }

/* =========================================================
   4. Page box + trending
   ========================================================= */
.nb-wrap { max-width: var(--nb-w); margin: 0 auto; background: var(--nb-page); padding: 16px 16px 40px; min-height: 60vh; }

.nb-trending {
	display: flex; align-items: center; gap: 20px; background: var(--nb-card); border: 1px solid var(--nb-border);
	border-radius: var(--nb-r); padding: 20px 24px; margin-bottom: 26px;
}
.nb-trending__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nb-trending__label .nb-icon { width: 26px; height: 26px; color: var(--nb-accent); }
.nb-trending__list { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.nb-trending__list::-webkit-scrollbar { display: none; }
.nb-trending__list a {
	display: inline-flex; align-items: center; height: 30px; padding: 0 18px; border-radius: 8px;
	background: var(--nb-chip); color: var(--nb-text); font-size: 13px; white-space: nowrap;
}
.nb-trending__list a:hover { background: var(--nb-dark); color: #fff; }

/* =========================================================
   5. Section heads
   ========================================================= */
.nb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; border-bottom: 2px solid #dcdcdc; }
.nb-head__title { position: relative; font-size: 22px; font-weight: 500; padding-bottom: 4px; }
.nb-head__title::after { content: ""; position: absolute; bottom: -2px; inset-inline: 0; height: 4px; background: var(--nb-line, var(--nb-accent)); }
.nb-head__title a:hover { color: inherit; }
.nb-head__subs { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-bottom: 10px; }
.nb-head__subs a { font-size: 14px; color: var(--nb-text); }
.nb-head__subs a:hover { color: var(--nb-accent); }
.nb-head__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding-bottom: 8px; }
.nb-head__more .nb-icon { width: 16px; height: 16px; }

.nb-side-sec .nb-head { border-bottom: 0; }
.nb-arrows { display: flex; gap: 10px; padding-bottom: 6px; }
.nb-arrows button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: var(--nb-accent); color: #fff; display: grid; place-items: center; }
.nb-arrows .nb-icon { width: 20px; height: 20px; }

.nb-sec { margin-bottom: 40px; }

/* =========================================================
   6. Cards
   ========================================================= */
/* Badge & category text */
.nb-badge { display: inline-block; padding: 1px 6px; border-radius: 4px; color: #fff !important; font-size: 11px; line-height: 18px; margin-bottom: 6px; position: relative; z-index: 2; }
.nb-cat { display: inline-block; font-size: 14px; margin-bottom: 4px; }
.nb-cat:hover { opacity: .8; }

/* Format icon (camera / play) */
.nb-ficon { position: absolute; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--nb-accent); color: #fff; display: grid; place-items: center; }
.nb-ficon.is-corner { top: 8px; inset-inline-end: 8px; }
.nb-ficon .nb-icon { width: 17px; height: 17px; }

/* Overlay card */
.nb-ov { position: relative; overflow: hidden; border-radius: var(--nb-r); background: #222; min-height: 120px; isolation: isolate; }
.nb-ov > img, .nb-ov > .nb-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nb-ov:hover > img { transform: scale(1.04); }
.nb-ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 70%); pointer-events: none; }
.nb-ov__link { position: absolute; inset: 0; z-index: 3; }
.nb-ov__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 10px 12px; }
.nb-ov .nb-badge { z-index: 4; }
.nb-ov__title { color: #fff; font-size: 17px; font-weight: 500; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-ov.is-big .nb-ov__title { font-size: 20px; }
.nb-ov.is-big .nb-ov__body { padding: 14px 16px; }

/* White card */
.nb-card { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); overflow: hidden; display: flex; flex-direction: column; }
.nb-card__img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.nb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nb-card:hover .nb-card__img img { transform: scale(1.04); }
.nb-card__img .nb-ficon.is-corner { inset-inline-end: auto; inset-inline-start: 8px; }
.nb-card__body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; }
.nb-card__title { font-size: 16px; font-weight: 400; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-card__excerpt { font-size: 14px; color: var(--nb-text-2); margin: 6px 0 0; }
.nb-card .nb-meta { margin-top: auto; padding-top: 8px; }

/* Meta */
.nb-meta { display: flex; gap: 14px; font-size: 13px; color: var(--nb-muted); }
.nb-meta span { display: inline-flex; align-items: center; gap: 4px; }
.nb-meta .nb-icon { width: 14px; height: 14px; }

/* Compact row (picks / reports / most read) */
.nb-pick { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nb-border); align-items: start; }
.nb-pick:last-child { border-bottom: 0; }
.nb-pick__img { position: relative; display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #ddd; }
.nb-pick__img img { width: 100%; height: 100%; object-fit: cover; }
.nb-pick__title { font-size: 16px; font-weight: 400; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-pick--num { grid-template-columns: 86px 1fr; }
.nb-rank { position: absolute; top: 0; inset-inline-start: 0; min-width: 24px; height: 26px; padding: 0 6px; background: var(--nb-accent); color: #fff; font-weight: 700; font-size: 17px; display: grid; place-items: center; border-radius: 0 0 0 4px; }

/* Video card */
.nb-vid { color: #fff; }
.nb-vid__img { display: block; position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--nb-accent); overflow: hidden; background: #222; }
.nb-vid__img img { width: 100%; height: 100%; object-fit: cover; }
.nb-vid__play { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--nb-accent); display: grid; place-items: center; color: #fff; }
.nb-vid__play .nb-icon { width: 18px; height: 18px; }
.nb-vid__title { font-size: 15px; font-weight: 400; line-height: 1.65; margin: 12px 4px 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-vid__title a:hover { color: #ffb4ab; }
.nb-vid .nb-meta { color: #9a9a9a; margin: 0 4px; }

/* Opinion */
.nb-op { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--nb-border); align-items: center; }
.nb-op:last-child { border-bottom: 0; }
.nb-op__avatar img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.nb-op__title { font-size: 15px; font-weight: 700; line-height: 1.6; }
.nb-op__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.nb-op__author { font-size: 14px; color: var(--nb-text-2); }
.nb-op .nb-meta { font-size: 12.5px; }

/* =========================================================
   7. Homepage layout
   ========================================================= */
.nb-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; margin-bottom: 30px; }
.nb-top__main { position: sticky; top: calc(var(--nb-hdr) + 16px); }
.admin-bar .nb-top__main { top: calc(var(--nb-hdr) + 48px); }
.nb-sticky { position: sticky; top: calc(var(--nb-hdr) + var(--nb-sticky-off, 16px)); display: flex; flex-direction: column; gap: 24px; }
.admin-bar .nb-sticky { top: calc(var(--nb-hdr) + var(--nb-sticky-off, 16px) + 32px); }
/* Sidebars must span the full row height so sticky has room to travel */
.nb-side, .nb-top__side { align-self: stretch; }
.nb-ss-off .nb-sticky { position: static; }
.nb-top__side .nb-ad, .nb-side .nb-ad { margin: 0; }

.nb-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 134px; gap: 16px; }
.nb-hero .nb-ov.is-big { grid-column: span 2; grid-row: span 2; }
.nb-hero--archive { margin-bottom: 20px; grid-auto-rows: 150px; }

/* Promo slider */
.nb-slider__track { display: flex; overflow: hidden; border-radius: var(--nb-r); scroll-behavior: smooth; }
.nb-slider__item { flex: 0 0 100%; display: block; aspect-ratio: 300 / 200; background: #222; }
.nb-slider__item img { width: 100%; height: 100%; object-fit: cover; }
.nb-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.nb-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d6d6d6; }
.nb-dots button.is-active { background: var(--nb-accent); }

.nb-picks { padding: 0 12px; }

/* Video box */
.nb-tv { background: #000; border-radius: var(--nb-r); padding: 34px 66px 40px; margin-bottom: 40px; text-align: center; }
.nb-tv__title { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 26px; }
.nb-tv__tabs { display: flex; justify-content: center; gap: 4px; max-width: 620px; margin: 0 auto 50px; }
.nb-tv__tabs a { flex: 1; height: 46px; display: grid; place-items: center; background: #1d1d1d; color: #e6e6e6; border-radius: 6px; font-size: 16px; font-weight: 500; }
.nb-tv__tabs a.is-active, .nb-tv__tabs a:hover { background: var(--nb-accent); color: #fff; }
.nb-tv__viewport { position: relative; }
.nb-tv__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: right; scroll-behavior: smooth; }
.nb-tv__track::-webkit-scrollbar { display: none; }
.nb-tv__track > * { scroll-snap-align: start; }
.nb-tv__nav { position: absolute; top: 25%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #555; display: grid; place-items: center; }
.nb-tv__nav.is-prev { right: -52px; }
.nb-tv__nav.is-next { left: -52px; }
.nb-tv .nb-btn { margin-top: 26px; }

/* مختارات */
.nb-grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.nb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* App banner */
.nb-appban {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 40px; min-height: 212px;
	margin-bottom: 40px; border-radius: 0; overflow: hidden; padding: 24px;
	background: linear-gradient(110deg, #3a3a3a 0%, #1f1f1f 55%, #2b2b2b 100%);
}
.nb-appban__text h2 { color: var(--nb-accent); font-size: 44px; font-weight: 700; line-height: 1.2; }
.nb-appban__text p { color: #fff; font-size: 28px; margin: 6px 0 16px; }
.nb-appban__phone { width: 118px; height: 210px; margin-bottom: -60px; border-radius: 22px; border: 6px solid #1a1a1a; background: linear-gradient(#fff 0 14%, #eee 14% 100%); box-shadow: 0 0 0 2px #555, 0 20px 40px rgba(0,0,0,.5); position: relative; }
.nb-appban__phone span { position: absolute; inset: 22% 10% auto; height: 40%; border-radius: 6px; background: linear-gradient(135deg, var(--nb-accent), #6b6b6b); }
.nb-stores { display: flex; gap: 12px; }
.nb-stores a { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.15; height: 42px; padding: 0 14px; border: 1px solid #a6a6a6; border-radius: 6px; background: #000; color: #fff; font-size: 17px; font-weight: 700; font-family: system-ui, sans-serif; direction: ltr; text-align: left; }
.nb-stores a small { font-size: 9px; font-weight: 400; }
.nb-stores a:hover { color: #fff; border-color: #fff; }

/* Category block: big right + 2×2 */
.nb-block__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 143px 143px; gap: 16px; }
.nb-block__grid .nb-ov.is-big { grid-row: span 2; }
.nb-block__grid .nb-ov:not(.is-big) .nb-ov__title { font-size: 16px; }

/* Row A: most read | ad | files slider */
.nb-row-a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 40px; align-items: start; }
.nb-row-a.has-ad, .nb-row-a.has-files { grid-template-columns: minmax(0, 1fr) 300px; }
.nb-row-a.has-ad.has-files { grid-template-columns: minmax(0, 1fr) 300px 300px; }
.nb-mostread { padding: 16px 16px 6px; }
.nb-mostread .nb-head { margin-bottom: 4px; border-bottom: 0; }
.nb-mostread .nb-head__title { font-size: 24px; }
.nb-row-a__ad .nb-ad { margin: 0; }
.nb-files .nb-slider__item { position: relative; aspect-ratio: 300 / 260; overflow: hidden; }
.nb-file__tag { position: absolute; top: 20px; left: -38px; transform: rotate(-45deg); z-index: 2; background: var(--nb-accent); color: #fff; font-size: 14px; padding: 2px 40px; }
.nb-file__title { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 12px 12px; color: #fff; font-size: 16px; line-height: 1.55; background: linear-gradient(transparent, rgba(0,0,0,.85)); }

/* Row B: opinion | reports */
.nb-row-b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; align-items: start; }
.nb-row-b > .nb-box { padding: 16px 12px 4px; }
.nb-row-b .nb-head { margin-bottom: 0; }
.nb-row-b .nb-head__title { font-size: 20px; }
.nb-reports .nb-pick { grid-template-columns: 100px 1fr; }

/* Ads */
.nb-ad { text-align: center; margin: 0 auto 30px; }
.nb-ad__label { display: block; font-size: 11px; color: var(--nb-muted); margin-bottom: 2px; }
.nb-ad img { margin-inline: auto; }
.nb-ad--wide { max-width: 728px; }

/* =========================================================
   8. Article
   ========================================================= */
.nb-single, .nb-listing { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.nb-article { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 12px 50px 40px; min-width: 0; }

.nb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0; margin-bottom: 14px; border-bottom: 1px solid var(--nb-border); font-size: 15px; }
.nb-crumbs .sep { display: inline-flex; color: var(--nb-text); }
.nb-crumbs .sep .nb-icon { width: 18px; height: 18px; }
.nb-crumbs .is-last { color: var(--nb-accent); }

.nb-article__title { font-size: 28px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; }
.nb-article__subtitle { font-size: 18px; color: var(--nb-text-2); margin-bottom: 14px; }
.nb-article__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.nb-byline { display: flex; align-items: center; gap: 12px; }
.nb-byline__avatar img { width: 42px; height: 42px; border: 1px solid var(--nb-border); border-radius: 4px; padding: 2px; object-fit: cover; }
.nb-byline__name { font-size: 15px; color: var(--nb-text-2); }
.nb-byline__name a { color: var(--nb-accent); }
.nb-byline__time { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--nb-text-2); }
.nb-byline__time span { display: inline-flex; align-items: center; gap: 4px; }
.nb-byline__time .nb-icon { width: 14px; height: 14px; color: var(--nb-muted); }

.nb-share { position: relative; }
.nb-share__btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--nb-text); background: transparent; color: var(--nb-text); display: grid; place-items: center; }
.nb-share__menu { position: absolute; top: 46px; inset-inline-end: 0; display: none; gap: 6px; padding: 8px; background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.12); z-index: 10; }
.nb-share.is-open .nb-share__menu { display: flex; }
.nb-share__menu a, .nb-share__menu button { width: 34px; height: 34px; border: 0; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.nb-share__menu a:hover { color: #fff; filter: brightness(1.1); }
.is-facebook { background: #1877f2; }
.is-x { background: #000; }
.is-whatsapp { background: #25d366; }
.is-telegram { background: #229ed9; }
.is-instagram { background: #d62976; }
.is-youtube { background: #ff0000; }
.is-tiktok { background: #000; }
.is-copy { background: #555; }
.is-copy.copied { background: #16a34a; }
.is-rss { background: #f26522; }

.nb-article__figure { margin: 0 0 8px; }
.nb-article__figure img { width: 100%; border-radius: var(--nb-r); }
.nb-article__figure figcaption { font-size: 14px; color: var(--nb-text-2); padding: 8px 0; border-bottom: 1px solid var(--nb-border); }
.nb-article__video { margin-bottom: 14px; aspect-ratio: 16 / 9; }
.nb-article__video iframe { width: 100%; height: 100%; border-radius: var(--nb-r); }

.nb-follow { display: flex; align-items: center; gap: 30px; background: #eeeeee; border-radius: var(--nb-r); padding: 14px 40px; margin: 16px 0 24px; font-size: 16px; }
:root[data-theme="dark"] .nb-follow { background: #2a2a2a; }
.nb-follow__icons { display: flex; flex-wrap: wrap; gap: 10px; }
.nb-follow__icons a { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; }
.nb-follow__icons a:hover { color: #fff; opacity: .85; }
.nb-follow__icons .nb-icon { width: 17px; height: 17px; }

.nb-article__body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.nb-atools { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--nb-hdr) + 20px); }
.nb-fontsize { display: flex; flex-direction: column; gap: 10px; }
.nb-fontsize button { width: 36px; height: 36px; border: 1px solid #cfcfcf; border-radius: 4px; background: var(--nb-card); color: var(--nb-text); font-size: 18px; }
.nb-fontsize button sup { font-size: 11px; }
.nb-article__body:not(:has(.nb-atools)) { grid-template-columns: 1fr; }

.nb-article__content { font-size: var(--nb-fs-article, 18px); line-height: 2; }
.nb-article__content p { margin-bottom: 1.2em; }
.nb-article__content h2 { font-size: 23px; font-weight: 700; margin: 1.2em 0 .5em; }
.nb-article__content h3 { font-size: 20px; font-weight: 700; margin: 1em 0 .4em; }
.nb-article__content a { color: var(--nb-accent); }
.nb-article__content blockquote { margin: 1.4em 0; padding: 14px 20px; border-inline-start: 5px solid var(--nb-accent); background: var(--nb-page); font-size: 19px; }
.nb-article__content img { border-radius: 6px; }
.nb-article__content figure { margin: 1.4em 0; }
.nb-article__content figcaption, .wp-caption-text { font-size: 14px; color: var(--nb-text-2); }
.nb-article__content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nb-article__content th, .nb-article__content td { border: 1px solid var(--nb-border); padding: 8px 10px; }
.nb-article__content ul, .nb-article__content ol { list-style: revert; padding-inline-start: 1.4em; margin-bottom: 1.2em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

.nb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.nb-tags a { height: 30px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 8px; background: var(--nb-chip); font-size: 13px; }
.nb-tags a:hover { background: var(--nb-dark); color: #fff; }

.nb-authorbox { display: flex; gap: 16px; padding: 16px; border-radius: var(--nb-r); background: var(--nb-page); margin: 24px 0; }
.nb-authorbox img { border-radius: 50%; }
.nb-authorbox h4 { font-weight: 700; margin-bottom: 4px; }
.nb-authorbox p { margin: 0; font-size: 14px; color: var(--nb-text-2); }

.nb-related { margin-top: 30px; }
.nb-related__title { font-size: 20px; font-weight: 700; border-inline-start: 6px solid var(--nb-accent); padding-inline-start: 12px; line-height: 1.3; margin-bottom: 18px; }
.nb-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nb-related .nb-card__title { font-size: 15px; }

.nb-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.nb-prevnext a { padding: 12px 14px; border: 1px solid var(--nb-border); border-radius: var(--nb-r); font-size: 15px; }
.nb-prevnext a:hover { border-color: var(--nb-accent); }
.nb-prevnext small { display: block; color: var(--nb-accent); font-size: 12px; }
.nb-prevnext .is-prev { text-align: left; }

/* Comments */
.nb-comments { margin-top: 30px; }
.nb-comment-list .children { padding-inline-start: 34px; }
.nb-comment__body { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nb-border); }
.nb-comment__body img { border-radius: 50%; }
.nb-comment__content time { color: var(--nb-muted); font-size: 12px; margin-inline-start: 6px; }
.comment-reply-link { font-size: 13px; color: var(--nb-accent); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--nb-border); border-radius: 6px; background: var(--nb-card); color: var(--nb-text); }
.comment-form label { display: block; font-size: 14px; margin-bottom: 4px; }
.comment-reply-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

/* Sidebar */
.nb-side { min-width: 0; }
.nb-mpage-wrap { min-width: 0; }

/* =========================================================
   9. Archive / search / 404
   ========================================================= */
.nb-archive-head { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 4px 24px 18px; margin-bottom: 20px; }
.nb-archive-head h1 { font-size: 28px; font-weight: 700; display: inline-block; border-bottom: 4px solid var(--nb-line, var(--nb-accent)); padding-bottom: 2px; }
.nb-archive-head__desc { color: var(--nb-text-2); margin-top: 8px; }
.nb-archive-head__author { display: flex; gap: 16px; align-items: center; }
.nb-archive-head__author img { border-radius: 50%; }
.nb-archive-head__search { max-width: 520px; margin-top: 10px; }
.nb-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nb-subcats a { height: 30px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 8px; background: var(--nb-chip); font-size: 14px; }
.nb-subcats a:hover { background: var(--nb-dark); color: #fff; }
.nb-listing__main { min-width: 0; }
.nb-searchlist { padding: 0 16px; }
.nb-searchlist .nb-card { flex-direction: row; border: 0; border-bottom: 1px solid var(--nb-border); border-radius: 0; padding: 14px 0; gap: 14px; }
.nb-searchlist .nb-card:last-child { border-bottom: 0; }
.nb-searchlist .nb-card__img { width: 220px; flex-shrink: 0; border-radius: 6px; }
.nb-searchlist .nb-card__body { padding: 0; }

.nb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.nb-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 6px; background: var(--nb-card); border: 1px solid var(--nb-border); }
.nb-pagination .current { background: var(--nb-accent); border-color: var(--nb-accent); color: #fff; }

.nb-404 { text-align: center; padding: 50px 0 40px; max-width: 560px; margin-inline: auto; }
.nb-404__code { font-size: clamp(90px, 18vw, 150px); font-weight: 800; line-height: 1; color: var(--nb-accent); }
.nb-404 h1 { font-size: 24px; font-weight: 700; margin-top: 10px; }
.nb-404 .nb-searchform { margin: 20px 0; }
.nb-empty { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 40px; text-align: center; }
.nb-empty h2 { font-weight: 700; }
.nb-empty .nb-searchform { max-width: 460px; margin: 16px auto 0; }

/* =========================================================
   10. Widgets
   ========================================================= */
.widget { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 14px; }
.widget-title { font-size: 20px; font-weight: 500; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid #dcdcdc; position: relative; }
.widget-title span { display: inline-flex; align-items: center; gap: 6px; }
.widget-title::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 60px; height: 4px; background: var(--nb-accent); }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--nb-border); }
.nb-numbered-list, .nb-list { display: flex; flex-direction: column; }

/* =========================================================
   11. Footer
   ========================================================= */
.nb-footer { max-width: var(--nb-w); margin: 0 auto; background: var(--nb-foot); color: #cfcfcf; padding: 30px 50px 0; }
.nb-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid #2a2a2a; }
.nb-footer__top .nb-logo { padding: 0; }
.nb-footer__top .nb-logo img { height: var(--nb-logo-fh, 50px); max-height: none; }
.nb-footer__top .nb-logo__text { font-size: calc(var(--nb-logo-fh, 50px) * .64); }
.nb-footer__top .nb-logo__mark { width: calc(var(--nb-logo-fh, 50px) * .76); height: calc(var(--nb-logo-fh, 50px) * .76); box-shadow: 0 0 0 3px #f5b301, inset 0 0 0 5px var(--nb-foot); }
.nb-footer .nb-stores a { background: #000; }

.nb-social { display: flex; flex-wrap: wrap; gap: 14px; }
.nb-social a { color: #fff; display: grid; place-items: center; width: 26px; height: 26px; background: none !important; }
.nb-social a .nb-icon { width: 21px; height: 21px; }
.nb-social a:hover { color: var(--nb-accent); }
.nb-social--drawer { padding: 14px 18px; }

.nb-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid #2a2a2a; }
.nb-footer__col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.nb-footer__col--about { border-inline-start: 1px solid #2a2a2a; padding-inline-start: 30px; text-align: center; }
.nb-footer__col--about p { font-size: 14px; color: #b5b5b5; }
.nb-footer__menu { display: grid; gap: 12px; font-size: 15px; }
.nb-footer__menu.is-2col { grid-template-columns: 1fr 1fr; }
.nb-footer__menu--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.nb-footer__menu a { color: #e6e6e6; }
.nb-footer__menu a:hover { color: var(--nb-accent); }
.nb-footer__bottom { text-align: center; color: #fff; font-size: 14px; padding: 16px 0 20px; }

/* =========================================================
   12. Breaking bar (fixed bottom) & back to top
   ========================================================= */
.nb-breaking {
	position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 90;
	width: min(var(--nb-w), 100%); height: 50px; display: flex; align-items: center;
	background: var(--nb-accent); color: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
}
.nb-breaking[hidden] { display: none; }
.nb-breaking__close { order: 3; width: 50px; height: 50px; border: 0; background: rgba(0, 0, 0, .15); color: #fff; display: grid; place-items: center; }
.nb-breaking__close .nb-icon { width: 22px; height: 22px; }
.nb-breaking__label { flex-shrink: 0; height: 100%; display: grid; place-items: center; padding: 0 16px; background: rgba(0, 0, 0, .15); font-weight: 700; }
.nb-breaking__items { flex: 1; position: relative; height: 100%; overflow: hidden; }
.nb-breaking__items a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; color: #fff; font-size: 15px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: all .4s; }
.nb-breaking__items a.is-active { opacity: 1; transform: none; }
.nb-breaking__items a.is-out { opacity: 0; transform: translateY(-100%); }
.nb-breaking__items a:hover { text-decoration: underline; }
body.has-breaking { padding-bottom: 50px; }

.nb-totop { position: fixed; bottom: 66px; left: 18px; z-index: 89; width: 42px; height: 42px; border-radius: 6px; border: 0; background: var(--nb-dark); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .2s; }
.nb-totop.is-visible { opacity: 1; visibility: visible; }

/* =========================================================
   13. Responsive
   ========================================================= */
@media (max-width: 1180px) {
	.nb-tv__nav.is-prev { right: -44px; }
	.nb-tv__nav.is-next { left: -44px; }
}
@media (max-width: 1024px) {
	.nb-hdr__date { display: none; }
	.nb-tool__btn { min-width: 70px; }
	.nb-top, .nb-single, .nb-listing { grid-template-columns: 1fr; }
	.nb-sticky, .nb-top__main { position: static; }
	.nb-top__side .nb-sticky { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
	.nb-grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nb-row-a.has-ad.has-files { grid-template-columns: 1fr 1fr; }
	.nb-row-a.has-ad.has-files .nb-mostread { grid-column: 1 / -1; }
	.nb-tv { padding: 28px 24px 34px; }
	.nb-tv__nav { display: none; }
	.nb-footer { padding: 26px 24px 0; }
}
@media (max-width: 768px) {
	.nb-tool:not(.nb-tool--weather):not(.nb-tool--search) { display: none; }
	.nb-tool__btn { min-width: 54px; padding: 0 8px; }
	.nb-tool__btn > span { display: none; }
	.nb-tool .nb-drop { display: none; }
	.nb-burger { width: max(50px, var(--nb-hdr)); }
	.nb-burger span { right: calc(50% - 14px); width: 28px; }
	.nb-tool__btn { min-width: max(54px, var(--nb-hdr)); }
	.nb-logo { padding: 0 12px; }
	.nb-logo img { height: var(--nb-logo-hm, 30px); }
	.nb-logo__text { font-size: calc(var(--nb-logo-hm, 30px) * .72); }
	.nb-logo__mark { width: calc(var(--nb-logo-hm, 30px) * .85); height: calc(var(--nb-logo-hm, 30px) * .85); }
	.nb-drawer__panel { max-width: calc(100vw - 50px); }
	.nb-drawer__close { left: -50px; width: 50px; }
	.nb-search__in { padding-top: 70px; }
	.nb-search__form input { font-size: 24px; }
	.nb-search__trend { margin-top: 34px; }
	.nb-wrap { padding: 12px 10px 30px; }
	.nb-trending { padding: 12px 14px; gap: 12px; margin-bottom: 18px; }
	.nb-trending__label { font-size: 0; }
	.nb-trending__label .nb-icon { width: 22px; height: 22px; }
	.nb-hero { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
	.nb-hero .nb-ov.is-big { grid-column: 1 / -1; grid-row: span 2; }
	.nb-top__side .nb-sticky { grid-template-columns: 1fr; }
	.nb-grid5, .nb-grid3, .nb-related__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nb-card__title { font-size: 15px; }
	.nb-tv { margin-inline: -10px; border-radius: 0; padding: 24px 14px 30px; }
	.nb-tv__title { font-size: 22px; margin-bottom: 16px; }
	.nb-tv__tabs { margin-bottom: 22px; }
	.nb-tv__track { grid-auto-columns: 78%; }
	.nb-appban { flex-direction: column; text-align: center; min-height: 0; margin-inline: -10px; }
	.nb-appban__text h2 { font-size: 32px; }
	.nb-appban__text p { font-size: 20px; }
	.nb-appban .nb-stores { justify-content: center; }
	.nb-appban__phone { display: none; }
	.nb-head__subs { display: none; }
	.nb-head + .nb-block__grid { margin-top: 0; }
	.nb-block__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px 130px; gap: 10px; }
	.nb-block__grid .nb-ov.is-big { grid-column: 1 / -1; grid-row: auto; }
	.nb-block__grid .nb-ov:not(.is-big) .nb-ov__title { font-size: 14px; }
	.nb-row-a, .nb-row-a.has-ad, .nb-row-a.has-files, .nb-row-a.has-ad.has-files, .nb-row-b { grid-template-columns: 1fr; }
	.nb-article { padding: 6px 14px 24px; }
	.nb-article__title { font-size: 22px; }
	.nb-article__content { font-size: 17px; }
	.nb-article__body { grid-template-columns: 1fr; }
	.nb-atools { position: static; flex-direction: row; }
	.nb-fontsize { flex-direction: row; }
	.nb-atools .nb-sharebar--float { display: none; }
	.nb-follow { padding: 12px 14px; gap: 14px; flex-wrap: wrap; }
	.nb-searchlist .nb-card__img { width: 120px; }
	.nb-footer { padding: 24px 16px 0; }
	.nb-footer__top { flex-direction: column; }
	.nb-footer__cols { grid-template-columns: 1fr; }
	.nb-footer__col--about { border: 0; padding: 0; text-align: right; }
	.nb-breaking__label { display: none; }
	.nb-breaking__items a { font-size: 14px; justify-content: flex-start; }
	.nb-prevnext { grid-template-columns: 1fr; }
	.nb-prevnext .is-prev { text-align: right; }
}
@media (max-width: 420px) {
	.nb-grid5, .nb-grid3, .nb-related__grid { grid-template-columns: 1fr; }
	.nb-grid5 .nb-card, .nb-grid3 .nb-card, .nb-related__grid .nb-card { flex-direction: row; border: 0; border-bottom: 1px solid var(--nb-border); border-radius: 0; background: transparent; padding-bottom: 12px; gap: 12px; }
	.nb-grid5 .nb-card__img, .nb-grid3 .nb-card__img, .nb-related__grid .nb-card__img { width: 120px; flex-shrink: 0; border-radius: 6px; aspect-ratio: 4 / 3; }
	.nb-grid5 .nb-card__body, .nb-grid3 .nb-card__body, .nb-related__grid .nb-card__body { padding: 0; }
}


/* =========================================================
   14. Polish — motion, states, loading
   ========================================================= */
:root { --nb-ease: cubic-bezier(.2, .7, .2, 1); }
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; font-feature-settings: "kern"; }
::selection { background: var(--nb-accent); color: #fff; }

/* Header gets a deeper shadow once the page scrolls */
.nb-hdr { transition: box-shadow .25s ease; }
.nb-scrolled .nb-hdr { box-shadow: 0 6px 20px rgba(0, 0, 0, .28); }

/* Image skeleton + fade-in */
.nb-ov, .nb-card__img, .nb-pick__img, .nb-vid__img, .nb-slider__item { background-color: #e7e7e7; }
img.nb-fade { opacity: 0; transition: opacity .45s ease, transform .6s var(--nb-ease); }
img.nb-fade.is-loaded { opacity: 1; }

/* Card motion */
.nb-ov > img, .nb-card__img img, .nb-pick__img img, .nb-vid__img img { transition: transform .6s var(--nb-ease), opacity .45s ease; }
.nb-ov:hover > img { transform: scale(1.05); }
.nb-ov::after { transition: background .3s ease; }
.nb-ov:hover::after { background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.05) 78%); }
.nb-ov__title { transition: transform .3s var(--nb-ease); }
.nb-ov:hover .nb-ov__title { transform: translateY(-2px); }
.nb-card { transition: box-shadow .25s ease, transform .25s var(--nb-ease), border-color .25s; }
.nb-card:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); border-color: #dcdcdc; }
.nb-card__title a, .nb-pick__title a, .nb-op__title a { transition: color .2s; }
.nb-card:hover .nb-card__title a, .nb-pick:hover .nb-pick__title a, .nb-op:hover .nb-op__title a { color: var(--nb-accent); }
.nb-pick:hover .nb-pick__img img { transform: scale(1.08); }
.nb-vid__img { transition: border-color .2s; }
.nb-vid:hover .nb-vid__img img { transform: scale(1.05); }
.nb-vid__play { transition: transform .25s var(--nb-ease); }
.nb-vid:hover .nb-vid__play { transform: scale(1.12); }
.nb-trending__list a, .nb-tags a, .nb-subcats a, .nb-head__subs a, .nb-arrows button, .nb-btn, .nb-tv__tabs a, .nb-dots button { transition: background-color .2s, color .2s, transform .2s, filter .2s; }
.nb-arrows button:hover { transform: translateY(-1px); filter: brightness(1.1); }
.nb-arrows button:active, .nb-btn:active { transform: scale(.97); }
.nb-dots button.is-active { width: 22px; border-radius: 5px; }
.nb-dots button { transition: width .25s var(--nb-ease), background-color .2s; }

/* Trending: soft fade at the scroll edge */
.nb-trending__list { mask-image: linear-gradient(to left, #000 92%, transparent); -webkit-mask-image: linear-gradient(to left, #000 92%, transparent); padding-inline-end: 24px; }

/* Breaking bar entrance */
.nb-breaking { animation: nb-up .45s var(--nb-ease) both; }
@keyframes nb-up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.nb-breaking__label { position: relative; padding-inline-start: 28px; }
.nb-breaking__label::before { content: ""; position: absolute; inset-inline-start: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; animation: nb-pulse 1.4s infinite; }
@keyframes nb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }

/* Reading progress (articles) */
.nb-progress { position: fixed; top: var(--nb-hdr); right: 0; left: 0; height: 3px; z-index: 99; pointer-events: none; }
.admin-bar .nb-progress { top: calc(var(--nb-hdr) + 32px); }
.nb-progress span { display: block; height: 100%; width: 100%; background: var(--nb-accent); transform-origin: right; transform: scaleX(0); }

/* Back to top with progress ring */
.nb-totop { width: 46px; height: 46px; border-radius: 50%; background: var(--nb-dark); box-shadow: 0 8px 20px rgba(0,0,0,.25); transform: translateY(10px); }
.nb-totop.is-visible { transform: none; }
.nb-totop:hover { background: var(--nb-accent); }
.nb-totop svg.nb-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nb-totop svg.nb-ring circle { fill: none; stroke: var(--nb-accent); stroke-width: 2.5; stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .1s linear; }
.nb-totop:hover svg.nb-ring circle { stroke: #fff; }

/* Focus rings that look intentional */
.nb-ov__link:focus-visible { outline: 3px solid var(--nb-accent); outline-offset: -3px; border-radius: var(--nb-r); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--nb-accent); outline-offset: 2px; border-radius: 4px; }

/* Section heads: tidy spacing */
.nb-head__title { letter-spacing: -.2px; }
.nb-sec + .nb-sec { margin-top: 4px; }

/* Article typography */
.nb-article__content p:first-of-type { font-weight: 500; }
.nb-article__content > *:first-child { margin-top: 0; }
.nb-article__content a:hover { text-decoration: underline; text-underline-offset: 4px; }


/* =========================================================
   15. Image loading (loader → blur-up → fade-in)
   ========================================================= */
.nb-ov, .nb-card__img, .nb-pick__img, .nb-vid__img, .nb-slider__item, .nb-figure__media {
	background: #ececec var(--nb-loader, none) center / var(--nb-loader-size, 34%) auto no-repeat;
}
.nb-pick__img { background-size: 60% auto; }
.nb-js img.nb-lz { opacity: 0; transition: opacity .5s ease, transform .6s var(--nb-ease, ease); }
.nb-js img.nb-lz.is-loaded { opacity: 1; }

/* =========================================================
   16. Article figure
   ========================================================= */
.nb-figure { margin: 0 0 6px; }
.nb-figure__media { position: relative; overflow: hidden; border-radius: var(--nb-r); }
.nb-figure__media img { display: block; width: 100%; height: 100%; position: relative; z-index: 1; }
.nb-figure--16-9 .nb-figure__media { aspect-ratio: 16 / 9; }
.nb-figure--3-2 .nb-figure__media { aspect-ratio: 3 / 2; }
.nb-figure--4-3 .nb-figure__media { aspect-ratio: 4 / 3; }
.nb-figure--original .nb-figure__media img { height: auto; }
.nb-figure--cover .nb-figure__media img { object-fit: cover; }
.nb-figure--contain .nb-figure__media img { object-fit: contain; }
.nb-figure--contain .nb-figure__media { background-color: #111; }
.nb-figure--w-narrow { width: 80%; margin-inline: auto; }
.nb-figure.has-lqip .nb-figure__media::before {
	content: ""; position: absolute; inset: -20px; z-index: 0;
	background: var(--nb-lqip) center / cover no-repeat; filter: blur(18px); transform: scale(1.1);
	transition: opacity .6s ease;
}
.nb-figure.has-lqip .nb-figure__media:has(img.is-loaded)::before { opacity: 0; }
.nb-figure figcaption { font-size: 14px; color: var(--nb-text-2); padding: 8px 2px 10px; border-bottom: 1px solid var(--nb-border); display: flex; gap: 6px; }
.nb-figure figcaption::before { content: ""; width: 3px; flex-shrink: 0; background: var(--nb-accent); border-radius: 2px; }

/* =========================================================
   17. Share bar
   ========================================================= */
.nb-sharebar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 18px; padding: 12px 14px; border: 1px solid var(--nb-border); border-radius: var(--nb-r); background: var(--nb-card); }
.nb-sharebar--content { margin-top: 26px; }
.nb-sharebar__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--nb-text); padding-inline-end: 12px; border-inline-end: 1px solid var(--nb-border); }
.nb-sharebar__label .nb-icon { color: var(--nb-accent); }
.nb-sharebar__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-sb {
	position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
	border: 0; border-radius: 6px; color: #fff; font: 500 14px var(--nb-font); cursor: pointer;
	transition: transform .18s var(--nb-ease, ease), filter .18s, box-shadow .18s, background-color .18s, color .18s;
}
.nb-sb .nb-icon { width: 17px; height: 17px; }
.nb-sb:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.nb-sb:active { transform: scale(.97); }
.nb-sb.is-linkedin { background: #0a66c2; }
.nb-sb.is-email { background: #6b7280; }
.nb-sb.is-copy { background: #374151; }
.nb-sb.is-print { background: #9ca3af; }
.nb-sb.is-native { background: var(--nb-dark); display: none; }
.nb-has-native .nb-sb.is-native { display: inline-flex; }
.nb-sb__ok { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: #16a34a; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s; }
.nb-sb.copied .nb-sb__ok { opacity: 1; transform: translateX(-50%); }
.nb-sb.copied { background: #16a34a; }
/* icons style */
.nb-sharebar--icons .nb-sharebar__t { display: none; }
.nb-sharebar--icons .nb-sb { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
/* soft style */
.nb-sharebar--soft .nb-sb { background: var(--nb-chip); color: var(--nb-text); }
.nb-sharebar--soft .nb-sb:hover { color: #fff; }
.nb-sharebar--soft .nb-sb.is-facebook:hover { background: #1877f2; }
.nb-sharebar--soft .nb-sb.is-x:hover { background: #000; }
.nb-sharebar--soft .nb-sb.is-whatsapp:hover { background: #25d366; }
.nb-sharebar--soft .nb-sb.is-telegram:hover { background: #229ed9; }
.nb-sharebar--soft .nb-sb.is-linkedin:hover { background: #0a66c2; }
.nb-sharebar--soft .nb-sb.is-email:hover, .nb-sharebar--soft .nb-sb.is-copy:hover, .nb-sharebar--soft .nb-sb.is-print:hover, .nb-sharebar--soft .nb-sb.is-native:hover { background: var(--nb-dark); }
:root[data-theme="dark"] .nb-sharebar { background: var(--nb-card); }

/* =========================================================
   18. Opinion & writers
   ========================================================= */
.nb-writer-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; background: #e5e5e5; }
.nb-writer-photo--empty { display: grid; place-items: center; background: linear-gradient(135deg, #3a3a3a, #1d1d1d); color: #fff; font-weight: 700; font-size: 26px; border-radius: 50%; }
.nb-op__avatar .nb-writer-photo, .nb-op__avatar img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.nb-op__avatar .nb-writer-photo--empty { font-size: 22px; }

.nb-writers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nb-writers__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-wcard { position: relative; background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 22px 16px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .25s var(--nb-ease, ease), box-shadow .25s; overflow: hidden; }
.nb-wcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 58px; background: linear-gradient(135deg, var(--nb-dark), #3a3a3a); }
.nb-wcard:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.09); }
.nb-wcard__photo { position: relative; z-index: 1; }
.nb-wcard__photo .nb-writer-photo, .nb-wcard__photo img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 4px solid var(--nb-card); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.nb-wcard__photo .nb-writer-photo--empty { width: 86px !important; height: 86px !important; font-size: 30px; }
.nb-wcard__name { margin-top: 10px; color: var(--nb-accent); font-weight: 700; font-size: 15px; }
.nb-wcard__title { font-size: 16px; font-weight: 500; line-height: 1.65; margin: 6px 0 8px; }
.nb-wcard__title a::before { content: "“"; color: var(--nb-accent); font-size: 20px; margin-inline-end: 2px; }
.nb-wcard .nb-meta { margin-top: auto; justify-content: center; }

.nb-ophead { display: flex; align-items: center; gap: 16px; padding: 16px; margin-bottom: 14px; background: linear-gradient(135deg, var(--nb-dark), #333); border-radius: var(--nb-r); color: #fff; }
.nb-ophead__photo .nb-writer-photo, .nb-ophead__photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); }
.nb-ophead__name { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.nb-ophead__name:hover { color: #fff; text-decoration: underline; }
.nb-ophead__job { margin: 2px 0 0; color: #cfcfcf; font-size: 14px; }
.nb-article--opinion .nb-article__title::before { content: "“"; color: var(--nb-accent); margin-inline-end: 4px; }
.nb-authorbox--writer .nb-writer-photo, .nb-authorbox--writer > img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nb-authorbox__links { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.nb-authorbox__links a.is-x, .nb-authorbox__links a.is-facebook { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.nb-authorbox__all { margin-inline-start: auto; color: var(--nb-accent); font-weight: 700; font-size: 14px; }

.nb-writerstrip { display: flex; gap: 18px; overflow-x: auto; padding: 16px 2px 4px; scrollbar-width: thin; }
.nb-writerstrip a { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 84px; font-size: 13px; text-align: center; }
.nb-writerstrip .nb-writer-photo { width: 64px; height: 64px; transition: transform .2s, box-shadow .2s; box-shadow: 0 0 0 3px var(--nb-card), 0 0 0 5px var(--nb-border); }
.nb-writerstrip a:hover .nb-writer-photo { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--nb-card), 0 0 0 5px var(--nb-accent); }
.nb-writerhead__in { display: flex; align-items: center; gap: 22px; padding-top: 8px; }
.nb-writerhead .nb-writer-photo { width: 130px; height: 130px; flex-shrink: 0; box-shadow: 0 0 0 4px var(--nb-card), 0 0 0 6px var(--nb-accent); }
.nb-writerhead h1 { border: 0; }
.nb-writerhead__job { color: var(--nb-accent); margin: 0; font-weight: 500; }
.nb-writerhead__bio { color: var(--nb-text-2); margin: 8px 0; max-width: 620px; }
.nb-writerhead__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--nb-muted); }
.nb-writerhead__meta a { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: #fff; }

/* =========================================================
   19. Layout variants (builder styles)
   ========================================================= */
.nb-hero--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
.nb-hero--split .nb-hero__lead .nb-ov { height: 100%; min-height: 420px; }
.nb-hero__list { padding: 0 12px; }
.nb-block--grid .nb-block__grid, .nb-block--cards .nb-block__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 16px; }
.nb-block--cards .nb-block__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-block--list .nb-block__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
.nb-block--list .nb-block__lead .nb-ov { height: 100%; min-height: 330px; }
.nb-block__list { padding: 0 12px; }
.nb-picks--numbered .nb-pick, .nb-picks--opinion .nb-op { padding-inline: 0; }
.nb-picks--opinion { padding: 0 14px; }
.nb-side-html { padding: 14px; }

@media (max-width: 1024px) {
	.nb-writers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nb-block--grid .nb-block__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.nb-hero--split, .nb-block--list .nb-block__grid { grid-template-columns: 1fr; }
	.nb-hero--split .nb-hero__lead .nb-ov, .nb-block--list .nb-block__lead .nb-ov { min-height: 240px; }
	.nb-block--grid .nb-block__grid, .nb-block--cards .nb-block__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nb-writers__grid, .nb-writers__grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nb-sharebar { padding: 10px; gap: 8px; }
	.nb-sharebar__label { width: 100%; border: 0; padding: 0; }
	.nb-sharebar--labels .nb-sharebar__t { display: none; }
	.nb-sharebar--labels .nb-sb, .nb-sharebar--soft .nb-sb { width: 42px; padding: 0; justify-content: center; }
	.nb-figure--w-narrow { width: 100%; }
	.nb-writerhead__in { flex-direction: column; text-align: center; }
	.nb-writerhead__meta { justify-content: center; }
	.nb-ophead { padding: 12px; }
}
@media print { .nb-sharebar { display: none !important; } }

/* =========================================================
   20. Footer — sister sites & drawer logo
   ========================================================= */
.nb-drawer__head { height: max(84px, calc(var(--nb-logo-dh, 40px) + 34px)); }
.nb-drawer__head .nb-logo img { height: var(--nb-logo-dh, 40px); max-height: none; max-width: 260px; object-fit: contain; }
.nb-drawer__head .nb-logo__text { font-size: calc(var(--nb-logo-dh, 40px) * .68); }
.nb-sites { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; }
.nb-sites a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; transition: opacity .2s, transform .2s, filter .2s; }
.nb-sites img { max-height: 30px; max-width: 120px; width: auto; }
.nb-sites span { color: #fff; font-weight: 700; font-size: 16px; }
.nb-sites--white img { filter: brightness(0) invert(1); opacity: .85; }
.nb-sites--white a:hover img { filter: none; opacity: 1; }
.nb-sites a:hover { transform: translateY(-2px); }
.nb-sites--original a { opacity: .9; }
.nb-sites--original a:hover { opacity: 1; }

/* =========================================================
   21. Logo background (header)
   ========================================================= */
.nb-logo.has-bg { position: relative; z-index: 1; padding-inline: var(--nb-logo-pad, 18px); }
.nb-logo.has-bg .nb-logo__text { color: var(--nb-dark); }
.nb-logo.has-bg.is-invert img { filter: brightness(0) saturate(100%); }
.nb-logo.has-bg:hover .nb-logo__text { color: var(--nb-dark); }
.nb-logo.has-bg .nb-logo__mark { box-shadow: 0 0 0 3px #f5b301, inset 0 0 0 5px var(--nb-logo-bg, #fff); }
/* block: full header height */
.nb-logo--bg-block, .nb-logo--bg-slant { background: var(--nb-logo-bg, #fff); align-self: stretch; }
/* slanted edge */
.nb-logo--bg-slant { padding-inline-end: calc(var(--nb-logo-pad, 18px) + 22px); clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%); }
/* pill */
.nb-logo--bg-pill { background: transparent; }
.nb-logo--bg-pill::before { content: ""; position: absolute; z-index: -1; inset: max(4px, calc((var(--nb-hdr) - var(--nb-logo-h, 40px)) / 2 - 8px)) 8px; background: var(--nb-logo-bg, #fff); border-radius: var(--nb-logo-rad, 8px); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.nb-logo--bg-block + .nb-hdr__date, .nb-logo--bg-slant + .nb-hdr__date { border-inline-start: 0; }
.nb-drawer__head .nb-logo.has-bg { padding-block: 8px; }
.nb-drawer__head .nb-logo--bg-block, .nb-drawer__head .nb-logo--bg-slant { align-self: center; border-radius: var(--nb-logo-rad, 8px); clip-path: none; padding-inline-end: var(--nb-logo-pad, 18px); }
@media (max-width: 768px) {
	.nb-logo.has-bg { padding-inline: max(10px, calc(var(--nb-logo-pad, 18px) * .6)); }
	.nb-logo--bg-slant { padding-inline-end: calc(max(10px, calc(var(--nb-logo-pad, 18px) * .6)) + 14px); clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%); }
	.nb-logo--bg-pill::before { inset: max(4px, calc((var(--nb-hdr) - var(--nb-logo-hm, 30px)) / 2 - 6px)) 4px; }
}

/* =========================================================
   22. Opinion article (portal style)
   ========================================================= */
.nb-article--opinion .nb-article__title::before { content: none; }
.nb-byline--writer .nb-byline__photo img, .nb-byline--writer .nb-writer-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nb-border); padding: 0; }
.nb-byline--writer .nb-writer-photo--empty { font-size: 20px; }
.nb-byline--writer .nb-byline__name { font-size: 15px; color: var(--nb-text); }
.nb-byline--writer .nb-byline__name a { color: var(--nb-accent); font-weight: 600; }
.nb-byline__job { color: var(--nb-muted); font-size: 13px; margin-inline-start: 8px; }
.nb-byline__job::before { content: "· "; }
.nb-byline__time .nb-dot { padding-inline-start: 12px; border-inline-start: 1px solid var(--nb-border); }
.nb-article--opinion .nb-article__meta { padding-bottom: 14px; border-bottom: 1px solid var(--nb-border); margin-bottom: 22px; }
.nb-article--opinion .nb-article__content h2, .nb-article--opinion .nb-article__content h3 { font-size: 1.05em; font-weight: 700; margin: 1.6em 0 .6em; }
.nb-article--opinion .nb-article__content > p:first-of-type { font-weight: 400; }

.nb-disclaimer { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; padding: 14px 18px; background: #fffbea; border: 1px solid #f2d36b; border-radius: var(--nb-r); color: #3d3d3d; font-size: 14px; }
.nb-disclaimer p { margin: 0; }
.nb-disclaimer__icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; background: #f5c400; color: #fff; border-radius: 6px; }
:root[data-theme="dark"] .nb-disclaimer { background: #2b2614; border-color: #5c4e1a; color: #e9e2c8; }

.nb-tags--red a { background: var(--nb-accent); color: #fff; height: 34px; padding: 0 16px; border-radius: 6px; font-size: 14px; }
.nb-tags--red a:hover { background: var(--nb-dark); color: #fff; }

/* outline share style */
.nb-sharebar--outline { border: 0; padding: 18px 0 0; margin-top: 4px; border-top: 1px solid var(--nb-border); border-radius: 0; background: transparent; }
.nb-sharebar--outline .nb-sharebar__label { border: 0; font-size: 0; padding: 0; }
.nb-sharebar--outline .nb-sharebar__label .nb-icon { width: 24px; height: 24px; color: var(--nb-text); }
.nb-sharebar--outline .nb-sharebar__t { display: none; }
.nb-sharebar--outline .nb-sb { width: 40px; height: 40px; padding: 0; justify-content: center; background: transparent !important; color: var(--nb-text); border: 1px solid #cfcfcf; border-radius: 6px; }
.nb-sharebar--outline .nb-sb:hover { color: #fff; box-shadow: none; }
.nb-sharebar--outline .nb-sb.is-facebook:hover { background: #1877f2 !important; border-color: #1877f2; }
.nb-sharebar--outline .nb-sb.is-x:hover { background: #000 !important; border-color: #000; }
.nb-sharebar--outline .nb-sb.is-whatsapp:hover { background: #25d366 !important; border-color: #25d366; }
.nb-sharebar--outline .nb-sb.is-telegram:hover { background: #229ed9 !important; border-color: #229ed9; }
.nb-sharebar--outline .nb-sb.is-linkedin:hover { background: #0a66c2 !important; border-color: #0a66c2; }
.nb-sharebar--outline .nb-sb.is-email:hover, .nb-sharebar--outline .nb-sb.is-print:hover, .nb-sharebar--outline .nb-sb.is-copy:hover, .nb-sharebar--outline .nb-sb.is-native:hover { background: var(--nb-dark) !important; border-color: var(--nb-dark); }
.nb-sharebar--outline .nb-sb.copied { background: #16a34a !important; border-color: #16a34a; color: #fff; }

.nb-authorbox__job { color: var(--nb-accent) !important; font-size: 13px !important; margin: 0 0 4px !important; }
.nb-oplist { background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: var(--nb-r); padding: 0 16px; }

/* Writers grid */
.nb-wgrid { margin-top: 34px; }
.nb-single + .nb-wgrid { max-width: calc(100% - 320px); }
.nb-wgrid__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 14px; padding: 10px 0; }
.nb-wgrid__item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; color: var(--nb-text); }
.nb-wgrid__item .nb-writer-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; transition: transform .25s var(--nb-ease, ease), box-shadow .25s; box-shadow: 0 0 0 0 var(--nb-accent); }
.nb-wgrid__item .nb-writer-photo--empty { font-size: 34px; }
.nb-wgrid__item:hover .nb-writer-photo { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--nb-card), 0 0 0 5px var(--nb-accent); }
.nb-wgrid__item:hover span { color: var(--nb-accent); }
.nb-wgrid__item.is-current .nb-writer-photo { box-shadow: 0 0 0 3px var(--nb-card), 0 0 0 5px var(--nb-accent); }
@media (max-width: 1024px) { .nb-single + .nb-wgrid { max-width: none; } .nb-wgrid__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nb-wgrid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; } .nb-wgrid__item .nb-writer-photo { width: 84px; height: 84px; } .nb-disclaimer { align-items: flex-start; } }

/* =========================================================
   23. "ملفات تفاعلية" — 3 large cards
   ========================================================= */
.nb-files3__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nb-files3__item { position: relative; display: block; overflow: hidden; border-radius: var(--nb-r); aspect-ratio: 4 / 3; background-color: #222; }
.nb-files3__item img, .nb-files3__item .nb-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nb-ease, ease); }
.nb-files3__item:hover img { transform: scale(1.05); }
.nb-files3__item .nb-file__title { z-index: 2; font-size: 17px; padding-top: 60px; }
.nb-files3__item:hover .nb-file__title { color: #fff; }
@media (max-width: 768px) { .nb-files3__grid { grid-template-columns: 1fr; } .nb-files3__item { aspect-ratio: 16 / 10; } }

/* =========================================================
   24. Sidebar category boxes (portal style)
   ========================================================= */
.nb-catbox { --nb-cb: var(--nb-accent); background: var(--nb-card); border: 1px solid #e8e8e8; border-radius: var(--nb-r); overflow: hidden; }
.nb-catbox__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 14px; border-bottom: 1px solid #e8e8e8; }
.nb-catbox__head h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; margin: 0; }
.nb-catbox__head h3 .nb-icon { width: 18px; height: 18px; }
.nb-catbox__head a { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--nb-text-2); }
.nb-catbox__head a .nb-icon { width: 15px; height: 15px; }
.nb-catbox--accent .nb-catbox__head, .nb-catbox--cat .nb-catbox__head, .nb-catbox--dark .nb-catbox__head, .nb-catbox--green .nb-catbox__head { background: var(--nb-cb); border-bottom: 0; color: #fff; }
.nb-catbox--cat .nb-catbox__head { background: var(--nb-cb); }
.nb-catbox--dark .nb-catbox__head { background: var(--nb-dark); }
.nb-catbox--green .nb-catbox__head { background: var(--nb-match, #056818); }
.nb-catbox--accent .nb-catbox__head a, .nb-catbox--cat .nb-catbox__head a, .nb-catbox--dark .nb-catbox__head a, .nb-catbox--green .nb-catbox__head a { color: #fff; }
.nb-catbox__list { padding: 0 12px; }
.nb-cbitem { display: grid; grid-template-columns: 1fr 76px; grid-template-areas: "t i"; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ececec; }
.nb-cbitem:last-child { border-bottom: 0; }
.nb-cbitem__img { grid-area: i; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #ececec var(--nb-loader, none) center / 60% auto no-repeat; }
.nb-cbitem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--nb-ease, ease); }
.nb-cbitem__t { grid-area: t; font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.nb-cbitem:hover .nb-cbitem__t { color: var(--nb-accent); }
.nb-cbitem:hover img { transform: scale(1.07); }
[dir="rtl"] .nb-cbitem { grid-template-columns: 76px 1fr; grid-template-areas: "i t"; }

/* =========================================================
   25. Matches — home strip
   ========================================================= */
.nb-matches { margin: 0 0 40px; }
.nb-matches__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 8px; }
.nb-matches__title { font-size: 20px; font-weight: 600; }
.nb-matches__tabs { grid-column: 2; display: flex; background: var(--nb-card); border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; }
.nb-matches__tabs button { min-width: 130px; height: 34px; border: 0; border-inline-start: 1px solid #e8e8e8; background: transparent; color: var(--nb-text); font: 500 14px var(--nb-font); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .2s, background .2s; }
.nb-matches__tabs button:first-child { border-inline-start: 0; }
.nb-matches__tabs button:hover { background: #f6f6f6; }
.nb-matches__tabs button.is-active { color: var(--nb-match); font-weight: 700; box-shadow: inset 0 -3px 0 var(--nb-match); }
.nb-matches__tabs small { font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; background: #eef2ee; color: var(--nb-match); display: inline-grid; place-items: center; padding: 0 4px; }
.nb-matches__all { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--nb-match); color: #fff; font-size: 12px; transition: filter .2s; }
.nb-matches__all:hover { color: #fff; filter: brightness(1.12); }
.nb-matches__all .nb-icon { width: 14px; height: 14px; }
.nb-matches__viewport { position: relative; display: flex; align-items: stretch; background: var(--nb-card); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.nb-matches__track { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / var(--nb-mpv, 3)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.nb-matches__track::-webkit-scrollbar { display: none; }
.nb-matches__nav { flex: 0 0 28px; border: 0; background: var(--nb-match); color: #fff; display: grid; place-items: center; transition: opacity .2s, background .2s; }
.nb-matches__nav .nb-icon { width: 22px; height: 22px; }
.nb-matches__nav:disabled { background: color-mix(in srgb, var(--nb-match) 25%, #fff); cursor: default; }
.nb-matches__empty { display: flex; align-items: center; justify-content: center; gap: 10px; height: 100px; background: var(--nb-card); border-radius: 8px; color: var(--nb-muted); }
.nb-matches__empty .nb-icon { width: 26px; height: 26px; color: var(--nb-match); opacity: .5; }

.nb-mcard { display: block; scroll-snap-align: start; padding: 8px 14px 10px; border-inline-start: 1px solid #ececec; color: var(--nb-text); min-height: 100px; transition: background .2s; }
.nb-mcard:first-child { border-inline-start: 0; }
a.nb-mcard:hover { background: #fafcfa; color: var(--nb-text); }
.nb-mcard__league { text-align: center; font-size: 11px; color: var(--nb-text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-mcard__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.nb-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; text-align: center; line-height: 1.3; min-width: 0; }
.nb-team span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-team__logo { width: 32px; height: 32px; object-fit: contain; }
.nb-team__logo--empty { display: grid; place-items: center; border-radius: 50%; background: #eef2ee; color: var(--nb-match); font-weight: 700; font-size: 13px; }
.nb-mcard__mid { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 96px; }
.nb-mcard__score { display: flex; gap: 32px; font: 700 15px/1 Arial, sans-serif; }
.nb-mcard__time { font: 400 12px Arial, sans-serif; color: var(--nb-text-2); }
.nb-mstatus { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 12px; border: 1px solid #45b3eb; color: #45b3eb; border-radius: 10px; font-size: 10px; font-style: normal; white-space: nowrap; }
.nb-mstatus.is-live, .nb-mstatus.is-halftime { border-color: #e03322; color: #e03322; }
.nb-mstatus.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e03322; animation: nb-pulse-r 1.2s infinite; }
@keyframes nb-pulse-r { 0% { box-shadow: 0 0 0 0 rgba(224,51,34,.6); } 100% { box-shadow: 0 0 0 6px rgba(224,51,34,0); } }
.nb-mstatus.is-finished { border-color: var(--nb-match); color: var(--nb-match); }
.nb-mstatus.is-postponed, .nb-mstatus.is-cancelled { border-color: #9ca3af; color: #6b7280; }
.nb-mcard.is-live .nb-mcard__score { color: #e03322; }

/* Sidebar matches */
.nb-mside__list { padding: 0 10px; }
.nb-mrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #ececec; font-size: 13px; }
.nb-mrow:last-child { border-bottom: 0; }
.nb-mrow__team { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nb-mrow__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-mrow__team.is-away { justify-content: flex-end; }
.nb-mrow__team .nb-team__logo { width: 22px; height: 22px; flex-shrink: 0; }
.nb-mrow__mid { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.nb-mrow__time, .nb-mrow__score { font: 700 14px Arial, sans-serif; }
.nb-mrow__score { display: flex; gap: 6px; }
.nb-mrow__score i { font-style: normal; color: var(--nb-muted); }
.nb-mrow.is-live .nb-mrow__score { color: #e03322; }

/* =========================================================
   26. Matches — full page
   ========================================================= */
.nb-mpage { background: var(--nb-card); border: 1px solid #e8e8e8; border-radius: var(--nb-r); overflow: hidden; }
.nb-mpage__tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid #e8e8e8; }
.nb-mpage__tabs > * { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; font-size: 15px; color: var(--nb-text); border-inline-start: 1px solid #e8e8e8; transition: background .2s; cursor: pointer; }
.nb-mpage__tabs > *:first-child { border-inline-start: 0; }
.nb-mpage__tabs > *:hover { background: #f6f6f6; color: var(--nb-text); }
.nb-mpage__tabs > .is-active { background: #ececec; font-weight: 700; box-shadow: inset 0 -3px 0 var(--nb-match); }
.nb-mpage__tabs .is-live i { width: 8px; height: 8px; border-radius: 50%; background: #e03322; animation: nb-pulse-r 1.2s infinite; }
.nb-mpage__cal input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.nb-mpage__cal input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.nb-mpage__body { background: #ececec; padding: 20px; }
.nb-mpage__date { margin: 0 0 12px; font-weight: 700; }
.nb-mpage__filter { width: 100%; height: 48px; border: 0; border-radius: 6px; padding: 0 16px; margin-bottom: 18px; background: #fff; color: var(--nb-text-2); font: 15px var(--nb-font); appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: left 16px center; }
.nb-mpage__empty { text-align: center; color: var(--nb-muted); padding: 50px 10px; background: #fff; border-radius: 6px; }
.nb-mpage__empty .nb-licon { color: var(--nb-match); opacity: .5; }
.nb-mgroup { background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.nb-mgroup[hidden] { display: none; }
.nb-mgroup__head { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; margin: 0; background: #444; color: #fff; font-size: 16px; font-weight: 500; }
.nb-mgroup__head img { height: 26px; width: auto; }
.nb-mline { display: grid; grid-template-columns: 70px 1fr 120px 1fr 150px; align-items: center; gap: 10px; min-height: 64px; padding: 6px 18px; border-bottom: 1px solid #ececec; color: var(--nb-text); transition: background .2s; }
.nb-mline:last-child { border-bottom: 0; }
a.nb-mline:hover { background: #fafcfa; color: var(--nb-text); }
.nb-mline__time { font: 400 18px Arial, sans-serif; text-align: center; }
.nb-mline__team { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 13px; }
.nb-mline__team.is-away { justify-content: flex-start; }
.nb-mline__team .nb-team__logo { width: 42px; height: 30px; object-fit: contain; }
.nb-mline__score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; font: 700 18px Arial, sans-serif; }
.nb-mline__score small { font: 400 12px Arial, sans-serif; color: var(--nb-muted); }
.nb-mline__ch { font-size: 13px; color: var(--nb-text-2); text-align: center; direction: auto; }
.nb-mline.is-live .nb-mline__score b { color: #e03322; }
.nb-mpage__extra { margin-top: 24px; }

@media (max-width: 1024px) {
	.nb-matches__top { grid-template-columns: 1fr auto; }
	.nb-matches__tabs { grid-column: 1 / -1; grid-row: 2; }
	.nb-matches__tabs button { min-width: 0; flex: 1; }
	.nb-matches__track { grid-auto-columns: calc(100% / 2); }
}
@media (max-width: 768px) {
	.nb-matches__track { grid-auto-columns: 100%; }
	.nb-mpage__tabs > * { font-size: 13px; }
	.nb-mpage__body { padding: 10px; }
	.nb-mline { grid-template-columns: 1fr auto 1fr; grid-template-areas: "t t t" "a s b" "c c c"; gap: 6px; padding: 10px; }
	.nb-mline__time { grid-area: t; font-size: 14px; }
	.nb-mline__team { grid-area: a; flex-direction: row-reverse; justify-content: flex-end; }
	.nb-mline__team.is-away { grid-area: b; flex-direction: row-reverse; justify-content: flex-end; }
	.nb-mline__score { grid-area: s; min-width: 90px; }
	.nb-mline__ch { grid-area: c; font-size: 12px; }
	.nb-mline__team .nb-team__logo { width: 30px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.nb-hdr, .nb-breaking, .nb-trending, .nb-footer, .nb-side, .nb-share, .nb-ad, .nb-related, .nb-comments, .nb-totop, .nb-follow, .nb-fontsize, .nb-atools, .nb-rails { display: none !important; }
	.nb-single { display: block; }
	.nb-wrap { background: none; }
}

/* =========================================================
   27. Share — professional style (v3.5)
   ========================================================= */
.nb-sharebar--pro {
	gap: 12px 16px; padding: 14px 0; margin: 16px 0 20px; background: transparent !important;
	border: 0; border-top: 1px solid var(--nb-border); border-bottom: 1px solid var(--nb-border); border-radius: 0;
}
.nb-sharebar--pro .nb-sharebar__label {
	border: 0; padding: 0; font-size: 15px; font-weight: 700; gap: 8px; color: var(--nb-text); white-space: nowrap;
}
.nb-sharebar--pro .nb-sharebar__label .nb-icon {
	width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--nb-accent); color: #fff; box-sizing: border-box;
}
.nb-sharebar--pro .nb-sharebar__btns { flex: 1; gap: 8px; }
.nb-sharebar--pro .nb-sb {
	height: 40px; width: 40px; padding: 0; justify-content: center; border-radius: 8px; font-weight: 600; font-size: 14px;
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.nb-sharebar--pro .nb-sb .nb-icon { width: 18px; height: 18px; }
.nb-sharebar--pro .nb-sb .nb-sharebar__t { display: none; }
.nb-sharebar--pro .nb-sb.is-main { width: auto; min-width: 118px; padding: 0 16px; gap: 8px; }
.nb-sharebar--pro .nb-sb.is-main .nb-sharebar__t { display: inline; }
.nb-sharebar--pro .nb-sb.is-copy, .nb-sharebar--pro .nb-sb.is-print, .nb-sharebar--pro .nb-sb.is-native {
	background: var(--nb-chip, #f1f1f1); color: var(--nb-text); box-shadow: inset 0 0 0 1px var(--nb-border);
}
.nb-sharebar--pro .nb-sb.is-copy { margin-inline-start: auto; width: auto; padding: 0 14px; gap: 7px; }
.nb-sharebar--pro .nb-sb.is-copy .nb-sharebar__t { display: inline; }
.nb-sharebar--pro .nb-sb.is-copy:hover, .nb-sharebar--pro .nb-sb.is-print:hover, .nb-sharebar--pro .nb-sb.is-native:hover { background: var(--nb-dark); color: #fff; box-shadow: none; }
.nb-sharebar--pro .nb-sb.copied { background: #16a34a; color: #fff; box-shadow: none; }
.nb-sharebar--pro .nb-sb:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.nb-sharebar--pro.nb-sharebar--content { margin-top: 28px; }
:root[data-theme="dark"] .nb-sharebar--pro .nb-sb.is-copy { background: rgba(255,255,255,.06); }
@media (max-width: 640px) {
	.nb-sharebar--pro { gap: 10px; }
	.nb-sharebar--pro .nb-sharebar__label { width: 100%; }
	.nb-sharebar--pro .nb-sharebar__btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
	.nb-sharebar--pro .nb-sb, .nb-sharebar--pro .nb-sb.is-main, .nb-sharebar--pro .nb-sb.is-copy { width: 100%; min-width: 0; padding: 0; margin: 0; height: 44px; }
	.nb-sharebar--pro .nb-sb .nb-sharebar__t, .nb-sharebar--pro .nb-sb.is-main .nb-sharebar__t, .nb-sharebar--pro .nb-sb.is-copy .nb-sharebar__t { display: none; }
}

/* floating vertical share beside the article text */
.nb-sharebar--float { flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--nb-border); border-radius: 0; background: transparent !important; }
.nb-sharebar--float .nb-sharebar__label { border: 0; padding: 0; color: var(--nb-text-2); }
.nb-sharebar--float .nb-sharebar__label .nb-icon { width: 18px; height: 18px; color: var(--nb-text-2); }
.nb-sharebar--float .nb-sharebar__btns { flex-direction: column; gap: 8px; }
.nb-sharebar--float .nb-sb { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; }
.nb-sharebar--float .nb-sb .nb-icon { width: 16px; height: 16px; }
.nb-sharebar--float .nb-sharebar__t, .nb-sharebar--float .nb-sb__ok { display: none; }
.nb-sharebar--float .nb-sb.is-copy, .nb-sharebar--float .nb-sb.is-print { background: var(--nb-card); color: var(--nb-text); box-shadow: inset 0 0 0 1px #cfcfcf; }
.nb-sharebar--float .nb-sb.copied { background: #16a34a; color: #fff; box-shadow: none; }
.nb-sharebar--float .nb-sb:hover { transform: scale(1.08); }

/* =========================================================
   28. Article text: justify
   ========================================================= */
.nb-justify .nb-article__content,
.nb-justify .nb-article__content :is(p, li, dd, div):not([class*="has-text-align"]):not([style*="text-align"]) {
	text-align: justify !important;
	text-justify: inter-word;
}

/* =========================================================
   29. Ads: image ads, device visibility, side rails
   ========================================================= */
.nb-ad__link { display: inline-block; line-height: 0; }
.nb-ad__img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
.nb-ad.is-image { text-align: center; }
.nb-ad--inside { margin: 1.6em auto; text-align: center; }
@media (max-width: 768px) { .nb-ad--dev-desktop { display: none !important; } }
@media (min-width: 769px) { .nb-ad--dev-mobile { display: none !important; } }

.nb-rail {
	display: none; position: fixed; z-index: 30;
	top: var(--nb-rail-top, var(--nb-hdr));
	transform: translateY(var(--nb-rail-shift, 0px));
	transition: opacity .3s;
}
.nb-rails.is-closed { display: none; }
.nb-rail__in { position: relative; text-align: center; line-height: 0; }
.nb-rail .nb-ad__label { position: absolute; top: 0; inset-inline-start: 0; z-index: 2; line-height: 1.6; font-size: 10px; padding: 0 6px; background: rgba(0,0,0,.45); color: #fff; border-radius: 0 0 4px 0; }
.nb-rail__x {
	position: absolute; top: 4px; inset-inline-end: 4px; z-index: 3; width: 24px; height: 24px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 17px; line-height: 24px; cursor: pointer;
}
.nb-rail__x:hover { background: #000; }
.nb-rail img { display: block; max-width: 100%; height: auto; }

/* fixed sizes: 120 / 160 / 300 */
.nb-rails:not(.nb-rails--fill) .nb-rail { width: var(--nb-rail-w); }
.nb-rails--content:not(.nb-rails--fill) .nb-rail--right { left: calc(50% + var(--nb-w) / 2 + var(--nb-rail-gap)); }
.nb-rails--content:not(.nb-rails--fill) .nb-rail--left { right: calc(50% + var(--nb-w) / 2 + var(--nb-rail-gap)); }
.nb-rails--center:not(.nb-rails--fill) .nb-rail--right { left: calc(75% + var(--nb-w) / 4 - var(--nb-rail-w) / 2); }
.nb-rails--center:not(.nb-rails--fill) .nb-rail--left { right: calc(75% + var(--nb-w) / 4 - var(--nb-rail-w) / 2); }

/* fill: covers the whole gutter, from under the header to the bottom of the screen */
.nb-rails--fill .nb-rail { width: calc(50% - var(--nb-w) / 2 - var(--nb-rail-gap)); height: var(--nb-rail-h, calc(100vh - var(--nb-hdr))); }
.nb-rails--fill .nb-rail--right { left: calc(50% + var(--nb-w) / 2 + var(--nb-rail-gap)); }
.nb-rails--fill .nb-rail--left { right: calc(50% + var(--nb-w) / 2 + var(--nb-rail-gap)); }
.nb-rails--fill .nb-rail__in { height: 100%; overflow: hidden; }
.nb-rails--fill .nb-rail.is-image .nb-ad__link, .nb-rails--fill .nb-rail.is-image .nb-rail__in > img { display: block; width: 100%; height: 100%; }
.nb-rails--fill .nb-rail.is-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nb-rails--fill .nb-rail--right.is-image img { object-position: left top; }
.nb-rails--fill .nb-rail--left.is-image img { object-position: right top; }
.nb-rails--fill.nb-rails--center .nb-rail.is-image img { object-position: center top; }

/* =========================================================
   30. Footer — portal layout (v3.6)
   ========================================================= */
.nb-footer { padding: 30px 50px 0; background: var(--nb-foot); }
.nb-footer__top { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #333; flex-wrap: nowrap; }
.nb-footer__top .nb-logo { flex-shrink: 0; }
.nb-footer__top .nb-sbadges { margin-inline-start: auto; margin-inline-end: auto; }
.nb-social--footer { display: flex; align-items: center; gap: 16px; }
.nb-social--footer a { width: auto; height: auto; padding: 0; background: none !important; color: #7f7f7f; border-radius: 0; transition: color .2s, transform .2s; }
.nb-social--footer a:hover { color: #fff; transform: translateY(-2px); }
.nb-social--footer .nb-icon { width: 21px; height: 21px; }

.nb-footer__cols { display: grid; grid-template-columns: 400px 250px 1fr; gap: 0 50px; padding: 20px 0; border-bottom: 1px solid #333; }
.nb-footer__cols.no-sites { grid-template-columns: 400px 1fr; }
.nb-footer__col h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.nb-footer__menu { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.nb-footer__menu li { margin: 0; }
.nb-footer__menu a { display: block; line-height: 33px; color: rgba(255,255,255,.72); transition: color .15s, padding .15s; }
.nb-footer__menu a:hover { color: #fff; padding-inline-start: 4px; }
.nb-footer__menu--grid { grid-template-rows: repeat(var(--rows, 4), auto); grid-auto-flow: column; grid-auto-columns: 100px; column-gap: 120px; justify-content: start; }
.nb-footer__menu--grid a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-footer__col--sites { border-inline-start: 1px solid #333; padding-inline-start: 50px; margin-inline-start: -50px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.nb-footer__col--sites h4 { font-size: 18px; margin-bottom: 26px; }
.nb-footer__col--sites .nb-sites { gap: 16px 22px; }
.nb-footer__bottom { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0; height: 60px; color: #eee; font-size: 13px; text-align: center; }
.nb-footer__ci { width: auto; height: 17px; }

/* store badges */
.nb-sbadges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nb-sbadge { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 10px; direction: ltr; text-align: left; border-radius: 6px; background: #000; color: #fff; border: 1px solid #a6a6a6; transition: border-color .2s, transform .2s, background-color .2s; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.nb-sbadge:hover { color: #fff; border-color: #fff; transform: translateY(-2px); }
.nb-sbadge svg { width: 22px; height: 22px; flex-shrink: 0; }
.nb-sbadge span { display: flex; flex-direction: column; line-height: 1.05; }
.nb-sbadge small { font-size: 9px; letter-spacing: .02em; }
.nb-sbadge b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.nb-sbadges--banner .nb-sbadge { height: 42px; min-width: 136px; padding: 0 12px; background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.9); border-radius: 7px; }
.nb-sbadges--banner .nb-sbadge small { font-family: var(--nb-font); font-size: 10px; direction: rtl; text-align: left; }
.nb-sbadges--banner .nb-sbadge b { font-size: 18px; }
.nb-sbadges--banner .nb-sbadge:hover { background: rgba(0,0,0,.55); }

@media (max-width: 900px) {
	.nb-footer { padding: 24px 18px 0; }
	.nb-footer__top { flex-direction: column; gap: 18px; }
	.nb-footer__top .nb-sbadges { margin: 0; justify-content: center; }
	.nb-social--footer { flex-wrap: wrap; justify-content: center; }
	.nb-footer__cols, .nb-footer__cols.no-sites { grid-template-columns: 1fr; gap: 20px; }
	.nb-footer__menu--grid { column-gap: 24px; grid-auto-columns: minmax(80px, 1fr); }
	.nb-footer__col--sites { border: 0; border-top: 1px solid #333; margin: 0; padding: 20px 0 0; }
	.nb-footer__bottom { height: auto; padding: 16px 0 70px; flex-wrap: wrap; }
}

/* =========================================================
   31. App banner (v3.6)
   ========================================================= */
.nb-appban {
	position: relative; display: block; height: var(--ab-h, 213px); min-height: 0; margin: 24px 0; padding: 0; overflow: hidden; border-radius: 0;
	background: radial-gradient(120% 140% at 80% 0%, rgba(255,255,255,.08), transparent 60%), linear-gradient(100deg, var(--ab-bg, #1b2230), #0e1118);
}
.nb-appban::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,var(--ab-ov, .35)); pointer-events: none; }
.nb-appban:not(.has-bg)::after { background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.nb-appban__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-appban__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(30px, 9vw, 110px); height: 100%; }
.nb-appban__text { text-align: start; }
.nb-appban__text h2 { color: var(--ab-title, #e53935); font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin: 0; }
.nb-appban__text p { color: #fff; font-size: clamp(18px, 2.6vw, 30px); line-height: 1.3; margin: 10px 0 22px; }
.nb-appban__media { align-self: flex-start; height: 100%; display: flex; align-items: flex-start; }
.nb-appban__media img { height: calc(var(--ab-h, 213px) * 1.17); width: auto; max-width: none; margin-top: -2px; }

/* drawn phone (when no image is uploaded) */
.nb-phone { width: 150px; height: 300px; margin-top: 16px; padding: 9px; border-radius: 30px; background: #0d0d0d; box-shadow: 0 0 0 2px #3a3a3a, 0 24px 50px rgba(0,0,0,.55); transform: rotate(-7deg); transform-origin: bottom center; }
.nb-phone__screen { height: 100%; border-radius: 22px; background: #f2f2f2; overflow: hidden; display: flex; flex-direction: column; gap: 7px; }
.nb-phone__bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 30px; padding: 0 9px; background: #fff; border-bottom: 1px solid #e7e7e7; }
.nb-phone__bar b { font-size: 11px; font-weight: 800; color: #111; white-space: nowrap; overflow: hidden; }
.nb-phone__bar i { width: 12px; height: 3px; background: var(--nb-accent); box-shadow: 0 4px 0 var(--nb-accent), 0 -4px 0 var(--nb-accent); }
.nb-phone__bar i:last-child { width: 10px; height: 10px; border-radius: 50%; box-shadow: none; background: #ddd; }
.nb-phone__chips { display: flex; gap: 5px; padding: 0 8px; }
.nb-phone__chips span { flex: 1; height: 13px; border-radius: 7px; background: #e1e1e1; }
.nb-phone__chips .is-on { background: var(--nb-accent); }
.nb-phone__card { margin: 0 8px; padding: 6px; border-radius: 8px; background: #fff; display: grid; gap: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.nb-phone__img { height: 64px; border-radius: 5px; background: linear-gradient(135deg, #8a96ab, #c3cad6); position: relative; }
.nb-phone__img::after { content: ""; position: absolute; top: 5px; inset-inline-start: 5px; width: 26px; height: 8px; border-radius: 2px; background: var(--nb-accent); }
.nb-phone__img.is-2 { background: linear-gradient(135deg, #b58d6e, #e2c6a8); }
.nb-phone__l { height: 6px; border-radius: 3px; background: #d9d9d9; }
.nb-phone__l.is-s { width: 60%; }
@media (max-width: 768px) {
	.nb-appban { height: auto; margin-inline: -10px; }
	.nb-appban__in { padding: 26px 16px; }
	.nb-appban__text { text-align: center; }
	.nb-appban .nb-sbadges { justify-content: center; }
	.nb-appban__media { display: none; }
}

/* =========================================================
   32. "Follow us" box (v3.6)
   ========================================================= */
.nb-follow {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px;
	margin: 26px 0; padding: 18px 22px; font-size: 15px;
	background: var(--nb-card); border: 1px solid var(--nb-border); border-radius: 12px;
	box-shadow: inset -4px 0 0 var(--nb-accent), 0 6px 18px rgba(0,0,0,.04);
}
[dir="ltr"] .nb-follow { box-shadow: inset 4px 0 0 var(--nb-accent), 0 6px 18px rgba(0,0,0,.04); }
:root[data-theme="dark"] .nb-follow { background: var(--nb-card); }
.nb-follow__txt { display: flex; align-items: center; gap: 12px; }
.nb-follow__ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--nb-accent); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--nb-accent) 35%, transparent); }
.nb-follow__ic .nb-icon { width: 21px; height: 21px; }
.nb-follow__txt b { display: block; font-size: 18px; font-weight: 800; color: var(--nb-text); line-height: 1.3; }
.nb-follow__txt small { display: block; font-size: 13px; color: var(--nb-text-2); }
.nb-follow__icons { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-follow--labels .nb-follow__icons { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.nb-follow--labels .nb-follow__icons a.nb-fl { justify-content: center; }
.nb-follow__icons a.nb-fl { width: auto; height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-radius: 20px; color: #fff; font-size: 14px; font-weight: 600; transition: transform .18s, box-shadow .18s, filter .18s; }
.nb-follow__icons a.nb-fl:hover { color: #fff; opacity: 1; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 16px rgba(0,0,0,.18); }
.nb-follow__icons a.nb-fl .nb-icon { width: 16px; height: 16px; }
.nb-follow--icons .nb-follow__icons a.nb-fl { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.nb-follow--icons .nb-fl span { display: none; }
.is-googlenews { background: #4285f4; }
.is-instagram { background: linear-gradient(45deg, #f9a825, #e91e63 50%, #7b1fa2); }
@media (max-width: 640px) {
	.nb-follow { padding: 16px; }
	.nb-follow__icons { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
	.nb-follow__icons a.nb-fl { justify-content: center; }
	.nb-follow--icons .nb-follow__icons { display: flex; }
}

/* =========================================================
   33. Article bottom (v3.7): prev/next, in-text related, services,
       Google News, feedback, latest carousel
   ========================================================= */
/* prev / next */
.nb-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.nb-pn__item { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border: 1px solid var(--nb-border); border-radius: 12px; background: var(--nb-card); color: var(--nb-text); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.nb-pn__item.is-empty { border-style: dashed; background: transparent; min-height: 1px; }
.nb-pn__item.is-next { flex-direction: row-reverse; }
a.nb-pn__item:hover { color: var(--nb-text); border-color: var(--nb-accent); box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.nb-pn__img { flex-shrink: 0; width: 128px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--nb-chip); }
.nb-pn__img img, .nb-pn__img .nb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--nb-ease, ease); }
a.nb-pn__item:hover .nb-pn__img img { transform: scale(1.07); }
.nb-pn__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.nb-pn__label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--nb-accent); }
.nb-pn__label .nb-icon { width: 16px; height: 16px; transition: transform .2s; }
a.is-prev:hover .nb-pn__label .nb-icon { transform: translateX(3px); }
a.is-next:hover .nb-pn__label .nb-icon { transform: translateX(-3px); }
.nb-pn__title { font-size: 15px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-pn__meta { display: flex; gap: 10px; font-size: 12px; color: var(--nb-text-2); }
.nb-pn__meta em { font-style: normal; font-weight: 700; }
/* overlay style */
.nb-pn--overlay .nb-pn__item { display: block; min-height: 170px; padding: 0; border: 0; color: #fff; }
.nb-pn--overlay .nb-pn__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.nb-pn--overlay .nb-pn__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.85)); }
.nb-pn--overlay .nb-pn__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 14px 16px; }
.nb-pn--overlay a.nb-pn__item:hover { color: #fff; }
.nb-pn--overlay .nb-pn__label { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--nb-accent); color: #fff; }
.nb-pn--overlay .nb-pn__title { font-size: 16px; }
.nb-pn--overlay .nb-pn__meta, .nb-pn--overlay .nb-pn__meta em { color: rgba(255,255,255,.85) !important; }
/* simple style */
.nb-pn--simple .nb-pn__item { padding: 14px 16px; }
@media (max-width: 640px) {
	.nb-pn { grid-template-columns: 1fr; }
	.nb-pn__item.is-empty { display: none; }
	.nb-pn__img { width: 104px; }
	.nb-pn__item.is-next { flex-direction: row; }
}

/* in-text related box */
.nb-inrel { position: relative; margin: 1.6em 0; padding-inline-start: 16px; text-align: start !important; }
.nb-inrel::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; border-radius: 2px; background: var(--nb-accent); }
.nb-inrel__head { border-bottom: 1px solid var(--nb-border); margin-bottom: 12px; }
.nb-inrel__head b { display: inline-block; font-size: 16px; font-weight: 700; padding-bottom: 6px; margin-bottom: -1px; border-bottom: 3px solid var(--nb-accent); }
.nb-inrel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nb-inrel li { margin: 0 !important; }
.nb-inrel a { display: flex; align-items: center; gap: 12px; color: var(--nb-text) !important; text-decoration: none; }
.nb-inrel__img { flex-shrink: 0; width: 96px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--nb-chip); }
.nb-inrel__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; margin: 0 !important; }
.nb-inrel__t { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.6; text-align: start !important; }
.nb-inrel a:hover .nb-inrel__t { color: var(--nb-accent); }
.nb-inrel .nb-icon { flex-shrink: 0; color: var(--nb-accent); width: 22px; height: 22px; }

/* services links */
.nb-services { display: flex; flex-direction: column; gap: 4px; margin: 22px 0 6px; }
.nb-services a { color: var(--nb-accent); font-size: 16px; line-height: 1.9; }
.nb-services a:hover { text-decoration: underline; }

/* tags */
.nb-tags--red a { background: var(--nb-accent); color: #fff; height: 36px; padding: 0 16px; border-radius: 6px; font-size: 15px; }

/* Google News */
.nb-gnews { display: flex; align-items: center; gap: 12px; min-height: 55px; margin: 26px 0; padding: 8px 14px; border-radius: 8px; background: #eeeeee; color: var(--nb-text); font-size: 15px; transition: background-color .2s; }
.nb-gnews:hover { background: #e4e4e4; color: var(--nb-text); }
.nb-gnews svg { width: 32px; height: 32px; flex-shrink: 0; }
.nb-gnews span { flex: 1; }
.nb-gnews b { font-weight: 700; font-family: Arial, sans-serif; }
.nb-gnews .nb-icon { width: 20px; height: 20px; color: var(--nb-text-2); }
:root[data-theme="dark"] .nb-gnews { background: #2a2a2a; }

/* feedback */
.nb-fb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 34px; margin: 26px 0; padding: 18px; border: 1px solid var(--nb-border); border-radius: 8px; background: var(--nb-card); }
.nb-fb__q { font-size: 18px; font-weight: 700; }
.nb-fb__btns { display: flex; gap: 12px; }
.nb-fb__btn { width: 64px; height: 64px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; cursor: pointer; transition: background-color .2s, color .2s, transform .2s, opacity .2s; }
.nb-fb__btn svg { width: 32px; height: 32px; }
.nb-fb__btn.is-yes { border: 1.5px solid #1b7a35; color: #1b7a35; }
.nb-fb__btn.is-no { border: 1.5px solid #d32f2f; color: #d32f2f; }
.nb-fb__btn.is-yes:hover, .nb-fb__btn.is-yes.is-picked { background: #1b7a35; color: #fff; }
.nb-fb__btn.is-no:hover, .nb-fb__btn.is-no.is-picked { background: #d32f2f; color: #fff; }
.nb-fb__btn:active { transform: scale(.92); }
.nb-fb.is-done .nb-fb__btn:not(.is-picked) { opacity: .3; pointer-events: none; }
.nb-fb.is-done .nb-fb__btn { pointer-events: none; }
.nb-fb__thanks { display: none; width: 100%; text-align: center; color: #1b7a35; font-weight: 700; font-size: 14px; }
.nb-fb.is-done .nb-fb__thanks { display: block; animation: nb-up2 .3s ease both; }
@keyframes nb-up2 { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* latest carousel */
.nb-lcar { margin: 30px 0; }
.nb-lcar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--nb-border); }
.nb-lcar__head h2 { font-size: 18px; font-weight: 700; padding-bottom: 6px; margin-bottom: -7px; border-bottom: 3px solid var(--nb-accent); }
.nb-lcar__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.nb-lcar__track::-webkit-scrollbar { display: none; }
.nb-lcar__card { scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--nb-border); border-radius: 8px; overflow: hidden; background: var(--nb-card); color: var(--nb-text); transition: box-shadow .2s, transform .2s; }
.nb-lcar__card:hover { color: var(--nb-text); box-shadow: 0 10px 22px rgba(0,0,0,.09); transform: translateY(-2px); }
.nb-lcar__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--nb-chip); }
.nb-lcar__img img, .nb-lcar__img .nb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nb-lcar__card:hover .nb-lcar__img img { transform: scale(1.06); }
.nb-lcar__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 14px; }
.nb-lcar__body em { font-style: normal; font-size: 13px; font-weight: 700; }
.nb-lcar__body b { font-size: 15px; font-weight: 600; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-lcar__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.nb-lcar__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d6d6d6; transition: background-color .2s, width .2s; }
.nb-lcar__dots i.is-on { background: var(--nb-accent); }
@media (max-width: 900px) { .nb-lcar__track { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (max-width: 520px) { .nb-lcar__track { grid-auto-columns: 72%; } }
@media print { .nb-pn, .nb-inrel, .nb-gnews, .nb-fb, .nb-lcar, .nb-services { display: none !important; } }

/* =========================================================
   34. Category badge on images (v3.8)
   ========================================================= */
.nb-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: filter .2s; }
.nb-badge:hover { filter: brightness(1.1); }
.nb-ov.is-big .nb-badge { height: 28px; padding: 0 12px; font-size: 13px; }
.nb-bdg-top .nb-ov .nb-badge { position: absolute; top: 10px; inset-inline-start: 10px; margin: 0; z-index: 4; }
.nb-bdg-top .nb-ov .nb-ov__body { position: absolute; }
.nb-bdg-line .nb-ov .nb-badge { background: none !important; box-shadow: none; height: auto; padding: 0 8px; border-radius: 0; border-inline-start: 3px solid var(--c, var(--nb-accent)); font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.nb-bdg-none .nb-ov .nb-badge { display: none; }

/* hero: different counts for desktop / mobile */
.nb-hero .nb-ov.is-mob { display: none; }
@media (max-width: 768px) {
	.nb-hero .nb-ov.is-mob { display: block; }
	.nb-hero .nb-ov.is-desk { display: none; }
	.nb-hero { grid-auto-rows: 140px; }
	.nb-hero .nb-ov.is-big { grid-row: span 2; min-height: 240px; }
	.nb-hero .nb-ov:not(.is-big) .nb-ov__title { font-size: 14px; line-height: 1.5; }
	.nb-hero .nb-ov:not(.is-big) .nb-badge { height: 20px; padding: 0 7px; font-size: 11px; margin-bottom: 5px; }
	.nb-hero .nb-ov:not(.is-big) .nb-ov__body { padding: 8px 9px; }
	/* even number of small cards → last one spans the full row when odd */
	.nb-hero--meven .nb-ov:not(.is-desk):nth-last-child(1 of :not(.is-desk)) { grid-column: 1 / -1; }
}

/* =========================================================
   35. News ticker under the header (v3.8)
   ========================================================= */
.nb-tk { display: flex; align-items: center; height: 40px; margin: 0 0 16px; background: var(--tk-bg, #fff); overflow: hidden; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.nb-tk__label { flex-shrink: 0; display: grid; place-items: center; height: 100%; padding: 0 14px; background: var(--tk-lbg, #404041); color: #fff; font-size: 19px; font-weight: 700; position: relative; z-index: 2; }
.nb-tk__view { flex: 1; min-width: 0; height: 100%; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.nb-tk__track { display: flex; width: max-content; height: 100%; animation: nb-tk var(--tk-dur, 60s) linear infinite; will-change: transform; }
.nb-tk:hover .nb-tk__track, .nb-tk.is-paused .nb-tk__track { animation-play-state: paused; }
.nb-tk__group { display: flex; align-items: center; flex-shrink: 0; }
@keyframes nb-tk { from { transform: translateX(0); } to { transform: translateX(50%); } }
[dir="ltr"] .nb-tk__track { animation-name: nb-tk-ltr; }
@keyframes nb-tk-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nb-tk__item { white-space: nowrap; font-size: 16px; color: var(--nb-text); }
.nb-tk--pills .nb-tk__item { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 3px; background: var(--tk-ibg, #b31919); color: #fff; font-weight: 600; transition: filter .2s; }
.nb-tk--pills a.nb-tk__item:hover { color: #fff; filter: brightness(1.15); }
.nb-tk--plain a.nb-tk__item:hover { color: var(--tk-ibg, #b31919); }
.nb-tk__sep { flex-shrink: 0; width: 22px; height: 20px; margin: 0 20px; object-fit: contain; }
.nb-tk__sep.is-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tk-ibg, #b31919); }
.nb-tk__sep.is-mark { width: 18px; height: 18px; border-radius: 50%; background: var(--nb-accent); box-shadow: inset 0 0 0 4px var(--tk-bg, #fff), 0 0 0 2px var(--nb-accent); }
.nb-tk__pause { flex-shrink: 0; width: 34px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: #999; cursor: pointer; }
.nb-tk__pause:hover { color: var(--nb-text); }
.nb-tk__pause .nb-icon { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .nb-tk__track { animation-duration: calc(var(--tk-dur, 60s) * 3); } }
@media (max-width: 768px) {
	.nb-tk { height: 36px; margin: 0 -10px 12px; border-radius: 0; }
	.nb-tk__label { font-size: 15px; padding: 0 10px; }
	.nb-tk__item { font-size: 14px; }
	.nb-tk--pills .nb-tk__item { height: 26px; }
	.nb-tk__sep { margin: 0 12px; }
	.nb-tk__pause { display: none; }
}
@media print { .nb-tk { display: none !important; } }

/* =========================================================
   36. TV box (portal style, v3.8)
   ========================================================= */
.nb-tv { position: relative; background: #000; border-radius: 8px; padding: 40px 16px 32px; margin-bottom: 40px; text-align: center; }
.nb-tv__title { color: #fff; font-size: 26px; font-weight: 700; line-height: 40px; margin: 0 0 24px; }
.nb-tv__tabs { display: flex; justify-content: center; gap: 4px; max-width: 622px; margin: 0 auto 50px; border-radius: 8px; overflow: hidden; }
.nb-tv__tabs button { flex: 1; height: 46px; border: 0; background: #1d1d1d; color: #fff; font: 600 16px var(--nb-font); cursor: pointer; transition: background-color .2s; }
.nb-tv__tabs button:hover { background: #2c2c2c; }
.nb-tv__tabs button.is-active { background: var(--nb-accent); }
.nb-tv__viewport { position: relative; max-width: 932px; margin: 0 auto; }
.nb-tv__track { display: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; text-align: start; }
.nb-tv__track.is-active { display: grid; animation: nb-up2 .3s ease both; }
.nb-tv__track::-webkit-scrollbar { display: none; }
.nb-tvc { scroll-snap-align: start; display: flex; flex-direction: column; background: #1d1d1d; border-radius: 0 0 8px 8px; color: #fff; overflow: hidden; }
.nb-tvc:hover { color: #fff; }
.nb-tvc__img { position: relative; display: block; aspect-ratio: 16 / 9; border: 2px solid #8b0e0e; overflow: hidden; background: #111; }
.nb-tvc__img img, .nb-tvc__img .nb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.nb-tvc:hover .nb-tvc__img img { transform: scale(1.06); }
.nb-tvc__play { position: absolute; top: 12px; inset-inline-start: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--nb-accent); color: #fff; box-shadow: 0 0 0 0 rgba(224,51,34,.6); transition: transform .2s; }
.nb-tvc:hover .nb-tvc__play { transform: scale(1.12); animation: nb-ping 1.2s ease-out infinite; }
@keyframes nb-ping { to { box-shadow: 0 0 0 12px rgba(224,51,34,0); } }
.nb-tvc__play .nb-icon { width: 18px; height: 18px; margin-inline-start: 2px; }
.nb-tvc__body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 12px; padding: 12px 14px 14px; }
.nb-tvc__title { font-size: 15px; font-weight: 500; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-tvc:hover .nb-tvc__title { color: #ddd; }
.nb-tvc__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #a9a9a9; }
.nb-tvc__time .nb-icon { width: 15px; height: 15px; }
.nb-tv__nav { position: absolute; top: 70px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9d9d9; background: #f3f3f3; color: #333; display: grid; place-items: center; cursor: pointer; transition: opacity .2s, background-color .2s; }
.nb-tv__nav:hover { background: #fff; }
.nb-tv__nav:disabled { opacity: .35; cursor: default; }
.nb-tv__nav.is-prev { right: -52px; left: auto; }
.nb-tv__nav.is-next { left: -52px; right: auto; }
.nb-tv__more { display: inline-flex; align-items: center; justify-content: center; min-width: 195px; height: 35px; margin-top: 24px; padding: 0 20px; border-radius: 8px; background: var(--nb-accent); color: #fff; font-size: 15px; font-weight: 600; transition: filter .2s, transform .2s; }
.nb-tv__more:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
@media (max-width: 1100px) { .nb-tv__nav.is-prev { right: -44px; } .nb-tv__nav.is-next { left: -44px; } .nb-tv__viewport { margin: 0 44px; } }
@media (max-width: 768px) {
	.nb-tv { margin-inline: -10px; border-radius: 0; padding: 26px 12px 26px; }
	.nb-tv__title { font-size: 22px; margin-bottom: 16px; }
	.nb-tv__tabs { margin-bottom: 20px; }
	.nb-tv__tabs button { height: 40px; font-size: 14px; }
	.nb-tv__viewport { margin: 0; }
	.nb-tv__track { grid-auto-columns: 78%; }
	.nb-tv__nav { display: none; }
}

/* =========================================================
   37. Per-section device visibility (v3.9)
   ========================================================= */
.nb-only-desktop, .nb-only-mobile { display: contents; }
@media (max-width: 767px) { .nb-only-desktop { display: none; } }
@media (min-width: 768px) { .nb-only-mobile { display: none; } }

/* Drawer: logo area background (v3.9.1) */
.nb-drawer__head { background: var(--nb-dhead, #fff); margin: 0; padding: 0 20px; }
.nb-drawer__head .nb-logo.is-invert img { filter: brightness(0) saturate(100%); }

/* Drawer menu from the panel (v4.0) */
.nb-drawer__menu li.has-color > a:hover .nb-mt { color: var(--mi); }
.nb-drawer__sep { list-style: none; margin: 14px 0 4px; padding: 0 0 6px; border-bottom: 1px solid #333; }
.nb-drawer__sep span { font-size: 12px; font-weight: 700; color: #8a8a8a; letter-spacing: .02em; }
.nb-drawer__menu .current-menu-item > a .nb-mt { color: var(--nb-accent); }

/* =========================================================
   38. Device visibility helpers (desktop ≥1025 · tablet 768–1024 · mobile ≤767)
   ========================================================= */
.nb-only-tablet, .nb-only-desktop_tablet, .nb-only-tablet_mobile { display: contents; }
@media (max-width: 767px) { .nb-dev-desktop, .nb-dev-tablet, .nb-dev-desktop_tablet, .nb-only-tablet, .nb-only-desktop_tablet { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .nb-dev-desktop, .nb-dev-mobile, .nb-only-desktop, .nb-only-mobile { display: none !important; } }
@media (min-width: 1025px) { .nb-dev-tablet, .nb-dev-mobile, .nb-dev-tablet_mobile, .nb-only-tablet, .nb-only-tablet_mobile { display: none !important; } }

/* "new on site" slider: post slides with caption (v4.0) */
.nb-slider__item { position: relative; overflow: hidden; }
.nb-slider__item img, .nb-slider__item .nb-noimg { width: 100%; height: 100%; object-fit: cover; }
.nb-slider__item.has-title::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.nb-slider__cap { position: absolute; inset: auto 0 0; z-index: 1; padding: 12px 14px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-slider__track { scrollbar-width: none; }
.nb-slider__track::-webkit-scrollbar { display: none; }

/* =========================================================
   39. Responsive ad placements (v4.0)
   ========================================================= */
.nb-ad { max-width: 100%; overflow: hidden; }
.nb-ad.has-h { min-height: var(--ad-h, 0); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nb-ad__v--mob { display: none; }
@media (max-width: 767px) {
	.nb-ad.has-h { min-height: var(--ad-mh, var(--ad-h, 0)); }
	.nb-ad__v--desk { display: none; }
	.nb-ad__v--mob { display: block; }
}
.nb-ad iframe, .nb-ad ins, .nb-ad img { max-width: 100%; }
.nb-ad--prefooter { margin: 10px auto 24px; }
.nb-grid3 > .nb-ad--inlist { grid-column: 1 / -1; margin: 6px 0; }

/* sticky anchor ad (mobile + optional tablet) */
.nb-stickyad { position: fixed; inset-inline: 0; bottom: 0; z-index: 260; display: flex; justify-content: center; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.15); transform: translateY(110%); transition: transform .35s ease; }
.nb-stickyad.is-show { transform: none; }
.nb-stickyad[hidden] { display: none; }
.nb-stickyad__in { line-height: 0; max-width: 100%; overflow: hidden; }
.nb-stickyad__in img { max-height: 100px; width: auto; }
.nb-stickyad__x { position: absolute; top: -26px; inset-inline-end: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.97); color: #444; font-size: 18px; line-height: 26px; box-shadow: 0 -3px 8px rgba(0,0,0,.12); cursor: pointer; }
@media (min-width: 768px) { .nb-stickyad:not(.is-tab) { display: none !important; } }
@media (min-width: 1025px) { .nb-stickyad { display: none !important; } }
body.has-stickyad .nb-breaking { bottom: var(--nb-sticky-h, 62px); }
:root[data-theme="dark"] .nb-stickyad, :root[data-theme="dark"] .nb-stickyad__x { background: rgba(24,24,24,.97); color: #ddd; }
@media print { .nb-stickyad, .nb-ad { display: none !important; } }

/* =========================================================
   40. Side rails v4.1: auto size, styles, vertical centering
   ========================================================= */
.nb-rails--auto .nb-rail.is-image img, .nb-rails:not(.nb-rails--fill) .nb-rail.is-image img { width: 100%; height: auto; }
.nb-rails.is-tight .nb-rail { display: none !important; }
.nb-rail { transition: opacity .3s, top .2s; }
.nb-rails-s--card .nb-rail__in { padding: 6px; border-radius: 10px; background: var(--nb-card, #fff); box-shadow: 0 10px 28px rgba(0,0,0,.13), 0 0 0 1px rgba(0,0,0,.04); }
.nb-rails-s--card .nb-rail .nb-ad__label { position: static; display: block; margin: -2px 0 5px; padding: 0; background: none; color: #9a9a9a; font-size: 10px; line-height: 1.4; letter-spacing: .04em; text-align: center; border-radius: 0; }
.nb-rails-s--card .nb-rail__in img, .nb-rails-s--card .nb-rail__in iframe { border-radius: 6px; }
.nb-rails-s--outline .nb-rail__in { padding: 4px; border: 1px solid var(--nb-border, #e3e3e3); border-radius: 8px; background: var(--nb-card, #fff); }
.nb-rails-s--outline .nb-rail .nb-ad__label { position: static; display: block; background: none; color: #9a9a9a; text-align: center; margin-bottom: 3px; }
.nb-rails-s--card .nb-rail__x, .nb-rails-s--outline .nb-rail__x { top: -10px; inset-inline-end: -10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.nb-rail a.nb-ad__link { display: block; transition: transform .25s, filter .25s; }
.nb-rail a.nb-ad__link:hover { filter: brightness(1.04); }
