/*
 * Slatki Receptar – početna 6.0 (front-page.php, inc/home.php).
 * Ista paleta, tipografija i watermark kao do sada; sve klase su ograničene na .sr-h.
 * Kartice proizvoda dolaze iz homepage.css (.sr-home).
 */

.sr-h {
	--h-ivory: #f8f3ea;
	--h-paper: #fffdf9;
	--h-beige: #eee2d2;
	--h-beige-soft: #f3eadf;
	--h-ink: #211711;
	--h-choc: #3b2619;
	--h-muted: #6f6057;
	--h-burgundy: #a93f4c;
	--h-burgundy-dark: #87313d;
	--h-caramel: #c88445;
	--h-line: rgba(59, 38, 25, 0.12);
	--h-shadow: 0 22px 60px rgba(59, 38, 25, 0.09);
	--h-shadow-soft: 0 12px 34px rgba(59, 38, 25, 0.06);
	--h-shadow-hover: 0 26px 64px rgba(59, 38, 25, 0.14);
	--h-radius: 24px;
	--h-gutter: clamp(16px, 3vw, 36px);
	--h-space: clamp(64px, 7vw, 104px);
	--h-serif: Georgia, "Times New Roman", serif;
	position: relative;
	background: var(--h-ivory);
	color: var(--h-ink);
	font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow: clip;
}

/* Osnovna pravila bez specifičnosti (:where), da ne nadjačaju klase komponenti. */

:where(.sr-h) *,
:where(.sr-h) *::before,
:where(.sr-h) *::after { box-sizing: border-box;
}

:where(.sr-h) img { display: block; max-width: 100%; height: auto;
}

:where(.sr-h) a { color: inherit; text-decoration: none;
}

:where(.sr-h) :is(h1,
h2,
h3,
p) { margin-top: 0;
}

:where(.sr-h) ul { margin: 0; padding: 0; list-style: none;
}

.sr-h :focus-visible { outline: 3px solid rgba(169, 63, 76, 0.4); outline-offset: 3px; border-radius: 6px;
}

.sr-h h1,
.sr-h h2 {
	color: var(--h-ink);
	font-family: var(--h-serif);
	font-weight: 600;
	letter-spacing: -0.04em;
}

.sr-h h2 {
	margin-bottom: 0;
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.04;
}

.sr-h-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: calc(1340px + 2 * var(--h-gutter));
	margin: 0 auto;
	padding: 0 var(--h-gutter);
}

.sr-h-section { position: relative; padding-top: var(--h-space);
}

.sr-h-eyebrow {
	margin-bottom: 12px;
	color: var(--h-burgundy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.sr-h-icon {
	width: 1.1em;
	height: 1.1em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Watermark: logo Slatkog Receptara, kao na prethodnoj početnoj */

.sr-h-watermark {
	position: absolute;
	z-index: 0;
	aspect-ratio: 1;
	background: url("../images/slatki-receptar-logomark.webp") center / contain no-repeat;
	filter: grayscale(0.45) sepia(0.14);
	opacity: 0.05;
	pointer-events: none;
}

.sr-h-watermark--hero { top: 50%; right: -16%; width: min(76vw, 1020px); transform: translateY(-50%);
}

.sr-h-watermark--season { top: 50%; left: -18%; width: min(60vw, 820px); transform: translateY(-50%); opacity: 0.045;
}

/* Naslov sekcije */

.sr-h-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(28px, 3.4vw, 46px);
}

.sr-h-head p:not(.sr-h-eyebrow) {
	max-width: 600px;
	margin: 14px 0 0;
	color: var(--h-muted);
	font-size: 17px;
}

/* Dugme „Svi recepti“ i slična */

.sr-h-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	min-height: 46px;
	padding: 10px 22px;
	background: var(--h-paper);
	border: 1.5px solid rgba(59, 38, 25, 0.2);
	border-radius: 999px;
	color: var(--h-choc);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(59, 38, 25, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sr-h-more:hover { background: var(--h-choc); border-color: var(--h-choc); color: #fff;
}

.sr-h-more .sr-h-icon { transition: transform 0.2s ease;
}

.sr-h-more:hover .sr-h-icon { transform: translateX(3px);
}

/* ---------- Hero ---------- */

.sr-h-hero {
	position: relative;
	padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 4vw, 56px);
	background:
		radial-gradient(circle at 78% 45%, rgba(200, 132, 69, 0.16), transparent 30%),
		linear-gradient(120deg, #fffdf9 0%, #f8f3ea 58%, #eee2d2 100%);
}

.sr-h-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	min-height: clamp(480px, 42vw, 600px);
}

.sr-h-hero__text { min-width: 0;
}

.sr-h-hero h1 {
	max-width: 640px;
	margin-bottom: 20px;
	font-size: clamp(44px, 5.6vw, 82px);
	line-height: 1;
}

.sr-h-hero__lead {
	margin-bottom: 32px;
	color: var(--h-muted);
	font-size: clamp(17px, 1.5vw, 20px);
}

.sr-h-search {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 540px;
	padding: 7px 7px 7px 22px;
	background: var(--h-paper);
	border: 1px solid var(--h-line);
	border-radius: 999px;
	box-shadow: var(--h-shadow);
	color: var(--h-muted);
	font-size: 18px;
}

.sr-h-search:focus-within { border-color: rgba(169, 63, 76, 0.45);
}

.sr-h .sr-h-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--h-ink);
	font: inherit;
	font-size: 16px;
	outline: none;
}

.sr-h-search button {
	height: 50px;
	padding: 0 28px;
	background: var(--h-choc);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.sr-h-search button:hover { background: var(--h-burgundy-dark);
}

.sr-h-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.sr-h-chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 15px;
	background: rgba(255, 253, 249, 0.75);
	border: 1px solid var(--h-line);
	border-radius: 999px;
	color: var(--h-choc);
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sr-h-chips a:hover { border-color: var(--h-burgundy); color: var(--h-burgundy-dark); background: var(--h-paper);
}

.sr-h-chips small { color: var(--h-muted); font-size: 12px; font-weight: 500;
}

/* Kolaž: tri fotografije u okvirima, krug u pozadini i kartica „Novo“ */

.sr-h-hero__art {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 18px;
	height: clamp(420px, 40vw, 560px);
}

.sr-h-hero__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 92%;
	aspect-ratio: 1;
	background: rgba(255, 253, 249, 0.6);
	border: 1px solid rgba(169, 63, 76, 0.13);
	border-radius: 50%;
	box-shadow: 0 35px 90px rgba(59, 38, 25, 0.08);
	transform: translate(-50%, -50%);
}

.sr-h-hero__photo {
	position: relative;
	z-index: 1;
	padding: 8px;
	background: var(--h-paper);
	border-radius: 28px;
	box-shadow: var(--h-shadow);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sr-h-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 21px;
}

.sr-h-hero__photo--1 { grid-row: 1 / 3; transform: rotate(-1.5deg);
}

.sr-h-hero__photo--2 { transform: rotate(2deg) translateY(-6px);
}

.sr-h-hero__photo--3 { transform: rotate(-1deg) translateY(6px);
}

.sr-h-hero__photo:hover { z-index: 3; transform: rotate(0) scale(1.02); box-shadow: var(--h-shadow-hover);
}

.sr-h-hero__photo span {
	position: absolute;
	top: 20px;
	left: 20px;
	padding: 6px 13px;
	background: rgba(255, 253, 249, 0.94);
	border-radius: 999px;
	color: var(--h-ink);
	font-size: 13px;
	font-weight: 700;
}

.sr-h-hero__note {
	position: absolute;
	left: -28px;
	bottom: 28px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 280px;
	padding: 10px 18px 10px 10px;
	background: rgba(255, 253, 249, 0.97);
	border: 1px solid rgba(169, 63, 76, 0.16);
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(59, 38, 25, 0.14);
	transition: transform 0.25s ease;
}

.sr-h-hero__note:hover { transform: translateY(-3px);
}

.sr-h-hero__note img { width: 54px; height: 54px; flex: none; object-fit: cover; border-radius: 12px;
}

.sr-h-hero__note span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3;
}

.sr-h-hero__note small { color: var(--h-burgundy); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

.sr-h-hero__note strong { overflow: hidden; color: var(--h-choc); font-size: 14px; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Kategorije ---------- */

.sr-h-cats__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
	gap: 20px 18px;
}

.sr-h-cat { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
}

.sr-h-cat__img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 12px;
	padding: 5px;
	overflow: hidden;
	background: var(--h-paper);
	border-radius: 26px;
	box-shadow: var(--h-shadow-soft);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sr-h-cat__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px;
}

.sr-h-cat:hover .sr-h-cat__img { transform: translateY(-3px); box-shadow: var(--h-shadow-hover);
}

.sr-h-cat strong { font-size: 16px; line-height: 1.3;
}

.sr-h-cat:hover strong { color: var(--h-burgundy-dark);
}

.sr-h-cat small { color: var(--h-muted); font-size: 13px;
}

/* ---------- Kartica recepta ---------- */

.sr-h-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--h-paper);
	border: 1px solid rgba(59, 38, 25, 0.08);
	border-radius: var(--h-radius);
	box-shadow: var(--h-shadow-soft);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sr-h-card:hover { transform: translateY(-4px); box-shadow: var(--h-shadow-hover);
}

.sr-h-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--h-beige);
}

.sr-h-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease;
}

.sr-h-card:hover .sr-h-card__media img { transform: scale(1.05);
}

.sr-h-card__save { position: absolute; top: 14px; right: 14px; z-index: 3;
}

.sr-h-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 22px;
}

.sr-h-card__cat {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	color: var(--h-burgundy);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sr-h-card__cat:hover { color: var(--h-burgundy-dark);
}

.sr-h-card__title {
	margin: 0 0 4px;
	font-family: var(--h-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.sr-h-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1;
}

.sr-h-card:hover .sr-h-card__title a { color: var(--h-burgundy-dark);
}

.sr-h-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--h-muted);
	font-size: 15px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Podaci kao mala polja, kao na staroj kartici, ali lakša */

.sr-h-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto !important;
}

.sr-h-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: var(--h-beige-soft);
	border-radius: 10px;
	color: var(--h-choc);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.sr-h-card__meta .sr-h-icon { color: var(--h-caramel); font-size: 15px;
}

.sr-h-level__dots { display: inline-flex; gap: 3px;
}

.sr-h-level__dots i { width: 7px; height: 7px; background: rgba(59, 38, 25, 0.16); border-radius: 50%;
}

.sr-h-level--1 i:nth-child(-n+1),
.sr-h-level--2 i:nth-child(-n+2),
.sr-h-level--3 i:nth-child(-n+3) { background: var(--h-caramel);
}

/* Na manjim karticama težina samo tačkama (tekst ostaje za čitače ekrana) */

.sr-h-card:not(.sr-h-card--feature) .sr-h-level__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Istaknuta kartica: slika preko cijele kartice, tekst na dnu */

.sr-h-card--feature { min-height: 100%; border: 0; color: #fff;
}

.sr-h-card--feature .sr-h-card__media { position: absolute; inset: 0; aspect-ratio: auto;
}

.sr-h-card--feature .sr-h-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(33, 23, 17, 0) 38%, rgba(33, 23, 17, 0.84) 100%);
}

.sr-h-card--feature .sr-h-card__body { position: relative; justify-content: flex-end; padding: clamp(24px, 2.8vw, 38px);
}

.sr-h-card--feature .sr-h-card__cat { padding: 6px 12px; background: rgba(255, 253, 249, 0.95); border-radius: 999px;
}

.sr-h-card--feature .sr-h-card__title { max-width: 560px; color: #fff; font-size: clamp(28px, 2.7vw, 40px);
}

.sr-h-card--feature:hover .sr-h-card__title a { color: #fff;
}

.sr-h-card--feature .sr-h-card__excerpt { max-width: 540px; color: rgba(255, 255, 255, 0.88);
}

.sr-h-card--feature .sr-h-card__meta { margin-top: 8px !important;
}

.sr-h-card--feature .sr-h-card__meta li { background: rgba(255, 253, 249, 0.16); color: #fff; backdrop-filter: blur(6px);
}

.sr-h-card--feature .sr-h-card__meta .sr-h-icon { color: #f1c28d;
}

.sr-h-card--feature .sr-h-level__dots i { background: rgba(255, 255, 255, 0.35);
}

.sr-h-card--feature .sr-h-level--1 i:nth-child(-n+1),
.sr-h-card--feature .sr-h-level--2 i:nth-child(-n+2),
.sr-h-card--feature .sr-h-level--3 i:nth-child(-n+3) { background: #f1c28d;
}

/* ---------- Najnovije ---------- */

.sr-h-latest__grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 22px;
}

.sr-h-latest__grid > :first-child { grid-row: 1 / 3; min-height: 560px;
}

.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__media { aspect-ratio: 16 / 10;
}

.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__title { font-size: 19px;
}

.sr-h-grid { display: grid; gap: 22px;
}

.sr-h-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Oznake ---------- */

.sr-h-tags__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.sr-h-tag {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--h-paper);
	border: 1px solid rgba(59, 38, 25, 0.08);
	border-radius: var(--h-radius);
	box-shadow: var(--h-shadow-soft);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sr-h-tag:hover { box-shadow: var(--h-shadow-hover); transform: translateY(-4px);
}

.sr-h-tag__imgs { display: flex; gap: 3px; height: 132px; background: var(--h-paper);
}

.sr-h-tag__imgs img { flex: 1; min-width: 0; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}

.sr-h-tag:hover .sr-h-tag__imgs img { transform: scale(1.04);
}

.sr-h-tag__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px;
}

.sr-h-tag__body strong { font-family: var(--h-serif); font-size: 23px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em;
}

.sr-h-tag:hover strong { color: var(--h-burgundy-dark);
}

.sr-h-tag__body small { color: var(--h-burgundy); font-size: 13px; font-weight: 700;
}

.sr-h-tag__lead {
	display: -webkit-box;
	overflow: hidden;
	color: var(--h-muted);
	font-size: 14.5px;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ---------- Facebook zajednica ---------- */

.sr-h-community {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(24px, 4vw, 48px);
	overflow: hidden;
	background: linear-gradient(135deg, var(--h-choc) 0%, #241710 100%);
	border-radius: var(--h-radius);
	color: #f6ebe0;
}

.sr-h-community::before {
	content: "";
	position: absolute;
	left: -90px;
	bottom: -110px;
	width: 340px;
	aspect-ratio: 1;
	background: url("../images/slatki-receptar-logomark.webp") center / contain no-repeat;
	filter: grayscale(1) brightness(4);
	opacity: .05;
	pointer-events: none;
}

.sr-h-community__text { position: relative;
}

.sr-h-community .sr-h-eyebrow { color: #edbd8e;
}

.sr-h .sr-h-community h3 {
	margin: 0 0 14px;
	color: #fffaf5;
	font-family: var(--h-serif);
	font-size: clamp(30px, 3.4vw, 46px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.sr-h-community__text > p:not(.sr-h-eyebrow) { margin: 0 0 26px; color: rgba(246, 235, 224, .78); font-size: 17px;
}

.sr-h-community__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 26px 12px 20px;
	border-radius: 999px;
	background: #edbd8e;
	color: var(--h-choc);
	font-weight: 800;
	text-decoration: none;
	transition: background .2s, transform .2s;
}

.sr-h-community__button:hover { background: #f6d2ad; color: var(--h-choc); transform: translateY(-1px);
}

.sr-h-community__button svg { width: 20px; height: 20px;
}

/* Pregled Facebook stranice */

.sr-h-fbcard {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--h-paper);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	color: var(--h-ink);
	text-decoration: none;
	transform: rotate(1.2deg);
	transition: transform .25s;
}

.sr-h-fbcard:hover { color: var(--h-ink); transform: rotate(0) translateY(-3px);
}

.sr-h-fbcard__cover {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: clamp(170px, 17vw, 230px);
	padding: 16px 20px;
	background: #5a3424 center / cover no-repeat;
}

.sr-h-fbcard__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(36, 23, 16, 0) 40%, rgba(36, 23, 16, .7) 100%);
}

.sr-h-fbcard__slogan {
	position: relative;
	z-index: 1;
	margin-left: 112px;
	color: #fff8f0;
	font-family: var(--h-serif);
	font-size: clamp(17px, 1.7vw, 22px);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.sr-h-fbcard__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 20px;
}

.sr-h-fbcard__profile img {
	flex: none;
	width: 96px;
	height: 96px;
	margin-top: -40px;
	border: 4px solid var(--h-paper);
	border-radius: 50%;
	background: #f6eee4;
	box-shadow: 0 8px 20px rgba(59, 38, 25, .18);
	position: relative;
	z-index: 1;
}

.sr-h-fbcard__name { flex: 1; min-width: 0; padding-top: 10px;
}

.sr-h-fbcard__name strong { display: block; font-family: var(--h-serif); font-size: 22px; line-height: 1.15;
}

.sr-h-fbcard__name small { color: var(--h-muted); font-size: 13px;
}

.sr-h-fbcard__follow {
	flex: none;
	margin-top: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--h-burgundy);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.sr-h-fbcard__bio {
	display: block;
	margin: 14px 20px 20px;
	padding-top: 14px;
	border-top: 1px solid var(--h-line);
	color: var(--h-muted);
	font-size: 15px;
}

/* ---------- Sezona ---------- */

.sr-h-season {
	margin-top: var(--h-space);
	padding-bottom: var(--h-space);
	background: linear-gradient(180deg, var(--h-beige-soft) 0%, var(--h-beige) 100%);
}

.sr-h-season .sr-h-head { margin-bottom: 0;
}

.sr-h-season .sr-h-chips { margin: 22px 0 clamp(28px, 3vw, 40px);
}

.sr-h-season .sr-h-chips a { background: var(--h-paper);
}

/* ---------- Sastojci ---------- */

.sr-h-ing .sr-ing-tiles { margin-bottom: 20px;
}

.sr-h-ing .sr-ing-tile { border-radius: 20px;
}

.sr-h-finder {
	position: relative;
	margin-top: clamp(28px, 3vw, 40px);
	overflow: hidden;
	background: linear-gradient(135deg, var(--h-paper) 0%, var(--h-beige-soft) 100%);
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	box-shadow: var(--h-shadow);
}

.sr-h-finder::before {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -80px;
	width: 320px;
	aspect-ratio: 1;
	background: url("../images/slatki-receptar-logomark.webp") center / contain no-repeat;
	opacity: .05;
	pointer-events: none;
}

/* Lijevo: naslov, pretraga i dugme; desno: najčešći sastojci. */

.sr-h-finder .sr-ing-finder {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	grid-template-rows: auto auto auto 1fr;
	gap: 0 clamp(32px, 5vw, 72px);
	max-width: none;
	margin: 0;
	padding: clamp(24px, 4vw, 48px);
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.sr-h-finder .sr-ing-finder__form { display: contents;
}

.sr-h-finder .sr-ing-finder h2 { grid-column: 1; margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px);
}

.sr-h-finder .sr-ing-finder__hint { grid-column: 1; margin: 0 0 22px; color: var(--h-muted); font-size: 17px;
}

.sr-h-finder .sr-ing-suggest { grid-column: 1; margin: 0;
}

.sr-h-finder .sr-ing-finder__filter {
	min-height: 56px;
	padding: 14px 20px;
	border: 1px solid var(--h-line);
	border-radius: 999px;
	background: var(--h-paper);
	box-shadow: 0 6px 18px rgba(59, 38, 25, .06);
}

.sr-h-finder .sr-ing-finder__filter:focus { border-color: var(--h-burgundy); outline: 3px solid rgba(181, 61, 76, .15);
}

.sr-h-finder .sr-ing-finder__actions { grid-column: 1; align-self: start; margin-top: 18px;
}

.sr-h-finder .sr-ing-finder__submit { min-height: 52px; padding: 13px 28px;
}

.sr-h-finder .sr-ing-finder__submit:disabled { background: #e2d4c7; color: #8a7769;
}

.sr-h-finder .sr-ing-finder__pick { grid-column: 2; grid-row: 1 / -1; align-self: center;
}

.sr-h-finder .sr-ing-finder__label {
	margin: 0 0 14px;
	color: var(--h-burgundy);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sr-h-finder .sr-ing-chip span { background: var(--h-paper);
}

/* ---------- Vodiči ---------- */

.sr-h-guides__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.sr-h-guide {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px;
	background: var(--h-paper);
	border: 1px solid rgba(59, 38, 25, 0.08);
	border-radius: var(--h-radius);
	box-shadow: var(--h-shadow-soft);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sr-h-guide:hover { box-shadow: var(--h-shadow-hover); transform: translateY(-3px);
}

.sr-h-guide__img {
	flex: none;
	width: 168px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--h-beige);
	border-radius: 16px;
}

.sr-h-guide__img img { width: 100%; height: 100%; object-fit: cover;
}

.sr-h-guide__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-right: 8px;
}

.sr-h-guide__body small { color: var(--h-burgundy); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

.sr-h-guide__body strong { font-family: var(--h-serif); font-size: 20px; font-weight: 600; line-height: 1.22; letter-spacing: -0.015em;
}

.sr-h-guide:hover strong { color: var(--h-burgundy-dark);
}

.sr-h-guide__body span {
	display: -webkit-box;
	overflow: hidden;
	color: var(--h-muted);
	font-size: 14px;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}



/* Newsletter koristi postojeće .sr-home stilove */

.sr-h-newsletter.sr-home { background: transparent;
}

/* Naslov kao na staroj početnoj (homepage.css), ne kao naslovi sekcija .sr-h. */

.sr-h-newsletter .sr-home-newsletter h2 {
	max-width: 780px;
	margin-bottom: 16px;
	color: #fffaf5;
	font-size: clamp(38px, 4.6vw, 62px);
	letter-spacing: -0.045em;
}

/* ---------- Tablet ---------- */

@media (max-width: 1080px) {
	.sr-h-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0;
	}

	.sr-h-hero__art { height: 400px; margin: 0 20px;
	}

	.sr-h-hero__note { left: -12px;
	}

	.sr-h-latest__grid { grid-template-columns: 1fr 1fr;
	}

	.sr-h-latest__grid > :first-child { grid-column: 1 / -1; grid-row: auto; min-height: 440px;
	}

	.sr-h-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sr-h-tags__grid { grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Mobitel ---------- */

@media (max-width: 680px) {
	.sr-h { --h-space: 56px;
	}

	.sr-h h2 { font-size: clamp(30px, 8.6vw, 38px);
	}

	.sr-h-newsletter .sr-home-newsletter h2 { font-size: clamp(34px, 10vw, 45px);
	}

	.sr-h-hero { padding-top: 30px;
	}

	.sr-h-watermark--hero { top: 4%; right: -45%; width: 130vw; transform: none; opacity: 0.06;
	}

	.sr-h-hero h1 { font-size: clamp(40px, 11.5vw, 50px);
	}

	.sr-h-hero__lead { margin-bottom: 24px; font-size: 17px;
	}

	.sr-h-search { padding-left: 16px;
	}

	.sr-h-search button { padding: 0 18px;
	}

	.sr-h-chips:not(.sr-h-chips--light) { flex-wrap: nowrap; margin-right: calc(-1 * var(--h-gutter)); padding-right: var(--h-gutter); overflow-x: auto; scrollbar-width: none;
	}

	.sr-h-chips a { flex: none;
	}

	.sr-h-hero__art { height: 290px; gap: 12px; margin: 8px 6px 34px;
	}

	.sr-h-hero__photo { padding: 5px; border-radius: 20px;
	}

	.sr-h-hero__photo img { border-radius: 16px;
	}

	.sr-h-hero__photo span { top: 12px; left: 12px; padding: 4px 10px; font-size: 12px;
	}

	.sr-h-hero__note { left: 50%; bottom: -26px; width: max-content; max-width: 86%; transform: translateX(-50%);
	}

	.sr-h-hero__note:hover { transform: translateX(-50%);
	}

	.sr-h-hero__note img { width: 44px; height: 44px;
	}

	.sr-h-head { align-items: flex-start; flex-direction: column; gap: 16px;
	}

	.sr-h-head p:not(.sr-h-eyebrow) { font-size: 16px;
	}

	.sr-h-more { min-height: 42px; padding: 8px 18px; font-size: 14px;
	}

	.sr-h-cats__list,
	.sr-h-grid--4 {
		display: flex;
		gap: 14px;
		margin-right: calc(-1 * var(--h-gutter));
		padding-right: var(--h-gutter);
		padding-bottom: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.sr-h-cats__list::-webkit-scrollbar,
	.sr-h-grid--4::-webkit-scrollbar,
	.sr-h-chips::-webkit-scrollbar { display: none;
	}

	.sr-h-cats__list li { flex: 0 0 108px; scroll-snap-align: start;
	}

	.sr-h-cat__img { padding: 4px; border-radius: 22px;
	}

	.sr-h-cat__img img { border-radius: 18px;
	}

	.sr-h-cat strong { font-size: 14px;
	}

	.sr-h-grid--4 > * { flex: 0 0 78%; scroll-snap-align: start;
	}

	.sr-h-latest__grid { grid-template-columns: 1fr; gap: 14px;
	}

	.sr-h-latest__grid > :first-child { min-height: 420px;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) { flex-direction: row; border-radius: 20px;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__media { flex: none; width: 118px; aspect-ratio: auto;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__body { padding: 14px 14px 14px 16px; gap: 6px;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__title { font-size: 17px;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__meta li { padding: 4px 8px; font-size: 12px;
	}

	.sr-h-latest .sr-h-card:not(.sr-h-card--feature) .sr-h-card__save { display: none;
	}

	.sr-h-card__body { padding: 18px;
	}

	.sr-h-card__title { font-size: 19px;
	}

	.sr-h-tags__grid { gap: 12px;
	}

	.sr-h-tag { border-radius: 20px;
	}

	.sr-h-tag__imgs { height: 84px; gap: 2px;
	}

	.sr-h-tag__body { padding: 12px 14px 14px; gap: 2px;
	}

	.sr-h-tag__body strong { font-size: 17px;
	}

	.sr-h-tag__lead { display: none;
	}

	.sr-h-watermark--season { left: auto; right: -50%; width: 120vw;
	}

	.sr-h-finder .sr-ing-finder { grid-template-columns: minmax(0, 1fr); padding: 24px 18px;
	}

	.sr-h-finder .sr-ing-finder__pick { grid-column: 1; grid-row: auto; margin-top: 22px;
	}

	.sr-h-finder::before { width: 220px; right: -50px; bottom: -40px;
	}

	.sr-h-community { grid-template-columns: minmax(0, 1fr); padding: 26px 18px 30px;
	}

	.sr-h-community__button { width: 100%; justify-content: center;
	}

	.sr-h-fbcard { order: -1; transform: none;
	}

	.sr-h-fbcard__slogan { margin-left: 0;
	}

	.sr-h-fbcard__profile { padding: 0 14px; gap: 10px;
	}

	.sr-h-fbcard__profile img { width: 76px; height: 76px; margin-top: -30px;
	}

	.sr-h-fbcard__name strong { font-size: 19px;
	}

	.sr-h-fbcard__follow { display: none;
	}

	.sr-h-fbcard__bio { margin: 12px 14px 16px;
	}

	.sr-h-finder .sr-ing-finder__hint { font-size: 16px;
	}

	.sr-h-guides__grid { grid-template-columns: 1fr; gap: 12px;
	}

	.sr-h-guide { gap: 14px; padding: 10px; border-radius: 20px;
	}

	.sr-h-guide__img { width: 108px; border-radius: 14px;
	}

	.sr-h-guide__body strong { font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sr-h *,
	.sr-h *::before,
	.sr-h *::after { transition: none !important;
	}
}

/* 7.0.0: newsletter umjesto članskog bloka – razmak od vodiča i zaobljeno polje (Neve stil polja je jači) */
.sr-h-newsletter { margin-top: clamp(48px, 7vw, 88px); }
.sr-h-newsletter .sr-home-newsletter-form input[type="email"] { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: #fffdf9; }
