/* Team pages (ManO2 Figma 268:476, ManO 268:321). Sections, top to bottom as they appear:
   hero (.mano-tim-hero), chef profile (.mano-tim-profile), timeline between rules (.mano-tim-timeline),
   cards (.mano-tim-cards), profile with a dotted timeline and a photo (.mano-tim-detail), awards
   table (.mano-tim-awards) and the gallery row (.mano-photos--tim). Each band's colour comes from its
   section style; without one it shows the page colour. Measurements are Figma's at 1440. */

/* Shared type. On the ManO team page the eyebrows are dark (Figma 272:795, 275:866, 275:872). */
.page-template-page-restoran-kaptol :is(.mano-tim-profile, .mano-tim-detail) .is-style-eyebrow.is-style-eyebrow {
	color: var(--wp--preset--color--dark-kaptol);
}

.mano-tim-name.mano-tim-name {
	margin: 20px 0 0; /* eyebrow 13 + 20: name at +33 */
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(44px, 4.861vw, 70px);
	font-weight: 400;
	line-height: 1.0286; /* 72px */
}

.mano-tim-lead.mano-tim-lead {
	max-width: 403px;
	margin: 53px 0 0; /* name 72 + 53: at +158 */
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 22px;
	line-height: 32px;
	letter-spacing: 0.03em;
}

.mano-tim-quote.mano-tim-quote {
	margin: 0;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(32px, 3.125vw, 45px);
	font-weight: 400;
	line-height: 1.2223; /* 55px (a hair over, so WebKit does not round a line down to 54) */
}

.mano-tim-detail__head .mano-tim-quote {
	letter-spacing: 0.02em; /* Figma 270:652 */
}

.mano-tim-small.mano-tim-small {
	margin: 0;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	line-height: 18px;
}

/* Hero: the photo one screen tall (1440 × 1024), the title (H1, 70/75) 188px from the top. */
.mano-tim-hero.wp-block-cover {
	box-sizing: border-box;
	min-height: max(560px, 71.111vw) !important;
	margin-block: 0;
	padding: clamp(120px, 13.06vw, 188px) var(--wp--preset--spacing--gutter) 64px;
	align-items: flex-start;
	justify-content: flex-start;
}

.mano-tim-hero .wp-block-cover__inner-container {
	width: 100%;
}

.mano-tim-hero__title.mano-tim-hero__title {
	max-width: 605px;
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(44px, 4.861vw, 70px);
	font-weight: 400;
	line-height: 1.0715; /* 75px */
}

/* ManO2's title sits lower in its frame (single line, Figma 268:498). */
.page-template-page-restoran-mano2 .mano-tim-hero.wp-block-cover {
	padding-top: clamp(130px, 14.6vw, 210px);
}

/* Chef profile: eyebrow, name, lead (line breaks in the text), bio; the portrait 609 × 858 on the
   right, top level with the eyebrow and ending 56px from the edge. 78px above, 88 below. */
.mano-tim-profile.mano-tim-profile {
	display: grid;
	grid-template-columns: minmax(0, 508px) minmax(0, 609px);
	justify-content: space-between;
	column-gap: 48px;
	margin-block: 0;
	padding: 78px max(16px, calc(var(--wp--preset--spacing--gutter) - 40px)) 88px var(--wp--preset--spacing--gutter);
}

.mano-tim-profile__text > *,
.mano-tim-profile > * {
	margin-block: 0;
}

.mano-tim-profile__bio.mano-tim-profile__bio {
	max-width: 423px;
	margin-top: 78px;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

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

.mano-tim-profile__bio > * + * {
	margin-top: 20px;
}

/* Kristian Godinić: bio 111px under his three-line lead (Figma 272:798 → 272:797). */
.page-template-page-restoran-kaptol .mano-tim-profile__bio.mano-tim-profile__bio {
	margin-top: 111px;
}

/* Serif bio (Nika Čavlović, Figma 272:688): 16/22, 508 wide. */
.mano-tim-profile__bio.mano-tim-profile__bio--serif {
	max-width: 508px;
	margin-top: 154px; /* Figma 272:689 → 272:688 */
	color: var(--wp--preset--color--tekst-primarna);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0.02em;
}

.mano-tim-profile__bio.mano-tim-profile__bio--serif > * + * {
	margin-top: 22px;
}

.mano-tim-profile__photo.mano-tim-profile__photo {
	margin: 0;
}

.mano-tim-profile__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 609 / 858;
	object-fit: cover;
}

@media (max-width: 1023px) {
	.mano-tim-profile.mano-tim-profile {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 56px;
		padding: 72px var(--wp--preset--spacing--gutter);
	}

	.mano-tim-profile__photo.mano-tim-profile__photo {
		max-width: 609px;
	}
}

/* Timeline between rules (Figma 268:509–268:540): six columns 2048–2200, each with a rule on its left
   (and the last on its right too), #b9ad99; the year (32/32) and the label (18/32) at the top, 13px
   from the rule, the note (Inter 10/12, warm grey) at the bottom. 90px below. */
.mano-tim-timeline.mano-tim-timeline {
	margin-block: 0;
	padding: 0 var(--wp--preset--spacing--gutter) 90px;
}

.mano-tim-timeline__row.mano-tim-timeline__row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	max-width: 1248px;
	margin: 0 auto;
}

.mano-tim-timeline__item.mano-tim-timeline__item {
	display: flex;
	box-sizing: border-box;
	min-height: 152px;
	flex-direction: column;
	margin: 0;
	padding: 0 12px 0 13px;
	border-left: 1px solid var(--wp--preset--color--pijesak);
}

.mano-tim-timeline__item:last-child {
	border-right: 1px solid var(--wp--preset--color--pijesak);
}

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

.mano-tim-year.mano-tim-year {
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 32px;
	line-height: 32px;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.mano-tim-timeline .mano-tim-label.mano-tim-label {
	margin-top: 12px;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 18px;
	line-height: 32px;
	letter-spacing: 0.03em;
}

.mano-tim-note.mano-tim-note {
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 10px;
	line-height: 12px;
}

.mano-tim-timeline .mano-tim-note.mano-tim-note {
	max-width: 148px;
	margin-top: auto;
}

@media (max-width: 1023px) {
	.mano-tim-timeline__row.mano-tim-timeline__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 32px;
	}

	.mano-tim-timeline__item:nth-child(3n) {
		border-right: 1px solid var(--wp--preset--color--pijesak);
	}
}

@media (max-width: 599px) {
	.mano-tim-timeline__row.mano-tim-timeline__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mano-tim-timeline__item:nth-child(3n) {
		border-right: 0;
	}

	.mano-tim-timeline__item:nth-child(2n) {
		border-right: 1px solid var(--wp--preset--color--pijesak);
	}
}

/* Cards: a head (heading 45/55, or 70/72 in the Display size; optionally a text on the right from
   x 730, serif 16/22), then three cards (403 × 327) or four (297 × 372), 20px apart, each a photo,
   a number, a title (22/32) and an optional text; optionally a rule with a label and a list on the
   right, and a quote. 83px above, 74 below (62 under three cards). */
.mano-tim-cards.mano-tim-cards {
	margin-block: 0;
	padding: 83px var(--wp--preset--spacing--gutter) 74px;
}

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

.mano-tim-cards:has(.mano-tim-cards__grid > :nth-child(3):last-child) {
	padding-bottom: 62px;
}

.mano-tim-cards__head.mano-tim-cards__head {
	display: grid;
	grid-template-columns: minmax(0, 614px) minmax(0, 614px);
	justify-content: space-between;
	column-gap: 20px;
}

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

.mano-tim-cards__head .mano-tim-quote {
	max-width: 508px;
}

.mano-tim-cards__head .mano-tim-quote.has-display-font-size {
	font-size: clamp(44px, 4.861vw, 70px) !important;
	line-height: 1.0286;
	letter-spacing: 0;
}

.mano-tim-cards__intro.mano-tim-cards__intro {
	padding-top: 6px;
	color: var(--wp--preset--color--tekst-primarna);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0.01em;
}

.mano-tim-cards__head:has(.has-display-font-size) .mano-tim-cards__intro {
	padding-top: 14px;
}

.mano-tim-cards__grid.mano-tim-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 20px;
	margin-top: 68px;
}

.mano-tim-cards__head:has(.mano-tim-cards__intro) + .mano-tim-cards__grid {
	margin-top: 127px; /* ManO "Vrijeme kao sastojak" (Figma 272:814 → 272:830) */
}

.mano-tim-cards__head:has(.has-display-font-size) + .mano-tim-cards__grid {
	margin-top: 124px; /* ManO2 "Za istim stolom" (Figma 268:629 → 268:630) */
}

.mano-tim-cards__grid:has(> :nth-child(4)) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mano-tim-card.mano-tim-card {
	display: flex;
	flex-direction: column;
	margin: 0;
}

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

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

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

.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card img {
	aspect-ratio: 297 / 372;
}

.mano-tim-card__number.mano-tim-card__number {
	margin-top: 28px;
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 10px;
	font-weight: 800;
	line-height: 12px;
}

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

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

.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__number {
	margin-top: 35px;
}

.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__text {
	margin-top: 16px;
	font-weight: 500;
}

.mano-tim-cards__foot.mano-tim-cards__foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-top: 127px;
	border-top: 1px solid var(--wp--preset--color--pijesak);
}

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

.mano-tim-cards__label.mano-tim-cards__label {
	padding-top: 13px;
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 14px;
	white-space: nowrap;
}

.mano-tim-cards__list.mano-tim-cards__list {
	padding-top: 24px;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 22px;
	line-height: 32px;
	letter-spacing: 0.03em;
	text-align: right;
}

/* Nika's quote band right under her profile (Figma 620:5, 18/11): the restaurant statement band
   (mano-restoran-statement.css) in warm grey; the note 307 wide. */
.mano-tim-profile.mano-tim-profile + .mano-statement .mano-statement__note.mano-statement__note {
	max-width: 307px;
}

@media (max-width: 1023px) {
	.mano-tim-cards__head.mano-tim-cards__head {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
	}

	.mano-tim-cards__head:has(.mano-tim-cards__intro) + .mano-tim-cards__grid,
	.mano-tim-cards__grid.mano-tim-cards__grid {
		margin-top: 48px;
	}

	.mano-tim-cards__grid:has(> :nth-child(4)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mano-tim-cards__foot.mano-tim-cards__foot {
		flex-direction: column;
		margin-top: 64px;
	}

	.mano-tim-cards__list.mano-tim-cards__list {
		padding-top: 0;
		text-align: left;
	}
}

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

/* Detail: left a quote (45/55) or eyebrow + name + lead, right a text (Inter 14/18, 403 wide from
   x 941); 367px under the top a dotted timeline (614 wide: dark line through 10px dots at 0 / 211 / 423,
   year 32, label 18/22, note Inter 10/12) with an optional bio (Inter 14/18, 614 wide) under it, and
   on the right the photo (403 × 549) level with the dots. 63px above, 44 below. */
.mano-tim-detail.mano-tim-detail {
	display: grid;
	grid-template-columns: minmax(0, 614px) minmax(0, 403px);
	grid-template-rows: minmax(367px, auto) auto;
	justify-content: space-between;
	column-gap: 48px;
	margin-block: 0;
	padding: 63px var(--wp--preset--spacing--gutter) 44px;
}

/* A white detail band is one screen at 1440 (Matea Lipanović, Figma 275:869: 1024 tall, eyebrow at +54). */
@media (min-width: 1024px) {
	.mano-tim-detail.is-style-section-white {
		box-sizing: border-box;
		min-height: 1024px;
		align-content: start;
		padding-top: 54px;
	}
}

.mano-tim-detail > *,
.mano-tim-detail__head > *,
.mano-tim-detail__body > * {
	margin-block: 0;
}

.mano-tim-detail__head .mano-tim-quote,
.mano-tim-detail__head .mano-tim-name {
	max-width: 614px;
}

.mano-tim-detail__head .mano-tim-lead {
	max-width: 297px;
}

.mano-tim-detail__aside.mano-tim-detail__aside {
	grid-column: 2;
	grid-row: 1;
}

.mano-tim-detail__body.mano-tim-detail__body {
	grid-column: 1;
	grid-row: 2;
}

.mano-tim-detail__photo.mano-tim-detail__photo {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
}

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

.mano-tim-dots.mano-tim-dots {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 211px));
	max-width: 614px;
}

.mano-tim-dots::before {
	content: "";
	position: absolute;
	top: 4.5px;
	right: 0;
	left: 0;
	border-top: 1px solid var(--wp--preset--color--dark-kaptol);
}

.mano-tim-dots__item.mano-tim-dots__item {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 37px 16px 0 0;
}

.mano-tim-dots__item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--dark-kaptol);
}

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

.mano-tim-dots .mano-tim-label.mano-tim-label {
	min-height: 44px;
	margin-top: 12px;
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 0.03em;
}

.mano-tim-dots .mano-tim-note.mano-tim-note {
	max-width: 148px;
	margin-top: 16px;
}

.mano-tim-detail__bio.mano-tim-detail__bio {
	max-width: 614px;
	margin-top: 95px;
}

@media (max-width: 1023px) {
	.mano-tim-detail.mano-tim-detail {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		row-gap: 40px;
		padding-block: 72px;
	}

	.mano-tim-detail__aside.mano-tim-detail__aside,
	.mano-tim-detail__body.mano-tim-detail__body,
	.mano-tim-detail__photo.mano-tim-detail__photo {
		grid-column: 1;
		grid-row: auto;
	}

	.mano-tim-detail__photo.mano-tim-detail__photo {
		max-width: 403px;
	}

	.mano-tim-detail__bio.mano-tim-detail__bio {
		margin-top: 48px;
	}
}

/* Awards (Figma 272:699–272:735): "Priznanja" (45/55) on the left; a table from x 519 (825 wide), rows
   65 tall between #ded8cd rules: year (serif 18, warm grey), title (serif 22), source and person
   (Inter SemiBold 12, warm grey; the person in capitals). 87px above, 141 below. */
.mano-tim-awards.mano-tim-awards {
	display: grid;
	grid-template-columns: minmax(0, 423fr) minmax(0, 825fr);
	margin-block: 0;
	padding: 87px var(--wp--preset--spacing--gutter) 141px;
}

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

.mano-tim-awards .wp-block-table {
	margin: 0;
	overflow-x: visible;
}

.mano-tim-awards table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.mano-tim-awards td {
	box-sizing: border-box;
	height: 65px;
	padding: 0 12px 0 0;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--mano-dva-bez);
	color: var(--wp--preset--color--kaptol);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 14px;
	vertical-align: middle;
}

.mano-tim-awards tr:last-child td {
	border-bottom: 1px solid var(--wp--preset--color--mano-dva-bez);
}

.mano-tim-awards td:nth-child(1) {
	width: 12.73%; /* 105 / 825 */
	font-family: var(--wp--preset--font-family--serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.03em;
}

.mano-tim-awards td:nth-child(2) {
	width: 48%; /* 396 / 825 */
	color: var(--wp--preset--color--dark-kaptol);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.03em;
}

.mano-tim-awards td:nth-child(3) {
	width: 26.42%; /* 218 / 825 */
}

.mano-tim-awards td:nth-child(4) {
	width: 12.85%; /* 106 / 825 */
	padding-right: 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 1023px) {
	.mano-tim-awards.mano-tim-awards {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
		padding-block: 72px;
	}
}

/* Gallery row on the team pages: one row of three (403 × 537) on the page's colour, 119px above,
   130 below (368 on ManO, whose last screen is 1024 tall). */
.mano-photos.mano-photos--tim {
	padding: 119px var(--wp--preset--spacing--gutter) 130px;
	background: transparent;
}

.page-template-page-restoran-kaptol .mano-photos.mano-photos--tim {
	padding-bottom: 368px;
}

@media (max-width: 1023px) {
	.mano-photos.mano-photos--tim,
	.page-template-page-restoran-kaptol .mano-photos.mano-photos--tim {
		padding-block: 72px;
	}
}

/* Phones (Figma 359:997 ManO2 — Tim, 371:1905 ManO — Tim, 402 wide): one column 16px from the edges.
   Type: eyebrow Inter 10/12, names 40/40, leads 20/28, bios Inter 12/18 (ManO details 12/14), quotes
   26/30; cards with a 370 × 218 photo; timeline and dotted timeline become a list of "year — label"
   (18/20) with a note; awards in two columns. Bands 80 above and below on the page colour, 50 above
   on a coloured band. */
@media (max-width: 781px) {
	/* Hero: one screen, the title (30/35) at y 123, level with the menu button. */
	.mano-tim-hero.wp-block-cover,
	.page-template-page-restoran-mano2 .mano-tim-hero.wp-block-cover {
		min-height: 100svh !important;
		padding: calc(123px + var(--wp-admin--admin-bar--height, 0px)) 16px 64px;
	}

	.mano-tim-hero .mano-tim-hero__title.mano-tim-hero__title {
		max-width: 250px;
		color: var(--wp--preset--color--topla-bijela) !important;
		font-size: 30px;
		line-height: 35px;
	}

	/* ManO: the whisk and the food in view, the phone frame's crop (371:1905, x offset 0.480 of a 0.307
	   window: 69%). */
	.page-template-page-restoran-kaptol .mano-tim-hero .wp-block-cover__image-background {
		object-position: 69% 50% !important;
	}

	/* Shared type. */
	:is(.mano-tim-profile, .mano-tim-detail) .is-style-eyebrow.is-style-eyebrow {
		margin: 0;
		font-size: 10px;
		line-height: 12px;
	}

	.mano-tim-name.mano-tim-name {
		margin-top: 15px;
		font-size: 40px;
		line-height: 40px;
	}

	.mano-tim-lead.mano-tim-lead {
		max-width: none; /* the profiles' leads run 370 wide (Nika, Figma 359:997), the details' 272 */
		margin-top: 50px;
		font-size: 20px;
		line-height: 28px;
	}

	.mano-tim-detail__head .mano-tim-lead.mano-tim-lead {
		max-width: 272px;
		margin-top: 50px;
		font-size: 20px;
		line-height: 28px;
	}

	.mano-tim-quote.mano-tim-quote,
	.mano-tim-detail__head .mano-tim-quote {
		font-size: 26px;
		line-height: 30px;
		letter-spacing: 0;
	}

	.mano-tim-year.mano-tim-year,
	.mano-tim-label.mano-tim-label,
	.mano-tim-timeline .mano-tim-label.mano-tim-label,
	.mano-tim-dots .mano-tim-label.mano-tim-label {
		min-height: 0;
		margin: 0;
		font-size: 18px;
		line-height: 20px;
		letter-spacing: 0.03em;
		white-space: normal;
	}

	/* Year and label run on one line: "2004 — Gallo". */
	:is(.mano-tim-timeline__item, .mano-tim-dots__item) > .mano-tim-year,
	:is(.mano-tim-timeline__item, .mano-tim-dots__item) > .mano-tim-label {
		display: inline;
	}

	:is(.mano-tim-timeline__item, .mano-tim-dots__item) > .mano-tim-year::after {
		content: " \2014  ";
	}

	/* Jurica's list reads "4 Hrvatske kuhinje" (Figma 371:1905), no dash. */
	.page-template-page-restoran-kaptol .mano-tim-detail:not(.is-style-section-white) .mano-tim-dots__item > .mano-tim-year::after {
		content: " ";
	}

	.mano-tim-note.mano-tim-note,
	.mano-tim-timeline .mano-tim-note.mano-tim-note,
	.mano-tim-dots .mano-tim-note.mano-tim-note {
		display: block;
		max-width: none;
		margin-top: 15px;
	}

	.page-template-page-restoran-mano2 .mano-tim-note.mano-tim-note {
		color: var(--wp--preset--color--taupe);
	}

	/* Chef profile (Figma Frame 146 / 175): eyebrow, name, lead, bio, then the 370 × 521 portrait. */
	.mano-tim-profile.mano-tim-profile {
		row-gap: 50px;
		padding: 80px 16px;
	}

	.mano-tim-profile.mano-tim-profile[class*="is-style-section-"] {
		padding-top: 50px;
	}

	/* Kristian's band is on the page colour in the phone frame (371:1905, Frame 146). */
	.page-template-page-restoran-kaptol .mano-tim-profile.is-style-section-kaptol {
		padding-top: 80px;
		background: transparent;
	}

	.mano-tim-profile__bio.mano-tim-profile__bio,
	.page-template-page-restoran-kaptol .mano-tim-profile__bio.mano-tim-profile__bio,
	.mano-tim-profile__bio.mano-tim-profile__bio--serif {
		max-width: none;
		margin-top: 50px;
		color: var(--wp--preset--color--dark-kaptol);
		font-family: var(--wp--preset--font-family--sans);
		font-size: 12px;
		font-weight: 500;
		line-height: 18px;
		letter-spacing: 0;
	}

	.mano-tim-profile__bio.mano-tim-profile__bio > * + * {
		margin-top: 18px;
	}

	.mano-tim-profile__photo.mano-tim-profile__photo {
		max-width: none;
	}

	.mano-tim-profile__photo img {
		aspect-ratio: 370 / 521;
	}

	/* Timeline (Figma Frame 156): two columns 24 apart, rows 24 apart, a rule under each item 15 below
	   its text; the cards follow 50 below. */
	.mano-tim-timeline.mano-tim-timeline {
		padding: 0 16px;
	}

	.mano-tim-timeline__row.mano-tim-timeline__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.mano-tim-timeline .mano-tim-timeline__item.mano-tim-timeline__item {
		display: block;
		min-height: 0;
		font-size: 18px;
		line-height: 20px;
		padding: 0 0 14px; /* + the 1px rule: 15 */
		border: 0;
		border-bottom: 1px solid var(--wp--preset--color--pijesak);
	}

	.mano-tim-timeline .mano-tim-note.mano-tim-note {
		max-width: 144px;
	}

	/* Cards (Figma Frame 160 / 172 / 214 / 205): head, 50, the cards 24 apart (ManO's 50), each a
	   370 × 218 photo, 24, number, 15, title 18/22, 15, text Inter 12/14. 50 above, 80 below. */
	.mano-tim-cards.mano-tim-cards,
	.mano-tim-cards.mano-tim-cards:has(.mano-tim-cards__grid > :nth-child(3):last-child) {
		padding: 50px 16px 80px;
	}

	/* ManO's cards band is white in the phone frame (371:1905, Frame 88). */
	.page-template-page-restoran-kaptol .mano-tim-cards.mano-tim-cards {
		background: var(--wp--preset--color--bijela);
	}

	.mano-tim-cards__head.mano-tim-cards__head {
		row-gap: 0;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__head .mano-tim-quote {
		font-size: 30px;
		line-height: 35px;
	}

	.mano-tim-cards__head .mano-tim-quote.has-display-font-size {
		font-size: 40px !important;
		line-height: 40px;
	}

	.mano-tim-cards__intro.mano-tim-cards__intro,
	.mano-tim-cards__head:has(.has-display-font-size) .mano-tim-cards__intro {
		margin-top: 24px;
		padding-top: 0;
		color: var(--wp--preset--color--dark-kaptol);
		font-size: 13px;
		line-height: 18px;
		letter-spacing: 0.01em;
	}

	.mano-tim-cards__head:has(.has-display-font-size) .mano-tim-cards__intro {
		margin-top: 50px;
		font-size: 14px;
		line-height: 20px;
	}

	.mano-tim-cards__grid.mano-tim-cards__grid,
	.mano-tim-cards__head:has(.mano-tim-cards__intro) + .mano-tim-cards__grid,
	.mano-tim-cards__head:has(.has-display-font-size) + .mano-tim-cards__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-top: 50px;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__grid.mano-tim-cards__grid {
		row-gap: 50px;
	}

	.mano-tim-card img,
	.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card img {
		aspect-ratio: 370 / 218;
	}

	.mano-tim-card__number.mano-tim-card__number,
	.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__number {
		margin-top: 24px;
		color: var(--wp--preset--color--taupe);
	}

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

	.mano-tim-card__text.mano-tim-card__text,
	.mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__text {
		max-width: 272px;
		margin-top: 15px;
		font-weight: 400;
	}

	.page-template-page-restoran-mano2 .mano-tim-card__text.mano-tim-card__text {
		color: var(--wp--preset--color--taupe);
	}

	.page-template-page-restoran-kaptol .mano-tim-card__text.mano-tim-card__text {
		max-width: none;
		font-weight: 500;
	}

	/* "Za istim stolom" (Figma Frame 205): four guests in two columns, 24 apart; 173 × 216 photos,
	   number, 10, name 18/20, 10, place Inter SemiBold 12/14. 80 above and below. */
	.mano-tim-cards.mano-tim-cards:has(.has-display-font-size) {
		padding-top: 80px;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards__grid.mano-tim-cards__grid:has(> :nth-child(4)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card img {
		aspect-ratio: 173 / 216;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__title {
		margin-top: 10px;
		line-height: 20px;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards__grid:has(> :nth-child(4)) .mano-tim-card__text {
		margin-top: 10px;
		font-weight: 600;
	}

	/* Foot: label, 15, rule, 15, list (serif 16/20; ManO 16/18). 100 under the cards (ManO 80). */
	.mano-tim-cards__foot.mano-tim-cards__foot {
		display: block;
		margin-top: 100px;
		border-top: 0;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__foot.mano-tim-cards__foot {
		margin-top: 80px;
	}

	.mano-tim-cards__label.mano-tim-cards__label {
		padding: 0 0 15px;
		border-bottom: 1px solid var(--wp--preset--color--mano-dva-bez);
		color: var(--wp--preset--color--taupe);
		white-space: normal;
	}

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

	.page-template-page-restoran-kaptol .mano-tim-cards__list.mano-tim-cards__list {
		line-height: 18px;
		letter-spacing: 0;
	}

	/* Nika's quote band (Figma 620:200, Frame 78): 50 above and below, as tall as its text (the
	   ManO restaurant page's 437 band does not apply); the note 366 wide. */
	.mano-tim-profile.mano-tim-profile + .mano-statement.mano-statement {
		min-height: 0;
		padding-block: 50px;
	}

	.mano-tim-profile.mano-tim-profile + .mano-statement .mano-statement__note.mano-statement__note {
		max-width: 366px;
	}

	/* Detail: one column in the phone frame's order. ManO2 (Figma Frame 164, white): quote, 50, list,
	   50, 370 × 218 photo, 24, text (Inter 12/18, 296 wide). ManO (Frame 147 / 148): eyebrow, name,
	   lead, 50, bio and text (Inter 12/14), 50, 370 × 521 photo, 50, list. */
	.mano-tim-detail.mano-tim-detail {
		display: flex;
		flex-direction: column;
		gap: 0;
		min-height: 0;
		padding: 80px 16px;
	}

	.mano-tim-detail.mano-tim-detail.is-style-section-white,
	.page-template-page-restoran-mano2 .mano-tim-detail.mano-tim-detail {
		padding-top: 50px;
	}

	.page-template-page-restoran-mano2 .mano-tim-detail.mano-tim-detail {
		background: var(--wp--preset--color--bijela);
	}

	.mano-tim-detail__body.mano-tim-detail__body {
		display: contents;
	}

	.mano-tim-detail__head { order: 1; }
	.mano-tim-detail__bio { order: 2; }
	.mano-tim-detail__aside { order: 3; }
	.mano-tim-detail__photo { order: 4; }
	.mano-tim-dots { order: 5; }

	.page-template-page-restoran-mano2 .mano-tim-dots { order: 2; }
	.page-template-page-restoran-mano2 .mano-tim-detail__photo { order: 3; }
	.page-template-page-restoran-mano2 .mano-tim-detail__aside { order: 4; }

	.mano-tim-detail .mano-tim-small.mano-tim-small {
		font-size: 12px;
		line-height: 14px;
	}

	.mano-tim-detail__bio.mano-tim-detail__bio {
		max-width: none;
		margin-top: 50px;
	}

	.mano-tim-detail__aside.mano-tim-detail__aside {
		margin-top: 14px;
	}

	.page-template-page-restoran-mano2 .mano-tim-detail__aside.mano-tim-detail__aside {
		max-width: 296px;
		margin-top: 24px;
		line-height: 18px;
	}

	.mano-tim-detail__photo.mano-tim-detail__photo {
		max-width: none;
		margin-top: 50px;
	}

	.mano-tim-detail__photo img {
		aspect-ratio: 370 / 521;
	}

	.page-template-page-restoran-mano2 .mano-tim-detail__photo img {
		aspect-ratio: 370 / 218;
	}

	.mano-tim-dots.mano-tim-dots {
		display: flex;
		flex-direction: column;
		gap: 24px;
		max-width: none;
		margin-top: 50px;
	}

	.mano-tim-dots::before,
	.mano-tim-dots__item::before {
		content: none;
	}

	.mano-tim-dots__item.mano-tim-dots__item {
		display: block;
		padding: 0;
		font-size: 18px;
		line-height: 20px;
	}

	/* Figma keeps each list label on one line ("2x — Nominacija / The Best Chef Award",
	   "3★ Michelinove zvjezdice"); the content's desktop line break is dropped on phones
	   (the content has a space before the <br>, so the words stay apart). */
	.mano-tim-dots .mano-tim-label br {
		display: none;
	}

	/* Awards (Figma Frame 190): "Priznanja" 40/40, 50, rows of two columns 24 apart: year and title
	   (serif 16/20) on the left, source and person (Inter 12/18, sand) on the right, centred; a rule
	   24 under each row and 24 above the next. The photos follow 50 below. */
	.mano-tim-awards.mano-tim-awards {
		display: block;
		padding: 80px 16px 0;
	}

	.mano-tim-awards > .mano-tim-quote.mano-tim-quote {
		font-size: 40px;
		line-height: 40px;
	}

	.mano-tim-awards .wp-block-table {
		margin-top: 50px;
	}

	.mano-tim-awards table,
	.mano-tim-awards tbody {
		display: block;
	}

	.mano-tim-awards tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto;
		column-gap: 24px;
		padding-bottom: 23px; /* + the 1px rule: 24 */
		border-bottom: 1px solid var(--wp--preset--color--mano-dva-bez);
	}

	.mano-tim-awards tr + tr {
		margin-top: 24px;
	}

	.mano-tim-awards td,
	.mano-tim-awards tr:last-child td,
	.mano-tim-awards td:nth-child(n) {
		width: auto;
		height: auto;
		padding: 0;
		border: 0;
		font-size: 16px;
		line-height: 20px;
		letter-spacing: 0.03em;
	}

	.mano-tim-awards tr td:nth-child(1),
	.mano-tim-awards tr td:nth-child(2) {
		grid-column: 1;
		color: var(--wp--preset--color--taupe);
	}

	.mano-tim-awards tr td:nth-child(1) {
		color: var(--wp--preset--color--pijesak);
	}

	/* Source and person: an 18 + 18 pair centred on the left column's height. */
	.mano-tim-awards tr td:nth-child(3),
	.mano-tim-awards tr td:nth-child(4) {
		grid-column: 2;
		grid-row: 1 / 3;
		align-self: center;
		color: var(--wp--preset--color--pijesak);
		font-family: var(--wp--preset--font-family--sans);
		font-size: 12px;
		font-weight: 500;
		line-height: 18px;
		letter-spacing: 0;
	}

	.mano-tim-awards tr td:nth-child(3) {
		margin-bottom: 18px;
	}

	.mano-tim-awards tr td:nth-child(4) {
		margin-top: 18px;
	}

	/* Photos: ManO2 two side by side (173 × 231, 24 apart), 50 under the awards and 24 above the next
	   band; ManO the two and the third under them (370 × 491), 24 above, 80 below. */
	.mano-photos.mano-photos--tim,
	.page-template-page-restoran-kaptol .mano-photos.mano-photos--tim {
		padding: 24px 16px 80px;
	}

	.page-template-page-restoran-mano2 .mano-photos.mano-photos--tim {
		padding: 50px 16px 24px;
	}

	.mano-photos--tim .mano-photos__row.mano-photos__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.mano-photos--tim .mano-photos__row img {
		aspect-ratio: 173 / 231;
	}

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

	.mano-photos--tim .mano-photos__row > :nth-child(3) img {
		aspect-ratio: 370 / 491;
	}

	.page-template-page-restoran-mano2 .mano-photos--tim .mano-photos__row > :nth-child(3) {
		display: none;
	}

	/* Photo crops from the phone frames (359:997, 371:1905: the image fill's offset in the visible
	   window). ManO2: Hrvoje's portrait, the Tradicija cards 01 / 02, the detail photo. */
	.page-template-page-restoran-mano2 .mano-tim-profile:not([class*="is-style-section-"]) .mano-tim-profile__photo img {
		object-position: 50% 42%;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards:not([class*="is-style-section-"]) .mano-tim-card:nth-child(1) img {
		object-position: 50% 68%;
	}

	.page-template-page-restoran-mano2 .mano-tim-cards:not([class*="is-style-section-"]) .mano-tim-card:nth-child(2) img {
		object-position: 50% 41%;
	}

	.page-template-page-restoran-mano2 .mano-tim-detail__photo img {
		object-position: 50% 46%;
	}

	/* ManO, "Vrijeme kao sastojak" cards 01–04. */
	.page-template-page-restoran-kaptol .mano-tim-cards__grid > .mano-tim-card:nth-child(1) img {
		object-position: 50% 98%;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__grid > .mano-tim-card:nth-child(2) img {
		object-position: 50% 100%;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__grid > .mano-tim-card:nth-child(3) img {
		object-position: 50% 10%;
	}

	.page-template-page-restoran-kaptol .mano-tim-cards__grid > .mano-tim-card:nth-child(4) img {
		object-position: 50% 95%;
	}

	/* ManO team page, "Načelo kuhinje" (Figma 371:1905, Frame 121): the band 437 tall, the eyebrow 116
	   under its top (Inter 600 10/12, 2.5 tracking), 15 lower the sentence (serif 30/33, 0.6 tracking),
	   50 lower the note (Inter 500 12/14), all topla bijela; then the photo 402 × 437. */
	/* The frame lays the band 16px over the cards' 80 bottom padding: 64 between the list and the band. */
	.page-template-page-restoran-kaptol .mano-tim-cards.mano-tim-cards:has(+ .mano-statement) {
		padding-bottom: 64px;
	}

	body:has(.mano-tim-hero) .mano-statement.mano-statement {
		justify-content: flex-start;
		min-height: 437px;
		padding: 116px 16px 0;
		color: var(--wp--preset--color--topla-bijela);
	}

	body:has(.mano-tim-hero) .mano-statement .is-style-eyebrow.is-style-eyebrow {
		color: inherit;
		font-size: 10px;
		line-height: 12px;
		letter-spacing: 2.5px;
	}

	body:has(.mano-tim-hero) .mano-statement__text.mano-statement__text {
		margin-top: 15px;
		font-size: 30px;
		line-height: 33px;
		letter-spacing: 0.6px;
	}

	body:has(.mano-tim-hero) .mano-statement__note.mano-statement__note {
		max-width: none;
		margin-top: 50px;
		color: inherit;
		font-size: 12px;
		line-height: 14px;
	}

	body:has(.mano-tim-hero) .mano-photo-band.mano-photo-band img {
		height: auto;
		aspect-ratio: 402 / 437;
	}
}
