/* NoToChina homepage. Scoped to .ntc-home so nothing else on the site changes. */

.ntc-home {
	--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;
}
.ntc-home h1, .ntc-home h2, .ntc-home h3, .ntc-home p, .ntc-home li, .ntc-home span,
.ntc-home nav, .ntc-home label, .ntc-home input, .ntc-home button, .ntc-home strong {
	font-family: var(--ntc-sans);
	letter-spacing: normal;
}
.ntc-home h1, .ntc-home h2, .ntc-home h3 { color: var(--ntc-ink); }
.ntc-home a, .ntc-home a:hover, .ntc-home a:focus, .ntc-home a span, .ntc-home a strong {
	text-decoration: none !important;
	border-bottom: 0;
	box-shadow: none;
}
.ntc-home a { color: var(--ntc-link); transition: color 0.15s ease; }
.ntc-home a:hover { color: var(--ntc-accent); }
.ntc-home a:focus-visible { outline: 2px solid var(--ntc-link); outline-offset: 2px; border-radius: 4px; }

.ntc-home__sec { padding-top: 40px; padding-bottom: 16px; }
.ntc-home__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.ntc-home__head h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800; }
.ntc-home__head a { font-weight: 600; }

/* Hero */
.ntc-home__hero { background: var(--ntc-soft); border-bottom: 1px solid #e6e8ec; padding: 48px 0 44px; }
.ntc-home__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ntc-accent); margin-bottom: 14px; }
.ntc-home .ntc-home__title {
	margin: 0 0 14px;
	max-width: 820px;
	font-family: var(--ntc-serif);
	font-size: 50px;
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ntc-home__lede { margin: 0 0 18px; max-width: 680px; font-size: 18px; color: var(--ntc-body); }
.ntc-search { display: flex; flex-direction: column; gap: 8px; max-width: 680px; margin: 0 0 16px; }
.ntc-search label { font-size: 14px; font-weight: 700; margin: 0; }
.ntc-search__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ntc-search input[type="search"] {
	flex: 1 1 260px;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: 1.5px solid #8a8f96;
	border-radius: 8px;
	font-size: 17px;
	background: #fff;
	color: var(--ntc-ink);
	box-shadow: none;
}
.ntc-search input[type="search"]:focus { outline: 2px solid var(--ntc-link); outline-offset: 1px; border-color: var(--ntc-link); }
.ntc-search button {
	height: 52px;
	padding: 0 24px;
	background: var(--ntc-link);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.ntc-search button:hover { background: var(--ntc-accent); }
.ntc-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.ntc-pills > span { font-weight: 700; color: var(--ntc-body); margin-right: 4px; }
.ntc-pills a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #c9cdd3 !important;
	border-radius: 999px;
	color: var(--ntc-ink);
	font-weight: 600;
}
.ntc-pills a:hover { border-color: var(--ntc-link) !important; }

/* Ads */
.ntc-home__ad1 { padding-top: 44px; padding-bottom: 8px; text-align: center; }
.ntc-home__feedad { min-height: 280px; display: flex; align-items: center; justify-content: center; }
.ntc-home__feedad .ntc-ad__unit { width: 100%; }

/* Freshly updated grid */
.ntc-home__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 36px 28px;
}
.ntc-card { display: flex; flex-direction: column; gap: 10px; }
.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-home .ntc-card__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.ntc-card__title a { color: var(--ntc-ink); }
.ntc-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	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); }

/* Hubs */
.ntc-hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.ntc-hub { background: var(--ntc-soft); border: 1px solid var(--ntc-line); border-radius: 12px; padding: 28px; }
.ntc-hub .ntc-home__head h2 { font-size: 24px; }
.ntc-hub > p { margin: -8px 0 16px; color: var(--ntc-body); font-size: 15px; }
.ntc-hub__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ntc-hub__list a, .ntc-hub__tiles a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #dcdfe4 !important;
	border-radius: 8px;
	color: var(--ntc-ink);
	font-weight: 700;
}
.ntc-hub__list span { font-size: 14px; font-weight: 400; color: var(--ntc-muted); }
.ntc-hub__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }

/* News */
.ntc-news { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.ntc-news__main { flex: 2 1 560px; min-width: 0; }
.ntc-news__blurb { margin: -6px 0 20px; max-width: 640px; color: var(--ntc-body); }
.ntc-news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 24px; }
.ntc-news__list li { margin: 0; }
.ntc-news__list a { display: flex; gap: 14px; align-items: center; min-height: 72px; color: var(--ntc-ink); }
.ntc-news__img { width: 72px; height: 72px; flex: none; border-radius: 6px; overflow: hidden; background: #eceef1; }
.ntc-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ntc-news__text { display: flex; flex-direction: column; gap: 4px; }
.ntc-news__text strong { font-weight: 700; line-height: 1.3; }
.ntc-news__text span { font-size: 13px; color: var(--ntc-muted); }
.ntc-news__list a:hover strong { color: var(--ntc-accent); }
.ntc-news__ad { flex: 1 1 300px; max-width: 336px; text-align: center; }

/* Browse by category */
.ntc-browse { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ntc-browse__col { border-top: 3px solid var(--ntc-ink); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ntc-home .ntc-browse__col h3 { margin: 0; font-size: 18px; font-weight: 800; }
.ntc-browse__col h3 a { color: var(--ntc-ink); }
.ntc-browse__col ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ntc-browse__col li { margin: 0; }
.ntc-browse__col li a { display: block; padding: 4px 0; color: var(--ntc-ink); }
.ntc-browse__col li a:hover { color: var(--ntc-accent); }
.ntc-browse__all { font-weight: 700; font-size: 15px; }
.ntc-browse__more { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.ntc-browse__more span { font-weight: 800; }
.ntc-browse__more a { font-weight: 600; }

/* Method band */
.ntc-method { background: var(--ntc-link); color: #fff; padding: 52px 0; margin-top: 40px; }
.ntc-home .ntc-method h2 { margin: 0 0 28px; font-family: var(--ntc-serif); font-size: 36px; line-height: 1.1; font-weight: 700; color: #fff; }
.ntc-method ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ntc-method li { display: flex; flex-direction: column; gap: 8px; margin: 0; color: #fff; }
.ntc-home .ntc-method__n { font-family: var(--ntc-serif); font-size: 34px; font-weight: 700; color: #f2b8c6; line-height: 1; }
.ntc-method strong { font-size: 18px; font-weight: 700; color: #fff; }
.ntc-method li > span:last-child { color: #dfe6f1; font-size: 15px; }

/* Forum */
.ntc-forum__lede { margin: -8px 0 18px; color: var(--ntc-body); }
.ntc-forum { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ntc-forum li { margin: 0; }
.ntc-forum a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid #dcdfe4 !important; border-radius: 8px; color: var(--ntc-ink); }
.ntc-forum a:hover { border-color: var(--ntc-link) !important; }
.ntc-forum strong { font-weight: 700; line-height: 1.3; }
.ntc-forum span { font-size: 13px; color: var(--ntc-muted); }

/* About (the page's own content) */
.ntc-about { background: var(--ntc-soft); border-top: 1px solid var(--ntc-line); padding: 44px 0 52px; margin-top: 24px; }
.ntc-about__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ntc-about__body { color: var(--ntc-body); font-size: 16px; }
.ntc-about__card { background: #fff; border: 1px solid var(--ntc-line); border-radius: 12px; padding: 24px; color: var(--ntc-body); font-size: 15px; }
.ntc-about__card p { margin: 0 0 12px; }
.ntc-about__card p:last-child { margin-bottom: 0; }
.ntc-about__card img { margin: 0 12px 6px 0; }
.ntc-about__body h2 { font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.ntc-about__body p { margin: 0 0 14px; }
.ntc-about__body summary { cursor: pointer; color: var(--ntc-link); font-weight: 600; margin-bottom: 8px; }

/* Phones */
@media (max-width: 767px) {
	.ntc-about__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 575px) {
	.ntc-home__hero { padding: 32px 0; }
	.ntc-home .ntc-home__title { font-size: 34px; }
	.ntc-home__lede { font-size: 16px; }
	.ntc-home__head h2 { font-size: 24px; }
	.ntc-home__grid { grid-template-columns: 1fr; }
	.ntc-hubs { grid-template-columns: 1fr; }
	.ntc-news__ad { max-width: none; }
	.ntc-home .ntc-method h2 { font-size: 28px; }
}
