.ec-hero {
	padding: clamp(36px, 5vw, 68px) 0;
	color: var(--ec-white);
	background: var(--ec-black);
}

.ec-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
	align-items: center;
	gap: clamp(24px, 5vw, 72px);
}

.ec-hero h1 {
	margin: 0 0 18px;
	max-width: 760px;
	font-size: clamp(2.4rem, 4.4vw, 4.4rem);
	line-height: 0.98;
	letter-spacing: 0;
}

.ec-hero h1 span { color: var(--ec-yellow); }

.ec-hero p {
	max-width: 640px;
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.ec-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ec-hero-visual img {
	display: block;
	width: 100%;
	max-height: 420px;
	object-fit: contain;
	border-radius: 4px;
}

.ec-vehicle-placeholder {
	display: grid;
	place-items: center;
	min-height: clamp(220px, 28vw, 360px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 4px;
	background: #151515;
}

.ec-vehicle-placeholder span {
	color: var(--ec-yellow);
	font-size: clamp(3rem, 7vw, 6rem);
	font-weight: 950;
}

.ec-content-list,
.ec-page-wrap,
.ec-reading,
.ec-error-page {
	padding-block: 48px 72px;
}

.ec-front-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

.ec-plugin-canvas {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.ec-plugin-canvas > * { max-width: none; }

.ec-plugin-canvas > article,
.ec-plugin-canvas > .page,
.ec-plugin-canvas .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ec-page .entry-title,
.ec-single .entry-title,
.ec-archive-header h1 {
	margin: 0 0 16px;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: 0;
}

.ec-archive-header { padding-top: 48px; }

.ec-content-list {
	display: grid;
	gap: 28px;
}

.ec-entry-card {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
	gap: 20px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--ec-gray-200);
}

.ec-entry-card.no-thumb {
	display: block;
}

.ec-post-card-thumbnail {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	background: var(--ec-gray-100);
}

.ec-post-card-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-entry-title {
	margin: 6px 0;
	font-size: clamp(1.35rem, 2vw, 2rem);
	line-height: 1.15;
}

.ec-entry-title a { text-decoration: none; }
.ec-entry-meta { color: var(--ec-gray-600); font-size: 0.875rem; }

.ec-reading { max-width: 860px; }

.ec-editorial-content {
	color: #202020;
}

.ec-editorial-content p,
.ec-editorial-content li {
	color: #202020;
}

.ec-editorial-content h1 {
	margin: 1.4em 0 0.45em;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.08;
}

.ec-editorial-content h2 {
	margin: 1.35em 0 0.42em;
	font-size: clamp(1.65rem, 3vw, 2.55rem);
	line-height: 1.15;
}

.ec-editorial-content h3 {
	margin: 1.25em 0 0.4em;
	font-size: clamp(1.35rem, 2.3vw, 2rem);
	line-height: 1.2;
}

.ec-editorial-content h4 {
	margin: 1.15em 0 0.35em;
	font-size: clamp(1.15rem, 1.8vw, 1.55rem);
	line-height: 1.25;
}

.ec-editorial-content > * { max-width: 100%; }
.ec-editorial-content img { height: auto; }
.ec-editorial-content .wp-block-table,
.ec-editorial-table-scroll {
	width: 100%;
	margin: 24px 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
}

.ec-editorial-content table {
	width: 100%;
	min-width: 680px;
	max-width: 100%;
	border-collapse: collapse;
	background: #FFFFFF;
	color: #202020;
}

.ec-editorial-content table thead th {
	padding: 12px 14px;
	border: 1px solid #D5D5D5;
	background: #E8E8E8;
	color: #111111;
	font-weight: 700;
	text-align: left;
}

.ec-editorial-content table tbody td {
	padding: 11px 14px;
	border: 1px solid #DDDDDD;
	background: #FFFFFF;
	color: #202020;
	vertical-align: top;
}

.ec-editorial-content table tbody tr:nth-child(even) td {
	background: #F7F7F7;
}

.ec-editorial-content table tbody tr:hover td {
	background: #F1F1F1;
}

.ec-editorial-content input[type="text"],
.ec-editorial-content input[type="email"],
.ec-editorial-content input[type="url"],
.ec-editorial-content input[type="search"],
.ec-editorial-content textarea {
	max-width: 100%;
}

.ec-post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
}

.ec-header-search .search-form,
.ec-editorial-content .search-form {
	display: flex;
	position: relative;
	flex-wrap: wrap;
	gap: 10px;
}

.ec-header-search .search-form label,
.ec-editorial-content .search-form label { flex: 1 1 260px; }

.ec-header-search .search-field,
.ec-editorial-content .search-field {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--ec-gray-200);
	border-radius: 4px;
}

.ec-header-search .ec-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 100;
	width: min(100%, 680px);
	overflow: hidden;
	border: 1px solid var(--ec-gray-200);
	border-radius: 4px;
	background: #FFFFFF;
	color: #000000;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.ec-header-search .ec-search-result,
.ec-header-search .ec-search-all,
.ec-header-search .ec-search-empty {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 9px 12px;
	color: #000000;
	text-decoration: none;
}

.ec-header-search .ec-search-result:hover,
.ec-header-search .ec-search-result:focus,
.ec-header-search .ec-search-result.is-active,
.ec-header-search .ec-search-all:hover,
.ec-header-search .ec-search-all:focus,
.ec-header-search .ec-search-all.is-active {
	background: var(--ec-yellow);
	color: #000000;
}

.ec-header-search .ec-search-result img {
	width: 38px;
	height: 38px;
	object-fit: cover;
	border-radius: 3px;
}

.ec-header-search .ec-search-result span {
	display: grid;
	line-height: 1.25;
}

.ec-header-search .ec-search-result small {
	color: var(--ec-gray-600);
	font-size: 0.75rem;
}
