/**
 * Blog podľa dizajnu (Figma: Blog, Strava a chudnutie, Fit recepty, Článok,
 * Článok – strava). Mobil prvý (dizajn 440 px), desktop od 1024 px (dizajn
 * 1640 px, obsah 1440 px = .zs-container). Prefix zb- (zanzisan blog).
 *
 * @package Zanzisan
 */

.zb {
	--zb-r-xl: 60px;
	--zb-r-lg: 40px;
	--zb-r-md: 30px;
	--zb-gap: 40px;
	--zb-teal: #19d3c9;
	color: var(--zs-black);
	font-weight: 300;
}

.zb h1,
.zb h2,
.zb h3,
.zb strong {
	font-weight: 700;
}

.zb a {
	color: inherit;
}

.zb img {
	max-width: 100%;
}

.zb-section {
	padding-block: 56px 0;
}

.zb-h2 {
	margin: 0 0 28px;
	font-size: clamp(30px, 6.5vw, 48px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-align: center;
}

.zb-section__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-bottom: 28px;
}

.zb-section__head .zb-h2 {
	margin: 0;
}

/* Tlačidlá ------------------------------------------------------------- */

.zb-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.zb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 0 32px 0 38px;
	font-size: 18px;
	font-weight: 700;
	color: var(--zs-black);
	text-decoration: none;
	border-radius: var(--zs-radius-pill);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.zb-btn:hover {
	transform: translateY(-1px);
}

.zb-btn--yellow,
.zb a.zb-btn--yellow {
	min-width: 260px;
	color: var(--zs-black);
	background: var(--zs-yellow);
}

.zb-btn--yellow:hover {
	background: var(--zs-yellow-dark);
}

.zb-btn--outline {
	min-height: 42px;
	padding: 0 32px;
	font-size: 15px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--zs-sand-dark);
}

.zb-btn--outline:hover {
	box-shadow: inset 0 0 0 1.5px var(--zs-black);
}

.zb-btn--ghost {
	min-width: 260px;
	color: #fff;
	box-shadow: inset 0 0 0 1.5px #fff;
}

.zb-btn--ghost:hover {
	color: var(--zs-black);
	background: #fff;
}

.zb-btn svg {
	width: 20px;
	height: 20px;
}

.zb-btn__z {
	width: 18px;
	height: auto;
}

/* Lišta kategórií -------------------------------------------------------- */

.zb-catbar {
	position: relative;
	z-index: 50;
	background: var(--zs-sand);
}

.zb-catbar__list {
	display: flex;
	gap: 28px;
	margin: 0 auto;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.zb-catbar__list::-webkit-scrollbar {
	display: none;
}

.zb-catbar__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.zb-catbar__item > a {
	display: block;
	padding-block: 16px;
	font-size: 15px;
	font-weight: 300;
	color: var(--zs-black);
	text-decoration: none;
}

.zb-catbar__item > a:hover,
.zb-catbar__item > a[aria-current] {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.zb-catbar__toggle {
	display: none;
	padding: 4px;
	color: var(--zs-black);
	background: none;
	border-radius: 4px;
}

.zb-catbar__toggle:hover {
	background: rgba(255, 255, 255, 0.6);
	transform: none;
}

.zb-catbar__toggle svg {
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}

.zb-catbar__sub {
	display: none;
}

/* Spoločné prvky karty --------------------------------------------------- */

.zb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zb-pills li > * {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 18px;
	font-size: 12px;
	font-weight: 700;
	color: var(--zs-black);
	text-decoration: none;
	background: var(--zb-pill);
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: var(--zs-radius-pill);
}

.zb-pills a:hover {
	border-color: var(--zs-black);
}

.zb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
}

.zb-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.zb-meta svg {
	width: 16px;
	height: 16px;
	color: var(--zs-sand-dark);
}

.zb-thumb-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--zs-sand-light) url("../blog/logo-teal.svg") center / 40% auto no-repeat;
}

.zb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.zb-card__img {
	overflow: hidden;
	aspect-ratio: 453 / 221;
	border-radius: var(--zb-r-md);
	background: var(--zs-sand-light);
}

.zb-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.zb-card:hover .zb-card__img img {
	transform: scale(1.03);
}

.zb-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
}

.zb-card__title a {
	text-decoration: none;
}

/* Celá karta je odkaz (bez vnorených odkazov). */
.zb-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--zb-r-md);
}

.zb-card__title a:focus-visible {
	outline: 0;
}

.zb-card__title a:focus-visible::after {
	outline: 2px solid var(--zs-black);
	outline-offset: 6px;
}

.zb-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.zb-card__excerpt svg {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 8px;
	vertical-align: middle;
}

/* Mriežky: na mobile vodorovne posuvné pásy kariet (ako v dizajne). */
.zb-grid,
.zb-track,
.zb-pair {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(78%, 340px);
	gap: 16px;
	margin-inline: calc(-1 * var(--zs-gutter));
	padding-inline: var(--zs-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--zs-gutter);
	scrollbar-width: none;
}

.zb-grid::-webkit-scrollbar,
.zb-track::-webkit-scrollbar,
.zb-pair::-webkit-scrollbar {
	display: none;
}

.zb-grid > *,
.zb-track > *,
.zb-pair > * {
	scroll-snap-align: start;
}

/* Riadky po dvoch (archív) – mriežka je zvislý zoznam pásov. */
.zb-grid:has(> .zb-pair) {
	grid-auto-flow: row;
	grid-auto-columns: auto;
	gap: 40px;
	margin-inline: 0;
	padding-inline: 0;
	overflow: visible;
}

.zb-grid > .zb-pair {
	margin-inline: calc(-1 * var(--zs-gutter));
}

/* Stránkovanie ---------------------------------------------------------- */

.zb-pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-top: 48px;
}

.zb-pagination ul {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zb-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 4px;
	font-size: 12px;
	font-weight: 700;
	color: var(--zs-sand-dark);
	text-decoration: none;
	border: 1px solid var(--zs-sand-dark);
	border-radius: 6px;
}

.zb-pagination .page-numbers.current {
	color: var(--zs-black);
	background: var(--zs-sand);
	border-color: var(--zs-sand-dark);
}

.zb-pagination .page-numbers.dots {
	border: 0;
}

.zb-pagination .prev,
.zb-pagination .next {
	border: 0;
	color: var(--zs-black);
}

.zb-pagination svg {
	width: 18px;
	height: 18px;
}

.zb-pagination__next {
	margin: 0;
}

.zb-pagination__next a {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	min-height: 42px;
	padding: 0 26px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--zs-sand-dark);
	border-radius: var(--zs-radius-pill);
}

.zb-pagination__next a:hover {
	border-color: var(--zs-black);
}

.zb-pagination__next svg {
	width: 18px;
	height: 18px;
}

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

.zb-hero-wrap {
	padding-inline: 0;
}

.zb-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 525px;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}

.zb-hero__img {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.zb-hero__img img,
.zb-hero__img .zb-thumb-empty {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zb-hero__img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0.05) 20%, rgba(26, 26, 26, 0.6) 100%);
}

.zb-hero__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 40px 22px 44px;
}

.zb-hero .zb-pills {
	margin-bottom: auto;
}

.zb-hero__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.zb-hero__title a {
	color: #fff;
	text-decoration: none;
}

.zb-hero__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.zb-hero__excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.zb-hero .zb-meta svg {
	color: #fff;
}

/* Populárne ----------------------------------------------------------- */

.zb-seg {
	position: relative;
	display: flex;
	padding: 0;
	background: var(--zs-sand-light);
	border: 1px solid var(--zs-sand);
	border-radius: var(--zs-radius-pill);
}

.zb-seg__btn {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	min-height: 58px;
	padding: 0 30px;
	font-size: 18px;
	font-weight: 700;
	color: var(--zs-black);
	background: transparent;
	border-radius: var(--zs-radius-pill);
}

.zb-seg__btn:hover {
	background: var(--zs-sand);
	transform: none;
}

.zb-seg__btn[aria-selected="true"] {
	color: #fff;
	background: var(--zs-black);
}

.zb-seg__btn[aria-selected="true"] img {
	filter: none;
}

.zb-popular__grid {
	display: grid;
	gap: 32px;
}

.zb-popular__grid[hidden] {
	display: none;
}

.zb-card--lg .zb-card__img {
	aspect-ratio: 947 / 461;
}

.zb-card--lg .zb-card__title {
	font-size: 22px;
}

/* Newsletter box -------------------------------------------------------- */

.zb-nlbox {
	display: grid;
	gap: 24px;
	margin-top: 56px;
	padding: 48px 22px;
	text-align: center;
	background: var(--zs-sand);
	border-radius: var(--zb-r-lg);
}

.zb-nlbox__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 300;
}

.zb-nlbox__title strong {
	font-weight: 700;
}

.zb-nl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.zb-nl .zb-nl__field {
	flex: 1 1 100%;
	height: 60px;
	padding: 0 30px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: var(--zs-black);
	background: #fff;
	border: 0;
	border-radius: var(--zs-radius-pill);
}

.zb-nl .zb-nl__field::placeholder {
	color: var(--zs-black);
	opacity: 1;
}

.zb-nl .zb-nl__field[aria-invalid="true"] {
	box-shadow: inset 0 0 0 2px #c0392b;
}

.zb-nl__submit {
	justify-content: space-between;
	min-width: 207px;
	min-height: 60px;
	padding: 0 30px;
	font-size: 18px;
	font-weight: 700;
}

.zb-nl__submit svg {
	width: 22px;
	height: 22px;
}

.zb-nl__consent {
	flex: 1 1 100%;
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
}

.zb-nl .zs-df-status {
	flex: 1 1 100%;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.zb-nl .zs-df-status:empty {
	display: none;
}

.zb-nl .zs-df-status.is-error {
	color: #b42318;
}

.zb-nl .zs-df-status.is-ok {
	color: var(--zs-teal-dark);
}

.zb-nl .zs-df-honey {
	position: absolute;
	left: -9999px;
}

/* CTA karta (pieskový blok s fotkou) ------------------------------------ */

.zb-ctacard {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin-top: 32px;
	text-align: center;
	background: var(--zs-sand-light);
	border-radius: var(--zb-r-lg);
}

.zb-ctacard__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.95;
	object-fit: cover;
	object-position: 62% center;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
	mask-image: linear-gradient(180deg, #000 70%, transparent);
}

.zb-ctacard__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: -130px;
	padding: 0 22px 40px;
}

.zb-ctacard__logo {
	width: 150px;
	height: auto;
}

.zb-ctacard__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.zb-ctacard__title span {
	color: var(--zs-teal);
}

.zb-ctacard__text {
	margin: 0;
	font-size: 15px;
}

.zb-ctacard .zb-btns {
	justify-content: center;
}

.zb-ctacard__more {
	display: none;
	font-size: 18px;
	font-weight: 700;
}

.zb-ctacard__icons {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zb-ctacard__icons li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 80px;
	font-size: 12px;
	line-height: 1.3;
}

/* Zanziletter ------------------------------------------------------------ */

.zb-zl {
	margin-top: 72px;
	padding: 120px var(--zs-gutter) 40px;
	text-align: center;
	background:
		url("../blog/vlna-m.svg") top center / 100% 160px no-repeat,
		linear-gradient(180deg, transparent 90px, var(--zs-sand) 90px);
}

.zb-zl__inner {
	display: grid;
	justify-items: center;
	gap: 24px;
	max-width: 760px;
	margin-inline: auto;
}

.zb-zl__title {
	margin: 0;
	max-width: 10em;
	font-size: 30px;
	line-height: 1.15;
}

.zb-zl__lead {
	margin: 0;
	font-size: 15px;
}

.zb-zl__chips {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zb-zl__chips li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	line-height: 1.3;
}

.zb-zl .zb-nl {
	width: 100%;
}

.zb-zl__note {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

/* Archív kategórie ------------------------------------------------------ */

.zb-cathead-wrap {
	padding-inline: 0;
}

.zb-cathead {
	display: grid;
	gap: 18px;
	padding: 40px 22px;
	background: var(--zb-cat);
	border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.zb-cathead__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.zb-cathead__desc,
.zb-cathead__desc p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.zb-archive {
	display: grid;
	gap: 40px;
	padding-top: 28px;
}

.zb-filter__box {
	padding: 26px 22px;
	background: var(--zs-sand-light);
	border-radius: var(--zb-r-md);
}

.zb-filter__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 20px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.zb-filter__title::-webkit-details-marker {
	display: none;
}

.zb-filter__title svg {
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}

.zb-filter__box[open] .zb-filter__title svg {
	transform: rotate(180deg);
}

.zb-filter__group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 10px;
	margin: 22px 0 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 2px solid var(--zs-sand);
}

.zb-filter__group legend {
	float: left;
	grid-column: 1 / -1;
	width: 100%;
	margin-bottom: 4px;
	font-size: 15px;
}

.zb-check {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.zb-check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	appearance: none;
	background: #fff center / 12px no-repeat;
	border: 1px solid var(--zs-sand-dark);
	border-radius: 5px;
	cursor: pointer;
}

.zb-check input:checked {
	background-color: var(--zs-sand);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.zb-check input:focus-visible {
	outline: 2px solid var(--zs-black);
	outline-offset: 2px;
}

.zb-empty {
	font-size: 18px;
}

/* Detail článku ---------------------------------------------------------- */

.zb-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 24px 0 28px;
	padding: 0;
	font-size: 12px;
	list-style: none;
}

.zb-crumbs li:not(:last-child)::after {
	content: "→";
	margin-left: 14px;
	font-weight: 300;
}

.zb-crumbs a {
	font-weight: 700;
	text-underline-offset: 2px;
}

.zb-head {
	display: grid;
	gap: 32px;
}

.zb-head__main {
	display: grid;
	gap: 22px;
	min-width: 0;
}

.zb-head__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.zb-share {
	display: flex;
	align-items: center;
	gap: 16px;
}

.zb-share__label {
	font-size: 13px;
	font-weight: 700;
}

.zb-share__btn {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	background: none;
	border-radius: 6px;
}

.zb-share__btn:hover {
	background: var(--zs-sand);
	transform: none;
}

.zb-share__btn img {
	width: 20px;
	height: 20px;
}

.zb-share__status {
	font-size: 12px;
	font-weight: 700;
	color: var(--zs-teal-dark);
}

.zb-head__title {
	margin: 0;
	font-size: 32px;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.zb-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 40px;
}

.zb-byline__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.zb-avatar {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.zb-intro p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.zb-head__img {
	margin: 0;
	overflow: hidden;
	border-radius: var(--zb-r-md);
}

.zb-head__img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 700px;
	object-fit: cover;
}

.zb-head--recipe .zb-head__img img {
	aspect-ratio: 1;
}

.zb-nutri {
	display: grid;
	gap: 18px;
	margin-inline: calc(-1 * var(--zs-gutter));
	padding: 28px var(--zs-gutter);
	text-align: center;
	background: var(--zs-sand-light);
}

.zb-nutri__title {
	margin: 0;
	font-size: 15px;
}

.zb-nutri ul {
	display: flex;
	justify-content: space-around;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zb-nutri li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 13px;
}

.zb-nutri li img {
	width: 28px;
	height: 28px;
	margin-bottom: 8px;
}

.zb-body {
	display: grid;
	gap: 48px;
	margin-top: 40px;
}

/* Na mobile je bočný stĺpec (obsah, newsletter) až za textom článku –
   ingrediencie receptu však patria pred postup. */
.zb-body:not(.zb-body--recipe) .zb-body__side {
	order: 2;
}

.zb-body__side {
	display: grid;
	align-content: start;
	gap: 48px;
}

.zb-body__main {
	min-width: 0;
}

.zb-toc {
	display: none;
}

.zb-toc__title {
	margin: 0;
	padding-bottom: 18px;
	font-size: 24px;
	border-bottom: 2px solid var(--zs-sand);
}

.zb-toc ol {
	display: grid;
	gap: 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.zb-toc a {
	font-size: 18px;
	color: #a69c91;
	text-decoration: none;
}

.zb-toc a:hover,
.zb-toc a[aria-current="true"] {
	font-weight: 700;
	color: var(--zs-black);
}

.zb-ingr {
	padding: 32px 26px;
	background: var(--zs-sand-light);
	border-radius: var(--zb-r-md);
}

.zb-ingr__title {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding-bottom: 20px;
	font-size: 22px;
	border-bottom: 2px solid var(--zs-sand);
}

.zb-ingr__title img {
	width: 32px;
	height: 32px;
}

.zb-ingr ul {
	display: grid;
	gap: 8px;
	margin: 22px 0 0;
	padding-left: 22px;
	font-size: 15px;
	font-weight: 300;
}

.zb-content {
	font-size: 15px;
	line-height: 1.6;
}

.zb-content > * {
	margin-block: 0 16px;
}

.zb-content h2 {
	margin: 40px 0 14px;
	font-size: 24px;
	line-height: 1.25;
	scroll-margin-top: 140px;
}

.zb-content h3 {
	margin: 24px 0 8px;
	font-size: 18px;
	line-height: 1.3;
}

.zb-content a {
	text-underline-offset: 2px;
}

.zb-content ul,
.zb-content ol {
	padding-left: 22px;
}

.zb-content img {
	height: auto;
	border-radius: var(--zb-r-md);
}

.zb-content figure {
	position: relative;
	width: auto !important;
	max-width: 100%;
	margin-block: 32px;
}

.zb-content figure img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* Popis obrázka ako štítok „Zdroj: …" v rohu fotky. */
.zb-content figcaption {
	position: absolute;
	left: 30px;
	bottom: 30px;
	margin: 0;
	padding: 6px 10px;
	font-size: 11px;
	line-height: 1.3;
	color: var(--zs-black);
	background: rgba(250, 248, 242, 0.85);
	border-radius: 6px;
}

.zb-content blockquote {
	margin-inline: 0;
}

.zb-method {
	margin-top: 40px;
}

.zb-method__title {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 0 24px;
	font-size: 24px;
}

.zb-method__title img {
	width: 40px;
	height: 40px;
}

.zb-method li > p {
	margin: 0;
}

.zb-method ol {
	display: grid;
	gap: 14px;
	margin: 0;
	padding-left: 24px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.zb-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin-block: 40px;
	color: #fff;
	background: var(--zb-teal);
	border-radius: var(--zb-r-md);
	box-shadow: var(--zs-shadow-lg);
}

.zb-promo__img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 0 !important;
	-webkit-mask-image: linear-gradient(180deg, #000 65%, transparent);
	mask-image: linear-gradient(180deg, #000 65%, transparent);
}

.zb-promo__body {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 14px;
	margin-top: -90px;
	padding: 0 22px 32px;
	text-align: center;
}

.zb-promo__kicker {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}

.zb-promo__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
}

.zb-teal {
	display: grid;
	justify-items: center;
	gap: 26px;
	margin-top: 48px;
	padding: 48px 22px;
	text-align: center;
	color: #fff;
	background: var(--zb-teal);
	border-radius: var(--zb-r-md);
	box-shadow: var(--zs-shadow-lg);
}

.zb-teal__logo {
	width: 140px;
	height: auto;
	filter: brightness(0) invert(1);
}

.zb-teal__title {
	margin: 0;
	font-size: 30px;
	font-weight: 300;
	line-height: 1.2;
}

.zb-teal .zb-btns {
	flex-direction: column;
	width: 100%;
}

.zb-teal .zb-btn {
	width: 100%;
	max-width: 320px;
}

.zb-authorbox {
	display: grid;
	justify-items: center;
	gap: 16px;
	margin-top: 56px;
	padding: 40px 22px;
	text-align: center;
	background: var(--zs-sand);
	border: 1px solid rgba(197, 186, 174, 0.5);
	border-radius: var(--zb-r-md);
}

.zb-authorbox .zb-avatar {
	width: 100px;
	height: 100px;
}

.zb-authorbox__name {
	display: grid;
	gap: 4px;
	margin: 0;
	font-size: 13px;
}

.zb-authorbox__bio {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

.zb-related__back {
	order: 3;
	gap: 40px;
	width: 100%;
	max-width: 330px;
	margin-top: 8px;
}

.zb-related__back svg {
	width: 20px;
	height: 20px;
}

.zb-related .zb-section__head {
	display: contents;
}

.zb-related {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.zb-related .zb-grid {
	width: calc(100% + 2 * var(--zs-gutter));
}

.zb-comments {
	margin-top: 56px;
}

/* Bočný newsletter je len na desktope – na mobile je na konci Zanziletter. */
@media (max-width: 1023px) {
	.zb-nlbox--side {
		display: none;
	}
}

/* Zanziletter nadväzuje priamo na pätičku. */
.zs-blog .zs-footer {
	margin-top: 0;
}

/* Desktop ------------------------------------------------------------------ */

@media (min-width: 1024px) {
	.zb-section {
		padding-top: 100px;
	}

	.zb-h2 {
		text-align: left;
	}

	.zb-section__head {
		flex-direction: row;
		justify-content: space-between;
		margin-bottom: 56px;
	}

	.zb-catbar__list {
		gap: clamp(28px, 4vw, 58px);
		overflow: visible;
	}

	.zb-catbar__item > a {
		padding-block: 24px;
	}

	.zb-catbar__toggle {
		display: inline-grid;
	}

	.zb-catbar__sub {
		position: absolute;
		top: calc(100% - 8px);
		left: -18px;
		display: grid;
		min-width: 200px;
		margin: 0;
		padding: 10px;
		list-style: none;
		background: #fff;
		border-radius: 18px;
		box-shadow: var(--zs-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
	}

	.zb-catbar__item:hover > .zb-catbar__sub,
	.zb-catbar__item.is-open > .zb-catbar__sub {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.zb-catbar__item.is-open .zb-catbar__toggle svg {
		transform: rotate(180deg);
	}

	.zb-catbar__sub a {
		display: block;
		padding: 10px 14px;
		font-size: 15px;
		text-decoration: none;
		border-radius: 10px;
	}

	.zb-catbar__sub a:hover,
	.zb-catbar__sub a[aria-current] {
		background: var(--zs-sand-light);
		font-weight: 700;
	}

	.zb-pills li > * {
		min-height: 36px;
		padding: 0 19px;
		font-size: 13px;
	}

	.zb-meta {
		font-size: 13px;
	}

	.zb-card__title {
		font-size: 24px;
	}

	.zb-card__excerpt {
		font-size: 18px;
	}

	.zb-grid,
	.zb-track,
	.zb-pair,
	.zb-grid:has(> .zb-pair) {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		gap: 56px var(--zb-gap);
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.zb-grid > .zb-pair {
		display: contents;
	}

	.zb-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.zb-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.zb-grid--2 .zb-card__img {
		aspect-ratio: 577 / 281;
	}

	.zb-pagination {
		position: relative;
		margin-top: 64px;
	}

	.zb-pagination__next {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	/* Hero */
	.zb-hero-wrap {
		padding-inline: var(--zs-gutter);
		padding-top: 50px;
	}

	.zb-hero {
		min-height: 700px;
		border-radius: var(--zb-r-xl);
	}

	.zb-hero__body {
		gap: 24px;
		max-width: 1000px;
		padding: 100px 100px 60px;
	}

	.zb-hero__title {
		max-width: 820px;
		font-size: clamp(44px, 3.7vw, 60px);
		line-height: 1.25;
	}

	.zb-hero__excerpt {
		font-size: 18px;
	}

	/* Populárne */
	.zb-popular__grid {
		grid-template-columns: 947fr 453fr;
		gap: var(--zb-gap);
	}

	.zb-popular__side {
		grid-auto-flow: row;
		align-content: start;
		gap: 40px;
	}

	.zb-card--lg .zb-card__title {
		font-size: 32px;
	}

	/* Newsletter */
	.zb-nlbox--wide {
		grid-template-columns: 1fr 650px;
		align-items: center;
		gap: 40px;
		margin-top: 100px;
		padding: 70px 80px;
		text-align: left;
		border-radius: var(--zb-r-xl);
	}

	.zb-nlbox--wide .zb-nlbox__title {
		font-size: 32px;
	}

	.zb-nlbox--wide .zb-nlbox__title strong {
		display: block;
	}

	.zb-nlbox--wide .zb-nl {
		flex-wrap: wrap;
	}

	.zb-nlbox--wide .zb-nl__field {
		flex: 1 1 0;
	}

	.zb-nlbox--wide .zb-nl__consent {
		text-align: center;
	}

	.zb-nlbox--side {
		margin: 0;
		padding: 60px;
		text-align: left;
		border-radius: var(--zb-r-xl);
	}

	.zb-nlbox--side .zb-nlbox__title {
		font-size: 32px;
		line-height: 1.2;
	}

	.zb-nlbox--side .zb-nlbox__title strong {
		display: block;
	}

	.zb-nlbox--side .zb-nl {
		justify-content: flex-start;
	}

	.zb-nlbox--side .zb-nl__field {
		text-align: left;
	}

	/* CTA karta */
	.zb-ctacard {
		display: block;
		min-height: 621px;
		margin-top: 0;
		text-align: left;
		border-radius: var(--zb-r-xl);
	}

	.zb-ctacard__img {
		position: absolute;
		inset: 0 0 0 auto;
		width: 72%;
		height: 100%;
		aspect-ratio: auto;
		object-position: right center;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
		mask-image: linear-gradient(90deg, transparent, #000 45%);
	}

	.zb-ctacard__body {
		align-items: flex-start;
		gap: 28px;
		max-width: 760px;
		margin: 0;
		padding: 180px 125px 70px;
	}

	.zb-ctacard__logo {
		display: none;
	}

	.zb-ctacard__title {
		font-size: clamp(44px, 3.7vw, 60px);
		line-height: 1.2;
	}

	.zb-ctacard__text {
		font-size: 18px;
	}

	.zb-ctacard .zb-btns {
		gap: 32px;
	}

	.zb-ctacard__more {
		display: inline;
	}

	.zb-ctacard__icons {
		gap: 40px;
	}

	.zb-ctacard__icons li {
		flex-direction: row;
		gap: 12px;
		max-width: none;
		font-size: 13px;
	}

	/* Zanziletter */
	.zb-zl {
		margin-top: 140px;
		padding-top: 170px;
		padding-bottom: 60px;
		background:
			url("../blog/vlna.svg") top center / 100% 260px no-repeat,
			linear-gradient(180deg, transparent 150px, var(--zs-sand) 150px);
	}

	.zb-zl__title {
		max-width: none;
		font-size: 42px;
	}

	.zb-zl__lead {
		font-size: 18px;
	}

	.zb-zl__chips {
		display: flex;
		gap: 40px;
	}

	.zb-zl__chips li {
		flex-direction: row;
		gap: 12px;
		font-size: 13px;
	}

	.zb-zl .zb-nl {
		flex-wrap: wrap;
		max-width: 800px;
	}

	.zb-zl .zb-nl__field {
		flex: 0 1 566px;
		text-align: left;
	}

	/* Archív */
	.zb-cathead-wrap {
		padding-inline: var(--zs-gutter);
		padding-top: 50px;
	}

	.zb-cathead {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 40px;
		min-height: 200px;
		padding: 40px 100px 40px 50px;
		border: 1px solid rgba(26, 26, 26, 0.08);
		border-radius: var(--zb-r-lg);
	}

	.zb-cathead__title {
		font-size: clamp(44px, 3.7vw, 60px);
	}

	.zb-cathead__desc,
	.zb-cathead__desc p {
		font-size: 18px;
	}

	.zb-archive {
		padding-top: 50px;
	}

	.zb-archive.has-filter {
		grid-template-columns: 1fr 207px;
		gap: var(--zb-gap);
	}

	.zb-archive.has-filter .zb-filter {
		order: 2;
	}

	.zb-filter__box {
		position: sticky;
		top: 150px;
		padding: 0;
		background: none;
	}

	.zb-filter__title {
		padding-bottom: 16px;
		font-size: 24px;
		border-bottom: 2px solid var(--zs-sand);
		pointer-events: none;
	}

	.zb-filter__title svg {
		display: none;
	}

	.zb-filter__group {
		grid-template-columns: 1fr;
		margin-top: 0;
		border-top: 0;
	}

	.zb-filter__group legend {
		font-size: 18px;
		margin-bottom: 8px;
	}

	.zb-check {
		font-size: 13px;
	}

	.zb-check input {
		width: 24px;
		height: 24px;
	}

	/* Článok */
	.zb-crumbs ol {
		margin: 48px 0 52px;
		font-size: 13px;
	}

	.zb-single:not(.zb-single--recipe) .zb-crumbs,
	.zb-head:not(.zb-head--recipe) .zb-head__main {
		width: min(946px, 100%);
		margin-inline: auto;
	}

	.zb-head {
		gap: 96px;
	}

	.zb-head__main {
		gap: 26px;
	}

	.zb-head__title {
		font-size: clamp(44px, 3.7vw, 60px);
		line-height: 1.2;
	}

	.zb-intro p {
		font-size: 18px;
	}

	.zb-head__img {
		border-radius: var(--zb-r-xl);
	}

	.zb-head--recipe {
		grid-template-columns: 1fr 1fr;
		gap: 44px;
		align-items: start;
	}

	.zb-head--recipe .zb-head__bar {
		grid-column: 1 / -1;
	}

	.zb-head--recipe .zb-head__img {
		margin-top: 84px;
	}

	.zb-nutri {
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 40px;
		margin: 24px 0 0;
		padding: 34px 40px;
		text-align: left;
		border-radius: var(--zb-r-lg);
	}

	.zb-nutri__title {
		font-size: 24px;
		line-height: 1.2;
	}

	.zb-nutri__title strong {
		display: block;
	}

	.zb-nutri li {
		font-size: 15px;
	}

	.zb-body {
		grid-template-columns: 453fr 945fr;
		gap: var(--zb-gap);
		margin-top: 60px;
	}

	.zb-body--recipe {
		grid-template-columns: 370fr 985fr;
		gap: 85px;
	}

	.zb-body:not(.zb-body--recipe) .zb-body__side {
		order: 0;
	}

	.zb-body__side {
		gap: 80px;
	}

	.zb-toc {
		display: block;
		position: sticky;
		top: 150px;
	}

	.zb-content {
		font-size: 18px;
		line-height: 1.5;
	}

	.zb-content h2 {
		margin-top: 60px;
		font-size: 32px;
	}

	.zb-content h3 {
		font-size: 24px;
	}

	.zb-content figure {
		margin-block: 40px;
	}

	.zb-content img {
		border-radius: 50px;
	}

	.zb-content figcaption {
		left: 50px;
		bottom: 50px;
	}

	.zb-ingr {
		padding: 40px;
		border-radius: var(--zb-r-xl);
	}

	.zb-ingr__title {
		font-size: 24px;
	}

	.zb-ingr ul {
		font-size: 18px;
	}

	.zb-method__title {
		font-size: 32px;
	}

	.zb-method li > p {
	margin: 0;
}

.zb-method ol {
		font-size: 24px;
	}

	.zb-promo {
		min-height: 430px;
		margin-block: 60px;
		border-radius: 50px;
	}

	.zb-promo__img {
		position: absolute;
		inset: 0 0 0 auto;
		width: 70%;
		height: 100%;
		aspect-ratio: auto;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
		mask-image: linear-gradient(90deg, transparent, #000 40%);
	}

	.zb-promo__body {
		justify-items: start;
		max-width: 440px;
		margin: 0;
		padding: 70px;
		text-align: left;
	}

	.zb-promo__kicker {
		font-size: 24px;
	}

	.zb-promo__title {
		font-size: 48px;
	}

	.zb-teal {
		justify-items: start;
		margin-top: 60px;
		padding: 130px 70px 70px;
		text-align: left;
		border-radius: 50px;
	}

	.zb-teal__logo {
		display: none;
	}

	.zb-teal__title {
		font-size: 48px;
	}

	.zb-teal .zb-btns {
		flex-direction: row;
	}

	.zb-teal .zb-btn {
		width: auto;
		min-width: 322px;
	}

	.zb-authorbox {
		grid-template-columns: 100px minmax(230px, auto) 1fr;
		justify-items: start;
		align-items: center;
		gap: 30px 50px;
		margin-top: 80px;
		padding: 40px 150px 40px 82px;
		text-align: left;
		border-radius: var(--zb-r-xl);
	}

	.zb-authorbox .zb-avatar {
		grid-column: 1;
	}

	.zb-authorbox__name {
		grid-column: 2;
	}

	.zb-authorbox__bio {
		grid-column: 3;
	}

	.zb-body--recipe .zb-nlbox--side {
		padding: 44px 36px;
	}

	.zb-body--recipe .zb-nlbox--side .zb-nlbox__title {
		font-size: 28px;
	}

	.zb-related {
		display: block;
	}

	.zb-related .zb-section__head {
		display: flex;
	}

	.zb-related__back {
		order: 0;
		width: auto;
		margin: 0;
	}

	.zb-related .zb-grid {
		width: auto;
	}
}
