/* Restaurant space and groups (Kaptol Figma 1:2472): white section, 1025 tall at 1440. Three photos
   403 × 537 (20px apart) 47px from the top; the heading (70/72, warm grey) 57px under them, the text
   (18/24, 523 wide) 48px lower, the button (beige pill) 79px lower and the note 16px under it;
   64px to the section's end. HTML anchor "prostori" is the sub-nav's "Prostor i grupe" target. */

.mano-space.mano-space {
	margin-block: 0;
	padding: 47px var(--wp--preset--spacing--gutter) 64px;
	background: var(--wp--preset--color--bijela);
	text-align: center;
}

.mano-space > * {
	margin-block: 0;
}

.mano-space__photos.mano-space__photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1249px;
	margin: 0 auto;
}

.mano-space__photos .wp-block-image {
	margin: 0;
}

.mano-space__photos img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 403 / 537;
	object-fit: cover;
}

.mano-space__title.mano-space__title {
	margin-top: 57px;
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(40px, 4.861vw, 70px);
	font-stretch: condensed;
	font-weight: 400;
	line-height: 1.0286;
}

.mano-space__text.mano-space__text {
	max-width: 523px;
	margin: 48px auto 0;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--body);
	line-height: 24px;
}

.mano-space__buttons.mano-space__buttons {
	margin-top: 79px;
}

.mano-space__buttons .wp-block-button__link {
	padding: 13px 22px;
	border-radius: 100px;
	background: var(--wp--preset--color--beige);
	color: var(--wp--preset--color--bijela);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 500;
	line-height: 16px;
}

.mano-space__note.mano-space__note {
	margin-top: 16px;
	color: var(--wp--preset--color--siva);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	line-height: 15px;
}

/* Tablet and phone: two photos side by side, the third across under them. */
@media (max-width: 1023px) {
	.mano-space__photos.mano-space__photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.mano-space__photos > :nth-child(3) {
		grid-column: 1 / -1;
	}

	.mano-space__photos > :nth-child(3) img {
		aspect-ratio: 16 / 9;
	}

	.mano-space__title.mano-space__title {
		margin-top: 48px;
	}

	.mano-space__text.mano-space__text {
		margin-top: 24px;
	}

	.mano-space__buttons.mano-space__buttons {
		margin-top: 40px;
	}
}
