/* Eiman Landmarks 2.0 — premium presentation, brand gold on sand/ink */

.eiman-lm,
.eiman-lm-single {
	--lm-gold: #c9a45c;
	--lm-gold-deep: #a8823a;
	--lm-ink: #1b1815;
	--lm-body: #4a443c;
	--lm-sand: #f7f3ea;
	--lm-line: rgba(201, 164, 92, 0.34);
	--lm-radius: 16px;
	/* The image should dominate the card: a 1:1 media block plus the compact
	   body below lands at roughly 70 % image / 30 % text at every width. */
	--lm-media-ratio: 1 / 1;
	box-sizing: border-box;
	color: var(--lm-ink);
	font-family: inherit;
}

.eiman-lm *,
.eiman-lm *::before,
.eiman-lm *::after,
.eiman-lm-single *,
.eiman-lm-single *::before,
.eiman-lm-single *::after {
	box-sizing: border-box;
}

/* ============================================================ card row */

.eiman-lm {
	position: relative;
	margin: 56px 0 0;
	padding: 46px 0 52px;
	background: linear-gradient(180deg, #fffdf8, var(--lm-sand));
	overflow: hidden;
}

.eiman-lm__inner {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 18px;
}

.eiman-lm__head {
	position: relative;
	margin-bottom: 30px;
}

.eiman-lm__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--lm-gold-deep);
}

.eiman-lm__title {
	margin: 0;
	max-width: 22em;
	font-size: clamp(24px, 4.2vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--lm-ink);
}

.eiman-lm__title::after {
	content: "";
	display: block;
	width: 58px;
	height: 2px;
	margin-top: 14px;
	background: linear-gradient(90deg, var(--lm-gold), transparent);
}

.eiman-lm__subtitle {
	margin: 14px 0 0;
	max-width: 46em;
	font-size: 15px;
	line-height: 1.65;
	color: var(--lm-body);
}

.eiman-lm__nav {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

@media (min-width: 900px) {
	.eiman-lm__nav {
		position: absolute;
		right: 0;
		top: 6px;
		margin-top: 0;
	}
}

.eiman-lm__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--lm-line);
	border-radius: 50%;
	background: #fff;
	color: var(--lm-ink);
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.eiman-lm__arrow:hover:not([disabled]),
.eiman-lm__arrow:focus-visible {
	background: var(--lm-gold);
	border-color: var(--lm-gold);
	color: #fff;
	outline: none;
}

.eiman-lm__arrow[disabled] {
	opacity: 0.32;
	cursor: default;
}

.eiman-lm__track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	margin: 0 -18px;
	padding: 4px 18px 12px;
}

.eiman-lm__track::-webkit-scrollbar {
	display: none;
}

.eiman-lm__track:focus-visible {
	outline: 2px solid var(--lm-gold);
	outline-offset: 6px;
}

.eiman-lm__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

@media (min-width: 600px) {
	.eiman-lm__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.eiman-lm__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Archive page: same cards, a little more room, and a wider container so the
   images stay large instead of shrinking into thumbnails. */
.eiman-lm--archive {
	margin-top: 0;
	padding-top: 34px;
	background: #fff;
}

.eiman-lm--archive .eiman-lm__inner {
	max-width: 1180px;
}

.eiman-lm--archive .eiman-lm__grid {
	gap: 26px;
}

.eiman-lm--archive .nav-links,
.eiman-lm--archive .navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 34px 0 0;
}

.eiman-lm--archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	color: var(--lm-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.eiman-lm--archive .page-numbers.current,
.eiman-lm--archive .page-numbers:hover {
	background: var(--lm-gold);
	border-color: var(--lm-gold);
	color: #fff;
}

.eiman-lm__more {
	margin-top: 26px;
	text-align: center;
}

.eiman-lm__more-btn,
.eiman-lm-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lm-gold), var(--lm-gold-deep));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(168, 130, 58, 0.26);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eiman-lm__more-btn:hover,
.eiman-lm-card__cta:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(168, 130, 58, 0.34);
}

/* ============================================================ card */

.eiman-lm-card {
	flex: 0 0 90%;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 600px) {
	.eiman-lm-card {
		flex-basis: 60%;
	}
}

@media (min-width: 900px) {
	.eiman-lm-card {
		flex-basis: 42%;
	}
}

@media (min-width: 1200px) {
	.eiman-lm-card {
		flex-basis: calc((100% - 2 * 22px) / 3);
	}
}

.eiman-lm__grid .eiman-lm-card {
	flex-basis: auto;
}

.eiman-lm-card:hover {
	transform: translateY(-3px);
	border-color: var(--lm-gold);
	box-shadow: 0 18px 36px rgba(27, 24, 21, 0.14);
}

.eiman-lm-card__media {
	position: relative;
	display: block;
	aspect-ratio: var(--lm-media-ratio);
	overflow: hidden;
	background-color: #efe7d8;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	line-height: 0;
}

/*
 * The Tripfery theme sets `height: auto` on content images globally. With a
 * plain height:100% the image therefore kept its own aspect ratio and left the
 * bottom of the 1:1 box empty — that was the grey band with the number in it.
 * Absolute positioning plus !important overrides that reliably, and the same
 * image is additionally set as the box background, so the area is filled even
 * if the theme or an optimiser touches the img element.
 */
.eiman-lm-card__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.eiman-lm-card:hover .eiman-lm-card__img {
	transform: scale(1.06);
}

.eiman-lm-card__img--empty {
	display: block;
	background: linear-gradient(135deg, #efe7d8, #d9c9a6);
}

.eiman-lm-card__shade {
	position: absolute;
	inset: auto 0 0 0;
	height: 42%;
	background: linear-gradient(to top, rgba(20, 17, 14, 0.62), transparent);
	pointer-events: none;
}

.eiman-lm-card__index {
	position: absolute;
	bottom: 12px;
	right: 14px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: -0.02em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.eiman-lm-card__badge {
	position: absolute;
	top: 13px;
	left: 13px;
	max-width: calc(100% - 26px);
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(27, 24, 21, 0.78);
	color: #fdf8ee;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eiman-lm-card__body {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 8px;
	padding: 15px 17px 16px;
}

.eiman-lm-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.32;
}

.eiman-lm-card__title a {
	color: var(--lm-ink);
	text-decoration: none;
}

.eiman-lm-card__title a:hover {
	color: var(--lm-gold-deep);
}

.eiman-lm-card__teaser {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--lm-body);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eiman-lm-card__label {
	align-self: flex-start;
	padding: 3px 9px;
	border: 1px solid var(--lm-line);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lm-gold-deep);
}

.eiman-lm-card__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--lm-line);
}

.eiman-lm-card__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--lm-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--lm-gold);
	padding-bottom: 1px;
}

.eiman-lm-card__link:hover {
	color: var(--lm-gold-deep);
}

.eiman-lm-card__cta {
	margin-left: auto;
	padding: 9px 16px;
	font-size: 13px;
}

/* ============================================================ single page */

.eiman-lm-single {
	background: #fff;
}

.eiman-lm-single__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(260px, 46vw, 460px);
	overflow: hidden;
	background: #26221c;
}

.eiman-lm-single__hero--plain {
	min-height: 0;
	padding-top: 34px;
}

.eiman-lm-single__hero-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover;
}

.eiman-lm-single__hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 13, 11, 0.86) 8%, rgba(15, 13, 11, 0.28) 55%, rgba(15, 13, 11, 0.12));
}

.eiman-lm-single__hero-inner {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 34px 18px 30px;
	color: #fff;
}

.eiman-lm-single__hero--plain .eiman-lm-single__hero-inner {
	color: var(--lm-ink);
}

.eiman-lm-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13px;
	opacity: 0.92;
}

.eiman-lm-crumbs a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 164, 92, 0.7);
}

.eiman-lm-single__title {
	margin: 0;
	font-size: clamp(26px, 5.4vw, 46px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.015em;
	color: inherit;
}

.eiman-lm-single__label {
	margin: 12px 0 0;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(201, 164, 92, 0.92);
	color: #21190c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eiman-lm-single__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 18px 60px;
}

/* facts bar */

.eiman-lm-facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	margin: 0 0 30px;
	padding: 0;
	background: var(--lm-line);
	border: 1px solid var(--lm-line);
	border-radius: 12px;
	overflow: hidden;
	transform: translateY(-22px);
}

@media (min-width: 700px) {
	.eiman-lm-facts {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eiman-lm-facts__item {
	padding: 15px 18px;
	background: #fff;
}

.eiman-lm-facts dt {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lm-gold-deep);
}

.eiman-lm-facts dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--lm-ink);
}

/* table of contents */

.eiman-lm-toc {
	margin: 0 0 34px;
	padding: 18px 20px;
	border-left: 3px solid var(--lm-gold);
	background: var(--lm-sand);
	border-radius: 0 10px 10px 0;
}

.eiman-lm-toc__title {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lm-gold-deep);
}

.eiman-lm-toc ol {
	margin: 0;
	padding-left: 20px;
	columns: 1;
}

@media (min-width: 700px) {
	.eiman-lm-toc ol {
		columns: 2;
		column-gap: 30px;
	}
}

.eiman-lm-toc li {
	margin: 4px 0;
	font-size: 14px;
	break-inside: avoid;
}

.eiman-lm-toc a {
	color: var(--lm-body);
	text-decoration: none;
}

.eiman-lm-toc a:hover {
	color: var(--lm-gold-deep);
	text-decoration: underline;
}

/* body text */

.eiman-lm-single__content {
	font-size: 17px;
	line-height: 1.78;
	color: var(--lm-body);
}

.eiman-lm-single__content h2 {
	margin: 42px 0 14px;
	font-size: clamp(21px, 3.2vw, 28px);
	font-weight: 700;
	line-height: 1.26;
	color: var(--lm-ink);
	scroll-margin-top: 90px;
}

.eiman-lm-single__content h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 10px;
	background: var(--lm-gold);
}

.eiman-lm-single__content h3 {
	margin: 28px 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--lm-ink);
}

.eiman-lm-single__content p {
	margin: 0 0 18px;
}

.eiman-lm-single__content a {
	color: var(--lm-gold-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.eiman-lm-single__content a:hover {
	color: var(--lm-ink);
}

/* sections */

.eiman-lm-section-title {
	margin: 50px 0 18px;
	font-size: clamp(21px, 3.2vw, 28px);
	font-weight: 700;
	line-height: 1.26;
	color: var(--lm-ink);
}

.eiman-lm-section-title::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 10px;
	background: var(--lm-gold);
}

.eiman-lm-tours__grid,
.eiman-lm-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 620px) {
	.eiman-lm-tours__grid,
	.eiman-lm-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.eiman-lm-tours__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.eiman-lm-related__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eiman-lm-tour {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.eiman-lm-tour:hover {
	transform: translateY(-3px);
	border-color: var(--lm-gold);
	box-shadow: 0 16px 32px rgba(27, 24, 21, 0.13);
}

.eiman-lm-tour__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #efe7d8;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	line-height: 0;
}

.eiman-lm-tour__media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover;
}

.eiman-lm-tour__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	padding: 16px 16px 18px;
}

.eiman-lm-tour__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.eiman-lm-tour__title a {
	color: var(--lm-ink);
	text-decoration: none;
}

.eiman-lm-tour__title a:hover {
	color: var(--lm-gold-deep);
}

.eiman-lm-tour__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--lm-line);
}

.eiman-lm-price__main {
	font-size: 17px;
	font-weight: 700;
	color: var(--lm-gold-deep);
}

.eiman-lm-price__old {
	font-size: 13px;
	color: #8b8177;
	text-decoration: line-through;
}

.eiman-lm-price__save {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 4px;
	background: #1f7a4d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.eiman-lm-tour__cta {
	font-size: 13px;
	font-weight: 600;
	color: var(--lm-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--lm-gold);
}

.eiman-lm-tour__cta:hover {
	color: var(--lm-gold-deep);
}

/* link hub */

.eiman-lm-hub {
	margin-top: 46px;
	padding: 24px 22px 26px;
	background: var(--lm-sand);
	border: 1px solid var(--lm-line);
	border-radius: 14px;
}

.eiman-lm-hub .eiman-lm-section-title {
	margin-top: 0;
}

.eiman-lm-hub__label {
	margin: 18px 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lm-gold-deep);
}

.eiman-lm-hub__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eiman-lm-hub__list a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--lm-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eiman-lm-hub__list a:hover {
	background: var(--lm-gold);
	border-color: var(--lm-gold);
	color: #fff;
}

.eiman-lm-single__back {
	margin: 40px 0 0;
	font-size: 15px;
}

.eiman-lm-single__back a {
	color: var(--lm-gold-deep);
	text-decoration: none;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.eiman-lm__track {
		scroll-behavior: auto;
	}

	.eiman-lm-card,
	.eiman-lm-card__img,
	.eiman-lm-tour,
	.eiman-lm__more-btn,
	.eiman-lm-card__cta {
		transition: none;
	}
}
