/**
 * GreenEscape tour operator — package-specific styles.
 * Global design tokens live in assets/styles/cozystay-overrides.css
 */

/* Package meta */
.ge-package-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0.5rem 0 1.25rem;
	font-size: 0.95rem;
	opacity: 0.85;
}

.ge-package-duration {
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Package sections */
.ge-package-sections {
	margin: 3rem auto;
	max-width: 900px;
}

.ge-package-section {
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ge-package-section h3 {
	font-size: 1.35rem;
	margin-bottom: 1rem;
}

.ge-package-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ge-package-list li {
	position: relative;
	padding: 0.45rem 0 0.45rem 1.35rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ge-package-list li:last-child {
	border-bottom: none;
}

.ge-package-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.95rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--primary-color, #b99d75);
}

.ge-highlights .ge-package-list li::before {
	background: var(--secondary-color, #53624e);
}

.ge-excluded .ge-package-list li::before {
	background: #9a9a9a;
}

/* Room/package top gallery */
.room-top-section .cs-gallery.gallery-carousel {
	min-height: 360px;
}

.room-top-section .cs-gallery.gallery-carousel > .cs-gallery-wrap:not(.slick-initialized) {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	align-items: center;
}

.room-top-section .cs-gallery.gallery-carousel > .cs-gallery-wrap:not(.slick-initialized) .cs-gallery-item,
.room-top-section .cs-gallery.gallery-carousel > .cs-gallery-wrap:not(.slick-initialized) .cs-gallery-item.hide {
	display: block;
	opacity: 1;
	flex: 0 0 auto;
}

.room-top-section .cs-gallery.gallery-carousel .cs-gallery-item img {
	height: 360px;
	width: auto;
	max-width: none;
	object-fit: cover;
}

.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 220px;
	gap: 2px;
	min-height: 480px;
}

.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap .cs-gallery-item:first-child {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}

.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-item {
	position: relative;
	min-height: 220px;
	overflow: hidden;
}

.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap .cs-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	opacity: 1;
}

.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-item.hide {
	display: none;
}

@media screen and (max-width: 767px) {
	.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap {
		display: block;
		min-height: 300px;
	}

	.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap .cs-gallery-item:not(:first-child) {
		display: none;
	}

	.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap .cs-gallery-item:first-child {
		min-height: 300px;
	}

	.room-top-section .cs-gallery.gallery-mosaic .cs-gallery-wrap .cs-gallery-item img {
		min-height: 300px;
	}

	.ge-package-sections {
		padding: 0 1rem;
	}
}

/* Card hierarchy */
.cs-rooms .post-title,
.posts.cs-rooms .item-title {
	line-height: 1.25;
}
