/* BEGIN OFFICE-LISTING CSS -------------------------------------> */

#officeList ul
{
	display: grid;
	grid-gap: 12px;
}

#officeList ul,
#officeList li 
{
	margin: 0;
	position: relative;
	list-style: none;
}

#officeList li 
{
	background: #666666;
}

#officeList li
{
	position: relative;
	/*display: flex;
	align-items: flex-end;*/
	padding-top: 100px;
	min-height: 300px;
	box-sizing: border-box;
}

#officeList .bannerimage 
{
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
	top: 0;
	left: 0;
}

#officeList .bannerimage::after 
{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: linear-gradient(to right, #000000 0%, transparent 100%);
	opacity: .9;
}

#officeList .bannerimage img 
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#officeList .info 
{
	position: relative;
	z-index: 10;
	padding: 0 47px 50px;
	color: #ffffff;
	line-height: 1.8;
	font-weight: 300;
}

#officeList .title 
{
	--min-font-size: 32;
	--max-font-size: 48;
	--max-margin-bottom: 20;
	font-family: 'DM Serif Display';
	line-height: 1.25;
}

#officeList .phone 
{
	color: var(--baby-blue);
	font-weight: 400;
}

#officeList .circlelink
{
	position: absolute;
	right: 58px;
	bottom: 51px;
	display: none;
	width: 42px;
}

#officeList .circlelink svg 
{
	display: block;
	width: 100%;
	height: auto;
}

#officeList .circlelink .svgBackground
{
	fill: none;
}

#officeList .circlelink .svgInnards,
#officeList .circlelink .svgCircle
{
	fill: #ffffff;
}

#officeList a:is(:hover,:focus) .circlelink
{
	display: block;
}

#officeList .sp_pencil 
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

@media (min-width: 768px)
{
	
	#officeList ul 
	{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1280px)
{
	#officeList li 
	{
		min-height: 400px;
		padding-top: 150px;
	}

	#officeList .phone,
	#officeList .address
	{
		position: relative;
		top: 15px;
		opacity: 0;
		transition: all 250ms ease;
	}

	#officeList li:hover .phone,
	#officeList li:hover .address,
	#officeList li:focus-within .phone,
	#officeList li:focus-within .address
	{
		opacity: 1;
		top: 0;
	}

}

/* END OFFICE-LISTING CSS ---------------------------------------> */