.agvtitle-list {
	display:flex;
	flex-wrap:wrap;
	gap:30px;
}

.agvtitle-item {
	width:calc(25% - 25px);
	cursor:pointer;
}
.agvtitle-item h5 {
	border:1px solid var(--contrast-3);
	color:var(--accentred);
	font-weight:bold; 
	transition:all 0.5s;
}
.agvtitle-item h5:hover,
.agvtitle-item.active h5 {
	border:1px solid var(--accentred);
	color:var(--accentred);
}
.agvtitle-item h5::before {
	content:"+";
	display:inline-block;
	height:40px;
	width:40px;
	background-color:var(--contrast-3);
	color:white;
	text-align:center;
	line-height:34px;
	font-size:24px;
	margin-right:10px;
	transition:all 0.5s;
}
.agvtitle-item h5:hover::before { 
	background-color:var(--accentred);
}
.agvtitle-item.active h5::before { 
	content:"-";
	background-color:var(--accentred);
}
.agvtitle-item img {
	width:100%;
	height:auto;
} 
.agvtitle-item-content {
	max-height:0;
	overflow:hidden;
	transition:max-height 1s;
}
.agvtitle-item.active .agvtitle-item-content {
	max-height:400px;
}

@media (max-width: 1000px) {
	.agvtitle-item {
		width:calc(33% - 20px);
	}
}

@media (max-width: 600px) {
	.agvtitle-item {
		width:calc(50% - 15px);
	}
}
@media (max-width: 430px) {
	.agvtitle-item {
		width:100%;
	}
}