/* Hindi News for GeneratePress – purposefully small, no web fonts or icon libraries. */
:root {
	--hngp-blue: #0d47a1;
	--hngp-blue-deep: #082d68;
	--hngp-red: #d32f2f;
	--hngp-ink: #13233b;
	--hngp-muted: #667085;
	--hngp-line: #e7ebf0;
	--hngp-surface: #ffffff;
	--hngp-soft: #f6f8fb;
	--hngp-radius: 8px;
}

body {
	background: var(--hngp-soft);
	color: var(--hngp-ink);
	font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.7;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

a:hover,
a:focus {
	color: var(--hngp-blue);
}

/* Header */
.hngp-topbar {
	background: var(--hngp-blue-deep);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.78rem;
}

.hngp-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	gap: 16px;
}

.hngp-topbar__tagline {
	letter-spacing: 0.01em;
}

.hngp-social {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hngp-social__link {
	display: inline-grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.hngp-social__link:hover,
.hngp-social__link:focus {
	background: #fff;
	border-color: #fff;
	color: var(--hngp-blue-deep);
}

.site-header {
	background: var(--hngp-surface);
	border-bottom: 1px solid var(--hngp-line);
	box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
}

.site-header .inside-header {
	padding-top: 17px;
	padding-bottom: 17px;
}

.site-branding .main-title,
.site-branding .main-title a,
.site-logo a {
	color: var(--hngp-blue-deep);
	font-size: clamp(1.42rem, 2.5vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.site-branding .site-description {
	color: var(--hngp-muted);
	font-size: 0.82rem;
}

.main-navigation,
.main-navigation ul ul {
	background: #fff;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items a {
	color: var(--hngp-ink);
	font-size: 0.9rem;
	font-weight: 700;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
	background: transparent;
	color: var(--hngp-blue);
}

.main-navigation .main-nav ul ul li a {
	border-bottom: 1px solid var(--hngp-line);
}

/* Front page */
.hngp-home,
.hngp-single {
	padding: clamp(22px, 4vw, 46px) 0;
}

.hngp-home__container,
.hngp-single__container {
	max-width: 1180px;
}

.hngp-section {
	margin: 0 0 30px;
	padding: clamp(18px, 3vw, 28px);
	background: var(--hngp-surface);
	border: 1px solid var(--hngp-line);
	border-radius: var(--hngp-radius);
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.035);
}

.hngp-section__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hngp-line);
}

.hngp-section__heading h2 {
	position: relative;
	margin: 0;
	padding-left: 12px;
	color: var(--hngp-blue-deep);
	font-size: clamp(1.22rem, 2vw, 1.5rem);
	font-weight: 800;
	line-height: 1.35;
}

.hngp-section__heading h2::before {
	position: absolute;
	top: 0.09em;
	bottom: 0.09em;
	left: 0;
	width: 4px;
	border-radius: 5px;
	background: var(--hngp-red);
	content: "";
}

.hngp-section__more {
	flex: 0 0 auto;
	color: var(--hngp-blue);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
}

.hngp-section__more:hover,
.hngp-section__more:focus {
	color: var(--hngp-red);
}

.hngp-post-list {
	display: grid;
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--hngp-line);
	border-radius: 6px;
	background: var(--hngp-line);
}

.hngp-post-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 14px;
	background: #fff;
}

.hngp-post-row__image {
	flex: 0 0 104px;
	width: 104px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 5px;
	background: #edf1f6;
}

.hngp-post-row__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hngp-post-row__content {
	min-width: 0;
}

.hngp-post-row__title {
	margin: 0 0 4px;
	font-size: clamp(0.98rem, 1.6vw, 1.06rem);
	font-weight: 750;
	line-height: 1.46;
}

.hngp-post-row__title a {
	text-decoration: none;
}

.hngp-post-row__date,
.hngp-article__meta {
	color: var(--hngp-muted);
	font-size: 0.8rem;
}

.hngp-ad-slot {
	display: grid;
	min-height: 90px;
	margin: 0 0 30px;
	place-items: center;
	overflow: hidden;
	border: 1px dashed #cfd8e6;
	border-radius: var(--hngp-radius);
	background: #fbfcfe;
	color: #8a96a8;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hngp-ad-slot .widget {
	width: 100%;
}

/* Web Stories retains native horizontal scrolling when JavaScript is unavailable. */
.hngp-stories__rail {
	display: flex;
	gap: 14px;
	padding-bottom: 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-color: #bdc8d8 transparent;
	scrollbar-width: thin;
}

.hngp-story {
	position: relative;
	flex: 0 0 clamp(150px, 19vw, 190px);
	margin: 0;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 7px;
	background: var(--hngp-blue-deep);
	scroll-snap-align: start;
}

.hngp-story__link,
.hngp-story__link img,
.hngp-story__shade {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hngp-story__link img {
	object-fit: cover;
	transition: transform 180ms ease;
}

.hngp-story__link:hover img,
.hngp-story__link:focus img {
	transform: scale(1.035);
}

.hngp-story__shade {
	background: linear-gradient(180deg, transparent 35%, rgba(5, 19, 42, 0.84) 100%);
}

.hngp-story__label {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	z-index: 1;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.42;
}

/* Single article */
.hngp-article {
	max-width: 840px;
	margin: 0 auto;
	padding: clamp(22px, 4vw, 44px);
	background: #fff;
	border: 1px solid var(--hngp-line);
	border-radius: var(--hngp-radius);
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.035);
}

.hngp-article__header {
	margin-bottom: 26px;
}

.hngp-article__category {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--hngp-red);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.hngp-article h1 {
	margin: 0 0 12px;
	color: var(--hngp-ink);
	font-size: clamp(1.7rem, 4vw, 2.75rem);
	font-weight: 850;
	line-height: 1.28;
}

.hngp-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hngp-article__featured-image {
	margin: 0 0 28px;
}

.hngp-article__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.hngp-article__content {
	font-size: clamp(1rem, 1.3vw, 1.1rem);
}

.hngp-article__content h2,
.hngp-article__content h3,
.hngp-article__content h4 {
	margin-top: 1.75em;
	color: var(--hngp-blue-deep);
	font-weight: 800;
	line-height: 1.34;
}

.hngp-article__content a {
	color: var(--hngp-blue);
	font-weight: 650;
}

.hngp-related {
	max-width: 840px;
	margin-right: auto;
	margin-left: auto;
}

/* Footer */
.site-footer,
.site-info {
	background: var(--hngp-blue-deep);
	color: rgba(255, 255, 255, 0.82);
}

.site-footer a,
.site-info a {
	color: #fff;
}

@media (min-width: 880px) {
	.hngp-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hngp-post-row:nth-child(2n) {
		border-left: 1px solid var(--hngp-line);
	}
}

@media (max-width: 768px) {
	.hngp-topbar__tagline {
		display: none;
	}

	.hngp-topbar__inner {
		justify-content: flex-end;
	}

	.site-header .inside-header {
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.hngp-section {
		margin-bottom: 20px;
	}

	.hngp-ad-slot {
		min-height: 72px;
		margin-bottom: 20px;
	}
}

@media (max-width: 460px) {
	.hngp-section__heading {
		align-items: flex-start;
	}

	.hngp-section__more {
		padding-top: 3px;
		white-space: nowrap;
	}

	.hngp-post-row {
		gap: 11px;
		padding: 12px;
	}

	.hngp-post-row__image {
		flex-basis: 82px;
		width: 82px;
	}

	.hngp-post-row__title {
		font-size: 0.93rem;
	}
}
