/* Privatna događanja (ManO2, Figma 282:349, update 28/10). Built from the shared sections (restaurant
   hero, statement, team cards, photo band, "Pišite nam" with the private-events form) plus the VIP
   salon list; this file holds what differs from them. Positions are Figma's at 1440. */

/* Hero band: the page title in place of a wordmark (serif 70/75 at y 286), the tagline beside it. */
.mano-rhero--title .mano-rhero__band.mano-rhero__band {
	padding-bottom: 62px;
}

.mano-rhero__title.mano-rhero__title {
	margin: 0;
	color: var(--wp--preset--color--topla-bijela);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(40px, 4.861vw, 70px);
	font-weight: 400;
	line-height: 1.0715; /* 75 */
}

.mano-rhero--title .mano-rhero__tagline.mano-rhero__tagline {
	margin-bottom: 3px;
}

/* VIP salons (Figma 283:735–283:762): eyebrow at 61, the heading (45/55, 718 wide) 30 under it,
   then one row per salon under a 0.5px rule: number, title (22/32), text (12/14, 401 wide) and an
   underlined link on the left, the photo (509 × 294) on the right, 31 inside the rules. */
.mano-salons.mano-salons {
	margin-block: 0;
	padding: 61px var(--wp--preset--spacing--gutter) 28px; /* + the last row and the rules: 2048 at 1440 */
	background: var(--mano-page, var(--wp--preset--color--topla-bijela));
	color: var(--wp--preset--color--dark-kaptol);
}

.mano-salons > * {
	max-width: 1248px;
	margin-inline: auto;
	margin-block: 0;
}

.mano-salons > .is-style-eyebrow {
	line-height: 13px;
}

.mano-salons__title.mano-salons__title {
	max-width: 718px;
	margin-top: 17px;
	margin-left: max(2px, calc((100% - 1248px) / 2 + 2px));
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(32px, 3.125vw, 45px);
	font-weight: 400;
	line-height: 1.2223;
}

.mano-salon.mano-salon {
	display: grid;
	grid-template-columns: minmax(0, 612px) minmax(0, 509px);
	justify-content: space-between;
	gap: 32px;
	margin-top: 81px;
	padding: 31px 0;
	border-top: 0.5px solid var(--wp--preset--color--kaptol);
}

.mano-salon + .mano-salon {
	margin-top: 0;
}

.mano-salon > *,
.mano-salon__text > * {
	margin-block: 0;
}

.mano-salon__text .mano-tim-card__number.mano-tim-card__number {
	margin-top: 0;
}

.mano-salon__title.mano-salon__title {
	margin-top: 6px;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.03em;
}

.mano-salon__intro.mano-salon__intro {
	max-width: 401px;
	margin-top: 28px;
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 12px;
	line-height: 14px;
}

.mano-salon__link.mano-salon__link {
	margin-top: 28px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 12px;
	font-weight: 700;
	line-height: 14px;
}

.mano-salon__link a {
	color: inherit;
	text-decoration-thickness: 12%;
}

.mano-salon__photo.mano-salon__photo {
	margin: 0;
}

.mano-salon__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 509 / 294;
	object-fit: cover;
}

/* Statement bands: text up to 967 wide (Figma 284:875), the closing note 461 wide (285:948). */
.mano-salons ~ .mano-statement .mano-statement__text.mano-statement__text {
	max-width: 967px;
}

.mano-salons ~ .mano-statement .mano-statement__note.mano-statement__note {
	max-width: 461px;
}

/* Photo bands: 1440 × 579 (284:885) and 1440 × 447 (284:916). */
.mano-photo-band--579 img,
.mano-photo-band.mano-photo-band--579 img {
	aspect-ratio: 1440 / 579;
}

.mano-photo-band--447 img,
.mano-photo-band.mano-photo-band--447 img {
	aspect-ratio: 1440 / 447;
}

/* Event cards (284:889, three cards): eyebrow at 86, the heading (45/55, 401 wide) 30 under it,
   the cards 66 under the heading; 66 below (86 on the white "Posebne prigode" band). */
/* Repeated class: outranks the team page's three-card bottom padding (a :has() rule). */
.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events {
	padding-top: 86px;
	padding-bottom: 66px;
}

.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.is-style-section-white {
	padding-bottom: 86px;
}

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

.mano-tim-cards__lead .is-style-eyebrow {
	color: inherit;
	line-height: 13px;
}

.mano-tim-cards--events .is-style-eyebrow {
	color: var(--wp--preset--color--kaptol);
}

.mano-tim-cards__lead .mano-tim-quote.mano-tim-quote {
	max-width: 401px;
	margin-top: 17px;
	margin-left: 2px;
	color: inherit;
}

.mano-tim-cards--events .mano-tim-cards__head + .mano-tim-cards__grid.mano-tim-cards__grid {
	margin-top: 66px;
}

/* Gastronomy band (284:906–284:915): dark; eyebrow at 86, the text on the right level with it
   (serif 16/22, warm white); two rows under light rules: label left, names right (22/32). */
.mano-tim-cards--gastro.mano-tim-cards--gastro {
	padding-top: 86px;
	padding-bottom: 80px;
	color: var(--wp--preset--color--topla-bijela);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.mano-tim-cards--gastro .mano-tim-cards__intro.mano-tim-cards__intro {
	padding-top: 0;
	color: inherit;
}

.mano-tim-cards--gastro .mano-tim-cards__foot.mano-tim-cards__foot {
	margin-top: 45px;
	border-top-color: var(--wp--preset--color--mano-dva-bez);
}

.mano-tim-cards--gastro .mano-tim-cards__head + .mano-tim-cards__foot.mano-tim-cards__foot {
	margin-top: 115px;
}

.mano-tim-cards--gastro .mano-tim-cards__label.mano-tim-cards__label,
.mano-tim-cards--gastro .mano-tim-cards__list.mano-tim-cards__list {
	color: inherit;
}

/* The form (285:918–285:943): title 45/55 (401 wide) at 98, the fields beside it, the button 57
   under the last rule, 82 below. */
.mano-write--privatna.mano-write--privatna {
	padding-top: 98px;
	padding-bottom: 82px;
}

.mano-write--privatna .mano-write__columns > .wp-block-column:last-child {
	padding-top: 0;
}

.mano-write--privatna .mano-write__title.mano-write__title {
	max-width: 401px;
	margin-left: 2px;
	font-size: clamp(32px, 3.125vw, 45px);
	line-height: 1.2223;
	letter-spacing: 0;
}

.mano-form--privatna .mano-form__footer {
	margin-top: 57px;
}

@media (max-width: 1023px) {
	.mano-salon.mano-salon {
		grid-template-columns: minmax(0, 1fr);
	}

	.mano-tim-cards--gastro .mano-tim-cards__head + .mano-tim-cards__foot.mano-tim-cards__foot {
		margin-top: 64px;
	}

	.mano-write--privatna.mano-write--privatna {
		padding-block: 72px;
	}
}

/* Phones (Figma 365:155, update 03/11, 402 wide): 16px gutters, one column, serif 30/35 headings. */
@media (max-width: 781px) {
	/* Hero: the dark band 342 tall, the title 30/35 at y 123 (beside the menu button), the tagline
	   (serif 14/20) 40 under it; then the photo 402 × 532. The frame shows no buttons on the photo. */
	.mano-rhero--title .mano-rhero__band.mano-rhero__band {
		display: block;
		align-content: start;
		min-height: 342px;
		padding: 123px 72px 24px 16px;
	}

	.mano-rhero--title .mano-rhero__title.mano-rhero__title {
		font-size: 30px;
		line-height: 35px;
	}

	.mano-rhero--title .mano-rhero__tagline.mano-rhero__tagline {
		margin: 40px 0 0;
		font-size: 14px;
		line-height: 20px;
		letter-spacing: 0.02em;
		white-space: normal;
	}

	.mano-rhero--title .mano-rhero__photo.wp-block-cover {
		aspect-ratio: auto;
		min-height: 532px !important;
		padding: 0;
	}

	/* Figma's crop (x-scale 0.504, offset 0.354): over the cover's focal point, an inline style. */
	.mano-rhero--title .mano-rhero__photo .wp-block-cover__image-background {
		object-position: 71% 50% !important;
	}

	.mano-rhero--title .mano-rhero__buttons.mano-rhero__buttons {
		display: none;
	}

	/* VIP salons (Frame 76): 80 above and below; eyebrow, heading 15 under it, salons 50 apart:
	   photo 370 × 218 on top, number 24 under it, title (18/22) and text 15 apart, link 24 lower. */
	.mano-salons.mano-salons {
		padding: 80px 16px;
	}

	.mano-salons__title.mano-salons__title {
		margin: 15px 0 0;
		font-size: 30px;
		line-height: 35px;
	}

	.mano-salon.mano-salon,
	.mano-salon.mano-salon + .mano-salon {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: 50px;
		padding: 0;
		border-top: 0;
	}

	.mano-salon__photo.mano-salon__photo {
		order: -1;
	}

	.mano-salon__photo img {
		aspect-ratio: 370 / 218;
	}

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

	.mano-salon__title.mano-salon__title {
		margin-top: 15px;
		font-size: 18px;
		line-height: 22px;
	}

	.mano-salon__intro.mano-salon__intro {
		max-width: none;
		margin-top: 15px;
	}

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

	/* Statement bands: 437 tall; eyebrow (Inter 10/12), the sentence (serif 30/33) 15 under it,
	   the note (Inter Medium 12/14) 50 lower. The first one centred, the closing one on the left. */
	.mano-salons ~ .mano-statement.mano-statement {
		min-height: 437px;
		padding: 100px 16px;
	}

	.mano-salons ~ .mano-statement .is-style-eyebrow.is-style-eyebrow {
		font-size: 10px;
		line-height: 12px;
	}

	.mano-salons ~ .mano-statement .mano-statement__text.mano-statement__text {
		margin-top: 15px;
		font-size: 30px;
		line-height: 33px;
	}

	.mano-salons ~ .mano-statement .mano-statement__note.mano-statement__note {
		max-width: 366px;
		margin-top: 50px;
		font-size: 12px;
		line-height: 14px;
	}

	.mano-write--privatna ~ .mano-statement.mano-statement {
		align-items: flex-start;
		padding-block: 93px;
		text-align: left;
	}

	.mano-write--privatna ~ .mano-statement .mano-statement__note.mano-statement__note {
		max-width: 272px;
	}

	/* Photo bands: 402 × 437 under the first statement; the bottles 370 × 218 inside the dark
	   gastronomy band, 50 under its last row, 80 above the form. */
	.mano-photo-band--579 img,
	.mano-photo-band.mano-photo-band--579 img {
		height: auto; /* over the footer's phone photo height (mano-footer.css) */
		aspect-ratio: 402 / 437;
		object-position: 13% 50%; /* Figma's crop (x-scale 0.613, offset 0.052): the candle and the round table */
	}

	.mano-photo-band.mano-photo-band--447 {
		padding: 0 16px 80px;
		background: var(--wp--preset--color--dark-kaptol);
	}

	.mano-photo-band--447 img,
	.mano-photo-band.mano-photo-band--447 img {
		height: auto;
		aspect-ratio: 370 / 218;
	}

	/* Event cards (Frames 86 / 88): 80 (50 on the white band) above, 80 below; eyebrow, heading
	   (30/35) 15 under it, cards 50 lower and 50 apart: photo 370 × 218, number 24 under it, title
	   (18/22) and text (12/14) 15 apart. */
	/* Repeated class: outranks the team page's phone padding (a :has() rule, mano-tim.css). */
	.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events {
		padding: 80px 16px;
	}

	.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.mano-tim-cards--events.is-style-section-white {
		padding: 50px 16px 80px;
	}

	.mano-tim-cards--events .mano-tim-cards__head.mano-tim-cards__head,
	.mano-tim-cards--gastro .mano-tim-cards__head.mano-tim-cards__head {
		display: block;
	}

	.mano-tim-cards--events .mano-tim-cards__lead .mano-tim-quote.mano-tim-quote,
	.mano-tim-cards--gastro .mano-tim-cards__lead .mano-tim-quote.mano-tim-quote {
		max-width: none;
		margin: 15px 0 0;
		font-size: 30px;
		line-height: 35px;
	}

	.mano-tim-cards--events .mano-tim-cards__head + .mano-tim-cards__grid.mano-tim-cards__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
		margin-top: 50px;
	}

	.mano-tim-cards--events .mano-tim-card img {
		aspect-ratio: 370 / 218;
	}

	/* White band, first card: Figma's crop (y-scale 0.393, offset 0.537), the bottles in the hands. */
	.mano-tim-cards--events.is-style-section-white .mano-tim-card:first-child img {
		object-position: 50% 88%;
	}

	.mano-tim-cards--events .mano-tim-card .mano-tim-card__number.mano-tim-card__number {
		margin-top: 24px;
	}

	.mano-tim-cards--events .mano-tim-card .mano-tim-card__title.mano-tim-card__title {
		margin-top: 15px;
		font-size: 18px;
		line-height: 22px;
	}

	.mano-tim-cards--events .mano-tim-card .mano-tim-card__text.mano-tim-card__text {
		max-width: none;
		color: var(--wp--preset--color--kaptol);
		margin-top: 15px;
	}

	/* Gastronomy (Frame 94): 50 above; eyebrow (taupe-grey), heading 15 under it, the text
	   (serif 14/24) 24 lower; two rows 80 under the text and 50 apart: label, a rule 15 under it,
	   the names (serif 16/18) 15 under the rule. The photo band below closes the band. */
	.mano-tim-cards--gastro.mano-tim-cards--gastro.mano-tim-cards--gastro.mano-tim-cards--gastro.mano-tim-cards--gastro.mano-tim-cards--gastro {
		padding: 50px 16px 50px;
	}

	.mano-tim-cards--gastro .mano-tim-cards__lead .is-style-eyebrow {
		color: var(--wp--preset--color--kaptol);
	}

	.mano-tim-cards--gastro .mano-tim-cards__intro.mano-tim-cards__intro {
		margin-top: 24px;
		font-size: 14px;
		line-height: 24px;
		letter-spacing: 0.02em;
	}

	.mano-tim-cards--gastro .mano-tim-cards__foot.mano-tim-cards__foot,
	.mano-tim-cards--gastro .mano-tim-cards__head + .mano-tim-cards__foot.mano-tim-cards__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: 50px;
		border-top: 0;
	}

	.mano-tim-cards--gastro .mano-tim-cards__head + .mano-tim-cards__foot.mano-tim-cards__foot {
		margin-top: 80px;
	}

	.mano-tim-cards--gastro .mano-tim-cards__label.mano-tim-cards__label {
		padding: 0 0 15px;
		border-bottom: 1px solid var(--wp--preset--color--kaptol);
		color: var(--wp--preset--color--kaptol);
	}

	.mano-tim-cards--gastro .mano-tim-cards__list.mano-tim-cards__list {
		padding-top: 15px;
		font-size: 16px;
		line-height: 18px;
		text-align: left;
	}

	/* The form (Frame 103): 50 above, 80 below, the title (30/35) 50 above the fields. */
	.mano-write--privatna.mano-write--privatna {
		padding: 50px 16px 80px;
		background: var(--wp--preset--color--bijela); /* Frame 103 is #ffffff */
	}

	.mano-write--privatna .mano-write__title.mano-write__title {
		max-width: none;
		margin-left: 0;
		font-size: 30px;
		line-height: 35px;
	}
}
