
/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service-cell {
	background-color: rgba(170, 29, 19, .3);
	border-radius: 10px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: background-color .1s, color .1s;
	height: 200px;
}

.service-cell.row-span-3 {
	grid-row: span 3;
	height: calc(200px * 3 + 40px);
}

.service-cell a {
	padding: 20px;
	background-color: rgba(170, 29, 19, 60%);
	text-decoration: none;
	color: inherit;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}

.service-cell a:hover {
	text-decoration: none !important;
	background-color: var(--awb-color5);
	color: var(--awb-color7);
}

.service-content ul {
	padding-inline-start: 20px;
}

.service-content {
	padding: 10px;
	border-radius: 10px;
	text-align: left;
}

.service-cell a h4 {
	margin: 0 0 10px;
	color: #fff;
	font-family: Montserrat;
	font-size: 28px;
	font-weight: 700;
	line-height: 106%;
}

.service-cell:hover a ul, .service-cell:hover a h4 {
	color: var(--awb-color7);
}

.service-cell .service-text-body {
	font-family: Montserrat;
	font-size: 16px;
	font-weight: 700;
	line-height: 140%;
	/* 22.4px */
	letter-spacing: .16px;
	color: #fff;
}

.location-container {
	display: flex;
	margin-bottom: 15px;
}

.address {
	flex: 0 0 60%;
}

.phone-number {
	flex: 0 0 40%;
	text-align: right;
}

/* LANGUAGE SWITCHER*/

/* Remove list styles */
.custom-language-switcher {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

/* Display languages inline */
.custom-language-switcher li {
	display: inline;
	margin-right: 10px;
	font-size: 16px;
	/* Adjust size to match */
	font-weight: 700;
}

/* Style active language (currently selected) */
.custom-language-switcher li.active-language span {
	color: black;
	/* Match the color of active language */
	font-weight: 700;
}

/* Style non-active languages */
.custom-language-switcher li a {
	text-decoration: none;
	color: black;
	/* Ensure color consistency */
	font-weight: 400;
}

/* Add the pipe separator */
.custom-language-switcher li:not(:last-child)::after {
	content: "|";
	margin-left: 10px;
	color: black;
}

/* Remove the separator after the last item */
.custom-language-switcher li:last-child::after {
	content: "";
}

/* Adjust hover behavior */
.custom-language-switcher li a:hover {
	color: #555;
}

@media (max-width: 640px) {
	.services-grid {
		grid-template-columns: 1fr;
	}
	
	.service-cell, .service-cell.row-span-3 {
		height: auto;
	}
	
	.location-container {
		flex-direction: column;
	}
	
	.phone-number {
		text-align: left;
	}
	
	#home-map .shortcode-map {
		height: 300px;
	}
}
