/* /editorialy — výpis CMS editoriálov (cms/editorial_catalog.twig) */
.editorial-list-page {
	--el-card: #fff;
	--el-border: #e6e6ea;
	--el-muted: #6b6b76;
	--el-pill-active: #1a1a22;
	--el-pill-border: #c8c8d0;
	--el-tag-bg: #ede7f6;
	--el-tag: #5b4b8a;
	--el-more-bg: #e8e8ed;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
	padding-bottom: 3rem;
	color: #1a1a22;
}

.editorial-list__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.25rem 0.75rem 0;
}

@media (min-width: 768px) {
	.editorial-list__inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

.editorial-list__breadcrumb {
	font-size: 0.8125rem;
	color: var(--el-muted);
	margin-bottom: 1rem;
}

.editorial-list__breadcrumb a {
	color: var(--el-muted);
	text-decoration: none;
}

.editorial-list__breadcrumb a:hover {
	text-decoration: underline;
}

.editorial-list__breadcrumb-sep {
	margin: 0 0.35rem;
	opacity: 0.75;
}

.editorial-list__header {
	margin-bottom: 1.5rem;
}

.editorial-list__header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 0.75rem;
}

.editorial-list__header-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
}

.editorial-list__header-copy {
	flex: 1;
	min-width: 0;
}

.editorial-list__header-row .editorial-list__title {
	margin-bottom: 0;
}

.editorial-list__header--with-action {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
}

.editorial-list__header-main {
	flex: 1 1 auto;
	min-width: 0;
}

.editorial-list__submit-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.95rem;
	border-radius: 0;
	border: 1px solid var(--el-pill-border, #c8c8d0);
	background: var(--el-card, #fff);
	color: #1a1a22;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.editorial-list__submit-btn:hover {
	border-color: #a8a8b4;
	background: #f8f8fa;
	color: #1a1a22;
	text-decoration: none;
}

@media (max-width: 768px) {
	.editorial-list__header--with-action {
		flex-direction: column;
		align-items: stretch;
	}

	.editorial-list__submit-btn {
		align-self: flex-start;
	}
}

.editorial-list__title {
	font-size: clamp(2rem, 4.5vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
}

.editorial-list__lead {
	font-size: 1.05rem;
	line-height: 1.55;
	color: #444;
	max-width: 52rem;
	margin: 0;
}

.editorial-list__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.editorial-list__filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	background: var(--el-card);
	border: 1px solid var(--el-pill-border);
	border-radius: 0 !important;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.editorial-list__filter-pill:hover {
	border-color: #a8a8b4;
}

.editorial-list__filter-pill.is-active {
	color: #fff;
	background: var(--el-pill-active);
	border-color: var(--el-pill-active);
}

.editorial-list__featured {
	margin-bottom: 2.5rem;
}

.editorial-list__featured-link {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.5rem 2rem;
	padding: 1.75rem 1.75rem;
	background: var(--el-card);
	border: 1px solid var(--el-border);
	border-radius: 0 !important;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.editorial-list__featured-link:hover {
	border-color: #d0d0d8;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.editorial-list__featured-main {
	flex: 1 1 280px;
	min-width: 0;
}

.editorial-list__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff;
	background: #111;
	border-radius: 0;
	padding: 0.2rem 0.65rem;
	margin-bottom: 0.75rem;
}

.editorial-list__featured-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.editorial-list__featured-intro {
	font-size: 1rem;
	line-height: 1.55;
	color: #3a3a44;
	margin: 0 0 1.25rem;
}

.editorial-list__featured-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	font-size: 0.875rem;
	color: var(--el-muted);
}

.editorial-list__featured-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}

.editorial-list__featured-meta i {
	opacity: 0.85;
}

.editorial-list__featured-main .editorial-list__featured-tags {
	margin-top: 0.75rem;
}

.editorial-list__featured-art {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(88px, 104px));
	gap: 0.65rem;
	align-content: start;
}

@media (min-width: 640px) {
	.editorial-list__featured-art {
		grid-template-columns: repeat(2, 104px);
	}
}

.editorial-list__art-cell {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 0;
	overflow: hidden;
	background: #eee;
}

.editorial-list__art-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.editorial-list__art-cell--more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.1rem;
	color: #444;
	background: var(--el-more-bg);
	border: 1px solid #dcdce2;
}

.editorial-list__art-cell--empty {
	background: #ececf0;
	border: 1px dashed #d4d4dc;
}

.editorial-list__section-title {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
	margin: 0 0 1rem;
}

.editorial-list__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.editorial-list__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.editorial-list__card {
	background: var(--el-card);
	border: 1px solid var(--el-border);
	border-radius: 0 !important;
	overflow: hidden;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.editorial-list__card:hover {
	border-color: #d0d0d8;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.editorial-list__card-link {
	display: block;
	padding: 1.1rem 1.15rem 1.2rem;
	text-decoration: none;
	color: inherit;
}

.editorial-list__card-art {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.editorial-list__card-thumb {
	aspect-ratio: 1;
	border-radius: 0;
	overflow: hidden;
	background: #eee;
}

.editorial-list__card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.editorial-list__card-thumb--more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.8rem;
	color: #444;
	background: var(--el-more-bg);
	border: 1px solid #dcdce2;
}

.editorial-list__card-thumb--empty {
	background: #ececf0;
	border: 1px dashed #d8d8df;
}

.editorial-list__card-title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.45rem;
	color: #111;
}

.editorial-list__card-meta {
	font-size: 0.78rem;
	color: var(--el-muted);
	margin: 0 0 0.65rem;
	line-height: 1.4;
}

.editorial-list__card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.editorial-list__card-tag {
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.2rem 0.55rem;
	border-radius: 0;
	background: var(--el-tag-bg);
	color: var(--el-tag);
}

.editorial-list__empty {
	text-align: center;
	padding: 2.5rem 1rem;
	color: var(--el-muted);
}

.editorial-list__pager {
	margin-top: 2rem;
}

.editorial-list-page .pagination .page-link {
	border-radius: 0 !important;
}

.editorial-list-page .editorial-list__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-weight: 800;
	font-size: 1.35rem;
	color: #3d3d45;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.editorial-list-page .editorial-list__ph--0 {
	background: #fde4e4;
}
.editorial-list-page .editorial-list__ph--1 {
	background: #e4f0fd;
}
.editorial-list-page .editorial-list__ph--2 {
	background: #e8f8e8;
}
.editorial-list-page .editorial-list__ph--3 {
	background: #fff5d6;
}
.editorial-list-page .editorial-list__ph--4 {
	background: #f0e8ff;
}
.editorial-list-page .editorial-list__ph--5 {
	background: #e8f4f2;
}
