/* Both homepage information banners use the existing registration component. */
.autoco-registration-banner { min-height: 156px; }
.autoco-registration-banner.autoco-warranty-banner {
	width: 100%;
	max-width: 1290px;
	margin: 0 auto 30px;
}
.autoco-warranty-banner__icon svg { width: 36px; height: 36px; }
.listing-post:has(> .autoco-warranty-photo-footer) > .featured-property { margin-bottom: 0; }
.listing-post:has(> .autoco-warranty-photo-footer) > .featured-property .swiper-image { display: block; height: 100% !important; object-fit: cover; }
/* A flow footer keeps the complete vehicle photo visible. */
.autoco-warranty-photo-footer {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 5px;
	width: 100%;
	min-width: 0;
	min-height: 28px;
	margin: 0;
	padding: 5px 4px;
	border-top: 1px solid #ff8b3d;
	background: #222326;
	color: #fff;
	font: 500 12px/1.4 Outfit, "Fira Sans", sans-serif;
	white-space: nowrap;
}
.autoco-warranty-photo-footer > svg {
	flex: 0 0 15px;
	width: 15px;
	height: 16px;
	color: #ff9b53;
}
.tfcl-swiper-gallery > .autoco-warranty-photo-footer { min-height: 30px; font-size: 13px; }
/* The leasing section already contributes a border and the reviews' own padding. */
.home #themesflat-content > .elementor:has(+ .autoco-reviews-section) > .e-con:last-child > .e-con-boxed > .e-con-inner { padding-bottom: 40px; }
@media (max-width: 767px) {
	.autoco-registration-banner { min-height: 300px; }
	.autoco-registration-banner.autoco-warranty-banner { margin: 0 auto 24px; }
	.autoco-warranty-banner__icon svg { width: 28px; height: 28px; }
	.autoco-warranty-photo-footer { gap: 3px; font-size: 11px; }
	.autoco-warranty-photo-footer > svg { flex-basis: 13px; width: 13px; height: 15px; }
	.tfcl-swiper-gallery > .autoco-warranty-photo-footer { font-size: 12px; }
	.home #themesflat-content > .elementor:has(+ .autoco-reviews-section) > .e-con:last-child > .e-con-boxed > .e-con-inner { padding-bottom: 16px; }
}
@media (max-width: 359px) {
	.autoco-registration-banner { min-height: 350px; }
	.autoco-warranty-photo-footer { gap: 2px; padding-inline: 2px; font-size: 10px; }
	.autoco-warranty-photo-footer > svg { flex-basis: 11px; width: 11px; height: 13px; }
}

/* Keep the existing mobile hero CTA position while leaving the car unobscured. */
.autoco-mobile-catalog { display: flex; flex-direction: column; padding-top: 83px; }
.autoco-mobile-catalog .autoco-mobile-catalog__link {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 5px;
  background: #ff7002;
  color: #fff;
  font: 700 16px/1.428571 Rubik, sans-serif;
  text-align: center;
  text-decoration: none;
}
.autoco-mobile-catalog__link:focus-visible { outline: 3px solid #222326; outline-offset: 3px; }

/* Compact only the mobile warranty panel; desktop geometry stays unchanged. */
@media (max-width: 767px) {
  .autoco-registration-banner.autoco-warranty-banner { min-height: 0; }
  .autoco-warranty-banner > .autoco-registration-banner__message { flex: 0 0 auto; }
}
/* Estonian reviews follow the buy/sell panels rather than the leasing section. */
.home .elementor-2528 [data-id="633eabea"]:has(+ .autoco-reviews-section) { margin-bottom: 56px; }
@media (max-width: 767px) {
  .home .elementor-2528 [data-id="633eabea"]:has(+ .autoco-reviews-section) { margin-bottom: 26px; }
}
