/**
 * tpc-custom.css
 *
 * Single consolidated stylesheet for all theme-custom (non-core) styles:
 * shared brand variables, site header, site footer, and the breadcrumb
 * trail. Previously split across tpc-front.css / tpc-wcw-header.css /
 * tpc-wcw-footer.css — merged here per project convention of one
 * custom stylesheet rather than one file per template part.
 */

/* ==========================================================
   Shared variables
   (was: tpc-front.css)
   ========================================================== */

/**
 * Shared brand custom properties, used by the Site Header styles below.
 */
:root{
	--tpc-black: #2B2A29;
	--tpc-red: #83241E;
	--tpc-border: #e6e6e6;
	--tpc-dark: #2B2A29;
	--tpc-gray: #727271;
	--tpc-light-gray: #9D9C9E;
	--tpc-white: #FFFFFF;
}

/**
 * Global semantic tokens — the ONE shared source for button, title, body
 * and status colors, and for the two site fonts, across the theme and the
 * Car Buying & Selling plugin. Every component stylesheet (theme and
 * plugin) should reference these instead of re-declaring its own copy;
 * component-scoped custom properties (e.g. `.carbs-lr-wrap { --carbs-success }`)
 * are kept for local reuse but their VALUE now points back here via var(),
 * so a change to the palette only ever needs to happen in this one place.
 */
:root {
	/* Brand accents, aliased from the raw colors above */
	--tpc-primary: var(--tpc-red);
	--tpc-primary-dark: #5e1a15;
	--tpc-primary-light: #fdece1;
	--tpc-secondary: var(--tpc-red);

	/* Text */
	--tpc-text: var(--tpc-black);
	--tpc-text-muted: var(--tpc-gray);
	--tpc-text-light: var(--tpc-light-gray);

	/* Surfaces */
	--tpc-surface: var(--tpc-white);
	--tpc-surface-soft: #F8F9FB;
	--tpc-navy-soft: #16223c;

	/* Status */
	--tpc-success: #1a7f37;
	--tpc-success-bg: #e8f6ec;
	--tpc-warning: #b45309;
	--tpc-warning-bg: #fef3e0;
	--tpc-danger: #d3271f;
	--tpc-danger-bg: #fdecec;
	--tpc-whatsapp: #25d366;

	/* Typography — one fallback stack per font, shared everywhere */
	--tpc-font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tpc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================
   Global Form Controls — Dropdowns
   Site-wide base look for every <select> on the front end (plain
   white fill, thin border, rounded corners, custom chevron) -
   matches the "Filter & Refine" reference design. Declared as an
   element selector on purpose, so it's low-specificity and any
   page/plugin (e.g. the car-listing filter sidebar) can still
   override specific properties like width or padding without
   fighting this rule; only the shared look (colors/radius/chevron)
   is meant to be inherited from here.
   ========================================================== */

:root {
	--tpc-select-radius: 8px;
	--tpc-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23727271'/%3E%3C/svg%3E");
}

select {
	display: inline-block;
	background-color: var(--tpc-white);
	border: 1px solid var(--tpc-border);
	border-radius: var(--tpc-select-radius);
	color: var(--tpc-black);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.3;
	padding: 10px 34px 10px 14px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: var(--tpc-select-chevron);
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

select:focus {
	outline: none;
	border-color: var(--tpc-red);
	box-shadow: 0 0 0 3px rgba(131, 36, 30, 0.12);
}

select::-ms-expand {
	display: none;
}

/* ==========================================================
   Site Header
   (was: tpc-wcw-header.css)
   ========================================================== */

/**
 * Header styles: dark top bar + white main header row.
 * Relies on the shared brand custom properties (--tpc-black, --tpc-red,
 * --tpc-red, --tpc-border) declared in tpc-front.css.
 */

.tpc-wcw-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}
.tpc-display-flex {
  display: flex;
  align-items: center !important;
  gap: 10px !important;
}
.tcp-mzero-all{margin:0 !important;}
.tcp-pzero-all{padding:0 !important;}
.tcp-mzero-tb{margin-top:0 !important;margin-bottom:0 !important;}
.tcp-mzero-lr{margin-left:0 !important;margin-right:0 !important;}
.tpc-justify-content{justify-content: center !important;}
.tpc-jc-between{justify-content: space-between !important;}
.tcp-text-align-right{text-align: right !important;}

/* ---------- Top bar ---------- */

.tpc-wcw-topbar {
	background: var(--tpc-footer-newsletter-bg);
	color: var(--tpc-white);
	font-size: 13px;
}

.tpc-wcw-topbar .tpc-wcw-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	flex-wrap: wrap;
	gap: 10px 0;
}

.tpc-wcw-topbar__left {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.tpc-wcw-topbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpc-wcw-topbar__item svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	color: var(--tpc-white);
}

.tpc-wcw-topbar__item a {
	color: var(--tpc-white);
	text-decoration: none;
}

.tpc-wcw-topbar__item a:hover {
	color: var(--tpc-white);
}

.tpc-wcw-topbar__social {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tpc-wcw-topbar__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	color: var(--tpc-light-gray);
}

.tpc-wcw-topbar__social a svg {
	width: 100%;
	height: 100%;
}

.tpc-wcw-topbar__social a:hover {
	color: var(--tpc-red);
}

/* ---------- Main header ---------- */

.tpc-wcw-main-header {
	background: var(--tpc-white);
	border-bottom: 1px solid var(--tpc-border);
}

.tpc-wcw-main-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.tpc-wcw-logo {
	flex: 0 0 auto;
}

.tpc-wcw-logo img {
	display: block;
	max-height: 60px;
	width: auto;
}

.tpc-wcw-logo-text {
	font-family: var(--tpc-font-heading);
	font-size: 22px;
	font-weight: 800;
	color: var(--tpc-black);
	text-decoration: none;
}

/* Primary nav */

.tpc-wcw-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.tpc-wcw-nav__menu {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpc-wcw-nav__menu > li {
	position: relative;
}

.tpc-wcw-nav__menu > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--tpc-black);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 0;
}

.tpc-wcw-nav__menu > li > a:hover {
	color: var(--tpc-red);
}

.tpc-wcw-nav__menu > li.menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
}

.tpc-wcw-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--tpc-white);
	border: 1px solid var(--tpc-border);
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.tpc-wcw-nav__menu > li:hover > .sub-menu,
.tpc-wcw-nav__menu > li.tpc-wcw-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tpc-wcw-nav__menu .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: var(--tpc-black);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.tpc-wcw-nav__menu .sub-menu a:hover {
	background: #f6f6f6;
	color: var(--tpc-red);
}

/* Header actions: wishlist / account / CTA / mobile toggle */

.tpc-wcw-header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

.tpc-wcw-icon-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: var(--tpc-black);
}

.tpc-wcw-icon-link svg {
	width: 100%;
	height: 100%;
}

.tpc-wcw-icon-link:hover {
	color: var(--tpc-red);
}

.tpc-wcw-account {
	position: relative;
}

.tpc-wcw-account-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: none;
	border: none;
	padding: 0;
	color: var(--tpc-black);
	cursor: pointer;
}

.tpc-wcw-account-toggle svg {
	width: 100%;
	height: 100%;
	stroke: var(--tpc-black);
}
.tpc-wcw-account-toggle svg circle,
.tpc-wcw-account-toggle svg path {
	stroke: var(--tpc-black);
}

.tpc-wcw-account-toggle:hover {
	color: var(--tpc-red);
}

.tpc-wcw-account-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	z-index: 30;
	min-width: 160px;
	background: var(--tpc-white);
	border: 1px solid var(--tpc-border);
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	padding: 6px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.tpc-wcw-account.is-open .tpc-wcw-account-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tpc-wcw-account-dropdown a {
	display: block;
	padding: 8px 16px;
	color: var(--tpc-black);
	font-size: 14px;
	text-decoration: none;
}

.tpc-wcw-account-dropdown a:hover {
	background: #f6f6f6;
	color: var(--tpc-red);
}

.tpc-wcw-btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 22px;
	background: var(--tpc-red);
	color: var(--tpc-white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

.tpc-wcw-btn-pill:hover {
	background: var(--tpc-red);
	color: var(--tpc-white);
	transform: translateY(-1px);
}

/* Mobile nav toggle (hamburger) — hidden on desktop */

.tpc-wcw-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 26px;
	height: 20px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.tpc-wcw-nav-toggle span {
	display: block;
	height: 2px;
	background: var(--tpc-black);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.tpc-wcw-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tpc-wcw-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.tpc-wcw-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Home Page CSS */


/* ---------- Responsive ---------- */

@media (max-width: 991px) {

	.tpc-wcw-topbar__left {
		gap: 16px;
	}

	.tpc-wcw-main-header__inner {
		flex-wrap: wrap;
		min-height: auto;
		/* Only override the vertical padding here - leave left/right alone
		   so the base .tpc-wcw-container rule's `padding: 0 20px` (shared
		   by every element carrying that class, header included) keeps
		   giving the row its side breathing room. A previous version of
		   this rule set `padding: 14px 0`, which zeroed that side padding
		   on every screen ≤991px (tablet and phone alike) - the logo,
		   wishlist/account icons, Find Dealers button and hamburger all
		   sat flush against the screen edge, and the account dropdown had
		   no room to open without clipping past the edge. */
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.tpc-wcw-nav {
		order: 3;
		flex: 1 1 100%;
		justify-content: flex-start;
		display: none;
	}

	.tpc-wcw-nav.is-open {
		display: flex;
	}

	.tpc-wcw-nav__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.tpc-wcw-nav__menu > li {
		width: 100%;
		border-top: 1px solid var(--tpc-border);
	}

	.tpc-wcw-nav__menu > li > a {
		width: 100%;
		padding: 12px 0;
		justify-content: space-between;
	}

	.tpc-wcw-nav__menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		display: none;
		padding: 0 0 8px 14px;
	}

	.tpc-wcw-nav__menu > li.tpc-wcw-open .sub-menu {
		display: block;
	}

	.tpc-wcw-nav-toggle {
		display: flex;
	}
}

@media (max-width: 600px) {

	.tpc-wcw-topbar .tpc-wcw-container {
		justify-content: center;
		text-align: center;
	}

	.tpc-wcw-topbar__left {
		justify-content: center;
	}

	/* Address and Working Hours are the two lowest-priority items in the
	   topbar (both also live in the footer/dealer pages) - on a phone-width
	   screen, showing all four items (address / hours / email / phone) as
	   individually-wrapped full-width lines pushed the logo and nav down by
	   ~130px before any real content appeared. Dropping these two keeps the
	   two genuinely useful tap-to-contact items (email, phone) and cuts
	   that to two lines - order in the DOM is fixed by header.php, so
	   nth-child is a safe, stable way to target them without adding markup. */
	.tpc-wcw-topbar__item:nth-child(1),
	.tpc-wcw-topbar__item:nth-child(2) {
		display: none;
	}

	/* Same reasoning - social links aren't essential at this size and the
	   footer carries them too. */
	.tpc-wcw-topbar__social {
		display: none;
	}

	/*
	 * Main header, phone widths: with the padding bug above fixed, the
	 * side padding is back - so logo + wishlist/account icons + Find
	 * Dealers pill + hamburger need to be a bit more compact to still sit
	 * comfortably on one row at common phone widths (360-430px) instead
	 * of wrapping to a second line.
	 */
	.tpc-wcw-main-header__inner {
		gap: 12px;
	}

	.tpc-wcw-logo img {
		max-height: 42px;
	}

	.tpc-wcw-header-actions {
		gap: 10px;
	}

	.tpc-wcw-btn-pill {
		padding: 8px 14px;
		font-size: 13px;
	}
}

@media (max-width: 360px) {

	/* On the narrowest phones even "Email + Phone" side by side doesn't
	   comfortably fit next to their icons - stack them so neither gets
	   visually cramped. */
	.tpc-wcw-topbar__left {
		flex-direction: column;
		gap: 4px;
	}

	/* Shrink the logo and action-row spacing a little further so the
	   header still fits one row down to a 320px-wide screen. */
	.tpc-wcw-logo img {
		max-height: 36px;
	}

	.tpc-wcw-header-actions {
		gap: 8px;
	}

	.tpc-wcw-icon-link,
	.tpc-wcw-account-toggle {
		width: 20px;
		height: 20px;
	}
}

/* ==========================================================
   Site Footer
   (was: tpc-wcw-footer.css)
   ========================================================== */

/**
 * Footer styles: newsletter bar (with optional uploaded background photo),
 * brand/columns/contact grid, and the bottom copyright bar.
 */

:root {
	--tpc-footer-newsletter-bg: var(--tpc-navy-soft);
	--tpc-footer-border: rgba(255, 255, 255, 0.08);
}

/*
 * The base theme (Twenty Twenty) styles the footer via the `#site-footer`
 * ID selector (background, padding, font-size, top margin, link
 * underline-on-hover). An ID always outranks a class in specificity, so
 * `.tpc-footer` alone can never win against it — every rule below that
 * needs to beat a `#site-footer` rule repeats that ID in its own selector.
 */
#site-footer.tpc-footer {
	background: #e7e7e7;
	color: var(--tpc-light-gray);
	padding: 0;
	margin-top: 0;
	border: 0;
	font-size: 16px;
	line-height: 1.5;
}

/* ---------- Newsletter bar ---------- */

.tpc-footer__newsletter {
	background-color: var(--tpc-footer-newsletter-bg);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
	border-bottom: 1px solid var(--tpc-footer-border);
}

.tpc-footer__newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding: 22px 20px;
}

.tpc-footer__newsletter-copy {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tpc-footer__newsletter-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--tpc-red);
	color: var(--tpc-white);
}

.tpc-footer__newsletter-icon svg {
	width: 20px;
	height: 20px;
}

.tpc-footer__newsletter-title {
	font-family: var(--tpc-font-heading);
	margin: 0 0 2px;
	font-size: 16px;
	font-weight: 700;
	color: var(--tpc-white);
}

.tpc-footer__newsletter-subtitle {
	margin: 0;
	font-size: 13px;
	color: var(--tpc-white);
}

.tpc-footer__newsletter-form {
	display: flex;
	align-items: stretch;
	gap: 10px;
	flex: 0 0 auto;
}

.tpc-footer__hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	max-width: 1px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0);
}

.tpc-footer__newsletter-form input[type="email"] {
	min-width: 260px;
	padding: 0 16px;
	height: 44px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	color: var(--tpc-white);
	font-size: 14px;
}

.tpc-footer__newsletter-form input[type="email"]::placeholder {
	color: var(--tpc-light-gray);
}

/*
 * Specificity note: Twenty Twenty's Customizer-generated inline CSS
 * (thepremiumcar_get_customizer_css()) ships a high-specificity
 * `#site-footer button:not(.toggle)` rule that paints every footer
 * button with the Customizer's "accent" color (a leftover pink/magenta,
 * unrelated to the site's real brand red) - this beats a plain
 * `.tpc-footer__newsletter-form button` selector regardless of source
 * order. Matching that `#site-footer` id here is what lets the site's
 * actual brand red win instead, same as every other primary button
 * on the site (Find Dealers, Apply Filters, Get Referral, etc.).
 */
#site-footer .tpc-footer__newsletter-form button {
	padding: 0 24px;
	height: 44px;
	background: var(--tpc-primary);
	color: var(--tpc-white);
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

#site-footer .tpc-footer__newsletter-form button:hover {
	background: var(--tpc-red);
	transform: translateY(-1px);
}

.tpc-footer__newsletter-notice {
	flex: 1 1 100%;
	margin: 0;
	font-size: 13px;
}

.tpc-footer__newsletter-notice--success { color: #6bd68a; }
.tpc-footer__newsletter-notice--invalid,
.tpc-footer__newsletter-notice--error { color: #f08a8a; }

/* ---------- Main footer grid ---------- */

.tpc-footer__main {
	padding: 44px 0 32px;
}

.tpc-footer__grid {
	display: grid;
	grid-template-columns: 1.7fr repeat(3, 1fr);
	gap: 32px;
}

.tpc-footer__logo img {
	display: block;
	max-height: 40px;
	width: auto;
}

.tpc-footer__logo-text {
	font-family: var(--tpc-font-heading);
	display: inline-block;
	font-size: 20px;
	font-weight: 800;
	color: #000;
	text-decoration: none;
}

.tpc-footer__about {
	margin: 14px 0 20px;
	font-size: 13px;
	line-height: 1.7;
	color: #000;
	max-width: 280px;
}

.tpc-footer__social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpc-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #000;
}

.tpc-footer__social a svg {
	width: 15px;
	height: 15px;
}

.tpc-footer__social a:hover {
	background: var(--tpc-red);
}

.tpc-footer__col-title {
	font-family: var(--tpc-font-heading);
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #000;
}

.tpc-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tpc-footer__list li {
  margin-left: 0;
}

.tpc-footer__list a {
	color: #000;
	font-size: 14px;
	text-decoration: none;
}

#site-footer .tpc-footer__list a:hover {
	color: #000;
	text-decoration: underline;
}

.tpc-footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #000;
}

.tpc-footer__list--contact svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: #000;
}

.tpc-footer__list--contact a {
	color: #000;
	text-decoration: none;
}

#site-footer .tpc-footer__list--contact a:hover {
	color: #000;
	text-decoration: underline;
}

/* ---------- Bottom bar ---------- */

.tpc-footer__bottom {
	border-top: 1px solid #ccc;
}

.tpc-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 24px;
	font-size: 13px;
	color: #000;
}

.tpc-footer__bottom-inner p {
	margin: 0;
}

/***** Icon with box ******/
.tpc-iconbox-icon img{max-width: 60px;}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {

	.tpc-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 36px;
	}

	.tpc-footer__brand {
		grid-column: 1 / -1;
	}

	.tpc-footer__about {
		max-width: 480px;
	}
}

@media (max-width: 600px) {

	.tpc-footer__newsletter-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}

	.tpc-footer__newsletter-form {
		width: 100%;
	}

	.tpc-footer__newsletter-form input[type="email"] {
		min-width: 0;
		flex: 1 1 auto;
	}

	.tpc-footer__grid {
		grid-template-columns: 1fr;
	}

	.tpc-footer__container {
		padding: 0 16px;
	}

	.tpc-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
		padding: 16px;
	}
}

/* ==========================================================
   Breadcrumb
   (inc/tpc-wcw-breadcrumb.php)
   ========================================================== */

.tpc-wcw-breadcrumb {
	background: var(--tpc-white);
	border-bottom: 1px solid var(--tpc-border);
}

.tpc-wcw-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 14px 0;
	list-style: none;
}

.tpc-wcw-breadcrumb__item {
	display: flex;
	align-items: center;
}

.tpc-wcw-breadcrumb__item a,
.tpc-wcw-breadcrumb__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tpc-gray);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1;
}

.tpc-wcw-breadcrumb__item a:hover {
	color: var(--tpc-black);
}

.tpc-wcw-breadcrumb__item.is-active .tpc-wcw-breadcrumb__current {
	color: var(--tpc-red);
	font-weight: 700;
}

.tpc-wcw-breadcrumb__icon {
	display: inline-flex;
	align-items: center;
	color: var(--tpc-gray);
}

.tpc-wcw-breadcrumb__item.is-active .tpc-wcw-breadcrumb__icon {
	color: var(--tpc-red);
}

.tpc-wcw-breadcrumb__sep {
	display: inline-flex;
	align-items: center;
	margin: 0 8px;
	color: var(--tpc-light-gray);
}

@media (max-width: 600px) {

	.tpc-wcw-breadcrumb__list {
		padding: 10px 0;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.tpc-wcw-breadcrumb__item {
		flex: none;
	}

	.tpc-wcw-breadcrumb__item a,
	.tpc-wcw-breadcrumb__current {
		font-size: 13px;
	}

	.tpc-wcw-breadcrumb__sep {
		margin: 0 6px;
	}
}

/* ==========================================================
   Home: Trust Strip
   Stats/trust-badges row placed after the homepage hero,
   built from native Group/Image/Paragraph blocks in the
   Page editor (each block carries one class below via its
   Advanced > "Additional CSS class(es)" panel).
   ========================================================== */

.tpc-trust-strip {
	padding: 32px 0;
}

.tpc-trust-strip__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 24px 20px;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
	background: var(--tpc-white);
	border: 1px solid var(--tpc-border);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(10, 10, 10, 0.06);
}

.tpc-trust-strip__item {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 14px !important;
	padding: 8px 20px;
	border-right: 1px solid var(--tpc-border);
}

.tpc-trust-strip__item:last-child {
	border-right: 0;
}

.tpc-trust-strip__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin: 0;
}

.tpc-trust-strip__icon img,
.tpc-trust-strip__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tpc-trust-strip__text {
	display: flex;
	flex-direction: column;
	gap: 2px !important;
}

.tpc-trust-strip__value {
	font-family: var(--tpc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tpc-black);
	margin: 0 !important;
}

.tpc-trust-strip__label {
	font-size: 13px;
	color: var(--tpc-gray);
	margin: 0 !important;
}

@media (max-width: 900px) {

	.tpc-trust-strip__item {
		flex: 1 1 50%;
		border-right: 0;
	}

	.tpc-trust-strip__item:nth-child(odd) {
		border-right: 1px solid var(--tpc-border);
	}

	.tpc-trust-strip__item:nth-child(n+3) {
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px solid var(--tpc-border);
	}
}

@media (max-width: 500px) {

	.tpc-trust-strip__inner {
		padding: 20px 16px;
	}

	.tpc-trust-strip__item {
		flex: 1 1 100%;
		border-right: 0 !important;
	}

	.tpc-trust-strip__item:nth-child(n+2) {
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid var(--tpc-border);
	}
}

/* ==========================================================
   Homepage "Find Cars in your budget" strip
   A Gutenberg Cover block (car photo background) with no custom
   block class of its own, so it's targeted structurally: it's the
   front page's *second* Cover block (the first is the hero), hence
   `.home ... .is-position-center-left` rather than a shared
   `.wp-block-cover` rule, which would also catch the hero.
   Turns the block's default tall photo + flat grey dim into a slim
   rounded banner: a left-to-right dark fade so the car stays
   visible on the right while the heading/budget pills stay
   readable on the left, an orange badge behind the rupee icon, and
   the budget links styled as rounded pill chips.
   ========================================================== */

.home .wp-block-cover.is-position-center-left {
	min-height: 160px !important;
	border-radius: 18px;
	overflow: hidden;
}

.home .wp-block-cover.is-position-center-left > .wp-block-cover__background {
	background: linear-gradient(90deg, #0c1220 0%, #0c1220 32%, rgba(12, 18, 32, 0.88) 50%, rgba(12, 18, 32, 0.35) 72%, rgba(12, 18, 32, 0) 92%) !important;
	opacity: 1 !important;
}

.home .wp-block-cover.is-position-center-left > .wp-block-cover__image-background {
	object-position: right center;
}

.home .wp-block-cover.is-position-center-left > .wp-block-cover__inner-container {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
	padding: 20px 28px;
}

/* Core's "constrained" layout support (the is-layout-constrained class
   on this same inner-container) forces its direct children to
   width:100% for its normal block-stacked layout - that's what was
   pushing the icon and the heading/pills column onto separate rows
   despite display:flex above. Override both children explicitly so
   they share the row instead. */
.home .wp-block-cover.is-position-center-left > .wp-block-cover__inner-container > * {
	width: auto !important;
	max-width: none !important;
}

/* Rupee icon: brand-color circle badge behind the plain (dark) svg image -
   the filter forces the svg white regardless of its own fill color,
   since it's an <img>, not inline markup we can recolor by hand. */
.home .wp-block-cover.is-position-center-left figure.wp-block-image {
	flex: 0 0 54px !important;
	width: 54px !important;
	height: 54px !important;
	max-width: 54px !important;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--tpc-red);
	display: flex;
	align-items: center;
	justify-content: center;
}

.home .wp-block-cover.is-position-center-left figure.wp-block-image img {
	width: 24px !important;
	height: 24px !important;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.home .wp-block-cover.is-position-center-left > .wp-block-cover__inner-container > .wp-block-columns {
	flex: 1 1 auto;
	align-items: center;
	gap: 20px;
	margin: 0 !important;
	min-width: 0;
}

.home .wp-block-cover.is-position-center-left h2.wp-block-heading {
	margin: 0 0 10px;
	color: var(--tpc-white);
	font-family: var(--tpc-font-heading);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* The nested columns block (one column per budget link) becomes the pill row. */
.home .wp-block-cover.is-position-center-left .wp-block-column > .wp-block-columns {
	gap: 10px !important;
	flex-wrap: wrap;
}

.home .wp-block-cover.is-position-center-left .wp-block-column > .wp-block-columns > .wp-block-column {
	flex: 0 0 auto !important;
	width: auto !important;
}

.home .wp-block-cover.is-position-center-left .wp-block-paragraph {
	margin: 0 !important;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--tpc-white);
	color: var(--tpc-black);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* Alternate a light tint per pill (there's no per-item styling hook
   in the block content itself, so this keys off position) - matches
   the reference design's white / amber / rose / mint sequence. */
.home .wp-block-cover.is-position-center-left .wp-block-column > .wp-block-columns > .wp-block-column:nth-child(2) .wp-block-paragraph {
	background: #fff6e5;
}

.home .wp-block-cover.is-position-center-left .wp-block-column > .wp-block-columns > .wp-block-column:nth-child(3) .wp-block-paragraph {
	background: #fdeceb;
}

.home .wp-block-cover.is-position-center-left .wp-block-column > .wp-block-columns > .wp-block-column:nth-child(4) .wp-block-paragraph {
	background: #e9f8f0;
}

@media (max-width: 782px) {

	.home .wp-block-cover.is-position-center-left {
		min-height: 0 !important;
	}

	.home .wp-block-cover.is-position-center-left > .wp-block-cover__background {
		background: linear-gradient(180deg, #0c1220 0%, #0c1220 55%, rgba(12, 18, 32, 0.9) 75%, rgba(12, 18, 32, 0.5) 100%) !important;
	}

	.home .wp-block-cover.is-position-center-left > .wp-block-cover__image-background {
		object-position: center bottom;
	}

	.home .wp-block-cover.is-position-center-left > .wp-block-cover__inner-container {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}

	.home .wp-block-cover.is-position-center-left h2.wp-block-heading {
		white-space: normal;
	}
}

/* ==========================================================
   Homepage Hero
   The front page's *first* Cover block (car photo background),
   identified by its `is-light` class - unique to the hero, so this
   never touches the "Find Cars in your budget" Cover block above
   (that one carries `is-position-center-left` instead).
   Fixes two things the block's own margins don't guarantee: (1) a
   readable scrim behind the left-aligned heading/paragraph/buttons
   regardless of which photo is used, and (2) enough breathing room
   between the heading and the paragraph below it - at this heading's
   font size, the block editor's small default gap reads as the two
   overlapping even though their boxes technically don't touch.
   ========================================================== */

.home .wp-block-cover.is-light > .wp-block-cover__background {
	background: linear-gradient(100deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.42) 32%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0) 72%) !important;
	opacity: 1 !important;
}

.home .wp-block-cover.is-light > .wp-block-cover__inner-container {
	padding: 20px 0 48px;
}

.home .wp-block-cover.is-light .wp-block-column {
	max-width: 620px;
}

.home .wp-block-cover.is-light h6.wp-block-heading {
	margin-bottom: 12px;
}

.home .wp-block-cover.is-light h3.wp-block-heading {
	margin-top: 0;
	margin-bottom: 18px;
	line-height: 1.15;
}

.home .wp-block-cover.is-light .wp-block-paragraph {
	margin-top: 18px !important;
	max-width: 460px;
}

.home .wp-block-cover.is-light .wp-block-buttons {
	margin-top: 28px;
}

@media (max-width: 600px) {
	.home .wp-block-cover.is-light > .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.15) 68%, rgba(255, 255, 255, 0) 82%) !important;
	}
}

/* ==========================================================
   About Us page
   Pure Gutenberg-block content (Group/Columns/Heading/Paragraph/
   Buttons, plus a few Custom HTML blocks for the icon rows the
   block editor has no native control for) - every block on the page
   carries the `tpc-about` class so all of this stays scoped to that
   one page and never leaks into anything else.
   This page's reference design uses its own category-color system
   (blue/green/purple/orange) rather than the site's single maroon
   brand accent - a deliberate one-off editorial palette for this
   page only, kept local to `.tpc-about` rather than added to the
   shared :root brand variables.
   ========================================================== */

.tpc-about {
	--tpc-about-blue: #2563EB;
	--tpc-about-blue-soft: #EFF4FF;
	--tpc-about-green: #16A34A;
	--tpc-about-green-soft: #EFFBF3;
	--tpc-about-purple: #7C3AED;
	--tpc-about-purple-soft: #F5EFFE;
	--tpc-about-orange: #EA8C1E;
	--tpc-about-orange-soft: #FDF3E7;
	--tpc-about-ink: #1F2430;
	--tpc-about-body: #5B6270;
	--tpc-about-border: #E7E9EF;
	--tpc-about-surface: #F7F8FB;

	font-family: var(--tpc-font-body);
	color: var(--tpc-about-body);
}

.tpc-about *,
.tpc-about *::before,
.tpc-about *::after {
	box-sizing: border-box;
}

.tpc-about svg {
	display: block;
	flex-shrink: 0;
}

.tpc-about h1,
.tpc-about h2,
.tpc-about h3,
.tpc-about h4 {
	font-family: var(--tpc-font-heading);
	color: var(--tpc-about-ink);
}

.tpc-about p {
	line-height: 1.65;
	font-size: 14.5px;
	color: var(--tpc-about-body);
}

.tpc-about-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px;
}

/* ---------- Section heading with a short colored underline ---------- */

.tpc-about-heading {
	position: relative;
	display: inline-block;
	margin: 0 0 22px;
	padding-bottom: 12px;
	font-size: 24px;
	font-weight: 700;
}

.tpc-about-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
}

.tpc-about-heading--center {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.tpc-about-heading--center::after {
	left: 50%;
	transform: translateX(-50%);
}

.tpc-about-heading--blue { color: var(--tpc-about-blue); }
.tpc-about-heading--green { color: var(--tpc-about-green); }
.tpc-about-heading--purple { color: var(--tpc-about-purple); }
.tpc-about-heading--orange { color: var(--tpc-about-orange); }
.tpc-about-heading--dark { color: var(--tpc-about-ink); }

.tpc-about-lead {
	font-weight: 700;
	color: var(--tpc-about-ink);
}

.tpc-about-subtext {
	text-align: center;
	max-width: 640px;
	margin: -8px auto 36px;
	font-size: 15px;
}

/* ---------- Hero ---------- */

.tpc-about-hero.wp-block-cover {
	min-height: 340px !important;
	background: #0b1220;
}

.tpc-about-hero.wp-block-cover > .wp-block-cover__background {
	background: linear-gradient(100deg, rgba(11, 18, 32, 0.97) 0%, rgba(16, 26, 48, 0.93) 32%, rgba(16, 26, 48, 0.6) 58%, rgba(16, 26, 48, 0.22) 82%, rgba(16, 26, 48, 0.08) 100%) !important;
	opacity: 1 !important;
}

.tpc-about-hero.wp-block-cover > img.wp-block-cover__image-background {
	object-fit: cover;
	object-position: right center;
}

.tpc-about-hero .wp-block-cover__inner-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px 24px;
}

.tpc-about-hero-label {
	display: inline-block;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--tpc-about-blue);
	color: rgba(255, 255, 255, 0.75);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tpc-about-hero-title.wp-block-heading {
	max-width: 560px;
	margin: 0 0 18px;
	color: var(--tpc-white, #fff);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.25;
}

.tpc-about-hero-text.wp-block-paragraph {
	max-width: 480px;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.65;
}

/* ---------- Mission (2-col) ---------- */

.tpc-about-mission-photo img {
	width: 100%;
	height: 100%;
	max-height: 340px;
	object-fit: cover;
	border-radius: 14px;
}

.tpc-about-checklist {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
}

.tpc-about-checklist-item {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--tpc-about-body);
}

.tpc-about-checklist-item svg {
	margin-top: 3px;
	color: var(--tpc-about-blue);
}

.tpc-about-checklist-item--green svg { color: var(--tpc-about-green); }

/* ---------- What We Do (3 cards) ---------- */

.tpc-about-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: start;
}

.tpc-about-card {
	height: 100%;
	padding: 26px 24px 28px;
	background: var(--tpc-about-surface);
	border: 1px solid var(--tpc-about-border);
	border-radius: 14px;
}

.tpc-about-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	margin-bottom: 14px;
}

.tpc-about-card--blue .tpc-about-card-icon { background: var(--tpc-about-blue-soft); color: var(--tpc-about-blue); }
.tpc-about-card--green .tpc-about-card-icon { background: var(--tpc-about-green-soft); color: var(--tpc-about-green); }
.tpc-about-card--purple .tpc-about-card-icon { background: var(--tpc-about-purple-soft); color: var(--tpc-about-purple); }

.tpc-about-card-title {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 700;
}

.tpc-about-card--blue .tpc-about-card-title { color: var(--tpc-about-blue); }
.tpc-about-card--green .tpc-about-card-title { color: var(--tpc-about-green); }
.tpc-about-card--purple .tpc-about-card-title { color: var(--tpc-about-purple); }

.tpc-about-card-lead {
	margin: 0 0 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tpc-about-ink);
}

.tpc-about-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.tpc-about-card-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.5;
}

.tpc-about-card--blue .tpc-about-card-list svg { color: var(--tpc-about-blue); margin-top: 3px; }
.tpc-about-card--green .tpc-about-card-list svg { color: var(--tpc-about-green); margin-top: 3px; }
.tpc-about-card--purple .tpc-about-card-list svg { color: var(--tpc-about-purple); margin-top: 3px; }

.tpc-about-info-box {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-top: 16px;
	padding: 13px 14px;
	border-radius: 10px;
	background: var(--tpc-about-blue-soft);
	color: #2b4a8a;
	font-size: 12px;
	line-height: 1.55;
}

.tpc-about-info-box svg {
	margin-top: 2px;
	color: var(--tpc-about-blue);
}

/* ---------- 4-row "how it works" box ---------- */

.tpc-about-rows {
	border: 1px solid var(--tpc-about-border);
	border-radius: 14px;
	overflow: hidden;
	background: var(--tpc-white, #fff);
}

.tpc-about-row {
	display: flex;
	gap: 20px;
	padding: 26px 28px;
}

.tpc-about-row + .tpc-about-row {
	border-top: 1px solid var(--tpc-about-border);
}

.tpc-about-row-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tpc-about-blue);
	color: var(--tpc-white, #fff);
}

.tpc-about-row-title {
	flex: 0 0 220px;
	margin: 8px 0 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--tpc-about-ink);
}

.tpc-about-row-body {
	flex: 1 1 auto;
	min-width: 0;
}

.tpc-about-row-body p {
	margin: 0 0 10px;
}

.tpc-about-row-body p:last-child {
	margin-bottom: 0;
}

.tpc-about-steps {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0;
}

.tpc-about-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 7px;
	border-radius: 999px;
	background: var(--tpc-about-surface);
	border: 1px solid var(--tpc-about-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--tpc-about-ink);
}

.tpc-about-step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tpc-about-blue);
	color: var(--tpc-white, #fff);
}

.tpc-about-step-icon svg {
	width: 13px;
	height: 13px;
}

.tpc-about-step-arrow {
	color: var(--tpc-about-border);
	flex-shrink: 0;
}

/* ---------- Vision / Why / Commitment (3 cols) ---------- */

.tpc-about-triple-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: start;
}

.tpc-about-triple-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	margin-bottom: 12px;
}

.tpc-about-triple--blue .tpc-about-triple-icon { background: var(--tpc-about-blue-soft); color: var(--tpc-about-blue); }
.tpc-about-triple--green .tpc-about-triple-icon { background: var(--tpc-about-green-soft); color: var(--tpc-about-green); }
.tpc-about-triple--orange .tpc-about-triple-icon { background: var(--tpc-about-orange-soft); color: var(--tpc-about-orange); }

.tpc-about-triple-heading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

.tpc-about-triple--blue .tpc-about-triple-heading { color: var(--tpc-about-blue); }
.tpc-about-triple--green .tpc-about-triple-heading { color: var(--tpc-about-green); }
.tpc-about-triple--orange .tpc-about-triple-heading { color: var(--tpc-about-orange); }

.tpc-about-triple p {
	margin: 0 0 10px;
}

.tpc-about-triple-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.tpc-about-triple-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.55;
}

.tpc-about-triple--green .tpc-about-triple-list svg { color: var(--tpc-about-green); margin-top: 3px; }

.tpc-about-triple-dots {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tpc-about-triple-dots li {
	position: relative;
	padding-left: 16px;
	font-size: 13px;
	line-height: 1.5;
}

.tpc-about-triple-dots li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tpc-about-orange);
}

/* ---------- Get Started ---------- */

.tpc-about-cta-wrap {
	background: #F1F0FC;
}

.tpc-about-cta-heading {
	margin-bottom: 30px;
}

.tpc-about-cta-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	text-align: center;
}

.tpc-about-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	margin: 0 auto 12px;
}

.tpc-about-cta-col--blue .tpc-about-cta-icon { background: var(--tpc-about-blue-soft); color: var(--tpc-about-blue); }
.tpc-about-cta-col--green .tpc-about-cta-icon { background: var(--tpc-about-green-soft); color: var(--tpc-about-green); }
.tpc-about-cta-col--purple .tpc-about-cta-icon { background: var(--tpc-about-purple-soft); color: var(--tpc-about-purple); }

.tpc-about-cta-title {
	margin: 0 0 8px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--tpc-about-ink);
}

.tpc-about-cta-cols p {
	margin: 0 0 16px;
	font-size: 13px;
}

.tpc-about-cta-btn.wp-block-button__link {
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	padding: 11px 22px;
	border: none;
	text-transform: none;
	letter-spacing: normal;
}

.tpc-about-cta-col--blue .wp-block-button__link { background: var(--tpc-about-blue) !important; }
.tpc-about-cta-col--green .wp-block-button__link { background: var(--tpc-about-green) !important; }
.tpc-about-cta-col--purple .wp-block-button__link { background: var(--tpc-about-purple) !important; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.tpc-about-cards,
	.tpc-about-triple-grid,
	.tpc-about-cta-cols {
		grid-template-columns: 1fr;
	}

	.tpc-about-row {
		flex-wrap: wrap;
	}

	.tpc-about-row-title {
		flex-basis: 100%;
	}
}

@media (max-width: 640px) {
	.tpc-about-section {
		padding: 40px 18px;
	}

	.tpc-about-hero-title.wp-block-heading {
		font-size: 26px;
	}

	.tpc-about-checklist {
		grid-template-columns: 1fr;
	}

	.tpc-about-row {
		padding: 22px 20px;
	}
}

/* =====================================================================
   Legal / Policy Pages (Privacy Policy, Refund Policy, Terms & Conditions)
   Uses ONLY the site's core --tpc-* brand variables (no one-off palette).
   ===================================================================== */

.tpc-legal-hero.wp-block-cover {
	min-height: 220px !important;
	background: var(--tpc-black);
}

.tpc-legal-hero.wp-block-cover > .wp-block-cover__background {
	background: linear-gradient(120deg, var(--tpc-black) 0%, #1c1b1a 100%) !important;
	opacity: 1 !important;
}

.tpc-legal-hero .wp-block-cover__inner-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 24px;
}

.tpc-legal-hero-title.wp-block-heading {
	margin: 0 0 12px;
	color: var(--tpc-white);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.tpc-legal-hero-meta.wp-block-paragraph {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13.5px;
	letter-spacing: 0.01em;
}

.tpc-legal {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 24px 64px;
}

.tpc-legal-toc-box {
	border: 1px solid var(--tpc-border);
	border-radius: 10px;
	background: #FAFAFA;
	padding: 22px 24px;
	margin: 0 0 36px;
}

.tpc-legal-toc-label {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tpc-gray);
}

.tpc-legal-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 28px;
}

.tpc-legal-toc-list li {
	margin: 0;
}

.tpc-legal-toc-list a {
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 5px 0;
	color: var(--tpc-dark);
	font-size: 13.5px;
	line-height: 1.4;
	text-decoration: none;
	border-bottom: 1px dashed transparent;
}

.tpc-legal-toc-list a:hover {
	color: var(--tpc-red);
	border-bottom-color: var(--tpc-red);
}

.tpc-legal-toc-num {
	flex: 0 0 auto;
	color: var(--tpc-red);
	font-weight: 700;
	font-size: 12px;
	min-width: 16px;
}

.tpc-legal-section {
	padding: 26px 0;
	border-bottom: 1px solid var(--tpc-border);
}

.tpc-legal-section:last-child {
	border-bottom: none;
}

.tpc-legal-section .wp-block-heading[id] {
	margin: 0 0 14px;
	padding-left: 14px;
	border-left: 3px solid var(--tpc-red);
	font-size: 20px;
	font-weight: 700;
	color: var(--tpc-black);
	scroll-margin-top: 24px;
}

.tpc-legal-section h3.wp-block-heading {
	margin: 20px 0 8px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--tpc-dark);
}

.tpc-legal-section p {
	margin: 0 0 12px;
	color: var(--tpc-gray);
	font-size: 14.5px;
	line-height: 1.7;
}

.tpc-legal-section ul.wp-block-list,
.tpc-legal-section ol.wp-block-list {
	margin: 0 0 14px;
	padding-left: 22px;
	color: var(--tpc-gray);
	font-size: 14.5px;
	line-height: 1.65;
}

.tpc-legal-section ul.wp-block-list li,
.tpc-legal-section ol.wp-block-list li {
	margin: 0 0 7px;
}

.tpc-legal-contact-box {
	margin: 6px 0 14px;
	padding: 16px 20px;
	border: 1px solid var(--tpc-border);
	border-radius: 8px;
	background: #FAFAFA;
}

.tpc-legal-contact-lead {
	margin: 0 0 10px;
	color: var(--tpc-gray);
	font-size: 14.5px;
}

.tpc-legal-contact-lines p {
	margin: 0 0 4px;
	font-size: 14px;
	color: var(--tpc-dark);
}

.tpc-legal-contact-name {
	font-weight: 700;
	color: var(--tpc-black) !important;
}

.tpc-legal-contact-lines strong {
	color: var(--tpc-black);
}

@media (max-width: 640px) {
	.tpc-legal-hero-title.wp-block-heading {
		font-size: 24px;
	}

	.tpc-legal-toc-list {
		grid-template-columns: 1fr;
	}

	.tpc-legal {
		padding: 28px 18px 48px;
	}
}

/* ---------- About page: Contact Us block ---------- */

.tpc-about-contact {
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
}

.tpc-about-contact p {
	margin: 0 0 8px;
	color: var(--tpc-about-body, var(--tpc-gray));
	font-size: 14px;
}

.tpc-about-contact-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--tpc-about-ink, var(--tpc-black)) !important;
}

.tpc-about-contact a {
	color: var(--tpc-about-blue, var(--tpc-red));
	text-decoration: none;
}

.tpc-about-contact-tagline {
	margin-top: 14px !important;
	font-style: italic;
	color: var(--tpc-about-blue, var(--tpc-red)) !important;
}

/* =====================================================================
   Contact Us page
   Pure Gutenberg-block content (Group/Columns/Heading/Paragraph, plus
   the [tpc_wcw_contact_info] / [tpc_wcw_contact_map] / [tpc_wcw_contact_form]
   shortcodes from inc/tpc-wcw-contact.php dropped in as Shortcode blocks
   for anything that needs live data or a working <form>). Brand-tied
   (uses only the site's real --tpc-* variables, no one-off palette) since
   this is a transactional page, same approach as the Legal pages above -
   not the About page's separate editorial color system.
   ===================================================================== */

.tpc-contact {
	font-family: var(--tpc-font-body);
	color: var(--tpc-gray);
}

.tpc-contact *,
.tpc-contact *::before,
.tpc-contact *::after {
	box-sizing: border-box;
}

.tpc-contact svg {
	display: block;
	flex-shrink: 0;
}

.tpc-contact h1,
.tpc-contact h2,
.tpc-contact h3 {
	font-family: var(--tpc-font-heading);
	color: var(--tpc-black);
}

.tpc-contact-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px;
}

/* ---------- Hero ---------- */

.tpc-contact-hero.wp-block-cover {
	min-height: 220px !important;
	background: var(--tpc-black);
}

.tpc-contact-hero.wp-block-cover > .wp-block-cover__background {
	background: linear-gradient(120deg, var(--tpc-black) 0%, var(--tpc-red) 140%) !important;
	opacity: 1 !important;
}

.tpc-contact-hero .wp-block-cover__inner-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 24px;
}

.tpc-contact-hero-title.wp-block-heading {
	margin: 0 0 10px;
	color: var(--tpc-white);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.tpc-contact-hero-text.wp-block-paragraph {
	max-width: 520px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14.5px;
	line-height: 1.6;
}

/* ---------- Section heading with a short colored underline ---------- */

.tpc-contact-heading {
	position: relative;
	display: inline-block;
	margin: 0 0 22px;
	padding-bottom: 12px;
	font-size: 22px;
	font-weight: 700;
	color: var(--tpc-black);
}

.tpc-contact-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 2px;
	background: var(--tpc-red);
}

.tpc-contact-heading--center {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.tpc-contact-heading--center::after {
	left: 50%;
	transform: translateX(-50%);
}

/* ---------- Info + Form columns ---------- */

.tpc-contact-cols {
	align-items: flex-start;
}

.tpc-contact-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 22px;
}

.tpc-contact-info-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var(--tpc-border);
	border-radius: 12px;
	background: #FAFAFA;
}

.tpc-contact-info-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(131, 36, 30, 0.08);
	color: var(--tpc-red);
}

.tpc-contact-info-label {
	margin: 0 0 3px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tpc-light-gray);
}

.tpc-contact-info-value {
	margin: 0;
	font-size: 14.5px;
	color: var(--tpc-dark);
	line-height: 1.5;
}

.tpc-contact-info-value a {
	color: var(--tpc-dark);
	text-decoration: none;
}

.tpc-contact-info-value a:hover {
	color: var(--tpc-red);
}

.tpc-contact-info-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tpc-contact-info-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 8px;
	background: var(--tpc-red);
	color: var(--tpc-white) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--tpc-red);
}

.tpc-contact-info-btn:hover {
	background: var(--tpc-red);
	border-color: var(--tpc-red);
}

.tpc-contact-info-btn--whatsapp {
	background: #25D366;
	border-color: #25D366;
}

.tpc-contact-info-btn--whatsapp:hover {
	background: #1fb956;
	border-color: #1fb956;
}

.tpc-contact-info-btn--outline {
	background: transparent;
	color: var(--tpc-dark) !important;
	border-color: var(--tpc-border);
}

.tpc-contact-info-btn--outline:hover {
	background: #FAFAFA;
	border-color: var(--tpc-light-gray);
	color: var(--tpc-dark) !important;
}

/* ---------- Form ---------- */

.tpc-contact-form {
	padding: 26px 26px 28px;
	border: 1px solid var(--tpc-border);
	border-radius: 14px;
	background: var(--tpc-white);
}

.tpc-contact-form-row {
	margin-bottom: 16px;
}

.tpc-contact-form-row-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.tpc-contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tpc-dark);
}

.tpc-contact-form label span {
	color: var(--tpc-red);
}

.tpc-contact-form input[type="text"],
.tpc-contact-form input[type="email"],
.tpc-contact-form input[type="tel"],
.tpc-contact-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--tpc-border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	color: var(--tpc-dark);
	background: var(--tpc-white);
}

.tpc-contact-form input:focus,
.tpc-contact-form textarea:focus {
	outline: none;
	border-color: var(--tpc-red);
}

.tpc-contact-form textarea {
	resize: vertical;
	min-height: 110px;
}

.tpc-contact-form-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tpc-contact-form-submit {
	width: 100%;
	padding: 13px 20px;
	border: none;
	border-radius: 8px;
	background: var(--tpc-red);
	color: var(--tpc-white);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.tpc-contact-form-submit:hover {
	background: var(--tpc-red);
}

.tpc-contact-form-notice {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.5;
}

.tpc-contact-form-notice--success {
	background: #EFFBF3;
	color: #16783C;
	border: 1px solid #BEEBCE;
}

.tpc-contact-form-notice--invalid,
.tpc-contact-form-notice--error {
	background: #FDEFEF;
	color: var(--tpc-red);
	border: 1px solid #F5C9C6;
}

/* ---------- Map ---------- */

.tpc-contact-map-wrap {
	background: #FAFAFA;
	border-top: 1px solid var(--tpc-border);
}

.tpc-contact-map {
	max-width: 1180px;
	margin: 0 auto;
	height: 360px;
	border-radius: 0;
	overflow: hidden;
}

.tpc-contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.tpc-contact-cols.wp-block-columns {
		flex-wrap: wrap;
	}

	.tpc-contact-form-row-group {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.tpc-contact-section {
		padding: 40px 18px;
	}

	.tpc-contact-hero-title.wp-block-heading {
		font-size: 24px;
	}

	.tpc-contact-form {
		padding: 22px 20px 24px;
	}

	.tpc-contact-map {
		height: 280px;
	}
}
