/* TCG Hiring – public pages (1.4.0: the "TCG Hiring Hub" look). Fonts come from the site theme (Raleway + Open Sans); nothing is loaded from outside. */
.tcgh {
	--tcgh-navy: #1f2f40;
	--tcgh-text: #1f2f40;
	--tcgh-muted: #5d6b79;
	--tcgh-sky: #03a9f4;
	--tcgh-sky-dark: #0371c3;
	--tcgh-gold: #e8c930;
	--tcgh-line: #cdd5dc;
	--tcgh-soft: #f2f4f6;
	--tcgh-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	color: var(--tcgh-text);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
.tcgh *, .tcgh *::before, .tcgh *::after { box-sizing: border-box; }
.tcgh h1, .tcgh h2, .tcgh h3, .tcgh legend { font-family: Raleway, "Open Sans", Arial, sans-serif; color: var(--tcgh-navy); }
.tcgh-careers { background: var(--tcgh-soft); }
.tcgh-wrap { max-width: 1000px; margin: 0 auto; padding: 28px 16px 48px; }

/* Brushed-steel hero with the logo, like the company site */
.tcgh-hero {
	color: #14202c; padding: 34px 16px 30px; border-bottom: 5px solid var(--tcgh-gold); text-align: center;
	background:
		repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.05) 1px 2px, rgba(255,255,255,0) 2px 4px),
		linear-gradient(160deg, #c3cad0, #8d979f 70%);
}
.tcgh-hero-inner { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; justify-items: center; }
.tcgh-hero-logo img, .tcgh-hero-logo .tcgh-logo-img { width: min(420px, 88vw); max-width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.tcgh-logo-text { font-family: Raleway, Arial, sans-serif; font-weight: 800; font-size: 28px; color: var(--tcgh-navy); letter-spacing: .02em; }
.tcgh .tcgh-hero-title { margin: 0; font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; line-height: 1.12; max-width: 22ch; color: #14202c; text-wrap: balance; }
.tcgh-hero-text { margin: 0; max-width: 62ch; font-size: 17px; font-weight: 600; opacity: .92; }
.tcgh-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 6px; }
.tcgh-facts span { font-size: 13px; font-weight: 600; line-height: 1; padding: 7px 12px; border-radius: 99px; background: #fff; color: var(--tcgh-text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }

/* Theme headings are uppercase: keep the banner and job titles in normal case */
.tcgh .tcgh-hero-title, .tcgh .tcgh-band-title, .tcgh .tcgh-job-title { text-transform: none; letter-spacing: .005em; }
.tcgh .tcgh-hero-text { color: #14202c; }
.tcgh-careers p, .tcgh-job p { color: inherit; }

/* Job page title band (steel, like the careers banner) */
.tcgh-band {
	padding: 26px 16px 22px; border-bottom: 5px solid var(--tcgh-gold); color: #14202c;
	background:
		repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.05) 1px 2px, rgba(255,255,255,0) 2px 4px),
		linear-gradient(160deg, #c3cad0, #8d979f 70%);
}
.tcgh-band-inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 6px; }
.tcgh-band .tcgh-eyebrow { color: #2a3a4a; font-family: var(--tcgh-mono); letter-spacing: .06em; }
.tcgh .tcgh-band-title { margin: 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.12; color: #14202c; }
.tcgh-job-page { background: var(--tcgh-soft); }

/* Section head + list */
.tcgh-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tcgh .tcgh-section-head h2 { margin: 0; font-size: 30px; font-weight: 800; text-transform: uppercase; }
.tcgh-eyebrow { font-size: 12px; font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .12em; color: var(--tcgh-muted); }
.tcgh-intro { font-size: 16px; margin: -4px 0 16px; color: var(--tcgh-muted); }
.tcgh-empty { border: 2px dashed var(--tcgh-line); border-radius: 6px; padding: 28px; text-align: center; color: var(--tcgh-muted); background: #fff; }
.tcgh-notice { background: #fff; border-left: 4px solid var(--tcgh-gold); padding: 16px 18px; margin: 18px 0; }
.tcgh-joblist { display: grid; gap: 12px; }
.tcgh a.tcgh-job { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--tcgh-line); border-radius: 6px; padding: 16px 18px; text-decoration: none; color: var(--tcgh-text); }
.tcgh a.tcgh-job:hover, .tcgh a.tcgh-job:focus-visible { border-color: var(--tcgh-sky); box-shadow: 0 2px 8px rgba(3,169,244,.15); }
.tcgh-stake { font: 500 13px/1.2 var(--tcgh-mono); color: var(--tcgh-muted); border-left: 3px solid var(--tcgh-sky); padding-left: 10px; }
.tcgh-job-main { display: block; min-width: 0; }
.tcgh-job-title { display: block; font-family: Raleway, "Open Sans", Arial, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.15; color: var(--tcgh-navy); }
.tcgh-job-meta { display: block; color: var(--tcgh-muted); font-size: 15px; margin-top: 2px; }
.tcgh-job-pay { font-weight: 600; text-align: right; }
.tcgh-note { display: block; font-size: 13px; color: var(--tcgh-muted); margin: 24px 0 0; }
.tcgh-side .tcgh-note { margin: 0; }

/* Job page: description + side box */
.tcgh-detail { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 28px; align-items: start; }
.tcgh-lead { font-size: 18px; max-width: 62ch; margin: 8px 0 12px; }
.tcgh-job-desc h2, .tcgh-job-desc h3 { font-size: 20px; text-transform: uppercase; margin: 22px 0 6px; }
.tcgh-job-desc ul { margin: 0; padding-left: 20px; max-width: 62ch; }
.tcgh-job-desc li { margin: 4px 0; }
.tcgh-side { background: #fff; border: 1px solid var(--tcgh-line); border-radius: 6px; padding: 18px; display: grid; gap: 12px; position: sticky; top: 90px; }
.tcgh-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; margin: 0; }
.tcgh-kv dt { color: var(--tcgh-muted); margin: 0; }
.tcgh-kv dd { margin: 0; font-weight: 600; }
.tcgh .tcgh-btn-block { display: block; text-align: center; align-self: stretch; }

.tcgh-preview { background: #fff4c2; border-bottom: 2px solid var(--tcgh-gold); padding: 8px 16px; text-align: center; font-weight: 600; font-size: 14px; }

/* Buttons */
.tcgh-btn, .tcgh .tcgh-btn { display: inline-block; align-self: flex-start; background: var(--tcgh-sky); color: #fff !important; border: 0; border-radius: 4px; padding: 11px 22px; font-family: Raleway, Arial, sans-serif; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; line-height: 1.2; }
.tcgh-btn:hover, .tcgh-btn:focus { background: var(--tcgh-sky-dark); color: #fff; }
.tcgh-btn:focus-visible { outline: 3px solid var(--tcgh-gold); outline-offset: 2px; }
.tcgh-btn-lg { font-size: 17px; padding: 14px 30px; }
.tcgh-btn[disabled] { opacity: .6; cursor: wait; }

/* Job page */
.tcgh-back { margin: 0 0 14px; }
.tcgh-back a { color: var(--tcgh-sky-dark); text-decoration: none; font-weight: 600; }
.tcgh-apply { margin-top: 28px; background: #fff; border: 1px solid var(--tcgh-line); border-top: 4px solid var(--tcgh-sky); border-radius: 6px; padding: 24px 22px; }
.tcgh .tcgh-apply-title { margin: 0 0 4px; font-size: 26px; }
.tcgh-req-note { margin: 0 0 16px; color: #4a5872; font-size: 14px; }
.tcgh-star { color: #c0392b; }
.tcgh-error { background: #fdecea; border-left: 4px solid #c0392b; color: #7a1d14; padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.tcgh-thanks { background: #e8f6ee; border-left: 4px solid #2e8b57; padding: 20px 22px; border-radius: 4px; }
.tcgh-thanks h2 { margin-top: 0; }

/* Form */
.tcgh-apply .tcgh-eyebrow { display: block; margin-bottom: 4px; }
.tcgh-section-intro { margin: 4px 0 6px; color: var(--tcgh-muted); font-size: 14px; }
.tcgh-subhead { margin-top: 6px; }
.tcgh .tcgh-subhead h3 { margin: 6px 0 0; font-size: 17px; font-weight: 700; text-transform: none; border-top: 1px dashed var(--tcgh-line); padding-top: 12px; }
.tcgh-grid > .tcgh-field:first-child.tcgh-subhead h3 { border-top: 0; padding-top: 0; }
.tcgh-label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 15px; color: var(--tcgh-navy); }
.tcgh-static { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border: 1px dashed var(--tcgh-line); border-radius: 4px; color: var(--tcgh-muted); }
.tcgh-field input.tcgh-signature { font-family: var(--tcgh-mono); }
.tcgh .tcgh-btn-small { background: #fff; color: var(--tcgh-navy); border: 1px solid var(--tcgh-line); border-radius: 6px; padding: 6px 12px; font-weight: 600; cursor: pointer; font-size: 14px; }
.tcgh .tcgh-btn-small:hover { border-color: var(--tcgh-navy); }
.tcgh-add-more { margin: 10px 0 0; }
.tcgh-field[hidden], .tcgh-add-more[hidden] { display: none; }

.tcgh-section { border: 0; border-top: 1px solid var(--tcgh-line); margin: 0; padding: 18px 0 8px; min-width: 0; }
.tcgh-section > legend { font-size: 19px; font-weight: 700; padding: 0 8px 0 0; }
.tcgh-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 16px; margin-top: 8px; }
.tcgh-field { grid-column: span 12; min-width: 0; }
.tcgh-half { grid-column: span 6; }
.tcgh-third { grid-column: span 4; }
.tcgh-quarter { grid-column: span 3; }
.tcgh-field > label, .tcgh-choice > legend { display: block; font-weight: 600; margin-bottom: 5px; font-size: 15px; color: var(--tcgh-navy); padding: 0; }
.tcgh-field input[type=text], .tcgh-field input[type=email], .tcgh-field input[type=tel], .tcgh-field input[type=date], .tcgh-field input[type=month], .tcgh-field input[type=number], .tcgh-field select, .tcgh-field textarea {
	width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #b7c0cc; border-radius: 4px; background: #fff; font: inherit; color: var(--tcgh-text); min-height: 44px;
}
.tcgh-field input:focus, .tcgh-field select:focus, .tcgh-field textarea:focus { outline: 2px solid var(--tcgh-sky); outline-offset: 0; border-color: var(--tcgh-sky); }
.tcgh-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.tcgh-opt { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-weight: 400; cursor: pointer; min-height: 32px; }
.tcgh-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--tcgh-sky-dark); }
.tcgh-checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 12px; }
.tcgh-legal { font-size: 14px; color: #4a5872; margin: 0 0 10px; }
.tcgh-legal-box { background: #fff; border: 1px solid var(--tcgh-line); padding: 12px 14px; border-radius: 4px; color: var(--tcgh-text); }
.tcgh-certify { font-weight: 600; }
.tcgh-field.has-error input, .tcgh-field.has-error select, .tcgh-field.has-error textarea { border-color: #c0392b; }
.tcgh-field-error { display: block; color: #c0392b; font-size: 14px; margin-top: 4px; font-weight: 600; }
.tcgh-field-error[hidden] { display: none; }
.tcgh-submit-row { padding-top: 18px; border-top: 1px solid var(--tcgh-line); margin-top: 10px; }
.tcgh-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
	.tcgh-detail { grid-template-columns: 1fr; }
	.tcgh-side { position: static; }
}
@media (max-width: 640px) {
	.tcgh-half, .tcgh-third { grid-column: span 12; }
	.tcgh-quarter { grid-column: span 6; }
	.tcgh-apply { padding: 18px 14px; }
	.tcgh-hero { padding: 26px 16px; }
	.tcgh a.tcgh-job { grid-template-columns: 1fr; gap: 8px; }
	.tcgh-job-pay { text-align: left; }
	.tcgh-btn-lg { width: 100%; text-align: center; }
}
