:root {
	--bardahl-color-white: #ffffff;
	--bardahl-color-gray: rgba(39, 38, 38, .60);
	--bardahl-color-light-gray: 646363;
	--bardahl-color-black: #000000;
	--bardahl-color-red: #e50417;
	--bardahl-border-color: #646363;
}

.ug-elementor-home-categories {
	background-color: var(--bardahl-color-black);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: container;
	cursor: pointer;
	display: flex;
	padding-bottom: 2em;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 2em;
	position: relative;
}

.ug-elementor-home-categories * {
	font-family: Rajdhani, sans-serif;
}

.ug-elementor-home-categories .ug-column {
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.ug-elementor-home-categories .ug-column:nth-of-type(1) {
	flex-grow: 2;
}

.ug-elementor-home-categories .ug-column:nth-of-type(2) {
	flex-grow: 1;
	min-width: 525px;
}

.ug-elementor-home-categories h2 {
	color: var(--bardahl-color-white);
	font-family: Michroma, sans-serif;
	font-size: 54px;
	font-weight: 200;
	line-height: 64.8px;
}

.ug-elementor-home-categories h4 {
	color: var(--bardahl-color-white);
	font-family: Michroma, sans-serif;
	font-weight: 300;
	margin-bottom: 0;
}

.ug-elementor-home-categories .ug-column a {
	color: var(--bardahl-color-white);
}

.ug-elementor-home-categories .ug-column:nth-of-type(1) a {
	display: none;
	margin-top: auto;
}

.ug-elementor-home-categories .ug-column:nth-of-type(2) > span {
	color: var(--bardahl-color-white);
	text-align: right;
}

.ug-elementor-home-categories ul {
	display: none;
	list-style-position: inside;
	list-style-type: none;
	margin-top: 1em;
	padding-inline-start: 0;
}

.ug-elementor-home-categories ul li:not(:last-child) {
	border-bottom: 1px solid var(--bardahl-border-color);
}

/* 20241119 Richiesta Luca
.ug-elementor-home-categories ul li:last-child {
	margin-top: 10px;
}
*/

.ug-elementor-home-categories ul li a {
	background-color: var(--bardahl-color-gray);
	display: block;
	padding-bottom: 1em;
	padding-right: 1em;
	padding-left: 1.5em;
	padding-top: 1em;
	transition: background-color 400ms linear;
}

.ug-elementor-home-categories ul li a:after {
	content: '\2192';
	float:right
}

.ug-elementor-home-categories ul li a:hover {
	background-color: var(--bardahl-hover-color);
}

@media screen and (max-width: 750px) {

	.ug-elementor-home-categories {
		flex-direction: column;
	}
	
	.ug-elementor-home-categories .ug-column:nth-of-type(2) {
		min-width: 0;
	}

	.ug-elementor-home-categories .ug-column:nth-of-type(2) > a {
		display: none;
	}
	
	.ug-elementor-home-categories::before {
		background-color: rgba(0, 0, 0, .5);
		content: '';
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%; 
	}

}

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

Customs

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


/* 20230921 Richiesta Luca di pareggiare altezza delle  */
.elementor-widget-bardahl-home-categories:nth-of-type(3) .ug-elementor-home-categories ul {
	margin-bottom: 67px;
}