/* SN Blog Home — homepage design for securenetworks.cloud */

.snb-main {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #f5f7fb;
	color: #16233b;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */
.snb-hero {
	position: relative;
	background: radial-gradient(1200px 500px at 15% -10%, rgba(47, 111, 237, 0.28), transparent 60%),
		radial-gradient(900px 400px at 90% 0%, rgba(34, 197, 164, 0.12), transparent 55%),
		linear-gradient(180deg, #0b1f3a 0%, #10294b 100%);
	color: #fff;
	padding: 72px 24px 60px;
	text-align: center;
}
.snb-hero-inner {
	max-width: 860px;
	margin: 0 auto;
}
.snb-kicker {
	display: inline-block;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #7fb0ff;
}
.snb-hero-title {
	margin: 0 0 14px;
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}
.snb-hero-sub {
	margin: 0 auto 28px;
	max-width: 620px;
	font-size: 17px;
	color: #b9c9e2;
}

/* ---------- Search ---------- */
.snb-search {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	border-radius: 14px;
	padding: 7px 7px 7px 16px;
	box-shadow: 0 12px 34px rgba(2, 10, 26, 0.35);
}
.snb-search-icon {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	color: #8b9bb5;
}
.snb-search input[type="search"] {
	flex: 1 1 auto;
	border: 0;
	outline: none;
	font-size: 16px;
	color: #16233b;
	background: transparent;
	min-width: 0;
}
.snb-search input[type="search"]::placeholder {
	color: #9aa8c0;
}
.snb-search button {
	flex: 0 0 auto;
	border: 0;
	cursor: pointer;
	background: #2f6fed;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	padding: 10px 22px;
	border-radius: 10px;
	transition: background 0.2s ease;
}
.snb-search button:hover {
	background: #2459c4;
}

/* ---------- Category pills ---------- */
.snb-pills {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
}
.snb-pills a {
	display: inline-block;
	padding: 7px 15px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #dbe7f8;
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}
.snb-pills a:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

/* ---------- Layout ---------- */
.snb-layout {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 24px 64px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 40px;
	align-items: start;
}

/* ---------- Cards ---------- */
.snb-card {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 22px;
	background: #fff;
	border: 1px solid #e6ebf4;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 22px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.snb-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(11, 31, 58, 0.10);
	border-color: #c9d6ec;
}
.snb-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: #e8edf6;
	overflow: hidden;
}
.snb-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.snb-card:hover .snb-card-thumb img {
	transform: scale(1.04);
}
.snb-thumb-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #dbe5f6, #eef2fa);
	color: #2f6fed;
}
.snb-thumb-ph svg {
	width: 44px;
	height: 44px;
	opacity: 0.85;
}
.snb-badge {
	position: absolute;
	left: 12px;
	top: 12px;
	background: rgba(11, 31, 58, 0.82);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.snb-card-body {
	padding: 20px 24px 20px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.snb-card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #74839b;
	margin-bottom: 8px;
}
.snb-dot {
	color: #b6c1d4;
}
.snb-card-title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.snb-card-title a {
	color: #16233b;
	text-decoration: none;
	transition: color 0.15s ease;
}
.snb-card-title a:hover {
	color: #2f6fed;
}
.snb-card-excerpt {
	margin: 0;
	font-size: 14.5px;
	color: #5b6a84;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Ad slots ---------- */
.snb-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #fff;
	border: 1px dashed #d5deee;
	border-radius: 14px;
	color: #9aa8c0;
	min-height: 120px;
	margin-bottom: 22px;
}
.snb-ad-label {
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.snb-ad-size {
	font-size: 13px;
	font-weight: 600;
}
.snb-ad-sidebar {
	min-height: 260px;
}

/* ---------- Pagination ---------- */
.snb-pagination {
	margin-top: 34px;
	text-align: center;
}
.snb-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 9px 14px;
	margin: 0 4px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e6ebf4;
	color: #16233b;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.snb-pagination .page-numbers:hover {
	border-color: #2f6fed;
	color: #2f6fed;
}
.snb-pagination .page-numbers.current {
	background: #2f6fed;
	border-color: #2f6fed;
	color: #fff;
}

/* ---------- Sidebar ---------- */
.snb-sidebar {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.snb-widget {
	background: #fff;
	border: 1px solid #e6ebf4;
	border-radius: 16px;
	padding: 20px 22px;
}
.snb-widget-title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #74839b;
}
.snb-popular {
	margin: 0;
	padding-left: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	counter-reset: snb-num;
}
.snb-popular li {
	font-size: 14.5px;
	line-height: 1.45;
}
.snb-popular li a {
	color: #16233b;
	text-decoration: none;
	font-weight: 500;
}
.snb-popular li a:hover {
	color: #2f6fed;
}
.snb-cats {
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.snb-cats li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 10px;
	border-radius: 8px;
	color: #3c4b66;
	font-size: 14.5px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.snb-cats li a:hover {
	background: #f0f4fb;
	color: #2f6fed;
}
.snb-cats .count {
	color: #9aa8c0;
	font-size: 12.5px;
}

.snb-empty {
	background: #fff;
	border: 1px solid #e6ebf4;
	border-radius: 16px;
	padding: 40px;
	text-align: center;
	color: #5b6a84;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.snb-layout {
		grid-template-columns: 1fr;
	}
	.snb-sidebar {
		position: static;
		order: 2;
	}
	.snb-feed {
		order: 1;
	}
	.snb-ad-sidebar {
		display: none;
	}
}
@media (max-width: 720px) {
	.snb-hero {
		padding: 48px 18px 44px;
	}
	.snb-layout {
		padding: 26px 16px 48px;
	}
	.snb-card {
		grid-template-columns: 1fr;
	}
	.snb-card-body {
		padding: 16px 20px 20px;
	}
	.snb-card-title {
		font-size: 19px;
	}
	.snb-card-thumb {
		aspect-ratio: 16 / 9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.snb-card,
	.snb-card-thumb img,
	.snb-card:hover .snb-card-thumb img {
		transform: none;
		transition: none;
	}
}
