/* visitsyria-home: assets/css/home.css */
/*
 * Home page (Docs/pages/P01-home.md). Mobile first (375 reference, frame 551:6847); desktop from 1024 px
 * (1440 reference, frame 95:158; S7 from 1200 px, UX-SW-10). 768–1023 follows the approved pattern (Q-SF4):
 * mobile layout, wider container. Loaded on the front page and in the editors' style guide only.
 */

.vs-home {
	--vs-home-gap: 48px; /* Mobile section rhythm (design: 48 px between sections). */
	overflow-x: clip;
}

.vs-home-section {
	margin-block-start: var(--vs-home-gap);
}

.vs-hl {
	color: var(--vs-gold);
}

/* D11: gold words in small text (the mobile hero subtitle, 14 px) use the darker gold (5.20:1). Large
   titles keep the design gold. */
.vs-hero__subtitle .vs-hl {
	color: var(--wp--custom--gold-text);
}

@media (min-width: 1024px) {
	.vs-hero__subtitle .vs-hl {
		color: var(--vs-gold);
	}
}

/* Section headings */

.vs-section-head {
	display: grid;
	gap: 0;
	text-align: start;
}

.vs-section-head__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
}

.vs-section-head__intro {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.2;
}

.vs-section-head--center {
	text-align: start;
}

.vs-section-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-block-start: 16px;
}

.vs-section-foot .vs-link-arrow {
	flex: 1;
	justify-content: space-between;
	padding-inline: 0;
	font-size: 14px;
}

.vs-section-foot--end {
	justify-content: flex-end;
}

/* Carousel: native horizontal scroll with snap; buttons appear only with JavaScript. */

.vs-carousel__track {
	display: flex;
	gap: 16px;
	margin: -8px 0;
	padding: 8px 16px; /* Room for the focus ring, which the scroll box would otherwise clip. */
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity; /* Mandatory snapping pulled focused cards half out of view. */
	scroll-padding-inline: 16px;
	scrollbar-width: none;
	list-style: none;
}

/* Without JavaScript the rows wrap instead of scrolling sideways, so every card is fully visible (browsers
   do not scroll a partly visible card into view when it receives focus). */
html:not(.vs-js) .vs-carousel__track {
	flex-wrap: wrap;
	justify-content: center;
	overflow-x: visible;
}

/* While a card has keyboard focus, snapping would pull it back half out of view: let focus decide. */
.vs-carousel__track:focus-within {
	scroll-snap-type: none;
}

.vs-carousel__track::-webkit-scrollbar {
	display: none;
}

.vs-carousel__track > li {
	flex: none;
	scroll-snap-align: start;
}

.vs-carousel__controls {
	display: none;
	gap: 24px;
}

/* The mobile design has no arrows (touch scrolling and the "all" link); they appear from 768 px. A mouse cannot
   swipe, so a narrow view with a fine pointer (a desktop at 200 % zoom, a small window) shows them too: without
   them the last photos could not be reached (persona study R2 P0-7c, WCAG 2.5.7 / 1.4.10). */
@media (min-width: 768px), (hover: hover) and (pointer: fine) {
	.vs-js .vs-carousel__controls:not([hidden]) {
		display: flex;
	}

	/* With the arrows shown, the "all" link keeps its arrow next to its label, as on desktop (P01-FE-3). */
	.vs-section-foot .vs-link-arrow {
		flex: none;
		margin-inline-start: auto;
	}
}

.vs-carousel__controls .vs-arrow:disabled {
	cursor: default;
}

/* Hero (mobile 551:9076 / 551:9099) */

.vs-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block-start: calc(104px + var(--wp-admin--admin-bar--height, 0px));
	text-align: center;
}

.vs-hero__text {
	position: relative;
	z-index: 1;
	width: min(280px, calc(100% - 32px));
	order: 1;
}

.vs-hero__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-hero__subtitle {
	margin: 0;
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.vs-hero__media {
	order: 2;
	width: 100%;
	height: 307px;
	margin-block-start: -7px;
	overflow: hidden;
}

.vs-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	transform: scale(1.38); /* The mobile frame shows the photo wider than the screen (516 px of 375). */
	transform-origin: center bottom;
}

/* Governorates (mobile 553:9182) */

.vs-govs .vs-section-head {
	margin-block-end: 16px;
}

.vs-govs__title {
	color: var(--vs-primary);
	font-size: 20px;
}

.vs-govs .vs-section-head__intro {
	font-size: 14px;
	line-height: 1.5;
}

/* Persona fixes C4 (2026-11-17, R2-P06-R2-10): the «سوريا بالصور» link under the governorates is a second section foot
   (.vs-section-foot: the same arrow link and placement as «جميع المحافظات»), close under the first. */
.vs-govs__gallery {
	margin-block: 0;
}

.vs-gov-card__name,
.vs-activity-card__title {
	color: inherit;
}

.vs-gov-card__name,
.vs-activity-card__title,
.vs-guide-card__title,
.vs-article-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.vs-place-card__title,
.vs-article-card__title,
.vs-guide-card__title {
	color: var(--vs-dark-text);
}

/* Featured places (mobile 553:9221) */

.vs-featured__title {
	margin-block-end: 16px;
}

.vs-featured__tab {
	margin: 0 0 16px;
	color: var(--vs-primary); /* Shown when the gradient cannot be drawn (forced colours). */
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-featured__tab span {
	display: inline-block;
	padding-block: 0.25em 0.1em; /* The clipped gradient paints only this box: keep marks above the letters. */
	margin-block: -0.25em -0.1em;
	background: var(--wp--custom--tab-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.vs-featured__cards {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-place-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: 16px;
	border-radius: 24px;
	background: var(--wp--custom--card-surface);
	color: var(--vs-dark-text);
	text-decoration: none;
}

/* 1 px inside stroke, #145850 fading to the page colour (Figma gradient stroke). */
.vs-place-card__link::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: var(--wp--custom--card-border);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}

.vs-place-card__media {
	display: block;
	aspect-ratio: 311 / 207;
	overflow: hidden;
	border-radius: 24px;
	background: var(--wp--preset--color--bg-alt);
}

.vs-place-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-place-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.vs-place-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-block-start: -8px;
}

.vs-place-card__meta,
.vs-place-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-start: -8px;
	color: var(--wp--custom--muted-text);
	font-size: 16px;
	line-height: 1;
}

.vs-place-card__row .vs-place-card__meta,
.vs-place-card__row .vs-place-card__rating {
	margin-block-start: 0;
}

.vs-place-card__meta .vs-icon {
	width: 24px;
	height: 24px;
	color: var(--vs-primary);
}

/* Where the event comes from (owner, 2026-11-19): one quiet line under the row of the event card. */
.vs-place-card__source {
	display: block;
	overflow: hidden;
	margin-block-start: -8px;
	color: var(--wp--custom--muted-text);
	font-size: 14px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vs-place-card__rating .vs-icon {
	width: 16px;
	height: 16px;
	color: var(--wp--custom--rating);
}

/* Hotel cards (phase 2 batch 2, P09 Q4): the official classification as stars with its text beside them, «5 نجوم»
   in the row's Regular text colour (parts/hotels/stars.php; HL-FE-2). hotels.css repeats this for P09–P11. */
.vs-ho-stars,
.vs-ho-stars__icons {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.vs-ho-stars {
	gap: 8px;
}

.vs-ho-stars__text {
	font-weight: 400;
	white-space: nowrap;
}

@media (hover: hover) {
	.vs-place-card__link:hover .vs-place-card__title {
		text-decoration: underline;
	}
}

/* Event extras (deferred; style guide only) */

.vs-date-badge {
	position: absolute;
	inset-block-start: 32px;
	inset-inline-end: 38px;
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 20px 12px;
	border-radius: 8px;
	/* Brand-green tint instead of the 10 % white glass: the white date fell to 3.2–3.6:1 on pale skies
	   (SWE-FE-13, phase 2 batch 5); 4.7:1 even on a white sky, as the P07 date bar. */
	background: rgba(5, 66, 57, 0.7);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
	color: var(--vs-surface);
	font-size: 18px;
	line-height: 1;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}

.vs-date-badge__day {
	font-size: 24px;
	font-weight: 700;
}

.vs-ribbon {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-start: 38px;
	display: grid;
	place-items: center;
	width: 57px;
	min-height: 70px;
	padding: 8px 4px 20px;
	color: var(--vs-surface);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

/* Decision D11 (Option B, 2026-11-01): colours under small white text are darkened to pass 4.5:1. */
.vs-ribbon--soon {
	background: var(--wp--custom--accent-strong);
}

.vs-ribbon--popular {
	background: var(--wp--custom--gold-strong);
}

.vs-events__track > li,
.vs-hotels__track > li {
	width: 300px;
}

.vs-events .vs-section-head,
.vs-hotels .vs-section-head {
	margin-block-end: 24px;
}

.vs-events .vs-section-foot,
.vs-hotels .vs-section-foot {
	margin-block-start: 24px;
}

@media (min-width: 1024px) {
	.vs-events .vs-section-foot {
		margin-block-start: 48px;
	}

	.vs-hotels .vs-section-foot {
		margin-block-start: 40px;
	}
}

/* Activities (mobile 758:2776): band with the faint pattern */

.vs-band {
	padding-block: 16px 24px;
	background: var(--wp--preset--color--bg-alt) url("/wp-content/themes/visitsyria/assets/img/band-pattern.webp") center top / 720px auto repeat;
}

.vs-acts .vs-section-head {
	gap: 16px;
	margin-block-end: 16px;
}

.vs-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}

.vs-chips[hidden] {
	display: none;
}

.vs-acts .vs-chip {
	padding: 12px 8px;
	font-size: 14px;
	line-height: 17px;
}

.vs-acts .vs-chip.is-active {
	padding: 8px;
	font-weight: 700;
}

.vs-activity-card {
	width: 240px;
}

.vs-activity-card[hidden] {
	display: none;
}

.vs-activity-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 350px;
	overflow: hidden;
	border-radius: 999px;
	color: var(--vs-surface);
	text-decoration: none;
	isolation: isolate;
}

.vs-activity-card__media,
.vs-activity-card__media img {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--wp--preset--color--bg-alt);
}

.vs-activity-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* The top stop darkens to the hover shade (--vs-act-shade, registered in motion.css), so the overlay eases
	   in instead of switching (UX-SW-4, M4). Unregistered, it simply switches. */
	background: linear-gradient(180deg, rgba(0, 0, 0, var(--vs-act-shade, 0)) 55%, rgba(0, 0, 0, 0.7) 100%);
	transition: --vs-act-shade var(--vs-dur-fade-hover) var(--vs-ease-std), box-shadow var(--vs-dur-fast) var(--vs-ease-std);
}

.vs-activity-card__type {
	order: 1;
	margin-block-start: 28px;
	padding: 5px 16px;
	font-size: 16px;
}

.vs-badge {
	order: 2;
	margin-block-start: 12px;
	padding: 6px 16px;
	border-radius: 99px;
	color: var(--vs-surface);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-badge--trending {
	background: var(--wp--custom--gold-strong); /* D11: white text 4.60:1 */
}

.vs-badge--new {
	background: var(--wp--custom--badge-green);
}

.vs-activity-card__more {
	display: none;
}

@media (hover: hover) {
	.vs-activity-card__link:hover::after,
	.vs-activity-card__link:focus-visible::after {
		--vs-act-shade: 0.7;
		box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
	}

	.vs-activity-card__link:focus-visible::after {
		transition: none; /* The focus ring appears at once. */
	}

	.vs-activity-card__link:hover .vs-activity-card__more,
	.vs-activity-card__link:focus-visible .vs-activity-card__more {
		display: inline-flex;
	}

	.vs-activity-card__link:hover .vs-activity-card__title,
	.vs-activity-card__link:focus-visible .vs-activity-card__title {
		margin-block-end: 10px;
	}
}

.vs-activity-card__more {
	order: 4;
	align-items: center;
	gap: 8px;
	margin: 0 auto 60px; /* Figma 1225:29552: title, 10 px, button, 60 px to the bottom. */
	padding: 12px 20px;
	border-radius: 16px;
	background: var(--wp--custom--gold-strong); /* D11: white text 4.60:1 */
	color: var(--vs-surface);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.vs-activity-card__more .vs-icon {
	width: 24px;
	height: 24px;
}

.vs-activity-card__title {
	order: 3;
	margin: auto 24px 31px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

/* Articles (mobile 814:28215) */

.vs-articles .vs-section-head {
	margin-block-end: 24px;
}

.vs-articles .vs-section-head__title {
	line-height: 1.3;
}

.vs-articles__grid {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-article-card__link {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	overflow: hidden;
	border-radius: 24px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	text-decoration: none;
}

.vs-article-card__media {
	order: -1; /* Shown first; placed after the text in the markup so the link is named by its title. */
	position: relative;
	display: block;
	height: 172px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--wp--preset--color--bg-alt);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.vs-article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-article-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.vs-article-card__label {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-start: 16px;
	z-index: 1;
}

.vs-article-card__body {
	display: flex;
	align-items: flex-end;
	gap: 0; /* Mobile 814:28196: 279 px text and the 32 px button fill the 311 px row. */
	padding: 0 16px 16px;
}

.vs-article-card__text {
	display: grid;
	flex: 1;
	gap: 12px;
}

.vs-article-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-article-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--vs-secondary-text);
	font-size: 12px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.vs-article-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vs-article-card__go.vs-arrow {
	width: 32px;
	height: 32px;
}

.vs-article-card__go .vs-icon {
	width: 14px;
	height: 14px;
}

.vs-article-card__tag {
	display: none; /* Shown on the large desktop card only (the mobile design has none). */
	padding: 6px 16px;
	border-radius: 8px;
	background: var(--wp--custom--tag-mint);
	color: var(--vs-primary);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
}

@media (hover: hover) {
	.vs-article-card__link:hover .vs-article-card__title {
		text-decoration: underline;
	}
}

/* About and numbers (mobile 814:28379) */

.vs-about__head {
	gap: 8px;
	margin-block-end: 32px;
}

.vs-about .vs-section-head__title {
	line-height: 1.3;
}

.vs-about .vs-section-head__intro {
	line-height: 1.4;
}

.vs-about__row {
	display: flex;
	flex-direction: column-reverse;
	gap: 16px;
}

.vs-stats__title {
	margin: 0 0 8px;
	color: var(--vs-primary-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-stats__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-stats__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vs-stats__value {
	flex: none;
	min-width: 54px;
	color: var(--vs-gold);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-stats__label {
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-wrap: balance; /* A label that needs two lines splits evenly, not with one word alone (P01-FE-6). */
}

.vs-stats__note {
	margin: 16px 0 0;
	color: var(--vs-secondary-text);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

/* Collage: the design's composition (720 × 672 at 1440) scaled with the container. */
.vs-collage {
	position: relative;
	width: min(100%, 309px); /* Mobile frame 814:28350; 720 px from 768 px up. */
	margin-inline: auto;
	aspect-ratio: 720 / 672;
	container-type: inline-size;
}

.vs-collage__img,
.vs-collage__stack {
	position: absolute;
	overflow: hidden;
	background: var(--wp--preset--color--bg-alt);
}

.vs-collage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Physical positions from the 720 × 672 Figma frame (681:1581): a fixed photo composition. */
.vs-collage__img--main {
	left: calc(101 / 720 * 100%);
	inset-block-start: calc(88 / 672 * 100%);
	width: calc(285 / 720 * 100%);
	height: calc(433 / 672 * 100%);
}

.vs-collage__stack {
	left: calc(403 / 720 * 100%);
	inset-block-start: calc(28 / 672 * 100%);
	display: grid;
	grid-template-rows: minmax(0, 129fr) minmax(0, 128fr) minmax(0, 128fr);
	width: calc(285 / 720 * 100%);
	height: calc(385 / 672 * 100%);
	background: var(--vs-surface);
}

.vs-collage__img--side {
	left: calc(406 / 720 * 100%);
	inset-block-start: calc(433 / 672 * 100%);
	width: calc(285 / 720 * 100%);
	height: calc(210 / 672 * 100%);
}

.vs-collage__label {
	position: absolute;
	margin: 0;
	white-space: nowrap;
	padding: 1.1cqw 2.2cqw;
	background: var(--vs-surface);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	color: var(--vs-primary);
	font-size: max(13px, 1.95cqw); /* Audit r2 UX2-09 / C-18 (fix round 4, 2026-11-15): 13 px at 375, not 10 px (Arabic dots). */
	line-height: 1.3;
	text-align: center;
}

.vs-collage__label strong {
	font-size: max(13px, 4.45cqw);
	font-weight: 700;
}

.vs-collage__label--1 {
	left: 0;
	top: calc(64 / 672 * 100%);
}

.vs-collage__label--2 {
	right: 0;
	top: 0;
}

.vs-collage__label--3 {
	left: calc(336 / 720 * 100%);
	top: calc(614 / 672 * 100%);
}

/* The narrow (mobile) collage shows each label's short text when one is given. */
.vs-collage__short {
	display: none;
}

@container (max-width: 500px) {
	.vs-collage__label.has-short .vs-collage__long {
		display: none;
	}

	.vs-collage__label.has-short .vs-collage__short {
		display: inline;
	}
}

/* Guide (mobile 827:28573) */

.vs-guide .vs-section-head__title {
	margin-block-end: 48px;
	line-height: 1.3;
}

.vs-guide__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-guide-card__link {
	display: grid;
	justify-items: center;
	gap: 16px;
	color: var(--vs-dark-text);
	text-align: center;
	text-decoration: none;
}

.vs-guide-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 163 / 132;
	overflow: hidden;
	border-radius: 32px;
	background: var(--wp--custom--guide-surface);
}

.vs-guide-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-guide-card__title {
	margin: 0 0 -12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-guide-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-block: 4px;
	color: var(--vs-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.vs-guide-card__more .vs-icon {
	width: 16px;
	height: 16px;
}

@media (min-width: 1024px) {
	.vs-guide-card__more .vs-icon {
		width: 24px;
		height: 24px;
	}
}

@media (hover: hover) {
	.vs-guide-card__link:hover .vs-guide-card__title {
		text-decoration: underline;
	}
}

/* Tablet (768–1023; S7 to 1199): wider cards, two-column article and featured grids */

@media (min-width: 768px) {
	.vs-hero__media {
		height: 440px;
	}

	.vs-hero__media img {
		transform: none;
	}

	.vs-featured__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-articles__grid .vs-article-card--large {
		grid-column: 1 / -1;
	}

	.vs-guide__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vs-collage {
		width: min(100%, 720px);
	}

	.vs-about__row {
		align-items: stretch;
	}

	.vs-section-head__intro {
		max-width: 720px; /* Keeps tablet lines readable (mobile type sizes, wide column). */
	}
}

/* Desktop (1440 reference) from 1024 px (UX-SW-10): every section except S7 «روح سوريا» (stats and collage,
   1200 px of fixed geometry), which keeps the tablet layout until 1200 px (block below). The header keeps its
   mobile form below 1200 px (main.css). */

@media (min-width: 1024px) {
	.vs-home {
		--vs-home-gap: 120px;
	}

	.vs-section-head__title {
		font-size: 54px;
		line-height: 1.3;
	}

	.vs-section-head__intro {
		font-size: 20px;
		line-height: 1.2;
	}

	.vs-section-foot {
		margin-block-start: 0;
	}

	.vs-section-foot .vs-link-arrow {
		flex: none;
		margin-inline-start: auto;
		padding-inline: 20px;
		font-size: 16px;
	}

	.vs-carousel__track {
		gap: 20px;
		padding-inline: max(16px, calc((100% - 1200px) / 2));
		scroll-padding-inline: max(16px, calc((100% - 1200px) / 2));
	}

	/* Hero (95:159 / 95:181): 856 px photo band; title block 181 px from the top of the page. */
	.vs-hero {
		min-height: 856px;
		padding-block-start: calc(181px + var(--wp-admin--admin-bar--height, 0px));
	}

	.vs-hero__text {
		width: 699px;
	}

	.vs-hero__title {
		font-size: 90px;
	}

	.vs-hero__subtitle {
		font-size: 28px;
	}

	.vs-hero__media {
		position: absolute;
		inset: -4px 0 0;
		z-index: 0;
		height: auto;
		margin: 0;
	}

	/* The photo scales with the width up to 1920 px, then stays that size, centred, so the building never
	   rises behind the title on very wide screens; its side edges fade into the page there. */
	.vs-hero__media {
		right: auto; /* Over-constrained in RTL otherwise (left would be ignored). */
		left: 50%;
		width: min(100%, 1920px);
		overflow: hidden;
		transform: translateX(-50%);
		container-type: inline-size;
	}

	@media (min-width: 1921px) {
		.vs-hero__media {
			-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
			mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		}
	}

	.vs-hero__media img {
		position: absolute;
		bottom: calc(-75 / 1440 * 100cqw); /* At 1440 the photo is 931 tall and its lowest 75 px are cut. */
		left: calc(-0.142 / 0.5803 * 100%);
		width: calc(100% / 0.5803);
		max-width: none;
		height: auto;
		aspect-ratio: 1920 / 720; /* The photo's own proportions at every width. */
	}

	/* Governorates (1003:10872) */
	.vs-govs {
		margin-block-start: 72px;
	}

	.vs-govs .vs-section-head {
		justify-items: center;
		margin-block-end: 48px;
		text-align: center;
	}

	.vs-govs__title {
		font-size: 40px;
		line-height: 1.5;
	}

	.vs-govs .vs-section-head__intro {
		max-width: 779px;
		color: var(--vs-secondary-text);
		font-size: 18px;
		font-weight: 500;
		line-height: 1.5;
	}

	.vs-govs .vs-section-foot {
		margin-block-start: 48px;
	}

	/* Featured (1077:13598): tab column at the inline start, two cards beside it. */
	.vs-featured {
		margin-block-start: 95px;
	}

	.vs-featured__title {
		margin-block-end: 56px;
		line-height: 1.5;
	}

	.vs-featured__body {
		display: grid;
		grid-template-columns: 293px minmax(0, 821px);
		justify-content: space-between;
		gap: 85px;
	}

	.vs-featured__tab {
		margin: 0;
		padding-block-end: 46px;
		font-size: 48px;
		line-height: 1.3;
		background: var(--wp--custom--tab-rule) no-repeat bottom / calc(100% - 6.5px) 1px;
		background-position: right bottom;
		align-self: start;
	}

	.vs-featured__cards {
		grid-template-columns: repeat(2, 390.5px);
		justify-content: end;
		gap: 40px;
	}

	.vs-place-card__media {
		aspect-ratio: 358.5 / 239;
	}

	.vs-place-card__title {
		min-height: 2.4em; /* Two lines (Figma 106:2022: 58 px). */
		font-size: 24px;
		line-height: 1.2;
	}

	.vs-place-card__meta,
	.vs-place-card__rating {
		font-size: 14px;
	}

	/* S6 hotels: area and class are Regular 16 (106:1912); the S3 featured cards keep 14 (1077:13598) (HOME-FE-1). */
	.vs-hotels .vs-place-card__meta,
	.vs-hotels .vs-place-card__rating {
		font-size: 16px;
	}

	.vs-events__track > li {
		width: 488px;
	}

	.vs-hotels__track > li {
		width: 390px;
	}

	.vs-date-badge {
		gap: 24px;
		padding: 36px 12px;
		border-radius: 16px;
		font-size: 32px;
	}

	.vs-date-badge__day {
		font-size: 48px;
		font-weight: 400;
	}

	/* Activities band (103:439) */
	.vs-acts {
		margin-block-start: 245px;
		padding-block: 25px 24px;
	}

	.vs-acts .vs-section-head {
		gap: 32px;
		margin-block-end: 24px;
	}

	.vs-acts .vs-section-head__title {
		line-height: 92px; /* Figma 103:1722 text box. */
	}

	.vs-acts__track {
		gap: 24px;
	}

	.vs-events .vs-section-head {
		margin-block-end: 48px;
	}

	.vs-hotels .vs-section-head {
		margin-block-end: 40px;
	}

	.vs-acts .vs-chips {
		gap: 24px;
	}

	.vs-acts .vs-chip {
		padding: 12px 16px;
		font-size: 16px;
		line-height: 19px;
	}

	.vs-acts .vs-chip.is-active {
		padding: 8px 16px;
	}

	.vs-activity-card {
		width: 275px;
	}

	.vs-activity-card__link {
		height: 529px;
	}

	.vs-activity-card__type {
		margin-block-start: 20px;
	}

	.vs-badge {
		margin-block-start: 20px;
		padding: 5px 16px;
		font-size: 16px;
	}

	.vs-activity-card__title {
		margin-block-end: 63px;
		font-size: 32px;
		font-weight: 500;
	}

	.vs-acts .vs-section-foot {
		margin-block-start: 44px;
	}

	/* Articles (680:1564): large card at the inline start, two stacked beside it. */
	.vs-articles .vs-section-head {
		margin-block-end: 48px;
	}

	.vs-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 290px;
		gap: 20px;
	}

	.vs-articles__grid .vs-article-card--large {
		grid-column: auto;
		grid-row: span 2;
	}

	.vs-articles__grid--1 .vs-article-card--large,
	.vs-articles__grid--2 .vs-article-card--large {
		grid-row: span 1;
	}

	.vs-article-card__media {
		flex: none;
		height: 168px;
	}

	.vs-article-card--large .vs-article-card__media {
		height: 402px;
	}

	.vs-article-card__label {
		inset-block-start: 32px;
		inset-inline-start: 32px;
	}

	.vs-article-card__body {
		position: relative;
		padding: 0 24px 24px;
	}

	/* Small cards: full-width title; the arrow sits at the inline end beside the short excerpt. */
	.vs-article-card:not(.vs-article-card--large) .vs-article-card__foot {
		position: absolute;
		inset-inline-end: 24px;
		inset-block-end: 24px;
	}

	/* Below 1200 px the small card is narrower: the excerpt stops before the 48 px arrow beside it. */
	.vs-article-card .vs-article-card__excerpt {
		max-width: min(415px, calc(100% - 64px));
	}

	.vs-article-card__tag {
		display: inline-block;
	}

	.vs-article-card--large .vs-article-card__body {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.vs-article-card__title {
		font-size: 20px;
		line-height: 1.2;
	}

	.vs-article-card__excerpt {
		font-size: 16px;
		line-height: 1.2;
	}

	.vs-article-card:not(.vs-article-card--large) .vs-article-card__title {
		display: -webkit-box;
		overflow: hidden;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
	}

	.vs-article-card__go.vs-arrow {
		width: 48px;
		height: 48px;
	}

	.vs-article-card__go .vs-icon {
		width: 20px;
		height: 20px;
	}

	.vs-articles .vs-section-foot {
		margin-block-start: 48px;
	}

	/* Guide (820:28475) */
	.vs-guide__grid {
		grid-template-columns: repeat(4, minmax(0, 285px));
		justify-content: space-between;
		gap: 20px;
	}

	/* Figma: 326 px from the guide to the footer (the shared footer adds 120; padding does not collapse). */
	.vs-home {
		padding-block-end: 206px;
	}

	.vs-guide-card__media {
		aspect-ratio: 285 / 230;
		border-radius: 50px;
	}

	.vs-guide-card__link {
		gap: 24px;
	}

	.vs-guide-card__title {
		margin-block-end: -24px;
		font-size: 24px;
	}

	.vs-guide-card__more {
		padding: 14px 20px;
		font-size: 14px;
	}
}

/* 1024–1199: the featured cards narrow (with a 40 px gap beside the tab column) instead of running under the
   «أهم الوجهات» tab. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.vs-featured__body {
		gap: 40px;
	}

	.vs-featured__cards {
		grid-template-columns: repeat(2, minmax(0, 390.5px));
	}
}

/* S7 «روح سوريا» (About, 681:1876): stats 460 + collage 720 in 1200 px do not fit a narrower container, so it
   keeps the tablet layout until 1200 px (UX-SW-10). */

@media (min-width: 1200px) {
	/* About (681:1876) */
	.vs-about__head {
		max-width: 944px;
		margin-block-end: 48px;
	}

	.vs-about .vs-section-head__intro {
		max-width: 588px;
		line-height: 24px;
	}

	.vs-about__row {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 20px; /* Stats 460 + collage 720 in 1200 (Figma 681:1874 / 681:1581). */
	}

	.vs-collage {
		flex: none;
		width: 720px;
		margin: 0;
	}

	.vs-stats {
		width: 460px;
		margin-block-start: 142px;
	}

	.vs-stats__title {
		margin-block-end: 32px;
		font-size: 40px;
	}

	.vs-stats__list {
		gap: 20px;
	}

	.vs-stats__value {
		min-width: 105px;
		font-size: 40px;
	}

	.vs-stats__label {
		font-size: 24px;
	}

	.vs-stats__note {
		margin-block-start: 20px;
		font-size: 16px;
		text-align: start;
	}
}

/* Optional shorter mobile copy (the mobile design has its own title and intro). */
.vs-only-wide {
	display: none;
}

@media (min-width: 768px) {
	.vs-only-wide {
		display: inline;
	}

	.vs-only-narrow {
		display: none;
	}
}

@media (forced-colors: active) {
	.vs-place-card__link,
	.vs-article-card__link,
	.vs-guide-card__media {
		outline: 1px solid CanvasText;
	}
}

/* Hero search (159:289; mobile 670:1362): white bar (radius 16, soft green shadow), keyword field, a divider, the
   listing choice and «بحث». Mobile: the bar is 48 px tall with the button full width 12 px below. */
.vs-hero-search {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	order: 1;
	width: min(343px, calc(100% - 32px));
	margin-block-start: 24px;
}

.vs-hero-search__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 12px;
	border-radius: var(--wp--custom--radius-lg, 16px);
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 20px rgba(11, 86, 48, 0.12);
}

.vs-hero-search__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.vs-hero-search__field--q {
	flex: 1;
	min-width: 0;
}

.vs-hero-search__field--in {
	flex: none;
	padding-inline-start: 12px;
	border-inline-start: 1px solid rgba(5, 66, 57, 0.8);
}

.vs-hero-search__icon,
.vs-hero-search__chevron {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--wp--custom--muted-text, var(--vs-secondary-text));
}

.vs-hero-search__chevron {
	position: absolute;
	inset-inline-end: 0;
	pointer-events: none;
}

.vs-hero-search__input,
.vs-hero-search__select {
	width: 100%;
	min-width: 0;
	min-height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vs-secondary-text, #5d585f);
	font: inherit;
	font-size: 12px;
}

.vs-hero-search__input::placeholder {
	color: var(--vs-secondary-text, #5d585f);
	opacity: 1;
}

/* Fix 9 (2026-11-17, R3-P05-S1-04): typed or pre-filled words in the text colour, so they never read as the grey hint. */
.vs-hero-search__input:not(:placeholder-shown) {
	color: var(--vs-dark-text, #1d1b1e);
}

.vs-hero-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.vs-hero-search__select {
	-webkit-appearance: none;
	appearance: none;
	padding-inline-end: 28px;
	cursor: pointer;
}

.vs-hero-search__input:focus-visible,
.vs-hero-search__select:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: 4px;
	border-radius: 4px;
}

.vs-hero-search__submit {
	width: 100%;
	min-height: 37px;
	padding: 10px;
	border-radius: 10px;
	font-size: 14px;
}

@media (max-width: 767px) {
	/* The photo starts behind the button, as in the mobile frame. */
	.vs-hero-search ~ .vs-hero__media,
	.vs-hero:has(.vs-hero-search) .vs-hero__media {
		margin-block-start: -24px;
	}
}

@media (min-width: 768px) {
	.vs-hero-search {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		width: min(721px, calc(100% - 32px));
		min-height: 68px;
		margin-block-start: 40px;
		padding: 16px;
		border-radius: var(--wp--custom--radius-lg, 16px);
		background: var(--wp--preset--color--surface);
		box-shadow: 0 0 20px rgba(11, 86, 48, 0.12);
	}

	.vs-hero-search__bar {
		flex: 1;
		gap: 24px;
		min-height: 0;
		padding: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.vs-hero-search__field--in {
		padding-inline-start: 24px;
	}

	.vs-hero-search__input,
	.vs-hero-search__select {
		font-size: 14px;
	}

	.vs-hero-search__submit {
		flex: none;
		width: 86px;
		min-height: 36px;
	}
}

@media (min-width: 1024px) {
	.vs-hero-search {
		margin-block-start: 68px; /* Top of the bar at 408 px, as in 159:289. */
	}
}

/* «صورة أرشيفية» on an archive card photo (DEZ-FE-1, base style in main.css): a flex item under the type tag,
   above the shade, clear of the title. */
.vs-activity-card__link > .vs-archive-tag {
	position: static;
	order: 2;
	margin-block-start: 8px;
}

/* Guide with fewer than four cards (review P02-FE-7, 2026-11-04): no empty column, no lone card on a row. */
.vs-guide__grid--1 > li,
.vs-guide__grid--3 > li:last-child {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc(50% - 8px); /* The size of the other cards, centred on its own row. */
}

@media (min-width: 768px) {
	.vs-guide__grid--1,
	.vs-guide__grid--2,
	.vs-guide__grid--3 {
		justify-content: center;
	}

	.vs-guide__grid--1 > li,
	.vs-guide__grid--3 > li:last-child {
		grid-column: auto;
		justify-self: stretch;
		width: auto;
	}

	.vs-guide__grid--1 {
		grid-template-columns: minmax(0, 285px);
	}

	.vs-guide__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 285px));
	}

	.vs-guide__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 285px));
	}
}

@media (min-width: 1024px) {
	.vs-guide__grid--1,
	.vs-guide__grid--2,
	.vs-guide__grid--3 {
		gap: 20px 40px;
	}
}

/* Review C4-FE9-01 (2026-11-17): the governorate link of a no-page 404 («لا توجد لدينا بعد صفحة عن «بصرى». تصفّح
   درعا») is the page's next step: a 44 px target on phones, as the search page's note links (search.css, C1-FE-05).
   Here because 404.php loads home.css (the hero search) and not search.css.
   Review B-FE9-01: the owner's link of a «not added yet» 404 («تملك مطعماً؟ اقترحه») too, as on the search page. */
.vs-404__nopage a,
.vs-404__owner {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	min-inline-size: 44px;
	margin-block: -10px;
	vertical-align: middle;
}

/* visitsyria-governorate: assets/css/governorate.css */
/*
 * Governorate pages (Docs/pages/P03-00-governorates-shared.md; Damascus reference P03-01). Mobile first
 * (375 reference, Damascus mobile frame 991:56483, decision G9); tablet 768–1023 keeps the stacked layout
 * with two-column cards (Q-SF4); desktop from 1024 px (1440 reference, 770:6808; UX-SW-10), except the S4
 * landmark slider, which keeps the stacked layout until 1200 px (its thumbnails and the dots script switch
 * there). Section rhythm: 48 px mobile, 200 px desktop. Colour decisions D11 B: indicators and counters
 * #857350 (G17, G18), active tab pill + Bold + 2 px Primary outline (G19).
 */

.vs-gov {
	overflow-x: clip;
}

.vs-gov-section {
	margin-block-start: 48px;
}

.vs-gov-title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-gov-head {
	display: grid;
	gap: 8px;
	margin-block-end: 24px;
}

.vs-gov-intro {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.4;
}

.vs-gov-foot {
	display: flex;
	margin: 24px 0 0;
}

.vs-gov-foot--center {
	justify-content: center;
}

.vs-sample-badge {
	display: inline-block;
	margin-block-end: 8px;
	padding: 2px 10px;
	border: 1px dashed var(--wp--custom--accent-strong);
	border-radius: var(--wp--custom--radius-pill);
	color: var(--wp--custom--accent-strong);
	background: var(--wp--preset--color--surface); /* 5.26:1 on any page background (was 4.40:1 on #E3DDCB). */
	font-size: 12px;
	font-weight: 700;
}

/* S1 hero (mobile: mask 991:54640, motif 991:57111) */

/* The text starts just below the template's mask (its bottom edge scales with the viewport). */
.vs-gov-hero {
	position: relative;
	padding-block-start: calc(var(--vs-gov-my, -104) * 1px + var(--vs-gov-mh, 325) / 375 * 100vw + var(--wp-admin--admin-bar--height, 0px));
}

.vs-gov-hero__motif {
	position: absolute;
	inset: 0 0 auto;
	height: 354px;
	background: var(--vs-gov-motif-m) top center / 100% auto no-repeat;
	pointer-events: none;
}

.vs-gov-hero__media {
	position: absolute;
	inset-block-start: calc(var(--vs-gov-my) * 1px + var(--wp-admin--admin-bar--height, 0px));
	left: calc(var(--vs-gov-mx) / 375 * 100%);
	width: calc(var(--vs-gov-mw) / 375 * 100%);
	aspect-ratio: var(--vs-gov-mw) / var(--vs-gov-mh);
	background: var(--wp--preset--color--bg-alt);
	-webkit-mask: var(--vs-gov-mask-m) center / 100% 100% no-repeat;
	mask: var(--vs-gov-mask-m) center / 100% 100% no-repeat;
}

/* Optional dark layer over the photo, inside the mask (Aleppo 597:18135: black 30 %). */
.vs-gov-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, calc(var(--vs-gov-overlay, 0)));
	pointer-events: none;
}

.vs-gov-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Decision G4: cropped to cover the mask, never stretched. */
}

/* Phones: the small mask shows only the lower part of the photo; a template can move the focus and zoom so the
   subject stays visible (Idlib, IDL-FE-1). */
@media (max-width: 767px) {
	.vs-gov-hero__media img {
		object-position: var(--vs-gov-focus-m, 50% 50%);
		transform: scale(var(--vs-gov-zoom-m, 1));
		transform-origin: var(--vs-gov-focus-m, 50% 50%);
	}
}

/* Optional template line illustration between the photo and the text (Idlib olive 608:30408, …). Its box is
   given in page coordinates at 1440 (ill-x, ill-y, ill-s) and scales with the mask on smaller screens. */
.vs-gov-hero__illustration {
	position: absolute;
	inset-block-start: calc((var(--vs-gov-my) + (var(--vs-gov-ill-y) - var(--vs-gov-y)) * var(--vs-gov-mh) / var(--vs-gov-h)) * 1px + var(--wp-admin--admin-bar--height, 0px));
	left: calc((var(--vs-gov-mx) + (var(--vs-gov-ill-x) - var(--vs-gov-x)) * var(--vs-gov-mw) / var(--vs-gov-w)) / 375 * 100%);
	width: calc(var(--vs-gov-ill-s) * var(--vs-gov-mw) / var(--vs-gov-w) / 375 * 100%);
	height: auto;
	opacity: var(--vs-gov-ill-o);
	pointer-events: none;
}

.vs-gov-hero__text {
	position: relative;
}

.vs-gov-hero__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.vs-gov-hero__tagline {
	margin: 4px 0 0;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 500;
}

.vs-gov-hero__lead {
	max-width: calc(var(--vs-gov-lead-w, 464) * 1px);
	margin: 4px 0 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.5;
}

/* S2 highlight cards (770:6957 / 991:57113) */

.vs-gov-highlights__list {
	display: grid;
	gap: 20px;
	margin-block: 0;
	padding: 0;
	list-style: none;
}

.vs-gov-hl {
	position: relative;
	display: grid;
	justify-items: center;
	width: 100%;
	max-width: 387px;
	margin-inline: auto;
	padding-block-start: calc(63 / 387 * 100%);
	isolation: isolate;
}

.vs-gov-hl__motif {
	position: absolute;
	inset: -2px 0 auto;
	aspect-ratio: 386 / 409;
	border-radius: 88px 88px 0 0;
	background: var(--vs-gov-card-motif) center / cover no-repeat;
	z-index: -2;
}

/* The panel starts at y 237 of the 387-wide card (594:4579, 244 tall at 1440). A percentage top would resolve
   against the card height, so the offset is a margin, which resolves against the width (P03-FE-2). */
.vs-gov-hl__panel {
	position: absolute;
	inset: 0;
	margin-block-start: calc(237 / 387 * 100%);
	border-radius: var(--wp--custom--radius-md);
	background: var(--wp--preset--color--bg-alt);
	z-index: -1;
}

.vs-gov-hl__photo {
	position: relative;
	width: calc(321 / 387 * 100%);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--wp--preset--color--bg-alt);
}

.vs-gov-hl__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.vs-gov-hl__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

.vs-gov-hl__photo,
.vs-gov-hl__name {
	grid-area: 1 / 1;
}

.vs-gov-hl__name {
	z-index: 1;
	align-self: center;
	justify-self: center;
	max-width: calc(300 / 387 * 100%); /* Centred on the circle, slightly overhanging it as drawn (604:22163: 287 px on one line); longer names take two lines (P03-FE-2, P03-FE-4). */
	margin: 0;
	color: var(--vs-surface);
	font-size: 24px; /* Mobile Bold 24 (991:57113); 32 from 768 px. */
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 0, 0, 0.6); /* A soft dark halo keeps the white name ≥ 3:1 on bright photos (R2-14). */
}

.vs-gov-hl__link {
	color: inherit;
	text-decoration: none;
}

.vs-gov-hl__link::after {
	content: "";
	position: absolute;
	inset: 0; /* The whole card is the link (decision G16). */
	z-index: 2;
}

.vs-gov-hl__link:focus-visible {
	outline: none;
	box-shadow: none;
}

.vs-gov-hl:has(.vs-gov-hl__link:focus-visible) .vs-gov-hl__panel {
	outline: 2px solid transparent;
	box-shadow: var(--vs-focus);
}

.vs-gov-hl__text {
	grid-area: 2 / 1;
	max-width: 300px;
	margin: 24px 16px 26px;
	color: var(--vs-secondary-text);
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
}


/* S3 overview tabs (991:57176 / 991:57218) */

.vs-gov-overview__title {
	font-weight: 800;
	line-height: 1.5;
}

/* Staff only (persona fix round C2-FE-06, C2-BE-04): a tab hidden by the fact rule, a «المدن» heading replaced. Same
   look as the other staff notes (destination.css, live.css). */
.vs-gov-overview .vs-staff-note {
	max-width: 820px;
	margin: 12px 0 0;
	padding: 8px 12px;
	border: 1px dashed var(--wp--custom--accent-strong);
	border-radius: var(--wp--custom--radius-sm);
	background: var(--vs-surface);
	color: var(--wp--custom--accent-strong);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}

.vs-tabs__list {
	display: flex;
	gap: 8px;
	margin: 16px -16px 0;
	padding: 4px 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 16px;
	scrollbar-width: none;
}

.vs-tabs__list::-webkit-scrollbar {
	display: none;
}

.vs-tabs__tab {
	flex: none;
	padding: 10px 16px;
	border: 2px solid transparent;
	border-radius: 99px;
	background: transparent;
	color: var(--vs-primary);
	font: 500 14px/1.2 var(--wp--preset--font-family--tajawal);
	cursor: pointer;
	scroll-snap-align: start;
}

.vs-tabs__tab[aria-selected="true"] {
	border-color: var(--vs-primary); /* G19 B: pill + Bold + a 2 px Primary outline. */
	background: rgba(185, 167, 120, 0.4);
	font-weight: 700;
}

.vs-tabs__panel {
	padding-block-start: 32px;
}

.vs-tabs__panel[hidden] {
	display: none;
}

.vs-tabs.is-tabbed .vs-tabs__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.vs-tabs__heading {
	margin: 0 0 16px;
	color: var(--vs-primary);
	font-size: 18px;
	font-weight: 700;
}

.vs-tabs:not(.is-tabbed) .vs-tabs__panel + .vs-tabs__panel {
	margin-block-start: 32px;
	border-block-start: 1px solid rgba(5, 66, 57, 0.15);
}

.vs-tab-icon {
	display: block;
	flex: none;
	color: var(--vs-primary);
}

.vs-tab-icon--xl {
	width: 120px;
	height: 120px;
}

.vs-tab-icon--md {
	width: 64px;
	height: 64px;
}

.vs-panel__center {
	display: grid;
	justify-items: center;
	gap: 12px;
	text-align: center;
}

.vs-panel__split {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 24px;
}

.vs-panel__body {
	display: grid;
	gap: 12px;
	margin: 0;
}

.vs-panel__value {
	margin: 0;
	color: var(--vs-primary);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.vs-panel__lead {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
}

.vs-panel__statement {
	margin: 0;
	color: var(--vs-primary);
	font-size: 20px;
	line-height: 1.3;
}

.vs-panel__heading {
	margin: 0;
	color: var(--vs-primary);
	font-size: 24px;
	font-weight: 700;
}

.vs-panel__text,
.vs-panel__paragraph {
	max-width: 628px;
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.4;
}

.vs-fact__source {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
}

.vs-fact__source a {
	color: inherit;
}

/* Persona retest L5 (2026-11-17): the names of a «المدن» tab are plain text, not chips: nothing here can be tapped, so
   nothing looks like a button (no pill, no tint); the names run on as one line of text, separated by «،». */
.vs-panel__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.7;
}

.vs-panel__chips li:not(:last-child)::after {
	content: "،";
	margin-inline-end: 8px;
	color: var(--vs-secondary-text);
}

.vs-panel__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-feature {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 8px;
	text-align: center;
}

.vs-feature__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 700;
}

.vs-feature__text,
.vs-feature__lines {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.4;
}

/* P30: the weather column links to the weather page (parts/governorate/panel.php). */
.vs-feature__link {
	display: inline-block;
	margin-block-start: 8px;
	padding-block: 6px; /* A 24 px+ target. */
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.vs-feature__lines {
	padding-inline-start: 1.1em;
	text-align: start;
}

.vs-panel__counters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 48px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.vs-counter {
	display: grid;
	justify-items: center;
	gap: 4px;
	text-align: center;
}

.vs-counter__number {
	color: var(--wp--custom--gold-strong); /* G18 B: #857350 (3.85:1); design Wheat Gold is 2.995:1. */
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.vs-counter__label {
	color: var(--vs-primary); /* Primary #054239, as drawn in the health states (P04 tab04, P03 tab05; P04-FE-4). */
	font-size: 16px;
	font-weight: 700;
}

.vs-counter__note {
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-panel--counters .vs-fact__source,
.vs-panel--columns .vs-fact__source {
	margin-block-start: 16px;
	text-align: center;
}

/* S4 landmarks slider (770:6996 / 992:57378) */

/* Mobile order (992:57378): name, text, link, image, indicators. */
.vs-slider {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-block-start: 24px;
}

.vs-slider__text {
	display: contents;
}

.vs-slider__info,
.vs-slider__list {
	order: 1;
}

.vs-slider__stage {
	order: 2;
}

.vs-slider__dots {
	order: 3;
}

.vs-slider__stage {
	position: relative;
	touch-action: pan-y; /* Horizontal swipes reach the script (R2-13); vertical scrolling stays with the page. */
}

.vs-slider__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius-lg);
	background: var(--wp--preset--color--bg-alt);
	aspect-ratio: 343 / 229;
}

.vs-slider__media[hidden],
.vs-slider__info[hidden] {
	display: none;
}

.vs-slider__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-slider__name {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 18px; /* Mobile Bold 18 (992:57378). */
	font-weight: 700;
	line-height: 1.3;
}

.vs-slider__description {
	display: -webkit-box;
	margin: 8px 0 0;
	overflow: hidden;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.3;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}

.vs-slider__more {
	margin-block-start: 8px;
	padding-inline: 0;
	font-size: 14px;
}

.vs-slider__list {
	margin: 16px 0 0;
	padding-inline-start: 1.2em;
	color: var(--vs-primary);
}

.vs-slider__list a {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-slider.is-ready .vs-slider__list {
	display: none;
}

.vs-slider__thumbs {
	display: none;
}

/* Below 1200 px: smaller indicators centred under the image (992:57378, ref m3); the desktop pills from 1200. */
.vs-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.vs-slider__dot {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--wp--custom--gold-strong); /* G17 B (design #E3DDCB is 1.14:1). */
	cursor: pointer;
	position: relative;
}

/* At least 24 × 24 hit area (mobile buttons). */
.vs-slider__dot::before {
	content: "";
	position: absolute;
	inset: -4px;
}

.vs-slider__dot[aria-current="true"] {
	width: 32px;
	background: var(--vs-primary-text);
}

.vs-slider__next {
	display: none;
}

.vs-slider__live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* Crossfade (review round 3, UX-P03-1 / M3): governorate.js stacks the preloaded slides (.is-near) in one cell;
   the new slide fades in over the old one, which hides once covered. The incoming text fades in with a 6 px rise.
   With reduced motion the script adds neither class and slides swap at once. */
@media (prefers-reduced-motion: no-preference) {
	.vs-slider.is-fading .vs-slider__stage {
		display: grid;
	}

	.vs-slider.is-fading .vs-slider__media {
		grid-area: 1 / 1;
	}

	.vs-slider.is-fading .vs-slider__media.is-near[hidden] {
		display: block;
		visibility: hidden;
		opacity: 0;
		transition: opacity 0s linear var(--vs-dur-base), visibility 0s linear var(--vs-dur-base);
	}

	.vs-slider.is-fading .vs-slider__media:not([hidden]) {
		z-index: 1;
		transition: opacity var(--vs-dur-base) var(--vs-ease-std);
	}

	.vs-slider.is-fading .vs-slider__thumbs,
	.vs-slider.is-fading .vs-slider__next {
		z-index: 2; /* Above the stacked slides. */
	}

	@starting-style {
		.vs-slider.is-fading .vs-slider__media:not([hidden]) {
			opacity: 0;
		}
	}

	.vs-slider.is-moved .vs-slider__info:not([hidden]) {
		animation: vs-slider-text var(--vs-dur-fast) var(--vs-ease-out);
	}
}

@keyframes vs-slider-text {
	from {
		opacity: 0;
		translate: 0 6px;
	}
}

/* S5 people (850:8339 / 992:57307) */

.vs-gov-head--narrow {
	max-width: 521px;
}

.vs-people {
	display: grid;
	gap: 32px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-person {
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 387px;
}

.vs-person__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 200px 200px 0 0;
	background: var(--wp--preset--color--bg-alt);
	aspect-ratio: 387 / 306;
}

.vs-person__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-person__caption {
	position: absolute;
	inset-block-end: 12px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	padding: 4px 12px;
	border-radius: var(--wp--custom--radius-pill);
	background: rgba(0, 38, 35, 0.8);
	color: var(--vs-surface);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.vs-person__info {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 8px;
	min-height: 306px;
	padding: 51px 20px 24px;
	border-radius: 0 0 200px 200px;
	background: var(--vs-bg);
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
	text-align: center;
}

.vs-person__name {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 24px;
	font-weight: 700;
}

.vs-person__role {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
}

.vs-person__bio {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.3;
}

.vs-person__more {
	margin-block-start: 16px;
}

/* A single profile without «قراءة المزيد» (G7) keeps no empty arch under its bio: the panel follows its
   content, with enough height for the curve (P03-FE-9). */
.vs-people--1 .vs-person__info:not(:has(.vs-person__more)) {
	min-height: 240px;
}

/* S6 character (770:7086 / 992:57427) */

.vs-gov-character__inner {
	display: grid;
	gap: 24px;
}

.vs-gov-character__body {
	margin-block-start: 16px;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.4; /* G14 A: 1.4 on every governorate. */
}

.vs-gov-character__body p {
	margin: 0;
}

.vs-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-mosaic__item {
	overflow: hidden;
	aspect-ratio: 285 / 256;
	background: var(--wp--preset--color--bg-alt);
}

.vs-mosaic__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Petals: each photo has two large corners towards the centre line (770:7089–770:7093). */
.vs-mosaic__item:nth-child(1),
.vs-mosaic__item:nth-child(4) {
	border-radius: 50px 0 50px 0;
}

.vs-mosaic__item:nth-child(2),
.vs-mosaic__item:nth-child(3) {
	border-radius: 0 50px 0 50px;
}

/* S7 cuisine (770:7097 / 992:57438) */

.vs-cuisine {
	display: grid;
	gap: 20px;
	margin-block-start: 24px;
}

.vs-cuisine__photo {
	margin: 0;
	overflow: hidden;
	border-radius: 200px 200px 0 0;
	aspect-ratio: 386 / 457;
	background: var(--wp--preset--color--bg-alt);
}

.vs-cuisine__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-cuisine__card {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 16px;
	padding: 80px 24px 32px;
	border-radius: 200px 200px 0 0;
	background: var(--vs-surface) var(--vs-gov-cuisine, none) center / cover no-repeat;
	text-align: center;
}

.vs-cuisine__kicker {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 20px; /* Regular 20 on mobile and desktop (992:57438). */
}

.vs-cuisine__heading {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-cuisine__dishes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 24px;
	margin: 8px 0;
	padding: 0;
	list-style: none;
}

.vs-cuisine__dishes li {
	padding: 6px 12px;
	border: 1px solid var(--vs-primary);
	border-radius: 999px;
	background: var(--wp--preset--color--bg-alt);
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
}

.vs-cuisine__link {
	padding-inline: 0;
	font-size: 14px;
}

/* S8 itinerary (770:7122 / mobile zig-zag 991:54869) */

.vs-gov-itinerary {
	padding-block: 48px;
	background: var(--wp--preset--color--bg-alt) var(--vs-gov-band, none) center / cover no-repeat;
}

.vs-itinerary {
	position: relative;
	margin-block-start: 24px;
}

.vs-itinerary__curve {
	display: none;
}

.vs-itinerary__stops {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-stop {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

/* Zig-zag: every other stop starts from the other side. */
.vs-stop:nth-child(even) {
	flex-direction: row-reverse;
	text-align: end;
}

.vs-stop__photo {
	position: relative;
	flex: none;
	width: 96px;
	height: 96px;
	padding: 4px;
	border-radius: 50%;
	background: var(--vs-primary-text);
}

.vs-stop__photo img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.vs-stop__pin {
	position: absolute;
	inset-block-end: -6px;
	inset-inline-start: -6px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--vs-primary);
	border-radius: 50% 50% 50% 0;
	background: var(--vs-bg);
	color: var(--vs-primary);
	transform: rotate(-45deg);
}

.vs-stop__pin .vs-icon {
	width: 18px;
	height: 18px;
	transform: rotate(45deg);
}

.vs-stop__body {
	display: grid;
	gap: 6px;
}

.vs-stop__name {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 20px; /* Regular 20 (991:54869). */
	font-weight: 400;
}

.vs-stop__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(5, 66, 57, 0.4);
	text-underline-offset: 4px;
}

.vs-stop__text {
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.4;
}

/* Persona fix (R3-P08-S3-03, 2026-11-17): the practical lines (place, nearest transport) are 14 px, not 12, and the
   description 15 px from 600 px; dark text on the light band (AA). */
.vs-stop__place,
.vs-stop__transport {
	color: var(--vs-primary-text);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
}

@media (min-width: 600px) {
	.vs-stop__text {
		font-size: 15px;
	}
}

/* Location pin before the place line (Medium 12 with pin, P03-FE-7). */
.vs-stop__place {
	display: flex;
	align-items: center;
	gap: 4px;
}

.vs-stop__place .vs-icon {
	flex: none;
	width: 14px;
	height: 14px;
}

.vs-stop:nth-child(even) .vs-stop__place {
	justify-content: flex-end;
}

/* Popup: added by the script on hover-capable screens, aria-hidden, repeats the list item (G12 A). */
.vs-stop__popup {
	position: absolute;
	inset-block-end: calc(100% + 12px);
	inset-inline-start: 50%;
	z-index: 5;
	display: none;
	width: 260px;
	padding: 12px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--wp--custom--card-surface);
	box-shadow: var(--wp--custom--shadow-card);
	text-align: start;
	transform: translateX(50%);
}

.vs-stop__popup::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: var(--wp--custom--card-border);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}

.vs-stop.is-open .vs-stop__popup {
	display: grid;
	gap: 6px;
}

.vs-stop.is-open .vs-stop__pin {
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-stop__popup img {
	width: 100%;
	height: 120px;
	border-radius: 12px;
	object-fit: cover;
}

.vs-stop__popup strong {
	color: var(--vs-dark-text);
	font-size: 16px;
}

.vs-stop__popup span {
	color: var(--wp--custom--muted-text);
	font-size: 14px;
}

/* Where the popup above a raised stop would cover the section title, governorate.js opens it beside the photo
   (bottoms aligned; towards the next stop first) or, as the last resort, below it (RIF-FE-6, SWE-FE-13). */
.vs-stop.is-side .vs-stop__popup,
.vs-stop.is-side-start .vs-stop__popup {
	inset-block-end: 0;
	transform: none;
}

/* is-side: on the inline-end side of the photo (the left in RTL, where the next stop is); is-side-start: the other. */
.vs-stop.is-side .vs-stop__popup {
	inset-inline-start: calc(100% + 12px);
	inset-inline-end: auto;
}

.vs-stop.is-side-start .vs-stop__popup {
	inset-inline-start: auto;
	inset-inline-end: calc(100% + 12px);
}

.vs-stop.is-below .vs-stop__popup {
	inset-block-start: calc(100% + 12px);
	inset-block-end: auto;
}

/* S9 restaurants and S12 treasures: P01 carousel and cards. */

.vs-gov-places,
.vs-gov-treasures {
	scroll-margin-block-start: 120px;
}

.vs-gov-places:focus {
	outline: none;
}

/* One card and a peek of the next (G9; the Damascus 375 reference shows 43 px of it): from 375 px the card is
   300 wide; on narrower phones it shrinks so the 43 px peek stays (16 px gutter + 16 px gap + 43 px; RIF-FE-7). */
.vs-gov-places .vs-place-card {
	width: min(300px, calc(100vw - 75px));
}

.vs-place-card--restaurant .vs-place-card__row {
	justify-content: flex-start;
}

/* Mobile restaurant names Bold 18 (Damascus mobile-sections.txt); the P01 card size returns from 1024 px. */
.vs-gov-places .vs-place-card__title {
	font-size: 18px;
}

/* S12 below 1024 px: the governorate mobile card (993:13220: 289 × 474, name Bold 32, summary 16), not the
   smaller home card (SH-FE-7). Below 375 px it narrows to keep the 54 px peek of the next card it has at 375
   (16 + 16 + 54; RIF-FE-7); the arch radius then scales down with it. */
.vs-gov-treasures .vs-gov-card {
	width: min(289px, calc(100vw - 86px));
}

.vs-gov-treasures .vs-gov-card__box {
	height: 474px;
	padding: 0 16px 16px 30px;
	border-radius: 144.5px 144.5px 0 0;
}

.vs-gov-treasures .vs-gov-card__name {
	font-size: 32px;
}

.vs-gov-treasures .vs-gov-card__summary {
	font-size: 16px;
}

/* Tablet: stacked layout, wider container, two-column cards (Q-SF4). */

@media (min-width: 768px) {
	.vs-gov-hero {
		padding-block-start: calc(var(--vs-gov-my, -104) * 1px + min(60vw, 460px) * var(--vs-gov-mh, 325) / var(--vs-gov-mw, 329) + 16px + var(--wp-admin--admin-bar--height, 0px));
	}

	.vs-gov-hero__media {
		left: calc(var(--vs-gov-mx) / 768 * 100%);
		width: min(60%, 460px);
	}

	.vs-gov-hero__title {
		font-size: 48px;
	}

	/* Tablet sizes the mask differently; the decorative illustration returns at 1024 px. */
	.vs-gov-hero__illustration {
		display: none;
	}

	/* The tagline keeps the hero text's size, as in both designs (mobile 16 / 16, desktop 32 / 32): not smaller
	   than the text under it (SWE-FE-13). 32 again from 1024 px. */
	.vs-gov-hero__tagline,
	.vs-gov-hero__lead {
		font-size: 20px;
	}

	.vs-gov-highlights__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-gov-hl__name {
		font-size: 32px;
	}

	.vs-panel__split {
		flex-direction: row;
		justify-content: space-between;
	}

	.vs-panel__features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vs-people {
		grid-template-columns: repeat(2, minmax(0, 387px));
	}

	.vs-people--1 {
		grid-template-columns: minmax(0, 387px);
	}

	.vs-cuisine {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-cuisine__card {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.vs-mosaic {
		gap: 20px;
	}
}

/* Tablet only: S12 in two columns of the mobile card (Q-SF4, SH-FE-9; the carousel arrows hide when nothing
   scrolls); a third S2 card sits centred under the first two. */
@media (min-width: 768px) and (max-width: 1023px) {
	.vs-gov-highlights__list--3 .vs-gov-hl:last-child {
		grid-column: 1 / -1;
	}

	.vs-gov-treasures__track {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 289px));
		justify-content: center;
		gap: 20px;
		width: var(--vs-container);
		margin-inline: auto;
		padding: 8px 0;
		overflow: visible;
	}
}

/* Desktop (1440 reference) from 1024 px (UX-SW-10); S4 from 1200 px (block below). */

@media (min-width: 1024px) {
	.vs-gov-section {
		margin-block-start: 200px;
	}

	.vs-gov-title {
		font-size: 48px;
	}

	.vs-gov-title--xl,
	.vs-gov-title--54 {
		font-size: 54px;
	}

	.vs-gov-intro {
		font-size: 20px;
	}

	.vs-gov-head {
		margin-block-end: 48px;
	}

	.vs-gov-hero {
		min-height: calc(var(--vs-gov-body, 818) * 1px);
		padding-block-start: calc(var(--vs-gov-text-y, 225) * 1px + var(--wp-admin--admin-bar--height, 0px)); /* Hero text top (Latakia 249, LAT-FE-1). */
	}

	.vs-gov-hero__motif {
		height: 531px;
		background: var(--vs-gov-motif) top center / 1440px auto repeat-x;
	}

	.vs-gov-hero__media {
		inset-block-start: calc(var(--vs-gov-y) * 1px + var(--wp-admin--admin-bar--height, 0px));
		left: calc(var(--vs-gov-x) / 1440 * 100%);
		width: calc(var(--vs-gov-w) / 1440 * 100%);
		max-width: calc(var(--vs-gov-w) * 1px);
		aspect-ratio: var(--vs-gov-w) / var(--vs-gov-h);
		-webkit-mask-image: var(--vs-gov-mask);
		mask-image: var(--vs-gov-mask);
	}

	.vs-gov-hero__title {
		font-size: 72px;
	}

	/* Anchored to the mask: the same offset from the mask's corner, scaled with it below 1440 and fixed above,
	   so an illustration drawn behind the photo stays behind it at every desktop width. */
	.vs-gov-hero__illustration {
		display: block;
		inset-block-start: calc(var(--vs-gov-y) * 1px + (var(--vs-gov-ill-y) - var(--vs-gov-y)) * min(1px, 100vw / 1440) + var(--wp-admin--admin-bar--height, 0px));
		left: calc(var(--vs-gov-x) / 1440 * 100% + (var(--vs-gov-ill-x) - var(--vs-gov-x)) * min(1px, 100% / 1440));
		width: calc(var(--vs-gov-ill-s) * min(1px, 100% / 1440));
		max-width: none;
	}

	.vs-gov-hero__tagline {
		margin-block-start: 8px;
		font-size: 32px;
	}

	.vs-gov-hero__lead {
		font-size: 32px;
		line-height: var(--vs-gov-lead-lh, 1.5);
	}

	.vs-gov-highlights {
		margin-block-start: 0;
	}

	/* The design's 387 px cards; the tracks shrink below 1232 px (container 1168) instead of overflowing (R2-12). */
	.vs-gov-highlights__list {
		grid-template-columns: repeat(3, minmax(0, 387px));
		justify-content: center;
		gap: 20px;
	}

	/* Fewer cards stay centred at the design's card width. */
	.vs-gov-highlights__list--2 {
		grid-template-columns: repeat(2, minmax(0, 387px));
	}

	.vs-gov-highlights__list--1 {
		grid-template-columns: minmax(0, 387px);
	}

	.vs-gov-hl__text {
		margin-block: 26px 24px;
	}

	/* S3 */
	.vs-tabs__list {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 16px;
		margin: 48px 0 0;
		padding: 0;
		overflow: visible;
	}

	.vs-tabs__tab {
		padding: 10px 14px;
		font-size: 16px;
	}

	.vs-tabs__panel {
		min-height: 321px;
		padding-block-start: 48px;
	}

	.vs-tab-icon--xl {
		width: 200px;
		height: 200px;
	}

	.vs-tab-icon--md {
		width: 100px;
		height: 100px;
	}

	.vs-panel__value,
	.vs-panel__heading {
		font-size: 48px;
	}

	.vs-panel__statement {
		font-size: 32px;
		max-width: 520px;
	}

	.vs-panel__lead,
	.vs-fact__source,
	.vs-panel__text,
	.vs-panel__paragraph {
		font-size: 24px;
	}

	.vs-panel__split {
		justify-content: center;
		gap: 120px;
	}

	.vs-panel__body {
		max-width: 520px;
	}

	.vs-panel__features {
		display: flex;
		justify-content: center;
		gap: 48px;
	}

	.vs-feature {
		width: 240px;
	}

	.vs-feature__title {
		font-size: 24px;
	}

	.vs-feature__text,
	.vs-feature__lines {
		font-size: 16px;
	}

	.vs-counter__number {
		font-size: 80px;
	}

	.vs-counter__label {
		font-size: 24px;
	}

	.vs-panel__counters {
		gap: 120px;
	}

	/* S5: staggered profiles, the middle one inverted and 120 px higher. */
	.vs-people {
		grid-template-columns: repeat(3, minmax(0, 387px));
		justify-content: space-between;
		gap: 20px;
		margin-block-start: 48px;
	}

	.vs-people--2 {
		grid-template-columns: repeat(2, minmax(0, 387px));
	}

	.vs-people--1 {
		grid-template-columns: minmax(0, 387px);
		justify-content: center;
	}

	.vs-people--3 .vs-person:not(:nth-child(2)) {
		margin-block-start: 120px;
	}

	.vs-people--3 .vs-person:nth-child(2) .vs-person__info {
		order: -1;
		justify-content: end;
		padding: 24px 20px 51px;
		border-radius: 200px 200px 0 0;
		align-content: end;
	}

	.vs-people--3 .vs-person:nth-child(2) .vs-person__photo {
		border-radius: 0 0 200px 200px;
	}

	/* S6 */
	.vs-gov-character__inner {
		grid-template-columns: minmax(0, 521px) minmax(0, 590px); /* The mosaic narrows below 1232 px (R2-12). */
		justify-content: space-between;
		gap: 89px;
	}

	.vs-gov-character--text .vs-gov-character__inner {
		grid-template-columns: minmax(0, 760px);
	}

	.vs-gov-title--48 {
		font-size: 48px;
	}

	.vs-gov-character__body {
		margin-block-start: 32px;
		font-size: 20px;
	}

	.vs-mosaic {
		gap: 20px;
	}

	.vs-mosaic__item:nth-child(1),
	.vs-mosaic__item:nth-child(4) {
		border-radius: 100px 0 100px 0;
	}

	.vs-mosaic__item:nth-child(2),
	.vs-mosaic__item:nth-child(3) {
		border-radius: 0 100px 0 100px;
	}

	/* The design title (≈ 570 px) runs past the 521 px column into the gap on one line; a longer title wraps
	   at least 16 px before the photos instead of running onto them (P03-FE-5). */
	.vs-gov-character .vs-gov-title {
		width: max-content;
		max-width: calc(100% + 89px - 16px);
	}

	/* S7: photo, card, photo; the photos sit 122 px lower. */
	.vs-cuisine {
		grid-template-columns: repeat(3, minmax(0, 386px));
		justify-content: space-between;
		align-items: start;
		margin-block-start: 48px;
	}

	.vs-cuisine__card {
		grid-column: auto;
		grid-row: auto;
		order: 0;
		min-height: 579px;
		padding: 157px 24px 24px;
		gap: 40px;
	}

	.vs-cuisine__photo {
		margin-block-start: 122px;
	}

	.vs-cuisine__photo--end {
		order: 1;
	}

	.vs-cuisine__kicker {
		font-size: 20px;
	}

	.vs-cuisine__heading {
		font-size: 32px;
	}

	.vs-cuisine__dishes {
		margin: 0;
		gap: 24px;
	}

	/* S8: five positions on the dashed curve (770:8405, 1200 × 590). */
	.vs-gov-itinerary {
		min-height: 767px;
		padding-block: 88px 0;
	}

	/* The first stop's pin sits 23 px past the box (right −14 px, turned 45°), more than the 16 px gutter below
	   1264 px: the box keeps 16 px more on each side there, shrinking to none as the gutter grows (DAR-FE-12). */
	.vs-itinerary {
		height: 640px; /* 590 in the design; room for the transport lines added to each stop (G12). */
		margin-block-start: 0;
		margin-inline: clamp(0px, 640px - 50vw, 16px);
	}

	/* Horizontal positions scale with the box: design x (0–1080 for a 120 px stop in the 1200 frame) maps to
	   0 – (width − 120), so the stops stay inside a 1168 px container (R2-12) and are unchanged at 1200. */
	.vs-itinerary__curve {
		position: absolute;
		top: 184px;
		left: calc(60px + (100% - 120px) * 60.5 / 1080);
		display: block;
		width: calc((100% - 120px) * 997.5 / 1080);
		height: auto;
	}

	.vs-itinerary__stops {
		display: block;
		height: 100%;
	}

	.vs-stop,
	.vs-stop:nth-child(even) {
		position: absolute;
		left: calc((100% - 120px) * var(--vs-stop-x, 0) / 1080);
		display: block;
		width: 120px;
		text-align: start;
	}

	.vs-stop__photo {
		width: 120px;
		height: 120px;
		padding: 5px;
	}

	.vs-stop__pin {
		inset-block-end: -10px;
		inset-inline-start: auto;
		right: -14px; /* Lower right of the photo, as drawn (770:8410). */
		width: 44px;
		height: 44px;
	}

	.vs-stop__body {
		position: absolute;
		inset-block-start: 144px;
		inset-inline-start: 0;
		width: 180px;
	}

	.vs-stop:nth-child(even) .vs-stop__place {
		justify-content: flex-start;
	}

	/* Physical positions from the frame (left x, top y). Stop 1 is the rightmost. */
	.vs-itinerary--5 .vs-stop--1 { --vs-stop-x: 1080; top: 289px; }
	.vs-itinerary--5 .vs-stop--2 { --vs-stop-x: 832; top: 138px; }
	.vs-itinerary--5 .vs-stop--3 { --vs-stop-x: 577; top: 327px; }
	.vs-itinerary--5 .vs-stop--4 { --vs-stop-x: 327; top: 138px; }
	.vs-itinerary--5 .vs-stop--5 { --vs-stop-x: 61; top: 289px; }

	.vs-itinerary--4 .vs-stop--1 { --vs-stop-x: 1080; top: 289px; }
	.vs-itinerary--4 .vs-stop--2 { --vs-stop-x: 750; top: 138px; }
	.vs-itinerary--4 .vs-stop--3 { --vs-stop-x: 420; top: 327px; }
	.vs-itinerary--4 .vs-stop--4 { --vs-stop-x: 61; top: 289px; }

	/* Three stops have no raised stop to fill the band under the title (the frame draws five), so the band, the
	   curve and the stops move up by the 151 px a raised stop takes (289 → 138; DEZ-FE-6, QUN-FE-14, RAQ-FE-10). */
	.vs-gov-itinerary:has(.vs-itinerary--3) { min-height: 616px; }
	.vs-itinerary--3 { height: 489px; }
	.vs-itinerary--3 .vs-itinerary__curve { top: 33px; }
	.vs-itinerary--3 .vs-stop--1 { --vs-stop-x: 1080; top: 138px; }
	.vs-itinerary--3 .vs-stop--2 { --vs-stop-x: 577; top: 176px; } /* The design's middle (lowest) stop, clear of the curve. */
	.vs-itinerary--3 .vs-stop--3 { --vs-stop-x: 61; top: 138px; }

	.vs-itinerary--5 .vs-stop .vs-stop__body,
	.vs-itinerary--4 .vs-stop .vs-stop__body,
	.vs-itinerary--3 .vs-stop .vs-stop__body {
		inset-inline-start: 0;
	}

	/* S9 / S12 */
	.vs-gov-places .vs-place-card {
		width: 387px;
	}

	.vs-gov-places .vs-place-card__title {
		font-size: 24px;
	}

	/* Four static cards on desktop (the carousel only scrolls below 1024 px). */
	.vs-gov-treasures__track {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
		width: var(--vs-container);
		margin-inline: auto;
		padding: 8px 0;
		overflow: visible;
	}

	.vs-gov-treasures .vs-gov-card {
		width: auto;
	}

	.vs-gov-treasures .vs-gov-card__box {
		height: auto;
		aspect-ratio: 289 / 474;
		border-radius: 50% 50% 0 0 / 30.5% 30.5% 0 0;
	}
}

/* 1024–1199 (UX-SW-10): the hero body scales with the mask (818 px at 1440) instead of leaving its fixed height
   empty under the smaller mask, with a smaller lead; the S3 tab row wraps onto a second, centred line. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.vs-gov-hero {
		min-height: calc(var(--vs-gov-body, 818) * 100vw / 1440);
		padding-block-end: 32px;
	}

	.vs-gov-hero__lead {
		font-size: 24px; /* 32 px from 1200; the narrower text column beside the mask would run to 7 lines. */
	}

	.vs-tabs__list {
		justify-content: center;
	}
}

/* S4 landmark slider from 1200 px: the 789 px stage holds the five 120 px thumbnails, and governorate.js makes the
   dots pointer-only from 1200 px (below it they are the keyboard control). */
@media (min-width: 1200px) {
	/* S4: text column 389 at the start (right), image 789 beside it. */
	.vs-slider {
		display: grid;
		grid-template-columns: minmax(0, 389px) minmax(0, 789px); /* Shrinks the image below 1232 px instead of overflowing. */
		justify-content: space-between;
		align-items: stretch;
		gap: 22px;
		margin-block-start: 48px;
	}

	/* Template band behind S4 (Hama 605:26280: 1440 × 491, 60 px below the section top). */
	.vs-gov-landmarks--band {
		position: relative;
	}

	.vs-gov-landmarks--band::before {
		content: "";
		position: absolute;
		inset-block-start: var(--vs-gov-s4-band-top, 60px);
		left: 50%;
		z-index: -1;
		width: 100vw;
		height: var(--vs-gov-s4-band-h, 491px);
		transform: translateX(-50%);
		background: var(--vs-gov-s4-band) center top / auto 100% repeat-x;
		pointer-events: none;
	}

	.vs-slider__text {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		flex-direction: column;
	}

	.vs-slider__stage {
		grid-column: 2;
		grid-row: 1;
	}

	.vs-slider__media {
		aspect-ratio: 789 / 511;
	}

	.vs-slider__name {
		font-size: 32px;
	}

	.vs-slider__description {
		margin-block-start: 24px;
		font-size: 20px;
		-webkit-line-clamp: 13; /* The longest design description (Hama, 12–13 lines at 1440) fits above the indicators. */
	}

	.vs-slider__more {
		margin-block-start: 24px;
	}

	.vs-slider__dots {
		margin-block-start: auto;
		justify-content: flex-start; /* At the start (right) of the text column, as drawn (770:7026). */
	}

	.vs-slider__dot {
		width: 29px;
	}

	.vs-slider__dot[aria-current="true"] {
		width: 81px;
	}

	.vs-slider__dot::before {
		display: none;
	}

	.vs-slider.is-ready .vs-slider__thumbs {
		position: absolute;
		inset-block-end: 17px;
		inset-inline-start: 16px; /* From the right edge, the active first slide at the start (770:7001). */
		display: flex;
		gap: 21px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.vs-slider__thumb {
		width: 120px;
		height: 111px;
		padding: 0;
		overflow: hidden;
		border: 0; /* Inactive thumbnails fill the whole 120 × 111 box (deferred §8 minor). */
		border-radius: var(--wp--custom--radius-md);
		background: transparent;
		cursor: pointer;
	}

	.vs-slider__thumb[aria-current="true"] {
		border: 5px solid var(--vs-primary); /* G17 B (design #FFF2EC disappears on bright photos). */
	}

	.vs-slider__thumb img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: 11px;
		object-fit: cover;
	}

	.vs-slider.is-ready .vs-slider__next {
		position: absolute;
		top: 50%;
		left: -23px;
		display: grid;
		place-items: center;
		width: 56px;
		height: 56px;
		padding: 4px;
		border: 0;
		border-radius: 50%;
		background: var(--wp--preset--color--bg-alt);
		transform: translateY(-50%);
		cursor: pointer;
	}

	.vs-slider__next span {
		display: grid;
		place-items: center;
		width: 47px;
		height: 47px;
		border-radius: 50%;
		background: var(--vs-primary);
		color: var(--vs-surface);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-gov-hl__photo img {
		transition: none;
	}

	.vs-gov-hl:hover .vs-gov-hl__photo img {
		transform: none;
	}
}

/* Narrow desktop (1024–1339): the scaled mask reaches further into the text column, so the hero text narrows to
   stay beside it; the slider keeps room for its overhanging arrow (P03-08 §3, P03-00 §3). */
@media (min-width: 1024px) and (max-width: 1339px) {
	.vs-gov-hero__lead {
		max-width: min(calc(var(--vs-gov-lead-w, 464) * 1px), calc(100vw - max(16px, (100vw - 1200px) / 2) - (var(--vs-gov-x) + var(--vs-gov-w)) / 1440 * 100vw - 16px));
	}
}

/* A centred 260 px popup on an outer stop reaches 70 px past the container; it needs 70 + 16 px beside it
   (from 1372 px). Below that it opens inwards, aligned with its stop's outer edge (SH-FE-6). */
@media (min-width: 1200px) and (max-width: 1371px) {
	.vs-stop--1 .vs-stop__popup {
		inset-inline-start: 0;
		transform: none;
	}

	.vs-stop:last-child .vs-stop__popup {
		inset-inline-start: auto;
		inset-inline-end: 0;
		transform: none;
	}
}

@media (min-width: 1200px) and (max-width: 1263px) {
	.vs-slider {
		padding-inline-end: 24px;
	}
}

/* ==========================================================================
   Review round 3 — b3: the «more» section (R3-D6; PM-1b, PM-11): activities and
   shopping on the S9 place-card carousel (no extra rules), then the suggest prompt.
   ========================================================================== */

.vs-gov-suggest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	margin-block-start: 64px;
	padding: 24px;
	border-radius: var(--wp--custom--radius-lg);
	background: var(--wp--preset--color--bg-alt);
	text-align: center;
}

.vs-gov-suggest__text {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

/* Owner decision #1 (2026-11-17, I12): for a visitor, the line naming the empty shelves opens the box, on its own row. */
.vs-gov-suggest__missing {
	flex: 1 0 100%;
	max-width: 46em;
	margin: 0 auto;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.6;
}

/* Persona retest L7 (2026-11-17): the owners' line under the visitors' call, on its own row. */
.vs-gov-suggest__owner {
	flex: 1 0 100%;
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.8;
}

/* Review FE-01 (2026-11-17): «اقترح مطعماً» and «اقترح فندقاً» are 44 px targets, as .vs-404__owner (home.css); the
   negative margins keep the line's rhythm. */
.vs-gov-suggest__owner-link {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	min-inline-size: 44px;
	margin-block: -10px;
	vertical-align: middle;
	color: var(--vs-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.vs-gov-suggest {
		margin-block-start: 120px;
		padding: 32px 48px;
	}

	.vs-gov-suggest__text {
		font-size: 24px;
	}

	.vs-gov-suggest__missing {
		font-size: 18px;
	}
}

/* ==========================================================================
   Phase 2 batch 5 — template-specific rules (P03-02 Rif Damascus, P03-09 Daraa, P03-10 Sweida).
   ========================================================================== */

/* Rif Damascus and Sweida S7 titles are Bold 54 (617:47089, 617:50472), not the shared 48. */
@media (min-width: 1024px) {
	.vs-gov--rif-damascus .vs-gov-cuisine .vs-gov-title,
	.vs-gov--sweida .vs-gov-cuisine .vs-gov-title {
		font-size: 54px;
	}
}

/* ==========================================================================
   Phase 2 batch 6 — template-specific rules (P03-11 Quneitra, P03-12 Deir ez-Zor, P03-13 Raqqa).
   ========================================================================== */

/* Quneitra, Deir ez-Zor and Raqqa S7 titles are Bold 54 (617:52146, 617:45360, 617:48800), not the shared 48. */
@media (min-width: 1024px) {
	.vs-gov--quneitra .vs-gov-cuisine .vs-gov-title,
	.vs-gov--deir-ezzor .vs-gov-cuisine .vs-gov-title,
	.vs-gov--raqqa .vs-gov-cuisine .vs-gov-title {
		font-size: 54px;
	}

	/* The Quneitra S7 heading takes three lines; its frame starts the card text higher (kicker ≈ 105 px below
	   the arch top, 617:52153), so the card stays flush with the photos (QUN-FE-5). */
	.vs-gov--quneitra .vs-cuisine__card {
		padding-block-start: 110px;
	}
}

/* Narrower columns at 1024–1279 add chip rows: tighter gaps keep the Quneitra card's overhang within the
   accepted pages' tablet range (QUN-FE-5). */
@media (min-width: 1024px) and (max-width: 1279px) {
	.vs-gov--quneitra .vs-cuisine__card {
		gap: 24px;
	}
}

/* ==========================================================================
   Phase 2 batch 6 review — shared rules (P2B6 reviews, all governorates).
   ========================================================================== */

/* Archive photo label «صورة أرشيفية» (DEZ-FE-1; base style in main.css). The S2 circle and the S6 petals have
   round corners, so it is centred at the bottom; the S4 slide keeps the bottom for the thumbnails, so it is in
   the top corner (as in the S8 popup); small images (S4 thumbnails, S8 stops) get a smaller label; the hero
   places it inside the feather from 1024 px (tag_e / tag_b: % of the mask box, template parameters). */
.vs-gov-hl__photo .vs-archive-tag,
.vs-mosaic__item .vs-archive-tag {
	inset-inline-start: 50%;
	transform: translateX(50%);
}

.vs-gov-hl__photo .vs-archive-tag {
	inset-block-end: 16px;
}

.vs-slider__media .vs-archive-tag {
	inset-block: 16px auto;
	inset-inline-start: 16px;
}

.vs-stop__popup .vs-archive-tag {
	inset-block: 20px auto;
	inset-inline-start: 20px;
}

.vs-stop__photo .vs-archive-tag,
.vs-slider__thumb .vs-archive-tag {
	inset-block-end: 6px;
	inset-inline-start: 50%;
	padding: 2px 6px;
	font-size: 10px;
	transform: translateX(50%);
}

@media (min-width: 1024px) {
	.vs-gov-hero__media .vs-archive-tag {
		inset-block-end: calc(var(--vs-gov-tag-b, 9) * 1%);
		inset-inline-start: calc(var(--vs-gov-tag-e, 18) * 1%);
	}
}

/* S2 names on pale photos (RAQ-FE-1 / RAQ-5, DEZ-FE-11, QUN-FE-11): a soft 50 % dark band behind the centred
   name, over the shared bottom shade, lifts every glyph edge above 4.5:1 on these three pages (measured at 1440
   and 375). Scoped to them so the accepted pages do not change. */
.vs-gov--quneitra .vs-gov-hl__photo::after,
.vs-gov--deir-ezzor .vs-gov-hl__photo::after,
.vs-gov--raqqa .vs-gov-hl__photo::after {
	background:
		radial-gradient(ellipse 70% 22% at 50% 50%, rgba(0, 0, 0, 0.5) 0 55%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ==========================================================================
   S5 name panel (owner request 2026-11-03, Docs/pages/P03-00b-people-and-highlights.md): a person without a
   portrait keeps the arch, filled with the template's S2 card motif (--vs-gov-card-motif, set on the list), with a
   thin gold arch inside it and the name set large in brand green. The motifs are pale beige line patterns: a soft
   veil of the panel colour behind the name keeps every glyph on a near-flat ground (#054239 on #EDEBE0 9.5:1; on the darkest motif lines, about #D6CCB4, 7.1:1).
   Decorative (aria-hidden in people.php); the inverted middle card inherits the flipped radius.
   ========================================================================== */
.vs-person__photo--name {
	display: grid;
	place-items: center;
	padding: 28px 32px;
	background: var(--vs-gov-card-motif, none) center / cover no-repeat, var(--wp--preset--color--bg-alt);
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.12); /* As the info panel: the pale motif needs an edge to read as the arch. */
	isolation: isolate;
}

.vs-person__photo--name::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid var(--vs-gold-soft);
	border-radius: inherit;
	z-index: -1;
}

.vs-person__plate {
	display: grid;
	justify-items: center;
	gap: 12px;
	max-width: 100%;
	padding: 12px 20px;
	border-radius: var(--wp--custom--radius-md);
	background: radial-gradient(closest-side, rgba(237, 235, 224, 0.95) 65%, rgba(237, 235, 224, 0));
	color: var(--vs-primary);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.vs-person__plate::after {
	content: "";
	width: 56px;
	height: 2px;
	border-radius: 1px;
	background: var(--vs-gold);
}

/* The arch is drawn from the top (or, on the inverted middle card, from the bottom): the name sits a little
   towards the open side so it stays clear of the curve. */
.vs-person__photo--name .vs-person__plate {
	margin-block-start: 24px;
}

@media (min-width: 768px) {
	.vs-person__plate {
		font-size: 34px;
	}
}

@media (min-width: 1024px) {
	.vs-person__plate {
		font-size: 36px;
	}

	.vs-people--3 .vs-person:nth-child(2) .vs-person__photo--name .vs-person__plate {
		margin-block: 0 24px;
	}
}

/* ==========================================================================
   S5 review fixes (2026-11-03, Docs/reviews/phase2-batch6/P2B6-PEOPLE-FE.md):
   - PPL-FE-3: the name panel shows the life years under the gold rule (Medium 16), so it does not just repeat the
     heading below it; the plate stays aria-hidden.
   - PPL-FE-4: from 768 to 1023 px a third card no longer sits alone on one side of the two-column grid: it spans the
     row and is centred. Lists of one or two cards and all other widths are unchanged.
   ========================================================================== */
.vs-person__plate-name {
	order: 0;
}

.vs-person__plate::after {
	order: 1;
}

.vs-person__years {
	order: 2;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
	.vs-people--3 .vs-person:nth-child(3) {
		grid-column: 1 / -1;
		justify-self: center;
	}
}

/* ==========================================================================
   Phase 2 batch 7 — template-specific rules (P03-14 Hasaka).
   ========================================================================== */

/* The Hasaka S7 title is Bold 54 (617:43625), not the shared 48. */
@media (min-width: 1024px) {
	.vs-gov--hasaka .vs-gov-cuisine .vs-gov-title {
		font-size: 54px;
	}
}

/* S2 names on pale mud-brick and sky photos: the batch-6 soft dark band behind the centred white name, scoped to
   Hasaka as it is to the three batch-6 pages (RAQ-FE-1), so the accepted pages do not change. */
.vs-gov--hasaka .vs-gov-hl__photo::after {
	background:
		radial-gradient(ellipse 70% 22% at 50% 50%, rgba(0, 0, 0, 0.5) 0 55%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* Section links in the hero, under its text (committee P1 item 12; reviews P1B-FE-2/3/4/13): the label on its own
   line, then one row of links. On phones the row scrolls to the screen edges, as the S3 tabs do; from 768 px it
   wraps. Jump targets use the page's scroll padding (motion.css), so no extra margin here. */

.vs-gov-jump {
	position: relative;
	z-index: 1; /* Above the hero art, which overlaps the text block on phones. */
	margin-block-start: 24px;
}

.vs-gov-jump__label {
	margin: 0 0 8px;
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 700;
}

.vs-gov-jump__list {
	display: flex;
	gap: 8px;
	margin: 0 -16px;
	padding: 4px 16px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.vs-gov-jump__list::-webkit-scrollbar {
	display: none;
}

.vs-gov-jump__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px; /* The site's target size (persona fix round 9, R2-P2-S3-04; was 40 px). */
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--vs-gold) 70%, transparent);
	border-radius: 99px;
	background: var(--vs-surface);
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
}

/* Review FE-05 (2026-11-17): the one chip that leaves the page («صور درعا») carries the site's onward arrow. */
.vs-gov-jump__link--away {
	gap: 6px;
}

.vs-gov-jump__link--away .vs-icon {
	width: 18px;
	height: 18px;
}

.vs-gov-jump__link:hover {
	background: color-mix(in srgb, var(--vs-gold-soft) 40%, var(--vs-surface));
}

@media (min-width: 768px) {
	.vs-gov-jump__list {
		flex-wrap: wrap;
		margin: 0;
		padding: 4px 2px;
		overflow: visible;
	}
}

/* Desktop: the links stay in the text column, beside the hero art (as the lead text does at 1024–1339). */
@media (min-width: 1024px) {
	.vs-gov-jump {
		max-width: min(640px, calc(100vw - max(16px, (100vw - 1200px) / 2) - (var(--vs-gov-x) + var(--vs-gov-w)) / 1440 * min(100vw, 1440px) - 16px));
	}
}

/* Persona round 2 (R2-P03-R1-04): «صحّح معلومة» and «كيف نُعِدّ المعلومات» at the end of the page (base style in
   main.css .vs-record-trust) get a 44 px target like the guides' links (was about 20 px), same look. */
.vs-gov-trust .vs-record-trust {
	row-gap: 0;
}

.vs-gov-trust .vs-record-trust a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
}

/* Persona fix round 9 (R2-P06-R2-03): the ways on. «جميع الوجهات في …» and «صور …» under the highlights (the site's
   arrow links, 44 px targets), and «خطّط لزيارتك» after the overview with the destination row's pill links
   (travel-tools.css .vs-plan-links, which governorate pages do not load). */
.vs-gov-onward__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 16px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.vs-gov-onward .vs-link-arrow,
.vs-panel__guide .vs-link-arrow {
	min-block-size: 44px;
	padding-inline: 4px;
}

.vs-panel__guide {
	margin: 8px 0 0;
	text-align: center;
}

/* Persona fix round 9 (C5FE9-02): the row's name is a navigation label, not a section heading, so it takes a label's look
   (the bold small text of «في هذه الصفحة», .vs-gov-jump__label), not the 24/48 px of the page's h2 titles. */
.vs-gov-plan__title {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-gov-plan .vs-plan-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vs-gov-plan .vs-plan-links__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 99px;
	box-shadow: inset 0 0 0 1.5px var(--vs-primary);
	color: var(--vs-primary);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.vs-gov-plan .vs-plan-links__link:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 1.5px var(--vs-primary), var(--vs-focus);
}

@media (hover: hover) {
	.vs-gov-plan .vs-plan-links__link:hover {
		background: color-mix(in srgb, var(--vs-primary) 8%, var(--vs-bg));
	}
}

@media (forced-colors: active) {
	.vs-gov-plan .vs-plan-links__link {
		outline: 1px solid CanvasText;
		outline-offset: -1px;
	}
}

@media (min-width: 1024px) {
	.vs-gov-plan {
		margin-block-start: 96px; /* A short row: not the 200 px of a full section. */
	}

	.vs-gov-plan .vs-plan-links {
		margin-block-start: 16px;
	}
}

/* Persona fix round 9 (R2-P06-R2-01): the page's check date and source above «صحّح معلومة». */
.vs-gov-trust .vs-gov-evidence {
	margin-block-end: 0;
}

/* Persona fix round 9 (R2-P06-R2-04): a row that scrolls sideways (the overview tabs, «في هذه الصفحة») fades out at the
   side where more is hidden, so a tab beyond the screen edge is not taken for missing. governorate.js sets the classes
   only while the row really overflows. RTL: the inline end is the left. */
.vs-tabs__list.is-more-end,
.vs-gov-jump__list.is-more-end {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px);
	mask-image: linear-gradient(to right, transparent 0, #000 48px);
}

.vs-tabs__list.is-more-start,
.vs-gov-jump__list.is-more-start {
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 48px);
	mask-image: linear-gradient(to left, transparent 0, #000 48px);
}

.vs-tabs__list.is-more-start.is-more-end,
.vs-gov-jump__list.is-more-start.is-more-end {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

@media (forced-colors: active) {
	.vs-tabs__list,
	.vs-gov-jump__list {
		-webkit-mask-image: none !important;
		mask-image: none !important;
	}
}

/* visitsyria-destination: assets/css/destination.css */
/*
 * Destination page (Docs/pages/P06-destination.md). Mobile first (827:39094); desktop from 1024 px (UX-SW-10) (383:517).
 * Uses the governorate section primitives (governorate.css) and the shared carousel. Colour decisions
 * (Q7 B): S3 text on a scrim, S2 body text Secondary #5D585F.
 */

.vs-dest {
	overflow-x: clip;
}

.vs-dest-title {
	font-weight: 800;
	line-height: 1.5;
}

.vs-dest-intro {
	max-width: 760px;
}

/* S1 hero */

.vs-dest-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* The gallery row scrolls inside the column instead of widening it. */
	align-content: end;
	gap: 24px;
	min-height: 470px;
	padding-block: calc(140px + var(--wp-admin--admin-bar--height, 0px)) 32px;
	overflow: hidden;
	border-radius: 0 0 48px 48px;
	color: var(--vs-bg);
	isolation: isolate;
}

.vs-dest-hero__media,
.vs-dest-hero__media img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-dest-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.72) 100%);
}

.vs-dest-hero__title {
	margin: 0;
	color: var(--vs-bg);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	text-wrap: balance;
}

.vs-dest-hero__summary {
	max-width: 720px;
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.5;
}

.vs-dest-gallery {
	position: relative;
	min-width: 0;
}

.vs-dest-gallery__track {
	gap: 12px;
}

.vs-dest-gallery__item {
	width: 150px;
}

.vs-dest-gallery__item figure,
.vs-dest-gallery__frame { /* A decorative photo's frame, without a figure (persona fix round 9, R2-P07-R2-S1-03). */
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 8px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.vs-dest-gallery__item figcaption {
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.vs-dest-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 253 / 178;
	border-radius: 16px;
	object-fit: cover;
}

/* Persona fixes C (2026-11-17, R3-P11-S3-03): the photo is a button that opens the gallery lightbox (gallery.js); it
   looks exactly as the photo did, with a zoom cursor and a light focus ring on the dark hero. */
.vs-dest-gallery__zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: none;
	color: inherit;
	cursor: zoom-in;
}

.vs-dest-gallery__zoom:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.vs-dest-gallery__zoom img {
		transition: filter var(--vs-dur-fade-hover) var(--vs-ease-std);
	}

	.vs-dest-gallery__zoom:hover img {
		filter: brightness(var(--vs-hover-dim));
	}
}

.vs-dest-gallery .vs-carousel__controls {
	position: absolute;
	inset-block-start: 50%;
	inset-inline: 16px;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
}

.vs-dest-gallery .vs-arrow {
	pointer-events: auto;
}

/* S2 visit details */

.vs-dest-visit__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.vs-dest-card {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 8px;
	padding: 16px 12px 20px;
	border-radius: 24px;
	background: var(--wp--preset--color--bg-alt);
	text-align: center;
}

.vs-dest-card--wide {
	grid-column: 1 / -1;
}

.vs-dest-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--vs-bg);
	color: var(--vs-primary);
}

.vs-dest-card__icon .vs-icon {
	width: 28px;
	height: 28px;
}

.vs-dest-card__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-dest-card__text,
.vs-dest-card__lines {
	margin: 0;
	color: var(--vs-secondary-text); /* Q7 B: #5D585F on #E3DDCB. */
	font-size: 14px;
	line-height: 1.4;
}

.vs-dest-card__lines {
	padding-inline-start: 1.1em;
	text-align: start;
}

.vs-dest-card__lines strong {
	color: var(--vs-primary-text);
}

.vs-dest-visit__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
}

.vs-dest-visit__updated {
	margin: 16px 0 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

/* S3 things to do: arch cards */

.vs-dest-todo__track {
	gap: 16px;
}

.vs-todo-card {
	width: 260px;
	padding: 16px 16px 0;
	border-radius: 999px 999px 0 0;
	background: var(--wp--preset--color--bg-alt);
}

.vs-todo-card__arch {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 340px;
	overflow: hidden;
	border-radius: 999px 999px 0 0;
	color: var(--vs-bg);
	isolation: isolate;
}

.vs-todo-card__arch img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-todo-card__arch::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 45%); /* Q7 B */
}

.vs-todo-card__body {
	display: grid;
	gap: 8px;
	padding: 16px 16px 24px;
}

.vs-todo-card__title {
	margin: 0;
	color: var(--vs-bg);
	font-size: 18px;
	font-weight: 700;
}

.vs-todo-card__title a {
	color: inherit;
	text-decoration: none;
}

/* Gold divider under the title (403:2520: 229 px, fading at both ends, 15 px from the title and the text). */
.vs-todo-card__title::after {
	content: "";
	display: block;
	width: min(229px, 76%);
	height: 1px;
	margin: 15px auto 7px;
	background: linear-gradient(90deg, transparent, var(--vs-gold), transparent);
}

.vs-todo-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* A linked card shows that it opens (P06-FE-5): an arrow after the title, and the photo zooms on hover. */
.vs-todo-card__last {
	white-space: nowrap;
}

.vs-todo-card__arrow {
	width: 0.9em;
	height: 0.9em;
	margin-inline-start: 8px;
	vertical-align: -0.1em;
}

@media (hover: hover) {

	.vs-todo-card__title a:hover {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-todo-card__arch img {
		transition: none;
	}
}

.vs-todo-card__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}

/* S4 quick facts */

.vs-dest-facts {
	position: relative;
}

.vs-dest-facts__art {
	display: none;
}

.vs-dest-facts__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 16px;
	padding: 0;
	list-style: none;
}

.vs-fact-pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 12px 12px 32px;
	border: 6px solid transparent;
	border-radius: 999px;
	background:
		linear-gradient(var(--wp--preset--color--bg-alt), var(--wp--preset--color--bg-alt)) padding-box,
		linear-gradient(180deg, var(--vs-primary), rgba(5, 66, 57, 0)) border-box;
	text-align: center;
}

.vs-fact-pill--below {
	flex-direction: column-reverse;
	padding: 32px 12px 12px;
	background:
		linear-gradient(var(--wp--preset--color--bg-alt), var(--wp--preset--color--bg-alt)) padding-box,
		linear-gradient(0deg, var(--vs-primary), rgba(5, 66, 57, 0)) border-box;
}

.vs-fact-pill__icon {
	display: grid;
	place-items: center;
	width: min(100%, 120px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--vs-surface);
	color: var(--vs-primary);
}

/* Sized from the circle's width, not its height, which is not known yet (P06-FE-1: ovals below 1200 px). */
.vs-fact-pill__icon .vs-icon {
	width: 45%;
	height: auto;
	aspect-ratio: 1;
}

.vs-fact-pill__label {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 18px;
	font-weight: 700;
}

.vs-fact-pill__value {
	display: block;
	margin-block-start: 6px;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 500;
}

/* S5 nearby */

.vs-dest-nearby__track {
	gap: 16px;
}

.vs-near-card {
	position: relative;
	display: grid;
	align-content: start;
	width: 260px;
	padding-block-end: 16px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--vs-surface);
}

.vs-near-card__media {
	position: relative;
}

.vs-near-card__media img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.vs-near-card__label {
	position: absolute;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	padding: 2px 10px;
	border-radius: 99px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.vs-near-card__title {
	margin: 12px 12px 4px;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 700;
}

.vs-near-card__title a {
	color: inherit;
	text-decoration: none;
}

.vs-near-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.vs-dest .vs-section-foot .vs-link-arrow {
	flex: none; /* Label and arrow stay together. */
}

.vs-near-card__text {
	margin: 0 12px;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.vs-dest-visit__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vs-dest-card--wide {
		grid-column: 2 / span 2;
	}

	.vs-dest-facts__list {
		grid-template-columns: repeat(4, minmax(0, 200px));
		justify-content: start;
	}

	.vs-dest-gallery__item {
		width: 220px;
	}
}

@media (min-width: 1024px) {
	.vs-dest-hero {
		min-height: 924px;
		padding-block: calc(268px + var(--wp-admin--admin-bar--height, 0px)) 120px;
		border-radius: 0 0 200px 200px;
		align-content: start;
	}

	.vs-dest-hero__title {
		font-size: 72px;
		line-height: 1.2;
	}

	.vs-dest-hero__summary {
		max-width: 714px;
		font-size: 20px;
	}

	.vs-dest-gallery {
		width: min(1200px, calc(100% - 32px));
		margin-inline: auto;
	}

	.vs-dest-gallery__track {
		justify-content: center;
		gap: 52px;
		padding-inline: min(120px, calc((100% - 959px) / 2)); /* 3 × 285 + 2 × 52 = 959: no overflow at 1200 (P06-FE-3). */
	}

	.vs-dest-gallery__item {
		width: 285px;
	}

	.vs-dest-gallery__item figure {
		gap: 16px;
		padding: 16px;
		border-radius: 32px;
	}

	.vs-dest-gallery__item figcaption {
		font-size: 24px;
	}

	.vs-dest-gallery .vs-carousel__controls {
		inset-inline: 0;
	}

	/* Design: 120 px between sections, not the governorate pages' 200 (P06-FE-2, P28-FE-3). */
	.vs-dest-visit,
	.vs-dest-todo,
	.vs-dest-facts,
	.vs-dest-nearby {
		margin-block-start: 120px;
	}

	.vs-dest-visit__grid {
		gap: 20px;
		margin-block-start: 72px;
	}

	.vs-dest-card {
		min-height: 260px;
		padding: 24px 16px;
		border-radius: 32px;
	}

	.vs-dest-card__icon {
		width: 72px;
		height: 72px;
		border-radius: 16px;
	}

	.vs-dest-card__icon .vs-icon {
		width: 40px;
		height: 40px;
	}

	.vs-dest-card__title {
		font-size: 20px;
	}

	.vs-dest-card__text,
	.vs-dest-card__lines {
		font-size: 16px;
	}

	.vs-dest-card--wide {
		grid-column: 2 / span 2;
	}

	.vs-dest-todo__track {
		gap: 20px;
	}

	/* Three cards fit the 1168 px track at 1200 px too (P06-FE-3); 386 px from 1240 px. */
	.vs-todo-card {
		width: min(386px, calc((100% - 40px) / 3));
		padding: 30px 23px 0;
	}

	.vs-todo-card__arch {
		min-height: 450px;
	}

	.vs-todo-card__title {
		font-size: 24px;
	}

	.vs-todo-card__text {
		font-size: 16px;
	}

	.vs-dest-facts__art {
		position: absolute;
		inset-block-start: 110px;
		left: 0;
		z-index: -1;
		display: block;
		width: 500px;
		-webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
		mask-image: linear-gradient(90deg, #000 60%, transparent);
		opacity: 0.6;
	}

	.vs-dest-facts__art img {
		display: block;
		width: 100%;
		height: auto;
	}

	.vs-dest-facts__list {
		gap: 20px;
		margin-block-start: 120px;
	}

	.vs-fact-pill {
		min-height: 372px;
		padding: 10px 10px 40px;
	}

	.vs-fact-pill--below {
		padding: 40px 10px 10px;
	}

	.vs-fact-pill__icon {
		width: 168px;
	}

	.vs-fact-pill__label {
		font-size: 24px;
	}

	.vs-fact-pill__value {
		font-size: 20px;
	}

	/* Four cards fit the 1168 px track at 1200 px too (P06-FE-3); 285 px from 1232 px. */
	.vs-near-card {
		width: min(285px, calc((100% - 60px) / 4));
	}

	.vs-near-card__media img {
		height: 212px;
	}
}

/* «عن المكان» / «عن النشاط» (user request, 2026-11-02): readable text column after the hero. */
.vs-about-place__inner {
	display: grid;
	gap: 20px;
}

.vs-about-place__text {
	max-width: 820px;
}

.vs-about-place__text p {
	margin: 0 0 16px;
	color: var(--vs-dark-text, #161616);
	font-size: 17px;
	line-height: 1.9;
}

.vs-about-place__text p:last-child {
	margin-block-end: 0;
}

/* Owner 2026-11-18 (legacy import review F-14): «اقرأ المقالة كاملة» in the text column, with the text's line height and a
   44 px target. */
.vs-about-place__more {
	max-width: 820px;
	margin: 0;
	line-height: 1.9;
}

.vs-about-place__more .vs-link-arrow {
	min-block-size: 44px;
	padding-inline: 0;
	line-height: 1.6;
}

.vs-about-place__source {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-about-place__source a {
	color: var(--vs-primary);
}

/* Persona fix round 9 (C5FE9-04): «صحّح معلومة» after «لم نوثّق مصدر هذا النص بعد.» gets the 44 px target of the same
   link under the visit details (.vs-record-trust a, R2-P03-R1-04), not an 80 × 14 px one. */
.vs-about-place__source--none a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
}

.vs-about-place .vs-staff-note {
	max-width: 820px;
	margin: 0;
	padding: 8px 12px;
	border: 1px dashed var(--wp--custom--accent-strong);
	border-radius: var(--wp--custom--radius-sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--custom--accent-strong);
	font-size: 14px;
	font-weight: 700;
}

@media (min-width: 1024px) {
	.vs-about-place__text p {
		font-size: 18px;
	}
}

/* «صورة أرشيفية» (DEZ-FE-1, base style in main.css): under the hero text, since the hero photo lies below the
   dark layer; inside the gallery photos, clear of their round corners. */
.vs-dest-hero__text .vs-archive-tag {
	position: static;
	display: inline-block;
	margin-block-start: 16px;
}

.vs-dest-gallery__item .vs-archive-tag {
	inset-block-end: 16px;
	inset-inline-start: 16px;
}

@media (min-width: 1024px) {
	.vs-dest-hero__text .vs-archive-tag {
		font-size: 14px;
	}

	.vs-dest-gallery__item .vs-archive-tag {
		inset-block-end: 28px;
		inset-inline-start: 28px;
	}
}

/* «صحّح معلومة» and «كيف نُعِدّ المعلومات» (was «كيف نتحقق») under the update date (committee P1 item 7, 2026-11-04). */
.vs-record-trust,
.vs-dest-visit__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 8px 0 0;
	font-size: 14px;
}

.vs-record-trust a,
.vs-dest-visit__trust a {
	/* Persona round 2 (R2-P03-R1-04): a 44 px target like the guides' links (was about 20 px), same look. */
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	color: var(--vs-primary-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vs-record-trust,
.vs-dest-visit__trust {
	row-gap: 0;
}

/* Records without a visit or contact section (P1A-FE-14). */
.vs-rest-trust {
	padding-block: 0 48px;
}

/* Photo credit a free licence requires (audit UX-12, 2026-11-07): small, under the hero text on the dark layer,
   and under each gallery photo. */
.vs-photo-credit {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.85;
}

.vs-photo-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* FR1-FE-04 (2026-11-07): the gallery sits on the dark hero, so its credit keeps the hero's light text (the muted grey
   read about 1.6:1 there); a line of its own in the photo's figcaption, at the credit's size (FR1-FE-11). */
.vs-dest-gallery__item .vs-photo-credit {
	display: block;
	margin: 4px 0 0;
	color: inherit;
	font-size: 12px;
	font-weight: 400;
	opacity: 0.9;
}

/* Persona fix round 9 (R2P04-S4-02): «لا نجمع تقييمات لأماكن العبادة» in the reviews slot of a place of worship. */
.vs-reviews-note {
	margin: 0; /* Under the section's heading (C5FE9-05); was a loose line with its own top margin. */
	color: var(--vs-secondary-text);
	font-size: 15px;
	line-height: 1.6;
}

/* visitsyria-travel-tools: assets/css/travel-tools.css */
/*
 * Practical tools (benchmark 2026-11-17; Docs/pages/GUIDE-TOOLS.md): the help card and the tools row under each
 * practical guide (parts/guides/help.php, tools.php), the checklist and «آخر ما تحقّقنا منه» on /guides/
 * (parts/guides/checklist.php, recent.php), and «خطّط لزيارتك» on destinations (parts/destination/plan.php).
 * Loaded only there (visitsyria-core includes/travel-tools.php), after the page's own files. The theme's tokens and
 * components (main.css .vs-btn, guides.css rows, destination section titles); mobile first, desktop from 1024 px.
 * Every control is at least 44 px tall. The print rules at the end make «اطبع ورقة الطوارئ» print the card alone.
 */

/* Help card under a guide (inside .vs-plain__content, after the sources) */

.vs-help-card {
	display: grid;
	gap: 12px;
	margin-block-start: 48px;
	padding: 20px 16px;
	border: 1.5px solid var(--vs-primary);
	border-radius: 20px;
	background: var(--vs-surface);
}

.vs-plain__content .vs-help-card__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 22px;
	line-height: 1.4;
}

.vs-help-card__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-help-card__call {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 8px 16px;
	border-radius: 14px;
	background: var(--wp--preset--color--bg-alt);
	color: var(--vs-primary-text);
	text-decoration: none;
}

.vs-help-card__call:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-help-card__call:hover {
		background: color-mix(in srgb, var(--vs-primary) 12%, var(--vs-bg));
	}
}

.vs-help-card__label {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-help-card__number {
	color: var(--vs-primary);
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.vs-help-card__source,
.vs-help-card__note {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-help-card__source a {
	/* Persona round 2 (R2-P03-R1-04): a link inside a sentence, with a larger target (was 15 px) that does not make the
	   line taller. Persona fix round C2-FE-01: the extra height is a layer over the link (::after), not block padding,
	   so the focus ring hugs the words; 15 px above (it stops short of the call buttons) and 8 px below (it stops above
	   «آخر تحقق» when the line wraps at 390 px), about 38 px in all. */
	position: relative;
	color: var(--vs-primary-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vs-help-card__source a::after {
	content: "";
	position: absolute;
	inset: -15px 0 -8px;
}

.vs-help-card__print {
	justify-self: start;
	min-height: 44px;
}

.vs-help-card__print[hidden],
.vs-help-card__sheet-head,
.vs-help-card__sheet-write,
.vs-help-card__sheet-links {
	display: none;
}

/* «في هذا الدليل» under a guide's title (persona round 2, R1-P08-03): the pills of the governorate pages' «في هذه الصفحة»
   (governorate.css .vs-gov-jump), wrapping instead of scrolling (long headings), 44 px targets. */
.vs-plain__content .vs-guide-jump {
	margin-block: 16px 32px;
}

.vs-plain__content .vs-guide-jump__label {
	margin: 0 0 8px;
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 700;
}

.vs-plain__content .vs-guide-jump__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-plain__content .vs-guide-jump__list li {
	margin: 0;
}

.vs-plain__content .vs-guide-jump__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--vs-gold) 70%, transparent);
	border-radius: 99px;
	background: var(--vs-surface);
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.vs-plain__content .vs-guide-jump__link:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-plain__content .vs-guide-jump__link:hover {
		background: color-mix(in srgb, var(--vs-gold-soft) 40%, var(--vs-surface));
	}
}

/* The nationality table (/visa-by-nationality/, 82 rows, about 3,300 px; persona round 2, R1-P2-07): its header row
   stays at the top of the screen while the rows scroll under it. The wrapper's inline overflow-x:auto would make it the
   sticky box's scroll container (the header would never stick), so it does not scroll: the tables already fit at
   320 px (their text wraps; the visa table's date column leaves at ≤ 480 px, main.css).
   Persona fix round C2-BE-02: only from 300 px. Narrower (a phone at 125–150 % page zoom) the table can be wider than
   its column, and without the scrolling wrapper its end would be cut off at the left edge (.vs-main clips); there the
   wrapper keeps the shortcode's overflow-x:auto and the header row does not stick.
   Persona fix round C2-FE-02: while the fixed site header shows (scrolling up, motion.js), the header row sits under
   it instead of behind it, as the governorate tabs bar does (governorate-v2.css). */
@media screen and (min-width: 300px) {
	.vs-plain__content .vs-travel-table {
		overflow: visible !important;
	}

	.vs-plain__content .vs-travel-table thead th {
		position: sticky;
		inset-block-start: var(--wp-admin--admin-bar--height, 0px);
		z-index: 1;
		background: var(--vs-bg);
		box-shadow: inset 0 -1px 0 rgba(0, 38, 35, 0.2);
	}

	.vs-scrolled:not(.vs-header-hidden) .vs-plain__content .vs-travel-table thead th {
		inset-block-start: calc(24px + 56px + 8px + var(--wp-admin--admin-bar--height, 0px));
	}

	@media (min-width: 1200px) {
		.vs-scrolled:not(.vs-header-hidden) .vs-plain__content .vs-travel-table thead th {
			inset-block-start: calc(30px + 83px + 8px + var(--wp-admin--admin-bar--height, 0px));
		}
	}

	/* Up to 600 px the admin bar scrolls away (WordPress core) and the fixed header ignores it (motion.css). */
	@media (max-width: 600px) {
		.vs-plain__content .vs-travel-table thead th {
			inset-block-start: 0;
		}

		.vs-scrolled:not(.vs-header-hidden) .vs-plain__content .vs-travel-table thead th {
			inset-block-start: 88px;
		}
	}
}

/* The row follows the header's slide (motion.css: showing 280 ms, hiding 240 ms); at once with reduced motion. */
@media screen and (min-width: 300px) and (prefers-reduced-motion: no-preference) {
	.vs-header-anim .vs-plain__content .vs-travel-table thead th {
		transition: inset-block-start 280ms var(--vs-ease-out);
	}

	.vs-header-anim.vs-header-hidden .vs-plain__content .vs-travel-table thead th {
		transition: inset-block-start 240ms var(--vs-ease-in);
	}
}

/* «ابحث عن جنسيتك» above the visa table (travel-tools.js, persona fix D1US-R2-01): a label, a 48 px search field and a
   polite count; hidden rows leave the table. */
.vs-travel-filter {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
}

.vs-travel-filter__label {
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 600;
}

.vs-travel-filter__input {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* C3-FE-03: 3:1 field edge, as the account forms (UX2-02). */
	border-radius: 12px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px; /* No zoom on focus in iOS Safari. */
}

.vs-travel-filter__input:focus-visible {
	border-color: var(--vs-primary);
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-travel-filter__count {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-travel-table tr[hidden] {
	display: none;
}

@media print {
	.vs-travel-filter {
		display: none;
	}

	.vs-travel-table tr[hidden] {
		display: table-row; /* The printed table is whole, whatever was searched. */
	}
}

/* The guides' source addresses (dir="ltr", one long word each) wrapped instead of pushing the page sideways at 390 px
   (found while checking these pages, 2026-11-17: /what-to-expect/ was 472 px wide, /entry/ 421 px). */
.vs-plain__content .vs-guide__sources a {
	overflow-wrap: anywhere;
}

/* Tools row: «صحّح معلومة» and «خطط رحلتك» */

.vs-guide-tools {
	display: grid;
	gap: 16px;
	margin-block-start: 24px;
}

/* Below 1024 px both items stack the same way, prompt above its button (review FE-GT-04: at 390 one wrapped and one
   did not); from 1024 px each item is one line (desktop block at the end). */
.vs-guide-tools__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px 16px;
}

.vs-guide-tools__text {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.5;
}

.vs-guide-tools__btn {
	min-height: 44px;
	white-space: normal;
}

/* /guides/: the checklist and the dated list, under the guides list */

.vs-guides-section {
	max-width: 820px;
	margin-block-start: 56px;
}

.vs-guides-section__title {
	margin: 0 0 8px;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
}

.vs-guides-section__intro {
	margin: 0 0 20px;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.6;
}

.vs-checklist__progress {
	margin: 0 0 12px;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 700;
}

.vs-checklist__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The label holds the box and spans the row's top: the 24 px box sits centred in a 44 px column of it, so a tap up to
   10 px beside the box still ticks it (review FE-GT-01). Same positions as before: box 16 px from the row's edge,
   text 12 px after it, the link under the text. */
.vs-checklist__item {
	display: grid;
	gap: 4px;
	padding-block-end: 10px;
	border: 1px solid rgba(20, 88, 80, 0.4);
	border-radius: 16px;
	background: var(--vs-surface);
}

.vs-checklist__box {
	justify-self: center;
	width: 24px;
	height: 24px;
	margin: 10px 0 0;
	accent-color: var(--vs-primary);
	cursor: pointer;
}

.vs-checklist__box:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-checklist__label {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: start;
	column-gap: 2px;
	min-height: 44px;
	padding-block-start: 10px;
	padding-inline: 6px 16px;
	color: var(--vs-dark-text);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
	cursor: pointer;
}

.vs-checklist__text {
	display: flex;
	align-items: center;
	min-height: 44px;
}

.vs-checklist__box:checked + .vs-checklist__text {
	color: var(--vs-secondary-text);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.vs-checklist__link {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	min-height: 44px;
	margin-inline: 52px 16px;
	color: var(--vs-primary-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vs-checklist__note {
	margin: 12px 0 0;
	color: var(--vs-secondary-text);
	font-size: 15px;
}

.vs-checklist__reset {
	margin-block-start: 16px;
	min-height: 44px;
}

.vs-checklist__reset[hidden],
.vs-checklist__note[hidden],
.vs-checklist__progress[hidden] {
	display: none;
}

.vs-recent__list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-block-start: 1px solid var(--vs-gold-soft);
}

.vs-recent__item {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 12px;
	padding-block: 12px;
	border-block-end: 1px solid var(--vs-gold-soft);
}

.vs-recent__date {
	color: var(--vs-secondary-text);
	font-size: 15px;
	white-space: nowrap;
}

.vs-recent__kind {
	padding: 2px 10px;
	border-radius: 99px;
	background: var(--wp--preset--color--bg-alt);
	color: var(--vs-primary-text);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* A block, not a flex box: in a flex box the space before «- <المحافظة>» was dropped (review FE-GT-02). The padding
   keeps the 44 px target with the text centred. */
.vs-recent__link {
	display: block;
	min-height: 44px;
	padding-block: 10px;
	color: var(--vs-primary-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.vs-recent__link:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
	border-radius: 4px;
}

@media (hover: hover) {
	.vs-recent__link:hover {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

.vs-recent__place {
	color: var(--vs-secondary-text);
	font-weight: 500;
}

/* Phones: the date and the kind above the title */
@media (max-width: 599px) {
	.vs-recent__item {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.vs-recent__link {
		grid-column: 1 / -1;
	}

	.vs-recent__kind {
		justify-self: start;
	}
}

/* Destination: «خطّط لزيارتك» */

.vs-plan-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.vs-plan-links__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 99px;
	box-shadow: inset 0 0 0 1.5px var(--vs-primary);
	color: var(--vs-primary);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.vs-plan-links__link:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 1.5px var(--vs-primary), var(--vs-focus);
}

@media (hover: hover) {
	.vs-plan-links__link:hover {
		background: color-mix(in srgb, var(--vs-primary) 8%, var(--vs-bg));
	}
}

@media (forced-colors: active) {
	.vs-help-card,
	.vs-help-card__call,
	.vs-checklist__item,
	.vs-plan-links__link {
		outline: 1px solid CanvasText;
		outline-offset: -1px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-help-card__call,
	.vs-plan-links__link {
		transition: none;
	}
}

/* Desktop (1440 reference) from 1024 px */

@media (min-width: 1024px) {
	.vs-help-card {
		padding: 24px;
		border-radius: 24px;
	}

	.vs-guide-tools {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}

	.vs-guide-tools__item {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.vs-guides-section {
		margin-block-start: 72px;
	}

	.vs-guides-section__title {
		font-size: 28px;
	}

	.vs-guides-section__intro {
		font-size: 17px;
	}
}

/* Print: a guide prints without the site chrome (also main.css, every plain page) and the buttons; «اطبع ورقة الطوارئ» prints the card alone, with the
   sheet's head line and the key practical links (their addresses spelled out). */

@media print {
	.vs-header,
	.vs-footer,
	.vs-skip-link,
	.vs-flash,
	.vs-prep-links,
	.vs-guide-tools,
	.vs-help-card__print,
	.vs-checklist__reset {
		display: none !important;
	}

	.vs-help-card {
		break-inside: avoid;
		border-color: #000;
		background: none;
		color: #000;
	}

	.vs-help-card__call {
		min-height: 0;
		justify-content: flex-start;
		background: none;
		color: #000;
	}

	.vs-help-card__number,
	.vs-help-card__source,
	.vs-help-card__note,
	.vs-plain__content .vs-help-card__title {
		color: #000;
	}

	html.vs-print-help .vs-plain__title,
	html.vs-print-help .vs-plain__content > :not(.vs-help-card),
	html.vs-print-help body > :not(main) {
		display: none !important;
	}

	html.vs-print-help .vs-help-card {
		margin: 0;
		border: 2px solid #000;
	}

	html.vs-print-help .vs-help-card__sheet-head,
	html.vs-print-help .vs-help-card__sheet-links {
		display: block;
	}

	/* Lines to write the hotel's and the embassy's numbers on (persona round 2, R2P01-R1-08), on any printed guide. */
	.vs-help-card__sheet-write {
		display: grid;
		gap: 14px;
		margin-block: 4px 8px;
		font-size: 15px;
	}

	.vs-help-card__sheet-write p {
		display: flex;
		align-items: flex-end;
		gap: 8px;
		margin: 0;
	}

	.vs-help-card__blank {
		flex: 1;
		max-width: 320px;
		border-block-end: 1px solid #000;
	}

	.vs-guide-jump {
		display: none !important;
	}

	.vs-plain__content .vs-travel-table thead th {
		position: static;
	}

	.vs-help-card__sheet-head {
		margin: 0;
		font-size: 14px;
		font-weight: 700;
	}

	.vs-help-card__sheet-title {
		margin: 8px 0 4px;
		font-size: 16px;
		font-weight: 700;
	}

	.vs-help-card__sheet-links ul {
		margin: 0;
		padding-inline-start: 20px;
		font-size: 13px;
		line-height: 1.6;
	}
}

/* visitsyria-accounts: assets/css/accounts.css */
/*
 * Accounts (Docs/pages/P24-login.md, P25-register.md; phase 2 batch 3): the header account controls and search icon
 * (1034:9718), and the sign-in / register card (desktop 1121:99130 / 1121:116770, mobile 1121:119132 / 1121:119960).
 * Mobile first; the photo stage from 1024 px; the desktop header from 1200 px (main.css). Tokens only.
 */

/* Header: search icon (24 px in the bar, 32 px on desktop as designed), 44 px target. Below 1200 px it gives back
   only 2 px on each side, so its target never overlaps the menu toggle's (whose -10 px fill the 12–16 px gap;
   HDR-FE-1). */

.vs-header__search {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-block: -10px;
	margin-inline: -2px;
	border-radius: 8px;
	color: var(--vs-primary);
}

.vs-header__search .vs-icon {
	width: 24px;
	height: 24px;
}

.vs-header__search:focus-visible,
.vs-account__toggle:focus-visible,
.vs-nav__logout:focus-visible,
.vs-account__logout:focus-visible,
.vs-auth__close:focus-visible,
.vs-auth__eye:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-header__search:hover {
		background: rgba(5, 66, 57, 0.08);
	}
}

/* Below 1200 px the account items live in the menu panel. */
.vs-header__register,
.vs-account {
	display: none;
}

.vs-nav__account {
	margin-block-start: 4px;
	padding-block-start: 4px;
	border-block-start: 1px solid rgba(5, 66, 57, 0.15);
}

.vs-nav__user {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	color: var(--vs-primary-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.vs-nav__logout {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--vs-primary);
	font: inherit;
	font-size: 16px;
	line-height: 19px;
	text-align: start;
	cursor: pointer;
}

@media (hover: hover) {
	.vs-nav__logout:hover {
		text-decoration: underline;
		text-underline-offset: 6px;
	}
}

.vs-account__avatar {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--vs-gold-soft);
	color: var(--vs-primary-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 359px) {
	.vs-header__actions {
		gap: 12px;
	}
}

@media (min-width: 1200px) {
	.vs-nav__account {
		display: none;
	}

	.vs-header__search .vs-icon {
		width: 32px;
		height: 32px;
	}

	.vs-header__search {
		width: 48px;
		height: 48px;
		margin: -8px;
	}

	.vs-header__register {
		display: inline-flex;
		min-height: 45px;
		padding: 14px 20px;
		border-radius: 16px;
	}


	.vs-account {
		position: relative;
		display: block;
		flex: none;
	}

	.vs-account__toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: -2px;
		border-radius: 50%;
		list-style: none;
		cursor: pointer;
	}

	.vs-account__toggle::-webkit-details-marker {
		display: none;
	}

	.vs-account__toggle .vs-account__avatar {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.vs-account__menu {
		position: absolute;
		inset-block-start: calc(100% + 12px);
		inset-inline-end: 0;
		z-index: 2;
		display: grid;
		gap: 4px;
		min-width: 200px;
		max-width: 280px;
		padding: 10px 8px;
		border-radius: 16px;
		background: var(--wp--custom--menu-surface);
		box-shadow: var(--wp--custom--shadow-card);
	}

	.vs-account__name {
		margin: 0;
		padding: 8px 12px;
		color: var(--vs-primary-text);
		font-weight: 700;
		overflow-wrap: anywhere;
		/* The name's own direction (R2-P12-R1-11b: «Sanne d.V.» showed as «.Sanne d.V»), kept on the menu's start side. */
		unicode-bidi: plaintext;
		text-align: right;
	}

	.vs-account__logout {
		display: block;
		width: 100%;
		min-height: 44px;
		padding: 8px 12px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--vs-primary);
		font: inherit;
		font-size: 16px;
		text-align: start;
		cursor: pointer;
	}

	@media (hover: hover) {
		.vs-account__logout:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}
}

@media (forced-colors: active) {
	.vs-account__menu {
		outline: 1px solid CanvasText;
	}
}

/* Account pages: an opaque header bar over the dark stage, so the nav links keep 4.5:1 (P24-FE-5). Body classes vs-tpl-* (white label, 2026-11-16). */
.vs-tpl-login .vs-header__bar,
.vs-tpl-register .vs-header__bar,
.vs-tpl-reset-password .vs-header__bar {
	background: var(--vs-surface);
}

/* One-time notice after sign-out or a phone sign-up (header.php, vs_acc_flash_notice()): a bar at the bottom. */
.vs-flash {
	position: fixed;
	inset-block-end: 16px;
	inset-inline: 16px;
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin-inline: auto;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--vs-primary-text);
	color: var(--vs-bg);
	box-shadow: var(--wp--custom--shadow-card);
	font-size: 15px;
	line-height: 1.5;
}

.vs-flash p {
	flex: 1;
	margin: 0;
}

.vs-flash[hidden] {
	display: none;
}

/* Focused once on load (accounts.js) so it is announced; the ring shows for keyboard users only. */
.vs-flash:focus {
	outline: none;
}

.vs-flash:focus-visible {
	box-shadow: var(--vs-focus), var(--wp--custom--shadow-card);
}

.vs-flash__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -10px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vs-flash__close svg {
	width: 20px;
	height: 20px;
}

.vs-flash__close:focus-visible {
	outline: 2px solid var(--vs-bg);
	outline-offset: -2px;
}

@media (forced-colors: active) {
	.vs-flash {
		outline: 1px solid CanvasText;
	}
}

/* Sign-in / register page: the stage. Mobile: the card on the page background, as in the mobile frames. */

.vs-auth__stage {
	position: relative;
	display: grid;
	place-items: center;
	padding: calc(104px + var(--wp-admin--admin-bar--height, 0px)) 16px 0;
}

.vs-auth__bg {
	display: none;
}

.vs-auth__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 500px;
	min-width: 0;
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-bg);
}

.vs-auth__close {
	display: none;
}

.vs-auth__logo {
	align-self: flex-start;
	width: 97px;
	height: auto;
}

.vs-auth__head {
	display: grid;
	gap: 8px;
	text-align: center;
}

.vs-auth__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-auth__intro {
	margin: 0;
	color: var(--vs-primary-text); /* #002623 [Primary Text] (1121:118764). */
	font-size: 14px;
	line-height: 1.5;
}

.vs-auth .vs-staff-note {
	margin: 0;
}

.vs-auth__status {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #e3efe9;
	color: var(--vs-primary-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-auth__status p {
	margin: 0;
}

.vs-auth__status p + p {
	margin-block-start: 8px;
}

.vs-auth__status--error {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-auth__status-link {
	margin-block-start: 8px;
}

.vs-auth__status-link a {
	color: inherit;
	font-weight: 700;
}

.vs-auth__status:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-auth__form {
	gap: 16px;
}

.vs-auth .vs-field__label {
	font-size: 14px;
}

.vs-auth .vs-field input:not([type="checkbox"]):not([type="file"]) {
	border-radius: 10px;
}

.vs-auth .vs-field.has-error input,
.vs-auth .vs-field input[aria-invalid="true"] {
	border-color: #b3261e;
}

/* Register (47:3874, desktop and mobile): the fields are filled with BG like the card. The edge is the shared
   field edge (audit r2 UX2-02, fix round 4: ≥ 3 : 1 on the beige fill; P19/P20, P24-FE-12). */
.vs-auth__card--register .vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-auth__card--register .vs-phone__toggle,
.vs-auth__card--register .vs-phone__cc select {
	background: var(--vs-bg);
}

/* A missing consent marks the box itself, not only the line below (P25-FE-10). */
.vs-auth__consent.has-error .vs-auth__check input,
.vs-auth__check input[aria-invalid="true"] {
	outline: 2px solid #b3261e;
	outline-offset: 1px;
}

/* Passwords are typed left to right, like e-mail addresses, and keep room for the eye button. */
.vs-auth .vs-field input[type="password"],
.vs-auth .vs-field input[data-vs-password] {
	direction: ltr;
	text-align: right;
}

.vs-auth .vs-field input[data-vs-password]::placeholder {
	direction: rtl;
}

.vs-js .vs-auth .vs-field input[data-vs-password] {
	padding-inline-end: 52px;
}

.vs-auth__eye {
	position: absolute;
	inset-block-start: 6px;
	inset-inline-end: 6px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--vs-secondary-text);
	cursor: pointer;
}

.vs-auth__eye svg {
	width: 20px;
	height: 20px;
}

@media (hover: hover) {
	.vs-auth__eye:hover {
		background: rgba(5, 66, 57, 0.08);
	}
}

.vs-auth__row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-height: 24px;
}

.vs-auth__check {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.vs-auth__check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--vs-primary);
}

.vs-auth__check a {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-auth__consent .vs-auth__check {
	color: var(--vs-dark-text);
}

.vs-auth__submit {
	width: 100%;
	min-height: 49px;
	border-radius: 16px;
}

/* The design's label: Bold 14 in BG (2:30). */
.vs-auth .vs-btn--primary.vs-auth__submit {
	color: var(--vs-bg);
	font-size: 14px;
	font-weight: 700;
}

/* «تذكرني» to the button: 32 px as designed (1121:101125; the form gap gives 16). */
.vs-auth__row + .vs-auth__submit {
	margin-block-start: 16px;
}

.vs-auth__or {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--vs-secondary-text);
	font-size: 20px;
	line-height: 1.4;
}

.vs-auth__or::before,
.vs-auth__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d7d7d7;
}

.vs-auth__social,
.vs-auth__links {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-auth__sso {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 16px 32px;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px var(--vs-primary);
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.vs-auth__sso--apple {
	box-shadow: inset 0 0 0 1px #000;
	color: #000;
}

.vs-auth__sso:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 1px var(--vs-primary), var(--vs-focus);
}

.vs-auth__mark {
	flex: none;
	width: 24px;
	height: 24px;
}

@media (hover: hover) {
	.vs-auth__sso:hover {
		background: color-mix(in srgb, var(--vs-primary) 6%, var(--vs-bg));
	}
}

.vs-auth__switch {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.vs-auth__switch a,
.vs-auth__link {
	color: var(--vs-dark-text);
	font-weight: 700;
}

.vs-auth__links {
	text-align: center;
}

.vs-auth__links .vs-btn {
	box-sizing: border-box;
}

.vs-auth__email {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 15px;
	text-align: center;
	overflow-wrap: anywhere;
}

/* Wide screens: the design's modal look over a dimmed photo. */
@media (min-width: 1024px) {
	.vs-auth__stage {
		min-height: 852px;
		padding: calc(160px + var(--wp-admin--admin-bar--height, 0px)) 16px 72px;
		overflow: hidden;
	}

	/* The home hero's composition (P24-FE-4, P25-FE-8): the page colour is the sky behind the cut-out photo, which
	   is drawn at the home geometry (home.css «Hero», 173 % wide, anchored to the bottom), then the design's veil. */
	.vs-auth__stage {
		background: var(--vs-bg);
	}

	.vs-auth__media {
		position: absolute;
		inset-block: 0;
		left: 50%;
		z-index: 0;
		display: block;
		width: min(100%, 1920px);
		overflow: hidden;
		transform: translateX(-50%);
		container-type: inline-size;
	}

	.vs-auth__bg {
		position: absolute;
		bottom: calc(-75 / 1440 * 100cqw);
		left: calc(-0.142 / 0.5803 * 100%);
		display: block;
		width: calc(100% / 0.5803);
		max-width: none;
		height: auto;
		aspect-ratio: 1920 / 720;
	}

	@media (min-width: 1921px) {
		.vs-auth__media {
			-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
			mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		}
	}

	/* 1121:118682: #000 at 75 % with a 12 px background blur where supported. */
	.vs-auth__stage::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(0, 0, 0, 0.75);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}

	.vs-auth__card {
		z-index: 2;
		padding: 32px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	}

	/* The close «×» on its own row at the top right (inline start), above the logo: 24 px icon, 16 px gap, the logo
	   72 px from the top (1121:101044; P24-FE-2, P25-FE-7). The 44 px target takes only the icon's space. */
	.vs-auth__close {
		position: relative;
		display: grid;
		flex: none;
		align-self: flex-start;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: -10px;
		border-radius: 8px;
		color: var(--vs-dark-text);
	}

	.vs-auth__close .vs-icon {
		width: 24px;
		height: 24px;
	}

	@media (hover: hover) {
		.vs-auth__close:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}

	.vs-auth__title {
		font-size: 28px;
	}

	.vs-auth .vs-footer,
	.vs-auth + .vs-footer {
		margin-block-start: 88px;
	}

	/* With the photo the stage runs into the footer (P25-FE-12). */
	.vs-auth--photo + .vs-footer {
		margin-block-start: 0;
	}
}

@media (forced-colors: active) {
	.vs-auth__card,
	.vs-auth__sso {
		outline: 1px solid CanvasText;
	}
}

/* Phone field: country code then the number, left to right (P24 §3.8). */

.vs-phone__row {
	display: flex;
	gap: 8px;
	min-width: 0;
}

.vs-phone__cc {
	position: relative;
	flex: none;
}

.vs-phone__cc select {
	width: 9.5em;
	max-width: 40vw; /* Leaves the number room at 320 px without JavaScript (P24-FE-8). */
	min-height: 56px;
	padding: 14px 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 15px;
}

/* Without JavaScript, below 360 px the plain select takes its own line so the number keeps its full width. */
@media (max-width: 359px) {
	html:not(.vs-js) .vs-phone__row {
		flex-wrap: wrap;
	}

	html:not(.vs-js) .vs-phone__cc {
		flex: 1 1 100%;
	}

	html:not(.vs-js) .vs-phone__cc select {
		width: 100%;
		max-width: none;
	}
}

.vs-phone__row input[type="tel"] {
	flex: 1;
	min-width: 0;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	direction: ltr;
	text-align: left;
}

.vs-phone__row input[type="tel"]::placeholder {
	color: #6b666d;
	opacity: 1;
}

.vs-phone__row input:focus-visible,
.vs-phone__cc select:focus-visible,
.vs-phone__toggle:focus-visible,
.vs-phone__search:focus-visible {
	border-color: var(--vs-primary);
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-phone.has-error input[type="tel"] {
	border-color: #b3261e;
}

/* The error is about the country (a national number with none chosen, C4-FE-02): the country control is marked too. */
.vs-phone__cc.has-error .vs-phone__toggle,
.vs-phone__cc.has-error select {
	border-color: #b3261e;
}

.vs-phone__cc.has-error .vs-phone__dial--none {
	color: #b3261e;
}

.vs-phone__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 56px;
	padding: 0 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 10px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	cursor: pointer;
}

/* No country chosen yet (an optional number, R2-P05-R1-12): the words, in the muted field colour. */
.vs-phone__dial--none {
	direction: rtl;
	color: var(--vs-secondary-text);
	font-size: 15px;
	white-space: nowrap;
}

.vs-phone__toggle::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline-start: 2px;
	border-block-end: 1.5px solid var(--vs-primary);
	border-inline-end: 1.5px solid var(--vs-primary);
	transform: translateY(-2px) rotate(45deg);
}

.vs-phone__panel {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	left: 0; /* The row is left to right and the code sits at its left: the list opens towards the number. */
	z-index: 5;
	display: grid;
	gap: 8px;
	width: min(320px, calc(100vw - 64px));
	padding: 10px;
	border-radius: 12px;
	background: var(--vs-surface);
	box-shadow: var(--wp--custom--shadow-card);
}

.vs-phone__panel[hidden] {
	display: none;
}

.vs-phone__search {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge. */
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
}

.vs-phone__list {
	max-height: 240px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.vs-phone__option {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--vs-dark-text);
	cursor: pointer;
}

/* The bdi is dir=ltr, so a logical margin would resolve to its own left: the physical margin pushes the code to the
   list's far (left) edge, one column for all (P24-FE-9). */
.vs-phone__option bdi {
	margin-right: auto;
	color: var(--vs-secondary-text);
}

.vs-phone__group,
.vs-phone__empty {
	padding: 8px 10px 4px;
	color: var(--vs-secondary-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-phone__empty {
	padding-block: 10px;
	font-weight: 400;
	text-align: center;
}

.vs-phone__option.is-active,
.vs-phone__option[aria-selected="true"] {
	background: color-mix(in srgb, var(--vs-primary) 10%, var(--vs-surface));
}

.vs-phone__option.is-active {
	outline: 2px solid var(--vs-primary);
	outline-offset: -2px;
}

/* The code step. */

.vs-auth__lead {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

.vs-auth .vs-otp__code {
	font-size: 22px;
	letter-spacing: 0.3em;
	text-align: center;
	direction: ltr;
}

.vs-otp__resend {
	display: grid;
	gap: 4px;
	justify-items: center;
	text-align: center;
}

.vs-otp__wait {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-otp__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 16px;
}

.vs-auth__textbtn {
	min-height: 44px;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: var(--vs-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.vs-auth__textbtn:disabled {
	color: var(--vs-secondary-text);
	text-decoration: none;
	cursor: default;
}

.vs-auth__textbtn:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-auth .vs-btn--secondary.vs-auth__submit {
	border-radius: 16px;
}

@media (forced-colors: active) {
	.vs-phone__panel {
		outline: 1px solid CanvasText;
	}

	.vs-phone__option.is-active {
		outline-color: Highlight;
	}
}

.vs-auth__lead bdi,
.vs-auth__email bdi {
	white-space: nowrap;
}

/*
 * Phase 2 batch 4 (Docs/pages/P26-reset-password.md, P23-account.md).
 */

/* Sign-in: «هل نسيت كلمة المرور؟» at the start of the «تذكرني» row (1121:101133), Regular 14 in secondary text. */
.vs-auth__forgot {
	margin-inline-end: auto;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
}

.vs-auth__forgot:focus-visible {
	border-radius: 4px;
	outline: none;
	box-shadow: var(--vs-focus);
}

/* Reset card (1121:119787): four 4 px bars 15 px apart, the current one in the logo green, then the step's icon in a
   48 px box (BG, 0.5 px Primary edge, radius 10) and the heading at the start. */
.vs-steps {
	display: flex;
	gap: 15px;
	padding: 12px;
}

.vs-steps span {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: #c3c3c3;
}

.vs-steps .is-current {
	background: var(--wp--preset--color--logo-green);
}

.vs-auth__head--start {
	justify-items: start;
	gap: 8px;
	text-align: start;
}

.vs-auth__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-block-end: 4px;
	border-radius: 10px;
	background: var(--vs-bg);
	box-shadow: inset 0 0 0 0.5px var(--vs-primary);
	color: var(--vs-primary);
}

.vs-auth__icon svg {
	width: 24px;
	height: 24px;
}

.vs-auth__note {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
}

.vs-auth__note a {
	color: var(--vs-primary);
	font-weight: 700;
}

/* «بإنشاء حسابك توافق على شروط الاستخدام.» (fix 16): a taller line and a taller hit area for its one link (review F16-03). */
.vs-auth__terms {
	line-height: 2;
}

.vs-auth__terms a {
	padding-block: 10px;
}

.vs-auth__again {
	margin: 0;
}

.vs-auth__card--reset .vs-auth__status bdi {
	overflow-wrap: anywhere;
}

@media (forced-colors: active) {
	.vs-steps span {
		outline: 1px solid CanvasText;
	}

	.vs-steps .is-current {
		background: Highlight;
	}
}

/* Header: «حسابي» in the avatar menu and in the menu panel. */
.vs-nav__mine {
	display: block;
	padding: 12px 16px;
	border-radius: 8px;
	color: var(--vs-primary);
	font-size: 16px;
	line-height: 19px;
}

.vs-nav__mine[aria-current="page"] {
	font-weight: 700;
}

@media (min-width: 1200px) {
	.vs-account__mine {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		color: var(--vs-primary);
		font-size: 15px;
		line-height: 1.4;
		text-decoration: none;
	}

	.vs-account__mine[aria-current="page"] {
		font-weight: 700;
	}

	.vs-account__mine:focus-visible,
	.vs-nav__mine:focus-visible {
		outline: none;
		box-shadow: var(--vs-focus);
	}

	@media (hover: hover) {
		.vs-account__mine:hover {
			background: rgba(5, 66, 57, 0.08);
		}
	}
}

/* The account page (1064:33533, 1071:13417; mobile 1088:21531). Mobile first; the two columns from 1024 px. */
.vs-acct__wrap {
	display: grid;
	gap: 0;
	padding-block: calc(104px + var(--wp-admin--admin-bar--height, 0px)) 72px;
}

.vs-acct__title {
	margin: 0 0 16px;
	color: var(--vs-primary-text);
	font-size: 28px;
}

/* The head: the initial and the name 8 px apart on phones, 24 px from 768 (1088:21538, 1077:13592); «تعديل» at the
   far end. When the name would get narrower than 6em the button wraps to its own line instead of breaking the name,
   and the button keeps one width in both states, so nothing moves when it is toggled (P23-FE-4). */
.vs-acct__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 8px;
	padding-block-end: 32px;
}

.vs-acct__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--vs-gold-soft);
	color: var(--vs-primary-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.vs-acct__name {
	flex: 1 1 6em;
	min-width: 0;
	margin: 0;
	margin-inline-end: 16px;
	color: var(--vs-dark-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.vs-acct__edit {
	flex: none;
	min-width: 103px;
	margin-inline-start: auto;
	min-height: 41px;
	padding: 12px 32px;
	border-radius: 12px;
}

.vs-acct__notice {
	margin-block-end: 24px;
}

.vs-acct__confirm {
	display: grid;
	gap: 12px;
	margin-block-end: 24px;
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.6;
}

.vs-acct__confirm p {
	margin: 0;
}

.vs-acct__confirm-title {
	margin: 0;
	color: var(--vs-primary);
	font-size: 18px;
	font-weight: 700;
}

.vs-acct__section {
	display: grid;
	gap: 24px;
	padding-block: 32px;
	border-block-start: 1px solid #bcbcbc;
	scroll-margin-block-start: 112px;
}

.vs-acct__intro {
	display: grid;
	gap: 12px;
	align-content: start;
}

.vs-acct__heading {
	margin: 0;
	color: var(--vs-primary);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
}

.vs-acct__lead {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.2;
}

/* The design's view state (1064:33533): labels and leads in Primary Text and a faint gradient line between the
   sections. The edit state (1071:13417) and the page without JavaScript keep the grey labels (#5D585F for contrast,
   in place of the design's #878787) and the 1 px #BCBCBC lines (P23-FE-10). */
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__lead,
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__item > .vs-field__label,
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__form > .vs-field > .vs-field__label {
	color: var(--vs-primary-text);
}

.vs-js [data-vs-acct]:not([data-vs-acct-editing]) .vs-acct__section {
	border-image: linear-gradient(90deg, var(--vs-bg), var(--vs-primary), var(--vs-bg)) 1;
}

.vs-acct__body {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.vs-acct__form {
	gap: 16px;
}

.vs-acct__item {
	display: grid;
	gap: 8px;
	min-width: 0;
	scroll-margin-block-start: 112px;
}

.vs-acct .vs-field__label {
	color: var(--vs-secondary-text);
}

.vs-acct .vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-acct__value {
	border-radius: 10px;
}

.vs-acct .vs-field input[readonly] {
	cursor: default;
}

/* Field values in the design's Medium (1071:13745). */
.vs-acct .vs-field input:not([type="checkbox"]):not([type="file"]) {
	font-weight: 500;
}

.vs-acct__value {
	box-sizing: border-box;
	min-height: 56px;
	margin: 0;
	padding: 15px 14px;
	border: 1px solid #d4d0c4;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	overflow-wrap: anywhere;
}

/* An empty e-mail or phone: plain text, not a field-like box (owner decision, P23-FE-N3). */
.vs-acct__empty {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}

.vs-acct__pending,
.vs-acct__hint {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.vs-acct__hint a,
.vs-acct__pending a {
	color: var(--vs-primary);
	font-weight: 700;
}

.vs-acct__hint.vs-field__error {
	color: #b3261e;
}

.vs-acct__sub {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-acct__btn {
	width: 100%;
	min-height: 41px;
	padding: 12px 32px;
	border-radius: 12px;
	white-space: normal;
	text-align: center;
	line-height: 1.3;
}

.vs-acct__btn--danger {
	background: #b3261e;
	color: var(--vs-surface);
}

@media (hover: hover) {
	.vs-acct__btn--danger:hover {
		background: color-mix(in srgb, #b3261e 88%, #000);
	}
}

.vs-acct__buttons {
	display: grid;
	gap: 12px;
}

.vs-acct__more {
	display: grid;
	gap: 12px;
}

.vs-acct__more > summary {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 44px;
	color: var(--vs-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	list-style: none;
}

.vs-acct__more > summary::-webkit-details-marker {
	display: none;
}

.vs-acct__more > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline-start: 10px;
	border-block-end: 1.5px solid currentColor;
	border-inline-end: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.vs-acct__more[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.vs-acct__more > summary:focus-visible {
	border-radius: 4px;
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-acct__more[open] > .vs-acct__form {
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
}

.vs-acct__methods {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-acct__methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	padding-block: 12px;
	border-block-end: 1px solid rgba(5, 66, 57, 0.12);
	color: var(--vs-dark-text);
	font-size: 15px;
	line-height: 1.5;
}

.vs-acct__methods .vs-acct__more {
	flex-basis: 100%;
}

.vs-acct__state {
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-acct__danger {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-radius: 12px;
	background: #fbeceb;
	color: #5c1410;
	font-size: 15px;
	line-height: 1.6;
}

.vs-acct__danger p {
	margin: 0;
}

.vs-acct__code {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-radius: 12px;
	background: var(--vs-surface);
}

.vs-acct .vs-otp__code {
	font-size: 22px;
	letter-spacing: 0.3em;
	text-align: center;
	direction: ltr;
}

/* Passwords on the account page: left to right, with room for the eye (as on the sign-in card). */
.vs-acct .vs-field input[data-vs-password] {
	direction: ltr;
	text-align: right;
}

.vs-acct .vs-field input[data-vs-password]::placeholder {
	direction: rtl;
}

.vs-js .vs-acct .vs-field input[data-vs-password] {
	padding-inline-end: 52px;
}

/* The design's view state (with JavaScript): fields read-only, the edit-only controls hidden until «تعديل». */
.vs-js [data-vs-acct]:not([data-vs-acct-editing]) [data-vs-acct-editable],
.vs-js [data-vs-acct][data-vs-acct-editing] [data-vs-acct-view] {
	display: none;
}

html:not(.vs-js) [data-vs-acct-view] {
	display: none;
}

@media (min-width: 1024px) {
	.vs-acct__wrap {
		padding-block-start: calc(171px + var(--wp-admin--admin-bar--height, 0px));
	}

	.vs-acct__head {
		padding-block-end: 40px;
	}

	.vs-acct__edit {
		min-width: 140px;
	}

	.vs-acct__section {
		grid-template-columns: 215px minmax(0, 402px);
		justify-content: start;
		gap: 100px;
		padding-block: 40px;
	}

	.vs-acct__confirm,
	.vs-acct__notice {
		max-width: 717px;
	}
}

@media (forced-colors: active) {
	.vs-acct__value,
	.vs-acct__confirm,
	.vs-acct__danger,
	.vs-acct__code,
	.vs-acct__more[open] > .vs-acct__form {
		outline: 1px solid CanvasText;
	}
}

/* The label and the value of a shown item: the value box starts 28 px below the label's top, like a field
   (1071:13430; the item's 8 px gap less 2). */
.vs-acct__item > .vs-field__label {
	margin: 0 0 -2px;
}

@media (min-width: 768px) {
	.vs-acct__head {
		column-gap: 24px;
	}

	.vs-acct__name {
		margin-inline-end: 0;
	}
}

/* A phone number in a sentence stays on one line. */
.vs-acct__confirm bdi,
.vs-acct__code bdi {
	white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------------------------
 * 2026-11-03 — «المحفوظات» on the account page (Docs/pages/P29-likes-and-saves.md; not in the P23 design, drawn in its
 * language): the section's title column, a wider body for the list from 1024 px, type chips, rows with the photo,
 * type, title and date, and «إزالة».
 * ---------------------------------------------------------------------------------------------------------------- */

.vs-acct__count {
	color: var(--vs-secondary-text);
	font-size: 18px;
	font-weight: 400;
}

.vs-saved__filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__filter .vs-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding-block: 10px;
	font-size: 14px;
	text-decoration: none;
}

@media (hover: hover) {
	.vs-saved__filter .vs-chip:not(.is-active):hover {
		text-decoration: underline;
	}
}

.vs-saved__n {
	font-weight: 400;
}

/* The governorate chips under the type chips (R1-P09-16), and the item's governorate after its type. */
.vs-saved__filter--gov {
	margin-block-start: -8px;
}

.vs-saved__kind {
	line-height: 1.3;
}

.vs-saved__place {
	color: var(--vs-secondary-text);
	font-size: 12px;
	font-weight: 400;
}

.vs-saved {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 12px;
	border: 1px solid #d4d0c4;
	border-radius: 16px;
	background: var(--vs-surface);
}

.vs-saved__link {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	min-width: 0;
	border-radius: 12px;
	color: var(--vs-dark-text);
	text-decoration: none;
}

.vs-saved__link:focus-visible {
	outline: 2px solid transparent;
	box-shadow: var(--vs-focus);
}

.vs-saved__media {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--vs-img-placeholder);
}

.vs-saved__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vs-saved__text {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.vs-saved__type {
	color: var(--vs-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-saved__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	overflow-wrap: anywhere;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.vs-saved__date {
	color: var(--vs-secondary-text);
	font-size: 12px;
	line-height: 1.3;
}

.vs-saved__remove {
	flex: none;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #b3261e;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vs-saved__remove:focus-visible {
	outline: 2px solid transparent;
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-saved__link:hover .vs-saved__title {
		text-decoration: underline;
	}

	.vs-saved__remove:hover {
		background: rgba(179, 38, 30, 0.08);
	}
}

.vs-saved__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vs-saved__pages .vs-acct__btn {
	width: auto;
}

.vs-saved__empty {
	display: grid;
	gap: 12px;
}

.vs-saved__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-saved__links .vs-link-arrow {
	min-height: 44px;
}

@media (min-width: 768px) {
	.vs-saved {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vs-acct__section--saves {
		grid-template-columns: 215px minmax(0, 717px);
	}
}

@media (forced-colors: active) {
	.vs-saved__item {
		outline: 1px solid CanvasText;
	}
}

/* Review fixes 2026-11-03 (P29 §8): an event's state after its date (SAV-FE-10), the way back from an empty filter
   (SAV-FE-3). */
.vs-saved__state {
	display: inline-block;
	margin-inline-start: 4px;
	padding: 1px 8px;
	border-radius: var(--wp--custom--radius-pill, 999px);
	background: var(--vs-secondary-text);
	color: var(--vs-surface);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.vs-saved__all {
	margin: 8px 0 0;
}

.vs-saved__all .vs-link-arrow {
	min-height: 44px;
}

/* Staff second sign-in step (P0-4, parts/accounts/twofactor.php): the recovery code behind a disclosure. */
.vs-auth__more {
	display: grid;
	gap: 12px;
	font-size: 14px;
}

.vs-auth__more > summary {
	min-height: 44px;
	padding: 10px 0;
	color: var(--vs-primary);
	font-weight: 700;
	cursor: pointer;
}

/* ------------------------------------------------------------------------------------------------------------------
 * 2026-11-17 — «تقييماتي» on the account page (persona fix R1-P04-16): in the language of «المحفوظات», one row per
 * review (place, stars and date, state). «قيد المراجعة» in the accent, «منشور» in the primary green.
 * ---------------------------------------------------------------------------------------------------------------- */

.vs-myreviews {
	display: grid;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vs-myreviews__item {
	position: relative; /* The place link covers the row (C4-FE-06), as the whole card of «المحفوظات». */
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: center;
	min-height: 44px;
	padding: 12px 16px;
	border: 1px solid #d4d0c4;
	border-radius: 16px;
	background: var(--vs-surface);
}

.vs-myreviews__place {
	min-width: 0;
	color: var(--vs-dark-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.vs-myreviews__place a {
	color: inherit;
}

.vs-myreviews__place a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
}

.vs-myreviews__place a:focus-visible {
	outline: none;
}

.vs-myreviews__place a:focus-visible::after {
	box-shadow: var(--vs-focus);
}

@media (hover: hover) {
	.vs-myreviews__item:has(a:hover) {
		border-color: var(--vs-primary);
	}
}

.vs-myreviews__meta {
	grid-column: 1;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-myreviews__meta time {
	white-space: nowrap; /* «أُرسل في 17 نوفمبر 2026» on one line (C4-FE-06). */
}

/* Narrow rows: the state pill drops under the place and date instead of squeezing them (C4-FE-06). */
@media (max-width: 599px) {
	.vs-myreviews__item {
		grid-template-columns: minmax(0, 1fr);
	}

	.vs-myreviews__item .vs-myreviews__state {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
	}
}

.vs-myreviews__state {
	grid-column: 2;
	grid-row: 1 / span 2;
	padding: 2px 10px;
	border-radius: var(--wp--custom--radius-pill, 999px);
	background: var(--vs-secondary-text);
	color: var(--vs-surface);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.vs-myreviews__state--new {
	background: #f3e7c4;
	color: #5c4300;
}

.vs-myreviews__state--approved {
	background: var(--vs-primary);
}

@media (min-width: 1024px) {
	.vs-acct__section--reviews {
		grid-template-columns: 215px minmax(0, 717px);
	}
}

@media (forced-colors: active) {
	.vs-myreviews__item,
	.vs-myreviews__state {
		outline: 1px solid CanvasText;
	}
}

/* ------------------------------------------------------------------------------------------------------------------
 * Fix 9 (persona round R2, 2026-11-17).
 * R2-P1-S3-01: «إزالة» in «المحفوظات» asks first: the Arabic <dialog> (accounts.js) and, without JavaScript, the confirm
 * step above the list (#vs-saved-confirm), both in the account's confirm language (.vs-acct__confirm, the danger button).
 * R2-P06-R2-06: the links under a sign-in notice («أنشئ حساباً أولاً», «ارجع إلى الصفحة») are 44 px touch targets.
 * ---------------------------------------------------------------------------------------------------------------- */
.vs-saved__confirm .vs-acct__buttons,
.vs-saved-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vs-saved__confirm .vs-acct__btn,
.vs-saved-dialog__actions .vs-acct__btn {
	width: auto;
	min-width: 120px;
	min-height: 44px;
}

/* Fix 9 C1-FE-R5: the step is reached by #vs-saved-confirm, where browsers skip autofocus. «إلغاء» comes first in the
   markup, so the first Tab reaches the safe choice; «إزالة» keeps its place first on screen. Room above it, so the
   heading «المحفوظات» stays in view. */
.vs-saved__confirm {
	scroll-margin-top: 24px;
}

.vs-saved__confirm .vs-acct__btn--danger {
	order: -1;
}

.vs-saved-dialog {
	box-sizing: border-box;
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	box-shadow: 0 16px 48px rgba(0, 20, 18, 0.24);
}

.vs-saved-dialog::backdrop {
	background: rgba(0, 20, 18, 0.55);
}

.vs-saved-dialog__box {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 24px;
}

.vs-saved-dialog__title {
	margin: 0;
	color: var(--vs-primary);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vs-saved-dialog__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.vs-saved-dialog__actions {
	margin-block-start: 8px;
}

/* Fix 9 C1-FE-R6: the text links under «تحقّق من بريدك» («العودة إلى الصفحة», «العودة إلى الصفحة الرئيسية») too. */
.vs-auth__links .vs-auth__link,
.vs-auth__status-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 4px;
	margin-inline: -4px;
	text-underline-offset: 3px;
}

.vs-auth__status-link {
	margin-block-start: 4px;
}

.vs-auth__status-link + .vs-auth__status-link {
	margin-block-start: 0;
}

.vs-auth__pending {
	font-weight: 700;
}

@media (forced-colors: active) {
	.vs-saved-dialog {
		outline: 1px solid CanvasText;
	}
}

/*
 * «حفظ» while signed out (persona fix R3-P06-S3-02, 2026-11-17): a small popover under the button (accounts.js), with
 * «سجّل الدخول للحفظ» and «انسخ رابط الصفحة»; on phones it stays within the 16 px gutters.
 */
.vs-save-pop {
	position: absolute;
	z-index: 60;
	display: grid;
	gap: 10px;
	width: 320px;
	max-width: calc(100vw - 32px);
	padding: 18px 18px 14px;
	border-radius: var(--wp--custom--radius-md, 12px);
	background: var(--vs-surface, #fff);
	color: var(--vs-dark-text);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	text-align: start;
}

.vs-save-pop__title {
	margin: 0;
	padding-inline-end: 36px; /* Clear of the 44 px «إغلاق» at its 8 px inset (the popover's own padding is 18 px). */
	font-size: 16px;
	font-weight: 700;
}

.vs-save-pop__text {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-save-pop__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vs-save-pop__actions .vs-btn {
	flex: 1 1 auto;
	min-height: 44px;
}

.vs-save-pop__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	width: 44px; /* The site's 44 px touch target (persona fix D-FE-06). */
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vs-secondary-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.vs-save-pop__close:hover {
	background: var(--vs-bg);
}

.vs-save-pop__close:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-save-pop__done {
	margin: 0;
	font-size: 13px;
}

.vs-save-pop__done:empty {
	display: none;
}

@media (forced-colors: active) {
	.vs-save-pop {
		outline: 1px solid CanvasText;
	}
}

@media print {
	.vs-save-pop {
		display: none;
	}
}

/* visitsyria-gallery: assets/css/gallery.css */
/*
 * «سوريا بالصور» (research 2026-11-17, E17; page-templates/gallery.php, parts/gallery/grid.php). Mobile first (390);
 * 3 columns from 768 px, 4 from 1024 px. On top of main.css, whose plain-page frame (.vs-main--plain, .vs-plain__title)
 * and chip (.vs-chip) it reuses; the chips row scrolls sideways below 768 px as the blog's does, and wraps above.
 * Enqueued by the template only. No movement without prefers-reduced-motion: no-preference.
 */

.vs-gallery__head {
	max-width: 820px;
}

.vs-gallery__title {
	margin-block-end: 12px;
}

.vs-gallery__intro {
	margin: 0 0 24px;
	color: var(--vs-secondary-text);
	font-size: 18px;
	line-height: 1.6;
}

/* Chips by governorate */

.vs-gallery-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 -16px 16px;
	padding: 4px 16px;
	overflow-x: auto;
	scrollbar-width: none;
}

.vs-gallery-chips::-webkit-scrollbar {
	display: none;
}

.vs-gallery-chips .vs-chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(20, 88, 80, 0.4);
}

.vs-gallery-chips .vs-chip.is-active {
	padding-block: 12px;
	background: var(--wp--preset--color--bg-alt);
	box-shadow: none;
}

/* Review GAL-FE-02: the chip's border is a box-shadow, so the site's focus ring (main.css :focus-visible) is added to
   it here, as main.css does for .vs-btn--secondary. */
.vs-gallery-chips .vs-chip:focus-visible {
	box-shadow: inset 0 0 0 1px rgba(20, 88, 80, 0.4), var(--vs-focus);
}

.vs-gallery-chips .vs-chip.is-active:focus-visible {
	box-shadow: var(--vs-focus);
}

.vs-gallery-chips__count {
	color: var(--vs-secondary-text);
	font-size: 14px;
	font-weight: 400;
}

.vs-gallery__status,
.vs-gallery__notice {
	margin: 0 0 16px;
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.5;
}

.vs-gallery__notice {
	padding: 12px 16px;
	border-inline-start: 4px solid var(--vs-gold);
	border-radius: 8px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
}

/* Grid */

.vs-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Review GAL-FE-04: the list takes the focus after a chip link (#vs-gallery-list) so a screen reader starts there; no
   ring around the whole grid (as main.css does for .vs-main). */
.vs-gallery__grid:focus,
.vs-gallery__grid:focus-visible {
	outline: none;
	box-shadow: none;
}

/* Persona fixes C4 (2026-11-17, D1US-R2-17): a chip's link (#vs-gallery-list) stops with the chip row and the count line
   still in view above the grid, under the fixed header (html's scroll-padding): the row of chips and the line below it.
   gallery.js sets the exact distance when the chips wrap differently. */
.vs-gallery__grid {
	scroll-margin-top: 112px;
}

.vs-gallery__item {
	min-width: 0;
}

.vs-gallery__figure {
	display: grid;
	gap: 8px;
	margin: 0;
}

.vs-gallery__zoom {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius-md, 16px);
	background: var(--vs-img-placeholder);
	overflow: hidden;
	cursor: zoom-in;
}

.vs-gallery__zoom:focus-visible {
	box-shadow: var(--vs-focus);
}

.vs-gallery__zoom img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.vs-gallery__zoom img {
		transition: filter var(--vs-dur-fade-hover) var(--vs-ease-std);
	}

	.vs-gallery__zoom:hover img {
		filter: brightness(var(--vs-hover-dim));
	}
}

.vs-gallery__caption {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vs-gallery__name {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--vs-primary-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

@media (hover: hover) {
	.vs-gallery__name:hover {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

.vs-gallery__meta {
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
}

.vs-gallery__caption .vs-photo-credit {
	display: block;
	margin: 2px 0 0;
	color: var(--vs-secondary-text);
	font-size: 12px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.vs-gallery__caption .vs-photo-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Lightbox (a modal <dialog>: the browser traps focus inside it, Esc closes it, focus returns to the photo). */

.vs-lightbox {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	height: auto;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 20, 18, 0.97); /* Persona fixes C (R2-P03-R3-S4-01): no page text ghosting behind the photo (was 0.94). */
	color: #fff;
	overflow: hidden;
}

/* Persona fixes C (2026-11-17, R2-P03-R3-S4-01, D1US-R3-S3-05): the page under an open photo does not scroll (the wheel
   moved it to the footer); the scrollbar's room is kept so nothing shifts sideways. gallery.js sets the class; :has()
   covers a dialog opened before the script ran its handler. */
html.vs-lightbox-open,
html:has(dialog.vs-lightbox[open]) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.vs-lightbox[open] {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	grid-template-columns: minmax(0, 1fr);
}

.vs-lightbox::backdrop {
	background: rgba(0, 20, 18, 0.97);
}

.vs-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 16px;
}

.vs-lightbox__count {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.vs-lightbox__btn {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
}

.vs-lightbox__btn .vs-icon {
	width: 22px;
	height: 22px;
}

.vs-lightbox__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: none;
}

@media (hover: hover) {
	.vs-lightbox__btn:hover {
		background: rgba(255, 255, 255, 0.26);
	}
}

.vs-lightbox__figure {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0 16px 88px; /* Room for the two navigation buttons under the photo on phones. */
	touch-action: pan-y pinch-zoom; /* A sideways swipe reaches gallery.js (next / previous); pinch-zoom stays. */
}

/* Review C5-FE-01: while the page is pinch-zoomed (gallery.js), a sideways move pans across the photo. */
.vs-lightbox.is-zoomed .vs-lightbox__figure {
	touch-action: auto;
}

.vs-lightbox__media {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	place-items: center;
	min-width: 0;
	min-height: 0;
}

.vs-lightbox__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 8px;
	object-fit: contain;
}

.vs-lightbox__caption {
	display: grid;
	gap: 2px;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.vs-lightbox__caption .vs-gallery__name,
.vs-lightbox__caption .vs-gallery__meta,
.vs-lightbox__caption .vs-photo-credit {
	justify-content: center;
	color: #fff;
}

.vs-lightbox__caption .vs-gallery__name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vs-lightbox__caption .vs-gallery__meta,
.vs-lightbox__caption .vs-photo-credit {
	color: rgba(255, 255, 255, 0.86);
}

/* Review GAL-FE-01: the copied credit's links (author, licence) take the caption's light colour on the dark lightbox,
   not the site's link green; every link in the lightbox gets a white focus outline. */
.vs-lightbox__caption .vs-photo-credit a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vs-lightbox a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: none;
}

.vs-lightbox__nav {
	position: absolute;
	inset-block-end: 20px;
}

/* RTL: «السابقة» on the inline start (right), «التالية» on the inline end (left); the chevron points the way it goes. */
.vs-lightbox__nav--prev {
	inset-inline-start: 16px;
}

.vs-lightbox__nav--next {
	inset-inline-end: 16px;
}

.vs-lightbox__nav--prev .vs-icon {
	transform: scaleX(-1);
}

[dir="ltr"] .vs-lightbox__nav--prev .vs-icon {
	transform: none;
}

[dir="ltr"] .vs-lightbox__nav--next .vs-icon {
	transform: scaleX(-1);
}

@media (prefers-reduced-motion: no-preference) {
	.vs-lightbox[open] {
		animation: vs-lightbox-in var(--vs-dur-fast) var(--vs-ease-out);
	}
}

@keyframes vs-lightbox-in {
	from {
		opacity: 0;
	}
}

@media (forced-colors: active) {
	.vs-lightbox__btn {
		outline: 1px solid ButtonText;
	}
}

/* Tablet */

@media (min-width: 768px) {
	.vs-gallery-chips {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.vs-gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 24px;
		scroll-margin-top: 216px; /* Three rows of wrapped chips (C4, D1US-R2-17). */
	}
}

/* Desktop */

@media (min-width: 1024px) {
	.vs-gallery__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		scroll-margin-top: 168px; /* Two rows of chips (C4, D1US-R2-17). */
	}

	.vs-lightbox__figure {
		padding: 0 96px 32px;
	}

	.vs-lightbox__nav {
		inset-block-end: auto;
		inset-block-start: 50%;
		transform: translateY(-50%);
	}
}

/* Short screens (persona fix R2-P03-R1-11: a phone on its side, or 200 % zoom at 683 × 384): the photo takes most of
   the height. The counter and the close button share one compact row, the two arrows sit over the photo's edges
   (not under it), and the caption is one wrapped line of smaller text. */
@media (max-height: 500px) {
	.vs-lightbox__bar {
		padding: 4px 16px;
	}

	.vs-lightbox__count {
		font-size: 14px;
	}

	.vs-lightbox__figure {
		gap: 4px;
		padding: 0 16px 8px;
	}

	/* The visible height where the browser knows it (100dvh: without the phone's toolbars), so the caption below stays
	   in view; 108 px leaves the 44 px record link and the 12 px credit their full size (review C5-FE-02, C5-FE-03). */
	.vs-lightbox__media img {
		max-height: calc(100vh - 108px);
		max-height: calc(100dvh - 108px);
	}

	.vs-lightbox__caption {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: center;
		gap: 0 12px;
		max-width: none;
	}

	.vs-lightbox__caption .vs-gallery__name {
		min-height: 44px;
		font-size: 14px;
	}

	.vs-lightbox__caption .vs-gallery__meta {
		font-size: 13px;
	}

	.vs-lightbox__caption .vs-photo-credit {
		margin: 0;
		font-size: 12px;
	}

	/* The base light circle, with a dark ring so it shows over a light photo too (review C5-FE-06). */
	.vs-lightbox__nav {
		inset-block-end: auto;
		inset-block-start: 50%;
		transform: translateY(-50%);
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
	}

	.vs-lightbox__nav--prev {
		inset-inline-start: 8px;
	}

	.vs-lightbox__nav--next {
		inset-inline-end: 8px;
	}
}

/* visitsyria-motion: assets/css/motion.css */
/*
 * Motion and micro-interactions (review round 3, Docs/reviews/round3/UX.md M2–M7, M9). Tokens are in main.css
 * :root. Loaded last on every page, so its hover and press rules replace the page files' older ones.
 * Every movement sits inside prefers-reduced-motion: no-preference. Content is hidden only under html.vs-motion,
 * which motion.js sets after marking the first screen as shown: never without JavaScript or with reduced motion.
 */

/* Placeholder colour behind lazy photos that had none (UX measurements; P04, P12–P14, blog bylines, slider
   thumbnails). On the image itself, so it follows the image's own corners; such images do not fade (M3). */
:where(.vs-about-mosaic__grid, .vs-about-gallery__grid, .vs-about-strip, .vs-about-geo__photo, .vs-about-hosp__photo, .vs-mosaic, .vs-shop-story__media, .vs-shop-gallery__track, .vs-shop-dir__map, .vs-slider__thumb) img,
img:where(.vs-dish__img, .vs-offer__bg, .vs-facility__img, .vs-shop-closing__img),
img.vs-byline__photo:not([src$=".png"]) {
	background-color: var(--vs-img-placeholder);
}

/* Activity card overlay (home.css): the gradient's darkness is a registered number, so it can ease. The listing's
   stronger scrim reaches the same solid 0.7 on hover. */
@property --vs-act-shade {
	syntax: "<number>";
	inherits: false;
	initial-value: 0;
}

.vs-listing .vs-activity-card__link::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, var(--vs-act-shade, 0)) 30%, rgba(0, 0, 0, calc(0.5 + var(--vs-act-shade, 0) * 0.2857)) 55%, rgba(0, 0, 0, calc(0.82 - var(--vs-act-shade, 0) * 0.1714)) 100%);
}

@media (hover: hover) {
	.vs-listing .vs-activity-card__link:hover::after,
	.vs-listing .vs-activity-card__link:focus-visible::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, var(--vs-act-shade, 0)) 30%, rgba(0, 0, 0, calc(0.5 + var(--vs-act-shade, 0) * 0.2857)) 55%, rgba(0, 0, 0, calc(0.82 - var(--vs-act-shade, 0) * 0.1714)) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs-activity-card__link::after {
		transition: none; /* main.css's "* { transition: none }" does not reach pseudo-elements. */
	}
}

/* M7: the counting copy keeps the final number's width, so nothing beside it moves. */
.vs-count {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

@media (prefers-reduced-motion: no-preference) {

	/* M2 scroll reveal: fade and a short rise, once; split text from the inline start (the right in RTL),
	   media from 0.98. motion.js sets data-vs-reveal and --vs-i (stagger index, at most 5). */
	.vs-motion [data-vs-reveal]:not(.is-in) {
		opacity: 0;
		translate: 0 var(--vs-rise);
	}

	.vs-motion [data-vs-reveal="start"]:not(.is-in) {
		translate: calc(var(--vs-start) * var(--vs-slide)) 0;
	}

	.vs-motion [data-vs-reveal="media"]:not(.is-in) {
		translate: none;
		scale: 0.98;
	}

	.vs-motion [data-vs-reveal] {
		transition: opacity var(--vs-dur-slow) var(--vs-ease-out), translate 480ms var(--vs-ease-out), scale 480ms var(--vs-ease-out);
		transition-delay: calc(var(--vs-i, 0) * var(--vs-stagger));
	}

	/* Focus, print and anchors reveal at once. */
	.vs-motion .vs-now {
		transition: none !important;
	}

	/* A split block arriving from the side never widens the page. */
	.vs-motion main {
		overflow-x: clip;
	}

	/* M3 lazy images: fade in over the wrapper's placeholder, only while loading (motion.js). */
	.vs-motion img[loading="lazy"] {
		transition: opacity var(--vs-dur-base) var(--vs-ease-std), filter var(--vs-dur-fade-hover) var(--vs-ease-std); /* Keeps the M4 hover fade soft on lazy card photos (2026-11-02). */
	}

	.vs-motion img.is-loading {
		opacity: 0;
	}

	/* M5 tab panels (governorate.js marks the box after the first change): the new panel fades in. */
	.vs-tabs.is-changed .vs-tabs__panel:not([hidden]) {
		animation: vs-fade-in 160ms var(--vs-ease-std);
	}

	/* UX-P01-5: cards left by an activity filter fade in (carousel.js). */
	.vs-activity-card.is-filtered {
		animation: vs-fade-in 150ms var(--vs-ease-std);
	}
}

@keyframes vs-fade-in {
	from {
		opacity: 0;
	}
}

@media print {
	[data-vs-reveal],
	img.is-loading {
		transition: none !important;
		opacity: 1 !important;
		translate: none !important;
		scale: none !important;
	}
}

/* M4 hover: one language for every photo card. The photo fades softly (a gentle dim, no zoom: the user found the
   zoom harsh, 2026-11-02); bordered cards also lift. Pointer devices only. Activity pills keep their own dark
   overlay fade (home.css), so their photo is not dimmed twice. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.vs-gov-card__media img,
	.vs-place-card__media img,
	.vs-activity-card__media img,
	.vs-article-card__media img,
	.vs-guide-card__media img,
	.vs-gov-hl__photo img,
	.vs-todo-card__arch img,
	.vs-near-card__media img,
	.vs-ho-card__media img,
	.vs-ho-room__media img,
	.vs-type-card__media img,
	.vs-cuisine__photo img,
	.vs-shop-card > img,
	.vs-inv-sector > img,
	img.vs-offer__bg,
	img.vs-dish__img {
		transition: filter var(--vs-dur-fade-hover) var(--vs-ease-std), opacity var(--vs-dur-base) var(--vs-ease-std);
	}

	.vs-gov-card:hover .vs-gov-card__media img,
	.vs-place-card__link:hover .vs-place-card__media img,
	.vs-article-card__link:hover .vs-article-card__media img,
	.vs-guide-card__link:hover .vs-guide-card__media img,
	.vs-gov-hl:hover .vs-gov-hl__photo img,
	.vs-todo-card__arch:has(a:hover) img,
	.vs-near-card:hover .vs-near-card__media img,
	.vs-ho-card:hover .vs-ho-card__media img,
	.vs-ho-room:hover .vs-ho-room__media img,
	.vs-type-card:hover .vs-type-card__media img,
	.vs-cuisine__card:hover .vs-cuisine__photo img,
	.vs-shop-card:hover > img,
	.vs-inv-sector:hover > img,
	.vs-offer:hover .vs-offer__bg,
	.vs-dish:hover .vs-dish__img {
		filter: brightness(var(--vs-hover-dim));
	}

	.vs-blog-card,
	.vs-inv-sector {
		transition: translate var(--vs-dur-fast) var(--vs-ease-std), box-shadow var(--vs-dur-fast) var(--vs-ease-std);
	}

	.vs-blog-card:hover,
	.vs-inv-sector:hover {
		translate: 0 -2px;
		box-shadow: 0 10px 24px rgb(5 66 57 / 0.1);
	}

	/* Arrow links: the icon nudges 3 px toward the reading direction (left in RTL). */
	.vs-link-arrow .vs-icon,
	.vs-pill-link__arrow {
		transition: translate var(--vs-dur-fast) var(--vs-ease-std);
	}

	.vs-link-arrow:hover .vs-icon,
	.vs-pill-link:hover .vs-pill-link__arrow {
		translate: calc(var(--vs-start) * -3px) 0;
	}

	/* Activity card «المزيد»: fades and rises 4 px instead of popping (the overlay itself: home.css). */
	.vs-activity-card__more {
		opacity: 0;
		translate: 0 4px;
		transition-property: opacity, translate, display;
		transition-duration: var(--vs-dur-fast);
		transition-timing-function: var(--vs-ease-out);
		transition-behavior: allow-discrete;
	}

	.vs-activity-card__link:is(:hover, :focus-visible) .vs-activity-card__more {
		opacity: 1;
		translate: 0 0;
	}

	@starting-style {
		.vs-activity-card__link:is(:hover, :focus-visible) .vs-activity-card__more {
			opacity: 0;
			translate: 0 4px;
		}
	}
}

/* Colour changes: chips, pager, carousel arrows and submit buttons (focus rings stay instant). */
.vs-chip,
.vs-pager__link,
.vs-arrow,
.vs-input-group__submit,
.vs-hero-search__submit,
.vs-search__submit,
.vs-nav-toggle {
	transition: background-color var(--vs-dur-fast) var(--vs-ease-std), color var(--vs-dur-fast) var(--vs-ease-std), scale var(--vs-dur-press) var(--vs-ease-std);
}

/* Press feedback (UX-SW-4): every control darkens; with motion allowed it also shrinks slightly. */
.vs-btn--primary:active,
.vs-arrow:not(:disabled):active,
.vs-input-group__submit:active,
.vs-hero-search__submit:active,
.vs-search__submit:active {
	background-color: color-mix(in srgb, var(--vs-primary) 82%, #000);
}

.vs-btn--secondary:active,
.vs-chip:not(.is-active):not([aria-pressed="true"]):active,
.vs-pill-link:active {
	background-color: color-mix(in srgb, var(--vs-primary) 14%, var(--vs-bg));
}

@media (prefers-reduced-motion: no-preference) {
	.vs-btn:active,
	.vs-arrow:not(:disabled):active,
	.vs-chip:active,
	.vs-pill-link:active,
	.vs-pager__link:active,
	.vs-input-group__submit:active,
	.vs-hero-search__submit:active,
	.vs-search__submit:active,
	:is(.vs-gov-card, .vs-place-card, .vs-activity-card, .vs-article-card, .vs-guide-card, .vs-gov-hl, .vs-near-card, .vs-todo-card, .vs-type-card, .vs-blog-card, .vs-ho-card, .vs-ho-room):has(a:active) {
		scale: var(--vs-press);
	}

	.vs-pill-link,
	.vs-pager__link,
	:is(.vs-gov-card, .vs-place-card, .vs-activity-card, .vs-article-card, .vs-guide-card, .vs-gov-hl, .vs-near-card, .vs-todo-card, .vs-type-card, .vs-ho-card, .vs-ho-room) {
		transition: scale var(--vs-dur-press) var(--vs-ease-std);
	}
}

/* M5 mobile menu: 180 ms fade and 8 px drop when opening, 140 ms when closing; the toggle icons crossfade.
   Browsers without @starting-style keep the instant toggle. */
@media (max-width: 1199px) and (prefers-reduced-motion: no-preference) {
	.vs-js .vs-nav {
		opacity: 0;
		translate: 0 -8px;
		transition-property: opacity, translate, display;
		transition-duration: 140ms;
		transition-timing-function: var(--vs-ease-in);
		transition-behavior: allow-discrete;
	}

	.vs-js .vs-nav.is-open {
		opacity: 1;
		translate: 0 0;
		transition-duration: var(--vs-dur-fast);
		transition-timing-function: var(--vs-ease-out);
	}

	@starting-style {
		.vs-js .vs-nav.is-open {
			opacity: 0;
			translate: 0 -8px;
		}
	}

	.vs-nav-toggle > .vs-icon {
		grid-area: 1 / 1;
		transition: opacity var(--vs-dur-press) var(--vs-ease-std);
	}

	.vs-nav-toggle .vs-nav-toggle__close,
	.vs-nav-toggle[aria-expanded="true"] .vs-nav-toggle__open {
		display: block;
		opacity: 0;
	}

	.vs-nav-toggle[aria-expanded="true"] .vs-nav-toggle__close {
		opacity: 1;
	}
}

/* ==========================================================================
   M6 header on scroll (UX M6; owner decision approved 2026-11-01). motion.js sets html.vs-scrolled past 120 px
   (kept back to the very top, where the static header sits at the same place), html.vs-header-hidden while
   scrolling down, and html.vs-header-anim one frame after the switch, so the switch to fixed never slides.
   Without JavaScript none is set and the static header of the design stays. Screen only: print keeps it static.
   ========================================================================== */
@media screen {
	/* Anchors (#vs-reviews …), focus and in-page jumps stop below the fixed header: its top offset, the bar and
	   16 px. Set from the first paint (html.vs-js comes from the inline head script), before any jump. */
	html.vs-js {
		scroll-padding-block-start: calc(24px + 56px + 16px + var(--wp-admin--admin-bar--height, 0px));
	}

	/* The scroll padding replaces the 120 px margin of the governorate's jump targets (governorate.css), which
	   would otherwise add up to a 216–249 px gap above «مطاعم» and «كنوز». */
	html.vs-js .vs-gov-places,
	html.vs-js .vs-gov-treasures {
		scroll-margin-block-start: 0;
	}

	/* Out of the flow already (absolute), so turning fixed moves nothing on the page. Only the bar takes clicks:
	   the full-width wrapper must not cover the content beside it. */
	.vs-scrolled .vs-header {
		position: fixed;
		pointer-events: none;
	}

	.vs-scrolled .vs-header__bar {
		pointer-events: auto;
		/* The header surface laid over the page background: solid, the same tone as over a plain section. */
		background: linear-gradient(var(--wp--custom--header-surface), var(--wp--custom--header-surface)), var(--vs-bg);
		box-shadow: var(--wp--custom--shadow-search);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	/* Off screen with its shadow: the bar, the top offset (24/30 px), the shadow and the admin bar. */
	.vs-header-hidden .vs-header {
		translate: 0 calc(-100% - 64px - var(--wp-admin--admin-bar--height, 0px));
	}

	@media (min-width: 1200px) {
		html.vs-js {
			scroll-padding-block-start: calc(30px + 83px + 16px + var(--wp-admin--admin-bar--height, 0px));
		}
	}

	/* Up to 600 px the admin bar scrolls away with the page (WordPress core), so the fixed header ignores it. */
	@media (max-width: 600px) {
		html.vs-js {
			scroll-padding-block-start: 96px;
		}

		.vs-scrolled .vs-header {
			inset-block-start: 24px;
		}
	}
}

/* The slide: hiding 240 ms ease-in, showing 280 ms ease-out. With reduced motion it shows and hides at once. */
@media screen and (prefers-reduced-motion: no-preference) {
	.vs-header-anim .vs-header {
		transition: translate 280ms var(--vs-ease-out);
	}

	.vs-header-anim.vs-header-hidden .vs-header {
		transition: translate 240ms var(--vs-ease-in);
	}
}

/* visitsyria-forms: assets/css/forms.css */
/*
 * Contact Us (Docs/pages/P19-contact.md; desktop 190:6444, mobile 991:49987) and Suggest a Place (P20-suggest.md;
 * desktop 190:313, mobile 1237:33398). Mobile first; desktop from 1024 px (UX-SW-10). Contact cards and social links reuse
 * restaurant.css. Placeholders #6B666D (design #878787 is below 4.5:1 on white).
 */

/* Fields */

.vs-form {
	display: grid;
	gap: 16px;
}

.vs-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.vs-field__label {
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.4;
}

.vs-field__optional {
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-field__control {
	position: relative;
}

.vs-field input:not([type="checkbox"]):not([type="file"]),
.vs-field select,
.vs-field textarea {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge, ≥ 3 : 1. */
	border-radius: 12px;
	background: var(--vs-surface);
	color: var(--vs-dark-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.vs-field textarea {
	min-height: 166px;
	resize: vertical;
}

.vs-field select {
	padding-inline-start: 16px;
	padding-inline-end: 48px;
	appearance: none;
}

.vs-field ::placeholder {
	color: #6b666d;
	opacity: 1;
}

.vs-field input:focus-visible,
.vs-field select:focus-visible,
.vs-field textarea:focus-visible {
	border-color: var(--vs-primary);
	outline: none;
	box-shadow: var(--vs-focus);
}

.vs-field .vs-field__control.has-icon input:not([type="checkbox"]):not([type="file"]) {
	padding-inline-start: 48px;
}

/* E-mail and phone are typed left to right but sit on the right like the other fields. */
.vs-field input[type="email"],
.vs-field input[type="tel"] {
	direction: ltr;
	text-align: right;
}

.vs-field input[type="email"]::placeholder,
.vs-field input[type="tel"]::placeholder {
	direction: rtl;
}

/* Free text with dir="auto" (fix 9 R2-P12-R1-11a; parts/forms/field.php). Chrome gives an empty dir="auto" field the
   direction ltr, so the Arabic placeholder, the caret and the resize grip went to the left (review C3-FE-01). The field
   stays right to left like the form, and each line takes the direction of its own text (plaintext): a Latin name or
   message still reads and aligns left to right once typed. */
.vs-field input[dir="auto"],
.vs-field textarea[dir="auto"] {
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: start;
}

.vs-field__icon,
.vs-field__chevron {
	position: absolute;
	inset-block-start: 16px;
	width: 24px;
	height: 24px;
	color: var(--vs-secondary-text);
	pointer-events: none;
}

.vs-field__icon {
	inset-inline-start: 16px;
}

.vs-field__chevron {
	inset-inline-end: 16px;
}

.vs-field__icon .vs-icon,
.vs-field__chevron .vs-icon {
	width: 24px;
	height: 24px;
}

.vs-field__hint {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}


.vs-field__error {
	margin: 0;
	color: #b3261e;
	font-size: 14px;
	font-weight: 500;
}

/* Honeypot: out of sight and out of the tab order. */
.vs-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vs-form__subject {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--vs-surface);
	font-size: 15px;
}

/* Who answers an availability question (persona study R2, P0-1): read before the fields, in the form's own surface
   with an accent edge on the reading start. */
.vs-form__note {
	margin: 0;
	padding: 4px 12px;
	border-inline-start: 3px solid var(--vs-primary);
	border-radius: 0; /* A straight accent edge, and no field-like box (review FE-12). */
	background: transparent;
	font-size: 15px;
	line-height: 1.6;
}

.vs-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
}

.vs-form__submit .vs-icon {
	width: 16px;
	height: 16px;
}

.vs-form-status {
	margin-block-end: 16px;
	padding: 16px;
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.5;
}

.vs-form-status p {
	margin: 0;
}

.vs-form-status ul {
	margin: 8px 0 0;
	padding-inline-start: 20px;
}

.vs-form-status a {
	color: inherit;
}

.vs-form-status--ok {
	background: #e3efe9;
	color: var(--vs-primary-text);
}

.vs-form-status--error {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-form-status:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

/* Image drop zone */

.vs-drop {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 32px 16px;
	border: 1px solid var(--vs-field-edge, #7d776d); /* UX2-02 (fix round 4): the shared field edge, ≥ 3 : 1. */
	border-radius: 12px;
	background: var(--vs-surface);
	text-align: center;
}

.vs-drop.is-over {
	border-color: var(--vs-primary);
	background: #f5f8f4;
}

.vs-drop__icon .vs-icon {
	width: 32px;
	height: 32px;
	color: var(--vs-primary);
}

.vs-drop__text,
.vs-drop__name {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

/* «اسحب الصورة هنا» only once the script handles a drop on the whole zone (P20 review round 2). */
.vs-drop:not(.is-enhanced) .vs-drop__text {
	display: none;
}

.vs-drop__button {
	display: none;
	padding: 6px 12px;
	border: 1px solid var(--vs-primary);
	border-radius: 12px;
	color: var(--vs-primary);
	font-size: 12px;
}

/* «إزالة الصورة» (added by forms.js once an image is chosen): above the field that covers the zone. */
.vs-drop__remove {
	position: relative;
	z-index: 1;
	min-height: 32px;
	padding: 4px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--wp--custom--accent-strong);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vs-drop__remove[hidden] {
	display: none;
}

.vs-drop__remove:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

/* With JavaScript the native field covers the zone (it stays the real, labelled control). */
.vs-drop.is-enhanced .vs-drop__button {
	display: inline-block;
}

.vs-drop.is-enhanced .vs-drop__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.vs-drop.is-enhanced:focus-within {
	border-color: var(--vs-primary);
	box-shadow: var(--vs-focus);
}

/* P19 contact */

.vs-contact {
	padding-block: calc(110px + var(--wp-admin--admin-bar--height, 0px)) 24px;
}

.vs-contact__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-contact__intro {
	margin: 4px 0 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-contact__grid {
	display: grid;
	gap: 32px;
	margin-block-start: 24px;
}

.vs-contact__heading {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-contact__heading span {
	color: var(--wp--custom--gold-text); /* #6E5F42: the design's gold is 2.9:1 at this size. */
}

.vs-contact__details-intro {
	margin: 8px 0 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
}

.vs-contact .vs-contact-cards {
	margin-block-start: 24px;
}

/* P19 cards (227:3242, badge 227:3179): their own look over the shared restaurant card. */
.vs-contact .vs-contact-card {
	padding: 18px 16px;
	border-color: rgba(5, 66, 57, 0.4);
	border-radius: var(--wp--custom--radius-md);
	background: var(--wp--preset--color--bg-alt);
}

.vs-contact .vs-contact-card__icon {
	background: var(--wp--preset--color--bg);
}

.vs-contact .vs-contact-card__text {
	overflow-wrap: break-word;
}

/* Fix 9 R2-P01-S1-05 (2026-11-17): the e-mail address stays on one line (it broke after «@» at 1440 px): a little
   smaller in a narrow card, and if it still does not fit it breaks before «@» (the template's two parts), never inside
   a part; only the narrowest phones may break it anywhere rather than overflow the card. */
.vs-contact .vs-contact-card {
	container-type: inline-size;
}

.vs-contact .vs-contact-card__email > span {
	white-space: nowrap;
}

@container (max-width: 300px) {
	.vs-contact .vs-contact-card__email {
		font-size: 15px;
	}
}

@media (max-width: 359px) {
	.vs-contact .vs-contact-card__email > span {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

.vs-contact__social {
	border: 0;
}

.vs-form-card {
	padding: 16px;
	border-radius: 16px;
	background: var(--wp--preset--color--bg-alt);
}

.vs-form-card__title {
	margin: 0 0 16px;
	color: var(--vs-primary-text);
	font-size: 22px;
	font-weight: 700;
}

/* The design's borderless white fields measured 1.36 : 1 on the beige card (audit r2 UX2-02): they keep the shared
   field edge now (fix round 4, 2026-11-15); only the corner radius is the design's. */
.vs-contact .vs-field input:not([type="checkbox"]),
.vs-contact .vs-field textarea {
	border-radius: var(--wp--custom--radius-sm); /* 47:3874 */
}

.vs-contact .vs-form__submit {
	border-radius: var(--wp--custom--radius-md); /* 231:3678 */
	font-size: 14px;
}

/* P20 suggest */

.vs-suggest {
	padding-block: calc(98px + var(--wp-admin--admin-bar--height, 0px)) 24px;
}

.vs-suggest__card {
	padding: 24px 16px;
	border-radius: 24px;
	background: var(--vs-surface);
}

.vs-suggest__title {
	margin: 0;
	color: var(--vs-primary-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.vs-suggest__intro {
	margin: 8px 0 16px;
	color: var(--vs-secondary-text);
	font-size: 15px;
	line-height: 1.5;
}

/* The suggest form passed first (#878787, 3.59 : 1 on white; the design's #D7D7D7 is 1.4 : 1); since fix round 4
   (audit r2 UX2-02, 2026-11-15) it takes the one shared field edge like every other form. */
.vs-suggest .vs-field input:not([type="file"]),
.vs-suggest .vs-field select,
.vs-suggest .vs-field textarea,
.vs-suggest .vs-drop {
	border-color: var(--vs-field-edge, #7d776d);
}

/* Fields in error, after the page overrides above so the red edge is not lost (P19/P20 review round 2). */
.vs-field.has-error input,
.vs-field.has-error select,
.vs-field.has-error textarea,
.vs-field.has-error .vs-drop,
.vs-contact .vs-field.has-error input:not([type="checkbox"]),
.vs-contact .vs-field.has-error textarea,
.vs-suggest .vs-field.has-error input:not([type="file"]),
.vs-suggest .vs-field.has-error select,
.vs-suggest .vs-field.has-error textarea {
	border-color: #b3261e;
}

.vs-suggest__notice {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.5;
}

/* Under the success message: the way back to the form or the home page. */
.vs-form-status__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vs-form-status__links a {
	font-weight: 700;
	text-underline-offset: 3px;
}

/* Tablet and desktop */

@media (min-width: 768px) {
	.vs-form--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px; /* 1237:32127 */
	}

	/* Four cards in two rows of two, not three and one (P19 review round 2). */
	.vs-contact .vs-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vs-form--grid > .vs-field--wide,
	.vs-form--grid > .vs-form-status,
	.vs-form--grid > .vs-suggest__notice {
		grid-column: 1 / -1;
	}

	/* Two fields side by side line up at the top when only one has a hint (review C3-FE-03: «ساعات العمل» beside
	   «هاتف المكان»). */
	.vs-form--grid > .vs-field {
		align-content: start;
	}

	.vs-form--grid > .vs-form__submit {
		grid-column: 1 / -1;
		justify-self: center;
		width: 261px;
	}
}

@media (min-width: 1024px) {
	.vs-contact {
		padding-block: calc(230px + var(--wp-admin--admin-bar--height, 0px)) 0;
	}

	.vs-contact__title {
		font-size: 96px; /* 190:6836 */
		line-height: 1.2;
	}

	.vs-contact__intro {
		margin-block-start: 24px;
		font-size: 32px;
	}

	.vs-contact__grid {
		grid-template-columns: minmax(0, 590fr) minmax(0, 542fr);
		align-items: start;
		gap: 68px;
		margin-block-start: 90px;
	}

	.vs-contact__heading {
		font-size: 48px;
	}

	.vs-contact__details-intro {
		margin-block-start: 24px;
		font-size: 20px; /* 229:3311 */
	}

	.vs-contact .vs-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		margin-block-start: 48px;
	}

	.vs-contact__social {
		grid-template-columns: 1fr auto;
		margin-block-start: 48px;
		padding-block-start: 0;
	}

	.vs-form-card {
		padding: 24px;
	}

	.vs-form-card__title {
		margin-block-end: 40px;
		font-size: 48px; /* 231:4198 */
	}

	.vs-contact .vs-form {
		gap: 20px;
	}

	.vs-contact .vs-form__submit {
		margin-block-start: 12px;
	}

	.vs-suggest {
		padding-block: calc(195px + var(--wp-admin--admin-bar--height, 0px)) 64px;
	}

	.vs-suggest__card {
		padding: 48px;
	}

	.vs-suggest__title {
		font-size: 48px;
	}

	.vs-suggest__intro {
		margin-block: 24px 32px;
		font-size: 20px;
	}
}

/* 1024–1199: the details column is about 480 px wide, too narrow for two cards side by side (the e-mail address
   ran out of its card), so the four cards stack beside the form. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.vs-contact .vs-contact-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

.vs-form__subject input[type="checkbox"] {
	accent-color: var(--wp--preset--color--primary);
}

[data-vs-drop-name].is-error {
	color: var(--wp--custom--accent-strong);
	font-weight: 700;
}

/* Sending state (review round 3, UX-SW-3; forms.js): the button keeps its colour and size, shows a 16 px ring and
   «جارٍ الإرسال…» and stops taking clicks. The ring turns only when motion is allowed. */
.vs-form[aria-busy="true"] .vs-form__submit {
	cursor: progress;
}

.vs-spinner {
	flex: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
	.vs-spinner {
		animation: vs-spin 0.8s linear infinite;
	}
}

@keyframes vs-spin {
	to {
		rotate: 1turn;
	}
}

/* A tick with its label (the review declaration, the suggestion photo's consent). FR1-FE-01 (2026-11-07): moved from
   reviews.css, which /suggest/ does not load, so the consent tick is a 24 px box beside its label there too. */

.vs-field--check {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 6px 12px;
	font-size: 15px;
	line-height: 1.6;
}

.vs-field--check input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--vs-primary);
}

.vs-field--check label {
	color: var(--vs-dark-text);
}

.vs-field--check .vs-field__error,
.vs-field--check .vs-field__hint {
	grid-column: 1 / -1;
}

.vs-field--check a {
	color: var(--vs-primary);
	text-underline-offset: 3px;
}

/* Review FE-02 (2026-11-17): «كيف نُعِدّ المعلومات» after the owner tick's fee sentence is a 44 px target. */
.vs-field__note a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	white-space: nowrap;
}

/* FR1-FE-14 (2026-11-07): the two addresses of «تواصل معنا», one list item each, with a small gap. */
.vs-contact .vs-contact-card__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Fix 9 (persona round R2, 2026-11-17). R1-P04-10: the subject a link chose is text with a small «إزالة» link, no
   longer a tick. Review C3-FE-04: «إزالة» stands alone, so it is a 44 × 44 px target. */
.vs-form__subject {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}

.vs-form__subject-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-inline-size: 44px;
	padding-inline: 4px;
	color: var(--wp--custom--accent-strong);
	font-size: 14px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.vs-form__subject-remove:focus-visible,
.vs-form__privacy a:focus-visible {
	outline: none;
	border-radius: 4px;
	box-shadow: var(--vs-focus);
}

/* R2-P03-R1-08: the privacy line sits under «إرسال»; its link is a 32 px target. */
.vs-form__privacy a {
	display: inline-block;
	min-height: 32px;
	padding-block: 4px;
	color: var(--vs-primary);
	text-underline-offset: 3px;
}

/* A sentence shown only for one message type (data-vs-when, forms.js) and the optional mark switched with it. */
[data-vs-when][hidden],
[data-vs-optional-mark][hidden] {
	display: none;
}

/* «انقطع الاتصال» and «أُرسلت هذه الرسالة» (forms.js): the form's own note style. */
.vs-form__offline,
.vs-form__done {
	margin: 0;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 15px;
}

.vs-form__offline {
	background: #fbeceb;
	color: #8c1d18;
}

.vs-form__done,
.vs-form__offline.is-back { /* Fix 9 C1-FE-R4: «عاد الاتصال…» is good news, in the success colours. */
	background: #e3efe9;
	color: var(--vs-primary-text);
}

/* Above the form (a return after a send, or an expired confirmation page): the same space below as a status box
   (review C3-FE-05). */
.vs-form-card > .vs-form__done {
	margin-block-end: 16px;
}

/* R1-P02-06: a touch screen has nothing to drag onto: no «اسحب الصورة هنا أو», and the button reads «اختر صورة». */
.vs-drop__coarse {
	display: none;
}

@media (pointer: coarse) {
	.vs-drop.is-enhanced .vs-drop__text,
	.vs-drop__fine {
		display: none;
	}

	.vs-drop__coarse {
		display: inline;
	}
}

/* visitsyria-reviews: assets/css/reviews.css */
/*
 * Visitor reviews «تقييمات الزوار» (Docs/reviews/round3/PM.md §4.7, §4.9): loaded with forms.css on the record
 * pages that show the section (includes/reviews.php). The summary sits on the beige panel with the gold number
 * #7A5A00 (as the P12 dish rating) and the #FFC107 stars with a text equivalent; the reviews are white cards of
 * the testimonial family without photos. Mobile first; two columns from 1024 px (UX-SW-10). No animation.
 */

.vs-reviews__head {
	margin-block-end: 24px;
}

.vs-reviews .vs-form-status {
	margin-block-end: 24px;
}

.vs-reviews__grid {
	display: grid;
	gap: 24px;
	align-items: start;
}

.vs-reviews__side {
	display: grid;
	gap: 16px;
	min-width: 0;
}

/* Summary */

.vs-reviews__summary {
	display: grid;
	gap: 16px;
	padding: 24px;
	border-radius: var(--wp--custom--radius-lg);
	background: var(--wp--preset--color--bg-alt);
}

.vs-reviews__score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.vs-reviews__avg {
	margin: 0;
	color: #7a5a00; /* 6.0:1 on the beige; the design yellow is kept for the stars. */
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
}

.vs-reviews__score-meta {
	display: grid;
	gap: 6px;
}

.vs-reviews__based,
.vs-reviews__count {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 16px;
	line-height: 1.4;
}

.vs-reviews__count {
	font-weight: 700;
}

.vs-reviews__bars {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-reviews__bar {
	display: grid;
	grid-template-columns: 6.5em minmax(0, 1fr) 2.5em;
	align-items: center;
	gap: 8px;
	color: var(--vs-dark-text);
	font-size: 14px;
	line-height: 1.4;
}

.vs-reviews__bar-track {
	height: 8px;
	overflow: hidden;
	border-radius: var(--wp--custom--radius-pill);
	background: var(--vs-surface);
}

.vs-reviews__bar-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #7a5a00;
}

.vs-reviews__bar-count {
	text-align: end;
	font-variant-numeric: tabular-nums;
}

/* Stars: the grey row with the yellow row clipped over it (from the start side: the right in Arabic). */

.vs-rating {
	position: relative;
	display: inline-flex;
	flex: none;
	width: max-content;
}

.vs-rating__base,
.vs-rating__fill {
	display: flex;
	gap: 4px;
}

.vs-rating__base {
	color: var(--vs-gold-soft);
}

.vs-rating__fill {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: var(--vs-fill, 0%);
	overflow: hidden;
	color: var(--wp--custom--rating);
}

.vs-rating .vs-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.vs-rating--lg .vs-icon {
	width: 24px;
	height: 24px;
}

/* The reviews */

.vs-reviews__main {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.vs-reviews__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-review {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-radius: var(--wp--custom--radius-md);
	background: var(--vs-surface);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.vs-review__head {
	display: grid;
	justify-items: start;
	gap: 4px;
}

.vs-review__name {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vs-review__country,
.vs-review__meta {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vs-review__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
}

.vs-review__meta span + span::before {
	content: "·";
	margin-inline-end: 12px;
}

.vs-review__text {
	color: var(--vs-secondary-text);
	font-size: 16px;
	line-height: 1.6;
}

.vs-review__text p {
	margin: 0;
	white-space: pre-line; /* The visitor's own line breaks. */
	overflow-wrap: anywhere;
	unicode-bidi: plaintext;
}

.vs-review__more summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--vs-primary);
	font-weight: 700;
	cursor: pointer;
}

.vs-review__report {
	display: flex; /* FR1-FE-07 (2026-11-07): the report link and the owner's request on one row. */
	flex-wrap: wrap;
	column-gap: 20px;
	margin: 0;
	font-size: 14px;
}

/* FR1-FE-06 (2026-11-07): the owner's reply is set apart from the visitor's review. */
.vs-review__reply {
	margin-block-start: 12px;
	padding: 12px 16px;
	border-inline-start: 3px solid var(--vs-primary);
	border-radius: 8px;
	background: rgba(5, 66, 57, 0.06);
}

.vs-review__reply .vs-review__meta {
	margin: 0 0 4px;
	font-size: 14px;
}

.vs-review__report a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--vs-secondary-text);
	text-underline-offset: 3px;
}

/* Page links */

.vs-reviews__pages ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-reviews__pages a {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 12px;
	border-radius: var(--wp--custom--radius-pill);
	background: var(--vs-surface);
	color: var(--vs-primary);
	font-weight: 700;
	text-decoration: none;
}

.vs-reviews__pages a[aria-current="page"] {
	background: var(--vs-primary);
	color: var(--vs-surface);
}

.vs-reviews__pages a:focus-visible {
	outline: none;
	box-shadow: var(--vs-focus);
}

/* The signed-in author's own waiting review (R1-P04-16): a quiet status line, as the form's «ok» status. */

.vs-reviews__mine {
	max-width: 720px;
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #e3efe9;
	color: var(--vs-primary-text);
	font-size: 16px;
	line-height: 1.6;
}

.vs-reviews__mine a {
	color: inherit;
	font-weight: 700;
}

/* The line alone (no reviews yet, the author's review waiting, C4-FE-04): no gap before the section's end. */
.vs-reviews__mine:last-child {
	margin-block-end: 0;
}

/* Empty state and the form toggle */

.vs-reviews__empty {
	display: grid;
	gap: 16px;
	max-width: 720px;
}

.vs-reviews__empty-text {
	margin: 0;
	color: var(--vs-dark-text);
	font-size: 18px;
	line-height: 1.5;
}

.vs-reviews__toggle {
	width: max-content;
	max-width: 100%;
	min-height: 48px;
	list-style: none;
	cursor: pointer;
}

.vs-reviews__toggle::-webkit-details-marker {
	display: none;
}

.vs-reviews__toggle::marker {
	content: "";
}

.vs-reviews__add[open] .vs-reviews__toggle {
	margin-block-end: 16px;
}

.vs-reviews__form .vs-field textarea {
	min-height: 140px;
}

/* Star input: five radios, each with a visible star and a spoken «3 من 5 — جيد». Filled from the start side up
   to the checked one (the label of the checked radio and every label before it). */

.vs-rate-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vs-rate-field legend {
	margin-block-end: 6px;
	padding: 0;
}

.vs-rate {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: max-content;
	max-width: 100%;
	border-radius: var(--wp--custom--radius-sm);
}

.vs-rate:focus-within {
	box-shadow: var(--vs-focus);
}

.vs-rate__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	opacity: 0;
}

.vs-rate__star {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--vs-gold-soft);
	cursor: pointer;
}

.vs-rate__star .vs-icon {
	width: 32px;
	height: 32px;
	/* Audit r2 UX2-02 / C-18 (fix round 4, 2026-11-15): the soft gold fill is 1.74 : 1 on the beige section, so each
	   star of the input carries the shared field edge as its outline (3.27 : 1 on #E3DDCB, 4.44 : 1 on white); the
	   chosen stars keep it around the yellow. 1 unit of the 16-unit star = 2 px at 32 px, drawn over the fill (half inside),
	   so the tips keep their outline where the symbol's own box clips the outer half. */
	stroke: var(--vs-field-edge, #7d776d);
	stroke-width: 1;
	stroke-linejoin: round;
	/* FR4-FE-05 (fix round 4 apply, 2026-11-15): the side and top points touch the 16-unit box, so the outer half of
	   the outline was cut flat there; the icon and its symbol now paint outside their box (1 px into the 44 px label). */
	overflow: visible;
}

#vs-icon-star {
	overflow: visible; /* The symbol's own viewport (the <use> instance) clips too; the fill stays inside 0–16. */
}

.vs-rate__input:checked + .vs-rate__star,
.vs-rate__star:has(~ .vs-rate__input:checked) {
	color: var(--wp--custom--rating);
}

@media (hover: hover) {
	.vs-rate:hover .vs-rate__star {
		color: var(--vs-gold-soft);
	}

	.vs-rate .vs-rate__star:hover,
	.vs-rate .vs-rate__star:has(~ .vs-rate__star:hover) {
		color: var(--wp--custom--rating);
	}
}

/* The chosen word beside the stars («جيد جداً»); the spoken label already says it. */
.vs-rate__input:checked + .vs-rate__star::after {
	content: attr(data-word);
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: calc(5 * 44px + 8px);
	transform: translateY(-50%);
	color: var(--vs-dark-text);
	font-size: 16px;
	white-space: nowrap;
}

.vs-rate-field.has-error .vs-rate__star {
	color: #b3261e;
}

/* The declaration: its tick («.vs-field--check») is styled in forms.css (FR1-FE-01, 2026-11-07), shared with /suggest/. */

.vs-form__privacy a {
	color: var(--vs-primary);
	text-underline-offset: 3px;
}

/* Forced colours: the stars keep a visible state. */
@media (forced-colors: active) {
	.vs-rating__fill,
	.vs-rate__input:checked + .vs-rate__star,
	.vs-rate__star:has(~ .vs-rate__input:checked) {
		color: Highlight;
	}

	.vs-reviews__bar-track span {
		background: CanvasText;
	}
}

@media (min-width: 1024px) {
	.vs-reviews__head {
		margin-block-end: 40px;
	}

	.vs-reviews__grid {
		grid-template-columns: 384px minmax(0, 1fr);
		gap: 48px;
	}

	.vs-review {
		padding: 24px;
	}
}

/* visitsyria-consent: assets/css/consent.css */
/*
 * Consent banner for optional third-party tools (committee P0-5; parts/measure/consent.php). Loaded only while a
 * tool works on the site. With two categories (2026-11-20) one unticked choice each and three answers. A bar at the bottom of the viewport, above the content but not covering it entirely; the two
 * answers have the same style and size (declining is as easy as accepting).
 */

.vs-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1000;
	padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
	background: var(--vs-surface);
	box-shadow: 0 -4px 24px rgb(0 0 0 / 12%);
	color: var(--vs-dark-text);
	font-family: var(--wp--preset--font-family--tajawal);
	/* Never taller than the screen, whatever the text size or orientation: it scrolls inside (review FX21-FE-3). */
	max-height: 85vh;
	max-height: 85dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vs-consent[hidden] {
	display: none;
}

.vs-consent__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}

.vs-consent__body {
	flex: 1 1 420px;
}

.vs-consent__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.vs-consent__text,
.vs-consent__staff {
	margin: 0;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-consent__text a {
	color: var(--vs-primary);
}

.vs-consent__staff {
	margin-top: 4px;
	font-size: 13px;
}

.vs-consent__actions {
	display: flex;
	gap: 12px;
}

.vs-consent__choice {
	min-width: 120px;
}

.vs-consent:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: -2px;
}

.vs-consent__current {
	margin: 4px 0 0;
	color: var(--vs-dark-text);
	font-size: 14px;
	font-weight: 700;
}

.vs-consent__cats {
	display: grid;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
}

.vs-consent__cat {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 10px;
	color: var(--vs-secondary-text);
	font-size: 14px;
	line-height: 1.7;
}

.vs-consent__cat label {
	color: var(--vs-dark-text);
	cursor: pointer;
}

.vs-consent__why {
	flex: 1 1 200px;
}

.vs-consent__details {
	margin: 8px 0 0;
	color: var(--vs-secondary-text);
	font-size: 13px;
	line-height: 1.7;
}

.vs-consent__details summary {
	color: var(--vs-primary);
	font-size: 14px;
	cursor: pointer;
}

.vs-consent__details summary:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: 2px;
}

.vs-consent__details p {
	margin: 4px 0 0;
}

.vs-consent__check {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: var(--vs-primary);
}

.vs-consent__check:focus-visible {
	outline: 2px solid var(--vs-primary);
	outline-offset: 2px;
}

/* While the banner is open the page reserves its height (measure.js sets --vs-consent-h), so it never hides the
   focused element or the end of the page (review FE-1, FE-2), and the save toast rises above it. */
html.vs-consent-open {
	scroll-padding-bottom: calc(var(--vs-consent-h, 0px) + 8px);
}

html.vs-consent-open body {
	padding-bottom: var(--vs-consent-h, 0px);
}

html.vs-consent-open .vs-saves-toast {
	inset-block-end: calc(16px + var(--vs-consent-h, 0px));
	z-index: 1001;
}

/* «خيارات التحليلات» or «خيارات الخصوصية»: one of the footer legal links, same size, colour and 36 px row (FE-8). */
.vs-footer__legal .vs-footer__consent {
	display: inline-block;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--vs-primary);
	font: inherit;
	font-size: 14px;
	line-height: 24px;
	cursor: pointer;
	transition: color var(--vs-dur-fast, 180ms) ease;
}

@media (hover: hover) {
	.vs-footer__legal .vs-footer__consent:hover {
		color: var(--wp--custom--gold-text);
		text-decoration: underline;
		text-underline-offset: 6px;
	}
}

.vs-footer__legal .vs-footer__consent:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.vs-consent__actions {
		flex-wrap: wrap;
		width: 100%;
	}

	/* Three answers: one per row, all the same size (review FX21-FE-6). */
	.vs-consent--cats .vs-consent__actions {
		flex-direction: column;
		gap: 8px;
	}

	.vs-consent--cats .vs-consent__choice {
		flex: none;
		width: 100%;
	}

	.vs-consent__choice {
		flex: 1 1 0;
	}
}

