/*
 * discreetapartment.com
 *
 * Written RTL-first with logical properties, so the same rules hold if a LTR
 * locale is ever added. No webfont is loaded: the previous build asked for Inter,
 * which carries no Hebrew glyphs, so every Hebrew character was already being
 * drawn by the system fallback. Naming that fallback directly renders the same
 * text and drops the font request.
 */

:root {
	--bg: #1f1f22;
	--bg-deep: #171719;
	--surface: #2a2a2f;
	--surface-2: #34343a;
	--line: #3d3d45;

	--text: #ffffff;
	--muted: #b4b4be;
	--muted-2: #8b8b96;

	--pink: #f72d93;
	--pink-dark: #d01778;
	--pink-bright: #ff6bb0;
	--on-bright: #1b0610;
	--whatsapp: #25d366;
	--whatsapp-dark: #1da851;
	--telegram: #229ed9;

	--radius: 10px;
	--radius-lg: 14px;
	--wrap: 1200px;
	--wrap-narrow: 760px;
	--gap: 24px;

	--step-0: 1rem;
	--step-1: 1.125rem;
	--step-2: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
	--step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
	--step-4: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);

	--font: Inter, "Segoe UI", Arial, "Helvetica Neue", sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.65;
	overflow-x: clip;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Inline icons in migrated content have a viewBox but no intrinsic size. */
.prose svg:not([width]),
.location-copy svg:not([width]) {
	width: 1.25em;
	height: 1.25em;
	display: inline-block;
	vertical-align: -0.2em;
	fill: currentColor;
}

a {
	color: var(--pink);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

:focus-visible {
	outline: 3px solid var(--pink);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	line-height: 1.25;
	font-weight: 700;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-inline-start: 1.4em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-block-start: -100px;
	inset-inline-start: 12px;
	z-index: 999;
	padding: 10px 16px;
	background: var(--pink);
	color: #fff;
	border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
	inset-block-start: 0;
}

/* Layout ------------------------------------------------------------------ */

.wrap {
	width: min(100% - 32px, var(--wrap));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - 32px, var(--wrap-narrow));
}

.site-main {
	display: block;
	min-height: 50vh;
	padding-block-end: 56px;
}

.section {
	padding-block: 40px;
}

.section-title {
	font-size: var(--step-3);
	text-align: center;
	margin-block-end: 28px;
}

.section__more,
.related__more {
	margin-block-start: 28px;
	text-align: center;
}

/* Header ------------------------------------------------------------------ */

.site-header {
	background: var(--bg-deep);
	position: relative;
	z-index: 20;
}

.topbar {
	border-block-end: 1px solid var(--line);
	font-size: 0.9rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding-block: 8px;
}

.topbar__label {
	font-weight: 600;
	color: var(--text);
}

.topbar__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	flex: 0 0 auto;
}

.topbar__icon:hover {
	text-decoration: none;
	filter: brightness(1.12);
}

.topbar__icon--whatsapp {
	background: var(--whatsapp);
}

.topbar__icon--telegram {
	background: var(--telegram);
}

.masthead__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	padding-block: 10px;
}

.masthead__brand {
	flex: 0 0 auto;
}

.masthead__brand img,
.custom-logo {
	width: auto;
	max-height: 68px;
}

.brand__text {
	color: var(--text);
	font-weight: 700;
	font-size: var(--step-1);
}

/* Navigation -------------------------------------------------------------- */

.nav {
	margin-inline: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__item {
	position: relative;
}

/* The mega panel is anchored to the masthead, not to its own <li>: in RTL an
   inset-inline-start on a narrow <li> throws the panel off the left edge. */
.nav__item--parent {
	position: static;
}

.nav__link {
	display: inline-block;
	padding: 10px 14px;
	color: var(--text);
	font-weight: 600;
	border-radius: var(--radius);
}

.nav__link:hover,
.nav__item.is-current > .nav__link {
	color: var(--pink);
	text-decoration: none;
}

.nav__toggle {
	display: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
}

.nav__item--parent > .nav__link::after {
	content: "";
	display: inline-block;
	margin-inline-start: 6px;
	border: 4px solid transparent;
	border-block-start-color: currentColor;
	transform: translateY(2px);
}

.nav__panel {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	inset-inline: 0;
	min-width: 0;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav__item--parent:hover > .nav__panel,
.nav__item--parent:focus-within > .nav__panel,
.nav__item--parent.is-open > .nav__panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/*
 * The locations menu is three levels deep: one parent, five regions, then the
 * cities. The panel lays the regions out as columns and lists each region's
 * cities beneath its own link, so every city stays one click away.
 */

.nav__sub {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: start;
}

.nav__cities {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.nav__sub .nav__link {
	display: block;
	padding: 5px 8px;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--muted);
	border-radius: 6px;
}

.nav__sub .nav__link:hover {
	color: var(--text);
	background: var(--surface-2);
	text-decoration: none;
}

.nav__link--group {
	margin-block-end: 4px;
	padding-block: 7px;
	color: var(--text) !important;
	font-weight: 700 !important;
	font-size: 0.92rem !important;
	border-block-end: 1px solid var(--line);
	border-radius: 0 !important;
}

.nav__link--group:hover {
	background: none !important;
	color: var(--pink) !important;
}

/* Only the top-level parent gets the caret; the region headings do not. */
.nav__item--d1 > .nav__link::after,
.nav__item--d2 > .nav__link::after {
	display: none;
}

.nav-burger {
	display: none;
	margin-inline-start: auto;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
}

.nav-burger span {
	display: block;
	height: 2px;
	margin-block: 4px;
	background: var(--text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Masthead member actions -------------------------------------------------- */

.masthead__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.masthead__member-link {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: var(--radius);
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.masthead__member-link:not([class*="--"]) {
	color: var(--pink-bright);
}

.masthead__member-link:not([class*="--"]):hover {
	color: var(--pink);
	text-decoration: none;
}

.masthead__member-link--cta {
	background: var(--pink);
	color: #fff;
}

.masthead__member-link--cta:hover {
	background: var(--pink-dark);
	color: #fff;
	text-decoration: none;
}

.masthead__member-link--ghost {
	color: var(--muted);
	border: 1px solid var(--line);
}

.masthead__member-link--ghost:hover {
	color: var(--text);
	border-color: var(--muted);
	text-decoration: none;
}

/* Breadcrumbs ------------------------------------------------------------- */

.breadcrumbs {
	background: var(--bg);
	border-block-end: 1px solid var(--line);
	font-size: 0.88rem;
	color: var(--muted);
}

.breadcrumbs__trail {
	padding-block: 10px;
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--pink);
}

/* Hero + page heads ------------------------------------------------------- */

.hero {
	padding-block: clamp(36px, 6vw, 72px);
	text-align: center;
}

.hero__title {
	font-size: var(--step-4);
	margin-block-end: 12px;
}

.hero__lead {
	max-width: 46ch;
	margin-inline: auto;
	color: var(--muted);
	font-size: var(--step-1);
}

.page-head {
	padding-block: clamp(28px, 4vw, 48px);
	text-align: center;
}

.page-head__title {
	font-size: var(--step-4);
	margin-block-end: 8px;
}

.page-head__count {
	color: var(--muted);
	margin: 0;
}

.page-head__intro {
	max-width: 62ch;
	margin: 16px auto 0;
	color: var(--muted);
}

/* Cards ------------------------------------------------------------------- */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--gap);
}

.grid--posts {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--pink);
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: var(--surface-2);
	overflow: hidden;
}

.card--post .card__media {
	aspect-ratio: 16 / 10;
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__img--empty {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

.card__badge {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	padding: 3px 10px;
	background: var(--pink);
	color: var(--on-bright);
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 999px;
}

.card__body {
	padding: 14px 16px 10px;
	flex: 1 1 auto;
}

.card__title {
	margin: 0 0 4px;
	font-size: var(--step-1);
	line-height: 1.3;
}

.card__title a {
	color: var(--text);
}

.card__title a:hover {
	color: var(--pink);
	text-decoration: none;
}

.card__location,
.card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.card__excerpt {
	margin-block-start: 6px;
}

.card__meta {
	padding: 0 16px 14px;
	color: var(--muted-2);
	font-size: 0.85rem;
}

.card__cta {
	margin: 0 12px 12px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: #fff;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1.2;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.btn:hover {
	text-decoration: none;
	filter: brightness(1.08);
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn--whatsapp {
	background: var(--whatsapp);
	color: var(--on-bright);
}

.btn--call {
	background: var(--pink);
	color: var(--on-bright);
}

.btn--telegram {
	background: var(--telegram);
}

.btn--ghost {
	background: transparent;
	border-color: var(--pink-bright);
	color: var(--pink-bright);
}

.btn--ghost:hover {
	background: var(--pink);
	color: var(--on-bright);
}

.btn__label {
	font-variant-numeric: tabular-nums;
	direction: ltr;
	unicode-bidi: embed;
}

/* Chips + link grids ------------------------------------------------------ */

.filters__list,
.link-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 4px 18px;
}

.link-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 0;
	color: var(--muted);
	border-block-end: 1px solid transparent;
}

.link-grid a:hover {
	color: var(--text);
	text-decoration: none;
	border-block-end-color: var(--line);
}

.link-grid__count,
.chip__count {
	color: var(--muted-2);
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.9rem;
}

.chip:hover {
	color: #fff;
	border-color: var(--pink);
	text-decoration: none;
}

/* Listing ----------------------------------------------------------------- */

.gallery {
	padding-block: 24px 8px;
}

/*
 * `contain: paint` on the horizontal scrollers is load-bearing, not a
 * micro-optimisation. In an RTL document a flex row with overflow-x:auto leaks
 * its overflow into the root element's scroll width, which pushes every
 * normal-width block sideways on the page canvas. Containment stops the leak.
 */
.gallery__track {
	contain: paint;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.gallery__item {
	flex: 0 0 auto;
	width: min(78vw, 300px);
	scroll-snap-align: center;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface-2);
}

.gallery__img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.listing__layout {
	padding-block: 24px;
}

.listing__intro {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-block-end: 20px;
}

.listing__avatar-img {
	flex: 0 0 auto;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--pink);
}

.listing__title {
	font-size: var(--step-3);
	margin: 0;
}

.listing__location {
	margin: 2px 0 0;
	color: var(--muted);
}

.listing__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
	max-width: 720px;
	margin-block-end: 24px;
}

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 2px 24px;
	margin: 0 0 24px;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.facts__row {
	display: flex;
	gap: 8px;
	padding-block: 6px;
}

.facts__label {
	color: var(--muted-2);
	font-weight: 600;
	flex: 0 0 auto;
}

.facts__label::after {
	content: ":";
}

.facts__value {
	margin: 0;
	color: var(--text);
}

.listing__bio {
	font-size: var(--step-1);
	color: var(--muted);
}

.listing__description,
.listing__content {
	max-width: 70ch;
}

.related {
	padding-block: 40px;
	border-block-start: 1px solid var(--line);
}

/* Horizontal rail --------------------------------------------------------- */

.rail {
	contain: paint;
	display: flex;
	gap: var(--gap);
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.rail__item {
	flex: 0 0 auto;
	width: min(72vw, 250px);
	scroll-snap-align: start;
}

/* Prose ------------------------------------------------------------------- */

.prose {
	max-width: 70ch;
	margin-inline: auto;
	color: #e8e8ee;
}

.prose h2 {
	margin-block-start: 1.6em;
	font-size: var(--step-2);
}

.prose h3 {
	margin-block-start: 1.4em;
	font-size: var(--step-1);
}

.prose li {
	margin-block-end: 0.5em;
}

.prose img {
	border-radius: var(--radius);
	margin-block: 1.2em;
}

/* Posts ------------------------------------------------------------------- */

.post-single__head,
.page-single .page-head {
	padding-block: 32px 20px;
	text-align: start;
}

.post-single__title {
	font-size: var(--step-4);
}

.post-single__meta {
	color: var(--muted-2);
	font-size: 0.9rem;
}

.post-single__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	margin-block-end: 28px;
}

/* Pagination -------------------------------------------------------------- */

.pagination {
	margin-block-start: 32px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	margin: 2px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--pink);
	border-color: var(--pink);
	color: #fff;
	text-decoration: none;
}

.empty {
	padding-block: 40px;
	text-align: center;
	color: var(--muted);
}

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

.site-footer {
	padding-block: 40px 28px;
	background: var(--bg-deep);
	border-block-start: 1px solid var(--line);
	color: var(--muted);
}

.site-footer__top {
	text-align: center;
	margin-block-end: 32px;
}

.site-footer__title {
	font-size: var(--step-2);
	color: var(--text);
}

.site-footer__notice {
	max-width: 60ch;
	margin-inline: auto;
	font-size: 0.9rem;
}

.site-footer__heading {
	font-size: var(--step-1);
	color: var(--text);
	margin-block-end: 12px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block-start: 20px;
	border-block-start: 1px solid var(--line);
	font-size: 0.88rem;
}

.site-footer__sep {
	margin-inline: 6px;
	color: var(--muted-2);
}

.site-footer__members {
	margin-block-end: 24px;
}

.site-footer__member-links {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__member-links a {
	color: var(--muted);
}

.site-footer__member-links a:hover {
	color: var(--text);
}

.site-footer__menu {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.to-top {
	position: fixed;
	inset-block-end: 18px;
	inset-inline-end: 18px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--pink);
	color: #fff;
	border-radius: var(--radius);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s;
	z-index: 30;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Accessibility launcher -------------------------------------------------- */

.a11y-launcher {
	position: fixed;
	inset-block-end: 18px;
	inset-inline-start: 18px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	z-index: 30;
	padding: 0;
	transition: background 0.15s ease;
}

.a11y-launcher:hover,
.a11y-launcher:focus-visible {
	background: var(--pink);
	outline: 2px solid var(--pink-bright);
	outline-offset: 2px;
}

/* Hide the library's own floating icon */
._access-icon {
	display: none !important;
}

/* Dark theme for the accessibility panel */
:root {
	--_access-menu-background-color: var(--surface);
	--_access-menu-color: var(--text);
	--_access-menu-border: 1px solid var(--line);
	--_access-menu-border-radius: var(--radius-lg);
	--_access-menu-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	--_access-menu-font-family: var(--font);

	--_access-menu-header-color: var(--text);
	--_access-menu-header-font-size: var(--step-1);

	--_access-menu-item-color: var(--muted);
	--_access-menu-item-icon-color: var(--muted);
	--_access-menu-item-font-size: 0.92rem;
	--_access-menu-item-button-background: var(--surface-2);
	--_access-menu-item-button-border: 1px solid var(--line);
	--_access-menu-item-button-border-radius: 8px;
	--_access-menu-item-button-hover-background-color: var(--line);
	--_access-menu-item-button-hover-color: var(--text);
	--_access-menu-item-hover-icon-color: var(--text);
	--_access-menu-item-button-active-background-color: var(--pink-dark);
	--_access-menu-item-button-active-color: #fff;
	--_access-menu-item-active-icon-color: #fff;
	--_access-menu-div-active-background-color: var(--pink-dark);
	--_access-menu-div-active-color: #fff;

	--_access-menu-close-btn-font-family: var(--font);
	--_access-menu-reset-btn-font-family: 'Material Icons';

	--_access-scrollbar-track-background-color: var(--bg-deep);
	--_access-scrollbar-background-color: var(--bg-deep);
	--_access-scrollbar-thumb-background-color: var(--line);
}

/* RTL: keep the menu panel direction correct */
._access-menu {
	direction: rtl;
}

/* Override hardcoded close/reset button colors */
._access-menu ._menu-close-btn {
	color: var(--muted) !important;
}
._access-menu ._menu-close-btn:hover {
	color: var(--text) !important;
}
._access-menu ._menu-reset-btn {
	color: var(--muted) !important;
}
._access-menu ._menu-reset-btn:hover {
	color: var(--text) !important;
}

/* Focus ring for keyboard navigation inside the panel */
._access-menu button:focus-visible,
._access-menu li:focus-visible {
	outline: 2px solid var(--pink-bright);
	outline-offset: 2px;
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 900px) {
	.nav-burger {
		display: block;
		order: 3;
	}

	.masthead__actions {
		order: 5;
		flex: 1 0 100%;
		justify-content: center;
		padding-block: 12px;
		border-block-start: 1px solid var(--line);
		display: none;
	}

	.nav.is-open ~ .masthead__actions {
		display: flex;
	}

	.nav {
		order: 4;
		flex: 1 0 100%;
		display: none;
		padding-block: 8px;
	}

	.nav.is-open {
		display: block;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__item--parent > .nav__link::after {
		display: none;
	}

	.nav__toggle {
		display: block;
		position: absolute;
		inset-block-start: 4px;
		inset-inline-end: 0;
		width: 40px;
		height: 40px;
	}

	.nav__toggle span {
		display: block;
		margin-inline: auto;
		border: 5px solid transparent;
		border-block-start-color: currentColor;
		transition: transform 0.2s ease;
	}

	.nav__toggle[aria-expanded="true"] span {
		transform: rotate(180deg) translateY(3px);
	}

	.nav__panel {
		position: static;
		min-width: 0;
		padding: 0 0 8px;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: hidden;
		transform: none;
		display: none;
	}

	.nav__item--parent.is-open > .nav__panel {
		display: block;
		visibility: visible;
	}

	.nav__item--parent:not(.is-open):hover > .nav__panel {
		display: none;
	}

	.nav__sub {
		grid-template-columns: 1fr;
	}

	.listing__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Reviews plugin ---------------------------------------------------------- */

/*
 * The reviews plugin ships light-theme form styles, which render as white boxes
 * on the dark ground. These pull its inputs into the site palette; the plugin's
 * own class names are used as-is so an update does not silently drop the styling.
 */

.ivory-search-input,
#product_reviews #respond input[type="text"],
#product_reviews #respond input[type="email"],
#product_reviews textarea,
.reviews-plus input[type="text"],
.reviews-plus input[type="email"],
.reviews-plus textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea,
.searchform__input {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
}

#product_reviews label,
.reviews-plus label,
#commentform label {
	display: block;
	margin-block-end: 6px;
	color: var(--muted);
	font-size: 0.92rem;
}

.reviews-plus input[type="submit"],
#commentform input[type="submit"] {
	padding: 11px 22px;
	background: var(--pink);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.searchform {
	display: flex;
	gap: 8px;
	margin-block-end: 24px;
}

.searchform__input {
	flex: 1 1 auto;
}

/* Location archive copy ---------------------------------------------------- */

.location-copy {
	max-width: 70ch;
	margin-inline: auto;
	margin-block-start: 48px;
	color: #e8e8ee;
}

.location-copy__heading {
	font-size: var(--step-2);
	margin-block-start: 1.6em;
	margin-block-end: 0.5em;
}

.location-copy__body p {
	margin-block-end: 1em;
}

.location-copy__body ul {
	padding-inline-start: 1.2em;
	list-style: disc;
}

.location-copy__body li {
	margin-block-end: 0.5em;
}

/* VIP card (members plugin) ----------------------------------------------- */

.card--vip {
	border-color: #c9a227;
	box-shadow: 0 0 0 1px #c9a227;
}

.card--vip:hover {
	border-color: #a07c10;
	box-shadow: 0 0 0 1px #a07c10;
}

.card__badge--vip {
	inset-inline-end: 10px;
	inset-inline-start: auto;
	background: #c9a227;
	color: #fff;
}

/* Contact form ------------------------------------------------------------ */

/*
 * The contact form on /contact/ is a SureForms embed. SureForms colours itself
 * from the form's own style settings, which are already set to the theme
 * palette, so the only thing left for the theme is the gap between the contact
 * details above it and the form card.
 */

.contact-form {
	margin-block-start: 40px;
}
