/*
 Theme Name:   CarBike Insight GP Child
 Theme URI:    https://carbikeinsight.com
 Description:  Discover-ready, mobile-first child theme for GeneratePress
 Author:       CarBike Insight
 Template:     generatepress
 Version:      1.3.13
 Text Domain:  carbikeinsight-gp-child
*/

/* ==========================================================================
   Design tokens — car / bike / speed
   ========================================================================== */
:root {
	--cbi-bg: #0a0c10;
	--cbi-bg-page: #eef0f4;
	--cbi-surface: #ffffff;
	--cbi-header: #06080c;
	--cbi-text: #12151a;
	--cbi-muted: #5a6270;
	--cbi-chrome: #c8cdd6;
	--cbi-accent: #ff2d2d;
	--cbi-accent-hot: #ff6b00;
	--cbi-accent-hover: #e01919;
	--cbi-ev: #00d4ff;
	--cbi-stripe: linear-gradient(
		105deg,
		var(--cbi-accent) 0%,
		var(--cbi-accent-hot) 45%,
		#ffc400 100%
	);
	--cbi-font-display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
	--cbi-radius: 10px;
	--cbi-content-max: 680px;
	--cbi-tap-min: 44px;
	--cbi-speed-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base & Discover-friendly readability
   ========================================================================== */
body.cbi-theme {
	background-color: var(--cbi-bg-page);
	color: var(--cbi-text);
}

.site-content .content-area {
	max-width: 100%;
}

.entry-content {
	max-width: var(--cbi-content-max);
}

.cbi-theme .entry-title,
.cbi-theme .site-branding .main-title,
.cbi-theme .cbi-section-title,
.cbi-theme .cbi-hero-band h1 {
	font-family: var(--cbi-font-display);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cbi-theme .entry-title {
	text-transform: none;
	letter-spacing: -0.01em;
}

/* Header — carbon bar + racing stripe */
.cbi-theme .site-header {
	position: relative;
	background: linear-gradient(180deg, #12151c 0%, var(--cbi-header) 100%) !important;
	background-color: var(--cbi-header) !important;
	border-bottom: none;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.cbi-theme .site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 18px,
		rgba(255, 255, 255, 0.025) 18px,
		rgba(255, 255, 255, 0.025) 19px
	);
	pointer-events: none;
}

.cbi-theme .site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--cbi-stripe);
	box-shadow: 0 0 18px rgba(255, 45, 45, 0.55);
}

.cbi-theme .site-branding .main-title a {
	font-family: var(--cbi-font-display);
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff !important;
	text-shadow: 0 0 24px rgba(255, 107, 0, 0.25);
}

.cbi-theme .site-branding .cbi-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none !important;
}

.cbi-theme .site-branding .cbi-logo {
	display: block;
	width: min(280px, 72vw);
	height: auto;
	max-height: 52px;
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
	transition: filter 0.25s var(--cbi-speed-ease), transform 0.25s var(--cbi-speed-ease);
}

.cbi-theme .site-branding .cbi-logo-link:hover .cbi-logo {
	filter: drop-shadow(0 4px 18px rgba(255, 107, 0, 0.45));
	transform: translateY(-1px);
}

@media (max-width: 480px) {
	.cbi-theme .site-branding .cbi-logo {
		width: min(240px, 78vw);
		max-height: 44px;
	}
}

/* Beat GeneratePress inline nav colors (white bar + light text = invisible) */
.cbi-theme .inside-navigation,
.cbi-theme .main-navigation,
.cbi-theme .main-navigation ul ul,
.cbi-theme #site-navigation,
.cbi-theme #site-navigation.toggled,
.cbi-theme .mobile-menu-control-wrapper .menu-toggle,
.cbi-theme .has-inline-mobile-toggle #site-navigation.toggled {
	background-color: transparent !important;
}

.cbi-theme .main-navigation .main-nav ul li a,
.cbi-theme .main-navigation a,
.cbi-theme .main-navigation .menu-toggle,
.cbi-theme .main-navigation .menu-bar-items,
.cbi-theme .site-header .menu-toggle {
	color: #e8eaef !important;
	font-family: var(--cbi-font-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	position: relative;
}

.cbi-theme .main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: #ffffff !important;
}

.cbi-theme .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.cbi-theme .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.cbi-theme .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a {
	color: #ffffff !important;
}

.cbi-theme .main-navigation ul ul {
	background-color: #12151c !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.cbi-theme .main-navigation ul ul li a {
	color: #e8eaef !important;
}

.cbi-theme .main-navigation .main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.35rem;
	width: 100%;
	height: 2px;
	background: var(--cbi-stripe);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--cbi-speed-ease);
}

.cbi-theme .main-navigation .main-nav > ul > li > a:hover::after,
.cbi-theme .main-navigation .main-nav > ul > li.current-menu-item > a::after {
	transform: scaleX(1);
}

.cbi-theme .main-navigation a:hover,
.cbi-theme .site-branding .main-title a:hover {
	color: #fff !important;
}

/* Category pills — pit-lane badges */
.cbi-cat-pill,
.entry-meta .cat-links a {
	display: inline-block;
	padding: 0.3em 0.75em;
	font-family: var(--cbi-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: var(--cbi-stripe);
	color: #0a0c10 !important;
	border-radius: 3px;
	text-decoration: none;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(255, 45, 45, 0.25);
}

.entry-meta .cat-links a:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.category-evs .entry-meta .cat-links a,
.cbi-cat-pill--ev {
	background: linear-gradient(105deg, #0077b6, var(--cbi-ev));
	color: #fff !important;
	box-shadow: 0 2px 12px rgba(0, 212, 255, 0.35);
}

/* Archive cards — speed card lift */
.cbi-card-grid .post,
.blog .post,
.archive .post {
	position: relative;
	background: var(--cbi-surface);
	border-radius: var(--cbi-radius);
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s var(--cbi-speed-ease), transform 0.3s var(--cbi-speed-ease);
}

.cbi-card-grid .post::before,
.blog .post::before,
.archive .post::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--cbi-stripe);
	z-index: 2;
}

.cbi-card-grid .post:hover,
.blog .post:hover,
.archive .post:hover {
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.cbi-theme .post-image img {
	transition: transform 0.45s var(--cbi-speed-ease);
}

.cbi-theme .post:hover .post-image img {
	transform: scale(1.04);
}

.blog .post .inside-article,
.archive .post .inside-article {
	padding: 1rem 1.25rem 1.25rem;
}

.blog .post .entry-title a,
.archive .post .entry-title a {
	color: var(--cbi-text);
	transition: color 0.2s ease;
}

.blog .post .entry-title a:hover,
.archive .post .entry-title a:hover {
	color: var(--cbi-accent);
}

/* Mobile-first: single column archives */
@media (max-width: 767px) {
	.blog .site-main,
	.archive .site-main {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}

	.blog .post,
	.archive .post {
		width: 100%;
		margin-bottom: 0;
	}
}

@media (min-width: 768px) {
	.blog .site-main,
	.archive .site-main {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.blog .post,
	.archive .post {
		margin-bottom: 0;
	}
}

/* Sidebar: mobile Discover landing = no sidebar beside content */
@media (max-width: 1023px) {
	.right-sidebar .sidebar,
	.left-sidebar .sidebar {
		order: 2;
		width: 100%;
		margin-top: 2rem;
	}

	.right-sidebar .content-area,
	.left-sidebar .content-area {
		width: 100%;
	}

	.site-content .content-area,
	.site-content .sidebar {
		float: none;
		display: block;
	}
}

/* Homepage hero — bright photo layer (::before); text on readable chips, no full dark wash */
.cbi-hero-band {
	position: relative;
	isolation: isolate;
	min-height: clamp(240px, 42vw, 380px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0.35rem;
	color: #fff;
	padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
	margin-bottom: 2rem;
	overflow: hidden;
	background-color: #6b7588;
	background-image: none;
}

.cbi-hero-band::before {
	content: "";
	position: absolute;
	inset: -2%;
	z-index: 0;
	background-image: url("assets/carbikeinsight-hero.jpg");
	background-size: cover;
	background-position: 58% center;
	background-repeat: no-repeat;
	filter: brightness(1.2) contrast(1.06) saturate(1.1);
	pointer-events: none;
}

.cbi-hero-band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	height: 4px;
	background: var(--cbi-stripe);
	box-shadow: 0 0 24px rgba(255, 107, 0, 0.45);
	pointer-events: none;
}

.cbi-hero-band > * {
	position: relative;
	z-index: 2;
	max-width: 640px;
}

.cbi-hero-band h1 {
	color: #fff;
	margin: 0;
	padding: 0.2em 0.65em;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.08;
	background: rgba(8, 10, 14, 0.48);
	border-radius: 6px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.cbi-hero-band p {
	color: #fff;
	margin: 0;
	padding: 0.35em 0.65em;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	background: rgba(8, 10, 14, 0.42);
	border-radius: 6px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767px) {
	.cbi-hero-band {
		min-height: 260px;
	}

	.cbi-hero-band::before {
		background-position: 52% center;
	}
}

/* Review rating badge */
.cbi-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	margin: 0 0 1rem;
	font-family: var(--cbi-font-display);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--cbi-header);
	color: #fff;
	border-left: 4px solid var(--cbi-accent-hot);
	border-radius: 0 var(--cbi-radius) var(--cbi-radius) 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Spec & comparison tables (patterns) */
.cbi-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0;
	border-radius: var(--cbi-radius);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cbi-table-scroll table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.cbi-table-scroll th,
.cbi-table-scroll td {
	padding: 0.65rem 0.75rem;
	border: 1px solid #dee2e6;
	text-align: left;
}

.cbi-table-scroll th {
	background: var(--cbi-header);
	color: #fff;
	font-family: var(--cbi-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
}

.cbi-table-scroll tr:nth-child(even) td {
	background: #f1f3f5;
}

.cbi-comparison-table th:first-child,
.cbi-comparison-table td:first-child {
	position: sticky;
	left: 0;
	background: var(--cbi-surface);
	z-index: 1;
	font-weight: 600;
}

.cbi-comparison-table th:first-child {
	background: var(--cbi-header);
}

/* Review pros/cons */
.cbi-pros-cons {
	display: grid;
	gap: 1rem;
	margin: 1.5rem 0;
}

@media (min-width: 600px) {
	.cbi-pros-cons {
		grid-template-columns: 1fr 1fr;
	}
}

.cbi-pros,
.cbi-cons {
	padding: 1rem 1.25rem;
	border-radius: var(--cbi-radius);
}

.cbi-pros {
	background: linear-gradient(135deg, #e8f8ec, #d8f3dc);
	border-left: 4px solid #2d6a4f;
}

.cbi-cons {
	background: linear-gradient(135deg, #fff0f0, #ffe5e5);
	border-left: 4px solid var(--cbi-accent);
}

.cbi-pros h3,
.cbi-cons h3 {
	margin-top: 0;
	font-size: 1rem;
	font-family: var(--cbi-font-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Buttons — launch CTA */
.cbi-theme .wp-block-button__link,
.cbi-theme a.button,
.cbi-theme button,
.cbi-theme input[type="submit"] {
	font-family: var(--cbi-font-display);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 4px;
	transition: transform 0.2s var(--cbi-speed-ease), box-shadow 0.2s ease;
}

.cbi-theme .wp-block-button__link {
	background: var(--cbi-stripe) !important;
	color: #0a0c10 !important;
	border: none;
	box-shadow: 0 4px 14px rgba(255, 45, 45, 0.35);
}

.cbi-theme .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(255, 107, 0, 0.4);
}

/* Tap targets (mobile-first) */
.main-navigation .menu-toggle,
.main-navigation a,
button,
.wp-block-button__link {
	min-height: var(--cbi-tap-min);
}

/* Featured image: reduce CLS */
.post-image img,
.entry-content img {
	height: auto;
}

/* Section titles — chevron speed marker */
.cbi-section-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: clamp(1.15rem, 3vw, 1.45rem);
	margin: 2rem 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: none;
	color: var(--cbi-text);
}

.cbi-section-title::before {
	content: "";
	flex-shrink: 0;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 14px solid var(--cbi-accent);
	filter: drop-shadow(0 0 6px rgba(255, 45, 45, 0.5));
}

.cbi-section-title::after {
	content: "";
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, var(--cbi-accent), transparent);
}

.cbi-view-all {
	font-family: var(--cbi-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-left: 0.5rem;
	color: var(--cbi-accent);
}

.cbi-view-all:hover {
	color: var(--cbi-accent-hot);
}

/* Footer */
.cbi-theme .site-footer {
	background: var(--cbi-header);
	color: var(--cbi-chrome);
	border-top: 4px solid transparent;
	border-image: var(--cbi-stripe) 1;
}

.cbi-footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.cbi-footer-nav a {
	color: var(--cbi-chrome);
	text-decoration: none;
	min-height: var(--cbi-tap-min);
	display: inline-flex;
	align-items: center;
	font-family: var(--cbi-font-display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
}

.cbi-footer-nav a:hover {
	color: #fff;
}

.cbi-legal-nav {
	margin: 0 0 0.75rem;
}

.cbi-legal-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbi-legal-nav a {
	color: var(--cbi-chrome);
	font-family: var(--cbi-font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.cbi-legal-nav a:hover {
	color: #fff;
}

/* Copyright bar (GeneratePress .site-info sits below widgets / legal nav) */
.cbi-theme .site-info {
	background-color: var(--cbi-header) !important;
	color: var(--cbi-chrome) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cbi-theme .site-info .inside-site-info {
	color: inherit;
}

.cbi-theme .site-info .copyright-bar,
.cbi-theme .site-info .copyright-bar a {
	color: #e8eaef !important;
}

.cbi-theme .site-info .copyright-bar a:hover {
	color: #fff !important;
}

.cbi-author-archive {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem 1.5rem;
	max-width: 42rem;
	margin: 0 0 2rem;
	padding: 1.25rem 1.35rem;
	background: var(--cbi-surface);
	border-radius: var(--cbi-radius);
	border-left: 4px solid var(--cbi-accent-hot);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cbi-author-archive__photo-wrap {
	flex-shrink: 0;
}

.cbi-author-archive__photo {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: cover;
	object-position: center 15%;
	border-radius: 50%;
	border: 3px solid rgba(255, 107, 0, 0.35);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (min-width: 480px) {
	.cbi-author-archive__photo {
		width: 160px;
		height: 160px;
	}
}

.cbi-author-archive__text {
	flex: 1;
	min-width: min(100%, 16rem);
}

.cbi-author-archive__name {
	margin: 0 0 0.25rem;
	font-family: var(--cbi-font-display);
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--cbi-text);
}

.cbi-author-archive__role {
	margin: 0 0 0.75rem;
	font-family: var(--cbi-font-display);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cbi-accent-hot);
}

.cbi-author-archive__bio {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--cbi-text);
}

.cbi-author-archive__bio p {
	margin: 0 0 0.75rem;
}

.cbi-author-archive__bio p:last-child {
	margin-bottom: 0;
}

.cbi-author-social {
	margin: 0 0 1rem;
}

.cbi-author-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbi-author-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--cbi-tap-min);
	height: var(--cbi-tap-min);
	border-radius: 50%;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--cbi-header);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition:
		transform 0.2s var(--cbi-speed-ease),
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.cbi-author-social__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
	color: #fff !important;
}

.cbi-author-social__link--instagram:hover {
	background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.cbi-author-social__link--facebook:hover {
	background: #1877f2;
}

.cbi-author-social__icon {
	width: 1.35rem;
	height: 1.35rem;
	display: block;
}

/* Comments disabled — collapse any leftover markup from cache/plugins */
.single .comments-area,
.single #comments,
.single #respond,
.single .comment-respond,
.page .comments-area,
.page #respond {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

.cbi-discover-meta .entry-meta {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: var(--cbi-muted);
}

/* Contact form */
.cbi-contact-wrap {
	margin: 1.75rem 0 2.5rem;
	max-width: 36rem;
}

.cbi-contact-notice {
	padding: 0.85rem 1rem;
	margin-bottom: 1.25rem;
	border-radius: var(--cbi-radius);
	font-size: 0.95rem;
	line-height: 1.45;
	border-left: 4px solid;
}

.cbi-contact-notice--success {
	background: linear-gradient(135deg, #e8f8ec, #f4fbf6);
	border-left-color: #2d6a4f;
	color: #1b4332;
}

.cbi-contact-notice--error {
	background: linear-gradient(135deg, #fff0f0, #fff8f8);
	border-left-color: var(--cbi-accent);
	color: #5c1010;
}

.cbi-contact-form {
	position: relative;
	padding: 1.5rem 1.35rem 1.35rem;
	background: var(--cbi-surface);
	border-radius: var(--cbi-radius);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 12px 40px rgba(10, 12, 16, 0.08),
		0 2px 8px rgba(10, 12, 16, 0.04);
	overflow: hidden;
}

.cbi-contact-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--cbi-stripe);
	box-shadow: 0 0 14px rgba(255, 45, 45, 0.35);
}

.cbi-contact-form__grid {
	display: grid;
	gap: 0 1rem;
}

@media (min-width: 540px) {
	.cbi-contact-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.cbi-contact-field {
	margin: 0 0 1.1rem;
}

.cbi-contact-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--cbi-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cbi-muted);
}

.cbi-required {
	color: var(--cbi-accent);
}

.cbi-contact-field input[type="text"],
.cbi-contact-field input[type="email"],
.cbi-contact-field select,
.cbi-contact-field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--cbi-text);
	background: var(--cbi-bg-page);
	border: 1px solid var(--cbi-chrome);
	border-radius: 6px;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s var(--cbi-speed-ease),
		background-color 0.2s ease;
}

.cbi-contact-field textarea {
	min-height: 9rem;
	resize: vertical;
}

.cbi-contact-field input:focus,
.cbi-contact-field select:focus,
.cbi-contact-field textarea:focus {
	outline: none;
	border-color: var(--cbi-accent-hot);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
}

.cbi-contact-honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
}

.cbi-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	min-height: var(--cbi-tap-min);
	padding: 0.65rem 1.75rem;
	font-family: var(--cbi-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	background: var(--cbi-stripe);
	color: #0a0c10 !important;
	box-shadow: 0 4px 14px rgba(255, 45, 45, 0.35);
}

.cbi-contact-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(255, 107, 0, 0.4);
}

.cbi-contact-form__actions {
	margin: 0.25rem 0 0.75rem;
}

.cbi-contact-form__fine {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--cbi-muted);
}

.cbi-contact-form__fine a {
	color: var(--cbi-accent);
	font-weight: 600;
	text-decoration: none;
}

.cbi-contact-form__fine a:hover {
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.cbi-hero-band::after,
	.cbi-theme .post-image img,
	.cbi-card-grid .post,
	.blog .post,
	.archive .post {
		animation: none;
		transition: none;
	}

	.cbi-theme .post:hover .post-image img {
		transform: none;
	}
}
