/*
 * villas-more/vm-accommodation — front-end styles (Task 014-1).
 *
 * RULE, inherited from Task 018 §6.1 and unchanged: not one colour,
 * font, font size or spacing value is written here. Every appearance
 * value is a theme token (`--wp--preset--*`). Change it in theme.json
 * and this block changes with it. The only literals are structural and
 * carry no appearance — aspect-ratio, display, grid tracks, object-fit,
 * and the 1px hairlines, whose colour is a token.
 *
 * Loaded by WordPress only where the block appears, because it is
 * declared in the `style` field of block.json.
 *
 * The two layouts share every rule except how the list is arranged and
 * how tall the photograph is, so Bands is not a second component — it
 * is the same component in a wider frame.
 */

.vma {
	/*
	 * Task 014-4 — spacing--40 until now, which was not a decision.
	 * The VM Card Grid uses spacing--30 for its grid gap, and it and
	 * this block were built a month apart, each setting its own value.
	 * Two grids on one house page therefore sat at 2.5rem and 1.5rem
	 * and nobody chose that. Matched to the card grid, because a
	 * difference somebody chose is design and a difference nobody chose
	 * is a leftover — and there was no reason to differ.
	 */
	--vma-gap: var(--wp--preset--spacing--30);
	--vma-inner-gap: var(--wp--preset--spacing--20);
	--vma-rule: var(--wp--preset--color--border);
	--vma-quiet: var(--wp--preset--color--muted);
	--vma-ratio: 4 / 3;
}

.vma__list {
	display: grid;
	gap: var(--vma-gap);
	margin: 0;
	padding: 0;
}

.vma__item {
	display: grid;
	gap: var(--vma-inner-gap);
	align-content: start;
	min-width: 0;
}

.vma__media {
	margin: 0;
	overflow: hidden;
}

.vma__image {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: var(--vma-ratio);
	object-fit: cover;
}

.vma__body {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	align-content: start;
	min-width: 0;
}

.vma__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--contrast);
}

/*
 * THE SENTENCE AND THE FACTS MUST NOT LOOK ALIKE — Ana, 2026-09-24,
 * from looking at the drawing, where the facts row and the sentence
 * below it were the same size, the same colour and the same weight.
 *
 * They are two different kinds of reading. The facts are scanned, so
 * they are quiet and compact — `small`, muted, tabular figures. The
 * sentence is read, so it gets the full reading size. That is a step of
 * 0.875rem to 1.0625rem, about 1.21x, which is a visible difference
 * rather than an asserted one. The name stays at the same size as the
 * sentence and is told apart by the heading family, which is how a
 * title and a paragraph are normally distinguished.
 */
.vma__description {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--contrast);
}

.vma__description > :first-child {
	margin-top: 0;
}

.vma__description > :last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------
   The variant table.

   A quiet list of facts, not a data grid: hairline rows, no outer
   border, no zebra. Columns size to their content because a category
   may show four of them or two, and a fixed grid would leave a gap
   where a column was never there.
   -------------------------------------------------------------- */

.vma__variants {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}

.vma__variants th,
.vma__variants td {
	padding: var(--wp--preset--spacing--10) 0;
	text-align: left;
	vertical-align: baseline;
	border-bottom: 1px solid var(--vma-rule);
}

.vma__variants thead th {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--vma-quiet);
}

.vma__variants tbody tr:last-child th,
.vma__variants tbody tr:last-child td {
	border-bottom: 0;
}

/*
 * Scoped to `.vma__variants` on purpose. The shared `th, td` rule above
 * sets `padding` in full, and it is one class more specific than a bare
 * `.vma__cell--*` — so an unscoped `padding-left` here is silently
 * ignored and the headings run together. They did.
 */
.vma__variants .vma__cell--name {
	font-weight: 400;
	padding-right: var(--wp--preset--spacing--20);
	/* The name is the one column allowed to take the space it needs. */
	width: 100%;
}

.vma__variants .vma__cell--size-sqm,
.vma__variants .vma__cell--unit-count,
.vma__variants .vma__cell--sleeps {
	white-space: nowrap;
	padding-left: var(--wp--preset--spacing--20);
	text-align: right;
}

/* The qualification travels under the number it qualifies. */
.vma__note {
	display: block;
	color: var(--vma-quiet);
	white-space: normal;
}

/* --------------------------------------------------------------
   Cards — each category is a column.
   -------------------------------------------------------------- */

.vma--cards {
	--vma-ratio: 4 / 3;
}

.vma--cards .vma__list {
	grid-template-columns: repeat( auto-fit, minmax( 18rem, 1fr ) );
}

/* --------------------------------------------------------------
   Bands — each category is a full-width row, photograph one side,
   name and table the other, alternating.

   Below the theme's own 781px breakpoint a band is a card that
   happens to be wide, which is what a single column already is —
   so the two-column rule simply does not apply there.
   -------------------------------------------------------------- */

.vma--bands {
	--vma-ratio: 3 / 2;
}

@media ( min-width: 782px ) {
	/*
	 * Two columns only where there are two things. A category with no
	 * photograph yet — which is every one of them today — would
	 * otherwise render its name and table into half a row with an empty
	 * half beside it, which reads as a broken layout rather than as a
	 * missing picture. `:has()` asks the question the layout actually
	 * depends on.
	 */
	.vma--bands .vma__item:has( .vma__media ) {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
		gap: var(--vma-gap);
		align-items: center;
	}

	.vma--bands .vma__item:has( .vma__media ):nth-child( even ) .vma__media {
		grid-column: 2;
		grid-row: 1;
	}

	.vma--bands .vma__item:has( .vma__media ):nth-child( even ) .vma__body {
		grid-column: 1;
		grid-row: 1;
	}
}

/* ==============================================================
   Task 014-4 — the card's row of facts.

   A list and not a sentence, so it can wrap on a telephone without
   losing which figure belongs to what. Quiet and compact against the
   sentence below it: `muted` measures 4.73:1 on this section's
   `surface` background (#696663 on #EBEAE4), which clears AA for
   normal text, and the sentence beside it is `contrast` at 13.78:1.

   The separator is generated rather than written into the markup, so
   a translator never has to carry a punctuation mark and the last
   item never trails one.
   ============================================================== */

.vma__summary {
	display: flex;
	flex-wrap: wrap;
	row-gap: var(--wp--preset--spacing--10);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--vma-quiet);
	font-variant-numeric: tabular-nums;
}

.vma__fact {
	margin: 0;
}

.vma__fact + .vma__fact::before {
	content: "·";
	padding: 0 var(--wp--preset--spacing--10);
}

/* ==============================================================
   The facts that live outside the room table.

   A list of pairs, which is what the drawing's §3 concluded after
   measuring the real limit: the room table holds three columns on a
   telephone and barely four, so occupancy, beds, bedrooms and
   bathrooms beside a name and a size would need six and fit on no
   telephone. The alternative was a table that scrolls sideways, which
   almost nobody finds. A definition list reflows to one pair per line
   at any width with no decision to make.

   The label column appears only where there is room for it. Below the
   theme's 782px breakpoint the pair simply stacks, which is also what
   a band does with its photograph.
   ============================================================== */

.vma__facts {
	display: grid;
	gap: var(--wp--preset--spacing--10);
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}

.vma__pair {
	display: grid;
	gap: 0;
	padding-top: var(--wp--preset--spacing--10);
	border-top: 1px solid var(--vma-rule);
}

.vma__pair:first-child {
	padding-top: 0;
	border-top: 0;
}

.vma__fact-label,
.vma__fact-value {
	margin: 0;
}

.vma__fact-label {
	font-weight: 400;
	color: var(--vma-quiet);
}

/* One line per room, for a fact the rooms do not agree on. */
.vma__fact-room {
	display: block;
}

.vma__fact-room + .vma__fact-room {
	padding-top: var(--wp--preset--spacing--10);
}

/*
 * The room's name labels its value rather than replacing the fact's
 * own label, so it is quiet. Written as a block above the value on a
 * narrow screen — a room name here can be "Standard room with
 * balcony", which will not share a line with anything.
 */
.vma__room {
	display: block;
	color: var(--vma-quiet);
}

@media ( min-width: 782px ) {
	.vma__pair {
		grid-template-columns: minmax( 0, 9rem ) minmax( 0, 1fr );
		column-gap: var(--wp--preset--spacing--20);
		align-items: baseline;
	}
}

/* ==============================================================
   The action.

   `primary` and not `accent`: measured before use, `accent` (#6C764F)
   is 4.01:1 on this section's `surface` background, which fails AA for
   normal text, while `primary` (#3B402B) is 8.92:1. The drawing's olive
   is a placeholder, as every colour in that folder is.

   No padding under the rule — a border on an inline-block sits just
   below the line box, and an offset would be a spacing literal in a
   file whose one rule is that it carries none.
   ============================================================== */

.vma__action {
	margin: 0;
}

.vma__cta {
	display: inline-block;
	align-self: start;
	justify-self: start;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--primary);
	border-bottom: 1px solid var(--wp--preset--color--primary);
}

.vma__cta:hover,
.vma__cta:focus-visible {
	color: var(--wp--preset--color--primary-dark);
	border-bottom-color: var(--wp--preset--color--primary-dark);
}

/* ==============================================================
   Cards — the trailing action lands at one height across a row.

   THIS IS `DECISIONS.md`'s OWN PATTERN, from Task 004, not a second
   one invented here: *where a grid already stretches sibling cards to
   equal height, a variable-length text element within each card can be
   given `flex: 1 0 auto` to absorb leftover space so a trailing CTA
   lands at a consistent position.* It was first applied to
   `.vm-stay-card__note`.

   `TASK-024-1.md` §3 measured why it failed there: the absorber sat two
   levels inside a box that did not itself grow, so a complete fix
   needed three declarations and was left undone. Here the stretched
   grid item IS the card — `.vma__item` is a track of `.vma__list`, with
   no `<li>` and no inner card box between them — so the two
   declarations below are the whole of it.

   The absorber goes on the sentence, which is the variable-length text
   element the decision describes. When a category has no sentence —
   which is every category on the site today, since no record has any
   `post_content` — it goes to the facts row instead, so the mechanism
   does not quietly stop working on the data we actually have.
   ============================================================== */

.vma--cards .vma__item {
	grid-template-rows: 1fr;
}

.vma--cards .vma__item:has( .vma__media ) {
	grid-template-rows: auto 1fr;
}

.vma--cards .vma__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

.vma--cards .vma__description {
	flex: 1 0 auto;
}

.vma--cards .vma__body:not( :has( .vma__description ) ) .vma__summary {
	flex: 1 0 auto;
}

/* ==============================================================
   The photograph's shape, as a named choice.

   WRITTEN LAST ON PURPOSE. These selectors are one class each, exactly
   like `.vma--cards` and `.vma--bands` above, which also set
   `--vma-ratio`. At equal specificity the later rule wins, so a chosen
   shape must be declared after the per-display defaults or it is
   silently ignored — a trap this project has now hit three times.

   The values and their names are the VM Card Grid's, so an editor
   meets one vocabulary. `4-3` is here and deliberately NOT added to the
   card grid: it is what this block has always drawn in Cards, and it is
   named here so that keeping it is a choice somebody made rather than a
   number buried in a stylesheet.
   ============================================================== */

.vma--ratio-4-3 {
	--vma-ratio: 4 / 3;
}

.vma--ratio-3-2 {
	--vma-ratio: 3 / 2;
}

.vma--ratio-4-5 {
	--vma-ratio: 4 / 5;
}

.vma--ratio-5-4 {
	--vma-ratio: 5 / 4;
}

.vma--ratio-1-1 {
	--vma-ratio: 1 / 1;
}

/* ==============================================================
   Task 005-2 — the date bar at the top of the section.

   Arrival, Departure and one button, handing the guest to this house
   in PHOBS. The same register as the homepage search (`vmas`): a white
   bar on a hairline, small display-face labels in the eyebrow tokens,
   values in the body face. It is NOT the same component and does not
   share its classes, because it lives inside a section rather than over
   a photograph and has no guests field.

   Every appearance value is a token; the only literals are structural
   (1px hairlines, the 2px corner the homepage bar already uses, the
   599px breakpoint the homepage bar already uses).

   THE BUTTON SAYS "CHECK AVAILABILITY" since 2026-11-12 (Ana, Task
   014-6: "See what's free" — the drawing's words, 005-1 variant A — read
   wrong to her). The reason it once did not — the header's button said
   the same and jumped here (Task 025) — is gone: in house mode the
   header's button says "Book now".

   THERE IS NO ERROR COLOUR TOKEN in theme.json, so a message is drawn in
   the contrast colour and an invalid field's hairline darkens to it.
   Readable at any house's palette; an error token would be a theme task.
   ============================================================== */

.vma-stay {
	margin-bottom: var(--vma-gap);
}

.vma-stay__form,
.vma-stay__offline {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--preset--spacing--20);
}

.vma-stay__row {
	align-items: flex-start;
	display: flex;
	gap: var(--wp--preset--spacing--20);
}

.vma-stay__row > * {
	margin-block: 0;
}

.vma-stay__field {
	display: flex;
	/* A date is ten characters; the homepage bar gives one 10.5rem. A
	   little more here for the message beneath it. A size, not spacing. */
	flex: 0 1 13rem;
	flex-direction: column;
	gap: calc(var(--wp--preset--spacing--10) / 2);
	min-width: 0;
}

.vma-stay__label {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--eyebrow-size);
	letter-spacing: var(--wp--custom--typography--eyebrow-letter-spacing);
	line-height: var(--wp--custom--typography--eyebrow-line-height);
	text-transform: uppercase;
}

.vma-stay__input {
	background: none;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	min-width: 0;
	padding: calc(var(--wp--preset--spacing--10) / 2) 0;
	width: 100%;
}

.vma-stay__input[aria-invalid="true"] {
	border-bottom-color: var(--wp--preset--color--contrast);
}

.vma-stay__error {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--typography--description-line-height);
	margin: 0;
}

.vma-stay__error[hidden] {
	display: none;
}

.vma-stay__submit {
	align-self: center;
	background-color: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 2px;
	color: var(--wp--preset--color--on-primary);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--action-size);
	font-weight: var(--wp--custom--typography--action-weight);
	letter-spacing: var(--wp--custom--typography--action-letter-spacing);
	line-height: var(--wp--custom--typography--eyebrow-line-height);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	text-transform: uppercase;
}

.vma-stay__submit:hover {
	background-color: var(--wp--preset--color--accent);
}

.vma-stay__input:focus-visible,
.vma-stay__submit:focus-visible,
.vma-stay__offline a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.vma-stay__note {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	margin: var(--wp--preset--spacing--10) 0 0;
}

.vma-stay__offline {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--typography--description-line-height);
}

.vma-stay__offline a {
	color: var(--wp--preset--color--primary);
	text-underline-offset: var(--wp--custom--typography--underline-offset);
}

@media (max-width: 599px) {
	.vma-stay__row {
		align-items: stretch;
		flex-direction: column;
	}

	.vma-stay__field {
		flex: none;
	}

	.vma-stay__submit {
		align-self: stretch;
	}
}

/* ------------------------------------------------------------------ *
 * Task 014-6, step 6 — the strip (smaller cards and names at Ana's word,
 * 12.11.: „prevelike su slike i naslovi u toj traci") (strip.php, view.js). Tokens only;
 * the house colour comes from the page's accent scope, with the
 * collection's own as fallback. Drawing: theme
 * docs/design/stranica-sobe-reference.html, "Kuća s karticama".
 * ------------------------------------------------------------------ */
.vma--strip { --vma-accent: var(--vm-color-deep, var(--wp--preset--color--primary)); }
.vma--strip .vma-stay { margin-bottom: var(--wp--preset--spacing--40); }
.vma-strip__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--wp--preset--spacing--30); }
.vma-strip--tabs .vma-strip__top { border-bottom: 1px solid var(--wp--preset--color--border); margin-bottom: var(--wp--preset--spacing--30); }
.vma-strip__top:not(:has(> :not([hidden]))) { display: none; }
.vma-strip__tabs { display: flex; gap: var(--wp--preset--spacing--40); min-width: 0; }
.vma-strip__tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; padding: 0 0 var(--wp--preset--spacing--20); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--intro); line-height: 1.2; color: var(--wp--preset--color--muted); text-align: left; cursor: pointer; }
.vma-strip__tab small { display: block; margin-top: 0.25rem; font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); letter-spacing: 0.02em; color: var(--wp--preset--color--muted); }
.vma-strip__tab[aria-selected="true"] { color: var(--wp--preset--color--contrast); border-bottom-color: var(--vma-accent); }
.vma-strip__tab:focus-visible { outline: 2px solid var(--vma-accent); outline-offset: 4px; }
.vma-strip__nav { display: flex; gap: var(--wp--preset--spacing--10); padding-bottom: var(--wp--preset--spacing--20); margin-left: auto; }
.vma-strip__nav.is-idle { visibility: hidden; }
.vma-strip__prev, .vma-strip__next { width: 2.5rem; height: 2.5rem; border: 1px solid var(--wp--preset--color--contrast); border-radius: 50%; background: transparent; color: var(--wp--preset--color--contrast); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.vma-strip__prev:disabled, .vma-strip__next:disabled { opacity: 0.3; cursor: default; }
.vma-strip__prev:focus-visible, .vma-strip__next:focus-visible { outline: 2px solid var(--vma-accent); outline-offset: 3px; }
.vma-strip__group + .vma-strip__group { margin-top: var(--wp--preset--spacing--40); }
.vma-strip__title { margin: 0 0 var(--wp--preset--spacing--20); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--intro); font-weight: 400; }
.vma-strip.is-enhanced.vma-strip--tabs .vma-strip__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vma-strip.is-enhanced .vma-strip__group + .vma-strip__group { margin-top: 0; }
.vma-strip__group:focus-visible { outline: 2px solid var(--vma-accent); outline-offset: 4px; }
.vma-strip__row { display: flex; gap: var(--wp--preset--spacing--20); margin: 0; padding: 0 0 var(--wp--preset--spacing--10); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.vma-card { flex: 0 0 min(15.5rem, 64%); scroll-snap-align: start; min-width: 0; }
.vma-card__a { display: block; color: inherit; text-decoration: none; }
.vma-card__m { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--stone); }
.vma-card__m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vma-card__n { display: block; margin: 0.75rem 0 0.15rem; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--medium); line-height: 1.3; }
.vma-card__f { display: block; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.vma-card__a:hover .vma-card__n { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.vma-card__a:focus-visible { outline: 2px solid var(--vma-accent); outline-offset: 4px; }
/*
 * 2026-11-18 (Ana, launch day: „nema buttona … kako će gost znat da može
 * kliknut na sliku … na desktopu izgleda prazno").
 * "View room →" under the name and facts, dressed like the homepage
 * cards' "View this stay →" (theme style.css, `.vm-collection-grid--four
 * .vm-stay-card__link a`), in the house's colour. It is a span inside the
 * card's one link and sits at the card's foot, so a row's buttons line up
 * even when a name takes two lines. Hover/focus: the photograph zooms a
 * little, the name underlines, the button darkens.
 * The row itself (card size, carousel, arrows, phone) is exactly as before:
 * a first build that day made the row fill with at most three columns, a
 * second kept the carousel for more than three — both undone the same day
 * (Ana: „onako je bilo skroz u redu").
 */
.vma-card__a { display: flex; flex-direction: column; height: 100%; }
.vma-card__a > :nth-last-child( 2 ) { margin-bottom: 0.9rem; }
.vma-card__cta { align-self: flex-start; margin-top: auto; display: inline-block; padding: 0.6rem 1.1rem; border-radius: 2px; background-color: var(--vm-color-deep, var(--wp--preset--color--primary)); color: var(--vm-color-on-accent, var(--wp--preset--color--white)); font-family: var(--wp--preset--font-family--display); font-size: var(--wp--custom--typography--action-size); font-weight: var(--wp--custom--typography--action-weight); letter-spacing: var(--wp--custom--typography--action-letter-spacing); line-height: var(--wp--custom--typography--eyebrow-line-height); text-transform: uppercase; white-space: nowrap; }
.vma-card__a:hover .vma-card__cta, .vma-card__a:focus-visible .vma-card__cta { filter: brightness(0.88); }
.vma-card__a:focus-visible .vma-card__n { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.vma-card__m img { transition: transform 0.45s ease; }
.vma-card__a:hover .vma-card__m img, .vma-card__a:focus-visible .vma-card__m img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
	.vma-card__m img { transition: none; }
	.vma-card__a:hover .vma-card__m img, .vma-card__a:focus-visible .vma-card__m img { transform: none; }
}
/* 2026-11-18, behind a switch (strip.php, villas_more_core_room_cards_size):
   one card size on a computer — a third of the row. Off by default. */
@media (min-width: 782px) {
	.vma-strip--size-a .vma-strip__row, .vma-strip--size-b .vma-strip__row--few { gap: var(--wp--preset--spacing--30); }
	.vma-strip--size-a .vma-strip__row > .vma-card, .vma-strip--size-b .vma-strip__row--few > .vma-card { flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--30)) / 3); }
}
@media (max-width: 599px) {
	.vma-strip__tabs { gap: 0; width: 100%; }
	.vma-strip__tab { flex: 1 1 0; font-size: var(--wp--preset--font-size--medium); }
	.vma-strip__nav { display: none; }
	.vma-card { flex-basis: 66%; }
}
.vma-card__m:empty { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }

/*
 * Task 014-6: the bar's button takes the HOUSE's colour, like the
 * header's Book now beside it (the theme's --vm-color-deep is "CTA
 * fills"), on house and room pages alike. Outside a house scope the
 * collection's own colour, exactly as before.
 */
.vma-stay__submit { background-color: var(--vm-color-deep, var(--wp--preset--color--primary)); color: var(--vm-color-on-accent, var(--wp--preset--color--on-primary)); }
.vma-stay__submit:hover { background-color: var(--vm-color-deep, var(--wp--preset--color--accent)); filter: brightness(0.88); }

/* ------------------------------------------------------------------ *
 * Task 014-6, 12.11. night — the house section made quieter (Ana: „ova
 * tražilica u sekciji accommodation mi je ko prst u oko … ne vidim jasno
 * obrise soba … sve nekako veliko").
 *
 * 1. The date bar in the house section stops being a white box: one
 *    quiet line between two hairlines — the two dates, the button, the
 *    one-line note beside it. Same form, same fields, same messages; only
 *    its dress in THIS section (the room page keeps its panel).
 * 2. A room without its photograph shows a frame tinted with the house's
 *    colour (as the homepage cards do), so each card's outline reads on a
 *    laptop. It goes the moment a photograph is uploaded.
 * ------------------------------------------------------------------ */
.vma--strip .vma-stay { margin-bottom: var(--wp--preset--spacing--40); }
.vma--strip .vma-stay__form { background: none; border: 0; border-block: 1px solid var(--wp--preset--color--border); border-radius: 0; padding: var(--wp--preset--spacing--20) 0; }
.vma--strip .vma-stay__row { align-items: flex-end; gap: var(--wp--preset--spacing--30); flex-wrap: wrap; }
.vma--strip .vma-stay__field { flex: 0 1 10.5rem; }
.vma--strip .vma-stay__submit { align-self: flex-end; }
.vma--strip .vma-stay__note { flex: 1 1 14rem; align-self: center; margin: 0; max-width: 22rem; }
.vma--strip .vma-stay__form > .vma-stay__note { margin-top: var(--wp--preset--spacing--10); }
@media (min-width: 900px) {
	.vma--strip .vma-stay__form { display: flex; align-items: flex-end; gap: var(--wp--preset--spacing--30); }
	.vma--strip .vma-stay__row { flex: 0 0 auto; flex-wrap: nowrap; }
	.vma--strip .vma-stay__form > .vma-stay__note { margin: 0 0 0.35rem; }
}
.vma-card__m:empty, .vmr-card__m:empty {
	box-shadow: none;
	background: linear-gradient(
		155deg,
		color-mix( in srgb, var( --vm-color-deep, var( --wp--preset--color--primary ) ) 26%, var( --wp--preset--color--surface ) ) 0%,
		color-mix( in srgb, var( --vm-color-primary, var( --wp--preset--color--primary ) ) 14%, var( --wp--preset--color--stone ) ) 60%,
		color-mix( in srgb, var( --vm-color-primary, var( --wp--preset--color--primary ) ) 6%, var( --wp--preset--color--white ) ) 100%
	);
}
.vma-strip__prev, .vma-strip__next { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
@media (max-width: 599px) {
	.vma--strip .vma-stay__row { align-items: stretch; gap: var(--wp--preset--spacing--20); }
	.vma--strip .vma-stay__field { flex: none; }
	.vma--strip .vma-stay__submit { align-self: stretch; }
	.vma--strip .vma-stay__note { max-width: none; }
}
