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

#bannerContent
{
	padding-bottom: 20px;
}

#officeList .results_list
{
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

#officeList .results_list > li
{
	position: relative;
	width: 100%;
	max-width: 365px;
	min-width: 0;
	justify-self: center;
	background: #000;
	box-sizing: border-box;
}

#officeList .results_list > li:only-child
{
	width: 100%;
}

#officeList .results_list > li .image
{
	display: block;
	position: relative;
	width: 100%;
	max-width: 365px;
	aspect-ratio: 365 / 300;
	overflow: hidden;
	z-index: 1;
}

#officeList .results_list > li .image::before
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	/* background: rgba(0, 0, 0, 0.5); */
	background: var(--brand-dark-blue);
	opacity: 0.4;
	pointer-events: none;
}

#officeList .results_list > li:is(:hover, :focus-within) .image::before,
#officeList .results_list > li .image:has(> a:hover)::before,
#officeList .results_list > li .image:has(> a:focus)::before
{
	background: rgba(9, 57, 109, 0.85);
	opacity: 1;
}

#officeList .results_list > li .image > a
{
	display: block;
	position: absolute;
	inset: 0;
	z-index: 3;
}

#officeList .results_list > li .image > a picture,
#officeList .results_list > li .image > a img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#officeList .results_list > li .info
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 50px 1rem 12px 57px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	pointer-events: none;
}

#officeList .results_list > li .info a,
#officeList .results_list > li .info .sp_pencil
{
	pointer-events: auto;
}

#officeList .results_list > li .info .title
{
	position: relative;
	padding-left: 6px;
	margin: 0 0 0.25rem;
	box-sizing: border-box;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.3;
}

#officeList .results_list > li .info .title::before
{
	content: '';
	position: absolute;
	top: 14px;
	left: -57px;
	width: 57px;
	height: 5px;
	background: var(--brand-yellow);
}

#officeList .results_list > li .info .title a:not(.sp_pencil)
{
	color: #fff;
	text-decoration: none;
}

#officeList .results_list > li .info .title a:not(.sp_pencil):hover,
#officeList .results_list > li .info .title a:not(.sp_pencil):focus
{
	text-decoration: underline;
}

#officeList .results_list > li .info .title .sp_pencil
{
	display: block;
	margin-top: 0.5rem;
}

#officeList .results_list > li .info .address
{
	margin: 0;
	padding-left: 6px;
	box-sizing: border-box;
	color: #fff;
	font-weight: 400;
	font-size: 1.225rem;
	line-height: 1.4;
}

#officeList .results_list > li .info .address:empty
{
	display: none;
}

#officeList .results_list > li .info .address div
{
	margin: 0;
}

#officeList .results_list > li .info .phone,
#officeList .results_list > li .info .phone2
{
	margin: 0;
	padding-left: 6px;
	box-sizing: border-box;
	color: #fff;
	font-size: 1.225rem;
}

#officeList .results_list > li .info .phone:empty,
#officeList .results_list > li .info .phone2:empty
{
	display: none;
}

#officeList .results_list > li .info .phone a,
#officeList .results_list > li .info .phone2 a
{
	color: #fff;
	text-decoration: none;
}

#officeList .results_list > li .info .phone a:hover,
#officeList .results_list > li .info .phone a:focus,
#officeList .results_list > li .info .phone2 a:hover,
#officeList .results_list > li .info .phone2 a:focus
{
	text-decoration: underline;
}

#officeList .results_list > li .info .title ~ *
{
	opacity: 0;
	transition: opacity 0.3s ease;
}

#officeList .results_list > li:is(:hover, :focus-within) .info .title ~ *
{
	opacity: 1;
}

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

@media (min-width: 920px)
{
	#officeList .results_list
	{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1320px)
{
	#officeList .results_list
	{
		grid-template-columns: repeat(4, 1fr);
	}
}


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