/* GA Defense — Inner page styles. Loaded on single CPT views. */

/* ── HERO INNER ── */
.hero-inner { background: var(--navy); padding: 72px 0 60px; position: relative; overflow: hidden; }
.hero-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
	pointer-events: none;
}
.hero-inner h1 { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.06; margin-bottom: 18px; position: relative; }
/* Hero/CTA em: not italic — use weight + gold color for emphasis (Stack C). */
.hero-inner h1 em { font-style: normal; color: var(--gold); }
.hero-inner .hero-sub { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.78); max-width: 640px; line-height: 1.55; margin-bottom: 32px; position: relative; }
.hero-inner .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Outline-button "light" variant — used in inner page hero only */
.btn-outline.light { border-color: rgba(255,255,255,0.32); color: rgba(255,255,255,0.92); }
.btn-outline.light:hover { border-color: var(--gold); color: var(--gold); }

/* ── PAGE LAYOUT ── */
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; }
.page-content h2 { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin: 40px 0 14px; line-height: 1.15; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 32px 0 10px; line-height: 1.25; }
.page-content p { font-size: 17px; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.page-content ul { margin: 12px 0 20px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.page-content ul li { font-size: 17px; color: var(--text); padding-left: 24px; position: relative; line-height: 1.55; }
.page-content ul li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 6px; }
.page-content ol { margin: 12px 0 20px 24px; padding-left: 0; }
.page-content ol li { font-size: 17px; color: var(--text); line-height: 1.55; margin-bottom: 8px; }
.page-content strong { color: var(--navy); font-weight: 700; }
/*
 * Inline text-link styling — applied ONLY to anchors without a class.
 * The Gutenberg editor wraps loose elements in <p>, so a selector like
 * `.page-content p a` (specificity 0,1,2) beats `.btn-primary` (0,1,0)
 * and would turn gold buttons gold-on-gold and underline phone CTAs. The
 * `:not([class])` exclusion makes any classed component (.btn-primary,
 * .btn-outline, .mini-cta-phone, .practice-link, .directions-mini, …)
 * immune from this rule and free to keep its own styling.
 */
.page-content p a:not([class]),
.page-content li a:not([class]),
.page-content blockquote a:not([class]) { color: var(--gold); text-decoration: underline; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--warm); border: 1px solid #EDE5D6; border-radius: 6px; padding: 28px 24px; }
.sidebar-card.dark { background: var(--navy); border-color: var(--border); }
.sidebar-card-title { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 6px; }
.sidebar-card.dark .sidebar-card-title { color: #fff; }
.sidebar-card-sub { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.sidebar-phone { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold); text-decoration: none; margin-bottom: 6px; }
.sidebar-available { font-family: var(--f-ui); font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; display: block; }

/* Sidebar form */
.sidebar-form .form-field { margin-bottom: 12px; display: flex; flex-direction: column; }
.sidebar-form .form-field label { display: block; font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.sidebar-card.dark .sidebar-form .form-field label { color: rgba(255,255,255,0.7); }
.sidebar-form .form-field input,
.sidebar-form .form-field select {
	width: 100%;
	background: #fff;
	border: 1px solid #EDE5D6;
	border-radius: 3px;
	padding: 10px 12px;
	font-family: var(--f-body);
	font-size: 14px;
	color: var(--text);
	outline: none;
	transition: border-color 0.2s;
}
.sidebar-card.dark .sidebar-form .form-field input,
.sidebar-card.dark .sidebar-form .form-field select {
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.12);
	color: #fff;
}
.sidebar-form .form-field input:focus,
.sidebar-form .form-field select:focus { border-color: var(--gold); }
.sidebar-btn { width: 100%; background: var(--gold); border: none; color: var(--navy); font-family: var(--f-ui); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px; border-radius: 3px; cursor: pointer; margin-top: 4px; transition: background 0.2s; }
.sidebar-btn:hover { background: var(--gold2); }
.sidebar-note { text-align: center; font-family: var(--f-ui); font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 8px; }
.sidebar-card.dark .sidebar-note { color: rgba(255,255,255,0.65); }

/* Practice nav (sidebar list of related practice areas) */
.practice-nav { list-style: none; display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; }
.practice-nav li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #EDE5D6; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; transition: color 0.2s; }
.practice-nav li:last-child a { border-bottom: none; }
.practice-nav li a:hover { color: var(--gold); }
.practice-nav li a span { color: var(--gold); font-size: 12px; }

.sidebar-meta-label {
	font-family: var(--f-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 16px;
}
.sidebar-card.dark .sidebar-meta-label { color: var(--gold); }

/* Office address (sidebar dark card) */
.address-mini { display: flex; flex-direction: column; gap: 10px; }
.address-mini-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.address-mini-row strong { color: var(--gold); font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.directions-mini {
	display: inline-block;
	margin-top: 16px;
	font-family: var(--f-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
}

/* ── CALLOUT BOX ── */
.callout { background: rgba(201,168,76,0.08); border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0; padding: 20px 24px; margin: 24px 0; }
.callout p { font-size: 16px; color: var(--text); margin: 0; line-height: 1.6; }
.callout-title { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

/* ── INFO CARDS GRID ── */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.info-card { background: var(--navy3); border: 1px solid var(--border); border-radius: 6px; padding: 24px 20px; }
.info-card h3, .info-card h4 { font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -0.015em; color: #fff; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.55; margin: 0; }

/* ── MINI CTA (in-content call-out block) ── */
.mini-cta { background: var(--navy); border-radius: 6px; padding: 40px 36px; text-align: center; margin: 40px 0; }
.mini-cta h3 { font-family: var(--f-display); font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin-bottom: 10px; }
.mini-cta p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.55; }
.mini-cta-phone { font-family: var(--f-display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold); text-decoration: none; display: block; margin-bottom: 8px; }
.mini-cta-avail { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 20px; display: block; }

/* ── BLOG INDEX CARDS ── */
.blog-list { display: grid; gap: 24px; }
.blog-card { background: var(--warm); border: 1px solid #EDE5D6; border-radius: 6px; padding: 28px; transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s; }
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.06); border-color: var(--gold); transform: translateY(-1px); }
.blog-card-eyebrow {
	font-family: var(--f-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 8px;
}
.blog-card h2 { font-family: var(--f-display); font-size: 24px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 10px; }
.blog-card h2 a { color: var(--navy); text-decoration: none; }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-card-foot { display: flex; align-items: center; justify-content: space-between; }
.blog-card-foot time { font-family: var(--f-ui); font-size: 12px; font-weight: 500; color: var(--muted); }
.blog-card-foot a {
	font-family: var(--f-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
}
.blog-pager { margin-top: 32px; display: flex; gap: 12px; justify-content: center; }
.blog-pager a, .blog-pager span {
	font-family: var(--f-ui);
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border: 1px solid #EDE5D6;
	border-radius: 3px;
	color: var(--text);
	text-decoration: none;
}
.blog-pager .current { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* ── INNER PAGE RESPONSIVE ── */
@media (max-width: 960px) {
	.page-grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.info-grid { grid-template-columns: 1fr; }
}
