/* =============================================================
   Lyuboshchi · /karta-sajtu/
   Editorial sitemap: cinematic hero + sticky search + section grid
   ============================================================= */

.lyub-st {
	--st-grad:        linear-gradient(135deg, #f2053c 0%, #cb003d 100%);
	--st-grad-soft:   linear-gradient(135deg, #ff5078 0%, #f2053c 100%);
	--st-red:         #f2053c;
	--st-red-soft:    #ff5078;
	--st-dark:        #0a0b12;
	--st-dark-2:      #15161f;
	--st-text:        #1a1a2e;
	--st-text-2:      #4b5563;
	--st-muted:       #7e8194;
	--st-bg:          #fafafa;
	--st-card:        #ffffff;
	--st-line:        #ebebf0;
	--st-radius:      18px;
	--st-ease:        cubic-bezier(.4,0,.2,1);

	background: var(--st-bg);
	font-family: 'GothamPro', system-ui, -apple-system, sans-serif;
	color: var(--st-text);
}
.lyub-st *,
.lyub-st *::before,
.lyub-st *::after { box-sizing: border-box; }

/* ============================================================
   Breadcrumbs
   ============================================================ */
.lyub-st-bc {
	background: var(--st-dark-2);
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
	letter-spacing: 0.02em;
}
.lyub-st-bc__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 24px;
}
.lyub-st-bc a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.lyub-st-bc a:hover { color: #fff; }
.lyub-st-bc__sep { color: rgba(255, 255, 255, .25); margin: 0 6px; }
.lyub-st-bc__current {
	background: var(--st-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 700;
}

/* ============================================================
   HERO — same brand cinematic but more restrained
   ============================================================ */
.lyub-st-hero {
	position: relative;
	background: var(--st-dark);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.lyub-st-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 80% 50%, rgba(242, 5, 60, .35), transparent 60%),
		radial-gradient(circle at 10% 90%, rgba(203, 0, 61, .2), transparent 50%);
}
.lyub-st-hero__glow {
	position: absolute;
	top: -120px;
	right: -120px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(242, 5, 60, .45), transparent 70%);
	filter: blur(70px);
	border-radius: 50%;
}
.lyub-st-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 24px 72px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.lyub-st-hero__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.lyub-st-hero__edition {
	font-family: 'JetBrains Mono', 'Menlo', monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--st-red-soft);
	padding: 6px 10px;
	border: 1px solid rgba(242, 5, 60, .35);
	border-radius: 4px;
	background: rgba(242, 5, 60, .05);
}
.lyub-st-hero__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}
.lyub-st-hero__title {
	margin: 0;
	font-size: clamp(40px, 7vw, 80px);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.03em;
	color: #fff;
}
.lyub-st-hero__title-accent {
	background: var(--st-grad-soft);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.lyub-st-hero__asterisk {
	display: inline-block;
	color: var(--st-red);
	font-size: 0.45em;
	vertical-align: super;
	margin-left: 0.08em;
	-webkit-text-fill-color: var(--st-red);
	background: none;
}
.lyub-st-hero__intro {
	max-width: 620px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
	margin: 0;
	position: relative;
	padding-left: 18px;
}
.lyub-st-hero__intro-mark {
	position: absolute;
	left: 0;
	top: 0;
	color: var(--st-red);
	font-weight: 700;
}
.lyub-st-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 16px 0 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	background: rgba(255, 255, 255, .025);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.lyub-st-hero__stat {
	padding: 22px 24px;
	border-right: 1px solid rgba(255, 255, 255, .08);
}
.lyub-st-hero__stat:last-child { border-right: 0; }
.lyub-st-hero__stat dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
	margin-bottom: 6px;
}
.lyub-st-hero__stat dd {
	margin: 0;
	font-size: clamp(24px, 3.5vw, 38px);
	font-weight: 800;
	letter-spacing: -0.025em;
	background: var(--st-grad-soft);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

/* ============================================================
   STICKY SEARCH
   ============================================================ */
.lyub-st-search-wrap {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--st-line);
	transition: box-shadow .25s var(--st-ease);
}
.lyub-st-search-wrap.is-stuck {
	box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}
.lyub-st-search-wrap__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	gap: 18px;
	align-items: center;
}
.lyub-st-search {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	background: #fff;
	border: 1.5px solid var(--st-line);
	border-radius: 999px;
	flex: 1 1 auto;
	max-width: 520px;
	transition: border-color .2s var(--st-ease), box-shadow .2s var(--st-ease);
}
.lyub-st-search:focus-within {
	border-color: var(--st-red);
	box-shadow: 0 0 0 4px rgba(242, 5, 60, .12);
}
.lyub-st-search svg { color: var(--st-muted); flex: 0 0 auto; }
.lyub-st-search input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: 0;
	padding: 13px 0;
	font: inherit;
	font-size: 14.5px;
	color: var(--st-text);
}
.lyub-st-search input::placeholder { color: var(--st-muted); }
.lyub-st-search__clear {
	background: rgba(0, 0, 0, .05);
	border: 0;
	color: var(--st-muted);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.lyub-st-search__clear:hover { background: var(--st-red); color: #fff; }
.lyub-st-search__hint {
	font-family: 'JetBrains Mono', 'Menlo', monospace;
	font-size: 12px;
	color: var(--st-muted);
}
.lyub-st-search__hint b { color: var(--st-red); font-weight: 600; }

/* ============================================================
   GRID OF SECTIONS
   ============================================================ */
.lyub-st-grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 24px 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.lyub-st-section--wide { grid-column: span 2; }
.lyub-st-section--full { grid-column: 1 / -1; }

/* ============================================================
   SECTION
   ============================================================ */
.lyub-st-section {
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	padding: 28px 28px 24px;
	transition: opacity .25s var(--st-ease);
}
.lyub-st-section[data-hidden] { display: none; }

.lyub-st-section__head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--st-line);
}
.lyub-st-section__number {
	font-family: 'JetBrains Mono', 'Menlo', monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--st-muted);
	padding: 4px 8px;
	border: 1px solid var(--st-line);
	border-radius: 6px;
	background: var(--st-bg);
}
.lyub-st-section__title {
	margin: 0;
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--st-text);
}
.lyub-st-section__count {
	font-family: 'JetBrains Mono', 'Menlo', monospace;
	font-size: 12px;
	font-weight: 600;
	color: var(--st-red);
	font-variant-numeric: tabular-nums;
}

/* ============================================================
   LISTS — three flavors
   ============================================================ */
.lyub-st-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lyub-st-list--bordered .lyub-st-row + .lyub-st-row .lyub-st-row__link {
	border-top: 1px solid var(--st-line);
}
.lyub-st-list--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 4px;
}
.lyub-st-list--brands .lyub-st-row__link {
	border: 1px solid var(--st-line);
	border-radius: 10px;
	padding: 12px 14px;
	justify-content: space-between;
}

/* Row */
.lyub-st-row { list-style: none; }
.lyub-st-row[data-hidden] { display: none; }

.lyub-st-row__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 4px;
	color: var(--st-text);
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 500;
	transition: color .15s var(--st-ease), background .15s var(--st-ease), padding-left .15s var(--st-ease);
	position: relative;
}
.lyub-st-row__link:hover {
	color: var(--st-red);
	padding-left: 10px;
}
.lyub-st-row__link:hover .lyub-st-row__bullet {
	color: var(--st-red);
	transform: translateX(2px);
}
.lyub-st-row__bullet {
	color: var(--st-muted);
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	transition: color .15s var(--st-ease), transform .15s var(--st-ease);
	flex: 0 0 auto;
}
.lyub-st-row__text {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}
.lyub-st-row__text mark {
	background: rgba(242, 5, 60, .18);
	color: inherit;
	padding: 1px 2px;
	border-radius: 3px;
}
.lyub-st-row__count {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--st-muted);
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
}
.lyub-st-row__link:hover .lyub-st-row__count { color: var(--st-red); }
.lyub-st-row__date {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--st-muted);
	flex: 0 0 auto;
}
.lyub-st-row__link--all {
	font-weight: 700;
	color: var(--st-red);
}
.lyub-st-row--all .lyub-st-row__link {
	border-color: rgba(242, 5, 60, .35);
	background: rgba(242, 5, 60, .04);
}
.lyub-st-row--all .lyub-st-row__link:hover {
	background: var(--st-grad);
	color: #fff !important;
	border-color: transparent;
}

/* ============================================================
   CATALOG (categories with hierarchy)
   ============================================================ */
.lyub-st-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px 32px;
}
.lyub-st-cat {
	break-inside: avoid;
}
.lyub-st-cat[data-hidden] { display: none; }
.lyub-st-cat__head {
	margin-bottom: 10px;
}
.lyub-st-cat__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	text-decoration: none;
	color: var(--st-text);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.005em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--st-text);
	width: 100%;
	transition: border-color .15s var(--st-ease), color .15s var(--st-ease);
}
.lyub-st-cat__title:hover {
	border-color: var(--st-red);
	color: var(--st-red);
}
.lyub-st-cat__name { flex: 1; }
.lyub-st-cat__count {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	font-weight: 600;
	color: var(--st-red);
}
.lyub-st-cat__children {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lyub-st-cat__children .lyub-st-row__link {
	padding: 7px 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--st-text-2);
}
.lyub-st-cat__children .lyub-st-row__link:hover { color: var(--st-red); }
.lyub-st-row__link--child .lyub-st-row__bullet {
	color: var(--st-line);
	font-size: 14px;
}

/* ============================================================
   BLOG section — two columns
   ============================================================ */
.lyub-st-blog {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 32px;
}
.lyub-st-blog__subtitle {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-muted);
	margin: 0 0 10px;
}

/* ============================================================
   Empty state
   ============================================================ */
.lyub-st-empty {
	max-width: 480px;
	margin: 40px auto 60px;
	padding: 40px 24px;
	text-align: center;
	color: var(--st-muted);
}
.lyub-st-empty[hidden] { display: none; }
.lyub-st-empty svg { color: var(--st-muted); margin-bottom: 12px; }
.lyub-st-empty p { margin: 0; font-size: 15px; color: var(--st-text-2); }

/* ============================================================
   FOOT — closing note + actions
   ============================================================ */
.lyub-st-foot {
	background: var(--st-dark);
	color: #fff;
	margin-top: 40px;
	padding: 60px 24px 80px;
	position: relative;
	overflow: hidden;
}
.lyub-st-foot::before {
	content: "";
	position: absolute;
	width: 400px;
	height: 400px;
	top: -120px;
	left: -120px;
	background: radial-gradient(circle, rgba(242, 5, 60, .35), transparent 70%);
	filter: blur(80px);
	pointer-events: none;
}
.lyub-st-foot__inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}
.lyub-st-foot__text {
	margin: 0;
	font-size: clamp(18px, 2.5vw, 22px);
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 255, 255, .92);
	max-width: 540px;
	text-wrap: balance;
}
.lyub-st-foot__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}
.lyub-st-foot__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s var(--st-ease), border-color .25s var(--st-ease), transform .15s var(--st-ease);
}
.lyub-st-foot__btn:hover {
	background: rgba(255, 255, 255, .08);
	transform: translateY(-1px);
}
.lyub-st-foot__btn--primary {
	background: var(--st-grad);
	border-color: transparent;
}
.lyub-st-foot__btn--primary:hover {
	background: var(--st-grad);
	filter: brightness(1.1);
}
.lyub-st-foot__btn svg { transition: transform .2s var(--st-ease); }
.lyub-st-foot__btn:hover svg { transform: translateX(3px); }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1024px) {
	.lyub-st-grid { grid-template-columns: repeat(2, 1fr); }
	.lyub-st-section--wide { grid-column: span 2; }
	.lyub-st-blog { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.lyub-st-hero__inner { padding: 44px 18px 52px; }
	.lyub-st-hero__title { font-size: clamp(34px, 11vw, 52px); }
	.lyub-st-hero__stats { grid-template-columns: repeat(2, 1fr); }
	.lyub-st-hero__stat {
		border-right: 1px solid rgba(255, 255, 255, .08);
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		padding: 16px 18px;
	}
	.lyub-st-hero__stat:nth-child(even) { border-right: 0; }
	.lyub-st-hero__stat:nth-last-child(-n+2) { border-bottom: 0; }

	.lyub-st-search-wrap__inner {
		padding: 12px 18px;
		gap: 10px;
		flex-wrap: wrap;
	}
	.lyub-st-search { max-width: 100%; }

	.lyub-st-grid {
		grid-template-columns: 1fr;
		padding: 32px 18px 12px;
		gap: 20px;
	}
	.lyub-st-section--wide,
	.lyub-st-section--full { grid-column: span 1; }
	.lyub-st-section { padding: 22px 20px 20px; }

	.lyub-st-cats { grid-template-columns: 1fr; gap: 18px; }

	.lyub-st-foot { padding: 44px 18px 56px; }
}

@media (prefers-reduced-motion: reduce) {
	.lyub-st-row__link,
	.lyub-st-row__bullet,
	.lyub-st-foot__btn,
	.lyub-st-foot__btn svg,
	.lyub-st-search-wrap {
		transition: none !important;
		transform: none !important;
	}
}
