/*
 * Local-only replacement for the translated homepages' Why Choose Us Custom CSS.
 * Keep every rule scoped to the shared body class and Elementor container 367f28b.
 */

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion h3,
body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc p {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
}


body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion h3 {
	-webkit-line-clamp: 1;
}

body.gato-local-home-why-choose-us .elementor-element-73bba4b.home-acc {
	overflow: hidden;
	background-position: center center !important;
	background-size: cover !important;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion {
	--blue: #0091db;
	--gray: #9ca3af;
	--card-bg: #f3f4f6;
	--radius: 12px;
	--pad: 24px;
	--dot-top: 82px;
	--normal-flex: 1 1 0;
	--active-flex: 3 1 0;
	position: relative;
	align-items: stretch !important;
	width: 100%;
	height: clamp(380px, 20vw, 500px);
	padding-top: 0 !important;
	overflow: hidden;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion::before {
	content: '';
	position: absolute;
	top: var(--dot-top);
	right: 0;
	left: 0;
	z-index: 10;
	height: 2px;
	background-image: linear-gradient(to right, var(--gray) 50%, transparent 50%);
	background-size: 12px 2px;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item {
	position: relative;
	flex: var(--normal-flex) !important;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--card-bg);
	cursor: pointer;
	transition: flex 0.55s ease, background 0.35s ease;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion:not([data-gato-accordion-ready]) .h-accordion-item:first-child,
body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active {
	flex: var(--active-flex) !important;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item:hover {
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item::before {
	content: '';
	position: absolute;
	top: var(--dot-top);
	left: var(--pad);
	z-index: 20;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--gray);
	transform: translateY(-50%);
	transition: background 0.35s ease, transform 0.35s ease;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title {
	margin: 0 !important;
	padding: 24px var(--pad) 34px;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: -4px;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc {
	margin: 0 !important;
	padding: 0 var(--pad) 22px;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc p {
	-webkit-line-clamp: 10;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title h3 {
	transition: color 0.35s ease;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion:not([data-gato-accordion-ready]) .h-accordion-item:first-child::before,
body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active::before {
	background: var(--blue);
	transform: translateY(-50%) scale(1.15);
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion:not([data-gato-accordion-ready]) .h-accordion-item:first-child .acc-title h3,
body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active .acc-title h3 {
	color: var(--blue);
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image {
	position: absolute;
	right: var(--pad);
	bottom: var(--pad);
	left: var(--pad);
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion:not([data-gato-accordion-ready]) .h-accordion-item:first-child .elementor-widget-image,
body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active .elementor-widget-image {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image img {
	display: block;
	width: 100%;
	height: clamp(150px, 100%, 220px);
	margin: 0 10px;
	border-radius: 10px;
	object-fit: cover;
}

@media (max-width: 880px) {
	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion {
		flex-direction: column !important;
		gap: 18px;
		height: auto;
		overflow: visible;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion::before,
	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item::before {
		display: none;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item,
	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion:not([data-gato-accordion-ready]) .h-accordion-item:first-child,
	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active,
	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item:hover {
		flex: none !important;
		width: 100%;
		height: auto;
		background: var(--card-bg);
		box-shadow: none;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title {
		padding: 24px 22px 10px;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title h3 {
		-webkit-line-clamp: 2;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc {
		padding: 0 22px 18px;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc p {
		-webkit-line-clamp: 3;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		margin: 0 22px 22px;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	body.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image img {
		height: 100%;
	}
}

/* English homepage: separate text and media for the two currently visible cards.
 * Keep the translated homepages' original layout above unchanged.
 */
body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion {
	--dot-top: 86px;
	--gato-why-description-room: 60px;
	height: auto;
	min-height: var(--gato-why-min-height, 0px);
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item {
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	padding: 24px;
	height: auto;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title {
	flex: 0 0 52px;
	min-height: 52px;
	min-width: 0;
	padding: 0;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title h3 {
	-webkit-line-clamp: 2;
	line-height: 26px;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc {
	flex: 0 0 auto;
	min-height: 0;
	min-width: 0;
	padding: 0;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image {
	flex: 0 0 auto;
	position: relative;
	inset: auto;
	width: 100%;
	max-width: 940px;
	min-width: 0;
	height: auto;
	align-self: center;
	margin: 0;
	transform: none;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .elementor-widget-image > .elementor-widget-container {
	height: auto;
}

body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image img {
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
	object-fit: contain;
}

@media (max-width: 1024px) {
	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion {
		flex-direction: column !important;
		gap: 18px;
		height: auto;
		overflow: visible;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion::before,
	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item::before {
		display: none;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item,
	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item.gato-acc-active {
		flex: none !important;
		gap: 16px;
		width: 100%;
		height: auto;
		padding: 22px;
		background: var(--card-bg);
		box-shadow: none;
		cursor: default;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title h3,
	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc p {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image {
		flex: none;
		height: auto;
		opacity: 1;
		visibility: visible;
		transition: none;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .h-accordion-item .elementor-widget-image img {
		height: auto;
	}

	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-title,
	body.page-id-11522.gato-local-home-why-choose-us .elementor-element-367f28b.horizontal-accordion .acc-desc {
		flex: none;
		min-height: 0;
	}
}
