/* Restaurant wine band (ManO2 Figma 242:885–242:893, update 28/10): dark band 3072–3478 at 1440
   (406 tall). Left: eyebrow and the heading (70/72, light); right from x 827 (517 wide): the text
   (18/24, warm white, top level with the eyebrow) and an outline button 60 under it (Inter Medium 13,
   45px tall). A second text under the button still works (30px under it). The band's colour comes
   from its section style. */

.mano-wine.mano-wine {
	display: grid;
	box-sizing: border-box;
	min-height: 406px;
	grid-template-columns: minmax(0, 508px) minmax(0, 517px);
	justify-content: space-between;
	align-content: start;
	gap: 48px;
	margin-block: 0;
	padding: 115px var(--wp--preset--spacing--gutter) 81px;
}

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

.mano-wine__head > *,
.mano-wine__body > * {
	margin-block: 0;
}

.mano-wine__title.mano-wine__title {
	margin-top: 20px;
	color: var(--wp--preset--color--button);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(44px, 4.861vw, 70px);
	font-stretch: condensed;
	line-height: 1.0286;
	white-space: nowrap; /* the line break is in the text, as in Figma */
}

.mano-wine__body.mano-wine__body {
	padding-top: 0; /* text top level with the eyebrow's */
}

.mano-wine__text.mano-wine__text {
	color: var(--wp--preset--color--topla-bijela);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--body);
	line-height: 24px;
	letter-spacing: 0.02em;
}

.mano-wine__buttons.mano-wine__buttons {
	margin-top: 60px;
}

.mano-wine__buttons + .mano-wine__text.mano-wine__text {
	margin-top: 30px;
}

.mano-wine__buttons .wp-block-button__link {
	padding: 13.5px 21px;
	color: var(--wp--preset--color--topla-bijela);
	font-weight: 500;
	line-height: 16px;
}

@media (max-width: 1023px) {
	.mano-wine.mano-wine {
		min-height: 0;
		grid-template-columns: minmax(0, 614px);
		justify-content: start;
		padding-block: 80px;
	}

	.mano-wine__body.mano-wine__body {
		padding-top: 0;
	}

	.mano-wine__title.mano-wine__title {
		white-space: normal;
	}
}

/* Stacked variant (Kaptol Figma 1:2465/1:2466): one column in a 423px band, 110px from the top and
   120 from the bottom: eyebrow, heading (70/72, light) and the text (437 wide) 40px under it, no button. */
.mano-wine--stacked.mano-wine--stacked {
	display: block;
	padding: 110px var(--wp--preset--spacing--gutter) 120px;
}

.mano-wine--stacked .mano-wine__title.mano-wine__title {
	color: var(--wp--preset--color--button);
}

.mano-wine--stacked .mano-wine__body.mano-wine__body {
	max-width: 437px;
	padding-top: 40px;
}

@media (max-width: 1023px) {
	.mano-wine--stacked.mano-wine--stacked {
		padding-block: 80px;
	}
}

/* Phones (Figma 353:392 Frame 131): a 437px dark block, everything centred: eyebrow (Inter SemiBold
   10/12, 2.5px tracking), 15 lower the heading (serif 30/33, one line: the text's line break is for
   desktop), 24 lower the text (serif 14/20). The frame shows no button. Restaurant pages only. */
@media (max-width: 781px) {
	body:has(.mano-rhero__wordmark) .mano-wine.mano-wine {
		display: flex;
		min-height: 437px;
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		padding: 72px 16px;
		text-align: center;
		-webkit-font-smoothing: antialiased; /* light on dark, as Figma renders it */
		-moz-osx-font-smoothing: grayscale;
	}

	body:has(.mano-rhero__wordmark) .mano-wine__head .is-style-eyebrow.is-style-eyebrow {
		font-size: 10px;
		line-height: 12px;
		letter-spacing: 2.5px;
	}

	body:has(.mano-rhero__wordmark) .mano-wine__title.mano-wine__title {
		margin-top: 15px;
		color: var(--wp--preset--color--topla-bijela);
		font-size: 30px;
		line-height: 33px;
	}

	body:has(.mano-rhero__wordmark) .mano-wine__title br {
		content: "";
	}

	body:has(.mano-rhero__wordmark) .mano-wine__title br::after {
		content: " ";
	}

	body:has(.mano-rhero__wordmark) .mano-wine__text.mano-wine__text {
		font-size: 14px;
		line-height: 20px;
	}

	body:has(.mano-rhero__wordmark) .mano-wine__buttons {
		display: none;
	}
}
