/* ==========================================================================
   Fixrn programmatic pages — single-fixrn_service.php + taxonomy-fixrn_state.php
   Loaded only on those two templates (see inc/enqueue.php).
   ========================================================================== */

/* --- Same hard override as static-pages.css, extended to CPT/taxonomy
   views so Kadence's default entry header/width never shows through. --- */
.fixrn-service-page,
.fixrn-service-page .entry-content,
.fixrn-state-hub .entry-content {
	max-width: none !important;
	padding: 0 !important;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.fixrn-breadcrumbs {
	padding: 16px 0 0;
}

.fixrn-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: #64748B;
}

.fixrn-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: #CBD5E1;
}

.fixrn-breadcrumbs a {
	color: #0D9488;
	text-decoration: none;
}

.fixrn-breadcrumbs a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Service page layout — main column + sticky sidebar
   ========================================================================== */

.fixrn-service-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	padding: 40px 24px 64px;
}

@media (max-width: 860px) {
	.fixrn-service-layout { grid-template-columns: 1fr; padding: 32px 20px 48px; }
}

.fixrn-service-main h1 {
	font-size: clamp(26px, 3.5vw, 36px);
	margin-bottom: 16px;
}

.fixrn-service-intro {
	font-size: 17px;
	line-height: 1.7;
	color: #334155;
	margin-bottom: 32px;
}

.fixrn-service-main section {
	margin-bottom: 40px;
}

.fixrn-service-main h2 {
	font-size: 22px;
	margin-bottom: 16px;
}

.fixrn-why-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 700px) {
	.fixrn-why-cards { grid-template-columns: 1fr; }
}

.fixrn-why-card {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	padding: 20px;
}

.fixrn-why-card h3 {
	font-size: 16px;
	margin: 0 0 8px;
}

.fixrn-why-card p {
	font-size: 14px;
	color: #64748B;
	margin: 0;
}

.fixrn-issue-list {
	padding-left: 20px;
}

.fixrn-issue-list li {
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	margin-bottom: 6px;
}

.fixrn-faq-item {
	border-bottom: 1px solid #E2E8F0;
	padding: 16px 0;
}

.fixrn-faq-item h3 {
	font-size: 16px;
	margin: 0 0 6px;
}

.fixrn-faq-item p {
	font-size: 14px;
	color: #64748B;
	margin: 0;
}

/* --- Sidebar --- */

.fixrn-service-sidebar {
	align-self: start;
	position: sticky;
	top: 24px;
}

.fixrn-cta-card {
	background: #1E293B;
	color: #fff;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	margin-bottom: 20px;
}

.fixrn-cta-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.fixrn-cta-card p {
	font-size: 14px;
	color: #CBD5E1;
	margin: 0 0 16px;
}

.fixrn-cta-button {
	display: inline-block;
	background: #0D9488;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}

.fixrn-cta-button:hover {
	background: #0F766E;
}

/* ==========================================================================
   State hub — city grid
   ========================================================================== */

.fixrn-state-intro {
	font-size: 16px;
	color: #334155;
	margin: 24px 0 32px;
}

.fixrn-city-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

@media (max-width: 860px) {
	.fixrn-city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.fixrn-city-grid { grid-template-columns: 1fr; }
}

.fixrn-city-card {
	display: block;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fixrn-city-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.fixrn-city-card__img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.fixrn-city-card__title {
	font-size: 15px;
	font-weight: 600;
	padding: 14px 16px;
	margin: 0;
	color: #1E293B;
}

.fixrn-city-grid__ad {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
}
