:root {
	--kepd-red: #00b09b;
	--kepd-red-dark: #008f7e;
	--kepd-accent: #00b09b;
	--kepd-accent-dark: #008f7e;
	--kepd-ink: #6b6b6b;
	--kepd-muted: #6b6b6b;
	--kepd-line: #e5e5e5;
	--kepd-soft: #f7f7f7;
	--kepd-footer: #222;
	--kepd-container: 1110px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: #fff;
	color: var(--kepd-ink);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

body.admin-bar .site-header {
	top: 32px;
}

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

a {
	color: #007568;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--kepd-red-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4 {
	color: #111;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0 0 1rem;
}

h1 {
	font-size: clamp(1.9rem, 4vw, 2.75rem);
}

h2 {
	font-size: clamp(1.65rem, 3vw, 2.3rem);
}

h3 {
	font-size: 1.3rem;
}

.site-container {
	margin-inline: auto;
	max-width: calc(var(--kepd-container) + 40px);
	padding-inline: 20px;
	width: 100%;
}

.screen-reader-text,
.skip-link:not(:focus) {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link:focus {
	background: #fff;
	color: #000;
	left: 1rem;
	padding: .75rem 1rem;
	position: fixed;
	top: 1rem;
	z-index: 10000;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--kepd-line);
	position: relative;
	z-index: 50;
}

.site-header__top {
	background: #f4f4f4;
	border-bottom: 1px solid #e8e8e8;
}

.site-header__top-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 37px;
}

.site-header__phone {
	color: #007568;
	font-size: 20px;
	font-weight: 800;
	text-decoration: none;
}

.site-header__quick-actions {
	align-items: center;
	display: flex;
	gap: 1rem;
}

.site-header__quick-actions a {
	color: #555;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.cart-count {
	align-items: center;
	background: var(--kepd-red);
	border-radius: 999px;
	color: #00352e;
	display: inline-flex;
	font-size: .7rem;
	height: 1.35rem;
	justify-content: center;
	margin-left: .25rem;
	min-width: 1.35rem;
}

.site-header__main-inner {
	align-items: center;
	display: grid;
	gap: 2rem;
	grid-template-columns: 250px 1fr;
	min-height: 179px;
}

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo img {
	display: block;
	height: auto;
	max-height: 125px;
	object-fit: contain;
	object-position: left center;
	width: 250px;
}

.site-header.has-sticky-menu {
	padding-bottom: var(--kepd-header-main-height, 179px);
}

.site-header__main.is-sticky {
	background: #fff;
	box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1001;
}

.site-header__main.is-sticky .site-header__main-inner {
	grid-template-columns: 100px 1fr;
	min-height: 71px;
}

.site-header__main.is-sticky .site-logo img {
	max-height: 40px;
	width: 80px;
}

body.admin-bar .site-header__main.is-sticky {
	top: 32px;
}

.product-search {
	display: flex;
	justify-self: stretch;
	max-width: 370px;
	position: relative;
	width: 100%;
}

.product-search--header {
	border: 1px solid #ddd;
	border-radius: 20px;
	height: 34px;
	max-width: 256px;
	overflow: visible;
	width: 256px;
}

.product-search .live-search-list {
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 12px 28px rgb(0 0 0 / 16%);
	display: none;
	left: 0;
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 100;
}

.product-search .live-search-list.porto-opened {
	display: block;
}

.product-search .ops-results-container {
	background: #fff;
	box-shadow: none !important;
}

.product-search input {
	border: 1px solid #ccc;
	border-radius: 22px 0 0 22px;
	min-width: 0;
	padding: .65rem 1rem;
	width: 100%;
}

.product-search--header input {
	background: transparent;
	border: 0;
	border-radius: 20px 0 0 20px;
	color: #555;
	font-size: 13px;
	height: 32px;
	padding: 0 14px;
}

.product-search button {
	align-items: center;
	background: var(--kepd-red);
	border: 0;
	border-radius: 0 22px 22px 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	padding: 0 1rem;
}

.product-search--header button {
	background: transparent;
	border-radius: 0 20px 20px 0;
	color: var(--kepd-accent);
	height: 32px;
	padding-inline: 16px;
}

.product-search--header .live-search-list {
	top: calc(100% + 5px);
}

.primary-menu,
.primary-menu ul,
.footer-links,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	align-items: center;
	display: flex;
	gap: .5rem;
}

.primary-navigation {
	justify-self: end;
}

.primary-menu > li {
	position: relative;
}

.primary-menu a {
	color: #00b09b;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-menu > li > a {
	display: block;
	padding: .55rem .6rem;
}

.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu a:hover,
.primary-menu a:focus-visible {
	background: var(--kepd-accent);
	border-radius: 4px;
	color: #fff;
}

.primary-menu .sub-menu {
	background: #fff;
	border-top: 3px solid var(--kepd-red);
	box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
	left: -.9rem;
	min-width: 220px;
	opacity: 0;
	padding: .6rem 0;
	pointer-events: none;
	position: absolute;
	top: 100%;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease;
}

.primary-menu .sub-menu a {
	display: block;
	padding: .55rem 1rem;
	text-transform: none;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.header-cart {
	align-items: center;
	color: #333;
	display: inline-flex;
	gap: .25rem;
	position: relative;
	text-decoration: none;
}

.header-cart-shell {
	align-items: center;
	display: flex;
	position: relative;
}

.site-header__quick-actions .header-cart {
	color: #333;
}

.header-cart__count {
	align-items: center;
	background: var(--kepd-red);
	border-radius: 50%;
	color: #00352e;
	display: inline-flex;
	font-size: .65rem;
	height: 1.25rem;
	justify-content: center;
	min-width: 1.25rem;
}

.header-mini-cart {
	background: #fff;
	box-shadow: 0 5px 8px rgb(0 0 0 / 15%);
	color: #777;
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: calc(100% + 11px);
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	visibility: hidden;
	width: 320px;
	z-index: 120;
}

.header-mini-cart::before {
	background: #fff;
	content: "";
	height: 14px;
	position: absolute;
	right: 12px;
	top: -7px;
	transform: rotate(45deg);
	width: 14px;
}

.header-mini-cart::after {
	content: "";
	height: 12px;
	left: 0;
	position: absolute;
	right: 0;
	top: -12px;
}

.header-cart-shell:hover .header-mini-cart,
.header-cart-shell:focus-within .header-mini-cart {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.header-mini-cart__top {
	align-items: center;
	border-bottom: 1px solid #e7e7e7;
	display: flex;
	justify-content: space-between;
	min-height: 54px;
	padding: 0 24px;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.header-mini-cart__top strong,
.site-header__quick-actions .header-mini-cart__top a {
	color: #222;
	font-size: 13px;
	font-weight: 700;
}

.header-mini-cart__content {
	background: #fff;
	padding: 0 24px;
}

.header-mini-cart .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-mini-cart .woocommerce-mini-cart-item {
	border-bottom: 1px solid #eee;
	min-height: 86px;
	padding: 14px 24px 14px 72px;
	position: relative;
}

.header-mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
	color: #333;
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
}

.header-mini-cart .woocommerce-mini-cart-item img {
	float: left;
	height: 58px;
	margin-left: -72px;
	object-fit: contain;
	width: 58px;
}

.site-header__quick-actions .header-mini-cart a.remove {
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 50%;
	color: #777;
	display: flex;
	font-size: 15px;
	height: 19px;
	justify-content: center;
	position: absolute;
	right: 0;
	top: 15px;
	width: 19px;
}

.header-mini-cart .quantity {
	color: #777;
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.header-mini-cart .woocommerce-mini-cart__total {
	align-items: center;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 13px 0;
	text-transform: uppercase;
}

.header-mini-cart .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 14px 0 20px;
}

.site-header__quick-actions .header-mini-cart .woocommerce-mini-cart__buttons a {
	background: var(--kepd-accent);
	border-radius: 3px;
	color: #fff;
	flex: 1;
	font-size: 11px;
	padding: 8px 10px;
	text-align: center;
}

.site-header__quick-actions .header-mini-cart .woocommerce-mini-cart__buttons a:hover,
.site-header__quick-actions .header-mini-cart .woocommerce-mini-cart__buttons a:focus-visible {
	background: var(--kepd-accent-dark);
}

.header-mini-cart .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: 16px 0 19px;
	text-align: center;
}

.menu-toggle {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: none;
	padding: .5rem;
}

.menu-toggle > span:not(.screen-reader-text) {
	background: #222;
	display: block;
	height: 2px;
	margin: 4px;
	width: 24px;
}

.site-main {
	min-height: 50vh;
}

.content-shell {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.content-shell--narrow {
	max-width: 840px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

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

.home-intro {
	padding: 30px 0 2rem;
	text-align: center;
}

.home-intro__eyebrow {
	color: #008f7e;
	font-size: 35px;
	font-weight: 400;
	line-height: 42px;
	margin: 0 0 4px;
}

.home-intro__badge {
	display: block;
	margin: 0 auto;
	object-fit: contain;
	width: 257px;
}

.companies-section,
.about-section {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.serial-locations {
	padding-block: 56px clamp(3rem, 7vw, 6rem);
}

.serial-locations h1,
.contact-section > .site-container > h2,
.contact-page .contact-section > .site-container > h1,
.companies-section h2 {
	text-align: center;
}

.serial-locations h1 {
	font-size: 35px;
	font-weight: 500;
	line-height: 42px;
	margin-bottom: 8px;
}

.serial-locations .section-lead {
	font-size: 24.5px;
	font-weight: 500;
	line-height: 29px;
	margin-bottom: 0;
	max-width: none;
}

.section-lead {
	color: var(--kepd-muted);
	font-size: 1.18rem;
	margin: 0 auto 1.5rem;
	max-width: 760px;
	text-align: center;
}

.red-divider {
	background: linear-gradient(90deg, transparent, var(--kepd-red), transparent);
	height: 3px;
	margin: 2rem auto 3rem;
	max-width: 740px;
}

.serial-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.serial-card {
	background: #fff;
	border: 1px solid #eee;
	margin: 0;
	overflow: hidden;
}

.serial-card img {
	display: block;
	width: 100%;
}

.contact-section {
	background: var(--kepd-soft);
	padding-block: clamp(3rem, 7vw, 6rem);
}

.contact-grid {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
	margin-top: 3rem;
}

.contact-card {
	background: #fff;
	border-top: 4px solid var(--kepd-red);
	box-shadow: 0 8px 28px rgb(0 0 0 / 8%);
	height: fit-content;
	padding: 2rem;
}

.contact-card dl {
	margin: 0 0 2rem;
}

.contact-card dt {
	font-weight: 700;
	margin-top: 1rem;
}

.contact-card dd {
	margin: 0;
}

.companies-section {
	background: #00b09b;
	border-bottom: 5px solid #009785;
	border-top: 5px solid #009785;
	color: #fff;
	padding-block: 50px 30px;
}

.companies-section h2 {
	color: #fff;
	font-size: 28px;
	font-weight: 500;
	line-height: 34px;
	margin: 0;
	text-align: center;
}

.company-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 10px;
}

.company-card {
	border: 0;
	display: block;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.company-card:hover,
.company-card:focus-visible {
	box-shadow: 0 14px 34px rgb(0 0 0 / 14%);
	transform: translateY(-3px);
}

.company-card img {
	display: block;
	width: 100%;
}

.about-section {
	background: #fff;
	padding-block: 42px 70px;
}

.about-section__inner {
	text-align: left;
}

.about-section__inner > h2 {
	margin-inline: auto;
	max-width: 760px;
	text-align: center;
}

.about-section__inner p {
	font-size: 1.08rem;
}

.company-info {
	margin: 0;
}

.company-info-layout {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 1fr) 220px;
	margin-top: 2.5rem;
}

.company-info-layout h3,
.parts-info h3 {
	color: #1d2127;
	font-size: 24.5px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 12px;
}

.company-info-layout p,
.parts-info p {
	font-size: 20px;
	line-height: 1.45;
	margin: 0;
}

.company-info__logo {
	display: block;
	height: auto;
	max-width: 220px;
	width: 100%;
}

.parts-info {
	border-top: 1px solid #e1e1e1;
	margin-top: 30px;
	padding-top: 30px;
}

.button,
button.button,
input.button {
	background: var(--kepd-red);
	border: 0;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: .75rem 1.4rem;
	text-decoration: none;
}

.button:hover,
.button:focus-visible {
	background: var(--kepd-red-dark);
	color: #fff;
}

.company-info a {
	color: #001f1b;
	font-weight: 700;
}

.post-list {
	display: grid;
	gap: 1.5rem;
}

.post-card {
	border-bottom: 1px solid var(--kepd-line);
	padding-bottom: 1.5rem;
}

.post-card h2 {
	font-size: 1.5rem;
}

.site-footer {
	background: var(--kepd-footer);
	color: #ccc;
}

.site-footer__grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1.3fr .8fr 1fr;
	padding-block: 3.5rem;
}

.site-footer__brands {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 1.25rem;
}

.site-footer__brand-link {
	display: inline-block;
	width: 160px;
}

.site-footer .site-footer__logo {
	display: block;
	height: auto;
	max-width: 160px;
	width: 100%;
}

.footer-kepd-logo {
	background: transparent;
	display: grid;
	grid-template-rows: 54px 22px 24px;
	height: 100px;
	overflow: hidden;
	width: 200px;
}

.footer-kepd-logo__kubota {
	display: block;
	height: 54px;
	overflow: hidden;
}

.footer-kepd-logo__kubota img {
	display: block;
	height: 68px;
	max-width: none;
	object-fit: contain;
	object-position: center top;
	width: 200px;
}

.footer-kepd-logo__dealer,
.footer-kepd-logo__business {
	align-items: center;
	display: flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	text-transform: uppercase;
}

.footer-kepd-logo__dealer {
	border-bottom: 2px solid #00b09b;
	border-top: 2px solid #00b09b;
	color: #fff;
	font-size: 13px;
}

.footer-kepd-logo__business {
	color: #00b09b;
	font-size: 14px;
}

.footer-widget__title {
	color: #fff;
	font-size: 1.05rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.site-footer a {
	color: #ddd;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #fff;
}

.footer-links li + li {
	margin-top: .5rem;
}

.site-footer__bottom {
	background: #181818;
	border-top: 1px solid #333;
}

.site-footer__bottom-inner {
	align-items: center;
	display: flex;
	font-size: .82rem;
	justify-content: space-between;
	min-height: 68px;
}

.site-footer__bottom p {
	margin: 0;
}

.footer-menu {
	display: flex;
	gap: 1rem;
}

@media (max-width: 1050px) {
	.site-header__main.is-sticky {
		max-height: calc(100dvh - 32px);
		overflow-y: auto;
	}

	.site-header__main.is-sticky .site-header__main-inner {
		grid-template-columns: minmax(100px, 1fr) auto auto;
		min-height: 71px;
		padding-block: .5rem;
	}

	.site-header__main.is-sticky .site-logo img {
		max-height: 50px;
		width: 100px;
	}

	.site-header__main-inner {
		grid-template-columns: minmax(190px, 240px) 1fr auto;
	}

	.primary-navigation {
		background: #fff;
		border-top: 1px solid var(--kepd-line);
		display: none;
		grid-column: 1 / -1;
		padding: 1rem 0;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-menu > li > a {
		padding: .65rem 0;
	}

	.primary-menu .sub-menu {
		border: 0;
		box-shadow: none;
		display: block;
		opacity: 1;
		padding: 0 0 .5rem 1rem;
		pointer-events: auto;
		position: static;
		transform: none;
	}

	.menu-toggle {
		display: block;
		grid-column: 3;
		grid-row: 1;
	}

	.header-cart {
		grid-column: auto;
		grid-row: 1;
	}

	.header-mini-cart {
		max-width: calc(100vw - 24px);
	}
}

@media (max-width: 760px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .site-header__main.is-sticky {
		top: 46px;
	}

	.site-header__top-inner {
		gap: .75rem;
	}

	.site-header__phone {
		font-size: 15px;
		white-space: nowrap;
	}

	.product-search--header {
		max-width: 190px;
		width: min(48vw, 190px);
	}

	.site-header__main-inner {
		gap: 1rem;
		grid-template-columns: 1fr auto auto;
		min-height: auto;
		padding-block: 1rem;
	}

	.site-logo {
		grid-column: 1;
		grid-row: 1;
	}

	.site-logo img {
		max-height: 76px;
		max-width: 190px;
		width: auto;
	}

	.serial-grid,
	.contact-grid,
	.company-grid,
	.company-info-layout,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: .5rem;
		justify-content: center;
		padding-block: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
