/* NoToChina category pages. Scoped to .ntc-cat so nothing else on the site changes. */

.ntc-cat {
	--ntc-ink: #1d1d1f;
	--ntc-muted: #595d63;
	--ntc-body: #3a3d42;
	--ntc-line: #e3e5e9;
	--ntc-soft: #f6f7f9;
	--ntc-accent: #b31942;
	--ntc-link: #0a3161;
	--ntc-sans: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ntc-serif: 'Zilla Slab', Georgia, serif;
	color: var(--ntc-ink);
	font-family: var(--ntc-sans);
	font-size: 16px;
	line-height: 1.55;
}

/* Override the theme's heading fonts and link underlines inside the template */
.ntc-cat h1, .ntc-cat h2, .ntc-cat h3, .ntc-cat p, .ntc-cat li, .ntc-cat span, .ntc-cat nav {
	font-family: var(--ntc-sans);
	letter-spacing: normal;
}
.ntc-cat h1, .ntc-cat h2, .ntc-cat h3 { color: var(--ntc-ink); }
.ntc-cat a,
.ntc-cat a:hover,
.ntc-cat a:focus,
.ntc-cat a span {
	text-decoration: none !important;
	border-bottom: 0;
	box-shadow: none;
}
.ntc-cat a { color: var(--ntc-link); transition: color 0.15s ease; }
.ntc-cat a:hover { color: var(--ntc-accent); }
.ntc-cat a:focus-visible { outline: 2px solid var(--ntc-link); outline-offset: 2px; border-radius: 4px; }

/* Header block */
.ntc-cat__hero {
	background: var(--ntc-soft);
	border-bottom: 1px solid var(--ntc-line);
	padding: 32px 0;
}
.ntc-cat__crumbs { font-size: 14px; color: var(--ntc-muted); margin-bottom: 12px; }
.ntc-cat__crumbs p { margin: 0; }
.ntc-cat .ntc-cat__title {
	margin: 0 0 12px;
	font-family: var(--ntc-serif);
	font-size: 44px;
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ntc-cat__intro { max-width: 720px; font-size: 17px; color: var(--ntc-body); }
.ntc-cat__intro p { margin: 0 0 10px; }
.ntc-cat__meta { margin: 8px 0 0; font-size: 14px; color: var(--ntc-muted); }
.ntc-cat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ntc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #c9cdd3;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ntc-ink) !important;
}
.ntc-chip span { color: var(--ntc-muted); font-weight: 500; }
.ntc-chip:hover { border-color: var(--ntc-link); }

/* Most read */
.ntc-cat__top { padding: 36px 0 8px; }
.ntc-cat__h2 { margin: 0 0 20px; font-size: 24px; font-weight: 800; }
.ntc-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}
.ntc-card { display: flex; flex-direction: column; gap: 8px; }
.ntc-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #eceef1; }
.ntc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ntc-card__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ntc-accent); }
.ntc-card__title { margin: 0; font-size: 20px; line-height: 1.25; }
.ntc-card__title a { color: var(--ntc-ink); text-decoration: none; }
.ntc-card__excerpt {
	margin: 0;
	font-size: 15px;
	color: var(--ntc-body);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ntc-card__meta { font-size: 13px; color: var(--ntc-muted); }

/* Body */
.ntc-cat__body { padding-top: 40px; padding-bottom: 56px; }
.ntc-group { margin-bottom: 40px; scroll-margin-top: 100px; }
.ntc-group__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	border-bottom: 2px solid var(--ntc-ink);
	padding-bottom: 8px;
}
.ntc-group__title { margin: 0; font-size: 22px; font-weight: 800; }
.ntc-group__title a { color: var(--ntc-ink); text-decoration: none; }
.ntc-group__count { font-size: 14px; color: var(--ntc-muted); }

.ntc-rows { list-style: none; margin: 0; padding: 0; }
.ntc-row { border-bottom: 1px solid #e6e8ec; margin: 0; }
.ntc-row a { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; text-decoration: none; }
.ntc-row__img { flex: none; width: 128px; height: 88px; border-radius: 6px; overflow: hidden; background: #eceef1; }
.ntc-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ntc-row__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ntc-row__title { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ntc-link); }
.ntc-row a:hover .ntc-row__title { color: var(--ntc-accent); }
.ntc-row__excerpt {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ntc-body);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ntc-row__meta { font-size: 13px; color: var(--ntc-muted); }

.ntc-roundups {
	background: var(--ntc-soft);
	border: 1px solid var(--ntc-line);
	border-radius: 10px;
	padding: 20px 24px;
}
.ntc-roundups__title { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.ntc-roundups ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 6px 24px;
}
.ntc-roundups li { margin: 0; padding: 4px 0; font-size: 15px; }

/* Ads */
.ntc-ad--incontent-wrap { margin: 0 0 40px; text-align: center; }
.ntc-ad--sticky { position: sticky; top: 100px; margin-bottom: 24px; text-align: center; }

/* Sidebar */
.ntc-box {
	border: 1px solid var(--ntc-line);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 24px;
}
.ntc-box__title { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.ntc-box p { font-size: 14px; color: var(--ntc-body); margin: 0 0 12px; }
.ntc-box ul { margin: 0; padding-left: 18px; }
.ntc-btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	background: var(--ntc-link);
	color: #fff !important;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
}
.ntc-btn:hover { background: var(--ntc-accent); }

/* Other categories */
.ntc-cat__others { background: var(--ntc-soft); border-top: 1px solid var(--ntc-line); padding: 32px 0; }
.ntc-cat__others .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ntc-cat__others span { font-weight: 800; }
.ntc-cat__others a { font-weight: 600; }

/* Phones */
@media (max-width: 991px) {
	.ntc-ad--sticky { display: none; }
	.ntc-cat__side { margin-top: 8px; }
}
@media (max-width: 575px) {
	.ntc-cat .ntc-cat__title { font-size: 32px; }
	.ntc-row__img { width: 88px; height: 66px; }
	.ntc-row__title { font-size: 16px; }
}
