/*
 * Barndo County Pages: styled from the Barndo Kits v2 child theme palette.
 * Every color reads the child theme's own CSS variables (--navy, --sky, --ice ...),
 * so each state site's colors carry over automatically. The hex values after each
 * variable are fallbacks matching kentucky-barndo-child, used only if a theme lacks them.
 */

.bcp-county .inside-article,
.bcp-content-area .inside-article {
	max-width: 900px;
	margin: 0 auto;
	background: transparent;
	padding-top: 0;
}

/* Headings use the theme's heading font (Archivo) and navy. */
.bcp-county h1,
.bcp-county h2,
.bcp-county h3,
.bcp-index h2 {
	font-family: Archivo, sans-serif;
	color: var(--navy, #0f2a44);
	line-height: 1.2;
}
.bcp-county h2,
.bcp-index h2 {
	font-size: clamp(1.45em, 4.5vw, 1.9em);
	margin: 0 0 .6em;
}
.bcp-county h3 { font-size: 1.15em; margin: 0 0 .5em; }
.bcp-county p { margin: 0 0 .9em; color: var(--text-dark, #1a2633); }

/* Hero band: same navy gradient as the homepage hero. */
.bcp-hero {
	background: linear-gradient(135deg, var(--navy, #0f2a44) 0%, var(--navy-light, #1a3a5c) 50%, var(--steel-blue, #3d6b99) 100%);
	color: var(--white, #fff);
	border-radius: 8px;
	padding: clamp(1.5em, 5vw, 3em) clamp(1.2em, 5vw, 2.8em);
	margin: 1.5em 0 2em;
}
.bcp-county .bcp-hero h1 {
	color: var(--white, #fff);
	font-size: clamp(1.9em, 6vw, 3em);
	margin: 0 0 .5em;
	overflow-wrap: break-word;
	hyphens: auto;
}
.bcp-county .bcp-hero p { color: var(--ice, #e8f4fc); }
.bcp-answer { font-size: 1.15em; line-height: 1.55; }
.bcp-county .bcp-verified { font-size: .9em; color: var(--sky-light, #89c4f4); margin: 0; }

/* Content sections sit on white cards over the ice-blue page background. */
.bcp-county section,
.bcp-county .bcp-related {
	background: var(--white, #fff);
	border: 1px solid var(--silver, #c5d3e0);
	border-radius: 8px;
	padding: clamp(1.2em, 4vw, 2em);
	margin: 0 0 1.5em;
}

/* Tables */
.bcp-county table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
	border: 1px solid var(--silver, #c5d3e0);
	border-radius: 6px;
	overflow: hidden;
}
.bcp-county th,
.bcp-county td {
	text-align: left;
	padding: .7em .9em;
	border: 0;
	border-bottom: 1px solid var(--silver, #c5d3e0);
	vertical-align: top;
	color: var(--text-dark, #1a2633);
}
.bcp-county thead th { background: var(--navy, #0f2a44); color: var(--white, #fff); }
.bcp-facts th { width: 42%; font-weight: 600; background: var(--ice, #e8f4fc); color: var(--navy, #0f2a44); }
.bcp-county tr:last-child th,
.bcp-county tr:last-child td { border-bottom: 0; }

/* Statewide rules callout */
.bcp-statewide {
	background: var(--ice, #e8f4fc);
	border-left: 4px solid var(--sky, #5a9fd4);
	border-radius: 0 6px 6px 0;
	padding: 1em 1.2em;
	margin-top: 1.2em;
}
.bcp-statewide p:last-child { margin-bottom: 0; }

.bcp-county a:not(.bcp-btn):not(.btn-primary) { color: var(--steel-blue, #3d6b99); }
.bcp-county a:not(.bcp-btn):not(.btn-primary):hover { color: var(--navy, #0f2a44); }
.bcp-county .bcp-note { font-size: .9em; color: var(--text-muted, #4a5f73); }

/* Buttons: same look as the theme's .btn-primary ("Get Your Free Quote"). */
.bcp-cta { margin: 1.6em 0; text-align: center; }
.bcp-county section .bcp-cta { margin-bottom: 0; }
.bcp-btn {
	display: inline-block;
	background: var(--sky, #5a9fd4);
	color: var(--white, #fff) !important;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	transition: all .2s ease;
}
.bcp-btn:hover,
.bcp-btn:focus {
	background: var(--sky-light, #89c4f4);
	color: var(--navy, #0f2a44) !important;
	transform: translateY(-2px);
}

.bcp-ad { margin: 0 0 1.5em; text-align: center; min-height: 1px; }

/* FAQ */
.bcp-faq details { border-bottom: 1px solid var(--silver, #c5d3e0); padding: .9em 0; }
.bcp-faq details:last-child { border-bottom: 0; }
.bcp-faq summary { cursor: pointer; font-weight: 600; color: var(--navy, #0f2a44); }
.bcp-faq summary::marker { color: var(--sky, #5a9fd4); }
.bcp-faq details p { margin: .6em 0 0; color: var(--text-muted, #4a5f73); }

/* Related counties and hub: same tile style as the homepage city links. */
.bcp-related ul,
.bcp-index ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: .6em;
}
.bcp-related a,
.bcp-index a {
	display: block;
	background: var(--white, #fff);
	color: var(--navy, #0f2a44) !important;
	border: 1px solid var(--silver, #c5d3e0);
	border-radius: 6px;
	padding: .8em 1em;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
}
.bcp-related a:hover,
.bcp-index a:hover { border-color: var(--sky, #5a9fd4); background: var(--ice, #e8f4fc); }

.bcp-index section { margin-bottom: 2em; }
.bcp-index .bcp-soon {
	padding: .8em 1em;
	color: var(--silver-dark, #9fb3c8);
	border: 1px dashed var(--silver, #c5d3e0);
	border-radius: 6px;
}
.bcp-index-count { font-weight: 600; color: var(--text-muted, #4a5f73); }
