/* ============================================================
   NoviraLane News — Business-Standard-style news portal homepage
   Palette: navy #0B1F3A, gold #D4AF37, ink #161616, paper #ffffff
   ============================================================ */

.nl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
/* Break out of the parent theme's content container so the news
   layout always spans the full viewport width. */
.nl-breakout { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.nl-breakout .nl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.nl-section { margin: 36px 0; }
.nl-section-head {
	display: flex; align-items: center; justify-content: space-between;
	border-bottom: 3px solid #0B1F3A; margin-bottom: 18px; padding-bottom: 8px;
}
.nl-section-head h2 { font-size: 22px; margin: 0; color: #0B1F3A; letter-spacing: .5px; }
.nl-section-head h2 span { color: #D4AF37; }
.nl-section-head a.nl-more { font-size: 13px; color: #0B1F3A; text-decoration: none; font-weight: 700; }
.nl-section-head a.nl-more:hover { color: #D4AF37; }

/* ---------- Breaking ticker ---------- */
.nl-ticker { background: #0B1F3A; color: #fff; overflow: hidden; display: flex; align-items: stretch; }
.nl-ticker-label {
	background: #D4AF37; color: #0B1F3A; font-weight: 800; font-size: 13px;
	padding: 10px 16px; display: flex; align-items: center; letter-spacing: 1px;
	white-space: nowrap; z-index: 2;
}
.nl-ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.nl-ticker-inner { display: inline-flex; white-space: nowrap; animation: nl-tick 40s linear infinite; }
.nl-ticker-track:hover .nl-ticker-inner { animation-play-state: paused; }
.nl-ticker-inner a { color: #fff; text-decoration: none; font-size: 14px; padding: 10px 8px; }
.nl-ticker-inner a:hover { color: #D4AF37; }
.nl-ticker-sep { color: #D4AF37; padding: 10px 4px; }
@keyframes nl-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero grid ---------- */
.nl-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin: 24px 0 8px; }
.nl-hero-main { position: relative; border-radius: 6px; overflow: hidden; min-height: 420px; display: flex; }
.nl-hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.nl-hero-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 96px; display: flex; }
.nl-hero-main img, .nl-hero-card img, .nl-thumb-fallback { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.nl-thumb-fallback {
	background: linear-gradient(135deg, #0B1F3A 0%, #274a7c 60%, #D4AF37 130%);
	display: flex; align-items: center; justify-content: center;
}
.nl-thumb-fallback span { color: #D4AF37; font-weight: 800; font-size: 42px; opacity: .5; }
.nl-hero-overlay {
	position: relative; margin-top: auto; width: 100%;
	background: linear-gradient(transparent, rgba(4,10,20,.92));
	padding: 46px 18px 16px; color: #fff;
}
.nl-kicker {
	display: inline-block; background: #D4AF37; color: #0B1F3A; font-size: 11px;
	font-weight: 800; letter-spacing: 1px; padding: 3px 10px; border-radius: 3px;
	margin-bottom: 8px; text-transform: uppercase; text-decoration: none;
}
.nl-hero-main h2 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; }
.nl-hero-main h2 a, .nl-hero-card h3 a { color: #fff; text-decoration: none; }
.nl-hero-main h2 a:hover, .nl-hero-card h3 a:hover { color: #D4AF37; }
.nl-hero-card h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.nl-hero-meta { font-size: 12px; color: #d8d8d8; margin-top: 6px; }
.nl-hero-overlay p { font-size: 14px; color: #e6e6e6; margin: 6px 0 0; }

/* ---------- Content + sidebar layout ---------- */
.nl-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.nl-sidebar .nl-widget { background: #f7f5ef; border: 1px solid #e8e2d2; border-radius: 6px; padding: 18px; margin-bottom: 20px; }
.nl-sidebar .nl-widget h3 {
	margin: 0 0 12px; font-size: 16px; color: #0B1F3A;
	border-bottom: 2px solid #D4AF37; padding-bottom: 8px;
}
.nl-pop-list { list-style: none; margin: 0; padding: 0; }
.nl-pop-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.nl-pop-num { font-size: 26px; font-weight: 800; color: #D4AF37; line-height: 1; min-width: 30px; }
.nl-pop-list a { color: #161616; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; }
.nl-pop-list a:hover { color: #0B1F3A; }
.nl-subscribe p { font-size: 14px; color: #333; }
.nl-subscribe .nl-btn {
	display: inline-block; background: #0B1F3A; color: #fff; text-decoration: none;
	padding: 10px 22px; border-radius: 4px; font-weight: 700; font-size: 14px; margin-top: 8px;
}
.nl-subscribe .nl-btn:hover { background: #D4AF37; color: #0B1F3A; }
.nl-cat-list { list-style: none; margin: 0; padding: 0; }
.nl-cat-list li { margin-bottom: 8px; }
.nl-cat-list a { color: #0B1F3A; text-decoration: none; font-size: 14px; font-weight: 600; }
.nl-cat-list a:hover { color: #D4AF37; }
.nl-cat-list .count { color: #999; font-size: 12px; }

/* ---------- Latest news list ---------- */
.nl-latest-item { display: grid; grid-template-columns: 220px 1fr; gap: 16px; margin-bottom: 20px;
	border-bottom: 1px solid #eee; padding-bottom: 20px; }
.nl-latest-thumb { position: relative; border-radius: 6px; overflow: hidden; min-height: 140px; }
.nl-latest-item h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.nl-latest-item h3 a { color: #161616; text-decoration: none; }
.nl-latest-item h3 a:hover { color: #0B1F3A; }
.nl-latest-item .nl-excerpt { font-size: 14px; color: #555; margin: 0 0 8px; }
.nl-meta { font-size: 12px; color: #999; }
.nl-meta a { color: #0B1F3A; text-decoration: none; font-weight: 600; }

/* ---------- Category grids ---------- */
.nl-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nl-grid-card { border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff; }
.nl-grid-thumb { position: relative; min-height: 170px; overflow: hidden; }
.nl-grid-card h3 { margin: 0; font-size: 16px; line-height: 1.4; padding: 12px 14px 4px; }
.nl-grid-card h3 a { color: #161616; text-decoration: none; }
.nl-grid-card h3 a:hover { color: #0B1F3A; }
.nl-grid-card .nl-meta { padding: 0 14px 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.nl-hero, .nl-columns { grid-template-columns: 1fr; }
	.nl-hero-main { min-height: 300px; }
	.nl-hero-main h2 { font-size: 22px; }
	.nl-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.nl-latest-item { grid-template-columns: 140px 1fr; }
}
@media (max-width: 560px) {
	.nl-grid-2 { grid-template-columns: 1fr; }
	.nl-hero-side { grid-template-columns: 1fr; }
	.nl-latest-item { grid-template-columns: 1fr; }
	.nl-latest-thumb { min-height: 180px; }
}
