/* ===================================================================================

* Theme Name: Autrics Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Description: Car Repair Services and Auto Mechanic WordPress Theme
* Version: 1.5
* Author: Tripples
* Author URI: http://www.themewinter.com
* Template: autrics
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* Grid de serviços — shortcode [servicos_grid] */
.cap-servicos-grid {
	display: grid;
	grid-template-columns: repeat(var(--cap-servicos-columns, 5), minmax(0, 1fr));
	gap: 5px;
	width: 100%;
	padding: 30px 30px 0 30px;
}

.cap-servicos-grid__item:nth-child(even) {
	background: #fff;
}
.cap-servicos-grid__item:nth-child(odd) {
	background: #F4F4F4;
}

.cap-servicos-grid__link {
	display: flex;
	align-items: center;
	position: relative;
	gap: 5px;
	height: 60px;
	padding: 12px 16px;
	
	border: 1px solid #1a1a1a;
	color: #101010;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	padding-left: 60px;
}


.cap-servicos-grid__icon {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
}

.cap-servicos-grid__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cap-servicos-grid__title {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.1;
	
}

.cap-servicos-grid__toggle {
	display: none;
}

@media (max-width: 1199px) {
	.cap-servicos-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 20px 20px;
	}
}

@media (max-width: 767px) {
	.cap-servicos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cap-servicos-grid__title {
		font-size: 18px;
		flex: 0 1 auto;
		text-align: left;
	}

	.cap-servicos-grid-wrap:not(.is-expanded) .cap-servicos-grid__item:nth-child(n+4) {
		display: none;
	}

	.cap-servicos-grid__link {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 12px 16px;
		gap: 10px;
	}

	.cap-servicos-grid__icon {
		position: static;
		left: auto;
		top: auto;
		transform: none;
		flex-shrink: 0;
	}

	.cap-servicos-grid__toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
		width: 100%;
		border: 0;
		background: transparent;
		color: #101010;
		font-weight: 500;
		font-size: 19px;
		text-align: center;
		text-transform: uppercase;
		cursor: pointer;
		transition: color 0.2s ease;
	}

	.cap-servicos-grid__toggle-label--less {
		display: none;
	}

	.cap-servicos-grid-wrap.is-expanded .cap-servicos-grid__toggle-label--more {
		display: none;
	}

	.cap-servicos-grid-wrap.is-expanded .cap-servicos-grid__toggle-label--less {
		display: inline;
	}

	.cap-servicos-grid__toggle-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transition: transform 0.3s ease;
	}

	.cap-servicos-grid__toggle-icon img {
		display: block;
		width: 16px;
		height: auto;
	}

	.cap-servicos-grid-wrap.is-expanded .cap-servicos-grid__toggle-icon {
		transform: rotate(180deg);
	}

	.cap-servicos-grid__toggle:hover,
	.cap-servicos-grid__toggle:focus-visible {
		color: #101010;
		outline: none;
	}
}

@media (max-width: 479px) {
	.cap-servicos-grid {
		grid-template-columns: 1fr;
	}

	.cap-servicos-grid__icon {
		width: 35px;
		height: 35px;
	}
}


.banner-area.bg-overlay:after {
    background: rgba(0, 0, 0, 0.2) !important;
}
