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

/* Main Container */
.single-location-card {
	width: 100%;
	position: relative;
	padding: 0;
}

.single-location-card-container {
	width: 100%;
	max-width: 1166px;
	margin: 20px auto;
	padding: 76px 20px;
	background-color: #F8F2DF;
	border: 5px solid #4C4C3B;
	position: relative;
	border-radius: 12px;
}

/* Title */
.location-card-title {
	margin: 0 0 68px 0;
	padding: 0;
	font-size: 35px;
	line-height: 41px;
	font-weight: 100;
	font-family: 'Sunrider';
	text-transform: uppercase;
	color: #4C4C3B;
	text-align: center;
}

/* Content Layout */
.single-location-card-content {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: stretch;
}

/* Gallery Wrapper */
.location-card-gallery-wrapper {
	flex: 0 0 auto;
	width: 48.3%;
	position: relative;
}

.location-card-gallery-swiper {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.location-card-gallery-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.location-card-gallery-slide {
	height: auto;
	width: 100%;
}

.location-card-gallery-figure {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

/* Navigation Arrows */
.location-card-gallery-prev {
    transform: translateY(-50%) rotate(0deg);
    position: absolute;
    top: 48.5%;
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: 40px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
    margin: 0;
    z-index: 10;
    background-image: url(../../assets/images/dark-arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.location-card-gallery-next {
	right: 0;
    transform: translateY(-50%) rotate(180deg);
    position: absolute;
    top: 48.5%;
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: 40px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
    margin: 0;
    z-index: 10;
    background-image: url(../../assets/images/dark-arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.location-card-gallery-prev {
	left: 10px;
}

.location-card-gallery-next {
	right: 10px;
}

.location-card-gallery-prev:focus:not(:focus-visible),
.location-card-gallery-next:focus:not(:focus-visible) {
	outline: none;
}
.location-card-gallery-prev:hover{
	opacity: 0.7;
	outline:none;
	border:none;
	    box-shadow: 0px 0px 0 0 currentColor;
   transform: rotate(0deg);
}
.location-card-gallery-next:hover {
       transform: translateY(-50%) rotate(180deg);
	opacity: 0.7;
	outline:none;
	border:none;
	box-shadow: 0px 0px 0 0 currentColor;
	
}

.location-card-gallery-prev:focus-visible,
.location-card-gallery-next:focus-visible {
	outline: 3px solid #6B7A5C;
	outline-offset: 2px;
}

.location-card-gallery-arrow-icon {
	display: block;
	line-height: 1;
	font-size: 20px;
	display: none;
}
.location-card-gallery-swiper .swiper-button-next:after, .location-card-gallery-swiper .swiper-button-prev:after {
	display:none;
}
/* Copy Wrapper */
.location-card-copy-wrapper {
	width: 54%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 75px 0 0;
}

.location-card-copy {
	width: 100%;
	color: #333333;
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.6;
	font-family: serif;
}

.location-card-copy h3,
.location-card-copy h4,
.location-card-copy h5 {
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 15px;
	line-height: 18px;
	font-weight: 500;
	font-family: 'Sunrider';
	text-transform: uppercase;
	letter-spacing: 0;
	color: #4C4C3B;
}

.location-card-copy p {
	margin: 0 0 30px 0;
	padding: 0;
	font-size: 16px;
	font-family: 'p22-mackinac-pro';
	line-height: 22px;
	color: #4C4C3B;
}

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

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

.location-card-copy ul:last-child,
.location-card-copy ol:last-child {
	margin-bottom: 0;
}

.location-card-copy a {
	color: #6B7A5C;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.location-card-copy a:hover,
.location-card-copy a:focus {
	color: #55584a;
}

.location-card-copy a:focus-visible {
	outline: 2px solid #6B7A5C;
	outline-offset: 2px;
}

/* Responsive Design - Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.location-card-container {
		padding: 30px;
	}
	.location-card-title {
		margin-bottom: 30px;
		font-size: 28px;
	}

	.location-card-content {
		gap: 30px;
	}

	.location-card-gallery-wrapper {
		width: 48%;
	}

	.location-card-copy-wrapper {
		width: 52%;
	}
}

/* Responsive Design - Mobile (max-width: 767px) */
@media (max-width: 767px) {
	.location-card-container {
		padding: 25px 20px;
	}
		.single-location-card-content {
		display:block;
	}
	.location-card-title {
		margin-bottom: 25px;
		font-size: 22px;
	}

	.location-card-content {
		flex-direction: column;
		gap: 30px;
	}

	.location-card-gallery-wrapper {
		width: 100%;
	}

	.location-card-copy-wrapper {
		width: 100%;
		align-items: flex-start;
		padding: 0;
		margin: 30px auto 0;
	}

	.location-card-gallery-prev,
	.location-card-gallery-next {
		width: 35px;
		height: 35px;
		font-size: 18px;
	}

	.location-card-gallery-prev {
		left: 8px;
	}

	.location-card-gallery-next {
		right: 8px;
	}

	.location-card-gallery-arrow-icon {
		font-size: 18px;
	}
	.location-card-gallery-image {
	    width: 100%;
	    height: auto;
	    display: block;
	    object-fit: cover;
	    border-radius: 8px;
	    max-width: 295px;
	    aspect-ratio: 8 / 11;
	}
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
	.location-card-gallery-image {
	    width: 100%;
	    height: auto;
	    display: block;
	    object-fit: cover;
	    border-radius: 8px;
	    max-width: 195px;
	    aspect-ratio: 8 / 11;
	}
	.location-card-container {
		padding: 20px 15px;
	}

	.location-card-title {
		margin-bottom: 20px;
		font-size: 20px;
	}

	.location-card-content {
		gap: 25px;
	}
	.single-location-card-container {
		padding:20px 10px;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.location-card-container {
		background-color: #FFFFFF;
		border-width: 3px;
		border-color: #000000;
	}

	.location-card-title {
		color: #000000;
	}

	.location-card-copy h3,
	.location-card-copy h4,
	.location-card-copy h5 {
		color: #000000;
	}

	.location-card-copy {
		color: #000000;
	}

	.location-card-gallery-prev,
	.location-card-gallery-next {
		background-color: #000000;
		border: 2px solid #FFFFFF;
		color: #FFFFFF;
	}

	.location-card-copy a {
		color: #0000FF;
		text-decoration: underline;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.location-card-gallery-prev,
	.location-card-gallery-next {
		transition: none;
	}

	.location-card-gallery-prev:hover,
	.location-card-gallery-next:hover {
		transform: translateY(-50%);
	}

	.location-card-copy a {
		transition: none;
	}
}

/* Print Styles */
@media print {
	.location-card-container {
		background-color: #FFFFFF;
		border: 1px solid #000000;
		padding: 20px;
		page-break-inside: avoid;
	}

	.location-card-title {
		color: #000000;
	}

	.location-card-content {
		flex-direction: column;
		gap: 20px;
	}

	.location-card-gallery-wrapper {
		width: 100%;
	}

	.location-card-gallery-prev,
	.location-card-gallery-next {
		display: none;
	}

	.location-card-gallery-image {
		page-break-inside: avoid;
	}

	.location-card-copy-wrapper {
		width: 100%;
	}

	.location-card-copy {
		color: #000000;
	}

	.location-card-copy h3,
	.location-card-copy h4,
	.location-card-copy h5 {
		color: #000000;
	}

	.location-card-copy a {
		color: #000000;
		text-decoration: underline;
	}
}

/* Support for block wrapper color classes */
.location-card.has-background {
	padding: 0;
}

.location-card.has-background .location-card-container {
	padding: 40px;
}

.location-card.has-text-color .location-card-title,
.location-card.has-text-color .location-card-copy,
.location-card.has-text-color .location-card-copy h3,
.location-card.has-text-color .location-card-copy h4,
.location-card.has-text-color .location-card-copy h5 {
	color: inherit;
}

/* Ensure proper spacing when background color is applied */
@media (min-width: 768px) {
	.location-card.has-background .location-card-container {
		padding: 40px;
	}
}

@media (max-width: 767px) {
	.location-card.has-background .location-card-container {
		padding: 25px 20px;
	}
}

