/* Blog, archives, search results and 404. See ecl-listing.php. */
.ecl-lst { --ls-ink: #241449; --ls-muted: #6f687c; --ls-violet: #6849d9; --ls-gold: #ffbd10; --ls-line: rgba(36, 20, 73, .09); background: #fff; color: var(--ls-ink); font-family: Inter, "ECL Inter Fallback", Arial, sans-serif; }
.ecl-lst *, .ecl-lst *::before, .ecl-lst *::after { box-sizing: border-box; }
.ecl-lst .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ecl-lst__inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.ecl-lst h1, .ecl-lst h2 { color: var(--ls-ink); font-family: Inter, "ECL Inter Fallback", Arial, sans-serif; text-transform: none; }

.ecl-lst__hero { padding: 150px 0 64px; background: linear-gradient(125deg, #fff 8%, #f3f0ff 57%, #edf6ff); border-bottom: 1px solid var(--ls-line); }
.ecl-lst__crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--ls-muted); font: 600 13px/1.4 Inter, Arial, sans-serif; }
.ecl-lst__crumb a { color: var(--ls-ink); text-decoration: none; }
.ecl-lst__eyebrow { margin: 0 0 14px; color: var(--ls-violet); font: 800 12px/1.3 Inter, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ecl-lst h1 { max-width: 860px; margin: 0; font-size: clamp(38px, 5vw, 66px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
.ecl-lst__lead { max-width: 640px; margin: 18px 0 0; color: #5f5870; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }

.ecl-lst__search { display: flex; gap: 8px; width: min(620px, 100%); margin-top: 30px; padding: 6px; border: 1px solid #ddd6ef; border-radius: 999px; background: #fff; box-shadow: 0 14px 40px rgba(36, 20, 73, .07); }
.ecl-lst__search:focus-within { border-color: var(--ls-violet); box-shadow: 0 0 0 4px rgba(104, 73, 217, .14); }
.ecl-lst__search input[type=search] { flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 18px; border: 0 !important; border-radius: 999px; background: transparent !important; box-shadow: none !important; color: var(--ls-ink); font: 500 16px/1 Inter, Arial, sans-serif; outline: none; }
.ecl-lst__search input::placeholder { color: #8f879d; opacity: 1; }
.ecl-lst .ecl-lst__search button { position: relative; flex: 0 0 auto; height: 46px; margin: 0; padding: 0 24px; overflow: hidden; border: 0; border-radius: 999px; background: var(--ls-ink); color: #fff; font: 700 15px/1 Inter, Arial, sans-serif; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.ecl-lst .ecl-lst__search button::after, .ecl-lst .ecl-lst__search button::before { content: none !important; display: none !important; }
.ecl-lst .ecl-lst__search button:hover, .ecl-lst .ecl-lst__search button:focus-visible { background: var(--ls-gold); color: var(--ls-ink); }

.ecl-lst__body { padding: clamp(56px, 7vw, 96px) 0 clamp(70px, 8vw, 110px); background: #fbfaff; }

/* Blog cards */
.ecl-lst__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ecl-lst__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ls-line); border-radius: 20px; background: #fff; transition: box-shadow .18s ease, transform .18s ease; }
.ecl-lst__card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(36, 20, 73, .1); }
.ecl-lst__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1edff; }
.ecl-lst__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ecl-lst__thumb-ph { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(255, 189, 16, .35), transparent 40%), linear-gradient(135deg, #2d1a5c, #6849d9); }
.ecl-lst__card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.ecl-lst__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; color: var(--ls-muted); font-size: 13px; }
.ecl-lst__meta span { color: var(--ls-violet); font-weight: 800; }
.ecl-lst__card h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.ecl-lst__card h2 a { color: var(--ls-ink); text-decoration: none; }
.ecl-lst__card h2 a:hover { color: var(--ls-violet); }
.ecl-lst__card-body > p:not(.ecl-lst__meta) { margin: 0 0 20px; color: var(--ls-muted); font-size: 15px; line-height: 1.65; }
.ecl-lst a.ecl-lst__more { margin-top: auto; color: #5937c8; font-size: 14px; font-weight: 800; text-decoration: none; }
.ecl-lst a.ecl-lst__more:hover { color: var(--ls-ink); }

/* Search results */
.ecl-lst__results { display: grid; gap: 12px; max-width: 900px; }
.ecl-lst a.ecl-lst__result { display: block; padding: 22px 26px; border: 1px solid var(--ls-line); border-radius: 18px; background: #fff; color: var(--ls-ink); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.ecl-lst a.ecl-lst__result:hover { border-color: rgba(104, 73, 217, .35); box-shadow: 0 16px 36px rgba(36, 20, 73, .08); color: var(--ls-ink); }
.ecl-lst__type { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #f1edff; color: #5937c8; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ecl-lst__result h2 { margin: 0 0 8px; font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.ecl-lst a.ecl-lst__result:hover h2 { color: var(--ls-violet); }
.ecl-lst__result p { margin: 0 0 10px; color: var(--ls-muted); font-size: 15px; line-height: 1.6; }
.ecl-lst__url { color: #8f879d; font-size: 13px; overflow-wrap: anywhere; }

/* Pagination */
.ecl-lst__pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ecl-lst__pages .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--ls-line); border-radius: 999px; background: #fff; color: var(--ls-ink); font-weight: 700; text-decoration: none; }
.ecl-lst__pages a.page-numbers:hover { border-color: var(--ls-ink); color: var(--ls-ink); }
.ecl-lst__pages .page-numbers.current { background: var(--ls-ink); border-color: var(--ls-ink); color: #fff; }

/* Empty states + link cards */
.ecl-lst__empty { max-width: 720px; margin-bottom: 30px; }
.ecl-lst__empty h2 { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.035em; }
.ecl-lst__empty p { margin: 0; color: var(--ls-muted); font-size: 17px; line-height: 1.65; }
.ecl-lst__empty a { color: #5937c8; font-weight: 700; }
.ecl-lst__subhead { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 800; letter-spacing: -.02em; }
.ecl-lst__links, .ecl-lst__teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ecl-lst__links { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 44px; }
.ecl-lst a.ecl-lst__team { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 22px 52px 22px 22px; border: 1px solid var(--ls-line); border-radius: 18px; background: #fff; color: var(--ls-ink); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ecl-lst a.ecl-lst__team:hover { transform: translateY(-2px); border-color: rgba(104, 73, 217, .35); box-shadow: 0 16px 36px rgba(36, 20, 73, .08); color: var(--ls-ink); }
.ecl-lst__team strong { color: var(--ls-ink); font-size: 17px; line-height: 1.3; }
.ecl-lst__team span { color: var(--ls-muted); font-size: 14px; line-height: 1.5; }
.ecl-lst__team i { position: absolute; top: 20px; right: 18px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1edff; color: #5937c8; font-style: normal; font-weight: 800; }
.ecl-lst a.ecl-lst__team:hover i { background: var(--ls-gold); color: var(--ls-ink); }

/* 404 */
.ecl-lst__nf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ecl-lst__code { margin: 0; color: transparent; font: 900 clamp(120px, 17vw, 240px)/.85 Inter, Arial, sans-serif; letter-spacing: -.07em; -webkit-text-stroke: 2px rgba(104, 73, 217, .28); user-select: none; }
.ecl-lst__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ecl-lst a.ecl-lst__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 Inter, Arial, sans-serif; text-decoration: none; }
.ecl-lst a.ecl-lst__btn--gold { background: var(--ls-gold); color: var(--ls-ink); }
.ecl-lst a.ecl-lst__btn--gold:hover { background: #ffcd45; color: var(--ls-ink); }
.ecl-lst a.ecl-lst__btn--line { border: 1px solid rgba(36, 20, 73, .2); background: rgba(255, 255, 255, .6); color: var(--ls-ink); }
.ecl-lst a.ecl-lst__btn--line:hover { border-color: var(--ls-ink); background: #fff; color: var(--ls-ink); }
.ecl-lst a:focus-visible, .ecl-lst button:focus-visible { outline: 3px solid var(--ls-gold); outline-offset: 3px; }

@media (max-width: 1000px) {
	.ecl-lst__grid, .ecl-lst__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ecl-lst__nf { grid-template-columns: minmax(0, 1fr); }
	.ecl-lst__code { display: none; }
}
@media (max-width: 767px) {
	.ecl-lst__inner { width: calc(100% - 32px); }
	.ecl-lst__hero { padding: 116px 0 44px; }
	.ecl-lst h1 { font-size: 36px; }
	.ecl-lst__grid, .ecl-lst__links { grid-template-columns: 1fr; }
	.ecl-lst__search { border-radius: 18px; }
	.ecl-lst .ecl-lst__search button { padding: 0 18px; }
	.ecl-lst a.ecl-lst__result { padding: 20px; }
	.ecl-lst__actions { flex-direction: column; align-items: stretch; }
	.ecl-lst a.ecl-lst__btn { justify-content: center; }
	.ecl-lst a.ecl-lst__team { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ecl-lst__card, .ecl-lst a.ecl-lst__team { transition: none; }
	.ecl-lst__card:hover, .ecl-lst a.ecl-lst__team:hover { transform: none; }
}
