/**
 * A single activity.
 *
 * Every selector is under .wptm-act. There is no rule for .title, .content,
 * .container, .button or any other word a theme is likely to be using, and no
 * tag-level rule anywhere: this file loads onto a page Jannah is also
 * rendering, and a stylesheet that reaches outside its own subtree on a page
 * it shares is a stylesheet that breaks somebody else's layout.
 *
 * Directions are logical rather than physical, so the same file serves Arabic
 * without a second copy. No font family is declared; the page inherits the
 * theme's typography and looks like part of the site.
 */

.wptm-act,
.wptm-act *,
.wptm-act *::before,
.wptm-act *::after {
	box-sizing: border-box;
}

.wptm-act {

	color: var(--wptm-ink);
}

.wptm-act__article {
	max-width: 860px;
	margin-inline: auto;
	padding-inline: 20px;
	padding-block: clamp(28px, 4vw, 52px);
}

/* ============================================================ HEAD ====== */

.wptm-act__crumbs {
	margin-block-end: 14px;
	font-size: 0.82rem;
	color: var(--wptm-faint);
}

.wptm-act__kicker {
	margin: 0 0 10px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wptm-gold);
}

.wptm-act__kicker a {
	color: inherit;
	text-decoration: none;
}

.wptm-act__title {
	margin: 0;
	font-family: inherit;
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.015em;
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	color: var(--wptm-navy);
	text-wrap: balance;
}

.wptm-act__lead {
	margin: 16px 0 0;
	max-width: 62ch;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.7;
}

.wptm-act__hero {
	margin: clamp(22px, 3vw, 34px) 0 0;
	overflow: hidden;
	border-radius: var(--wptm-radius);
}

.wptm-act .wptm-act__hero-img {
	width: 100%;
	height: auto;
	margin: 0;
	display: block;
}

/* =========================================================== FACTS ====== */

/*
 * A definition list, because that is what it is: a set of terms and their
 * values. Rows are added only when they hold something, so the panel never
 * shows a label with a dash after it.
 */
.wptm-act__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
	gap: 2px;
	margin: clamp(22px, 3vw, 32px) 0 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--wptm-line);
	border-radius: var(--wptm-radius);
	background: var(--wptm-line);
}

.wptm-act__fact {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 18px;
	background: #fff;
}

.wptm-act__fact-label {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wptm-faint);
}

.wptm-act__fact-value {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--wptm-navy);
}

.wptm-act__fact-value a {
	color: inherit;
	text-decoration-color: var(--wptm-gold);
	text-underline-offset: 3px;
}

/* =========================================================== PROSE ====== */

.wptm-act__prose {
	margin-block-start: clamp(26px, 4vw, 40px);
	font-size: 1.02rem;
	line-height: 1.8;
}

.wptm-act__prose > *:first-child {
	margin-block-start: 0;
}

.wptm-act__prose > *:last-child {
	margin-block-end: 0;
}

.wptm-act__h2 {
	margin: 0 0 16px;
	font-family: inherit;
	font-weight: 600;
	line-height: 1.28;
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	color: var(--wptm-navy);
}

.wptm-act__gallery,
.wptm-act__tours,
.wptm-act__related {
	margin-block-start: clamp(30px, 4vw, 48px);
	padding-block-start: clamp(26px, 3vw, 38px);
	border-block-start: 1px solid var(--wptm-line);
}

/* ========================================================= GALLERY ====== */

/*
 * A photograph is the only thing on this page that sells the activity, so the
 * grid gives them room rather than reducing them to thumbnails. On a phone
 * they go to one column: a full-width picture is worth more than two
 * half-width ones nobody can make out.
 */
.wptm-act__shots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wptm-act__shot {
	margin: 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--wptm-radius);
	list-style: none;
	background: rgba(0, 30, 83, 0.06);
}

.wptm-act .wptm-act__shot-img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	display: block;
	transition: transform 0.7s ease;
}

.wptm-act__shot:hover .wptm-act__shot-img {
	transform: scale(1.04);
}

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

	/* Taller on a phone, where the picture has the width to itself. */
	.wptm-act__shot {
		aspect-ratio: 3 / 2;
	}
}

/* ======================================================== INCLUDED ====== */

/*
 * Two columns, because the question is comparative: somebody is working out
 * what the price covers, and a second list stacked under the first makes them
 * hold the first one in their head while reading it.
 *
 * They stack on a phone anyway, which is fine there: one list at a time, and
 * the heading above each does the work the side-by-side layout was doing.
 */
.wptm-act__lists {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: clamp(18px, 3vw, 34px);
}

.wptm-act__list-title {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wptm-faint);
}

.wptm-act__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wptm-act__item {
	display: grid;
	grid-template-columns: 1.15rem 1fr;
	align-items: start;
	gap: 0 0.6rem;
	margin: 0;
	padding-block: 7px;
	list-style: none;
	font-size: 0.96rem;
	line-height: 1.6;
}

/*
 * The mark is a shape, not a colour.
 *
 * A tick and a cross are different outlines, so the two lists stay apart in
 * greyscale, on a monochrome display, and for anybody who does not separate
 * green from grey. The colour is there for everyone else and is never the
 * only thing carrying the difference; each list has a heading besides.
 */
.wptm-act__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-block-start: 0.2em;
}

.wptm-act__mark--yes {
	color: #1a7f37;
}

.wptm-act__mark--no {
	color: var(--wptm-faint);
}

.wptm-act__item-text {
	min-width: 0;
	text-wrap: pretty;
}

/* An excluded line is stated plainly, never struck through: it is information,
   not a mistake, and a strikethrough reads as something withdrawn. */
.wptm-act__list--out .wptm-act__item-text {
	color: var(--wptm-muted);
}

/* ========================================================= RELATED ====== */

.wptm-act__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wptm-act__chips li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wptm-act__chip {
	display: inline-flex;
	padding: 9px 16px;
	border: 1px solid var(--wptm-line);
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--wptm-navy);
	transition: border-color 0.3s ease, background 0.3s ease;
}

.wptm-act__chip:hover {
	border-color: rgba(0, 30, 83, 0.26);
	background: rgba(0, 30, 83, 0.02);
}

.wptm-act__chip:focus-visible {
	outline: 2px solid var(--wptm-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.wptm-act *,
	.wptm-act *::before,
	.wptm-act *::after {
		transition-duration: 0.01ms !important;
	}
}

/*
 * Touch.
 *
 * Anything a finger lands on gets forty-four pixels, which is the WCAG target
 * size and the figure every platform's own guidance sits within a pixel of. On
 * a cursor these keep the tighter proportions they were drawn with.
 *
 * Keyed on pointer as well as width: a tablet is wide and touched, and a
 * desktop window dragged narrow is neither, so the width test alone answers
 * the wrong half of the question.
 */
@media (max-width: 600px), (pointer: coarse) {
	.wptm-act__chip {
		min-height: 44px;
		align-items: center;
		padding: 11px 18px;
	}

	.wptm-act__crumbs a {
		display: inline-block;
		padding-block: 6px;
	}

	.wptm-act__fact-value a {
		display: inline-block;
		padding-block: 6px;
	}
}
