/*
Theme Name: G-Shocked
Theme URI: https://g-shocked.com/
Author: G-Shocked
Author URI: https://g-shocked.com/
Description: A dark, hardware-inspired WordPress theme for G-Shock news, reviews and affiliate content. Built around resin-bezel cards, LCD readout panels and a volt-orange accent. Includes deal boxes, spec tables, review ratings and automatic affiliate link handling.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: g-shocked
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Light "paper + steel" palette. Dark ink on white, with the
	   orange accent and LCD green carried over from the watch hardware. */
	--gs-bg:          #f4f6f8;
	--gs-surface:     #ffffff;
	--gs-surface-2:   #eef1f5;
	--gs-surface-3:   #e2e7ed;
	--gs-line:        #d6dce4;
	--gs-line-soft:   #e7ebf0;

	--gs-text:        #2b3138;
	--gs-heading:     #10141a;
	--gs-muted:       #616b78;
	--gs-faint:       #8a94a1;

	--gs-accent:      #e8410a;
	--gs-accent-dark: #b93107;
	--gs-volt:        #7bc404;

	--gs-lcd:         #c7d6b0;
	--gs-lcd-ink:     #1b2415;

	/* Header stays black — it is the strongest brand cue in the design. */
	--gs-header-bg:   #10141a;
	--gs-header-text: #f2f5f8;

	--gs-footer-bg:   #10141a;
	--gs-footer-text: #aab3bf;

	--gs-radius:      3px;
	--gs-notch:       14px;
	--gs-wrap:        1240px;
	--gs-gap:         26px;

	--gs-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gs-font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
	--gs-font-mono:    ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

	--gs-shadow:      0 10px 28px rgba(16,20,26,.10);
	--gs-shadow-soft: 0 2px 8px rgba(16,20,26,.06);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--gs-bg);
	color: var(--gs-text);
	font-family: var(--gs-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Subtle paper texture so flat white doesn't feel sterile */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: .6;
	background-image:
		linear-gradient(135deg, rgba(16,20,26,.012) 25%, transparent 25%, transparent 50%, rgba(16,20,26,.012) 50%, rgba(16,20,26,.012) 75%, transparent 75%);
	background-size: 6px 6px;
}

.gs-site {
	position: relative;
	z-index: 1;
	/* Sticky footer: short pages still push the footer to the viewport bottom. */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.gs-site > .gs-main { flex: 1 0 auto; }
.gs-site > .gs-footer { flex-shrink: 0; }

a { color: var(--gs-accent); text-decoration: none; }
a:hover, a:focus { color: var(--gs-accent-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--gs-font-display);
	color: var(--gs-heading);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: .2px;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.25em; }

hr { border: 0; border-top: 1px solid var(--gs-line); margin: 2.5rem 0; }

code, kbd, pre { font-family: var(--gs-font-mono); font-size: .9em; }

pre {
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	border-left: 3px solid var(--gs-accent);
	padding: 18px;
	overflow-x: auto;
}

blockquote {
	margin: 2rem 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--gs-accent);
	color: var(--gs-heading);
	font-size: 1.12rem;
	font-style: italic;
}

::selection { background: var(--gs-accent); color: #fff; }

/* Accessibility */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--gs-accent); color: #fff; padding: 12px 20px;
	font-family: var(--gs-font-display); font-weight: 700; text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: 2px; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.gs-wrap { width: 100%; max-width: var(--gs-wrap); margin: 0 auto; padding: 0 22px; }

.gs-main { padding: 40px 0 70px; }

.gs-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 46px;
	align-items: start;
}
.gs-layout--full { grid-template-columns: minmax(0, 1fr); }

/* Notched "bezel" corner — the signature shape of this theme */
.gs-bezel {
	position: relative;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	clip-path: polygon(0 0, calc(100% - var(--gs-notch)) 0, 100% var(--gs-notch), 100% 100%, var(--gs-notch) 100%, 0 calc(100% - var(--gs-notch)));
}

/* Section headers with an orange rake */
.gs-section-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
}
.gs-section-head h2 {
	margin: 0;
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	white-space: nowrap;
}
.gs-section-head::before {
	content: "";
	width: 6px; height: 26px;
	background: var(--gs-accent);
	transform: skewX(-14deg);
	flex: none;
}
.gs-section-head::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--gs-line), transparent);
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.gs-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gs-header-bg);
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.gs-header::after {
	content: "";
	display: block;
	height: 2px;
	background: linear-gradient(90deg, var(--gs-accent) 0%, var(--gs-accent-dark) 22%, transparent 22%, transparent 100%);
}

.gs-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}

/* Logo lockup: G badge + SH + watch-O + CKED */
.gs-logo {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	font-family: var(--gs-font-display);
	font-weight: 900;
	font-size: 30px;
	line-height: 1;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--gs-header-text);
	text-decoration: none;
	flex: none;
}
.gs-logo:hover, .gs-logo:focus { color: var(--gs-header-text); text-decoration: none; }
.gs-logo__g {
	height: 1.02em;
	width: auto;
	margin-right: .1em;
	color: var(--gs-accent);
	display: block;
	overflow: visible;
}
.gs-logo__watch { height: .82em;  width: auto; margin: 0 .02em; position: relative; top: .01em; }
.gs-logo__img   { max-height: 46px; width: auto; }

.gs-logo__tag {
	display: block;
	font-family: var(--gs-font-mono);
	font-size: 9px;
	letter-spacing: 2.4px;
	color: rgba(242,245,248,.5);
	text-transform: uppercase;
	margin-top: 3px;
}

/* Primary nav */
.gs-nav { margin-left: auto; }
.gs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gs-nav li { position: relative; }
.gs-nav a {
	display: block;
	padding: 10px 13px;
	font-family: var(--gs-font-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: var(--gs-header-text);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.gs-nav a:hover,
.gs-nav .current-menu-item > a,
.gs-nav .current_page_item > a {
	color: #ffffff;
	border-bottom-color: var(--gs-accent);
	text-decoration: none;
}

/* Dropdowns */
.gs-nav ul ul {
	position: absolute;
	top: 100%; left: 0;
	min-width: 232px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	box-shadow: var(--gs-shadow);
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: .16s ease;
}
.gs-nav li:hover > ul,
.gs-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.gs-nav ul ul a { border-bottom: 0; padding: 9px 12px; font-size: 15px; color: var(--gs-text); }
.gs-nav ul ul a:hover { background: var(--gs-surface-2); color: var(--gs-accent); border-bottom-color: transparent; }

/*
 * Current-item styling has to be re-stated for sub-menus. The top-level rule
 * sets white text, which is correct against the dark header bar but invisible
 * inside the light dropdown panel.
 */
.gs-nav ul ul .current-menu-item > a,
.gs-nav ul ul .current_page_item > a,
.gs-nav ul ul .current-menu-parent > a {
	color: var(--gs-accent);
	background: var(--gs-surface-2);
	border-bottom-color: transparent;
	font-weight: 800;
}

.gs-nav ul ul ul { top: 0; left: 100%; }

/* Header search */
.gs-header__search { flex: none; }
.gs-search-form { display: flex; }
.gs-search-form input[type="search"] {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	border-right: 0;
	color: var(--gs-header-text);
	padding: 9px 12px;
	font-family: var(--gs-font-body);
	font-size: 14px;
	width: 168px;
	transition: width .2s ease;
}
.gs-search-form input[type="search"]::placeholder { color: rgba(242,245,248,.45); }
.gs-search-form input[type="search"]:focus { width: 220px; outline: none; border-color: var(--gs-accent); }
.gs-search-form button {
	background: var(--gs-accent);
	border: 0;
	color: #fff;
	padding: 0 14px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
}
.gs-search-form button:hover { background: var(--gs-accent-dark); }

/* Mobile toggle */
.gs-nav-toggle {
	display: none;
	margin-left: auto;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	color: var(--gs-header-text);
	padding: 9px 13px;
	cursor: pointer;
	font-family: var(--gs-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.gs-nav-toggle:hover { border-color: var(--gs-accent); color: #fff; }

/* ==========================================================================
   5. Hero (asymmetric featured block)
   ========================================================================== */

.gs-hero {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: var(--gs-gap);
	margin-bottom: 46px;
}
.gs-hero__side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }

.gs-hero__lead { position: relative; overflow: hidden; }
.gs-hero__lead .gs-card__thumb { aspect-ratio: 16 / 10; }
.gs-hero__lead .gs-card__title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }

/* Compact side item */
.gs-mini {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line-soft);
	padding: 10px;
	transition: border-color .18s ease, transform .18s ease;
}
.gs-mini:hover { border-color: var(--gs-accent); transform: translateX(3px); }
.gs-mini__thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gs-surface-3); }
.gs-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gs-mini__title {
	font-family: var(--gs-font-display);
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 5px;
}
.gs-mini__title a { color: var(--gs-heading); }
.gs-mini__title a:hover { color: var(--gs-accent); text-decoration: none; }

/* ==========================================================================
   6. Post cards
   ========================================================================== */

.gs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	gap: var(--gs-gap);
}

.gs-card {
	display: flex;
	flex-direction: column;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	box-shadow: var(--gs-shadow-soft);
	position: relative;
	clip-path: polygon(0 0, calc(100% - var(--gs-notch)) 0, 100% var(--gs-notch), 100% 100%, var(--gs-notch) 100%, 0 calc(100% - var(--gs-notch)));
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gs-card:hover {
	border-color: var(--gs-accent);
	transform: translateY(-4px);
	box-shadow: var(--gs-shadow);
}

/* corner screws */
.gs-card::before,
.gs-card::after {
	content: "";
	position: absolute;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--gs-line);
	z-index: 2;
	transition: background .2s ease;
}
.gs-card::before { top: 9px;    left: 9px; }
.gs-card::after  { bottom: 9px; right: 9px; }
.gs-card:hover::before,
.gs-card:hover::after { background: var(--gs-accent); }

.gs-card__thumb-wrap { position: relative; }

.gs-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--gs-surface-3);
}
.gs-card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.gs-card:hover .gs-card__thumb img { transform: scale(1.06); }

.gs-card__thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		repeating-linear-gradient(45deg, #eaeef3 0 12px, #e2e7ed 12px 24px);
}
.gs-card__thumb--empty span {
	font-family: var(--gs-font-display);
	font-size: 2.4rem;
	color: #b9c2cc;
	letter-spacing: 3px;
}

/* Category flag */
.gs-flag {
	position: absolute;
	top: 0; left: 0;
	z-index: 3;
	background: var(--gs-accent);
	color: #fff;
	font-family: var(--gs-font-display);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	padding: 5px 12px 5px 10px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.gs-flag:hover { color: #fff; text-decoration: none; background: var(--gs-accent-dark); }

.gs-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.gs-card__title {
	font-family: var(--gs-font-display);
	font-size: 1.24rem;
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 10px;
}
.gs-card__title a { color: var(--gs-heading); }
.gs-card__title a:hover { color: var(--gs-accent); text-decoration: none; }

.gs-card__excerpt { color: var(--gs-muted); font-size: .93rem; margin: 0 0 14px; flex: 1; }

/* LCD readout strip — the theme's signature meta treatment */
.gs-lcd {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(180deg, var(--gs-lcd), #9aab86);
	color: var(--gs-lcd-ink);
	font-family: var(--gs-font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 2px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), inset 0 2px 5px rgba(0,0,0,.16);
}
.gs-lcd--block { display: flex; justify-content: space-between; width: 100%; }
.gs-lcd span + span { border-left: 1px solid rgba(27,36,21,.3); padding-left: 8px; }

.gs-card__meta { margin-top: auto; }

/* ==========================================================================
   7. Single post
   ========================================================================== */

.gs-entry { background: transparent; }

.gs-entry__header { margin-bottom: 26px; }
.gs-entry__title { margin: 12px 0 14px; }

.gs-entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	color: var(--gs-muted);
	font-size: .87rem;
}
.gs-entry__meta a { color: var(--gs-text); }

.gs-entry__thumb { margin: 0 0 30px; border: 1px solid var(--gs-line); }

.gs-entry__content { font-size: 1.05rem; }
.gs-entry__content h2 { margin-top: 2em; text-transform: uppercase; letter-spacing: .6px; }
.gs-entry__content h3 { margin-top: 1.7em; }
.gs-entry__content ul,
.gs-entry__content ol { padding-left: 22px; margin: 0 0 1.4em; }
.gs-entry__content li { margin-bottom: .5em; }
.gs-entry__content img { border: 1px solid var(--gs-line); }
.gs-entry__content a { text-decoration: underline; text-underline-offset: 2px; }

.gs-entry__footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--gs-line);
}

.gs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-tag {
	display: inline-block;
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	color: var(--gs-muted);
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 4px 10px;
}
.gs-tag:hover { border-color: var(--gs-accent); color: var(--gs-heading); text-decoration: none; }

/* Prev / next */
.gs-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 34px;
}
.gs-postnav a {
	display: block;
	padding: 16px 18px;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	color: var(--gs-heading);
	font-family: var(--gs-font-display);
	font-weight: 700;
	line-height: 1.25;
}
.gs-postnav a:hover { border-color: var(--gs-accent); text-decoration: none; }
.gs-postnav small {
	display: block;
	font-family: var(--gs-font-mono);
	font-size: 10px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--gs-accent);
	margin-bottom: 6px;
}
.gs-postnav__next { text-align: right; }

/* ==========================================================================
   8. Affiliate components
   ========================================================================== */

/* Disclosure banner */
.gs-disclosure {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--gs-surface-2);
	border-left: 3px solid var(--gs-volt);
	color: var(--gs-muted);
	font-size: .84rem;
	line-height: 1.55;
	padding: 12px 16px;
	margin: 0 0 28px;
}
.gs-disclosure strong { color: var(--gs-text); }

/* Deal box */
.gs-deal {
	--gs-notch: 18px;
	display: grid;
	grid-template-columns: 150px minmax(0,1fr) auto;
	gap: 22px;
	align-items: center;
	background: linear-gradient(135deg, #fff8f4, var(--gs-surface));
	border: 1px solid var(--gs-line);
	box-shadow: var(--gs-shadow-soft);
	padding: 22px;
	margin: 32px 0;
	clip-path: polygon(0 0, calc(100% - var(--gs-notch)) 0, 100% var(--gs-notch), 100% 100%, var(--gs-notch) 100%, 0 calc(100% - var(--gs-notch)));
}
.gs-deal__media { border: 1px solid var(--gs-line); background: var(--gs-surface); }
.gs-deal__label {
	display: inline-block;
	background: var(--gs-volt);
	color: #ffffff;
	font-family: var(--gs-font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	padding: 3px 9px;
	margin-bottom: 8px;
}
.gs-deal__title {
	font-family: var(--gs-font-display);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--gs-heading);
	margin: 0 0 6px;
	line-height: 1.15;
}
.gs-deal__desc { color: var(--gs-muted); font-size: .92rem; margin: 0; }
.gs-deal__price {
	font-family: var(--gs-font-display);
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--gs-heading);
	line-height: 1;
	margin-bottom: 4px;
	white-space: nowrap;
}
.gs-deal__was {
	font-size: .9rem;
	color: var(--gs-faint);
	text-decoration: line-through;
	margin-left: 7px;
	font-family: var(--gs-font-body);
	font-weight: 400;
}
.gs-deal__col { text-align: right; }

/* Buy button */
.gs-buy {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--gs-accent);
	color: #fff;
	font-family: var(--gs-font-display);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	padding: 12px 22px;
	border: 0;
	cursor: pointer;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
	transition: background .18s ease, transform .18s ease;
}
.gs-buy:hover {
	background: var(--gs-accent-dark);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}
.gs-buy--volt { background: var(--gs-volt); color: #ffffff; }
.gs-buy--volt:hover { background: #6aa903; color: #ffffff; }
.gs-buy--block { display: flex; justify-content: center; width: 100%; }

/* Spec table */
.gs-specs {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-size: .93rem;
	border: 1px solid var(--gs-line);
}
.gs-specs caption {
	caption-side: top;
	text-align: left;
	font-family: var(--gs-font-display);
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--gs-heading);
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	border-bottom: 0;
	padding: 11px 16px;
}
.gs-specs th, .gs-specs td { padding: 11px 16px; text-align: left; vertical-align: top; }
.gs-specs th {
	width: 38%;
	background: var(--gs-surface-2);
	color: var(--gs-muted);
	font-family: var(--gs-font-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .9px;
	text-transform: uppercase;
	border-right: 1px solid var(--gs-line);
}
.gs-specs td { background: var(--gs-surface); color: var(--gs-text); }
.gs-specs tr + tr th, .gs-specs tr + tr td { border-top: 1px solid var(--gs-line); }

/* Rating */
.gs-rating {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	border-left: 3px solid var(--gs-accent);
	padding: 16px 20px;
	margin: 28px 0;
}
.gs-rating__score {
	font-family: var(--gs-font-display);
	font-size: 2.6rem;
	font-weight: 800;
	color: var(--gs-heading);
	line-height: 1;
}
.gs-rating__score small { font-size: 1rem; color: var(--gs-faint); font-weight: 400; }
.gs-rating__bars { display: flex; gap: 4px; margin-bottom: 5px; }
.gs-rating__bar { width: 26px; height: 8px; background: var(--gs-surface-3); }
.gs-rating__bar.is-on { background: var(--gs-accent); }
.gs-rating__label {
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--gs-muted);
}

/* ==========================================================================
   9. Sidebar & widgets
   ========================================================================== */

.gs-sidebar { position: sticky; top: 88px; }

.gs-widget {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 20px;
	margin-bottom: 24px;
}
.gs-widget__title {
	font-family: var(--gs-font-display);
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--gs-heading);
	margin: 0 0 16px;
	padding-bottom: 11px;
	border-bottom: 1px solid var(--gs-line);
	position: relative;
}
.gs-widget__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 46px; height: 2px;
	background: var(--gs-accent);
}
.gs-widget ul { list-style: none; margin: 0; padding: 0; }
.gs-widget li { padding: 8px 0; border-bottom: 1px solid var(--gs-line-soft); }
.gs-widget li:last-child { border-bottom: 0; }
.gs-widget a { color: var(--gs-text); }
.gs-widget a:hover { color: var(--gs-accent); text-decoration: none; }
.gs-widget select,
.gs-widget input[type="text"],
.gs-widget input[type="search"] {
	width: 100%;
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	color: var(--gs-text);
	padding: 9px 11px;
}

/* ==========================================================================
   10. Pagination
   ========================================================================== */

.gs-pagination { margin-top: 44px; }
.gs-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.gs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 13px;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	color: var(--gs-text);
	font-family: var(--gs-font-display);
	font-weight: 700;
	letter-spacing: .5px;
}
.gs-pagination .page-numbers:hover { border-color: var(--gs-accent); color: var(--gs-heading); text-decoration: none; }
.gs-pagination .page-numbers.current { background: var(--gs-accent); border-color: var(--gs-accent); color: #fff; }
.gs-pagination .dots { border-color: transparent; background: transparent; }

/* ==========================================================================
   11. Comments & forms
   ========================================================================== */

.gs-comments { margin-top: 50px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { margin-bottom: 20px; }
.comment-list .children { list-style: none; margin: 20px 0 0 26px; padding: 0; border-left: 1px solid var(--gs-line); padding-left: 20px; }
.comment-body {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 18px 20px;
}
.comment-author { font-family: var(--gs-font-display); font-weight: 700; color: var(--gs-heading); }
.comment-author img { border-radius: 50%; margin-right: 9px; float: left; }
.comment-metadata { font-family: var(--gs-font-mono); font-size: 11px; color: var(--gs-faint); text-transform: uppercase; letter-spacing: .8px; }
.comment-metadata a { color: var(--gs-faint); }
.reply a {
	font-family: var(--gs-font-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .9px;
}

input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
textarea, select {
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	color: var(--gs-text);
	font-family: var(--gs-font-body);
	font-size: 15px;
	padding: 11px 13px;
	width: 100%;
	max-width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gs-accent); }

input[type="submit"], .gs-btn {
	width: auto;
	background: var(--gs-accent);
	border: 0;
	color: #fff;
	font-family: var(--gs-font-display);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	padding: 12px 26px;
	cursor: pointer;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
input[type="submit"]:hover, .gs-btn:hover { background: var(--gs-accent-dark); color: #fff; text-decoration: none; }

.comment-form label {
	display: block;
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gs-muted);
	margin-bottom: 6px;
}
.comment-form p { margin-bottom: 16px; }

/* ==========================================================================
   12. Footer
   ========================================================================== */

.gs-footer {
	background: var(--gs-footer-bg);
	color: var(--gs-footer-text);
	margin-top: 60px;
	padding: 46px 0 0;
}
.gs-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 36px;
	padding-bottom: 36px;
}
.gs-footer .gs-widget { background: transparent; border: 0; padding: 0; margin: 0; }
.gs-footer .gs-widget__title { color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.gs-footer .gs-widget a { color: var(--gs-footer-text); }
.gs-footer .gs-widget a:hover { color: var(--gs-accent); }
.gs-footer .gs-widget li { border-bottom-color: rgba(255,255,255,.08); }
.gs-footer__bar {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	align-items: center;
	justify-content: space-between;
	font-size: .84rem;
	color: rgba(170,179,191,.8);
}
.gs-footer__bar a { color: var(--gs-footer-text); }

/*
 * The legal menu is a flat row, not a bulleted column. WordPress emits it as a
 * <ul>, which stacks nine items vertically and leaves a tall empty column
 * beside the copyright line.
 */
.gs-footer__menu ul,
ul.gs-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: flex-end;
}
.gs-footer__menu li { margin: 0; padding: 0; border: 0; }
.gs-footer__menu a { white-space: nowrap; }
.gs-footer__menu a:hover { color: var(--gs-accent); text-decoration: none; }

.gs-footer__legal { max-width: 780px; font-size: .8rem; line-height: 1.6; color: rgba(170,179,191,.7); padding-bottom: 18px; }

/* ==========================================================================
   13. Misc / block editor alignment
   ========================================================================== */

.alignwide   { max-width: min(1100px, 92vw); margin-left: auto; margin-right: auto; }
.alignfull   { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.alignleft   { float: left; margin: .3em 1.6em 1.2em 0; }
.alignright  { float: right; margin: .3em 0 1.2em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.wp-caption-text, figcaption {
	font-family: var(--gs-font-mono);
	font-size: 11.5px;
	color: var(--gs-faint);
	text-transform: uppercase;
	letter-spacing: .7px;
	padding-top: 8px;
}

.gs-none { background: var(--gs-surface); border: 1px solid var(--gs-line); padding: 40px; text-align: center; }

.gs-404 { text-align: center; padding: 60px 0; }
.gs-404__code {
	font-family: var(--gs-font-display);
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 900;
	line-height: .85;
	color: var(--gs-surface-3);
	letter-spacing: -2px;
}

.gs-archive-head { margin-bottom: 34px; }
.gs-archive-head .gs-lcd { margin-bottom: 12px; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.gs-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
	.gs-sidebar { position: static; }
	.gs-hero { grid-template-columns: minmax(0,1fr); }
	.gs-hero__side { grid-template-rows: none; }
}

@media (max-width: 860px) {
	.gs-header__search { display: none; }
	.gs-nav-toggle { display: block; }
	.gs-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--gs-surface);
		border-bottom: 1px solid var(--gs-line);
		box-shadow: var(--gs-shadow);
		display: none;
		margin-left: 0;
		max-height: 76vh;
		overflow-y: auto;
	}
	.gs-nav.is-open { display: block; }
	.gs-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.gs-nav li { border-bottom: 1px solid var(--gs-line-soft); }
	.gs-nav a { padding: 14px 22px; border-bottom: 0; }
	.gs-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		background: var(--gs-surface-2);
		padding: 0;
	}
	.gs-nav ul ul a { padding-left: 40px; }

	.gs-deal { grid-template-columns: minmax(0,1fr); text-align: left; }
	.gs-deal__col { text-align: left; }
	.gs-deal__media { max-width: 190px; }

	.gs-postnav { grid-template-columns: 1fr; }
	.gs-postnav__next { text-align: left; }
}

@media (max-width: 520px) {
	.gs-logo { font-size: 24px; }
	.gs-grid { grid-template-columns: minmax(0,1fr); }
	.gs-mini { grid-template-columns: 88px minmax(0,1fr); }
	.gs-specs th { width: 44%; }
	.gs-rating { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   15. Content-type components (reviews, database, hubs)
   ========================================================================== */

.gs-crumbs { margin: 0 0 16px; font-size: .82rem; color: var(--gs-muted); }
.gs-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.gs-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gs-faint); }
.gs-crumbs a { color: var(--gs-muted); }
.gs-crumbs a:hover { color: var(--gs-accent); }

.gs-flag--static { position: static; display: inline-block; margin-bottom: 10px; }

.gs-entry__thumb figcaption {
	font-family: var(--gs-font-mono);
	font-size: 11px;
	color: var(--gs-faint);
	text-transform: uppercase;
	letter-spacing: .7px;
	padding: 8px 2px 0;
}

.gs-updated {
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--gs-volt);
}

.gs-archive-head__intro { color: var(--gs-muted); max-width: 70ch; }

/* Table of contents */
.gs-toc {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	border-left: 3px solid var(--gs-accent);
	padding: 18px 22px;
	margin: 0 0 30px;
}
.gs-toc__title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 1.1px;
	margin: 0 0 10px;
}
.gs-toc ol { margin: 0; padding-left: 20px; }
.gs-toc li { margin-bottom: 5px; }
.gs-toc a { color: var(--gs-text); }
.gs-toc a:hover { color: var(--gs-accent); }

/* Author card */
.gs-author {
	display: flex;
	gap: 18px;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 20px;
	margin: 0 0 24px;
}
.gs-author__avatar img { border-radius: 50%; }
.gs-author__label {
	font-family: var(--gs-font-mono);
	font-size: 10px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--gs-faint);
}
.gs-author__name { font-size: 1.2rem; margin: 4px 0 8px; }
.gs-author__bio { margin: 0; color: var(--gs-muted); font-size: .92rem; }
.gs-author__bio--empty { font-style: italic; opacity: .8; }

/* Lineage + related + method link */
.gs-lineage, .gs-related {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 18px 22px;
	margin: 26px 0;
}
.gs-lineage h3, .gs-related h3 {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 10px;
}
.gs-lineage p { margin: 0; color: var(--gs-text); }
.gs-related ul { list-style: none; margin: 0; padding: 0; }
.gs-related li { padding: 7px 0; border-bottom: 1px solid var(--gs-line-soft); }
.gs-related li:last-child { border-bottom: 0; }
.gs-related__type {
	font-family: var(--gs-font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--gs-faint);
	margin-left: 6px;
}
.gs-method { margin: 22px 0; }
.gs-method a {
	font-family: var(--gs-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .9px;
	font-size: .95rem;
}
.gs-rrp { color: var(--gs-muted); font-size: .9rem; }

/* Versus heads */
.gs-vs-heads {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 18px;
	margin: 0 0 30px;
}
.gs-vs-heads__sep {
	align-self: center;
	font-family: var(--gs-font-display);
	font-size: 2rem;
	font-weight: 900;
	color: var(--gs-accent);
	text-transform: uppercase;
}
.gs-vs-head {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 14px;
	text-align: center;
}
.gs-vs-head h2 { font-size: 1.15rem; margin: 12px 0 0; }
.gs-vs-head a { color: var(--gs-heading); }
.gs-vs-head a:hover { color: var(--gs-accent); text-decoration: none; }
.gs-vs-head .gsc-buybox { margin: 14px 0 0; text-align: left; }

/* Watch database table */
.gs-table-wrap { overflow-x: auto; }
.gs-db {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--gs-line);
	font-size: .92rem;
	background: var(--gs-surface);
}
.gs-db th, .gs-db td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--gs-line); }
.gs-db thead th {
	background: var(--gs-surface-2);
	font-family: var(--gs-font-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .9px;
	color: var(--gs-muted);
	white-space: nowrap;
}
.gs-db tbody tr:hover { background: var(--gs-surface-2); }
.gs-db__ref { font-family: var(--gs-font-mono); font-size: 11px; color: var(--gs-faint); }

/* Front page sections */
.gs-home-section { margin-bottom: 50px; }
.gs-home-section:last-child { margin-bottom: 0; }

/*
 * The front page owns its own vertical rhythm: each block supplies its padding,
 * so a block that renders nothing takes up no space at all. .gs-main's default
 * padding would otherwise persist and read as unexplained white bands on a site
 * with little content.
 */
body.home .gs-main { padding-top: 0; padding-bottom: 0; }

.gs-home-block { padding: 48px 0; }
.gs-home-block + .gs-home-block { padding-top: 0; }

/*
 * The footer's top margin is right on article pages, but on the front page the
 * preceding block already supplies its own bottom padding — and when that block
 * is a dark strip, the margin shows as a stray pale band.
 */
body.home .gs-footer { margin-top: 0; }

/*
 * Same failure, different cause. .gs-site is a flex column and .gs-main is the
 * child that grows, so on a page shorter than the viewport .gs-main keeps
 * stretching until the footer reaches the bottom. That stretched area belongs
 * to no section, so it paints the body background.
 *
 * On content pages the body background is the page background anyway and the
 * gap is invisible. The front page is dark from banner to footer, so the same
 * gap read as an unexplained white band — 302px of it at 1900x1300, sitting
 * between the newsletter strip and the footer.
 *
 * Paint the front page's stretch to match the strips that bracket it. The home
 * blocks then need their own background stated rather than inherited, or once
 * reviews are published their dark section headings would sit on dark.
 */
body.home .gs-main { background: var(--gs-header-bg); }
body.home .gs-home-block { background: var(--gs-bg); }

.gs-cta-strip {
	background: var(--gs-header-bg);
	color: #fff;
	padding: 48px 0;
	margin: 0;
}
.gs-cta-strip .gsc-nl {
	background: transparent;
	border: 0;
	border-top: 0;
	padding: 0;
	margin: 0;
}
.gs-cta-strip .gsc-nl__title { color: #fff; }
.gs-cta-strip .gsc-nl__intro,
.gs-cta-strip .gsc-nl__consent,
.gs-cta-strip .gsc-nl__legal { color: rgba(255,255,255,.72); }
.gs-cta-strip .gsc-nl__legal a { color: #fff; }

@media (max-width: 780px) {
	.gs-vs-heads { grid-template-columns: 1fr; }
	.gs-vs-heads__sep { justify-self: center; }
	.gs-author { flex-direction: column; }
}

/* ==========================================================================
   16. Front-page hero banner
   ========================================================================== */

.gs-banner {
	position: relative;
	overflow: hidden;
	background: var(--gs-header-bg);
	color: #fff;
	padding: 62px 0 66px;
	margin-bottom: 0;
}

/* Watch collage backdrop — inherits the accent through currentColor. */
.gs-banner__art {
	position: absolute;
	inset: 0;
	color: var(--gs-accent);
	opacity: .30;
	pointer-events: none;
}
.gs-banner__art svg { width: 100%; height: 100%; display: block; }

/* Fade the collage out behind the text so the copy stays legible. */
.gs-banner__art::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg,
		rgba(16,20,26,.97) 0%,
		rgba(16,20,26,.90) 34%,
		rgba(16,20,26,.55) 58%,
		rgba(16,20,26,.30) 100%);
}

.gs-banner__inner { position: relative; z-index: 1; max-width: 780px; }

.gs-banner__eyebrow {
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	color: var(--gs-accent);
	margin: 0 0 14px;
}
.gs-banner__title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.03;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #fff;
	margin: 0 0 16px;
}
.gs-banner__sub {
	font-size: 1.08rem;
	line-height: 1.6;
	color: rgba(255,255,255,.78);
	margin: 0 0 26px;
	max-width: 56ch;
}
.gs-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.gs-btn--ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.34);
}
.gs-btn--ghost:hover {
	background: rgba(255,255,255,.10);
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}

/* Empty-state prompt shown when the site has no content yet. */
.gs-empty-hint {
	background: var(--gs-surface);
	border: 1px dashed var(--gs-line);
	padding: 34px;
	text-align: center;
	color: var(--gs-muted);
	margin-bottom: 44px;
}
.gs-empty-hint h2 { margin-top: 0; }
.gs-empty-hint code {
	background: var(--gs-surface-2);
	padding: 2px 6px;
	border-radius: 2px;
	color: var(--gs-heading);
}

@media (max-width: 780px) {
	.gs-banner { padding: 44px 0 46px; }
	.gs-banner__art { opacity: .2; }
	.gs-banner__art::after {
		background: linear-gradient(180deg,
			rgba(16,20,26,.92) 0%,
			rgba(16,20,26,.86) 60%,
			rgba(16,20,26,.72) 100%);
	}
}

/* ==========================================================================
   17. Model database — releases archive + model page
   ========================================================================== */

.gs-archive-head--center { text-align: center; }
.gs-archive-head--center .gs-archive-head__intro { margin-left: auto; margin-right: auto; }

/* Year picker + month jump bar */
.gs-releases__controls {
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	padding: 18px;
	margin-bottom: 26px;
	text-align: center;
}
.gs-year-picker { margin-bottom: 14px; }
.gs-year-picker select {
	width: auto;
	min-width: 130px;
	font-family: var(--gs-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	padding: 8px 14px;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	color: var(--gs-heading);
	cursor: pointer;
}

.gs-month-nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gs-month-btn {
	display: inline-block;
	min-width: 52px;
	padding: 6px 12px;
	background: var(--gs-header-bg);
	color: #fff;
	font-family: var(--gs-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
}
.gs-month-btn:hover { background: var(--gs-accent); color: #fff; text-decoration: none; }
.gs-month-btn.is-all { background: var(--gs-accent); }
.gs-month-btn.is-empty {
	background: transparent;
	color: var(--gs-faint);
	border-color: var(--gs-line);
	cursor: default;
	pointer-events: none;
}

/* Month sections */
.gs-release-month {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 22px;
	margin-bottom: 22px;
	scroll-margin-top: 90px;
}
.gs-release-month__title {
	text-align: center;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gs-line);
}

/* Thumbnail grid */
.gs-model-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 20px 14px;
}
.gs-model-grid--small { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }

.gs-model-tile { display: block; text-align: center; text-decoration: none; }
.gs-model-tile__img {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	background: var(--gs-surface-2);
	border: 1px solid transparent;
	overflow: hidden;
	transition: border-color .18s ease, transform .18s ease;
}
.gs-model-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.gs-model-tile:hover .gs-model-tile__img {
	border-color: var(--gs-accent);
	transform: translateY(-3px);
}
.gs-model-tile__ph {
	font-family: var(--gs-font-display);
	font-size: 2rem;
	color: #c3ccd6;
	letter-spacing: 2px;
}
.gs-model-tile__flag {
	position: absolute;
	top: 4px;
	right: 4px;
	background: var(--gs-accent);
	color: #fff;
	font-family: var(--gs-font-mono);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 2px 5px;
}
.gs-model-tile__ref {
	display: block;
	margin-top: 8px;
	font-size: .82rem;
	line-height: 1.25;
	color: var(--gs-text);
	word-break: break-word;
}
.gs-model-tile:hover .gs-model-tile__ref { color: var(--gs-accent); }

/* ------------------------------------------------- single model page */

.gs-model__header { text-align: center; margin-bottom: 26px; }
.gs-model__title { margin: 0 0 6px; }
.gs-model__subtitle { color: var(--gs-muted); margin: 0; }

.gs-model__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) 280px;
	gap: 30px;
	align-items: start;
}

.gs-model__photo {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 14px;
}
.gs-model__photo img { width: 100%; height: auto; }
.gs-model__photo-ph {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: repeating-linear-gradient(45deg, #eaeef3 0 12px, #e2e7ed 12px 24px);
	color: var(--gs-faint);
}
.gs-model__photo-ph span { font-family: var(--gs-font-display); font-size: 3rem; color: #b9c2cc; }
.gs-model__photo-ph p { margin: 0; font-size: .82rem; }

.gs-model__release {
	text-align: center;
	margin: 12px 0;
	font-size: .9rem;
	color: var(--gs-muted);
}
.gs-model__release strong { color: var(--gs-accent); }

.gs-attrs {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 12px;
	font-size: .88rem;
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 16px;
}
.gs-attrs dt {
	font-family: var(--gs-font-mono);
	font-size: 11px;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: var(--gs-muted);
	text-align: right;
}
.gs-attrs dd { margin: 0; color: var(--gs-heading); font-weight: 600; }

.gs-model__content { margin: 24px 0; }

/* Feature matrix */
.gs-matrix {
	background: var(--gs-surface);
	border: 1px solid var(--gs-line);
	padding: 16px;
}
.gs-matrix__group + .gs-matrix__group { margin-top: 16px; }
.gs-matrix__title {
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: 1.1px;
	margin: 0 0 8px;
	color: var(--gs-heading);
}
.gs-matrix__items { display: flex; flex-wrap: wrap; gap: 5px; }
.gs-matrix__item {
	display: inline-block;
	padding: 4px 9px;
	font-size: 11.5px;
	line-height: 1.3;
	background: var(--gs-surface-2);
	color: var(--gs-faint);
	border: 1px solid var(--gs-line);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}
.gs-matrix__item.is-on {
	background: var(--gs-accent);
	color: #fff;
	border-color: var(--gs-accent);
	font-weight: 600;
	text-decoration: none;
}

.gs-siblings { margin: 40px 0; }
.gs-siblings h3 {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1.1px;
	margin: 0 0 16px;
}

@media (max-width: 1080px) {
	.gs-model__layout { grid-template-columns: 260px minmax(0, 1fr); }
	.gs-model__side { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	.gs-model__layout { grid-template-columns: minmax(0, 1fr); }
	.gs-model-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
	.gs-release-month { padding: 16px 12px; }
	.gs-attrs { grid-template-columns: auto 1fr; }
}

/* ==========================================================================
   Sourcing — "How we know this"
   ==========================================================================
   Deliberately quiet. This is a credibility signal, not a feature: it should
   reward a reader who goes looking for it without competing with the specs
   for attention. */

.gs-model .gsc-sources,
.gsc-sources {
	margin: 2.5rem 0 0;
	padding: 20px 22px;
	background: var(--gs-surface-2);
	border: 1px solid var(--gs-line);
	border-left: 3px solid var(--gs-volt);
	border-radius: var(--gs-radius);
}

.gsc-sources__title {
	font-size: 1.05rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin: 0 0 .85em;
	color: var(--gs-heading);
}

.gsc-sources__list {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.gsc-sources__item {
	padding: 7px 0;
	border-bottom: 1px solid var(--gs-line-soft);
	font-size: .92rem;
	line-height: 1.5;
}

.gsc-sources__item:last-child { border-bottom: 0; }

.gsc-sources__kind {
	font-weight: 600;
	color: var(--gs-heading);
}

.gsc-sources__count {
	color: var(--gs-muted);
	font-variant-numeric: tabular-nums;
}

.gsc-sources__ref {
	display: block;
	color: var(--gs-muted);
	font-family: var(--gs-font-mono);
	font-size: .8rem;
	word-break: break-word;
}

.gsc-sources__when {
	color: var(--gs-faint);
	font-size: .8rem;
	white-space: nowrap;
}

.gsc-sources__note {
	margin: 0;
	color: var(--gs-muted);
	font-size: .85rem;
	line-height: 1.55;
}