/*
Theme Name: PrakashWeb Pro
Theme URI: https://prakashweb.com
Author: PrakashWeb
Author URI: https://prakashweb.com
Description: Professional, lightweight, PWA-enabled WordPress theme for job portal brands with premium homepage modules, structured toolkit integration, AdSense-ready placements, and SEO-first architecture.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prakashweb-pro
Email: info@prakashweb.com
Phone/Support: +91-7779890348
Location: India
Tags: blog, news, custom-logo, custom-menu, custom-colors, featured-images, theme-options, two-columns
*/

:root {
	--sr-header-bg: #0f172a;
	--sr-header-end: #1e293b;
	--sr-card-bg: #ffffff;
	--sr-accent: #dc2626;
	--sr-text: #0f172a;
	--sr-muted: #475569;
	--sr-border: #dbe2ea;
	--sr-surface: #f8fafc;
	--sr-page-bg: linear-gradient(180deg, #eff6ff 0%, #f8fafc 24%, #eef2ff 100%);
	--sr-header-soft: rgba(255, 255, 255, 0.8);
	--sr-chip-bg: rgba(255, 255, 255, 0.08);
	--sr-chip-hover: rgba(255, 255, 255, 0.18);
	--sr-input-bg: #ffffff;
	--sr-footer-bg: #0f172a;
	--sr-footer-text: rgba(255, 255, 255, 0.82);
	--sr-radius: 20px;
	--sr-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
	--sr-offcanvas-width: min(360px, 92vw);
}

/* Final sticky-header content offsets */
body .site-main {
	padding-top: 5.9rem;
}

body.admin-bar .site-main {
	padding-top: 7.9rem;
}

@media (max-width: 782px) {
	body.admin-bar .site-main {
		padding-top: 8.8rem;
	}
}

@media (max-width: 767px) {
	body .site-main {
		padding-top: 5.55rem;
	}
}

/* Premium one-line header */
.pw-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	font-family: var(--pw-header-font);
	background: var(--sr-header-bg);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24);
}

.pw-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--sr-accent);
	opacity: 0.9;
}

.pw-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: 30px;
	min-height: 64px;
	padding: 15px 20px;
}

.pw-branding,
.pw-header-actions {
	flex: 0 0 auto;
}

.pw-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	max-width: 100%;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

.pw-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.pw-brand-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.pw-brand-logo .custom-logo,
.pw-brand-logo-image {
	display: block;
	width: auto;
	height: 38px;
	max-width: 180px;
	object-fit: contain;
}

.pw-brand-title {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: -0.015em;
}

.pw-brand-title-primary {
	color: #ffffff;
}

.pw-brand-title-secondary {
	color: #ffc107;
}

.pw-header-center {
	flex: 1 1 auto;
	min-width: 0;
}

.pw-header-nav {
	min-width: 0;
}

.pw-header-nav-list {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.pw-header-nav-list::-webkit-scrollbar {
	display: none;
}

.pw-header-nav-item {
	flex: 0 0 auto;
}

.pw-header-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.48rem;
	padding: 0.24rem 0;
	border-radius: 999px;
	border: 0;
	color: var(--pw-header-text);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, transform 0.2s ease;
}

.pw-header-nav-link:hover,
.pw-header-nav-link:focus-visible,
.pw-header-nav-link.is-current {
	background: transparent;
	color: var(--pw-header-hover);
	transform: translateY(-1px);
}

.pw-header-nav-icon,
.pw-header-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pw-header-nav-icon svg,
.pw-header-action-icon svg {
	width: 18px;
	height: 18px;
}

.pw-header-nav-text {
	display: inline-block;
}

.pw-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

.pw-header-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: var(--pw-header-text);
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pw-header-action:hover,
.pw-header-action:focus-visible {
	transform: translateY(-1px);
	color: var(--pw-header-hover);
	box-shadow: none;
}

.pw-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.pw-search-modal[hidden] {
	display: none;
}

.pw-search-modal-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(15, 23, 42, 0.42);
	cursor: pointer;
}

.pw-search-modal-dialog {
	position: relative;
	width: min(720px, 100%);
	padding: 1.15rem;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

.pw-search-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.pw-search-modal-head h2 {
	margin: 0;
	font-size: 1.2rem;
	color: #0f172a;
}

.pw-search-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 999px;
	background: #ffffff;
	color: #0f172a;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.pw-search-modal-body .portal-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 52px;
	gap: 0.75rem;
}

.pw-search-modal-body .portal-search-field-wrap {
	min-width: 0;
}

.pw-search-modal-body .portal-search-input {
	height: 52px;
	border-radius: 18px;
	background: #f8fafc;
}

.pw-search-modal-body .portal-search-submit {
	width: 52px;
	height: 52px;
	border-radius: 18px;
}

.pw-search-modal-body .portal-search-suggestions {
	grid-column: 1 / -1;
}

body.pw-search-modal-open {
	overflow: hidden;
}

.site-main {
	padding-top: 5.9rem;
}

body.admin-bar .pw-header {
	top: 32px;
}

body.admin-bar .site-main {
	padding-top: 7.9rem;
}

@media (max-width: 1023px) {
	.pw-header-row {
		min-height: 54px;
		gap: 16px;
		padding: 12px 16px;
	}

	.pw-brand-logo .custom-logo,
	.pw-brand-logo-image {
		height: 34px;
		max-width: 140px;
	}

	.pw-brand-title {
		max-width: 140px;
		font-size: 0.92rem;
	}

	.pw-header-nav-link {
		padding: 0.22rem 0;
		font-size: 0.76rem;
	}

	.pw-header-nav-icon svg {
		width: 13px;
		height: 13px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .pw-header {
		top: 46px;
	}

	body.admin-bar .site-main {
		padding-top: 8.8rem;
	}
}

@media (max-width: 767px) {
	.site-main {
		padding-top: 5.55rem;
	}

	.pw-header-row {
		gap: 12px;
	}

	.pw-brand-link {
		gap: 12px;
	}

	.pw-brand-title {
		max-width: 112px;
		font-size: 0.82rem;
	}

	.pw-header-nav-list {
		gap: 12px;
	}

	.pw-header-nav-link {
		padding: 0.2rem 0;
		font-size: 0.72rem;
	}

	.pw-header-nav-text {
		max-width: 88px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.pw-header-action {
		width: 22px;
		height: 22px;
	}

	.pw-search-modal {
		padding: 0.8rem;
	}

	.pw-search-modal-dialog {
		padding: 1rem;
		border-radius: 20px;
	}
}

html[data-sr-color-scheme="dark"] {
	color-scheme: dark;
	--sr-header-bg: #020617;
	--sr-header-end: #111827;
	--sr-card-bg: #111827;
	--sr-accent: #f87171;
	--sr-text: #e5eefb;
	--sr-muted: #9fb3c8;
	--sr-border: #243244;
	--sr-surface: #0f172a;
	--sr-page-bg: linear-gradient(180deg, #020617 0%, #0f172a 52%, #111827 100%);
	--sr-header-soft: rgba(226, 232, 240, 0.82);
	--sr-chip-bg: rgba(148, 163, 184, 0.12);
	--sr-chip-hover: rgba(148, 163, 184, 0.2);
	--sr-input-bg: #0f172a;
	--sr-footer-bg: #020617;
	--sr-footer-text: rgba(226, 232, 240, 0.82);
	--sr-shadow: 0 22px 48px rgba(2, 6, 23, 0.35);
}

@media (prefers-color-scheme: dark) {
	html:not([data-sr-color-scheme="light"]) {
		color-scheme: dark;
		--sr-header-bg: #020617;
		--sr-header-end: #111827;
		--sr-card-bg: #111827;
		--sr-accent: #f87171;
		--sr-text: #e5eefb;
		--sr-muted: #9fb3c8;
		--sr-border: #243244;
		--sr-surface: #0f172a;
		--sr-page-bg: linear-gradient(180deg, #020617 0%, #0f172a 52%, #111827 100%);
		--sr-header-soft: rgba(226, 232, 240, 0.82);
		--sr-chip-bg: rgba(148, 163, 184, 0.12);
		--sr-chip-hover: rgba(148, 163, 184, 0.2);
		--sr-input-bg: #0f172a;
		--sr-footer-bg: #020617;
		--sr-footer-text: rgba(226, 232, 240, 0.82);
		--sr-shadow: 0 22px 48px rgba(2, 6, 23, 0.35);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sr-page-bg);
	color: var(--sr-text);
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.65;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 1rem;
	padding: 0.75rem 1rem;
	overflow: visible;
	background: #fff;
	border-radius: 999px;
	color: var(--sr-text);
	z-index: 1000;
}

.site-shell {
	min-height: 100vh;
}

.site-header {
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 34%),
		linear-gradient(135deg, var(--sr-header-bg), var(--sr-header-end));
	color: #fff;
	padding: 1rem 0;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.header-banner,
.between-list-banner {
	margin-bottom: 1rem;
}

.header-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.branding-group {
	min-width: 0;
}

.site-logo img,
.custom-logo {
	display: block;
	max-width: 72px;
	max-height: 72px;
	width: auto;
	border-radius: 18px;
}

.site-kicker,
.eyebrow,
.section-kicker,
.ad-label {
	margin: 0 0 0.35rem;
	color: var(--sr-accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-title {
	margin: 0;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	line-height: 1.1;
}

.site-title a,
.site-description,
.nav-list a,
.footer-copy,
.footer-bottom {
	color: inherit;
}

.site-description,
.section-caption,
.archive-description,
.footer-copy,
.hero-copy p:last-child,
.archive-card p,
.single-entry p {
	color: var(--sr-muted);
}

.site-description {
	margin: 0.4rem 0 0;
	max-width: 640px;
	color: var(--sr-header-soft);
}

.header-icons {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.header-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-icon-button:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.24);
}

.header-icon-button svg {
	width: 22px;
	height: 22px;
}

.header-cta,
.search-submit,
.text-link,
.pagination-wrap .page-numbers,
.copy-link-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.search-submit {
	padding: 0.8rem 1.2rem;
	background: var(--sr-input-bg);
	color: var(--sr-header-bg);
	font-weight: 700;
}

.theme-toggle-btn {
	position: relative;
	overflow: hidden;
}

.theme-icon {
	position: absolute;
	font-size: 1rem;
	line-height: 1;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-icon-sun {
	opacity: 0;
	transform: translateY(8px) scale(0.75);
}

html[data-sr-color-scheme="dark"] .theme-icon-sun {
	opacity: 1;
	transform: translateY(0) scale(1);
}

html[data-sr-color-scheme="dark"] .theme-icon-moon {
	opacity: 0;
	transform: translateY(-8px) scale(0.75);
}

.menu-toggle-lines {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle-lines span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.header-cta:hover,
.search-submit:hover,
.copy-link-btn:hover,
.text-link:hover {
	transform: translateY(-1px);
}

.nav-list,
.footer-nav {
	padding: 0;
	margin: 0;
	list-style: none;
}

.nav-list a,
.footer-nav a {
	display: block;
	padding: 0.9rem 1rem;
	border-radius: 16px;
	background: var(--sr-chip-bg);
	font-weight: 600;
}

.nav-list a:hover,
.footer-nav a:hover {
	background: var(--sr-chip-hover);
}

.nav-list li + li {
	margin-top: 0.65rem;
}

.sr-offcanvas-overlay {
	position: fixed;
	inset: 0;
	background: rgba(2, 6, 23, 0.46);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 998;
}

.sr-offcanvas-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: var(--sr-offcanvas-width);
	max-width: 100%;
	height: 100vh;
	background: var(--sr-card-bg);
	color: var(--sr-text);
	box-shadow: -20px 0 45px rgba(2, 6, 23, 0.18);
	transition: right 0.3s ease;
	z-index: 999;
}

body.menu-open .sr-offcanvas-menu {
	right: 0;
}

body.menu-open .sr-offcanvas-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sr-offcanvas-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.25rem;
	overflow-y: auto;
}

.sr-offcanvas-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.sr-offcanvas-label {
	margin: 0;
	color: var(--sr-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sr-offcanvas-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--sr-border);
	border-radius: 999px;
	background: var(--sr-surface);
	color: var(--sr-text);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.sr-offcanvas-search {
	margin-bottom: 1rem;
}

.sr-offcanvas-search .search-form {
	display: grid;
	grid-template-columns: 1fr;
}

.sr-offcanvas-search .search-field {
	min-width: 100%;
}

.sr-offcanvas-description {
	margin-top: auto;
	padding-top: 1rem;
	color: var(--sr-muted);
}

.site-main {
	padding: 1.5rem 0 3rem;
}

.card-shell,
.ad-slot {
	background: var(--sr-card-bg);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow);
}

.hero-intro {
	margin-bottom: 1rem;
}

.hero-copy {
	padding: 1.7rem;
	background:
		linear-gradient(135deg, rgba(220, 38, 38, 0.08), transparent 45%),
		var(--sr-card-bg);
}

.hero-copy h1,
.section-heading h2,
.archive-header h1,
.single-entry h1 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.15;
}

.sr-india-map {
	padding: 1.25rem;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 1rem;
	align-items: center;
}

.sr-india-map-canvas {
	padding: 1rem;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(37, 99, 235, 0.08));
}

.sr-india-map svg {
	width: 100%;
	height: auto;
}

.sr-india-map path {
	fill: rgba(15, 23, 42, 0.08);
	stroke: var(--sr-text);
	stroke-width: 2;
}

.sr-india-map circle {
	fill: var(--sr-accent);
	transition: transform 0.2s ease, fill 0.2s ease;
}

.sr-india-map text {
	font-size: 13px;
	font-weight: 700;
	fill: var(--sr-text);
}

.sr-india-map a:hover circle,
.sr-india-map a:focus circle {
	fill: #2563eb;
	transform: scale(1.08);
}

.sr-india-map-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sr-map-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--sr-border);
	background: var(--sr-surface);
	font-weight: 700;
}

.sr-map-chip:hover {
	border-color: var(--sr-accent);
	color: var(--sr-accent);
}

.ticker-band {
	margin: 0 0 1.2rem;
	padding: 0.85rem 0;
	background: #fff7ed;
	border-block: 1px solid #fed7aa;
}

.ticker-label {
	flex: 0 0 auto;
	padding: 0.45rem 0.8rem;
	background: var(--sr-accent);
	color: #fff;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ticker-track-wrap {
	overflow: hidden;
	min-width: 0;
}

.ticker-track {
	display: flex;
	gap: 2rem;
	width: max-content;
	animation: sr-ticker 36s linear infinite;
}

.ticker-band:hover .ticker-track {
	animation-play-state: paused;
}

.ticker-item {
	position: relative;
	padding-left: 1rem;
	white-space: nowrap;
	font-weight: 600;
}

.ticker-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--sr-accent);
	transform: translateY(-50%);
}

@keyframes sr-ticker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.main-layout,
.single-layout {
	align-items: start;
}

.content-column,
.sidebar-column {
	min-width: 0;
}

.section-block {
	margin-bottom: 1.4rem;
}

.section-heading {
	margin-bottom: 1rem;
}

.section-heading h2,
.list-section h3,
.footer-title,
.widget-title,
.archive-card h2,
.archive-card h3 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.2;
}

.section-caption {
	margin: 0;
	max-width: 380px;
}

.hero-card,
.archive-card,
.single-entry,
.list-section,
.sidebar-widget,
.archive-header,
.empty-state {
	padding: 1.25rem;
}

.hero-card {
	background:
		linear-gradient(180deg, rgba(220, 38, 38, 0.06) 0%, transparent 45%),
		var(--sr-card-bg);
}

.hero-card-link {
	display: block;
}

.hero-card-meta,
.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	color: var(--sr-muted);
	font-size: 0.88rem;
}

.hero-card h3,
.entry-title {
	margin: 0.8rem 0 0.55rem;
}

.hero-card p,
.archive-card p,
.single-entry p {
	margin-top: 0;
}

.hero-card-footer,
.card-actions,
.single-tools,
.footer-bottom {
	padding-top: 0.75rem;
}

.top-updates-rail {
	position: relative;
}

.top-updates-track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.top-updates-slide {
	display: contents;
}

.top-update-card {
	min-height: 148px;
	padding: 1.15rem;
	border-radius: 14px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-update-card:hover,
.top-update-card:focus-within {
	transform: scale(1.02);
	box-shadow: 0 14px 26px rgba(15, 23, 42, 0.09);
}

.top-update-card-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	text-align: center;
}

.top-update-card h3 {
	margin: 0;
	font-family: Inter, Roboto, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	color: #213547;
}

.top-update-card.is-sky {
	background: linear-gradient(135deg, #eef8ff 0%, #d9f3ff 100%);
}

.top-update-card.is-mint {
	background: linear-gradient(135deg, #eefcf6 0%, #d9f7e7 100%);
}

.top-update-card.is-maroon {
	background: linear-gradient(135deg, #fff2f4 0%, #ffe4ea 100%);
}

.top-update-card.is-lilac {
	background: linear-gradient(135deg, #f5f1ff 0%, #e9e1ff 100%);
}

.top-update-card.is-pearl {
	background: linear-gradient(135deg, #fff9ef 0%, #fff1d6 100%);
}

.top-update-card.is-ice {
	background: linear-gradient(135deg, #eff8ff 0%, #e3f0ff 100%);
}

.top-update-card.is-rose {
	background: linear-gradient(135deg, #fff3f8 0%, #ffe3ed 100%);
}

.top-update-card.is-teal {
	background: linear-gradient(135deg, #ecfffe 0%, #d8fbf7 100%);
}

.text-link {
	padding: 0.65rem 0.95rem;
	background: rgba(220, 38, 38, 0.08);
	color: var(--sr-accent);
	font-weight: 700;
}

.copy-link-btn {
	padding: 0.65rem 0.9rem;
	background: var(--sr-input-bg);
	border-color: var(--sr-border);
	color: var(--sr-text);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.38rem 0.72rem;
	background: #fee2e2;
	color: #991b1b;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.status-badge-new,
.status-badge-updated {
	background: #dcfce7;
	color: #166534;
}

.status-badge-last-date {
	background: #fef3c7;
	color: #92400e;
}

.status-badge-expired {
	background: #e2e8f0;
	color: #334155;
}

.ad-slot {
	padding: 1rem;
	border-style: dashed;
	text-align: center;
	color: var(--sr-muted);
}

.ad-slot p {
	margin: 0;
}

.update-list,
.sidebar-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

.update-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.85rem;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--sr-border);
}

.update-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.update-copy a {
	display: block;
	font-weight: 700;
}

.update-copy time,
.sidebar-list a,
.archive-description p {
	color: var(--sr-muted);
}

.list-footer {
	padding-top: 1rem;
}

.sidebar-widget + .sidebar-widget,
.widget + .widget {
	margin-top: 1rem;
}

.sidebar-list li + li {
	margin-top: 0.8rem;
}

.page-wrapper {
	max-width: 860px;
}

.comments-area {
	margin-top: 1.4rem;
	padding: 1.25rem;
}

.comments-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
}

.comment-list .comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--sr-border);
}

.comment-list .comment:last-child {
	border-bottom: 0;
}

.comment-meta,
.comment-metadata,
.logged-in-as,
.comment-notes {
	color: var(--sr-muted);
	font-size: 0.92rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-form {
	display: grid;
	gap: 1rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--sr-border);
	border-radius: 16px;
	background: var(--sr-input-bg);
	color: var(--sr-text);
}

.search-form {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
	position: relative;
}

.search-field {
	min-width: 220px;
	padding: 0.8rem 1rem;
	border: 1px solid var(--sr-border);
	border-radius: 999px;
	background: var(--sr-input-bg);
	color: var(--sr-text);
}

.sr-search-suggestions {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	right: 0;
	display: none;
	z-index: 20;
	padding: 0.5rem;
	background: var(--sr-card-bg);
	border: 1px solid var(--sr-border);
	border-radius: 18px;
	box-shadow: var(--sr-shadow);
}

.sr-search-suggestions.is-active {
	display: grid;
	gap: 0.35rem;
}

.sr-search-suggestion {
	display: grid;
	gap: 0.15rem;
	padding: 0.7rem 0.85rem;
	border-radius: 14px;
	background: var(--sr-surface);
}

.sr-search-suggestion:hover {
	background: rgba(220, 38, 38, 0.08);
}

.sr-search-suggestion span {
	color: var(--sr-muted);
	font-size: 0.88rem;
}

.sr-search-suggestion.empty {
	color: var(--sr-muted);
	cursor: default;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25rem 0;
	overflow: hidden;
	border-radius: 16px;
}

.entry-content th,
.entry-content td {
	padding: 0.9rem;
	border: 1px solid var(--sr-border);
	text-align: left;
}

.entry-content th {
	background: var(--sr-surface);
}

.pagination-wrap {
	margin-top: 1.5rem;
}

.pagination-wrap .page-numbers {
	padding: 0.7rem 1rem;
	margin-right: 0.45rem;
	background: var(--sr-input-bg);
	border: 1px solid var(--sr-border);
	color: var(--sr-text);
}

.pagination-wrap .current {
	background: var(--sr-accent);
	border-color: var(--sr-accent);
	color: #fff;
}

.site-footer {
	margin-top: 2rem;
	padding: 0 0 1rem;
	background:
		linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.28) 18%, rgba(2, 6, 23, 0.88) 100%),
		var(--sr-footer-bg);
	color: var(--sr-footer-text);
}

.footer-banner,
.below-post-table-banner {
	margin-bottom: 1.25rem;
}

.smart-footer-shell {
	position: relative;
	overflow: hidden;
	padding: 2rem 1.25rem 1.25rem;
	border: 1px solid rgba(96, 165, 250, 0.16);
	border-radius: 30px;
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 47, 73, 0.95) 48%, rgba(10, 20, 42, 0.98)),
		radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%);
	box-shadow:
		0 18px 48px rgba(2, 6, 23, 0.42),
		inset 0 0 0 1px rgba(125, 211, 252, 0.05);
}

.smart-footer-shell::before,
.smart-footer-shell::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.smart-footer-shell::before {
	background-image:
		linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 211, 252, 0.06) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 100%);
}

.smart-footer-shell::after {
	background:
		radial-gradient(circle at 18% 20%, rgba(14, 165, 233, 0.22), transparent 24%),
		radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.2), transparent 22%),
		radial-gradient(circle at 65% 78%, rgba(99, 102, 241, 0.16), transparent 18%);
}

.smart-footer-grid,
.smart-footer-bottom,
.smart-mobile-nav-inner {
	position: relative;
	z-index: 1;
}

.smart-footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr);
	gap: 1.4rem;
}

.smart-footer-brand,
.smart-footer-panel {
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52));
	backdrop-filter: blur(12px);
	box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.03);
}

.smart-footer-brand {
	padding: 1.3rem;
}

.smart-footer-brand-top {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.smart-footer-logo .custom-logo {
	max-width: 66px;
	max-height: 66px;
	border-radius: 18px;
	box-shadow: 0 0 28px rgba(56, 189, 248, 0.16);
}

.smart-footer-title {
	margin: 0;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	color: #f8fbff;
}

.smart-footer-tagline,
.smart-footer-meta p,
.smart-footer-links a,
.smart-footer-links span,
.smart-footer-bottom {
	color: rgba(226, 232, 240, 0.8);
}

.smart-footer-tagline {
	margin: 0.45rem 0 0;
	max-width: 38ch;
}

.smart-footer-chip {
	display: inline-flex;
	align-items: center;
	margin: 1rem 0 0;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: 999px;
	background: rgba(14, 165, 233, 0.1);
	color: #d8f7ff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 0 24px rgba(14, 165, 233, 0.12);
}

.smart-footer-meta {
	margin-top: 1rem;
	display: grid;
	gap: 0.35rem;
}

.smart-footer-meta p {
	margin: 0;
}

.smart-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.15rem;
}

.smart-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	border: 1px solid rgba(96, 165, 250, 0.16);
	background: rgba(15, 23, 42, 0.78);
	color: #e0f2fe;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.02), 0 8px 24px rgba(2, 6, 23, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.smart-social-link:hover {
	transform: translateY(-2px);
	border-color: rgba(34, 211, 238, 0.38);
	color: #67e8f9;
	box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.smart-social-link svg,
.smart-mobile-nav-icon svg {
	width: 20px;
	height: 20px;
}

.smart-footer-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.smart-footer-panel {
	padding: 1rem 1rem 0.9rem;
}

.smart-footer-panel-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f8fbff;
	font-weight: 700;
	cursor: pointer;
	text-align: left;
}

.smart-footer-panel-plus {
	position: relative;
	display: inline-flex;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.smart-footer-panel-plus::before,
.smart-footer-panel-plus::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: #7dd3fc;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.smart-footer-panel-plus::before {
	width: 14px;
	height: 2px;
}

.smart-footer-panel-plus::after {
	width: 2px;
	height: 14px;
}

.smart-footer-panel.is-open .smart-footer-panel-plus::after {
	opacity: 0;
	transform: translate(-50%, -50%) scaleY(0.2);
}

.smart-footer-panel-content {
	padding-top: 1rem;
}

.smart-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.72rem;
}

.smart-footer-links a,
.smart-footer-links span {
	font-size: 0.95rem;
}

.smart-footer-links a:hover {
	color: #67e8f9;
}

.smart-footer-bottom {
	margin-top: 1.5rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.smart-footer-bottom p {
	margin: 0;
}

.smart-footer-status-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(96, 165, 250, 0.16);
}

.smart-footer-status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sr-footer-status);
	box-shadow: 0 0 14px var(--sr-footer-status);
}

.smart-mobile-nav {
	display: none;
}

.sr-install-prompt {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	width: min(360px, calc(100vw - 32px));
	padding: 1rem;
	background: rgba(15, 23, 42, 0.96);
	color: #fff;
	border-radius: 24px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}

.sr-install-prompt h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
}

.sr-install-prompt p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
}

.sr-install-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.sr-install-button,
.sr-install-dismiss {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	cursor: pointer;
}

.sr-install-button {
	background: #fff;
	color: var(--sr-header-bg);
}

.sr-install-dismiss {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.sr-content-protected .entry-content,
.sr-content-protected .sr-toolkit-auto-table,
.sr-content-protected .archive-card,
.sr-content-protected .hero-card {
	user-select: none;
	-webkit-user-select: none;
}

.footer-grid {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
	color: #fff;
}

.footer-bottom {
	padding-top: 1rem;
	font-size: 0.92rem;
	flex-wrap: wrap;
}

.compact-empty {
	padding: 1rem 0 0;
}

.empty-state p:last-child {
	margin-bottom: 0;
}

.search-results-header {
	padding: 1.5rem;
}

.search-results-summary {
	margin: 0;
	color: #536173;
	font-size: 0.98rem;
}

.search-results-form-wrap {
	margin-top: 1rem;
}

.search-empty-state h2 {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
	line-height: 1.2;
}

.search-empty-state p {
	margin: 0;
	color: #536173;
}

.search-empty-suggestions {
	margin-top: 1.35rem;
	padding-top: 1.15rem;
	border-top: 1px solid #e5edf5;
}

.search-empty-suggestions-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.search-empty-suggestions-head h3 {
	margin: 0;
	font-size: 1rem;
}

.search-empty-suggestions-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.search-empty-suggestions-list a {
	display: block;
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	border: 1px solid #e5edf5;
	background: #f8fbff;
	color: #1f2937;
	font-weight: 600;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-empty-suggestions-list a:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 209, 255, 0.35);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

@media (max-width: 767px) {
	.site-header {
		padding-bottom: 1rem;
	}

	.header-panel,
	.footer-bottom,
	.card-actions,
	.single-tools,
	.sr-install-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.update-item {
		grid-template-columns: 1fr;
	}

	.header-actions {
		width: 100%;
	}

	.header-icons {
		gap: 0.55rem;
	}

	.search-field {
		min-width: 100%;
	}

	.ticker-track {
		animation-duration: 28s;
	}

	.sr-install-prompt {
		right: 16px;
		left: 16px;
		bottom: 16px;
		width: auto;
	}

	.sr-india-map {
		grid-template-columns: 1fr;
	}

	.site-main {
		padding-bottom: 6rem;
	}

	.smart-footer-shell {
		padding: 1.1rem 1rem 1rem;
		border-radius: 24px;
	}

	.smart-footer-grid {
		grid-template-columns: 1fr;
	}

	.smart-footer-columns {
		grid-template-columns: 1fr;
	}

	.smart-footer-panel {
		padding: 0.95rem 1rem;
	}

	.smart-footer-panel-content[hidden] {
		display: none;
	}

	.smart-footer-panel-toggle {
		padding: 0;
	}

	.smart-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: 0.35rem;
	}

	.smart-mobile-nav {
		display: block;
		position: fixed;
		left: 14px;
		right: 14px;
		bottom: 12px;
		z-index: 999;
	}

	.smart-mobile-nav-inner {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: end;
		gap: 0.45rem;
		padding: 0.55rem;
		border: 1px solid rgba(96, 165, 250, 0.16);
		border-radius: 24px;
		background: rgba(8, 15, 30, 0.92);
		backdrop-filter: blur(16px);
		box-shadow: 0 16px 40px rgba(2, 6, 23, 0.45);
	}

	.smart-mobile-nav-link {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.3rem;
		min-height: 54px;
		padding: 0.45rem 0.25rem;
		border-radius: 18px;
		color: rgba(226, 232, 240, 0.78);
		font-size: 0.72rem;
		font-weight: 600;
		text-align: center;
	}

	.smart-mobile-nav-link.is-primary {
		transform: translateY(-16px);
		padding-top: 0.9rem;
		padding-bottom: 0.8rem;
		background: linear-gradient(180deg, #0ea5e9, #2563eb);
		color: #fff;
		box-shadow: 0 0 22px rgba(14, 165, 233, 0.35);
	}

	.smart-mobile-nav-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.06);
	}

	.smart-mobile-nav-link.is-primary .smart-mobile-nav-icon {
		background: rgba(255, 255, 255, 0.16);
	}
}

@media (min-width: 768px) {
	.smart-footer-panel-toggle {
		pointer-events: none;
	}

	.smart-footer-panel-plus {
		display: none;
	}
}

/* Ultra Premium Portal Header + Search + Sidebar */
:root {
	--sr-header-bg: rgba(255, 255, 255, 0.82);
	--sr-header-end: rgba(247, 251, 255, 0.92);
	--sr-card-bg: #ffffff;
	--sr-accent: #00d1ff;
	--sr-text: #0f172a;
	--sr-muted: #526072;
	--sr-border: rgba(148, 163, 184, 0.22);
	--sr-surface: #f7fbff;
	--sr-page-bg: linear-gradient(180deg, #f6fbff 0%, #ffffff 28%, #f5f9ff 100%);
	--sr-input-bg: rgba(255, 255, 255, 0.9);
}

body {
	background: var(--sr-page-bg);
}

.desktop-only {
	display: none;
}

.mobile-only {
	display: none;
}

/* Portal Header */
.portal-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.82)),
		radial-gradient(circle at top left, rgba(0, 209, 255, 0.08), transparent 26%);
	background-color: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(0, 209, 255, 0.5);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
	color: var(--sr-text);
	isolation: isolate;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.portal-header-ticker {
	border-bottom: 1px solid rgba(254, 215, 170, 0.9);
	background: #fff7ed;
}

.portal-header-ticker-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 42px;
}

.portal-header-ticker-label,
.portal-header-ticker-location {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.portal-header-ticker-label {
	background: #b91c1c;
	color: #fff;
}

.portal-header-ticker-location {
	background: rgba(2, 132, 199, 0.1);
	color: #075985;
}

.portal-header-ticker-track-wrap {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}

.portal-header-ticker-track {
	display: flex;
	gap: 2rem;
	width: max-content;
	animation: sr-ticker 32s linear infinite;
}

.portal-header-ticker:hover .portal-header-ticker-track {
	animation-play-state: paused;
}

.portal-header-ticker-item {
	position: relative;
	padding-left: 1rem;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 600;
	color: #111827;
}

.portal-header-ticker-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: #b91c1c;
	transform: translateY(-50%);
}

.portal-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.9), transparent);
}

.portal-header-scrolled .portal-header {
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.portal-header-main {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(280px, 1fr);
	align-items: center;
	gap: 1rem;
	min-height: 72px;
}

.portal-branding,
.portal-brand-link {
	display: flex;
	align-items: center;
	min-width: 0;
}

.portal-branding {
	gap: 0.85rem;
}

.portal-brand-link {
	gap: 0;
	color: inherit;
}

.portal-brand-logo .custom-logo {
	max-width: 52px;
	max-height: 52px;
	border-radius: 16px;
}

.portal-brand-logo .custom-logo-link {
	display: inline-flex;
}

.portal-brand-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(180deg, #00d1ff, #0ea5e9);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	box-shadow: 0 10px 28px rgba(14, 165, 233, 0.24);
}

.portal-brand-copy {
	display: grid;
	gap: 0.08rem;
	min-width: 0;
}

.portal-brand-title {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.18rem;
	font-size: clamp(1.1rem, 1.4vw, 1.35rem);
	font-weight: 800;
	line-height: 1.1;
}

.portal-brand-title-primary {
	color: #0f172a;
}

.portal-brand-title-accent {
	color: #0284c7;
	text-shadow: 0 0 12px rgba(2, 132, 199, 0.18);
}

.portal-brand-subtitle {
	color: var(--sr-muted);
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.portal-header-search {
	min-width: 0;
	justify-self: end;
	width: 100%;
}

.portal-search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.portal-search-field-wrap {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

.portal-search-icon {
	position: absolute;
	left: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #0595bd;
	pointer-events: none;
}

.portal-search-icon svg,
.portal-search-submit svg,
.portal-icon-button svg,
.portal-nav-icon svg {
	width: 18px;
	height: 18px;
}

.portal-search-input.search-field {
	width: 100%;
	min-width: 0;
	padding: 0.95rem 1rem 0.95rem 3rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.55),
		0 10px 24px rgba(15, 23, 42, 0.06);
}

.portal-search-input.search-field:focus {
	outline: none;
	border-color: rgba(0, 209, 255, 0.55);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.72),
		0 0 0 4px rgba(0, 209, 255, 0.12),
		0 12px 28px rgba(15, 23, 42, 0.08);
}

.portal-search-input.search-field:focus-visible {
	outline: 2px solid rgba(2, 132, 199, 0.2);
	outline-offset: 1px;
}

.portal-search-submit {
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(0, 209, 255, 0.16);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(0, 209, 255, 0.12), rgba(255, 255, 255, 0.88));
	color: #056b88;
}

.portal-search-form-desktop-header .portal-search-submit {
	width: 54px;
	height: 54px;
}

.portal-header-actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.portal-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	color: #0f172a;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-icon-button:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 209, 255, 0.42);
	box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.portal-icon-button:focus-visible,
.portal-compact-nav-link:focus-visible,
.portal-sidebar-close:focus-visible {
	outline: 2px solid rgba(2, 132, 199, 0.38);
	outline-offset: 2px;
}

.portal-hamburger {
	flex-direction: column;
	gap: 4px;
	position: relative;
	transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.portal-hamburger span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform-origin: center;
	transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease, background 0.22s ease;
}

.portal-hamburger span:nth-child(2) {
	width: 14px;
}

.portal-hamburger:hover span:nth-child(2) {
	width: 18px;
}

body.portal-sidebar-open .portal-hamburger {
	background: linear-gradient(180deg, rgba(0, 209, 255, 0.14), rgba(255, 255, 255, 0.96));
	border-color: rgba(0, 209, 255, 0.48);
	box-shadow: 0 14px 28px rgba(0, 209, 255, 0.16);
}

body.portal-sidebar-open .portal-hamburger span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

body.portal-sidebar-open .portal-hamburger span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0.2);
}

body.portal-sidebar-open .portal-hamburger span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.portal-mobile-search {
	border-top: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(255, 255, 255, 0.9);
}

.portal-mobile-search .container {
	padding-top: 0.7rem;
	padding-bottom: 0.9rem;
}

.portal-mobile-search[hidden] {
	display: none;
}

.portal-mobile-search-open .portal-mobile-search {
	animation: sr-mobile-search-drop 0.22s ease;
}

.portal-header-nav-bar {
	border-top: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.portal-compact-nav {
	min-width: 0;
}

.portal-compact-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.portal-compact-nav-item {
	flex: 0 0 auto;
}

.portal-compact-nav-desktop .portal-compact-nav-list {
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0.45rem 0;
}

.portal-compact-nav-desktop .portal-compact-nav-list::-webkit-scrollbar {
	display: none;
}

.portal-compact-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0.42rem 0.95rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(255, 255, 255, 0.82);
	color: #334155;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.portal-compact-nav-link:hover,
.portal-compact-nav-link.is-current {
	color: #0369a1;
	border-color: rgba(0, 209, 255, 0.3);
	background: rgba(0, 209, 255, 0.08);
	transform: translateY(-1px);
}

@keyframes sr-mobile-search-drop {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.site-main {
	padding-top: 9.6rem;
}

.portal-search-suggestions.sr-search-suggestions {
	top: calc(100% + 0.55rem);
	left: 0;
	right: 0;
	padding: 0.5rem;
	border-radius: 20px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.sr-search-suggestion {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 0.8rem;
	padding: 0.75rem;
	border-radius: 16px;
}

.portal-search-media {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(0, 209, 255, 0.08), rgba(14, 165, 233, 0.14));
	color: #0789ae;
}

.portal-search-media.no-thumb {
	border: 1px solid rgba(0, 209, 255, 0.18);
}

.portal-search-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portal-search-result-copy {
	display: grid;
	min-width: 0;
}

.portal-search-result-copy strong {
	font-size: 0.95rem;
}

.portal-search-result-copy span {
	color: var(--sr-muted);
	font-size: 0.82rem;
}

.portal-sidebar {
	position: sticky;
	top: 6.9rem;
}

.portal-sidebar-panel {
	padding: 1rem;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.96)),
		radial-gradient(circle at top right, rgba(0, 209, 255, 0.08), transparent 28%);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.portal-sidebar-panel + .portal-sidebar-panel {
	margin-top: 1rem;
}

.portal-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.portal-sidebar-header h2 {
	margin: 0;
	font-size: 1.05rem;
}

.portal-sidebar-kicker {
	margin: 0 0 0.22rem;
	color: #0595bd;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.portal-nav-group + .portal-nav-group {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.portal-nav-group-title {
	margin: 0 0 0.75rem;
	color: var(--sr-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.portal-nav-tree {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.portal-nav-item {
	position: relative;
}

.portal-nav-item::before {
	content: "";
	position: absolute;
	left: 0.9rem;
	top: 50%;
	width: 10px;
	height: 1px;
	background: rgba(0, 209, 255, 0.34);
	transform: translateY(-50%);
}

.portal-nav-link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 0.9rem 0.85rem 1.7rem;
	border-radius: 16px;
	background: rgba(247, 251, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.16);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.portal-nav-link:hover {
	transform: translateX(2px);
	border-color: rgba(0, 209, 255, 0.34);
	background: rgba(255, 255, 255, 0.96);
}

.portal-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: rgba(0, 209, 255, 0.08);
	color: #0789ae;
	flex: 0 0 34px;
}

.portal-nav-text {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
}

.portal-nav-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.portal-nav-badge-hot {
	background: rgba(239, 68, 68, 0.12);
	color: #b91c1c;
}

.portal-nav-badge-new {
	background: rgba(59, 130, 246, 0.12);
	color: #1d4ed8;
}

.portal-nav-badge-support {
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
}

.portal-nav-item-green .portal-nav-link,
.portal-nav-item-green .portal-nav-icon {
	border-color: rgba(34, 197, 94, 0.24);
	color: #15803d;
}

.portal-sidebar-feed {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.portal-sidebar-feed a {
	display: grid;
	gap: 0.18rem;
	padding: 0.85rem 0.95rem;
	border-radius: 16px;
	background: rgba(247, 251, 255, 0.86);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.portal-sidebar-feed time {
	color: var(--sr-muted);
	font-size: 0.78rem;
}

.portal-sidebar-overlay {
	position: fixed;
	inset: 0;
	z-index: 1040;
	background: rgba(15, 23, 42, 0.32);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.portal-sidebar-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1050;
	width: min(360px, 92vw);
	padding: 1rem;
	transform: translateX(100%);
	will-change: transform;
	transition: transform 0.24s ease;
}

.portal-sidebar-drawer-inner {
	height: 100%;
	padding: 1rem;
	border-left: 1px solid rgba(0, 209, 255, 0.25);
	border-radius: 24px 0 0 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.98));
	box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
	overflow-y: auto;
}

.portal-sidebar-tree-compact .portal-compact-nav-mobile .portal-compact-nav-list {
	display: grid;
	gap: 0.75rem;
}

.portal-sidebar-tree-compact .portal-compact-nav-link {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	min-height: 46px;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	font-size: 0.94rem;
	font-weight: 600;
}

.portal-sidebar-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--sr-text);
	font-size: 1.55rem;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-sidebar-close:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 209, 255, 0.42);
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.portal-sidebar-search {
	margin-bottom: 1rem;
}

body.portal-sidebar-open .portal-sidebar-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.portal-sidebar-open .portal-sidebar-drawer {
	transform: translateX(0);
}

body.admin-bar .portal-header {
	top: 32px;
}

body.admin-bar .portal-sidebar {
	top: 8.9rem;
}

@media (min-width: 1025px) {
	.site-main {
		padding-top: 10.4rem;
	}

	.portal-sidebar {
		top: 10.4rem;
	}

	.portal-header-search.desktop-only {
		display: flex;
	}

	.sidebar-column.desktop-only {
		display: block;
	}

	.portal-header-nav-bar.desktop-only {
		display: block;
	}

	.mobile-only {
		display: none;
	}
}

@media (max-width: 1024px) {
	.site-main {
		padding-top: 9rem;
	}

	body.admin-bar .portal-header {
		top: 46px;
	}

	.portal-header-main {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 64px;
	}

	.portal-header-search {
		justify-self: stretch;
	}

	.portal-brand-subtitle {
		display: none;
	}

	.portal-brand-logo .custom-logo,
	.portal-brand-fallback {
		width: 44px;
		height: 44px;
		max-width: 44px;
		max-height: 44px;
	}

	.top-updates-track {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.top-updates-track::-webkit-scrollbar {
		display: none;
	}

	.top-updates-slide {
		min-width: 100%;
		flex: 0 0 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		scroll-snap-align: start;
		padding-right: 0.15rem;
	}
}

@media (max-width: 767px) {
	.portal-header-ticker-inner {
		gap: 0.5rem;
		min-height: 38px;
	}

	.portal-header-ticker-label,
	.portal-header-ticker-location {
		padding: 0.28rem 0.62rem;
		font-size: 0.68rem;
	}

	.portal-header-ticker-track {
		gap: 1.5rem;
	}

	.portal-header-ticker-item {
		font-size: 0.82rem;
	}

	.portal-header-main {
		gap: 0.7rem;
		min-height: 60px;
	}

	.portal-brand-title {
		font-size: 1rem;
	}

	.portal-icon-button {
		width: 42px;
		height: 42px;
		border-radius: 14px;
	}

	.portal-header-actions.mobile-only {
		display: flex;
	}

	.portal-header-nav-bar.desktop-only {
		display: none;
	}

	.portal-mobile-search .container {
		padding-top: 0.6rem;
		padding-bottom: 0.75rem;
	}

	.portal-search-form-mobile-header,
	.portal-search-form-sidebar-drawer {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 46px;
		align-items: center;
	}

	.portal-search-form-mobile-header .portal-search-suggestions,
	.portal-search-form-sidebar-drawer .portal-search-suggestions {
		grid-column: 1 / -1;
	}

	.portal-sidebar-drawer {
		display: block;
		width: min(340px, 94vw);
		padding: 0.75rem;
	}

	.portal-sidebar-drawer-inner {
		border-radius: 22px 0 0 22px;
	}
}

/* Zero-Refresh Category Filter Grid */
.portal-category-filter-section {
	margin-bottom: 1.2rem;
	padding-top: 0.35rem;
}

.portal-category-filter-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.portal-category-filter-head h2 {
	margin: 0;
	font-size: clamp(1.3rem, 2.6vw, 1.85rem);
	line-height: 1.15;
}

.portal-category-filter-caption {
	max-width: 560px;
	margin: 0;
	color: #536173;
	font-size: 0.95rem;
}

.portal-category-chip-rail {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.1rem;
}

.portal-category-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.72rem 1rem;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #0f172a;
	font-weight: 700;
	font-size: 0.92rem;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.portal-category-chip:hover,
.portal-category-chip:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(0, 209, 255, 0.6);
	box-shadow: 0 14px 28px rgba(0, 209, 255, 0.14);
	outline: none;
}

.portal-category-chip.is-active {
	border-color: rgba(0, 209, 255, 0.7);
	background: linear-gradient(135deg, rgba(0, 209, 255, 0.14), rgba(56, 189, 248, 0.08));
	box-shadow: 0 16px 28px rgba(0, 209, 255, 0.18);
}

.portal-category-grid-shell {
	position: relative;
	min-height: 220px;
}

.portal-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.portal-category-card {
	position: relative;
	min-height: 164px;
	padding: 1rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e4e9f1;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.portal-category-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	border-radius: 12px 0 0 12px;
	background: #22c55e;
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.34);
}

.portal-category-card.is-upcoming::before {
	background: #facc15;
	box-shadow: 0 0 16px rgba(250, 204, 21, 0.34);
}

.portal-category-card.is-danger::before {
	background: #ef4444;
	box-shadow: 0 0 16px rgba(239, 68, 68, 0.34);
}

.portal-category-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.portal-category-card-badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.34rem 0.72rem;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.portal-category-card.is-upcoming .portal-category-card-badge {
	background: rgba(250, 204, 21, 0.18);
	color: #a16207;
}

.portal-category-card.is-danger .portal-category-card-badge {
	background: rgba(239, 68, 68, 0.12);
	color: #b91c1c;
}

.portal-category-card h3 {
	display: -webkit-box;
	margin: 0.9rem 0 0.7rem;
	color: #111827;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.45;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.portal-category-card-dates {
	display: grid;
	gap: 0.4rem;
	margin: auto 0 0;
	color: #536173;
	font-size: 0.84rem;
	font-weight: 600;
}

.portal-category-card:hover {
	transform: scale(1.02);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.portal-category-empty {
	grid-column: 1 / -1;
	padding: 1.25rem 1.35rem;
}

.portal-category-card-skeleton {
	border-color: #edf2f7;
}

.portal-category-card-skeleton::before {
	background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
	box-shadow: none;
}

.portal-category-card-skeleton .portal-category-card-badge,
.portal-card-line {
	display: block;
	background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
	background-size: 200% 100%;
	animation: srCategoryShimmer 1.25s linear infinite;
}

.portal-category-card-skeleton .portal-category-card-badge {
	width: 92px;
	height: 28px;
	padding: 0;
}

.portal-card-line {
	height: 12px;
	margin-top: 0.8rem;
	border-radius: 999px;
}

.portal-card-line.is-title {
	height: 18px;
	margin-top: 1rem;
	width: 92%;
}

.portal-card-line.is-short {
	width: 60%;
}

@keyframes srCategoryShimmer {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

@media (max-width: 1023px) {
	.portal-category-filter-head {
		display: grid;
		gap: 0.55rem;
	}

	.portal-category-chip-rail {
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-ms-overflow-style: none;
		scrollbar-width: none;
		padding-bottom: 0.2rem;
	}

	.portal-category-chip-rail::-webkit-scrollbar {
		display: none;
	}

	.portal-category-chip {
		flex: 0 0 calc((100% - 1.5rem) / 3);
		scroll-snap-align: start;
	}

	.portal-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.portal-category-filter-section {
		padding-top: 0.15rem;
	}

	.portal-category-card {
		min-height: 150px;
		padding: 0.95rem;
	}

	.portal-category-card h3 {
		font-size: 0.94rem;
	}

	.portal-category-card-dates {
		font-size: 0.8rem;
	}
}

/* Category Archive + Single Detail */
.category-archive-header,
.single-article-shell,
.single-related-card {
	background: #fff;
	border: 1px solid #e0e0e0;
}

.category-grid-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.category-grid-card {
	display: flex;
	flex-direction: column;
	padding: 1.15rem;
	border-radius: 16px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-grid-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.category-grid-card-top,
.single-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.category-urgency-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.34rem 0.72rem;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.category-urgency-badge.is-upcoming {
	background: rgba(250, 204, 21, 0.2);
	color: #a16207;
}

.category-urgency-badge.is-danger {
	background: rgba(239, 68, 68, 0.14);
	color: #b91c1c;
}

.category-grid-title,
.single-related-card h3 {
	margin: 0.9rem 0 0.7rem;
}

.category-grid-title a,
.single-related-card h3 {
	color: #111827;
	font-size: 1.14rem;
	font-weight: 800;
	line-height: 1.45;
}

.category-grid-dates,
.single-related-card p {
	display: grid;
	gap: 0.35rem;
	margin: 0 0 0.95rem;
	color: #536173;
	font-size: 0.85rem;
	font-weight: 700;
}

.category-grid-card.is-upcoming .category-grid-dates {
	color: #a16207;
}

.category-grid-card.is-danger .category-grid-dates {
	color: #b91c1c;
}

.category-grid-excerpt {
	margin: 0 0 1rem;
	color: #445468;
	font-size: 0.95rem;
	line-height: 1.72;
}

.category-grid-footer {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px solid #eeeeee;
}

.category-grid-taxonomy {
	display: grid;
	gap: 0.3rem;
	color: #64748b;
	font-size: 0.78rem;
}

.category-grid-taxonomy a {
	color: inherit;
}

.category-grid-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #0ea5e9;
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
}

.category-grid-link::after {
	content: "\2192";
}

.single-layout .content-column {
	min-width: 0;
}

.single-article-shell {
	max-width: 900px;
	margin: 0 auto;
	padding: 1.5rem;
	border-radius: 20px;
}

.single-hero {
	padding-bottom: 1.2rem;
	border-bottom: 1px solid #eeeeee;
}

.single-hero h1 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	line-height: 1.15;
}

.single-hero-meta {
	color: #536173;
	font-size: 0.92rem;
	font-weight: 600;
}

.single-quick-info {
	padding: 1.25rem 0;
	border-bottom: 1px solid #eeeeee;
}

.single-quick-info-head h2 {
	margin: 0 0 1rem;
	font-size: 1.2rem;
}

.single-quick-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	padding: 1px;
	background: #eceff4;
	border-radius: 16px;
	overflow: hidden;
}

.single-quick-info-item {
	display: flex;
	align-items: start;
	gap: 0.85rem;
	padding: 1rem;
	background: #fff;
}

.single-quick-info-item.is-alt {
	background: #f8fafc;
}

.single-quick-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(14, 165, 233, 0.1);
	color: #0284c7;
	flex: 0 0 40px;
}

.single-quick-info-icon svg {
	width: 20px;
	height: 20px;
}

.single-quick-info-copy h3 {
	margin: 0 0 0.3rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
}

.single-quick-info-copy p {
	margin: 0;
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.6;
}

.single-body-tools {
	padding: 1rem 0 0.2rem;
	border-bottom: 1px solid #eeeeee;
}

.single-detail-content {
	padding-top: 1.2rem;
	font-size: 17px;
	line-height: 1.8;
	color: #263445;
}

.single-detail-content > *:where(h2, h3, h4, p, ul, ol, table, blockquote) {
	margin-top: 0;
	margin-bottom: 1.2rem;
}

.single-detail-content h2,
.single-detail-content h3,
.single-detail-content h4 {
	color: #0f172a;
	line-height: 1.25;
}

.single-detail-content table {
	width: 100%;
	border-collapse: collapse;
}

.single-detail-content table td,
.single-detail-content table th {
	padding: 0.7rem 0.85rem;
	border: 1px solid #e5e7eb;
}

.single-related-section {
	max-width: 900px;
	margin: 1.25rem auto 0;
}

.single-related-rail {
	overflow: hidden;
}

.single-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.single-related-card {
	padding: 1rem;
	border-radius: 16px;
}

.single-related-card-link {
	display: block;
}

.single-related-card h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1023px) {
	.category-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.single-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.category-grid-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.category-grid-card,
	.single-article-shell {
		padding: 1rem;
		border-radius: 16px;
	}

	.category-grid-footer {
		flex-direction: column;
		align-items: start;
	}

	.single-hero h1 {
		font-size: 1.7rem;
	}

	.single-quick-info-grid {
		grid-template-columns: 1fr;
	}

	.single-related-rail {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-ms-overflow-style: none;
		scrollbar-width: none;
		padding-bottom: 0.15rem;
	}

	.single-related-rail::-webkit-scrollbar {
		display: none;
	}

	.single-related-grid {
		display: flex;
		gap: 0.9rem;
	}

	.single-related-card {
		min-width: min(85vw, 320px);
		flex: 0 0 min(85vw, 320px);
		scroll-snap-align: start;
	}
}


