/**
 * TT Stardance Frame - Locations Widget Styles
 *
 * @package TT_Stardance_Frame
 */

.ttsd-location-item {
	background: var(--ttsd-white);
	width: 100%;
}

.ttsd-location-item-container{
	max-width: 1440px;
	display: flex;
	align-items: center;
	gap: 100px;
	padding: 50px;
	width: 100%;
	margin: 0 auto;
}

.ttsd-location-item:nth-child(even) {
	flex-direction: row-reverse;
	background: var(--ttsd-light-bg);
}

.ttsd-location-item:nth-child(even) .ttsd-location-item-container {
	flex-direction: row-reverse;
}

.ttsd-location__media{
	flex: 1 1 60%;
	min-width: 0;
	text-align: right;
}

.ttsd-location-item:nth-child(even) .ttsd-location__media{
	text-align: left;
}

.ttsd-location__content{
	flex: 1 1 40%;
	min-width: 0;
}

/* Images */
.ttsd-location__images {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.ttsd-location__img-main {
	position: relative;
	z-index: 1;

	display: flex;
    justify-content: flex-end;
}

.ttsd-location-item:nth-child(even) .ttsd-location__img-main{
	justify-content: flex-start;
}

.ttsd-location__img-main img {
	display: block;
	width: 100%;
	max-width: 80%;
	border: 15px solid var(--ttsd-white);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.ttsd-location__img-over {
	z-index: 2;
	position: absolute;
    left: 0;
    top: 20%;
	width: 100%;
	max-width: 35%;
}

.ttsd-location-item:nth-child(even) .ttsd-location__img-over {
	top: 20%;
	right: 0;
	left: unset;
}

.ttsd-location__img-over img {
	display: block;
	border: 15px solid var(--ttsd-white);
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	width: 100%;
}

/* Content */
.ttsd-location__subtitle {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ttsd-gold);
	font-family: inherit;
}

.ttsd-location_subtitle_line{
	display: flex;
    flex-direction: row;
    align-items: center;
	margin-bottom: 50px;
}

.ttsd-location__title {
	font-size: 38px;
	font-weight: 600;
	font-family: inherit;
	color: var(--ttsd-navy);
	line-height: 1.3;
	margin-bottom: 10px;
}

.ttsd-location__divider {
	width: 100px;
	height: 1px;
	background: var(--ttsd-gold);
	margin-right: 20px;
}

.ttsd-location__description {
	font-size: 15px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 20px;
}

.ttsd-location__prices {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.ttsd-location__prices li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	font-size: 14px;
	color: #444;
}

.ttsd-location__prices li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	background: var(--ttsd-gold);
	border-radius: 50%;
}

.ttsd-location__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	font-size: 14px;
	color: #555;
}

.ttsd-location__meta-item strong {
	color: var(--ttsd-navy);
}

/* Responsive */
@media (max-width: 768px) {
	.ttsd-location-item,
	.ttsd-location-item:nth-child(even) {
		flex-direction: column;
		gap: 30px;
		padding: 40px 20px;
	}

	.ttsd-location__media,
	.ttsd-location__content {
		flex: 1 1 100%;
		width: 100%;
	}

	.ttsd-location__title {
		font-size: 22px;
	}

	.ttsd-location-item-container{
		flex-wrap: wrap;
		gap: 50px;
		padding: 10px;
	}

	.ttsd-location__img-main{
		justify-content: center;
	}

	.ttsd-location__img-main img{
		max-width: 100%;
	}

	.ttsd-location__img-over,
	.ttsd-location-item:nth-child(even) .ttsd-location__img-over{
		right: -20px;
		bottom: -40px;
		left: unset;
		top: unset;
		width: 50%;
		max-width: 50%;
	}

	.ttsd-location__img-main img,
	.ttsd-location__img-over img{
		border-width: 10px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px){
	.ttsd-location-item-container {
		gap: 50px;
	}

	.ttsd-location__title{
		font-size: 32px;
	}
}
