/* SOS Category Hub */

:root {
	--sos-ch-accent: #C9542C;
}

.sos-ch {
	width: 100%;
}

/* ---------- hero ---------- */
.sos-ch__hero {
	position: relative;
	background-color: #2B2926;
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 78px 22px 66px;
	text-align: center;
}

.sos-ch__hero-inner {
	max-width: 780px;
	margin: 0 auto;
}

.sos-ch__eyebrow {
	display: block;
	font-size: .74em;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .85;
	margin-bottom: 12px;
}

.sos-ch__title {
	margin: 0 0 14px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.12;
	color: #fff;
}

.sos-ch__desc {
	font-size: 1.05em;
	line-height: 1.7;
	opacity: .92;
	max-width: 60ch;
	margin: 0 auto 14px;
}

.sos-ch__count {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .18);
	font-size: .82em;
	font-weight: 600;
}

/* ---------- wrap ---------- */
.sos-ch__wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 22px 70px;
}

/* ---------- chips ---------- */
.sos-ch__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 34px;
}

.sos-ch__chips-label {
	font-size: .74em;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8A8175;
	margin-right: 4px;
}

.sos-ch__chip {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #EFE7DB;
	color: #2B2926;
	font-weight: 600;
	font-size: .9em;
	text-decoration: none;
	transition: transform .15s ease, border-color .15s ease;
}

.sos-ch__chip:hover {
	transform: translateY(-2px);
	border-color: var(--sos-ch-accent);
}

/* ---------- top row: featured + author ---------- */
.sos-ch__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 26px;
	margin-bottom: 46px;
	align-items: start;
}

.sos-ch__section-title {
	display: block;
	font-size: .74em;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8A8175;
	margin-bottom: 14px;
}

.sos-ch__featured {
	padding: 24px 26px;
	border-radius: 14px;
	background: #F7F3EC;
}

.sos-ch__featured ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sos-ch__featured li + li {
	border-top: 1px solid rgba(0, 0, 0, .07);
}

.sos-ch__featured a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	color: #2B2926;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.4;
}

.sos-ch__featured a:hover {
	color: var(--sos-ch-accent);
}

.sos-ch__arrow {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .9em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* author box */
.sos-ch__author {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	border-radius: 14px;
	background: #F0F5F4;
}

.sos-ch__author-photo {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.sos-ch__author-text {
	margin: 0;
	font-size: .92em;
	line-height: 1.6;
	color: #3B3830;
}

.sos-ch__author-text a {
	color: var(--sos-ch-accent);
	font-weight: 600;
}

/* ---------- grid ---------- */
.sos-ch__grid-title {
	margin: 0 0 22px;
	font-size: clamp(22px, 2.6vw, 30px);
	color: #2B2926;
}

.sos-ch__grid {
	display: grid;
	grid-template-columns: repeat(var(--sos-ch-cols, 3), minmax(0, 1fr));
	gap: 26px;
}

.sos-ch__card {
	background: #fff;
	border: 1px solid #EFE7DB;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}

.sos-ch__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, .10);
}

.sos-ch__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.sos-ch__card-media {
	display: block;
	width: 100%;
	height: 190px;
	background-color: #e7ded2;
	background-size: cover;
	background-position: center;
	flex: 0 0 auto;
}

.sos-ch__card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}

.sos-ch__card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #9A9184;
	margin-bottom: 9px;
}

.sos-ch__card-cat {
	color: var(--sos-ch-accent);
}

.sos-ch__card-time::before {
	content: "·";
	margin-right: 8px;
}

.sos-ch__card-title {
	margin: 0 0 9px;
	font-size: 1.16em;
	line-height: 1.35;
	color: #2B2926;
}

.sos-ch__card-excerpt {
	display: block;
	color: #6A6255;
	font-size: .93em;
	line-height: 1.6;
	margin-bottom: 16px;
}

.sos-ch__card-more {
	margin-top: auto;
	font-weight: 700;
	font-size: .9em;
	color: var(--sos-ch-accent);
}

/* ---------- pagination ---------- */
.sos-ch__pagination {
	margin-top: 46px;
	text-align: center;
}

.sos-ch__pagination .page-numbers {
	display: inline-block;
	padding: 9px 16px;
	margin: 0 3px;
	border-radius: 999px;
	border: 1px solid #EFE7DB;
	background: #fff;
	color: #2B2926;
	text-decoration: none;
	font-weight: 600;
}

.sos-ch__pagination .page-numbers.current,
.sos-ch__pagination .page-numbers:hover {
	background: var(--sos-ch-accent);
	border-color: var(--sos-ch-accent);
	color: #fff;
}

.sos-ch__empty {
	padding: 50px 0;
	text-align: center;
	color: #7A7266;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.sos-ch__top {
		grid-template-columns: 1fr;
	}
	.sos-ch__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.sos-ch__grid {
		grid-template-columns: 1fr;
	}
	.sos-ch__hero {
		padding: 54px 18px 46px;
	}
}
