/* ==========================================================================
   FANG · Texas Firearm Law page
   ========================================================================== */

.tx-law-callout-section { background: var(--bone-2); padding: 48px 0; }
.tx-law-callout {
	background: var(--paper);
	border-left: 4px solid var(--red);
	padding: 28px 32px;
	max-width: 880px;
	margin: 0 auto;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.tx-law-callout p {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.5;
	color: var(--gun);
	margin-top: 12px;
	letter-spacing: 0.005em;
}
.tx-law-disclaimer {
	max-width: 880px;
	margin: 18px auto 0;
	text-align: center;
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fog);
	line-height: 1.6;
}

/* Layout: TOC sidebar + content */
.tx-law-body { background: var(--bone); padding-bottom: 96px; }
.tx-law-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 64px;
	align-items: start;
}
.tx-law-toc {
	position: sticky;
	top: 130px;
	font-size: 14px;
}
.tx-law-toc ol {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	counter-reset: toc;
}
.tx-law-toc li {
	counter-increment: toc;
	border-left: 2px solid rgba(0, 0, 0, 0.10);
	padding-left: 14px;
	margin: 0;
}
.tx-law-toc li a {
	display: block;
	padding: 10px 0;
	color: var(--gun);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.15s ease, border-color 0.15s ease;
	position: relative;
}
.tx-law-toc li a::before {
	content: "/0" counter(toc);
	display: block;
	font-family: var(--f-mono);
	font-size: 10px;
	color: var(--fog);
	letter-spacing: 0.16em;
	margin-bottom: 2px;
}
.tx-law-toc li:nth-child(n+10) a::before { content: "/" counter(toc); }
.tx-law-toc li:hover { border-left-color: var(--red); }
.tx-law-toc li:hover a { color: var(--red); }

.tx-law-cta-card {
	margin-top: 32px;
	padding: 22px 24px;
	background: var(--gun);
	color: var(--bone);
	border-left: 4px solid var(--amber);
}
.tx-law-cta-card h4 { color: var(--bone); margin-top: 8px; }
.tx-law-cta-card p { color: #b8b3a6; font-size: 13px; margin-top: 8px; line-height: 1.5; }
.tx-law-cta-card .btn { width: 100%; justify-content: center; margin-top: 14px; }

/* Content sections */
.tx-law-content { max-width: 760px; }
.tx-law-content > section { padding: 40px 0 56px; border-top: 1px solid rgba(0, 0, 0, 0.10); }
.tx-law-content > section:first-child { border-top: 0; padding-top: 24px; }
.tx-law-content h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.tx-law-content h3 {
	font-size: 18px;
	letter-spacing: 0.02em;
	color: var(--gun);
	margin-top: 28px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--gun);
}
.tx-law-content p { font-size: 16px; line-height: 1.7; color: var(--gun); margin-top: 14px; }
.tx-law-content p strong { color: var(--gun); font-weight: 700; }
.tx-law-content a { color: var(--red); border-bottom: 1px solid var(--red); }

.tx-law-list {
	list-style: none;
	padding: 0;
	margin: 14px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tx-law-list li {
	font-size: 15px;
	line-height: 1.6;
	color: var(--gun);
	padding-left: 22px;
	position: relative;
}
.tx-law-list li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--red);
	font-weight: 700;
}
.tx-law-list--warn li::before { color: var(--red); content: "✕"; }
.tx-law-list--links li { padding-left: 0; }
.tx-law-list--links li::before { content: ""; }
.tx-law-list--links li a { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; }

.tx-law-deflist {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 8px 24px;
	margin: 18px 0;
	padding: 18px 22px;
	background: var(--bone-2);
	border-left: 3px solid var(--gun);
	font-size: 14px;
	line-height: 1.5;
}
.tx-law-deflist dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); padding-top: 2px; }
.tx-law-deflist dd { margin: 0; color: var(--gun); }

.tx-law-note {
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--fog);
	margin-top: 16px;
	padding: 10px 14px;
	background: var(--bone-2);
	border-left: 3px solid var(--amber);
}
.tx-law-note a { font-family: var(--f-body); font-size: 13px; }

/* Warn section (where you cannot carry) */
.tx-law-warn-section { background: rgba(178, 34, 52, 0.04); margin: 0 -24px; padding: 40px 24px 56px !important; border-top: 4px solid var(--red) !important; }

/* Comparison table */
.tx-law-table-wrap { overflow-x: auto; margin: 18px 0; }
.tx-law-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.tx-law-table thead th {
	background: var(--gun);
	color: var(--bone);
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	padding: 14px 18px;
	text-align: left;
}
.tx-law-table tbody td {
	padding: 14px 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--gun);
	line-height: 1.5;
}
.tx-law-table tbody tr:nth-child(odd) td { background: var(--bone-2); }
.tx-law-table tbody td:first-child { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 13px; }

/* Final CTA */
.tx-law-final-cta {
	background: var(--gun);
	color: var(--bone);
	padding: 56px 48px !important;
	border-top: 4px solid var(--red) !important;
	margin-top: 48px;
}
.tx-law-final-cta h2 { color: var(--bone); }
.tx-law-final-cta p { color: #c9c4b6; }

.tx-law-disclaimer-bottom {
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fog);
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(0, 0, 0, 0.10);
}

@media (max-width: 1100px) {
	.tx-law-layout { grid-template-columns: 1fr; gap: 32px; }
	.tx-law-toc { position: static; }
	.tx-law-toc ol { display: grid; grid-template-columns: 1fr 1fr; }
	.tx-law-cta-card { display: none; }
}
@media (max-width: 768px) {
	.tx-law-callout { padding: 22px 24px; }
	.tx-law-deflist { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
	.tx-law-deflist dd { padding-bottom: 12px; }
	.tx-law-warn-section { margin: 0; padding: 32px 18px 40px !important; }
	.tx-law-toc ol { grid-template-columns: 1fr; }
	.tx-law-final-cta { padding: 36px 24px !important; }
	.tx-law-content > section { padding: 32px 0 40px; }
}
