/* ==========================================================================
   PhysioLab Location Page Styles
   ========================================================================== */

/* --------------------------------------------- 
   BANNER - Full overlay coverage
   Override the responsive.css max-width:80% rule
   --------------------------------------------- */
.page-template-0_location #banner {
	background-color: #333;
	position: relative;
	min-height:600px!important
}

.page-template-0_location #banner .overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 10%;
}

.page-template-0_location #banner .overlay h1 {
	color: #fff;
}

.page-template-0_location #banner .overlay h5 {
	color: rgba(255,255,255,0.8);
}

.page-template-0_location .button.location-cta-btn {
	background: #ff4153;
	color: #fff;
	border: none;
	padding: 15px 40px;
	margin-top: 25px;
	display: inline-block;
}

.page-template-0_location .button.location-cta-btn:hover {
	background: #e0323f;
	color: #fff;
}

/* --------------------------------------------- 
   LOCATION INFO
   --------------------------------------------- */
#location-info {
	padding: 80px 0;
	background: #f5f5f5;
}

#location-info .inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

#location-info .info-card {
	display: flex;
	background: #fff;
	box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

#location-info .map-container {
	flex: 0 0 50%;
	min-height: 450px;
	background: #ddd;
}

#location-info .map-container iframe {
	width: 100%;
	height: 100%;
	min-height:360px;
	margin-bottom:-4px;
}

#location-info .details {
	flex: 0 0 50%;
	padding: 50px;
}

#location-info .details h2 {
	margin-bottom: 30px;
	font-size: 32px;
	line-height: 36px;
}

#location-info .detail-row {
	display: grid;
	grid-template-columns: 80px 1fr;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

#location-info .detail-row:last-of-type {
	border-bottom: none;
}

#location-info .detail-row .label {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	color: #333;
	padding-top: 3px;
}

#location-info .detail-row .value {
	font-size: 15px;
	line-height: 24px;
	color: #555;
}

#location-info .detail-row .value a {
	color: #555;
	border-bottom: 1px dotted #999;
}

#location-info .detail-row .value a:hover {
	color: #ff4153;
}

#location-info .detail-row.hours {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

#location-info .hours-grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 5px 15px;
}

#location-info .hours-grid .day {
	font-weight: 500;
}

#location-info .hours-grid .time {
	color: #666;
}

#location-info .details .button {
	margin-top: 30px;
}

/* --------------------------------------------- 
   SECTION HEADINGS
   --------------------------------------------- */
.section-head {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 50px;
}

.section-head h2 {
	margin-bottom: 15px;
}

.section-head p {
	color: #666;
}

/* --------------------------------------------- 
   SERVICES - Matching Our Services page layout
   --------------------------------------------- */
#location-services {
	background: #e6e6e6;
	padding-bottom: 3%;
}

#location-services .section-head {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 40px 20px;
}

#location-services .section-head h2 {
	margin-bottom: 15px;
}

#location-services .section-head p {
	color: #555;
	font-size: 16px;
	line-height: 26px;
}

#location-services .services-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0 2%;
}

#location-services .service {
	background: #fff;
	flex: 0 1 29%;
	margin: 2%;
}

#location-services .service .image {
	height: 300px;
	display: flex;
	background: #444;
	align-items: flex-end;
}

#location-services .service .image h4 {
	color: #fff;
	text-transform: inherit;
	font-size: 24px;
	line-height: 31px;
	font-weight: 400;
	letter-spacing: 0px;
	padding: 5% 10%;
	margin: 0;
}

#location-services .service .writeup {
	padding: 5% 10%;
}

#location-services .service .writeup p {
	font-size: 15px;
	line-height: 24px;
	color: #555;
	margin: 0;
}

#location-services .service .writeup .service-link {
	display: inline-block;
	margin-top: 15px;
	font-size: 14px;
	font-weight: 600;
	color: #ff4153;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

#location-services .service .writeup .service-link:hover {
	color: #222;
}

/* --------------------------------------------- 
   TEAM - Mirroring About page styles
   --------------------------------------------- */
.page-template-0_location #team {
	display: flex;
	flex-wrap: wrap;
	background: #f5f5f5;
}

.page-template-0_location .location-team-head {
	flex: 0 0 100%;
	padding: 80px 40px 40px;
}

.page-template-0_location #bios {
	display: flex;
	flex: 0 0 100%;
	flex-wrap: wrap;
	background: #efefef;
}

.page-template-0_location .bio {
	flex: 0 1 20%;
	min-height: 25vw;
	display: flex;
	align-items: flex-end;
	cursor: pointer;
}

.page-template-0_location .bio:hover span:after {
	background: #ff4153;
}

.page-template-0_location .bio span {
	color: #fff;
	display: block;
	width: 100%;
	position: relative;
	z-index: 33;
	overflow: hidden;
	padding: 5%;
}

.page-template-0_location .bio span:after {
	content: "";
	transition: all .5s;
	background: rgba(20, 20, 20, .5);
	color: #fff;
	display: block;
	position: absolute;
	width: 100%;
	top: 0;
	backdrop-filter: blur(5px);
	z-index: -1;
	height: 100%;
	left: 0;
}

.page-template-0_location .bio span strong {
	display: block;
	font-weight: normal;
	font-size: 13px;
	font-style: italic;
	text-transform: capitalize;
	margin-top: 4px;
}

/* --------------------------------------------- 
   BIO BOXES - Hidden on page
   --------------------------------------------- */
.page-template-0_location .box {
	display: none;
}

/* --------------------------------------------- 
   BIO BOXES IN FEATHERLIGHT
   Use ID-based selectors since boxes have unique IDs
   This targets boxes when displayed in featherlight
   --------------------------------------------- */
.featherlight-content [id$="box"].box {
	display: block;
}

.featherlight-content [id$="box"].box .inner {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	width: 90vw !important;
	max-width: 1200px;
	background: #fff;
}

.featherlight-content [id$="box"].box .pic {
	flex: 0 0 30%;
	min-height: 400px;
}

.featherlight-content [id$="box"].box .writeup {
	flex: 0 0 70%;
	padding: 60px 4%;
}

.featherlight-content [id$="box"].box .sticker {
	color: #000;
	border: 1px solid #000;
	background: none;
	margin-bottom: 15px;
}

.featherlight-content [id$="box"].box h2 {
	font-size: 50px;
	line-height: 50px;
	margin-bottom: 20px;
}

.featherlight-content [id$="box"].box h3 {
	font-size: 25px;
	line-height: 32px;
	font-weight: 400;
	text-transform: inherit;
	margin: 30px 0;
	border-top: 1px dotted #ccc;
	padding-top: 40px;
}

.featherlight-content [id$="box"].box p {
	font-size: 16px;
	line-height: 25px;
}

.featherlight-content [id$="box"].box .writeup ul li {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 5px;
	color: #666;
}

.featherlight-content [id$="box"].box .writeup .button {
	margin: 5px 5px 5px 0;
	background: #ff4153;
	color: #fff;
	border: none;
	padding: 12px 20px;
}

/* --------------------------------------------- 
   GALLERY
   --------------------------------------------- */
#location-gallery {
	padding: 80px 0;
	background: #fff;
}

#location-gallery .inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

#location-gallery .gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

#location-gallery .gallery-item {
	aspect-ratio: 1;
	background: #ddd;
	cursor: pointer;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#location-gallery .gallery-item:hover {
	transform: scale(1.02);
	opacity: 0.9;
}

/* --------------------------------------------- 
   PARKING
   --------------------------------------------- */
#parking-info {
	padding: 80px 0;
	background: #f5f5f5;
}

#parking-info .inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 40px;
}

#parking-info .section-head {
	text-align: center;
	margin-bottom: 30px;
}

#parking-info .content p {
	font-size: 15px;
	line-height: 26px;
	color: #555;
	text-align:center
}


/* --------------------------------------------- 
   CTA
   --------------------------------------------- */
#location-cta {
	padding: 100px 40px;
	background: #222;
	text-align: center;
}

#location-cta .inner {
	max-width: 700px;
	margin: 0 auto;
}

#location-cta h2 {
	color: #fff;
	margin-bottom: 15px;
}

#location-cta p {
	color: rgba(255,255,255,0.8);
	margin-bottom: 30px;
	font-size: 18px;
}

#location-cta .button.location-cta-btn:hover {
	background: #fff;
	color: #222;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media only screen and (max-width: 1200px) {
	.page-template-0_location .bio {
		flex: 0 1 25%;
		min-height: 35vw;
	}
}

@media only screen and (max-width: 1024px) {
	#location-info .info-card {
		flex-direction: column;
	}
	
	#location-info .map-container {
		flex: none;
		min-height: 350px;
	}
	
	#location-info .details {
		flex: none;
	}
	
	.page-template-0_location .bio {
		flex: 0 0 33.333%;
		min-height: 45vw;
	}
	
	#location-services .service {
		flex: 0 1 46%;
	}
	
	#location-services .section-head {
		padding: 50px 30px 10px;
	}
	
	#location-gallery .gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.featherlight .featherlight-content {
		max-height: 100%;
	}
}

@media only screen and (max-width: 900px) {
	.page-template-0_location .bio {
		flex: 0 0 33%;
		height: 45vw;
	}
	
	/* Override the responsive.css max-width:80% rule */
	.page-template-0_location #banner .overlay {
		max-width: 100% !important;
		width: 100% !important;
	}
}

@media only screen and (max-width: 800px) {
	#location-info,
	#location-services,
	#location-gallery,
	#parking-info {
		padding: 60px 0;
	}
	
	.page-template-0_location .location-team-head {
		padding: 60px 20px 40px;
	}
	
	#location-info .inner,
	#location-services .inner,
	#location-gallery .inner {
		padding: 0 20px;
	}
	
	#location-info .details {
		padding: 30px;
	}
	
	.page-template-0_location .bio {
		flex: 0 0 50%;
		min-height: 300px;
	}
	
	#location-gallery .gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	#parking-info .inner {
		padding: 0 20px;
	}
	
	#location-cta {
		padding: 60px 20px;
	}
}

@media only screen and (max-width: 600px) {
	/* Featherlight box responsive */
	.featherlight-content [id$="box"].box .pic {
		flex: 0 0 100%;
		height: 50vh;
	}
	
	.featherlight-content [id$="box"].box .writeup {
		flex: 0 0 100%;
		padding: 30px 4%;
	}
	
	.featherlight-content [id$="box"].box h2 {
		max-width: 50%;
	}
	
	#location-info .detail-row {
		grid-template-columns: 1fr;
		gap: 5px;
	}
	
	#location-services .service {
		flex: 0 1 96%;
	}
	
	#location-services .service .image {
		height: 200px;
	}
	
	#location-services .section-head {
		padding: 40px 20px 10px;
	}
	
	#location-gallery .gallery-grid {
		gap: 10px;
	}
	
	.page-template-0_location .bio span {
		font-size: 14px;
	}
}

@media only screen and (max-width: 500px) {
	.page-template-0_location .bio {
		flex: 0 0 50%;
		min-height: 300px;
	}
	
	.section-head {
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 400px) {
	.page-template-0_location .bio {
		flex: 0 0 100%;
		min-height: 220px;
	}
}

/* --------------------------------------------- 
   CTA SECTION - Additional text below button
   --------------------------------------------- */
#location-cta .cta-below {
	margin-top: 25px;
	font-size: 15px;
	line-height: 24px;
	opacity: 0.9;
}

/* --------------------------------------------- 
   FAQ SECTION - Matching Contact page style
   --------------------------------------------- */
.page-template-0_location #faqs {
	background: #e6e6e6;
	padding: 100px 0;
}

.page-template-0_location #faqs .inner {
	max-width: 1800px;
	margin: 0 auto;
	display: flex;
	padding: 0 40px;
}

.page-template-0_location #faqs .head {
	flex: 0 0 350px;
	padding-right: 60px;
}

.page-template-0_location #faqs .head h2 {
	font-size: 45px;
	line-height: 45px;
	margin: 0;
}

.page-template-0_location #faqs .head h6 {
	margin-top: 30px;
	line-height: 27px;
	font-weight: 400;
	color: #222;
}

.page-template-0_location #faqs .content {
	flex: 1 1;
}

.page-template-0_location #faqs .content.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	row-gap: 20px;
}

.page-template-0_location #faqs .qa {
	background: #fff;
	padding: 40px;
}

.page-template-0_location #faqs .qa h6 {
	margin: 0 0 15px 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: #222;
}

.page-template-0_location #faqs .qa p,
.page-template-0_location #faqs .qa .answer {
	font-size: 15px;
	line-height: 24px;
	color: #666;
	margin: 0;
}

.page-template-0_location #faqs .qa .answer p {
	margin: 0 0 10px 0;
}

.page-template-0_location #faqs .qa .answer p:last-child {
	margin-bottom: 0;
}

.page-template-0_location #faqs .qa ul,
.page-template-0_location #faqs .qa ol {
	margin: 10px 0;
	padding-left: 20px;
}

.page-template-0_location #faqs .qa ul:not(.two-col) {
	columns: 200px auto;
	column-gap: 30px;
}

.page-template-0_location #faqs .qa ul li,
.page-template-0_location #faqs .qa ol li {
	font-size: 15px;
	line-height: 24px;
	color: #666;
}

.page-template-0_location #faqs .qa ul.two-col {
	columns: 2;
	column-gap: 20px;
}

/* FAQ Responsive */
@media only screen and (max-width: 1400px) {
	.page-template-0_location #faqs .content.grid {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 1024px) {
	.page-template-0_location #faqs .inner {
		padding: 0 40px;
	}
	
	.page-template-0_location #faqs .head {
		flex: 0 0 300px;
		padding-right: 40px;
	}
}

@media only screen and (max-width: 768px) {
	.page-template-0_location #faqs {
		padding: 80px 0;
	}
	
	.page-template-0_location #faqs .inner {
		display: block;
		padding: 0 20px;
	}
	
	.page-template-0_location #faqs .head {
		margin-bottom: 40px;
		padding-right: 0;
	}
	
	.page-template-0_location #faqs .head h2 {
		font-size: 43px;
		line-height: 43px;
	}
	
	.page-template-0_location #faqs .head h6 {
		margin-top: 20px;
		font-size: 16px;
		line-height: 23px;
	}
	
	.page-template-0_location #faqs .qa {
		padding: 30px;
	}
	
	.page-template-0_location #faqs .qa ul.two-col {
		columns: 1;
	}
}
