/*!
 * NEWSTONATION - main.css
 * Layout, components and utilities.
 */

/* ---------- CSS Variables ---------- */
:root {
	--nn-primary: #C8102E;
	--nn-primary-dark: #9a0c22;
	--nn-accent: #0B1C3F;
	--nn-bg: #f4f5f7;
	--nn-surface: #ffffff;
	--nn-text: #1f2937;
	--nn-muted: #6b7280;
	--nn-border: #e5e7eb;
	--nn-link: #C8102E;
	--nn-radius: 6px;
	--nn-shadow: 0 1px 2px rgba(0,0,0,.05);
	--nn-shadow-lg: 0 6px 18px rgba(0,0,0,.08);
	--nn-container: 1240px;
	--nn-font-en: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--nn-font-hi: 'Noto Sans Devanagari', var(--nn-font-en);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--nn-bg);
	color: var(--nn-text);
	font-family: var(--nn-font-hi);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nn-link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nn-font-hi); color: #111; line-height: 1.25; margin: 0 0 .5em; }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%); height: 1px; width: 1px;
	overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: #000; color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
	max-width: var(--nn-container);
	margin: 0 auto;
	padding: 0 16px;
}

/* ---------- Ad Zones ---------- */
.ad-zone {
	display: flex; justify-content: center; align-items: center;
	margin: 16px 0; min-height: 90px;
}
.ad-zone--above-header, .ad-zone--below-header, .ad-zone--above-footer { background: #ffffff; border-bottom: 1px solid var(--nn-border); }
.ad-zone__placeholder {
	width: 100%; min-height: 90px;
	background: repeating-linear-gradient(45deg, #f7f7f7, #f7f7f7 10px, #efefef 10px, #efefef 20px);
	border: 1px dashed #c8c8c8;
	border-radius: var(--nn-radius);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 12px; text-align: center;
	color: #777;
}
.ad-zone__placeholder-label { font-weight: 600; font-size: 13px; color: #555; text-transform: uppercase; letter-spacing: .5px; }
.ad-zone__placeholder-hint { font-size: 11px; margin-top: 4px; color: #888; }
.ad-widget { margin-bottom: 24px; }

/* ---------- Top Bar ---------- */
.top-bar {
	background: #1a1a1a; color: #ddd;
	font-size: 13px; padding: 6px 0;
}
.top-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top-bar a { color: #ddd; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar__lang a { margin-left: 10px; font-weight: 500; padding: 2px 6px; border: 1px solid #444; border-radius: 3px; }
.top-bar__lang a:hover { background: var(--nn-primary); border-color: var(--nn-primary); }
.top-menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--nn-surface); border-bottom: 1px solid var(--nn-border); }
.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 14px 16px;
}
.site-branding .site-title {
	margin: 0; font-size: 28px; font-weight: 800; color: var(--nn-primary);
	letter-spacing: -.5px;
}
.site-branding .site-title a { color: inherit; text-decoration: none; }
.site-branding .site-description { margin: 2px 0 0; color: var(--nn-muted); font-size: 13px; }
.custom-logo { max-height: 60px; width: auto; }
.site-header__ad { display: flex; justify-content: center; min-height: 90px; }
.site-header__ad .ad-zone { margin: 0; }
.site-header__tools { display: flex; align-items: center; gap: 12px; }
.search-toggle { background: none; border: 1px solid var(--nn-border); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--nn-text); }
.search-toggle:hover { background: var(--nn-primary); color: #fff; border-color: var(--nn-primary); }
.social-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social-links a { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #f1f1f1; align-items: center; justify-content: center; color: var(--nn-text); font-size: 13px; font-weight: 700; }
.social-links a:hover { background: var(--nn-primary); color: #fff; text-decoration: none; }
.social-links--footer a { background: #2a2a2a; color: #ccc; }
.social-links--footer a:hover { background: var(--nn-primary); color: #fff; }

.header-search { background: #fafafa; padding: 12px 0; border-top: 1px solid var(--nn-border); border-bottom: 1px solid var(--nn-border); }
.search-form { display: flex; max-width: 600px; margin: 0 auto; gap: 6px; }
.search-form .search-field { flex: 1; padding: 10px 12px; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); font-size: 14px; }
.search-form .search-submit { background: var(--nn-primary); color: #fff; border: 0; padding: 0 16px; border-radius: var(--nn-radius); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Main Navigation ---------- */
.main-navigation { background: var(--nn-primary); color: #fff; position: sticky; top: 0; z-index: 50; }
.main-navigation > .container { display: flex; align-items: center; }
.menu-toggle {
	display: none;
	background: transparent; border: 0; color: #fff;
	padding: 12px 8px; gap: 4px; flex-direction: column;
}
.menu-toggle__bar { width: 22px; height: 2px; background: #fff; display: block; }
.primary-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center;
	width: 100%;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: block;
	padding: 12px 16px;
	color: #fff; font-weight: 600; font-size: 15px;
	text-decoration: none;
	border-right: 1px solid rgba(255,255,255,.12);
}
.primary-menu > li:first-child > a { border-left: 1px solid rgba(255,255,255,.12); }
.primary-menu > li > a:hover, .primary-menu > .current-menu-item > a { background: var(--nn-primary-dark); }
.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; color: var(--nn-text);
	list-style: none; padding: 6px 0; margin: 0;
	box-shadow: var(--nn-shadow-lg);
	display: none; z-index: 60;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 8px 14px; color: var(--nn-text); font-size: 14px; }
.primary-menu .sub-menu a:hover { background: #f7f7f7; color: var(--nn-primary); }

/* ---------- Breaking News Ticker ---------- */
.breaking-news { background: #fff; border-bottom: 1px solid var(--nn-border); }
.breaking-news__inner { display: flex; align-items: center; padding: 8px 16px; gap: 12px; overflow: hidden; }
.breaking-news__label {
	background: var(--nn-primary); color: #fff;
	font-weight: 700; font-size: 12px; text-transform: uppercase;
	padding: 4px 10px; border-radius: 3px; flex-shrink: 0; letter-spacing: .5px;
}
.breaking-news__track { flex: 1; overflow: hidden; position: relative; }
.breaking-news__list {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 36px; white-space: nowrap;
	animation: pt-ticker 40s linear infinite;
}
.breaking-news__list li a { color: var(--nn-text); font-size: 14px; font-weight: 500; }
.breaking-news__list li a::before { content: '●'; color: var(--nn-primary); margin-right: 8px; font-size: 8px; vertical-align: middle; }
@keyframes pt-ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}
.breaking-news:hover .breaking-news__list { animation-play-state: paused; }

/* ---------- Layout / Sidebar ---------- */
.site-main { padding: 16px 0 32px; }
.layout { display: grid; gap: 24px; }
.layout--with-sidebar { grid-template-columns: 1fr 320px; }
.layout__main--wide { grid-column: 1 / -1; }
@media (max-width: 960px) {
	.layout--with-sidebar { grid-template-columns: 1fr; }
}

.widget-area .widget { background: var(--nn-surface); padding: 16px; margin-bottom: 16px; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); }
.widget-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--nn-primary); }
.widget-title span { background: var(--nn-primary); color: #fff; padding: 4px 10px; margin-right: 4px; border-radius: 3px; }

/* ---------- Sections ---------- */
.section { background: var(--nn-surface); margin: 24px 0; padding: 20px 0; }
.section--latest, .section--category, .section--stories { background: transparent; padding: 16px 0; }
.section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; border-left: 4px solid var(--cat-color, var(--nn-primary)); padding-left: 12px; }
.section__title { font-size: 22px; font-weight: 800; margin: 0; }
.section__title span { color: var(--nn-text); }
.section__more { color: var(--nn-primary); font-weight: 600; font-size: 14px; }

/* ---------- Featured Hero ---------- */
.featured-hero { padding: 16px 0; }
.featured-hero__grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 16px;
	align-items: stretch;
}
.featured-hero__side { display: flex; flex-direction: column; gap: 12px; }

/* Lead story - headline overlaid on the image */
.hero-lead {
	position: relative;
	border-radius: var(--nn-radius);
	overflow: hidden;
	min-height: 380px;
	background: #11203f;
	box-shadow: var(--nn-shadow);
}
.hero-lead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-lead__noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a2f5a, #0b1c3f); }
.hero-lead__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,16,36,.92), rgba(8,16,36,.35) 48%, rgba(8,16,36,0) 78%); }
.hero-lead__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.hero-lead__title { margin: 10px 0 8px; font-size: 28px; font-weight: 800; line-height: 1.22; }
.hero-lead__title a { color: #fff; }
.hero-lead__title a:hover { color: #fff; text-decoration: none; }
.hero-lead__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero-lead__meta { color: rgba(255,255,255,.82); font-size: 12px; }
.hero-lead__meta .dot { margin: 0 6px; }
.hero-lead .entry-category { position: relative; z-index: 2; }

/* Secondary stories - compact thumbnail rows */
.hero-mini {
	display: grid;
	grid-template-columns: 116px 1fr;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--nn-border);
	border-radius: var(--nn-radius);
	overflow: hidden;
	box-shadow: var(--nn-shadow);
	flex: 1;
}
.hero-mini__media { position: relative; background: #eee; }
.hero-mini__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mini__noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a2f5a, #0b1c3f); }
.hero-mini__body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-mini__title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--nn-text); }
.hero-mini:hover .hero-mini__title { color: var(--nn-primary); }
.hero-mini__meta { margin-top: 5px; font-size: 11px; color: var(--nn-muted); }
.hero-mini__meta .dot { margin: 0 5px; }

@media (max-width: 800px) {
	.featured-hero__grid { grid-template-columns: 1fr; }
	.hero-lead { min-height: 280px; }
	.hero-mini { flex: none; }
}

/* ---------- Cards / Grids ---------- */
.card-grid { display: grid; gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--cat { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) {
	.card-grid--3, .card-grid--4, .card-grid--cat { grid-template-columns: repeat(2, 1fr); }
	.card-grid--cat > :first-child { grid-column: span 2; }
}
@media (max-width: 540px) {
	.card-grid--3, .card-grid--4, .card-grid--cat { grid-template-columns: 1fr; }
	.card-grid--cat > :first-child { grid-column: auto; }
}
.card { background: #fff; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); overflow: hidden; box-shadow: var(--nn-shadow); display: flex; flex-direction: column; }
.card__media { display: block; background: #eee; aspect-ratio: 16/9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card__media:hover img { transform: scale(1.05); }
.card__noimg { aspect-ratio: 16/9; background: linear-gradient(135deg,#ddd,#bbb); }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.card__title { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
.card--lead .card__title { font-size: 22px; }
.card__title a { color: var(--nn-text); }
.card__title a:hover { color: var(--nn-primary); text-decoration: none; }
.card__excerpt { color: var(--nn-muted); font-size: 14px; margin: 0; }
.card__meta { color: var(--nn-muted); font-size: 12px; margin-top: auto; }

/* ---------- Category Badge ---------- */
.entry-category {
	display: inline-block;
	background: var(--cat-color, var(--nn-primary)); color: #fff !important;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
	padding: 3px 8px; border-radius: 3px; margin-bottom: 6px;
}
.entry-category:hover { text-decoration: none; opacity: .9; }

/* ---------- Post Row (blog list) ---------- */
.post-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: #fff; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); padding: 12px; margin-bottom: 16px; }
.post-row__media { align-self: start; display: block; overflow: hidden; border-radius: 4px; }
.post-row__media img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 4px; display: block; }
.post-row .entry-title { font-size: 22px; margin: 6px 0 8px; }
.entry-title a { color: var(--nn-text); }
.entry-title a:hover { color: var(--nn-primary); text-decoration: none; }
.entry-meta { color: var(--nn-muted); font-size: 13px; }
.entry-meta .dot { margin: 0 6px; }
.read-more { color: var(--nn-primary); font-weight: 600; margin-top: 6px; display: inline-block; }
@media (max-width: 600px) {
	.post-row { grid-template-columns: 1fr; }
}

/* ---------- Web Stories ---------- */
.stories-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 180px;
	gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.story-card { position: relative; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; scroll-snap-align: start; background: #222; color: #fff; }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card__noimg { width: 100%; height: 100%; background: linear-gradient(160deg,#444,#000); }
.story-card__title {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 10px;
	background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
	color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3;
}
.story-card:hover { text-decoration: none; }

/* ---------- Single Article ---------- */
.single-article { background: #fff; padding: 24px; border-radius: var(--nn-radius); border: 1px solid var(--nn-border); box-shadow: var(--nn-shadow); }
.single-article .entry-title { font-size: 32px; font-weight: 800; line-height: 1.25; margin: 4px 0 12px; }
.single-article__media { margin: 16px -24px; }
.single-article__media img { width: 100%; }
.single-article__media figcaption { color: var(--nn-muted); font-size: 13px; padding: 6px 24px 0; }
.single-article__content { font-size: 17px; line-height: 1.85; color: #222; }
.single-article__content h2, .single-article__content h3 { margin: 1.4em 0 .5em; }
.single-article__content p { margin: 0 0 1.1em; }
.single-article__content a { color: var(--nn-link); }
.single-article__content blockquote { border-left: 4px solid var(--nn-primary); margin: 1.2em 0; padding: 8px 16px; background: #fff8f8; color: #444; }
.single-article__content img { margin: 1em auto; border-radius: var(--nn-radius); }
.single-article__footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--nn-border); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.entry-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.entry-tags li a { background: #f1f1f1; color: #555; padding: 4px 10px; border-radius: 14px; font-size: 12px; }
.entry-tags li a:hover { background: var(--nn-primary); color: #fff; text-decoration: none; }
.share-buttons { display: flex; gap: 6px; align-items: center; }
.share-buttons__label { font-size: 13px; color: var(--nn-muted); margin-right: 4px; }
.share { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }
.share--fb { background: #1877f2; }
.share--tw { background: #000; }
.share--wa { background: #25d366; }
.share--li { background: #0a66c2; }
.share svg { width: 18px; height: 18px; }
.share:hover { opacity: .85; text-decoration: none; }

/* ---------- Author Bio ---------- */
.author-bio { display: flex; gap: 16px; padding: 18px; background: #fafafa; border-radius: var(--nn-radius); border: 1px solid var(--nn-border); margin-top: 24px; }
.author-bio__avatar img { border-radius: 50%; }
.author-bio__name { margin: 0 0 6px; font-size: 16px; }
.author-bio__desc { margin: 0; color: var(--nn-muted); font-size: 14px; }

/* ---------- Related ---------- */
.related-posts { margin-top: 32px; }
.related-posts .section__title { border-left: 4px solid var(--nn-primary); padding-left: 12px; margin-bottom: 14px; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 32px; background: #fff; padding: 24px; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); }
.comments-title { margin-top: 0; font-size: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--nn-border); }
.comment-meta { font-size: 13px; color: var(--nn-muted); }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); margin-top: 4px; font-family: inherit; }
.comment-form .submit { background: var(--nn-primary); color: #fff; border: 0; padding: 10px 22px; border-radius: var(--nn-radius); font-weight: 600; }

/* ---------- Pagination ---------- */
.navigation.pagination { margin: 24px 0; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.nav-links .page-numbers { display: inline-flex; min-width: 36px; height: 36px; padding: 0 10px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--nn-border); border-radius: var(--nn-radius); color: var(--nn-text); font-weight: 600; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--nn-primary); color: #fff; text-decoration: none; border-color: var(--nn-primary); }

/* ---------- Popular widget list ---------- */
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list__item { display: grid; grid-template-columns: auto 80px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--nn-border); }
.popular-list__item:last-child { border-bottom: 0; }
.popular-list__num { color: var(--nn-primary); font-weight: 800; font-size: 22px; width: 26px; text-align: center; }
.popular-list__thumb img { border-radius: 4px; }
.popular-list__title { font-size: 14px; font-weight: 600; color: var(--nn-text); display: block; line-height: 1.35; }
.popular-list__title:hover { color: var(--nn-primary); text-decoration: none; }
.popular-list__date { color: var(--nn-muted); font-size: 12px; }

/* ---------- Category Hero ---------- */
.category-hero { background: linear-gradient(135deg, var(--nn-primary), var(--nn-primary-dark)); color: #fff; padding: 28px 0; margin-bottom: 18px; }
.category-hero__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.category-hero__title { margin: 6px 0 4px; font-size: 32px; font-weight: 800; color: #fff; }
.category-hero__desc { margin: 0; opacity: .9; max-width: 720px; }

/* ---------- Footer (newstonation.in style) ---------- */
.site-footer {
	position: relative;
	margin-top: 60px;
	color: #fff;
}

/* Top wave - uses the footer's red color via currentColor */
.site-footer__wave {
	display: block;
	width: 100%;
	height: 80px;
	color: var(--nn-primary, #ed1c24);
	margin-bottom: -1px;
}

.site-footer__main {
	background: var(--nn-accent, #0B1C3F);
	color: #fff;
	padding: 48px 0 24px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 40px;
	align-items: start;
	padding: 12px 16px 32px;
}

.footer-col__logo { margin-bottom: 16px; }
.footer-col__logo .custom-logo { max-height: 46px; width: auto; }
.footer-col__about {
	color: #fff;
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	font-weight: 600;
}

/* ---- Social card (centre column) ---- */
.social-card {
	background: transparent;
	border: 2px solid rgba(255,255,255,.95);
	border-radius: 14px;
	padding: 22px 28px 24px;
	text-align: left;
	max-width: 460px;
	margin: 0 auto;
	position: relative;
}
.social-card__icon {
	position: absolute;
	top: 50%;
	left: 28px;
	transform: translateY(-100%);
	width: 44px;
	height: 44px;
	color: #fff;
}
.social-card__title {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 4px;
	padding-left: 56px;
}
.social-card__sub {
	color: #fff;
	font-size: 14px;
	margin: 0 0 14px;
	padding-left: 56px;
	opacity: .95;
}
.social-card__icons {
	display: flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	flex-wrap: wrap;
	align-items: center;
}

.social-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #fff;
	transition: transform .15s ease, opacity .15s ease;
}
.social-pill:hover { transform: translateY(-2px); text-decoration: none; opacity: .92; }
.social-pill svg { width: 22px; height: 22px; }

.social-pill--fb    { background: #1877f2; }
.social-pill--x     { background: #000; }
.social-pill--wa    { background: #25d366; }
.social-pill--li    { background: #0a66c2; }
.social-pill--ig    {
	background: radial-gradient(circle at 30% 110%, #ffd776 0%, #f98c52 25%, #f5535f 45%, #d62b89 65%, #8a3ab9 85%);
}
.social-pill--gnews {
	background: #fff;
	color: #1a73e8;
	box-shadow: 0 0 0 2px #fff inset;
}

/* ---- Links column ---- */
.footer-col--links { padding-top: 8px; }
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.footer-links li { padding: 0; }
.footer-links a {
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: .2px;
	text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }

/* ---- Divider + credit line ---- */
.site-footer__divider {
	border: 0;
	border-top: 1.5px solid rgba(255,255,255,.85);
	margin: 6px 16px 24px;
}
.site-footer__credit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	flex-wrap: wrap;
	color: #fff;
	padding: 4px 16px 18px;
	font-size: 15px;
}
.site-footer__copy { margin: 0; opacity: .85; }
.site-footer__powered { margin: 0; font-weight: 600; }
.site-footer__heart { color: var(--nn-primary); margin-right: 4px; font-size: 14px; vertical-align: middle; }
.site-footer__brand {
	font-style: normal;
	font-weight: 700;
	color: #fff;
	margin-left: 4px;
	font-size: 15px;
}

/* ---- Optional widget rows below ---- */
.site-footer__widgets {
	background: rgba(0,0,0,.12);
	padding: 28px 0;
}
.site-footer__widgets-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.site-footer__widgets .widget-title { color: #fff; }
.site-footer__widgets ul { list-style: none; padding: 0; margin: 0; }
.site-footer__widgets li { padding: 5px 0; }
.site-footer__widgets a { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: center;
	}
	.footer-col--about, .footer-col--links { max-width: 560px; margin: 0 auto; }
	.footer-col__about { text-align: center; }
	.social-card__title, .social-card__sub { padding-left: 0; }
	.social-card__icon { position: static; transform: none; margin: 0 auto 6px; }
	.social-card__icons { justify-content: center; }
	.footer-links { align-items: center; }
	.site-footer__widgets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.site-footer__wave { height: 50px; }
	.footer-col__about { font-size: 15px; }
	.footer-links a { font-size: 18px; }
	.site-footer__widgets-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive Nav ---------- */
@media (max-width: 900px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.site-header__ad { display: none; }
	.menu-toggle { display: inline-flex; }
	.primary-menu { display: none; flex-direction: column; width: 100%; background: var(--nn-primary-dark); }
	.primary-menu.is-open { display: flex; }
	.primary-menu > li { width: 100%; }
	.primary-menu > li > a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	.primary-menu .sub-menu { position: static; box-shadow: none; }
	.primary-menu .sub-menu a { color: #fff; }
}

/* ---------- Editor block tweaks ---------- */
.wp-block-quote { border-left: 4px solid var(--nn-primary); padding: 6px 14px; margin: 1.4em 0; background: #fff8f8; }
.wp-block-image figcaption { color: var(--nn-muted); font-size: 13px; }

/* ---------- NEWSTONATION branding ---------- */
.top-bar { background: var(--nn-accent); color: #fff; }
.top-bar a { color: #dfe5f1; }
.top-bar a:hover { color: #fff; }
.site-header { background: var(--nn-accent); }
.site-header .site-title a,
.site-header .site-description { color: #fff; }
.main-navigation { background: var(--nn-primary); }
.main-navigation .primary-menu > li > a { color: #fff; }
.main-navigation .primary-menu > li > a:hover { background: var(--nn-primary-dark); }
.section__title span { border-left: 4px solid var(--nn-primary); padding-left: 10px; color: var(--nn-accent); }

/* ---------- Live News Hub ---------- */
.section--live .section__title--live span::before { content: "🔴 "; }
.live-feed { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--nn-primary); }
.live-feed__item { display: flex; gap: 12px; align-items: baseline; padding: 8px 0 8px 14px; border-bottom: 1px solid var(--nn-border); }
.live-feed__time { color: var(--nn-primary); font-weight: 700; font-size: .85rem; min-width: 64px; }
.live-feed__link { color: var(--nn-text); }
.live-feed__link:hover { color: var(--nn-primary); }

/* ---------- Video Gallery ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.video-card { display: block; background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: var(--nn-radius); overflow: hidden; box-shadow: var(--nn-shadow); }
.video-card__thumb { position: relative; display: block; background: #111; aspect-ratio: 16/9; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.video-card__title { display: block; padding: 10px 12px; font-weight: 600; color: var(--nn-text); }

/* ---------- Daily Horoscope ---------- */
.section--horoscope { background: #f7f6fb; }
.zodiac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.zodiac-card { display: block; background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: var(--nn-radius); padding: 12px; box-shadow: var(--nn-shadow); }
.zodiac-card__name { display: block; font-weight: 700; color: var(--nn-accent); font-size: 1.05rem; }
.zodiac-card__name-en { display: block; font-size: .8rem; color: var(--nn-muted); margin-bottom: 6px; }
.zodiac-card__excerpt { display: block; font-size: .85rem; color: var(--nn-text); }

/* ---------- Trending Topics ---------- */
.trending-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.trending-tag { background: #fff; border: 1px solid var(--nn-border); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--nn-accent); }
.trending-tag:hover { background: var(--nn-primary); color: #fff; border-color: var(--nn-primary); text-decoration: none; }

/* ---------- Dark footer (Option A) overrides ---------- */
.footer-col__brand {
	color: #fff;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: .5px;
	margin: 0 0 14px;
}
.footer-col__heading {
	color: var(--nn-primary);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-col--about .footer-col__about {
	color: #aeb8cf;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.7;
}
.footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.footer-nav li { padding: 0; }
.footer-nav a {
	color: #c4ccde;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color .15s ease, padding-left .15s ease;
}
.footer-nav a:hover {
	color: #fff;
	padding-left: 4px;
	text-decoration: none;
}
.footer-social__sub {
	color: #aeb8cf !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	margin: 0 0 14px !important;
}
.footer-col--social .social-card__icons { margin-top: 0; }
.social-pill--yt { background: #ff0000; }
.social-pill--tg { background: #229ed9; }

/* Tablet: 2 columns before the 980px single-column collapse */
@media (max-width: 1080px) and (min-width: 981px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
	.footer-col__heading { border-bottom: none; padding-bottom: 0; }
	.footer-nav { align-items: center; }
	.site-footer__credit { justify-content: center; text-align: center; }
}

/* ---------- Header tools on the dark (navy) header ---------- */
.site-header .search-toggle {
	color: #fff;
	border-color: rgba(255,255,255,.35);
	background: rgba(255,255,255,.08);
}
.site-header .search-toggle:hover {
	background: var(--nn-primary);
	border-color: var(--nn-primary);
	color: #fff;
}
.site-header .social-links a {
	background: rgba(255,255,255,.12);
	color: #fff;
}
.site-header .social-links a:hover {
	background: var(--nn-primary);
	color: #fff;
}

/* ---------- Inline video player (lightbox) ---------- */
.video-card--playable { cursor: pointer; }
.nn-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(8, 14, 30, .88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.nn-video-modal__inner {
	position: relative;
	width: 100%;
	max-width: 900px;
}
.nn-video-modal__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.nn-video-modal__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.nn-video-modal__close {
	position: absolute;
	top: -42px;
	right: 0;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.nn-video-modal__close:hover { background: var(--nn-primary); }

/* ---------- Zodiac symbol on horoscope cards ---------- */
.zodiac-card { text-align: center; }
.zodiac-card__symbol {
	display: block;
	font-size: 2.1rem;
	line-height: 1;
	color: var(--nn-primary);
	margin-bottom: 8px;
}

/* ---------- Category block: lead + list cards ---------- */
.cat-block__grid { display: grid; grid-template-columns: 1.05fr 2fr; gap: 22px; align-items: start; }

.cat-lead__media { display: block; border-radius: var(--nn-radius); overflow: hidden; aspect-ratio: 16 / 10; background: #eee; }
.cat-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cat-lead__media:hover img { transform: scale(1.04); }
.cat-lead__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#1a2f5a,#0b1c3f); }
.cat-lead__title { margin: 12px 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; }
.cat-lead__title a { color: var(--nn-text); }
.cat-lead__title a:hover { color: var(--nn-primary); text-decoration: none; }

.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-item { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--nn-border); border-radius: 10px; padding: 12px 14px; box-shadow: var(--nn-shadow); }
.cat-item:hover { box-shadow: var(--nn-shadow-lg); }
.cat-item__top { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: start; }
.cat-item__title { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--nn-text); }
.cat-item__title a { color: inherit; }
.cat-item__title a:hover { color: var(--nn-primary); text-decoration: none; }
.cat-item__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat-item__thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #eee; }
.cat-item__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-item__noimg { position: absolute; inset: 0; background: linear-gradient(135deg,#1a2f5a,#0b1c3f); }

.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-item .cat-foot { border-top: 1px solid var(--nn-border); padding-top: 8px; }
.cat-foot__cat { position: relative; z-index: 2; color: var(--nn-primary); font-weight: 700; font-size: 13px; }
.cat-foot__cat:hover { text-decoration: none; opacity: .85; }
.cat-foot__time { position: relative; z-index: 2; color: var(--nn-muted); font-size: 12px; font-style: italic; }

@media (max-width: 880px) {
	.cat-block__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.cat-list { grid-template-columns: 1fr; }
}

/* ---------- Category block excerpts ---------- */
.cat-lead__excerpt { margin: 0 0 10px; color: var(--nn-muted); font-size: 14px; line-height: 1.55; }
.cat-item__main { min-width: 0; }
.cat-item__excerpt { display: block; margin-top: 6px; color: var(--nn-muted); font-size: 12.5px; line-height: 1.45; }
