.ssp-shell {
	--ssp-accent: #0e5f51;
	--ssp-secondary: #a11f1f;
	--ssp-ink: #172033;
	--ssp-muted: #5b6577;
	--ssp-line: #d9e1ea;
	--ssp-soft: #f5f7fa;
	--ssp-panel: #ffffff;
	box-sizing: border-box;
	width: min(1180px, calc(100% - 28px));
	margin: 0 auto 28px;
	color: var(--ssp-ink);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

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

.ssp-shell a {
	color: inherit;
	text-decoration: none;
}

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

.ssp-portal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 18px 0;
	padding: 16px;
	background: var(--ssp-panel);
	border: 1px solid var(--ssp-line);
	border-top: 4px solid var(--ssp-accent);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.ssp-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 220px;
}

.ssp-brand img,
.ssp-brand__mark {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 8px;
	object-fit: cover;
}

.ssp-brand__mark {
	display: grid;
	place-items: center;
	background: var(--ssp-accent);
	color: #fff;
	font-weight: 800;
}

.ssp-brand strong,
.ssp-brand em {
	display: block;
}

.ssp-brand strong {
	font-size: 18px;
	line-height: 1.2;
}

.ssp-brand em {
	color: var(--ssp-muted);
	font-size: 12px;
	font-style: normal;
	margin-top: 2px;
}

.ssp-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.ssp-nav a {
	padding: 9px 11px;
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
	color: var(--ssp-muted);
	font-size: 13px;
	font-weight: 700;
	background: #fff;
}

.ssp-nav a:hover,
.ssp-nav a:focus {
	color: #fff;
	background: var(--ssp-accent);
	border-color: var(--ssp-accent);
}

.ssp-ad {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 100%;
	margin: 14px 0;
	border: 1px dashed #c8d2df;
	border-radius: 8px;
	background: #f8fafc;
	color: #7a8494;
	font-size: 12px;
	text-align: center;
}

.ssp-ad--header {
	min-height: 96px;
}

.ssp-ad--inline,
.ssp-ad--article {
	min-height: 120px;
}

.ssp-ad--sidebar {
	min-height: 280px;
	position: sticky;
	top: 18px;
}

.ssp-search {
	display: grid;
	grid-template-columns: 1fr 190px auto;
	gap: 10px;
	align-items: center;
	margin: 16px 0;
	padding: 12px;
	background: var(--ssp-panel);
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
}

.ssp-search input,
.ssp-search select,
.ssp-search button {
	width: 100%;
	min-height: 44px;
	border-radius: 8px;
	font: inherit;
}

.ssp-search input,
.ssp-search select {
	border: 1px solid var(--ssp-line);
	background: #fff;
	color: var(--ssp-ink);
	padding: 0 12px;
}

.ssp-search button,
.ssp-button {
	border: 0;
	background: var(--ssp-accent);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	padding: 0 18px;
}

.ssp-search button:hover,
.ssp-search button:focus,
.ssp-button:hover,
.ssp-button:focus {
	filter: brightness(0.95);
	color: #fff;
}

.ssp-home__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.ssp-section,
.ssp-content-panel,
.ssp-source-box,
.ssp-page-head {
	background: var(--ssp-panel);
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.ssp-section {
	overflow: hidden;
}

.ssp-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 14px;
	background: linear-gradient(90deg, rgba(14, 95, 81, 0.1), rgba(161, 31, 31, 0.08));
	border-bottom: 1px solid var(--ssp-line);
}

.ssp-section__head h2,
.ssp-sidebar-section h2,
.ssp-content-panel h2 {
	margin: 0;
	font-size: 17px;
	line-height: 1.25;
}

.ssp-section__head a {
	color: var(--ssp-accent);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.ssp-list {
	display: grid;
	gap: 10px;
	padding: 12px;
}

.ssp-card {
	display: grid;
	gap: 10px;
	padding: 14px;
	background: #fff;
	border: 1px solid #e3e9f0;
	border-radius: 8px;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ssp-card:hover {
	border-color: rgba(14, 95, 81, 0.45);
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.ssp-card__meta,
.ssp-card__foot,
.ssp-meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--ssp-muted);
	font-size: 12px;
}

.ssp-card h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
}

.ssp-card h3 a:hover,
.ssp-card h3 a:focus {
	color: var(--ssp-accent);
}

.ssp-card p {
	margin: 0;
	color: var(--ssp-muted);
	font-size: 14px;
	line-height: 1.55;
}

.ssp-card--compact {
	padding: 11px 12px;
	box-shadow: none;
}

.ssp-card--compact h3 {
	font-size: 15px;
}

.ssp-status {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(14, 95, 81, 0.1);
	color: var(--ssp-accent);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.ssp-status--closed,
.ssp-status--expired {
	background: rgba(161, 31, 31, 0.1);
	color: var(--ssp-secondary);
}

.ssp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 18px;
	align-items: start;
	margin-top: 18px;
}

.ssp-feed {
	display: grid;
	gap: 12px;
}

.ssp-page-head {
	padding: 22px;
}

.ssp-page-head h1,
.ssp-article__head h1 {
	margin: 4px 0 0;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: 0;
}

.ssp-kicker {
	margin: 0;
	color: var(--ssp-secondary);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ssp-page-head__description {
	margin-top: 10px;
	color: var(--ssp-muted);
}

.ssp-sidebar {
	display: grid;
	gap: 16px;
}

.ssp-sidebar-section {
	background: #fff;
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
	overflow: hidden;
}

.ssp-sidebar-section h2 {
	padding: 12px 14px;
	background: var(--ssp-soft);
	border-bottom: 1px solid var(--ssp-line);
}

.ssp-article {
	display: grid;
	gap: 16px;
}

.ssp-article__head,
.ssp-content-panel,
.ssp-source-box {
	padding: 20px;
}

.ssp-entry-content {
	color: #283246;
	font-size: 16px;
	line-height: 1.7;
}

.ssp-entry-content :first-child {
	margin-top: 0;
}

.ssp-entry-content :last-child {
	margin-bottom: 0;
}

.ssp-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ssp-formatted-text {
	margin-top: 12px;
	color: #283246;
	line-height: 1.65;
}

.ssp-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.ssp-link-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
}

.ssp-link-grid a:hover,
.ssp-link-grid a:focus {
	border-color: var(--ssp-accent);
}

.ssp-link-grid strong {
	color: var(--ssp-accent);
	font-size: 12px;
	text-transform: uppercase;
}

.ssp-faq {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.ssp-faq details {
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
	background: #fff;
}

.ssp-faq summary {
	cursor: pointer;
	font-weight: 800;
	padding: 13px 14px;
}

.ssp-faq p {
	margin: 0;
	padding: 0 14px 14px;
	color: var(--ssp-muted);
}

.ssp-source-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-color: rgba(14, 95, 81, 0.28);
}

.ssp-source-box p {
	margin: 4px 0 0;
	color: var(--ssp-muted);
}

.ssp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
	white-space: nowrap;
}

.ssp-empty {
	padding: 18px;
	color: var(--ssp-muted);
	background: #fff;
	border: 1px dashed var(--ssp-line);
	border-radius: 8px;
}

.ssp-pagination {
	margin-top: 10px;
}

.ssp-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ssp-pagination a,
.ssp-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 6px 10px;
	border: 1px solid var(--ssp-line);
	border-radius: 8px;
	background: #fff;
}

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

@media (max-width: 960px) {
	.ssp-portal-head,
	.ssp-source-box {
		align-items: flex-start;
		flex-direction: column;
	}

	.ssp-nav {
		justify-content: flex-start;
	}

	.ssp-home__grid,
	.ssp-layout,
	.ssp-detail-grid {
		grid-template-columns: 1fr;
	}

	.ssp-ad--sidebar {
		position: static;
		min-height: 160px;
	}
}

@media (max-width: 680px) {
	.ssp-shell {
		width: min(100% - 20px, 1180px);
	}

	.ssp-search,
	.ssp-link-grid {
		grid-template-columns: 1fr;
	}

	.ssp-page-head h1,
	.ssp-article__head h1 {
		font-size: 26px;
	}

	.ssp-article__head,
	.ssp-content-panel,
	.ssp-source-box,
	.ssp-page-head {
		padding: 16px;
	}
}
