section.services-list-wrapper{
	background:var(--light-blue-color);
	padding:45px 5%;
}

section.services-list-wrapper .wrapper{
	display:flex;
	flex-wrap:wrap;
	gap:1%;
}

section.services-list-wrapper .service{
	width:24.25%;
	margin:0.5% 0;
	position:relative;
	box-shadow: 0 0 0 1px transparent, 0 0 0 4px transparent;
	transition:all 0.3s;
}

section.services-list-wrapper .service:hover{
	box-shadow: 0 0 0 1px var(--light-blue-color), 0 0 0 4px var(--yellow-color);
}

section.services-list-wrapper .service .image{
	width:100%;
	padding-bottom:100%;
	background-size:cover;
	background-position:center center;
}

section.services-list-wrapper .service .info{
	position:absolute;
	bottom:0;
	right:0;
	background-color:var(--yellow-color);
	padding:10px 20px 10px 50px;
	clip-path:polygon(40px 0, 100% 0, 100% 100%, 0 100%);
	transition:all 0.3s;
}

section.services-list-wrapper .service .info h3{
	font-weight:700;
	text-transform:uppercase;
	font-size:1em;
	color:var(--blue-color);

}
section.services-list-wrapper .service:hover .info{
	padding:10px 30px 10px 50px;
}

div.page-list-header{
	max-width:600px;
}

@media screen and (max-width:1023px){
	section.services-list-wrapper .service{
		width:32.333%
	}
}

@media screen and (max-width:760px){
	section.services-list-wrapper .service{
		width:49.5%
	}
}

@media screen and (max-width:540px){
	section.services-list-wrapper .service .info{
		width: 100%;
		text-align: center;
		clip-path: none;
		padding: 10px;
	}
	section.services-list-wrapper .service:hover .info{
		padding: 10px;
	}
	section.services-list-wrapper .service .info h3{
		font-size:0.875em;
	}
}

/* VERTICAL SIDEBAR */

div.services-list-vertical .wrapper{
	display:flex;
	flex-direction:column;
	gap:5px;
}

div.services-list-vertical .service{
	position:relative;
	background:var(--yellow-color);
	display:flex;
	gap:15px;
	padding:5px;
	vertical-align:center;
	clip-path:polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
	transition:all 0.3s;
}

div.services-list-vertical .service:hover{
	color:var(--yellow-color);
	background:var(--blue-color);
}

div.services-list-vertical .service .image{
	width:50px;
	height:50px;
	background-size:cover;
	background-position:center center;
	clip-path:polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}

div.services-list-vertical .service .info{
	display:flex;
	align-items:center;
}

div.services-list-vertical .service .info h4{
	font-size:1.125em;
	text-transform:uppercase;
}

