/*
Theme Name:   Astra Child - Andrew Orozco
Theme URI:    https://andrewthecarguy.com
Description:  Child theme for andrewthecarguy.com. Holds the design system and the
              answer-post template. Andrew Orozco is the operator and on-camera
              face of the family's shops, NOT the owner - never add ownership
              claims to templates, copy or schema. His father Servando Orozco
              founded the businesses.
Author:       Red Line Marketing
Template:     astra
Version:      2.0.1
Text Domain:  astra-atcg
*/

/* ==========================================================================
   Design tokens
   Dark base + ONE high-energy accent, reserved for calls to action only.
   ========================================================================== */

:root {
	--atcg-ink:            #0D0E11;
	--atcg-ink-2:          #15171C;
	--atcg-ink-3:          #1E212A;
	--atcg-line-dark:      rgba(255, 255, 255, 0.10);
	--atcg-line-light:     rgba(13, 14, 17, 0.12);

	--atcg-paper:          #FFFFFF;
	--atcg-paper-2:        #F3F4F6;

	--atcg-text:           #15171C;
	--atcg-text-muted:     #565C66;
	--atcg-text-invert:    #FFFFFF;
	--atcg-text-invert-mut: rgba(255, 255, 255, 0.66);

	--atcg-accent:         #FF5A1F;
	--atcg-accent-hover:   #E44510;

	--atcg-head: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--atcg-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--atcg-max: 1180px;
	--atcg-gutter: 22px;
}

/* ==========================================================================
   Base
   ========================================================================== */

body,
.ast-container {
	font-family: var(--atcg-body);
}

body {
	color: var(--atcg-text);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.entry-title {
	font-family: var(--atcg-head);
	letter-spacing: -0.02em;
	line-height: 1.05;
	font-weight: 800;
}

/* Astra prints the page title on every page. The designed pages carry their
   own H1, so suppress the duplicate. */
.page .entry-header,
.page .ast-archive-description {
	display: none;
}

.page .site-content .ast-container,
.page .entry-content > .atcg {
	max-width: none;
	padding: 0;
}

.atcg-wrap {
	max-width: var(--atcg-max);
	margin: 0 auto;
	padding: 0 var(--atcg-gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.atcg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 16px 30px;
	border-radius: 6px;
	font: 700 14px/1 var(--atcg-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
	cursor: pointer;
}

.atcg-btn:hover { transform: translateY(-2px); text-decoration: none; }
.atcg-btn:focus-visible { outline: 3px solid var(--atcg-accent); outline-offset: 3px; }

.atcg-btn-accent {
	background: var(--atcg-accent);
	color: #fff !important;
	border-color: var(--atcg-accent);
}
.atcg-btn-accent:hover { background: var(--atcg-accent-hover); border-color: var(--atcg-accent-hover); }

.atcg-btn-ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.4);
}
.atcg-btn-ghost:hover { background: #fff; color: var(--atcg-ink) !important; border-color: #fff; }

.atcg-btn-dark {
	background: var(--atcg-ink);
	color: #fff !important;
	border-color: var(--atcg-ink);
}
.atcg-btn-dark:hover { background: var(--atcg-accent); border-color: var(--atcg-accent); }

/* ==========================================================================
   Header - dark, with the Ask Andrew CTA always visible
   ========================================================================== */

.ast-primary-header-bar,
.site-header,
.ast-above-header,
.ast-main-header-bar-alignment {
	background: var(--atcg-ink) !important;
	border-bottom: 1px solid var(--atcg-line-dark) !important;
}

.site-title,
.site-title a,
.ast-site-identity .site-title a {
	font-family: var(--atcg-head) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: #fff !important;
}

.site-description { color: var(--atcg-text-invert-mut) !important; }

.main-header-menu a,
.ast-header-break-point .main-header-menu a {
	color: rgba(255, 255, 255, 0.82) !important;
	font-weight: 500;
	font-size: 15px;
}
.main-header-menu a:hover,
.main-header-menu .current-menu-item > a {
	color: #fff !important;
}

/* The persistent CTA */
.main-header-menu .atcg-nav-cta > a {
	background: var(--atcg-accent);
	color: #fff !important;
	border-radius: 6px;
	padding: 11px 20px !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	margin-left: 8px;
}
.main-header-menu .atcg-nav-cta > a:hover { background: var(--atcg-accent-hover); }

.ast-mobile-menu-buttons-minimal { color: #fff; }
.ast-header-break-point .main-navigation { background: var(--atcg-ink); }

/* ==========================================================================
   Sections
   ========================================================================== */

.atcg-sec { padding: 84px 0; }
.atcg-sec-tight { padding: 56px 0; }
.atcg-sec-dark { background: var(--atcg-ink); color: var(--atcg-text-invert); }
.atcg-sec-dark h2, .atcg-sec-dark h3 { color: #fff; }
.atcg-sec-dark p { color: var(--atcg-text-invert-mut); }
.atcg-sec-grey { background: var(--atcg-paper-2); }

.atcg-eyebrow {
	font: 700 12px/1 var(--atcg-head);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--atcg-accent);
	margin: 0 0 16px;
	display: block;
}

.atcg-h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 18px; }
.atcg-lead { font-size: 19px; line-height: 1.6; max-width: 660px; margin: 0 0 26px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.atcg-hero {
	position: relative;
	background: var(--atcg-ink);
	color: #fff;
	overflow: hidden;
}

.atcg-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
	min-height: 560px;
	padding: 72px 0;
}

.atcg-hero h1 {
	font-size: clamp(40px, 6.2vw, 68px);
	margin: 0 0 20px;
	color: #fff;
}
.atcg-hero .atcg-sub {
	font-size: 20px;
	line-height: 1.55;
	color: var(--atcg-text-invert-mut);
	max-width: 520px;
	margin: 0 0 34px;
}
.atcg-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.atcg-hero-media {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--atcg-ink-3);
}
.atcg-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Proof strip
   ========================================================================== */

.atcg-proof {
	background: var(--atcg-ink-2);
	border-top: 1px solid var(--atcg-line-dark);
	border-bottom: 1px solid var(--atcg-line-dark);
	padding: 26px 0;
}
.atcg-proof-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}
.atcg-proof-stat {
	font: 700 15px/1.35 var(--atcg-head);
	color: #fff;
	letter-spacing: -0.01em;
}
.atcg-proof-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	align-items: center;
}
.atcg-proof-brands span {
	font: 600 13px/1 var(--atcg-head);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--atcg-text-invert-mut);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.atcg-grid { display: grid; gap: 22px; }
.atcg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.atcg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.atcg-grid-4 { grid-template-columns: repeat(4, 1fr); }

.atcg-card {
	background: #fff;
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.atcg-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13, 14, 17, 0.10); }
.atcg-card h3 { font-size: 20px; margin: 0 0 8px; }
.atcg-card p { font-size: 16px; color: var(--atcg-text-muted); margin: 0 0 18px; }
.atcg-card .atcg-city {
	font: 700 11px/1 var(--atcg-head);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--atcg-accent);
	margin-bottom: 12px;
	display: block;
}
.atcg-card-link {
	margin-top: auto;
	font: 700 13px/1 var(--atcg-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--atcg-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--atcg-accent);
	padding-bottom: 3px;
	align-self: flex-start;
}
.atcg-card-link:hover { color: var(--atcg-accent); }

/* ==========================================================================
   Founding story
   ========================================================================== */

.atcg-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
}
.atcg-story-media { border-radius: 10px; overflow: hidden; }
.atcg-story-media img { width: 100%; height: auto; display: block; }
.atcg-story blockquote {
	border: 0;
	margin: 0 0 22px;
	padding: 0 0 0 20px;
	border-left: 3px solid var(--atcg-accent);
	font: 600 22px/1.4 var(--atcg-head);
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Empty state - the answer library before it has answers
   ========================================================================== */

.atcg-empty {
	border: 2px dashed var(--atcg-line-light);
	border-radius: 10px;
	padding: 46px 30px;
	text-align: center;
	color: var(--atcg-text-muted);
}
.atcg-sec-dark .atcg-empty { border-color: var(--atcg-line-dark); }

/* ==========================================================================
   Labeled placeholder - a visible marker for content we do not have yet.
   The brief forbids invented facts, so gaps are shown, never filled.
   NOTE: every one of these must be gone before blog_public is set to 1.
   ========================================================================== */

.atcg-todo {
	display: inline-block;
	background: #FFF3CD;
	color: #6B4E00;
	border: 1px solid #E5C76B;
	border-radius: 5px;
	padding: 3px 9px;
	font: 700 11px/1.5 var(--atcg-head);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: middle;
}
.atcg-todo-block {
	display: block;
	background: #FFF9E6;
	border: 1px dashed #E5C76B;
	border-radius: 8px;
	color: #6B4E00;
	padding: 16px 18px;
	font: 500 15px/1.5 var(--atcg-body);
	letter-spacing: 0;
	text-transform: none;
	margin: 14px 0;
}

/* ==========================================================================
   Ask block
   ========================================================================== */

.atcg-ask {
	background: var(--atcg-accent);
	color: #fff;
	padding: 76px 0;
}
.atcg-ask h2 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 14px; }
.atcg-ask p { color: rgba(255, 255, 255, 0.9); font-size: 19px; max-width: 620px; margin: 0 0 28px; }
.atcg-ask .atcg-btn-dark:hover { background: #fff; color: var(--atcg-ink) !important; border-color: #fff; }

/* ==========================================================================
   Media band
   ========================================================================== */

.atcg-media-band {
	background: var(--atcg-ink-2);
	color: var(--atcg-text-invert-mut);
	padding: 34px 0;
	border-top: 1px solid var(--atcg-line-dark);
}
.atcg-media-band .atcg-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.atcg-media-band p { margin: 0; font-size: 16px; }
.atcg-media-band strong { color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer,
.ast-small-footer,
footer.site-footer {
	background: var(--atcg-ink) !important;
	color: var(--atcg-text-invert-mut) !important;
	border-top: 1px solid var(--atcg-line-dark);
}
.site-footer a { color: #fff !important; }
.site-footer a:hover { color: var(--atcg-accent) !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.atcg-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.atcg-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
	.atcg-hero-grid { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding: 52px 0; }
	.atcg-hero-media { aspect-ratio: 3 / 2; max-height: 420px; }
	.atcg-story { grid-template-columns: 1fr; gap: 30px; }
	.atcg-sec { padding: 60px 0; }
}

@media (max-width: 640px) {
	body { font-size: 17px; }
	.atcg-grid-4, .atcg-grid-3, .atcg-grid-2 { grid-template-columns: 1fr; }
	.atcg-hero-cta .atcg-btn { width: 100%; }
	.atcg-proof-inner { flex-direction: column; align-items: flex-start; }
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
	.atcg-btn, .atcg-card { transition: none; }
	.atcg-btn:hover, .atcg-card:hover { transform: none; }
}

/* ==========================================================================
   Expertise pillars - the authority block.
   Andrew is positioned as the expert first; the family history is context,
   not the credential. Do not let the legacy story outrank this section.
   ========================================================================== */

.atcg-card-dark {
	background: var(--atcg-ink-3);
	border: 1px solid var(--atcg-line-dark);
}
.atcg-card-dark:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }
.atcg-card-dark h3 { color: #fff; }
.atcg-card-dark p { color: var(--atcg-text-invert-mut); }

.atcg-pillar-no {
	font: 800 13px/1 var(--atcg-head);
	color: var(--atcg-accent);
	letter-spacing: 0.1em;
	margin-bottom: 14px;
	display: block;
}

/* The origin band - deliberately quieter than the expertise sections. */
.atcg-origin { border-top: 1px solid var(--atcg-line-light); }
.atcg-origin .atcg-story { gap: 44px; align-items: center; }
.atcg-origin .atcg-story-media { max-width: 380px; }
.atcg-origin p { font-size: 17px; color: var(--atcg-text-muted); }
.atcg-origin .atcg-h2 { font-size: clamp(24px, 3vw, 32px); }

@media (max-width: 880px) {
	.atcg-origin .atcg-story-media { max-width: none; }
}

/* ==========================================================================
   Ask form. Zero front-end JS by design (spec §6).
   ========================================================================== */

.atcg-form { max-width: 660px; margin: 0; }
.atcg-ask .atcg-form { max-width: 720px; }

.atcg-field { margin: 0 0 18px; display: block; }
.atcg-field label,
.atcg-check label > span {
	display: block;
	font: 700 13px/1.4 var(--atcg-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.atcg-req { color: var(--atcg-accent); }

.atcg-field input[type="text"],
.atcg-field input[type="email"],
.atcg-field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--atcg-line-light);
	border-radius: 6px;
	background: #fff;
	color: var(--atcg-text);
	font: 400 17px/1.5 var(--atcg-body);
	transition: border-color 0.15s ease;
}
.atcg-field input:focus,
.atcg-field textarea:focus {
	outline: none;
	border-color: var(--atcg-accent);
}
.atcg-field textarea { resize: vertical; min-height: 130px; }

.atcg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.atcg-check { margin: 0 0 22px; }
.atcg-check label {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	cursor: pointer;
}
.atcg-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--atcg-accent); }
.atcg-check label > span {
	text-transform: none;
	letter-spacing: 0;
	font: 400 16px/1.45 var(--atcg-body);
	margin: 0;
}

/* Honeypot: off-screen, never display:none — bots skip hidden fields. */
.atcg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.atcg-form-note { font-size: 15px; color: var(--atcg-text-muted); margin: 14px 0 0; }
.atcg-form-error {
	background: #FDE8E6;
	border: 1px solid #F0A79E;
	color: #8B1D0D;
	border-radius: 6px;
	padding: 13px 16px;
	font-size: 16px;
	margin: 0 0 20px;
}

/* On the accent ask block the form sits on orange. */
.atcg-ask .atcg-field label,
.atcg-ask .atcg-check label > span,
.atcg-ask .atcg-form-note { color: #fff; }
.atcg-ask .atcg-req { color: #fff; }
.atcg-ask .atcg-field input,
.atcg-ask .atcg-field textarea { border-color: rgba(255,255,255,0.5); }
.atcg-ask .atcg-field input:focus,
.atcg-ask .atcg-field textarea:focus { border-color: #fff; }
.atcg-ask .atcg-btn-accent {
	background: var(--atcg-ink);
	border-color: var(--atcg-ink);
}
.atcg-ask .atcg-btn-accent:hover { background: #fff; color: var(--atcg-ink) !important; border-color: #fff; }

@media (max-width: 640px) {
	.atcg-field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Answer library
   ========================================================================== */

.atcg-answers-head { background: var(--atcg-ink); color: #fff; padding: 62px 0 54px; }
.atcg-answers-head h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); margin: 0 0 14px; }
.atcg-answers-head p { color: var(--atcg-text-invert-mut); font-size: 19px; max-width: 640px; margin: 0; }

.atcg-answer-card {
	background: #fff;
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.atcg-answer-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,14,17,0.10); }
.atcg-answer-card .thumb { aspect-ratio: 16 / 9; background: var(--atcg-ink-3); position: relative; }
.atcg-answer-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atcg-answer-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.atcg-answer-card h2,
.atcg-answer-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 10px; }
.atcg-answer-card h2 a,
.atcg-answer-card h3 a { color: var(--atcg-text); text-decoration: none; }
.atcg-answer-card h2 a:hover,
.atcg-answer-card h3 a:hover { color: var(--atcg-accent); }
.atcg-answer-card .topic {
	font: 700 11px/1 var(--atcg-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--atcg-accent);
	margin-bottom: 10px;
}

/* Answer single */
.atcg-answer-lede {
	font: 500 21px/1.55 var(--atcg-body);
	color: var(--atcg-text);
	border-left: 3px solid var(--atcg-accent);
	padding-left: 20px;
	margin: 0 0 30px;
}
.atcg-video-facade {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--atcg-ink-3);
	border-radius: 10px;
	overflow: hidden;
	margin: 0 0 30px;
}

/* ==========================================================================
   Press
   ========================================================================== */

.atcg-bio-block {
	background: var(--atcg-paper-2);
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 18px;
}
.atcg-bio-block h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.atcg-bio-block p { margin: 0; font-size: 17px; }

.atcg-headshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.atcg-headshots figure { margin: 0; }
.atcg-headshots img { width: 100%; height: auto; border-radius: 8px; display: block; }
.atcg-headshots figcaption {
	font: 600 13px/1.4 var(--atcg-head);
	color: var(--atcg-text-muted);
	margin-top: 9px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* ==========================================================================
   Contact routing
   ========================================================================== */

.atcg-route {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	padding: 24px;
}
.atcg-route .n {
	font: 800 22px/1 var(--atcg-head);
	color: var(--atcg-accent);
	flex: 0 0 auto;
}
.atcg-route h3 { font-size: 19px; margin: 0 0 6px; }
.atcg-route p { font-size: 16px; color: var(--atcg-text-muted); margin: 0 0 14px; }

@media (max-width: 780px) {
	.atcg-headshots { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Answer library - search, chips, pagination, single
   ========================================================================== */

.atcg-answers-search { display: flex; gap: 10px; margin-top: 26px; max-width: 560px; }
.atcg-answers-search input[type="search"] {
	flex: 1;
	padding: 14px 16px;
	border: 2px solid rgba(255,255,255,0.25);
	border-radius: 6px;
	background: var(--atcg-ink-3);
	color: #fff;
	font: 400 17px/1.4 var(--atcg-body);
}
.atcg-answers-search input[type="search"]::placeholder { color: rgba(255,255,255,0.45); }
.atcg-answers-search input[type="search"]:focus { outline: none; border-color: var(--atcg-accent); }

.atcg-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.atcg-chip {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 100px;
	border: 1px solid var(--atcg-line-light);
	background: #fff;
	color: var(--atcg-text);
	font: 600 14px/1 var(--atcg-body);
	text-decoration: none;
}
.atcg-chip:hover, .atcg-chip.is-on {
	background: var(--atcg-ink);
	color: #fff;
	border-color: var(--atcg-ink);
}

.atcg-pagination { margin-top: 40px; }
.atcg-pagination .page-numbers {
	display: inline-block;
	padding: 10px 15px;
	margin-right: 6px;
	border: 1px solid var(--atcg-line-light);
	border-radius: 6px;
	text-decoration: none;
	color: var(--atcg-text);
	font-weight: 600;
}
.atcg-pagination .page-numbers.current,
.atcg-pagination .page-numbers:hover {
	background: var(--atcg-ink);
	color: #fff;
	border-color: var(--atcg-ink);
}

/* Video facade - a poster and a play badge. No iframe until the visitor asks. */
a.atcg-video-facade { display: block; text-decoration: none; }
a.atcg-video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atcg-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: #fff;
	background: rgba(13, 14, 17, 0.34);
	transition: background 0.16s ease;
}
a.atcg-video-facade:hover .atcg-play { background: rgba(13, 14, 17, 0.15); }

.atcg-answer-body { font-size: 18px; line-height: 1.7; }
.atcg-answer-body h2 { font-size: 26px; margin: 34px 0 12px; }
.atcg-answer-body h3 { font-size: 21px; margin: 26px 0 10px; }
.atcg-answer-body ul, .atcg-answer-body ol { padding-left: 22px; }
.atcg-answer-body li { margin-bottom: 8px; }

.atcg-answer-meta {
	font-size: 15px;
	color: var(--atcg-text-muted);
	border-top: 1px solid var(--atcg-line-light);
	padding-top: 16px;
	margin-top: 34px;
}

.atcg-shop-nudge {
	background: var(--atcg-paper-2);
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	padding: 24px;
	margin-top: 40px;
}
.atcg-shop-nudge p { margin: 0 0 14px; font-size: 17px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 640px) {
	.atcg-answers-search { flex-direction: column; }
}

/* ==========================================================================
   FIX: white cards nested inside a dark section were inheriting the section's
   white heading and body colour, rendering the shop names white-on-white and
   effectively invisible. Scope the dark-section colours so they never reach a
   light card. Only .atcg-card-dark should take the inverted treatment.
   ========================================================================== */

.atcg-sec-dark .atcg-card:not(.atcg-card-dark) h3 { color: var(--atcg-text); }
.atcg-sec-dark .atcg-card:not(.atcg-card-dark) p  { color: var(--atcg-text-muted); }
.atcg-sec-dark .atcg-answer-card h2,
.atcg-sec-dark .atcg-answer-card h3 { color: var(--atcg-text); }
.atcg-sec-dark .atcg-answer-card p  { color: var(--atcg-text-muted); }
.atcg-sec-dark .atcg-empty p        { color: var(--atcg-text-muted); }

/* Shop name leads the card; the city line sits under it as supporting detail. */
.atcg-card h3 + .atcg-city { margin-top: 6px; margin-bottom: 14px; }

/* ==========================================================================
   Channel cards (/watch/). Whole card is the link.
   ========================================================================== */

.atcg-channel {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--atcg-line-light);
	border-radius: 10px;
	padding: 30px;
	text-decoration: none;
	color: var(--atcg-text);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.atcg-channel:hover {
	transform: translateY(-3px);
	border-color: var(--atcg-accent);
	box-shadow: 0 14px 34px rgba(13, 14, 17, 0.10);
	text-decoration: none;
}
.atcg-channel-name {
	font: 800 27px/1.1 var(--atcg-head);
	letter-spacing: -0.02em;
	color: var(--atcg-text);
}
.atcg-handle {
	font: 600 14px/1 var(--atcg-body);
	color: var(--atcg-accent);
	margin: 8px 0 14px;
}
.atcg-channel p { font-size: 16px; color: var(--atcg-text-muted); margin: 0 0 20px; }
.atcg-channel .atcg-card-link { margin-top: auto; }
.atcg-channel:hover .atcg-card-link { color: var(--atcg-accent); }

/* ==========================================================================
   Photo gallery + captioned figures
   ========================================================================== */

.atcg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.atcg-gallery figure { margin: 0; }
.atcg-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}
.atcg-gallery figcaption {
	font-size: 15px;
	line-height: 1.45;
	color: var(--atcg-text-muted);
	margin-top: 10px;
}
.atcg-sec-dark .atcg-gallery figcaption { color: var(--atcg-text-invert-mut); }

.atcg-figure { margin: 0; }
.atcg-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.atcg-figure figcaption {
	font-size: 15px;
	line-height: 1.45;
	color: var(--atcg-text-muted);
	margin-top: 10px;
}
.atcg-sec-dark .atcg-figure figcaption { color: var(--atcg-text-invert-mut); }

/* Brand page portrait sits beside the location cards. */
.atcg-brand-split { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }

@media (max-width: 880px) {
	.atcg-gallery { grid-template-columns: 1fr 1fr; }
	.atcg-brand-split { grid-template-columns: 1fr; gap: 26px; }
	.atcg-brand-split .atcg-figure { max-width: 340px; }
}
@media (max-width: 560px) {
	.atcg-gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Location cards - full NAP
   ========================================================================== */

.atcg-loc { display: flex; flex-direction: column; }
.atcg-loc h3 { font-size: 20px; margin: 0 0 4px; }
.atcg-loc .atcg-city { margin-bottom: 16px; }
.atcg-loc dl { margin: 0 0 16px; }
.atcg-loc dt {
	font: 700 11px/1 var(--atcg-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--atcg-text-muted);
	margin-bottom: 5px;
}
.atcg-loc dd { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.atcg-loc dd a { color: var(--atcg-text); text-decoration: none; border-bottom: 1px solid var(--atcg-accent); }
.atcg-loc dd a:hover { color: var(--atcg-accent); }
.atcg-loc .hours { font-size: 15px; line-height: 1.65; color: var(--atcg-text-muted); }
.atcg-loc .hours span { display: block; }
.atcg-loc .atcg-btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Footer. Astra's own bar is hidden; ours is injected before it.
   ========================================================================== */

.ast-small-footer,
.site-footer .ast-footer-copyright,
.site-primary-footer-wrap,
.site-below-footer-wrap { display: none !important; }

.atcg-footer {
	background: var(--atcg-ink);
	color: var(--atcg-text-invert-mut);
	padding: 64px 0 34px;
	border-top: 1px solid var(--atcg-line-dark);
}
.atcg-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 42px;
}
.atcg-footer p { color: var(--atcg-text-invert-mut); font-size: 16px; line-height: 1.6; }
.atcg-footer-name {
	font: 800 24px/1.1 var(--atcg-head);
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 2px;
}
.atcg-footer-tag {
	font: 700 12px/1 var(--atcg-head);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--atcg-accent) !important;
	margin: 0 0 16px;
}
.atcg-footer-brand p { max-width: 380px; margin-bottom: 22px; }
.atcg-footer-head {
	font: 700 12px/1 var(--atcg-head);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
}
.atcg-footer-list { list-style: none; margin: 0; padding: 0; }
.atcg-footer-list li { margin-bottom: 10px; }
.atcg-footer-list a {
	color: var(--atcg-text-invert-mut);
	text-decoration: none;
	font-size: 16px;
}
.atcg-footer-list a:hover { color: var(--atcg-accent); }

.atcg-footer-base {
	margin-top: 46px;
	padding-top: 24px;
	border-top: 1px solid var(--atcg-line-dark);
}
.atcg-footer-base p { font-size: 14px; margin: 0 0 6px; }

@media (max-width: 900px) {
	.atcg-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
	.atcg-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.atcg-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FIXES 2026-09-02 (reported from mobile)
   ========================================================================== */

/* The yellow developer-note style is retired. Notes are plain prose now. */
.atcg-todo-block, .atcg-todo { display: none !important; }

.atcg-note {
	max-width: 700px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--atcg-text-muted);
	border-left: 3px solid var(--atcg-line-light);
	padding-left: 16px;
	margin: 22px 0 0;
}
.atcg-note a { color: var(--atcg-text); border-bottom: 1px solid var(--atcg-accent); text-decoration: none; }
.atcg-note a:hover { color: var(--atcg-accent); }

/* FIX: the hero portrait was being cropped on phones. The source images are
   4:5 portraits; forcing 3:2 with object-fit:cover cut Andrew's head and
   shoulders off. Keep the portrait ratio on small screens. */
@media (max-width: 880px) {
	.atcg-hero-media { aspect-ratio: 4 / 5; max-height: none; }
	.atcg-hero-media img { object-position: center top; }
}
@media (max-width: 560px) {
	.atcg-hero-media { aspect-ratio: 4 / 5; }
}

/* FIX (corrected): the mobile menu is NOT an "ast-mobile-popup-drawer" — that
   class only ever appears in Astra's inline CSS, never in the DOM, so an
   earlier attempt at this matched nothing. The real structure is:

     .ast-mobile-header-wrap
       .ast-mobile-header-content
         .ast-builder-menu-mobile
           .main-header-bar-navigation > .site-navigation > .main-navigation
             ul.main-header-menu

   The links were already white (inherited from the dark desktop bar rule), but
   the panel behind them was white — so the menu rendered as white-on-white and
   looked empty. Darkening the panel is the fix. */

.ast-mobile-header-wrap,
.ast-mobile-header-content,
.ast-builder-menu-mobile,
.ast-builder-menu-mobile .main-header-bar-navigation,
.ast-builder-menu-mobile .main-navigation,
.ast-header-break-point .ast-mobile-header-wrap .main-header-bar-navigation {
	background: var(--atcg-ink) !important;
}

.ast-builder-menu-mobile .main-header-menu .menu-item > a,
.ast-header-break-point .ast-builder-menu-mobile .menu-item > a {
	color: #fff !important;
	background: transparent !important;
	border-bottom: 1px solid var(--atcg-line-dark) !important;
	padding: 16px 20px !important;
	font-size: 17px !important;
}
.ast-builder-menu-mobile .main-header-menu .menu-item > a:hover {
	color: var(--atcg-accent) !important;
}

/* Keep the Ask CTA a button inside the mobile panel. */
.ast-builder-menu-mobile .atcg-nav-cta > a,
.ast-header-break-point .main-header-menu .atcg-nav-cta > a {
	background: var(--atcg-accent) !important;
	color: #fff !important;
	margin: 14px 20px !important;
	border-radius: 6px;
	text-align: center;
	border-bottom: 0 !important;
}

/* Toggle button on the dark bar. */
.ast-mobile-header-wrap .menu-toggle,
.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg { color: #fff !important; fill: #fff !important; }


/* Site tagline in the header, under the name. Reinforces the entity pattern:
   "Andrew Orozco" is the primary name, "The Car Guy" the alias people search. */
.site-header .site-description,
.ast-site-identity .site-description {
	display: block !important;
	font: 700 11px/1 var(--atcg-head) !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: var(--atcg-accent) !important;
	margin-top: 5px !important;
}
.ast-site-title-wrap .site-title { margin-bottom: 0 !important; }

/* Header tagline, rendered by the child theme (see functions.php). */
.atcg-site-tagline {
	display: block;
	font: 700 11px/1 var(--atcg-head);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--atcg-accent);
	margin-top: 6px;
}

/* ==========================================================================
   Mobile menu, third pass — using Astra's OWN selectors verbatim.
   Extracted from its inline CSS rather than guessed:

     .ast-builder-menu-mobile .main-navigation .main-header-menu,
     .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
     .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu
         { background-color: var(--ast-global-color-4); }   <-- the white panel

   Two things earlier passes missed: the panel colour is on the <ul> itself,
   and Astra puts a .menu-link class on the anchors (not a bare `a`), so
   `.menu-item > a` rules were only half-matching.
   ========================================================================== */

.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu,
.ast-builder-menu-mobile .main-navigation .menu-link {
	background-color: var(--atcg-ink) !important;
	background: var(--atcg-ink) !important;
	color: #fff !important;
}

/* Hover and current-page states also repaint white in Astra's CSS. */
.ast-builder-menu-mobile .main-navigation .menu-link:hover,
.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link {
	background-color: var(--atcg-ink-3) !important;
	background: var(--atcg-ink-3) !important;
	color: var(--atcg-accent) !important;
}

/* Separators between items so the dark list has structure. */
.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item > .menu-link {
	border-bottom: 1px solid var(--atcg-line-dark) !important;
	padding: 16px 20px !important;
	font-size: 17px !important;
}

/* The Ask CTA keeps its accent colour and beats the rules above. */
.ast-builder-menu-mobile .main-navigation .atcg-nav-cta > .menu-link,
.ast-builder-menu-mobile .atcg-nav-cta > a {
	background-color: var(--atcg-accent) !important;
	background: var(--atcg-accent) !important;
	color: #fff !important;
	margin: 14px 20px !important;
	border-radius: 6px !important;
	text-align: center;
	border-bottom: 0 !important;
}
.ast-builder-menu-mobile .main-navigation .atcg-nav-cta > .menu-link:hover {
	background-color: var(--atcg-accent-hover) !important;
	color: #fff !important;
}

/* FIX: the Ask CTA was overflowing the right edge of the mobile menu. The
   desktop rule adds margin-left:8px and horizontal padding, which stacked with
   the mobile margins on a full-width block element and pushed it past the
   viewport. Put the spacing on the list item instead, and let the button be a
   border-box block that can never exceed its parent. */

.ast-builder-menu-mobile .main-navigation .atcg-nav-cta {
	padding: 14px 20px !important;
	box-sizing: border-box;
}
.ast-builder-menu-mobile .main-navigation .atcg-nav-cta > .menu-link,
.ast-builder-menu-mobile .atcg-nav-cta > a {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 16px 18px !important;
	border-radius: 6px !important;
	text-align: center !important;
}

/* Nothing in the mobile panel should be able to scroll sideways. */
.ast-mobile-header-content,
.ast-builder-menu-mobile,
.ast-builder-menu-mobile .main-navigation,
.ast-builder-menu-mobile .main-navigation .main-header-menu {
	max-width: 100% !important;
	overflow-x: hidden !important;
}
