/* ==========================================================================
   Explore More — unified discovery section rendered below the reviews engine
   on Destination / Accommodation / Experience / Business singles.
   ========================================================================== */

.seraj-xm {
	background:
		radial-gradient(120% 90% at 12% 0%, color-mix(in srgb, var(--seraj-accent, #c2703f) 9%, transparent) 0%, transparent 60%),
		var(--seraj-surface, #f6f4f0);
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

.seraj-xm__head {
	max-width: 46rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.seraj-xm__head .seraj-section-title {
	margin: 0.35rem 0 0.6rem;
	text-wrap: balance;
}

.seraj-xm__head .seraj-lede {
	margin: 0;
	opacity: 0.75;
}

/* --- Filter chips ------------------------------------------------------- */

.seraj-xm__chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 0.35rem;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	-webkit-overflow-scrolling: touch;
}

.seraj-xm__chips::-webkit-scrollbar { display: none; }

.seraj-xm__chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	background: color-mix(in srgb, #fff 72%, transparent);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	color: inherit;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.seraj-xm__chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb, currentColor 32%, transparent); }

.seraj-xm__chip.is-active {
	background: var(--seraj-ink, #1d1b19);
	border-color: var(--seraj-ink, #1d1b19);
	color: #fff;
}

.seraj-xm__count {
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.05rem 0.4rem;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 14%, transparent);
}

/* --- Grid --------------------------------------------------------------- */

.seraj-xm__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.2vw, 1.6rem);
}

@media (max-width: 1024px) {
	.seraj-xm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.seraj-xm__grid { grid-template-columns: minmax(0, 1fr); }
}

.seraj-xm__cell {
	position: relative;
	min-width: 0;
	display: flex;
}

.seraj-xm__cell[hidden] { display: none; }

.seraj-xm__cell > .seraj-card,
.seraj-xm__cell > article {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	background: #fff;
	border-radius: 1.1rem;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, currentColor 9%, transparent);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.seraj-xm__cell > article:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px -22px rgba(0, 0, 0, 0.45);
}

.seraj-xm__cell .seraj-card__media,
.seraj-xm__cell article > a:first-child {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.seraj-xm__cell .seraj-card__media img,
.seraj-xm__cell article > a:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.seraj-xm__cell > article:hover img { transform: scale(1.05); }

.seraj-xm__cell .seraj-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.05rem;
	line-height: 1.3;
}

.seraj-xm__cell .seraj-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	opacity: 0.72;
	font-size: 0.9rem;
}

/* Group tag ribbon on each card */
.seraj-xm__tag {
	position: absolute;
	z-index: 2;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: color-mix(in srgb, var(--seraj-ink, #1d1b19) 78%, transparent);
	backdrop-filter: blur(6px);
	pointer-events: none;
}

/* --- Footer links ------------------------------------------------------- */

.seraj-xm__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	margin-top: clamp(1.25rem, 3vw, 2rem);
	padding-top: 1.1rem;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.seraj-xm__more {
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	opacity: 0.8;
}

.seraj-xm__more:hover { opacity: 1; text-decoration: underline; }

/* --- You may also like -------------------------------------------------- */

.seraj-xm__also { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.seraj-xm__also-title {
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.6;
	margin: 0 0 0.75rem;
}

.seraj-xm__also-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.seraj-xm__also-list a {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	font-size: 0.85rem;
	text-decoration: none;
	color: inherit;
	background: color-mix(in srgb, #fff 60%, transparent);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.seraj-xm__also-list a:hover {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, currentColor 34%, transparent);
}

/* ==========================================================================
   Listing single retouch — shared rhythm for all entity singles
   ========================================================================== */

.single-destination .seraj-section,
.single-accommodation .seraj-section,
.single-experience .seraj-section,
.single-business .seraj-section {
	padding-block: clamp(2.25rem, 5vw, 4rem);
	scroll-margin-top: 5rem;
}

.single-destination .seraj-section-header,
.single-accommodation .seraj-section-header,
.single-experience .seraj-section-header,
.single-business .seraj-section-header {
	margin-bottom: clamp(1.1rem, 2.6vw, 1.75rem);
}

.single-destination .seraj-section-title,
.single-accommodation .seraj-section-title,
.single-experience .seraj-section-title,
.single-business .seraj-section-title {
	font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.1rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.single-destination .seraj-eyebrow,
.single-accommodation .seraj-eyebrow,
.single-experience .seraj-eyebrow,
.single-business .seraj-eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.62;
	margin: 0;
}

/* Jump nav — slimmer pill bar with mobile edge fade */
.seraj-dest-jump {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(10px);
	background: color-mix(in srgb, #fff 86%, transparent);
	border-bottom: 1px solid color-mix(in srgb, currentColor 9%, transparent);
}

.seraj-dest-jump ul {
	display: flex;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0.55rem 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.seraj-dest-jump ul::-webkit-scrollbar { display: none; }

.seraj-dest-jump li { flex: 0 0 auto; }

.seraj-dest-jump a {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-size: 0.83rem;
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	opacity: 0.72;
	white-space: nowrap;
	transition: background 0.18s ease, opacity 0.18s ease;
}

.seraj-dest-jump a:hover,
.seraj-dest-jump a.is-active {
	opacity: 1;
	background: color-mix(in srgb, currentColor 8%, transparent);
}

@media (max-width: 640px) {
	.seraj-xm__cell > article { border-radius: 0.9rem; }
	.seraj-xm__chip { padding: 0.45rem 0.8rem; }
}
