/* PRAJA NADU — modern, mobile-first public CSS
   ------------------------------------------------------------------ */

:root {
	--brand:        #e11d48;
	--brand-2:      #be123c;
	--brand-soft:   #fff1f2;
	--accent:       #2563eb;
	--accent-2:     #1d4ed8;
	--success:      #16a34a;
	--warning:      #d97706;
	--danger:       #dc2626;
	--ink:          #0f172a;
	--ink-soft:     #334155;
	--mute:         #64748b;
	--mute-soft:    #94a3b8;
	--line:         #e2e8f0;
	--line-soft:    #f1f5f9;
	--bg:           #ffffff;
	--bg-soft:      #f8fafc;
	--bg-card:      #ffffff;
	--bg-glass:     rgba(255,255,255,.85);
	--shadow-sm:    0 1px 2px rgba(15,23,42,.04);
	--shadow:       0 4px 12px rgba(15,23,42,.06);
	--shadow-md:    0 8px 24px rgba(15,23,42,.08);
	--shadow-lg:    0 18px 40px rgba(15,23,42,.12);
	--radius-sm:    6px;
	--radius:       10px;
	--radius-lg:    16px;
	--maxw:         1240px;
	--header-h:     64px;
	--ease:         cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
	font-family: 'Noto Sans Telugu', 'Mallanna', 'Hind Telugu',
	             system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg-soft);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand); }
button { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* === Top utility bar === */
.topbar {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	color: #cbd5e1;
	font-size: 12.5px;
	padding: 7px 0;
	border-bottom: 1px solid #1e293b;
}
.topbar .container {
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	align-items: center;
}
.topbar .date { display: inline-flex; align-items: center; gap: 8px; }
.topbar .date i { color: var(--brand); }
.topbar .links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #cbd5e1; transition: color .15s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar .live-pill {
	background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px;
	font-weight: 700; font-size: 11px; letter-spacing: .5px;
	display: inline-flex; align-items: center; gap: 5px;
}
.topbar .live-pill::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
	animation: pulse 1.4s infinite;
}
@media (max-width: 600px) {
	.topbar .links { gap: 10px; }
	.topbar .links a:not(.live-pill):nth-child(n+5) { display: none; }
}

/* === Header === */
.site-header {
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 50;
	box-shadow: var(--shadow-sm);
}
.site-header .container {
	display: flex; align-items: center; gap: 14px;
	min-height: var(--header-h);
	padding-top: 10px; padding-bottom: 10px;
}
.brand {
	display: flex; align-items: center; gap: 12px;
	color: var(--brand); font-weight: 800;
	font-size: 24px; letter-spacing: -.4px;
	flex-shrink: 0;
}
.brand .logo-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 12px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; font-weight: 800; font-size: 14px;
	box-shadow: 0 4px 14px rgba(225,29,72,.3);
}
.brand-tag {
	color: var(--mute); font-size: 11px; font-weight: 500; margin-left: 6px;
	display: block; line-height: 1;
}
.brand-stack { display: flex; flex-direction: column; gap: 2px; }
.brand-stack .b1 { line-height: 1; }

.search-box {
	margin-left: auto; flex: 1; max-width: 360px;
	display: flex; position: relative;
}
.search-box input {
	flex: 1; min-width: 0;
	border: 1px solid var(--line);
	padding: 10px 14px 10px 40px;
	border-radius: 999px;
	font: inherit; outline: none;
	background: var(--bg-soft);
	transition: all .15s var(--ease);
}
.search-box input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(225,29,72,.1); }
.search-box i {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	color: var(--mute); pointer-events: none;
}

.menu-toggle, .search-toggle {
	display: none;
	background: var(--bg-soft); border: 1px solid var(--line);
	border-radius: 10px; width: 40px; height: 40px;
	cursor: pointer; font-size: 16px; color: var(--ink);
	align-items: center; justify-content: center;
	transition: all .15s var(--ease);
}
.menu-toggle:hover, .search-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* === Main nav === */
.main-nav {
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff;
	font-size: 13.5px;
	box-shadow: 0 2px 8px rgba(225,29,72,.18);
}
.main-nav .container { display: flex; align-items: stretch; padding: 0 16px; }
.main-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: nowrap; align-items: stretch;
	width: 100%;
}
.main-nav li { flex: 0 0 auto; }
.main-nav a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 12px 11px;
	color: #fff; white-space: nowrap;
	font-weight: 600;
	border-bottom: 3px solid transparent;
	transition: background .15s var(--ease), border-color .15s var(--ease);
	height: 100%;
	box-sizing: border-box;
}
.main-nav a.home-link { padding: 12px 14px; font-size: 16px; }
.main-nav a:hover, .main-nav a.active {
	background: rgba(0,0,0,.18); color: #fff;
	border-bottom-color: rgba(255,255,255,.85);
}
.main-nav .has-children { position: relative; }
.main-nav .has-children > a::after {
	content: '\f078'; /* fa-chevron-down */
	font-family: 'Font Awesome 6 Free'; font-weight: 900;
	font-size: 9px; margin-left: 3px; opacity: .85;
}

/* Tablet — slightly tighter to fit all items */
@media (max-width: 1100px) {
	.main-nav { font-size: 13px; }
	.main-nav a { padding: 11px 9px; }
}
@media (max-width: 992px) {
	.main-nav { font-size: 12.5px; }
	.main-nav a { padding: 10px 8px; gap: 4px; }
	.main-nav .has-children > a::after { font-size: 8px; }
}
.main-nav .submenu {
	display: none; position: absolute; top: 100%; left: 0;
	background: #fff; min-width: 240px; padding: 8px 0;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--line); border-radius: 0 0 12px 12px;
	z-index: 100;
	max-height: 70vh; overflow-y: auto;
}
.main-nav .has-children:hover .submenu,
.main-nav .has-children:focus-within .submenu { display: block; }
.main-nav .submenu a {
	display: block; padding: 9px 16px; color: var(--ink); font-weight: 500;
	border-bottom: 1px solid var(--line-soft); border-left: 0;
	background: transparent;
}
.main-nav .submenu a:hover {
	background: var(--brand-soft); color: var(--brand);
	border-bottom-color: var(--line-soft); border-left: 0;
}

/* === Mobile drawer === */
.mobile-drawer {
	display: none;
	position: fixed; inset: 0; z-index: 200;
	pointer-events: none;
}
.mobile-drawer.open { display: block; pointer-events: auto; }
.mobile-drawer .backdrop {
	position: absolute; inset: 0; background: rgba(15,23,42,.55);
	backdrop-filter: blur(2px);
	opacity: 0; transition: opacity .2s var(--ease);
}
.mobile-drawer.open .backdrop { opacity: 1; }
.mobile-drawer .panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: 86vw; max-width: 360px;
	background: #fff; box-shadow: var(--shadow-lg);
	transform: translateX(100%); transition: transform .25s var(--ease);
	display: flex; flex-direction: column;
}
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.mobile-drawer .head .brand { font-size: 18px; }
.mobile-drawer .close {
	background: var(--bg-soft); border: 0; width: 36px; height: 36px;
	border-radius: 10px; cursor: pointer; font-size: 16px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ink);
}
.mobile-drawer .close:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-drawer nav {
	flex: 1; overflow-y: auto; padding: 12px 0;
}
.mobile-drawer nav a {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 18px; color: var(--ink);
	font-weight: 600; font-size: 15px;
	border-bottom: 1px solid var(--line-soft);
}
.mobile-drawer nav a i { width: 20px; color: var(--brand); text-align: center; }
.mobile-drawer nav a:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-drawer nav .group-h {
	font-size: 11px; color: var(--mute); padding: 14px 18px 6px;
	text-transform: uppercase; letter-spacing: .5px; font-weight: 700;
}

/* === Breaking news ticker === */
.breaking-bar {
	background: linear-gradient(90deg, #fff1f2, #fff);
	border-bottom: 1px solid #fecdd3;
}
.breaking-bar .container {
	display: flex; align-items: center; gap: 14px;
	padding: 9px 16px; min-height: 42px;
}
.breaking-label {
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; font-weight: 700;
	padding: 5px 12px; border-radius: 999px; font-size: 11.5px;
	flex-shrink: 0; letter-spacing: .5px;
	display: inline-flex; align-items: center; gap: 6px;
	box-shadow: 0 2px 8px rgba(225,29,72,.25);
}
.breaking-label::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff;
	animation: pulse 1.4s infinite;
}
.breaking-track {
	flex: 1; overflow: hidden; white-space: nowrap; position: relative;
	mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
.breaking-track .track-inner {
	display: inline-block; animation: ticker 60s linear infinite;
	padding-left: 100%;
}
.breaking-track a { color: var(--ink); margin-right: 50px; font-weight: 500; font-size: 14px; }
.breaking-track a:hover { color: var(--brand); }
@keyframes ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}
@keyframes pulse {
	0%   { opacity: 1; transform: scale(1); }
	50%  { opacity: .55; transform: scale(.9); }
	100% { opacity: 1; transform: scale(1); }
}

/* === Layout === */
main { padding: 18px 0 36px; }
.grid-2 {
	display: grid; gap: 22px;
	grid-template-columns: 1fr;
}
@media (min-width: 992px) {
	.grid-2 { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* === Section / heading === */
.section {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	margin-bottom: 22px;
	box-shadow: var(--shadow-sm);
}
.section-h {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 10px;
	position: relative;
	border-bottom: 1px solid var(--line);
}
.section-h::after {
	content: ''; position: absolute;
	left: 0; bottom: -1px; width: 60px; height: 3px;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
	border-radius: 2px;
}
.section-h h2 {
	margin: 0; font-size: 19px; color: var(--ink);
	letter-spacing: -.2px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 8px;
}
.section-h h2 i { color: var(--brand); }
.section-h .more {
	font-size: 13px; color: var(--accent); font-weight: 600;
	display: inline-flex; align-items: center; gap: 5px;
}
.section-h .more:hover { color: var(--brand); }

/* === Card grid === */
.news-grid {
	display: grid; gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .news-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
	display: flex; flex-direction: column;
	color: var(--ink);
}
.card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
	border-color: rgba(225,29,72,.2);
}
.card .thumb {
	aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden;
	position: relative;
}
.card .thumb img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .35s var(--ease);
}
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.card .cat-pill {
	font-size: 10.5px; color: var(--brand); font-weight: 700;
	text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
	display: inline-block;
}
.card h3 { margin: 0 0 8px; font-size: 15.5px; line-height: 1.4; font-weight: 700; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand); }
.card .meta {
	margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--mute);
	display: flex; gap: 10px; align-items: center;
}
.card .meta i { font-size: 10px; }

/* Hero card */
.hero {
	background: #fff; border-radius: var(--radius-lg);
	border: 1px solid var(--line); overflow: hidden; margin-bottom: 22px;
	display: grid; grid-template-columns: 1fr;
	box-shadow: var(--shadow);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .hero { grid-template-columns: 58% 42%; } }
.hero .thumb { aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.hero .thumb img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .4s var(--ease);
}
.hero:hover .thumb img { transform: scale(1.04); }
.hero .body { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.hero .cat-pill {
	font-size: 11px; color: var(--brand); font-weight: 700;
	text-transform: uppercase; letter-spacing: .6px;
	display: inline-flex; align-items: center; gap: 5px;
}
.hero h2 { font-size: 22px; line-height: 1.3; margin: 8px 0 10px; font-weight: 800; }
.hero h2 a { color: var(--ink); }
.hero h2 a:hover { color: var(--brand); }
.hero p { margin: 0 0 12px; color: var(--ink-soft); font-size: 14.5px; }
.hero .meta { font-size: 12.5px; color: var(--mute); display: inline-flex; gap: 12px; flex-wrap: wrap; }
.hero .meta i { color: var(--brand); }
@media (min-width: 768px) { .hero h2 { font-size: 26px; } }

/* List style for sidebar */
.list-news { margin: 0; padding: 0; list-style: none; counter-reset: ln; }
.list-news li {
	display: grid; grid-template-columns: 86px 1fr; gap: 12px;
	padding: 11px 0; border-bottom: 1px solid var(--line-soft);
	position: relative;
}
.list-news li:last-child { border: 0; }
.list-news .thumb {
	aspect-ratio: 16/9; background: var(--bg-soft);
	border-radius: 8px; overflow: hidden;
}
.list-news .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.list-news li:hover .thumb img { transform: scale(1.06); }
.list-news h4 { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.list-news h4 a { color: var(--ink); }
.list-news .meta { font-size: 11px; color: var(--mute); margin-top: 4px; display: inline-flex; gap: 8px; }
.list-news .meta i { font-size: 9px; }
.list-news.numbered { counter-reset: ln; }
.list-news.numbered li::before {
	counter-increment: ln; content: counter(ln);
	position: absolute; left: -4px; top: 8px;
	font-size: 28px; font-weight: 800; color: var(--brand-soft);
	line-height: 1;
}

/* === Article detail === */
.article-detail {
	background: #fff; padding: 24px; border-radius: var(--radius);
	border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.article-detail .crumbs {
	font-size: 12.5px; color: var(--mute); margin-bottom: 14px;
	display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.article-detail .crumbs i { font-size: 9px; color: var(--mute-soft); }
.article-detail .crumbs a { color: var(--accent); }
.article-detail .cat-pill {
	display: inline-flex; align-items: center; gap: 5px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff !important;
	font-size: 12px; padding: 5px 12px; border-radius: 999px;
	font-weight: 700; margin-bottom: 14px; letter-spacing: .3px;
	box-shadow: 0 2px 8px rgba(225,29,72,.25);
}
.article-detail h1 {
	font-size: 26px; line-height: 1.3; margin: 0 0 16px;
	font-weight: 800; color: var(--ink);
}
@media (min-width: 768px) { .article-detail h1 { font-size: 32px; } }

.article-detail .meta-row {
	display: flex; gap: 14px; flex-wrap: wrap;
	color: var(--mute); font-size: 13px; margin-bottom: 18px;
	padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.article-detail .meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.article-detail .meta-row i { color: var(--brand); }
.article-detail .meta-row strong { color: var(--ink); font-weight: 600; }

.article-detail .featured { margin: 0 0 6px; border-radius: var(--radius); overflow: hidden; }
.article-detail .featured img { width: 100%; }
.article-detail .caption { font-size: 12.5px; color: var(--mute); margin: 6px 0 18px; font-style: italic; }
.article-detail .summary {
	font-size: 16.5px; line-height: 1.65; color: var(--ink);
	font-weight: 500; padding: 14px 18px; border-left: 4px solid var(--brand);
	background: linear-gradient(135deg, var(--brand-soft), #fff);
	margin-bottom: 22px; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-detail .content { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }
.article-detail .content p { margin: 0 0 14px; }
.article-detail .content h2,
.article-detail .content h3 {
	margin: 28px 0 12px; line-height: 1.3; color: var(--ink);
}
.article-detail .content img { margin: 16px 0; border-radius: var(--radius); }
.article-detail .content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.tags-row {
	margin: 24px 0; padding: 14px 0;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.tags-row strong { color: var(--ink); font-weight: 600; }
.tags-row i { color: var(--brand); margin-right: 4px; }
.tag-pill {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--bg-soft); color: var(--ink-soft);
	padding: 6px 13px; border-radius: 999px; font-size: 12.5px;
	border: 1px solid var(--line); transition: all .15s var(--ease);
}
.tag-pill:hover {
	background: var(--brand); color: #fff; border-color: var(--brand);
	transform: translateY(-1px);
}

.share-row { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; align-items: center; }
.share-row strong { color: var(--ink-soft); }
.share-row a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
	color: #fff; transition: all .15s var(--ease);
}
.share-row a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.share-row a.wa { background: #25D366; }
.share-row a.fb { background: #1877F2; }
.share-row a.tw { background: #0f172a; }
.share-row a.tg { background: #0088cc; }
.share-row a.ln { background: #0a66c2; }

.author-card {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px; background: linear-gradient(135deg, var(--bg-soft), #fff);
	border: 1px solid var(--line); border-radius: var(--radius); margin: 22px 0;
}
.author-card .av {
	width: 60px; height: 60px; border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
	flex-shrink: 0; font-size: 22px;
	box-shadow: 0 4px 12px rgba(225,29,72,.25);
}
.author-card h4 { margin: 0 0 4px; font-size: 16px; }
.author-card p { margin: 0; color: var(--mute); font-size: 13.5px; }

/* === Sidebar === */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar .section { margin: 0; }
.sidebar .section-h h2 { font-size: 16px; }

/* === Footer === */
.site-footer {
	background: linear-gradient(180deg, #0f172a, #020617);
	color: #cbd5e1;
	padding: 40px 0 22px; margin-top: 30px; font-size: 14px;
}
.site-footer h5 {
	color: #fff; font-size: 14px; margin: 0 0 14px;
	font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
	display: inline-flex; align-items: center; gap: 8px;
}
.site-footer h5 i { color: var(--brand); }
.site-footer .grid {
	display: grid; gap: 28px;
	grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .site-footer .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a {
	color: #cbd5e1; transition: all .15s var(--ease);
	display: inline-flex; align-items: center; gap: 6px;
}
.site-footer a:hover { color: #fff; transform: translateX(2px); }
.site-footer a i { font-size: 11px; color: var(--mute); }
.site-footer .socials { display: flex; gap: 8px; margin-top: 12px; }
.site-footer .socials a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 10px;
	background: rgba(255,255,255,.06);
	color: #cbd5e1; transition: all .15s var(--ease);
}
.site-footer .socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.site-footer .copyright {
	border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px;
	padding-top: 18px; text-align: center; font-size: 12.5px; color: #64748b;
}

/* === Buttons === */
.btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 18px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff;
	border: 0; border-radius: 8px; cursor: pointer;
	font-weight: 600; font-size: 14px; text-decoration: none;
	transition: all .15s var(--ease);
	box-shadow: 0 4px 12px rgba(225,29,72,.2);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(225,29,72,.3); color: #fff; }
.btn:active { transform: translateY(0); }
.btn.btn-outline {
	background: transparent; color: var(--brand);
	border: 1.5px solid var(--brand); box-shadow: none;
}
.btn.btn-outline:hover { background: var(--brand); color: #fff; }
.btn.btn-sm { padding: 7px 13px; font-size: 12.5px; }
.btn.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(37,99,235,.2); }
.btn.btn-accent:hover { box-shadow: 0 6px 16px rgba(37,99,235,.3); }
.btn.btn-secondary { background: linear-gradient(135deg, #475569, #334155); box-shadow: 0 4px 12px rgba(71,85,105,.2); }
.btn.btn-danger { background: linear-gradient(135deg, var(--danger), #b91c1c); }

.input, select, textarea {
	width: 100%; padding: 11px 14px; font: inherit; color: var(--ink);
	border: 1px solid var(--line); border-radius: 8px; background: #fff;
	outline: none; transition: all .15s var(--ease);
}
.input:focus, select:focus, textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(225,29,72,.1);
}
textarea { min-height: 110px; resize: vertical; }
label { font-size: 13.5px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }

/* === Pagination === */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 28px 0; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 8px;
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	font-weight: 600; font-size: 13.5px; transition: all .15s var(--ease);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.pagination .current {
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; border-color: transparent;
	box-shadow: 0 4px 10px rgba(225,29,72,.25);
}

/* === Ads === */
.ad-slot {
	margin: 16px 0; text-align: center;
	background: var(--bg-soft); border: 1px dashed var(--line);
	border-radius: var(--radius); padding: 8px;
}
.ad-slot img { display: inline-block; max-width: 100%; border-radius: 6px; }
.ad-slot::before { content: 'Advertisement'; display: block; font-size: 10px; color: var(--mute); margin-bottom: 4px; }

/* === Misc === */
.muted { color: var(--mute); }
.text-center { text-align: center; }
.empty {
	padding: 48px 20px; text-align: center; color: var(--mute);
	background: var(--bg-soft); border-radius: var(--radius);
	border: 1px dashed var(--line);
}
.empty i { font-size: 36px; color: var(--mute-soft); margin-bottom: 10px; }

/* === Eenadu-style components === */

.dense-list { list-style: none; padding: 0; margin: 0; }
.dense-list li {
	border-bottom: 1px dashed var(--line);
	padding: 9px 0; line-height: 1.5;
	display: flex; align-items: flex-start; gap: 8px;
}
.dense-list li::before {
	content: '\f054'; /* fa-chevron-right */
	font-family: 'Font Awesome 6 Free'; font-weight: 900;
	color: var(--brand); font-size: 9px; margin-top: 5px; flex-shrink: 0;
}
.dense-list a { color: var(--ink); font-weight: 500; }
.dense-list a:hover { color: var(--brand); }

.cols-block {
	display: grid; gap: 18px;
	grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .cols-block.c2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cols-block.c3 { grid-template-columns: repeat(3, 1fr); } }

/* Photo strip */
.photo-strip {
	display: grid; gap: 12px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .photo-strip { grid-template-columns: repeat(4, 1fr); } }
.photo-strip .ph {
	position: relative; aspect-ratio: 4/3;
	border-radius: var(--radius); overflow: hidden;
	background: var(--bg-soft);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.photo-strip .ph:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-strip .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.photo-strip .ph:hover img { transform: scale(1.06); }
.photo-strip .ph .overlay {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 26px 12px 12px;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
	color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4;
}
.photo-strip .ph .badge-count {
	position: absolute; top: 8px; right: 8px;
	background: rgba(0,0,0,.7); color: #fff; font-size: 11px;
	padding: 3px 9px; border-radius: 999px; font-weight: 600;
	display: inline-flex; align-items: center; gap: 4px;
	backdrop-filter: blur(4px);
}

/* Video grid */
.video-grid {
	display: grid; gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
	color: var(--ink);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-card .thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-card .thumb img {
	width: 100%; height: 100%; object-fit: cover; opacity: .9;
	transition: opacity .2s var(--ease), transform .35s var(--ease);
}
.video-card:hover .thumb img { opacity: 1; transform: scale(1.04); }
.video-card .thumb .play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	pointer-events: none;
}
.video-card .thumb .play span {
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(225,29,72,.95);
	color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.4);
	transition: transform .2s var(--ease);
}
.video-card:hover .thumb .play span { transform: scale(1.1); }
.video-card .body { padding: 12px 14px; }
.video-card h3 { margin: 0 0 5px; font-size: 14.5px; line-height: 1.4; font-weight: 700; }
.video-card .meta { font-size: 11.5px; color: var(--mute); display: inline-flex; gap: 8px; align-items: center; }

/* Zodiac grid */
.zodiac-grid {
	display: grid; gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 600px)  { .zodiac-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .zodiac-grid { grid-template-columns: repeat(6, 1fr); } }
.zodiac-cell {
	background: linear-gradient(135deg, #fff7ed, #fef3c7);
	border: 1px solid #fde68a; border-radius: var(--radius);
	padding: 14px 8px; text-align: center;
	transition: all .2s var(--ease);
	color: var(--ink);
}
.zodiac-cell:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: var(--shadow-md);
	color: var(--brand);
	border-color: var(--brand);
}
.zodiac-cell .icon { font-size: 28px; }
.zodiac-cell .name { font-size: 13px; font-weight: 700; margin-top: 4px; }
.zodiac-cell .sub  { font-size: 11px; color: var(--mute); }

/* Just-In rail */
.just-in-rail {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.just-in-rail h3 {
	margin: 0 0 8px; font-size: 13px; color: var(--brand);
	text-transform: uppercase; letter-spacing: .5px;
	display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
}
.just-in-rail h3 .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 0 0 0 var(--brand);
	animation: ringPulse 1.6s infinite;
}
@keyframes ringPulse {
	0%   { box-shadow: 0 0 0 0 rgba(225,29,72,.7); }
	70%  { box-shadow: 0 0 0 8px rgba(225,29,72,0); }
	100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}
.just-in-rail ul { list-style: none; padding: 0; margin: 0; }
.just-in-rail li {
	padding: 8px 0; border-bottom: 1px dashed var(--line-soft);
	font-size: 13px; line-height: 1.5;
}
.just-in-rail li:last-child { border: 0; }
.just-in-rail .t { color: var(--mute); font-size: 11px; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Weather widget */
.weather-widget {
	background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff;
	border-radius: var(--radius); padding: 18px;
	box-shadow: 0 8px 24px rgba(30,58,138,.25);
	position: relative; overflow: hidden;
}
.weather-widget::before {
	content: '\f0c2'; /* fa-cloud */
	font-family: 'Font Awesome 6 Free'; font-weight: 900;
	position: absolute; right: -10px; bottom: -10px;
	font-size: 130px; color: rgba(255,255,255,.08);
}
.weather-widget .city { font-size: 13px; opacity: .92; display: inline-flex; align-items: center; gap: 6px; }
.weather-widget .temp { font-size: 38px; font-weight: 800; line-height: 1; margin: 6px 0; }
.weather-widget .desc { font-size: 13.5px; opacity: .9; }
.weather-widget select {
	width: 100%; margin-top: 12px;
	background: rgba(255,255,255,.18); color: #fff;
	border: 1px solid rgba(255,255,255,.3); padding: 7px 10px; border-radius: 6px;
	font: inherit; font-size: 13px;
	position: relative; z-index: 1;
}
.weather-widget select option { color: #000; }

/* Poll widget */
.poll-widget {
	background: linear-gradient(135deg, #fff7ed, #fde68a30);
	border: 1px solid #fde68a; border-radius: var(--radius); padding: 16px;
}
.poll-widget h3 {
	margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; font-weight: 700;
	display: flex; align-items: flex-start; gap: 8px;
}
.poll-widget h3 i { color: var(--warning); margin-top: 3px; }
.poll-widget .opt {
	display: block; padding: 9px 12px; background: #fff;
	border: 1px solid var(--line); border-radius: 8px;
	margin-bottom: 6px; cursor: pointer; font-size: 13.5px;
	transition: all .15s var(--ease);
}
.poll-widget .opt:hover { border-color: var(--brand); background: #fff8f9; }
.poll-widget .opt input { margin-right: 8px; }
.poll-widget .result-bar {
	height: 24px; background: #fff; border-radius: 6px;
	margin-top: 5px; position: relative; overflow: hidden;
	border: 1px solid var(--line);
}
.poll-widget .result-bar .fill {
	position: absolute; left: 0; top: 0; bottom: 0;
	background: linear-gradient(90deg, var(--brand), #f97316);
	border-radius: 6px;
	transition: width .5s var(--ease);
}
.poll-widget .result-row { margin-bottom: 10px; }
.poll-widget .result-row .label {
	font-size: 13px; display: flex; justify-content: space-between;
	margin-bottom: 4px; font-weight: 500;
}

/* Newsletter widget */
.newsletter-widget {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	color: #fff;
	border-radius: var(--radius); padding: 20px; margin: 16px 0;
	position: relative; overflow: hidden;
}
.newsletter-widget::before {
	content: '\f0e0'; /* fa-envelope */
	font-family: 'Font Awesome 6 Free'; font-weight: 900;
	position: absolute; right: -8px; bottom: -16px;
	font-size: 110px; color: rgba(255,255,255,.05);
}
.newsletter-widget h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 8px; }
.newsletter-widget h3 i { color: var(--brand); }
.newsletter-widget p { margin: 0 0 12px; font-size: 13px; color: #cbd5e1; }
.newsletter-widget form { display: flex; gap: 6px; position: relative; z-index: 1; }
.newsletter-widget input {
	flex: 1; padding: 10px 12px; border: 0; border-radius: 6px; font: inherit;
	font-size: 13.5px;
}
.newsletter-widget button {
	padding: 10px 18px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; border: 0; border-radius: 6px;
	cursor: pointer; font-weight: 600; font-size: 13.5px;
	transition: all .15s var(--ease);
}
.newsletter-widget button:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(225,29,72,.4); }
.newsletter-widget .msg { margin-top: 10px; font-size: 12.5px; color: #86efac; min-height: 16px; }

/* Live blog timeline */
.live-timeline {
	position: relative; padding-left: 26px; margin: 0; list-style: none;
}
.live-timeline::before {
	content: ''; position: absolute; top: 0; bottom: 0; left: 7px;
	width: 2px; background: linear-gradient(180deg, var(--brand), #f97316 50%, transparent);
}
.live-timeline li {
	position: relative; padding: 12px 16px; margin-bottom: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	transition: all .15s var(--ease);
}
.live-timeline li:hover { box-shadow: var(--shadow-sm); }
.live-timeline li::before {
	content: ''; position: absolute; left: -23px; top: 16px;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--brand); border: 3px solid #fff;
	box-shadow: 0 0 0 1px var(--brand);
}
.live-timeline li.pinned {
	background: linear-gradient(135deg, #fff7ed, #fff);
	border-color: #fde68a;
}
.live-timeline .ts {
	font-size: 11.5px; color: var(--mute); margin-bottom: 5px;
	display: inline-flex; align-items: center; gap: 6px;
}
.live-timeline .pin {
	font-size: 10.5px; color: var(--brand); font-weight: 700; margin-right: 6px;
	display: inline-flex; align-items: center; gap: 4px;
}

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; background: rgba(0,0,0,.94);
	display: none; align-items: center; justify-content: center;
	z-index: 9999; padding: 30px;
	backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox .lb-caption {
	position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
	color: #fff; font-size: 14px; padding: 0 20px;
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
	position: absolute; background: rgba(255,255,255,.12); border: 0;
	color: #fff; width: 48px; height: 48px; border-radius: 50%;
	cursor: pointer; font-size: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .15s var(--ease);
	backdrop-filter: blur(8px);
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: var(--brand); }

/* Gallery photo grid */
.gallery-grid {
	display: grid; gap: 10px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid .ph {
	aspect-ratio: 1; background: #f3f4f6; border-radius: 8px; overflow: hidden;
	cursor: pointer; position: relative;
}
.gallery-grid .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.gallery-grid .ph:hover img { transform: scale(1.05); }
.gallery-grid .ph::after {
	content: '\f00e'; /* fa-magnifying-glass-plus */
	font-family: 'Font Awesome 6 Free'; font-weight: 900;
	position: absolute; right: 8px; bottom: 8px; color: #fff; font-size: 12px;
	background: rgba(0,0,0,.5); padding: 6px 8px; border-radius: 999px;
	opacity: 0; transition: opacity .2s var(--ease);
}
.gallery-grid .ph:hover::after { opacity: 1; }

/* Video player */
.video-player {
	position: relative; aspect-ratio: 16/9; width: 100%;
	background: #000; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-md);
}
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Live badge */
.live-badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; padding: 5px 12px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .5px;
	box-shadow: 0 2px 8px rgba(225,29,72,.3);
}
.live-badge::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff;
	animation: pulse 1.4s infinite;
}

/* Tab band */
.tab-band {
	display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px;
	border-bottom: 2px solid var(--brand);
	padding-bottom: 0;
}
.tab-band a {
	padding: 9px 16px; font-size: 13.5px; font-weight: 600;
	background: var(--bg-soft); color: var(--ink-soft);
	border-radius: 8px 8px 0 0;
	transition: all .15s var(--ease);
}
.tab-band a:hover, .tab-band a.active {
	background: var(--brand); color: #fff;
}

/* Flash */
.flash {
	padding: 12px 16px; border-radius: 8px; margin: 0 0 16px;
	font-weight: 500; font-size: 13.5px;
	display: flex; align-items: center; gap: 10px;
	transition: opacity .4s;
}
.flash i { font-size: 16px; }
.flash.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.flash.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash.info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* === Mobile responsive === */
@media (max-width: 992px) {
	.search-box { max-width: 280px; }
	.brand { font-size: 21px; }
	.brand .logo-mark { width: 38px; height: 38px; }
}

@media (max-width: 760px) {
	body { font-size: 15px; }
	.section { padding: 14px; }
	.section-h h2 { font-size: 16.5px; }
	.hero h2 { font-size: 19px; }
	.article-detail { padding: 16px; }
	.article-detail h1 { font-size: 22px; }
	.article-detail .summary { font-size: 15.5px; padding: 12px 14px; }
	.article-detail .content { font-size: 16px; }
	.list-news li { grid-template-columns: 76px 1fr; }
	.menu-toggle, .search-toggle { display: inline-flex; }
	.search-box { display: none; }
	.search-box.open {
		display: flex; position: absolute; top: 100%; left: 0; right: 0;
		padding: 12px 16px; background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-width: none; z-index: 49;
	}
	.main-nav { display: none; }
	.brand-tag { display: none; }
	.brand-stack .b1 { font-size: 18px; }
	.breaking-bar .container { padding: 7px 12px; min-height: 38px; }
	.breaking-track a { margin-right: 35px; font-size: 13px; }
	.share-row a { padding: 8px 12px; font-size: 12px; }
	.author-card { padding: 14px; }
}

@media (max-width: 480px) {
	.brand .logo-mark { width: 36px; height: 36px; font-size: 13px; }
	.brand { font-size: 18px; gap: 8px; }
	.hero .body { padding: 16px; }
	.hero h2 { font-size: 17px; }
	.list-news li { grid-template-columns: 70px 1fr; gap: 10px; }
}
