/* ==========================================================================
   CamoSpecs theme
   Header, menu, colours and fonts carried over from the ListGo child theme
   (newtheme.css, font.css); page bodies rebuilt to match the old site.
   ========================================================================== */

@font-face {
	font-family: "HK Grotesk";
	src: url("fonts/hkgrotesk-medium.woff2") format("woff2"), url("fonts/hkgrotesk-medium.woff") format("woff");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "HK Grotesk";
	src: url("fonts/hkgrotesk-extrabold.woff2") format("woff2"), url("fonts/hkgrotesk-extrabold.woff") format("woff");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--cs-ink: #1e1e1d;        /* near-black used across the old theme */
	--cs-cream: #fbfbe9;      /* header lines, menu buttons */
	--cs-gold: #dfab29;       /* hover, buttons */
	--cs-gold-bright: #fcc63c;
	--cs-amber: #f5af02;      /* community box, accents */
	--cs-grey: #89877f;       /* search border, footer text */
	--cs-band: #222221;       /* header band on inner pages */
	--cs-footer: #0e0e0e;
	--cs-label: #ececec;      /* grey label buttons */
	--cs-text: #555;
	--cs-display: "HK Grotesk", "Proxima Nova", "Open Sans", "Gill Sans MT", "Gill Sans", Corbel, Arial, sans-serif;
	--cs-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--cs-wide: 1570px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--cs-text);
	font-family: var(--cs-body);
	font-size: 16px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--cs-display); color: var(--cs-ink); line-height: 1.2; margin: 0 0 .5em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 8px 12px; background: var(--cs-cream); color: var(--cs-ink); }
:focus-visible { outline: 3px solid var(--cs-gold); outline-offset: 2px; }

.cs-icon { display: inline-block; vertical-align: -0.125em; flex: none; }

/* ---------- Header (from newtheme.css) ---------- */

.cs-header {
	background: var(--cs-band);
	color: var(--cs-cream);
	font-family: var(--cs-display);
	font-size: 12px;
	padding: 40px 0 10px;
	position: relative;
	z-index: 50;
}
.cs-header__row { display: flex; justify-content: space-between; align-items: stretch; }
.cs-header__center {
	flex: 10 1 auto;
	width: 100%;
	max-width: var(--cs-wide);
	margin: 0 20px;
}
.cs-bracket { flex: 1 10 auto; width: 100%; border-top: 2px solid var(--cs-cream); border-bottom: 2px solid var(--cs-cream); }
.cs-bracket--left { border-right: 2px solid var(--cs-cream); }
.cs-bracket--right { border-left: 2px solid var(--cs-cream); }

.cs-header__row--brand .cs-header__center {
	border: 2px solid var(--cs-cream);
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
.cs-header__type, .cs-header__skull { display: flex; justify-content: center; align-items: center; padding: 10px 20px; }
.cs-header__type img { width: 397px; max-width: 100%; }
.cs-header__skull img { width: 75px; }
.cs-header__stripes {
	flex-grow: 2;
	border-left: 2px solid var(--cs-cream);
	border-right: 2px solid var(--cs-cream);
	background: url("img/stripes.png") repeat-x left center;
}

.cs-header__row--nav { padding: 10px 0 0; }
.cs-header__row--nav .cs-header__center { display: flex; align-items: center; gap: 12px; }
.cs-bracket--blank { border: 0; }
.cs-menu-toggle { display: none; }

.cs-menu, .cs-menu ul { list-style: none; margin: 0; padding: 0; }
.cs-menu { display: flex; gap: 4px; }
.cs-menu > li { position: relative; }
.cs-menu a {
	height: 40px;
	padding: 5px 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--cs-cream);
	color: var(--cs-ink);
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.cs-menu a:hover, .cs-menu a:focus-visible { background: var(--cs-gold); color: var(--cs-ink); }
.cs-menu .current-menu-item > a, .cs-menu .current-menu-ancestor > a {
	box-shadow: inset 0 0 0 3px var(--cs-gold);
	background: var(--cs-ink);
	color: var(--cs-gold-bright);
}
.cs-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	padding-top: 4px;
	z-index: 60;
}
.cs-menu .sub-menu a { display: flex; width: 100%; height: auto; min-height: 40px; margin-bottom: 4px; text-transform: none; font-size: 15px; }
.cs-menu li:hover > .sub-menu, .cs-menu li:focus-within > .sub-menu, .cs-menu li.is-open > .sub-menu { display: block; }

.cs-header__search { margin-left: auto; }
.cs-search { display: flex; height: 40px; }
.cs-search input[type="search"] {
	height: 40px;
	width: 290px;
	padding: 4px 10px;
	color: var(--cs-gold-bright);
	background: #000;
	border: 2px solid var(--cs-grey);
	border-right: 0;
	border-radius: 0;
	font-family: var(--cs-display);
	font-size: 18px;
	-webkit-appearance: none;
}
.cs-search input[type="search"]::placeholder { color: #8a8a80; text-transform: uppercase; font-size: 16px; }
.cs-search button {
	width: 40px;
	min-width: 40px;
	border: 0;
	background: var(--cs-amber);
	color: var(--cs-ink);
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cs-search button:hover { background: var(--cs-gold-bright); }

/* ---------- Footer ---------- */

.cs-footer { background: var(--cs-footer); padding-top: 40px; }
.cs-footer__brand { display: flex; justify-content: center; padding-bottom: 40px; }
.cs-footer__brand img { width: 397px; }
.cs-footer__copy {
	border-top: 1px solid #222;
	padding: 18px 20px 24px;
	text-align: center;
	color: var(--cs-grey);
	font-size: 12px;
}

/* ---------- Layout ---------- */

.cs-page--white { background: #fff; padding: 60px 0 90px; }
.cs-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cs-container--mid { max-width: 1000px; }
.cs-container--wide { max-width: 1180px; }
.cs-container--narrow { max-width: 820px; }
.cs-container--text { max-width: 860px; }

.cs-page-title { font-size: 30px; margin-bottom: .6em; }
.cs-subhead { font-size: 22px; margin: 0 0 18px; }
.cs-subhead a { color: inherit; }
.cs-rule { border: 0; border-top: 1px solid #e6e6e6; margin: 40px 0 34px; }
.cs-empty { font-size: 17px; text-align: center; padding: 40px 0; }
.cs-key { color: var(--cs-amber); font-family: var(--cs-display); font-weight: 800; }

.cs-prose { color: var(--cs-text); }
.cs-prose--center { text-align: center; }
.cs-prose h2 { font-size: 26px; margin-top: 1.2em; }
.cs-prose h3 { font-size: 15px; margin: 1.6em 0 .4em; }
.cs-prose h4 { font-size: 20px; line-height: 1.35; }
.cs-prose h5 { font-size: 18px; margin: .4em 0; }
.cs-prose h6 { font-size: 16px; }
.cs-unit-refs em { font-style: italic; }
.cs-unit-scheme { font-weight: 700; color: #444; } /* matches the bold scheme text on older units */
.cs-logos { display: flex; flex-wrap: wrap; gap: 20px; margin: 4px 0 1.2em; }
.cs-logo { margin: 0; width: 150px; text-align: center; }
.cs-logo img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 6px; }
.cs-logo figcaption { font-size: 13px; line-height: 1.35; color: #666; }
.cs-unit-related a { font-weight: 700; }
.cs-faction-seealso { text-align: center; margin: -6px 0 18px; font-size: 16px; }
.cs-faction-seealso a, .cs-seealso a { color: #a07400; }
.cs-seealso { font-size: .9em; }
.cs-prose strong, .cs-prose b { color: #444; }
.cs-prose img { margin: 1em auto; }
.cs-prose a { color: #a07400; }
.cs-prose figure { margin: 1em 0; }
.cs-prose .aligncenter { margin-left: auto; margin-right: auto; }
.cs-prose .wp-block-image.aligncenter img { margin: 0 auto; }
/* Old tutorials contain empty one-cell tables used as spacers; don't draw them. */
.cs-prose .wp-block-table td:empty, .cs-prose .wp-block-table th:empty { border: 0; padding: 0; }

/* Buttons and grey labels */
.cs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 12px 36px;
	font-family: var(--cs-display);
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	border: 0;
}
.cs-button--gold { background: var(--cs-gold); }
.cs-button--gold:hover { background: var(--cs-gold-bright); color: var(--cs-ink); }
.cs-button--youtube { background: #de3529; min-width: 186px; }
.cs-button--youtube:hover { background: #f04a3e; }
.cs-button--block { display: flex; width: 100%; }

.cs-label {
	display: inline-block;
	min-width: 195px;
	max-width: 100%;
	padding: 15px 18px;
	background: var(--cs-label);
	color: #4a4a4a;
	font-family: var(--cs-display);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
a:hover .cs-label, .cs-label--link:hover { background: var(--cs-gold); color: var(--cs-ink); }
.cs-label--link { margin: 0 4px 8px 0; }

/* Icon grid: factions, units, tutorials */
.cs-icon-grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 150px 38px;
	max-width: 1165px;
}
.cs-icon-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1160px; gap: 150px 95px; }
.cs-icon-grid a { display: flex; flex-direction: column; align-items: center; gap: 34px; text-decoration: none; }
.cs-icon-grid__img { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; }
.cs-icon-grid__img img { width: 100%; height: 100%; max-width: 130px; max-height: 130px; object-fit: contain; }
.cs-icon-grid--square .cs-icon-grid__img { width: 150px; height: 150px; }
.cs-icon-grid--square .cs-icon-grid__img img { max-width: 150px; max-height: 150px; }
.cs-icon-grid a:hover .cs-icon-grid__img img { transform: scale(1.05); transition: transform .2s; }

/* Mini grid: photo with dark caption */
.cs-mini-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.cs-mini-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-mini-grid a { display: block; text-decoration: none; background: var(--cs-band); }
.cs-mini-grid__img { display: block; aspect-ratio: 4 / 3; background: #efefef; overflow: hidden; }
.cs-mini-grid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cs-mini-grid a:hover .cs-mini-grid__img img { transform: scale(1.04); }
.cs-mini-grid__title {
	display: block;
	padding: 12px 12px 13px;
	color: #fff;
	font-family: var(--cs-display);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.3;
}

.cs-pagination { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-family: var(--cs-display); font-weight: 700; }
.cs-pagination .page-numbers { min-width: 36px; padding: 7px 10px; text-align: center; background: var(--cs-label); color: var(--cs-ink); text-decoration: none; }
.cs-pagination .current { background: var(--cs-amber); }
.cs-pagination a:hover { background: var(--cs-gold); }

/* Dark band (unit header, archive titles) */
.cs-band { background: var(--cs-band); color: #fff; padding: 0 0 14px; }
.cs-band__inner { display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 377px; }
.cs-band--slim { padding: 34px 0 40px; text-align: center; }
.cs-band__title { color: #fff; font-size: 26px; margin: 0; }
.cs-band__title span { color: var(--cs-gold-bright); }
.cs-band__meta { margin: 6px 0 0; color: #c9c7bd; font-family: var(--cs-display); }
.cs-titlebox { background: #000; padding: 40px 54px 36px; flex: 0 1 744px; }
.cs-titlebox h1 { color: #fff; font-size: 34px; text-transform: uppercase; margin-bottom: 8px; }
.cs-titlebox p { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
.cs-titlebox a { color: #fff; }
.cs-titlebox a:hover { color: var(--cs-gold-bright); }
.cs-titlebox__full { color: #aaa; font-size: 13px !important; }
.cs-collage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 119px); gap: 0; flex: none; }
.cs-collage a { display: block; width: 119px; height: 119px; overflow: hidden; background: #111; }
.cs-collage img { width: 119px; height: 119px; object-fit: cover; transition: opacity .6s ease; }
.cs-collage img.is-fading { opacity: 0; }
.cs-band__logo img { width: 120px; }

.cs-tabtitle {
	display: inline-block;
	font-size: 14px;
	color: var(--cs-amber);
	padding: 0 10px 8px;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 26px;
	width: 100%;
}

/* Faction page */
.cs-faction-head { text-align: center; margin-bottom: 110px; }
.cs-faction-head h1 { font-size: 28px; margin-bottom: 18px; }
.cs-faction-head__logo img { margin: 0 auto; max-width: 140px; }
.cs-faction-refs { text-align: center; margin: -40px 0 60px; }
.cs-formation { margin-bottom: 70px; }
.cs-formation h2 {
	text-align: center;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--cs-ink);
	border-bottom: 2px solid var(--cs-amber);
	max-width: 820px;
	margin: 0 auto 34px;
	padding-bottom: 8px;
}
.cs-icon-grid + .cs-formation, .cs-formation + .cs-icon-grid { margin-top: 70px; }

/* Mini page */
.cs-mini-title { font-size: 48px; padding-bottom: 10px; border-bottom: 2px solid var(--cs-amber); margin-bottom: 18px; }
.cs-mini { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: start; margin-bottom: 40px; }
.cs-mini__panel { background: #f3f4f6; padding-bottom: 14px; font-size: 15px; }
.cs-mini__panel h2 {
	font-size: 17px;
	margin: 0;
	padding: 16px 20px;
	border-top: 1px solid #e5e6ea;
	border-bottom: 1px solid #e5e6ea;
	display: flex;
	align-items: center;
	gap: 14px;
}
.cs-mini__panel h2 .cs-icon { color: var(--cs-amber); font-size: 18px; }
.cs-mini__panel ul { list-style: none; margin: 0; padding: 12px 20px 12px 70px; }
.cs-mini__panel li { margin: 2px 0; }
.cs-mini__panel li a { color: var(--cs-ink); font-family: var(--cs-display); font-weight: 700; }
.cs-mini__posted { text-align: center; font-size: 13px; margin: 0; padding: 8px 10px; }
.cs-mini__posted a { color: var(--cs-ink); }
.cs-mini__thumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px !important; }
.cs-mini__thumbs a { display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid transparent; }
.cs-mini__thumbs a[aria-current="true"] { border-color: var(--cs-amber); }
.cs-mini__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cs-mini__photo { display: flex; justify-content: center; }
.cs-mini__photo img { max-height: 620px; width: auto; }
.cs-mini__desc { margin-bottom: 26px; }
.cs-iwm { margin: 0 0 26px; }
.cs-unitbar {
	display: block;
	background: #000;
	color: #fff;
	text-align: center;
	padding: 26px 20px;
	margin: 10px 0 22px;
	font-family: var(--cs-display);
	font-weight: 800;
	font-size: 28px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
}
.cs-unitbar span { color: var(--cs-amber); }
.cs-unitbar:hover { color: var(--cs-gold-bright); }

/* Artists list */
.cs-artists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cs-artists a { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 18px 10px 14px; background: var(--cs-label); color: var(--cs-ink); text-decoration: none; font-family: var(--cs-display); text-align: center; transition: background .2s; }
.cs-artists a:hover { background: var(--cs-gold); }
.cs-artists__pic { margin-bottom: 4px; }
.cs-artists__name { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.cs-artists__count { font-size: 13px; color: #666; }
.cs-artists a:hover .cs-artists__count { color: var(--cs-ink); }
.cs-avatar { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--cs-ink); color: var(--cs-gold); font-family: var(--cs-display); font-size: 36px; font-weight: 800; box-shadow: 0 0 0 3px var(--cs-ink); }
.cs-band__pic { display: flex; justify-content: center; margin-bottom: 12px; }
.cs-band__pic .cs-avatar { width: 96px; height: 96px; box-shadow: 0 0 0 3px var(--cs-gold); }

/* 404 */
.cs-notfound { background: var(--cs-ink); color: #fff; padding: 80px 0 100px; text-align: center; }
.cs-notfound h1 { color: var(--cs-gold-bright); font-size: 34px; }
.cs-notfound .cs-search { justify-content: center; margin: 24px 0; }

/* ---------- Homepage ---------- */

body.home { background: var(--cs-ink); }
body.home .cs-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.cs-home {
	background-color: var(--cs-ink);
	background-size: cover;
	background-position: center;
	padding: 240px 0 100px;
}
.cs-home__inner {
	max-width: var(--cs-wide);
	margin: 0 auto;
	padding: 0 34px;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 34px;
}
.cs-home .cs-search { height: 50px; max-width: 92.5%; margin-bottom: 64px; }
.cs-home .cs-search input[type="search"] { width: 100%; height: 50px; font-size: 20px; border-right: 2px solid var(--cs-grey); }
.cs-home .cs-search button { background: transparent; color: var(--cs-gold); margin-left: -44px; }
.cs-home__video { aspect-ratio: 16 / 9; background: #000; }
.cs-home__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.cs-home__welcome { color: #fff; text-align: center; font-size: 30px; margin: 64px 0 32px; }
.cs-home__recent { text-align: center; color: #fff; padding-top: 4px; }
.cs-home__recent h2 { color: var(--cs-cream); font-size: 30px; text-transform: uppercase; margin: 0 0 14px; }
.cs-home__recent p { margin: 0 0 24px; font-size: 15px; }
.cs-home__gallery { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.cs-home__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .4s; }
.cs-home__gallery a:hover img { opacity: .75; }

.cs-community-wrap { background: var(--cs-footer); padding: 32px 20px 35px; }
.cs-community {
	max-width: var(--cs-wide);
	margin: 0 auto;
	background: var(--cs-amber);
	border: 2px solid #fcfde9;
	border-radius: 10px;
	padding: 20px 30px;
	display: grid;
	grid-template-columns: 1fr 3fr;
	align-items: center;
	gap: 20px;
}
.cs-community__text { text-align: center; }
.cs-community__text h2 { text-transform: uppercase; font-size: 32px; color: #222; margin-bottom: 8px; }
.cs-community__text p { font-style: italic; color: #000; margin: 0; }
.cs-community__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-community__links a { display: flex; justify-content: center; }
.cs-community__links img { max-height: 200px; width: auto; transition: transform .2s; }
.cs-community__links a:hover img { transform: scale(1.05); }

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
	.cs-icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 110px 24px; }
	.cs-icon-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 110px 40px; }
	.cs-label { min-width: 0; width: 100%; }
	.cs-mini { grid-template-columns: 300px 1fr; }
	.cs-collage { grid-template-columns: repeat(3, 90px); }
	.cs-collage a, .cs-collage img { width: 90px; height: 90px; }
	.cs-mini-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cs-header__search .cs-search input[type="search"] { width: 200px; }
}

@media (max-width: 760px) {
	/* Header collapses to one box (logotype + skull), menu behind a button, as on the old site. */
	.cs-header { padding: 20px 0 14px; }
	.cs-bracket, .cs-header__stripes { display: none; }
	.cs-header__row--brand .cs-header__center { margin: 0 16px; }
	.cs-header__type { padding: 10px 14px; flex: 1; justify-content: flex-start; }
	.cs-header__skull { padding: 8px 12px; }
	.cs-header__skull img { width: 58px; }
	.cs-header__row--nav { padding-top: 16px; }
	.cs-header__row--nav .cs-header__center { flex-wrap: wrap; margin: 0 16px; }
	.cs-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 40px;
		padding: 0;
		background: transparent;
		color: var(--cs-cream);
		border: 0;
		font-size: 30px;
		cursor: pointer;
	}
	.cs-nav { display: none; order: 3; width: 100%; }
	.cs-nav.is-open { display: block; }
	.cs-menu { flex-direction: column; gap: 8px; }
	.cs-menu a { width: 100%; font-size: 16px; }
	.cs-menu .sub-menu { position: static; padding: 8px 0 0; min-width: 0; }
	.cs-menu .sub-menu a { background: var(--cs-grey); color: var(--cs-cream); }
	.cs-header__search { flex: 1; margin-left: 0; }
	.cs-header__search .cs-search input[type="search"] { width: 100%; }

	.cs-page--white { padding: 36px 0 60px; }
	.cs-icon-grid, .cs-icon-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 16px; }
	.cs-icon-grid__img { width: 110px; height: 110px; }
	.cs-mini-title { font-size: 32px; }
	.cs-titlebox h1 { font-size: 28px; }
	.cs-mini-grid, .cs-mini-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cs-label { min-width: 0; width: 100%; }

	.cs-band__inner { flex-direction: column; padding-top: 24px; min-height: 0; }
	.cs-titlebox { flex-basis: auto; width: 100%; padding: 20px; }
	.cs-mini { grid-template-columns: 1fr; }
	.cs-mini__photo { order: -1; }
	.cs-unitbar { font-size: 18px; }

	.cs-home { padding: 190px 0 60px; }
	.cs-home__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
	.cs-home .cs-search { max-width: none; margin-bottom: 40px; }
	.cs-home__welcome { font-size: 26px; margin-top: 36px; }
	.cs-home__gallery { grid-template-columns: 1fr; gap: 10px; }
	.cs-community { grid-template-columns: 1fr; padding: 24px; }
	.cs-community__links { grid-template-columns: 1fr; }
	.cs-footer__brand img { width: 300px; }
}

@media (max-width: 420px) {
	.cs-header__type img { width: 100%; }
	.cs-home__welcome { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
