/**
 * Location Cards Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Section Container */
.location-cards {
	width: 100%;
	position: relative;
	padding: 33px 0 65px;
}

.location-cards-container {
	width: 100%;
	max-width: 1159px;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 90px;
}

/* Location Card */
.location-card {
	position: relative;
	background: #C1B488;
	border: none;
	border-radius: 12px;
	padding: 40px 30px 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}

/* Hover Effect - Card Elevates with Decorative Shape */
.location-card::before {
	content: '';
	position: absolute;
	top: 8px;
	right: -8px;
	left: 8px;
	bottom: -8px;
	background: #4C4C3B;
	border-radius: 16px;
	z-index: -3;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.location-card:hover::before,
.location-card:focus-within::before {
	opacity: 1;
}
.location-card:hover .lc-hover {
opacity:1;
}

.location-card:hover,
.location-card:focus-within {

}

/* Tab Element */
.location-card-tab {
	position: absolute;
	top: -65px;
	left: 0;
	background: #C1B488;
	color: #F8F2DF;
	font-size: 35px;
	font-weight: 100;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 24px 16px;
	border-radius: 8px;
	z-index: 0;
	width: 293px;
	height: 100px;
	font-family: 'Sunrider';
	text-align: center;
	display:block;
	z-index:1;
}
.lc-hover {
	display:block;
	background: #4C4C3B;
	position:absolute;
	top: -57px;
	left: 114px;
	z-index: 0;
	width: 186px;
	border-top-right-radius: 6px;
	height: 57px;
	opacity:0;
	transition: all 0.5s;
}
/* Card Content */
.location-card-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
	z-index: 1;
}

/* Subtitle */
.location-card-subtitle {
	color: #4C4C3B;
	font-size: 26px;
	font-weight: 100;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0;
	font-family: 'Article Century';
	text-align: center;
}

/* Body Copy */
.location-card-body {
	color: #4C4C3B;
	font-size: 16px;
	line-height: 22px;
	margin: 0;
	text-align: center;
	min-height: 160px;
}

.location-card-body p {
	margin: 0 0 15px 0;
}

.location-card-body p:last-child {
	margin-bottom: 0;
}

.location-card-body ul,
.location-card-body ol {
	margin: 0 0 15px 0;
	padding-left: 20px;
}

.location-card-body h1,
.location-card-body h2,
.location-card-body h3,
.location-card-body h4,
.location-card-body h5,
.location-card-body h6 {
	color: #4C4C3B;
	margin: 0 0 15px 0;
	font-weight: 600;
}

/* Image */
.location-card-image-wrapper {
	width: 283px;
	margin: 0 auto;
	position: relative;
}

.location-card-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	display: block;
	aspect-ratio: 1/1;
}

/* Button */
.location-card-button {
	display: inline-block;
	padding: 3px 10px 1px;
	background-color: #F8F2DF;
	color: #4C4C3B;
	font-size: 15px;
	font-weight: 100;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	border: 2px solid #4C4C3B;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
	text-align: center;
	align-self: flex-start;
	font-family: 'Sunrider';
	margin: 10px auto 0;
	letter-spacing: 0;
}

.location-card-button:hover,
.location-card-button:focus {

}

.location-card-button:focus-visible {
	outline: 2px solid #4C4C3B;
	outline-offset: 2px;
}
@media (max-width:1080px) {
	.location-cards-container {
		max-width:95%;
		gap: 30px;
	}
	.location-card {
		margin-bottom:60px;
	}
}
/* Responsive Design */
@media (max-width: 768px) {

   .location-cards-container {
	   display:block;
    }
	    .location-card {
        margin-bottom: 60px;
			width:100%;
			max-width:400px;
			margin: 0 auto 100px;
    }
	.location-card-tab {
		font-size:30px;
		width:250px;
	}
	.lc-hover {
		left:74px;
	}
	.location-card:hover::before,
	.location-card:focus-within::before {
		opacity: 0;
	}
	.location-card:hover .lc-hover {
	opacity:0;
	}

}

@media (max-width:450px) {
	    .location-card {
        margin-bottom: 60px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 100px;
    }
	.location-card-image-wrapper {
		width:100%;
	}
	.location-cards {
	    width: 100%;
	    position: relative;
	    padding: 33px 0 5px;
	}
}



