/**
 * Carman Wheel — front-end (mirrors Nuxt + Tailwind layout).
 */

/* --- Base reset --- */
html, body {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #111827;
	/*color: #a9a9a9;*/
}

img {
	max-width: 100%;
	height: auto;
}

/* --- Header --- */
.carman-header {
	background: #000;
	color: #fff;
}

.carman-header__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	align-items: center;
	gap: 2.5rem;
	min-height: 5rem;
}

.carman-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	color: #fff;
   font-size: 28px;
	text-decoration: none;
}

.carman-header__logo .custom-logo-link,
.carman-header__logo img {
	display: block;
	max-height: 2rem;
	width: auto;
	margin-right:10px;
	border-radius:5px;
}

.carman-header__logo-img {
	display: block;
	width: 10rem;
	height: 3rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.carman-header__nav {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.carman-header__nav {
		display: flex;
	}
}

.carman-header__link {
	color: #e5e7eb;
	text-decoration: none;
	transition: color 0.15s ease;
}

.carman-header__link:hover {
	color: #bef264;
}

.carman-header__link.is-active {
	color: #a3e635;
}

.carman-header__lang {
	margin-left: auto;
}

.carman-header__lang select {
	background: transparent;
	color: #e5e7eb;
	border: 1px solid #4b5563;
	border-radius: 0.25rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	cursor: pointer;
}

.carman-header__lang select:hover {
	background: #1f2937;
}

/* --- Front hero --- */
.carman-hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	background: #000;
	color: #fff;
	max-width: 100%;
}

.carman-hero[style*="--carman-hero-bg"] {
	background-image: none;
	background-repeat: no-repeat;
	background-size: 90% auto;
	background-position: 160% 18%;
}

@media (min-width: 640px) {
	.carman-hero[style*="--carman-hero-bg"] {
		background-image: var(--carman-hero-bg);
		background-size: 90% auto;
		background-position: 160% 18%;
	}
}

.carman-hero__shell {
	width: 91.666667%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

.carman-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 0;
	padding-top: 0;
}

@media (min-width: 640px) {
	.carman-hero__content {
		align-items: flex-start;
		width: 50%;
		margin-top: 3.5rem;
	}
}

@media (min-width: 1024px) {
	.carman-hero__content {
		width: 50%;
	}
}

.carman-hero__h1 {
	font-size: 1.875rem;
	line-height: 3rem;
	font-weight: 700;
	margin: 0 0 1rem;
	text-align: center;
}

@media (min-width: 640px) {
	.carman-hero__h1 {
		font-size: 3.75rem;
		line-height: 5.5rem;
		text-align: left;
	}
}

.carman-hero__lead {
	font-size: 1.25rem;
	line-height: 1.65rem;
	opacity: 0.6;
	margin: 0 0 2rem;
	display: none;
}

@media (min-width: 640px) {
	.carman-hero__lead {
		display: block;
	}
}

.carman-hero__grid {
	max-width: 36rem;
	width: 100%;
	font-size: 0.75rem;
	overflow: hidden;
}

@media (min-width: 640px) {
	.carman-hero__grid {
		font-size: 1rem;
		max-width: 36rem;
	}
}

.carman-hero__feat {
	float: left;
	width: 50%;
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	padding-left: 0.75rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.carman-hero__feat:nth-child(odd) {
		padding-left: 0;
	}
}

.carman-hero__feat img {
	width: 1rem;
	height: auto;
	flex-shrink: 0;
}

@media (min-width: 640px) {
	.carman-hero__feat img {
		width: 1.5rem;
	}
}

.carman-hero__feat span {
	margin-left: 0.5rem;
}

.carman-hero__bloglink {
	float: left;
	width: 50%;
	margin-bottom: 1rem;
	color: #a3e635;
	text-decoration: none;
	padding-left: 0.75rem;
	box-sizing: border-box;
}

.carman-hero__bloglink:hover {
	text-decoration: underline;
}

.carman-hero__grid::after {
	content: "";
	display: table;
	clear: both;
}

.carman-hero__stores {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 1rem;
	width: 91.666667%;
	max-width: 24rem;
	color: #000;
}

@media (min-width: 640px) {
	.carman-hero__stores {
		margin-top: 3rem;
	}
}

.carman-hero__store {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 3.5rem;
	margin: 0 auto;
	width: 100%;
	background: #fff;
	padding: 0 1rem;
	border-radius: 0.375rem;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
	text-decoration: none;
	color: #000;
	transition: box-shadow 0.15s ease;
}

@media (min-width: 640px) {
	.carman-hero__store {
		height: 4rem;
		padding: 0 1.25rem;
	}
}

.carman-hero__store + .carman-hero__store {
	margin-top: 1.25rem;
}

.carman-hero__store:hover {
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
}

.carman-hero__store-inner {
	display: flex;
	align-items: center;
}

.carman-hero__store-inner span {
	margin-left: 0.75rem;
	font-size: 1rem;
	font-weight: 500;
}

@media (min-width: 640px) {
	.carman-hero__store-inner span {
		margin-left: 1rem;
		font-size: 1.125rem;
	}
}

.carman-hero__mobile-bg {
	display: block;
	width: 100%;
	min-height: 24rem;
	background-size: 200% auto;
	background-position: 75.5% -3rem;
	background-repeat: no-repeat;
}

.carman-hero[style*="--carman-hero-bg"] .carman-hero__mobile-bg {
	background-image: var(--carman-hero-bg);
}

@media (min-width: 640px) {
	.carman-hero__mobile-bg {
		display: none;
	}
}

.carman-hero__mobile-brand {
	margin: 73% auto 0;
	padding-top: 1.25rem;
	width: 75%;
}

.carman-hero__mobile-brand img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.carman-hero__bottom {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	margin-top: 1.25rem;
}

@media (min-width: 640px) {
	.carman-hero__bottom {
		margin-top: 2.5rem;
		min-height: 8rem;
	}
}

@media (min-width: 1280px) {
	.carman-hero__bottom {
		min-height: 5rem;
		padding-top: 85px;
	}
}

.carman-hero__wheel-row {
	margin: 0 auto;
	width: 91.666667%;
	opacity: 0.4;
	display: none;
}

@media (min-width: 640px) {
	.carman-hero__wheel-row {
		display: block;
	}
}

.carman-hero__wheel-row img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.carman-hero__copyright {
	text-align: center;
	font-size: 0.75rem;
	color: #9ca3af;
	padding: 1.25rem 0;
}

@media (min-width: 640px) {
	.carman-hero__copyright {
		padding: 0;
	}
}

/* --- Blog heading & breadcrumb --- */
.carman-blog-head {
	margin-bottom: 2.5rem;
}

.carman-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 1.5rem;
}

.carman-breadcrumb a {
	color: #6b7280;
	/*color: #fff;*/
	text-decoration: none;
}

.carman-breadcrumb a:hover {
	color: #111827;
	/*color: #fff;*/
}

.carman-breadcrumb__sep {
	margin: 0 0.5rem;
	color: #9ca3af;
}

.carman-breadcrumb__here {
	font-weight: 500;
	color: #111827;
	/*color: #fff;*/
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.carman-blog-head__title {
	text-align: center;
	font-size: 1.875rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	color: #111827;
	/*color: #fff;*/
	margin: 0;
}

@media (min-width: 640px) {
	.carman-blog-head__title {
		font-size: 2.25rem;
	}
}

/* --- Category pills --- */
.carman-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.carman-pill {
	display: inline-block;
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
	background: #f3f4f6;
	color: #374151;
}

.carman-pill:hover {
	background: #e5e7eb;
}

.carman-pill.is-active {
	background: #000;
	color: #fff;
}

/* --- Query grid --- */
.carman-query .carman-post-template {
	display: grid !important;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.carman-query .carman-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.carman-query .carman-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.carman-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	background: #fff;
}

.carman-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.carman-post-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.carman-post-card .wp-block-post-title a {
	color: #111827;
	text-decoration: none;
}

.carman-post-card .wp-block-post-title a:hover {
	text-decoration: underline;
}

.carman-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: #6b7280;
	margin-top: auto;
	padding-top: 0.5rem;
}

.carman-card-meta__cat {
	color: #6b7280;
	text-decoration: none;
}

.carman-card-meta__cat:hover {
	color: #111827;
	text-decoration: underline;
}

.carman-card-meta__left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.carman-card-meta__date {
	flex-shrink: 0;
}

.carman-no-posts {
	text-align: center;
	color: #6b7280;
	margin-top: 4rem;
}

/* Pagination */
.carman-query .wp-block-query-pagination {
	gap: 0.75rem;
}

.carman-query .page-numbers {
	display: inline-flex;
	min-width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.25rem;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	font-size: 0.875rem;
	text-decoration: none;
}

.carman-query .page-numbers.current {
	background: #000;
	color: #fff;
	border-color: #000;
}

.carman-query .wp-block-query-pagination-previous a,
.carman-query .wp-block-query-pagination-next a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.25rem;
	text-decoration: none;
	color: #374151;
}

/* --- Single --- */
.carman-single-inner {
	width: 100%;
}

.carman-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	color: #6b7280;
}

.carman-single-meta a {
	color: #6b7280;
	text-decoration: none;
}

.carman-single-meta a:hover {
	color: #111827;
	text-decoration: underline;
}

.carman-single-meta__date {
	margin-left: auto;
}

.carman-entry-content {
	font-size: 1rem;
	line-height: 1.75;
	color: #374151;
	/*color: #a9a9a9;*/
}

.carman-entry-content h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 2rem 0 1rem;
}

.carman-entry-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 1.5rem 0 0.75rem;
}

.carman-entry-content p {
	margin-bottom: 1rem;
}

.carman-entry-content a {
	color: #2563eb;
}

.carman-entry-content a:hover {
	color: #1d4ed8;
}

.carman-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.carman-entry-content blockquote {
	border-left: 4px solid #d1d5db;
	padding-left: 1rem;
	font-style: italic;
	margin: 1rem 0;
}

.carman-entry-content pre,
.carman-entry-content code {
	background: #f3f4f6;
	border-radius: 0.25rem;
	font-size: 0.875rem;
}

.carman-single-back {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

.carman-single-back__link {
	color: #2563eb;
	text-decoration: none;
}

.carman-single-back__link:hover {
	text-decoration: underline;
	color: #1e40af;
}

/* --- 404 --- */
.carman-404 {
	text-align: center;
	padding: 2rem 0;
}

.carman-404__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.carman-404__link {
	color: #2563eb;
}

/* --- Footer --- */
.carman-footer {
	background: #000;
	color: #fff;
	margin-top: 0;
}

.carman-footer__cta {
	padding: 0;
}

.carman-footer__cta-inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 4rem 1rem;
	text-align: center;
}

.carman-footer__title {
	margin: 0 0 1rem;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
	background: linear-gradient(to bottom right, #bef264, #84cc16);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.carman-footer__subtitle {
	margin: 0 0 2.5rem;
	font-size: 1.5rem;
	color: #d1d5db;
}

.carman-footer__features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2.5rem;
	font-size: 1.125rem;
}

.carman-footer__feat {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.carman-footer__check {
	color: #a3e635;
}

.carman-footer__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

@media (min-width: 640px) {
	.carman-footer__buttons {
		flex-direction: row;
	}
}

.carman-footer__btn {
	display: flex;
	height: 4rem;
	width: 16rem;
	max-width: 100%;
	align-items: center;
	justify-content: space-between;
	border-radius: 0.5rem;
	background: #fff;
	color: #000;
	padding: 0 1.25rem;
	text-decoration: none;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
	transition: box-shadow 0.15s ease;
}

.carman-footer__btn:hover {
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.25);
}

.carman-footer__btn-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.125rem;
	font-weight: 500;
}

.carman-footer__rule {
	height: 1px;
	background: #374151;
}

.carman-footer__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1rem;
	font-size: 0.875rem;
	color: #9ca3af;
}
