/*
Theme Name: Evenema Wiedza
Theme URI: https://wiedza.evenema.com
Author: Evenema s.c.
Author URI: https://evenema.com
Description: Motyw podstrony Wiedza dla Evenema s.c. Odtwarza zatwierdzony projekt (hybryda BBDO) – ciemna kolorystyka, Instrument Serif + DM Sans, siatka materiałów w rytmie 6n. Zawiera układ case study: wynik w nagłówku, kafle, metryczka, efekty, cytat klienta.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evenema-wiedza
*/

/* ==========================================================================
   1. Fonty
   ========================================================================== */

/* DM Sans – plik zmienny, obsługuje wagi 100–1000 */
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/instrument-serif-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/instrument-serif-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Instrument Serif';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Instrument Serif';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/instrument-serif-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Zmienne i baza
   ========================================================================== */

:root {
	--ev-bg: #060a08;
	--ev-accent: #3edca0;
	--ev-text: #f4f5f2;
	--ev-card: #161616;
	--ev-card-text: #fafafa;
	--ev-light: #f5f5f1;
	--ev-light-panel: #f7f7f4;
	--ev-ink: #0b110e;
	--ev-green-deep: #0d5f45;
	--ev-green-mid: #157a58;
	--ev-panel: #0c1512;
	--ev-contact-bg: #0b1a15;
	--ev-hairline: rgba(255, 255, 255, 0.08);
	--ev-hairline-strong: rgba(255, 255, 255, 0.12);
	--ev-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--ev-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ev-ease: cubic-bezier(0.14, 0.21, 0.31, 0.98);
	--ev-ease-reveal: cubic-bezier(0.22, 0.7, 0.2, 1);
	--ev-shell: 1360px;
	--ev-gutter: 48px;
	--ev-radius: 16px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ev-bg);
	color: var(--ev-text);
	font-family: var(--ev-sans);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input {
	font-family: inherit;
}

::selection {
	background: var(--ev-accent);
	color: var(--ev-bg);
}

:focus-visible {
	outline: 2px solid var(--ev-accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ev-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 200;
	background: var(--ev-accent);
	color: var(--ev-bg);
	font-size: 13px;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 999px;
}

.ev-skip-link:focus {
	top: 16px;
}

.ev-shell {
	max-width: var(--ev-shell);
	margin: 0 auto;
}

/* Szerokość listingu wg specu BBDO */
.ev-wide {
	width: 80%;
	max-width: 1400px;
	margin: 0 auto;
}

.ev-page {
	background: var(--ev-bg);
	overflow-x: hidden;
}

/* ==========================================================================
   3. Przyciski i linki
   ========================================================================== */

.ev-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 17px 28px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 260ms var(--ev-ease), color 260ms var(--ev-ease), border-color 260ms var(--ev-ease);
}

.ev-btn--accent {
	background: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-btn--accent:hover,
.ev-btn--accent:focus-visible {
	background: var(--ev-card-text);
	color: var(--ev-bg);
}

.ev-btn--outline {
	border-color: var(--ev-accent);
	color: var(--ev-accent);
	background: none;
	padding: 16px 26px;
}

.ev-btn--outline:hover,
.ev-btn--outline:focus-visible {
	background: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-btn--ghost {
	border-color: rgba(244, 245, 242, 0.28);
	color: var(--ev-text);
	background: none;
	font-size: 12.5px;
	letter-spacing: 0.16em;
	padding: 18px 34px;
}

.ev-btn--ghost:hover,
.ev-btn--ghost:focus-visible {
	background: var(--ev-accent);
	border-color: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-btn--small {
	font-size: 12px;
	padding: 14px 22px;
}

.ev-link-quiet {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(244, 245, 242, 0.6);
	border-bottom: 1px solid rgba(244, 245, 242, 0.25);
	padding-bottom: 3px;
	transition: color 260ms var(--ev-ease), border-color 260ms var(--ev-ease);
}

.ev-link-quiet:hover,
.ev-link-quiet:focus-visible {
	color: var(--ev-accent);
	border-color: var(--ev-accent);
}

.ev-kicker {
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-accent);
	font-weight: 700;
	margin: 0;
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.ev-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(6, 10, 8, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ev-nav {
	max-width: var(--ev-shell);
	margin: 0 auto;
	padding: 0 var(--ev-gutter);
	min-height: 76px;
	display: flex;
	align-items: center;
	gap: 56px;
}

.ev-logo {
	font-weight: 500;
	font-size: 21px;
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	gap: 9px;
	flex: none;
}

.ev-logo__img {
	display: block;
	max-height: 34px;
	width: auto;
}

.ev-nav__links {
	display: flex;
	align-items: center;
	gap: 38px;
	margin-left: auto;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	list-style: none;
	padding: 0;
}

.ev-nav__links a {
	color: rgba(244, 245, 242, 0.72);
	transition: color 240ms var(--ev-ease);
}

.ev-nav__links a:hover,
.ev-nav__links a:focus-visible {
	color: var(--ev-accent);
}

.ev-nav__links .current-menu-item > a,
.ev-nav__links .ev-nav__link--active {
	color: var(--ev-accent);
	padding-bottom: 4px;
	border-bottom: 1.5px solid var(--ev-accent);
}

.ev-nav__links .ev-nav__link--muted {
	color: rgba(244, 245, 242, 0.55);
}

.ev-nav__cta {
	border: 1px solid var(--ev-accent);
	color: var(--ev-accent);
	padding: 11px 22px;
	border-radius: 999px;
	transition: background 240ms var(--ev-ease), color 240ms var(--ev-ease);
}

.ev-nav__cta:hover,
.ev-nav__cta:focus-visible {
	background: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-nav__toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid rgba(244, 245, 242, 0.28);
	color: var(--ev-text);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.ev-hero {
	position: relative;
	padding: 96px var(--ev-gutter) 0;
	/* Poświata i grafika „e” wychodzą poza siatkę – bez tego strona
	   przewija się w poziomie na węższych ekranach. */
	overflow: hidden;
}

/* Tło hero: pełnoekranowa grafika z przyciemnieniem od lewej, żeby tekst
   miał kontrast niezależnie od tego, co jest na renderze. */
.ev-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	pointer-events: none;
}

.ev-hero__scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(100deg, var(--ev-bg) 26%, rgba(6, 10, 8, 0.82) 46%, rgba(6, 10, 8, 0.1) 74%),
		linear-gradient(to bottom, rgba(6, 10, 8, 0) 62%, var(--ev-bg) 100%);
}

.ev-hero--bg .ev-hero__inner {
	position: relative;
}

@media (max-width: 1080px) {
	.ev-hero__bg {
		background-position: 72% center;
	}
	.ev-hero__scrim {
		background:
			linear-gradient(100deg, var(--ev-bg) 8%, rgba(6, 10, 8, 0.86) 52%, rgba(6, 10, 8, 0.55) 100%),
			linear-gradient(to bottom, rgba(6, 10, 8, 0) 58%, var(--ev-bg) 100%);
	}
}

.ev-hero__glow {
	position: absolute;
	top: -180px;
	right: -160px;
	width: 760px;
	height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 220, 160, 0.16), rgba(6, 10, 8, 0) 62%);
	pointer-events: none;
}

.ev-hero__inner {
	position: relative;
	max-width: var(--ev-shell);
	margin: 0 auto;
}

.ev-hero__stage {
	position: relative;
}

.ev-hero__mark {
	position: absolute;
	right: -40px;
	top: -50px;
	width: 42%;
	max-width: 560px;
	opacity: 0.85;
	animation: evFloat 10s ease-in-out infinite;
	pointer-events: none;
}

.ev-hero__kicker {
	position: relative;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-accent);
	font-weight: 500;
	margin: 0 0 18px;
}

.ev-hero__title {
	position: relative;
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: clamp(88px, 17.5vw, 268px);
	line-height: 0.82;
	letter-spacing: -0.045em;
	margin: 0 0 44px;
}

/* Z grafiką w tle prawa kolumna leżałaby na najjaśniejszym miejscu renderu.
   Cała treść schodzi więc w lewo, w ciemny obszar, a render dostaje wolną
   prawą połowę. Bez grafiki wraca pierwotny układ dwukolumnowy. */
.ev-hero--bg {
	padding-top: 78px;
}

.ev-hero--bg .ev-hero__title {
	margin-bottom: 16px;
}

.ev-hero--bg .ev-hero__grid {
	grid-template-columns: minmax(0, 560px);
	gap: 22px;
	padding-top: 14px;
	align-items: start;
}

.ev-hero--bg .ev-hero__lede {
	margin-bottom: 0;
}

.ev-hero--bg .ev-hero__desc {
	max-width: 46ch;
}

@media (max-width: 1080px) {
	.ev-hero--bg .ev-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ev-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: end;
	padding-top: 20px;
}

.ev-hero__lede {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}

.ev-hero__desc {
	font-size: 16.5px;
	line-height: 1.6;
	color: rgba(244, 245, 242, 0.62);
	margin: 0 0 28px;
	max-width: 460px;
}

.ev-hero__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

@keyframes evFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

/* ==========================================================================
   6. Marquee
   ========================================================================== */

.ev-marquee {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 64px 0 0;
	padding: 22px 0;
	border-top: 1px solid var(--ev-hairline);
	border-bottom: 1px solid var(--ev-hairline);
	overflow: hidden;
}

.ev-marquee__track {
	display: flex;
	gap: 40px;
	white-space: nowrap;
	animation: evMarq 34s linear infinite;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 245, 242, 0.42);
}

.ev-marquee__sep {
	color: var(--ev-accent);
}

@keyframes evMarq {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ==========================================================================
   7. Slajder wyróżniony
   ========================================================================== */

.ev-featured {
	padding: 72px var(--ev-gutter) 96px;
}

.ev-featured__viewport {
	position: relative;
	overflow: hidden;
	border-radius: var(--ev-radius);
}

.ev-featured__track {
	display: flex;
	width: calc(var(--ev-slides, 1) * 100%);
	transition: transform 720ms cubic-bezier(0.6, 0.05, 0.1, 1);
}

.ev-slide {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	min-height: 470px;
	flex: none;
	width: calc(100% / var(--ev-slides, 1));
}

.ev-slide__visual {
	background: var(--ev-panel);
	overflow: hidden;
}

.ev-slide__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ev-slide__body {
	background: var(--ev-light-panel);
	color: var(--ev-ink);
	padding: 62px 66px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ev-slide__kicker {
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-green-mid);
	font-weight: 700;
	margin: 0 0 22px;
}

.ev-slide__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 22px;
}

.ev-slide__title a:hover,
.ev-slide__title a:focus-visible {
	color: var(--ev-green-deep);
}

.ev-slide__lead {
	font-size: 15.5px;
	line-height: 1.68;
	color: rgba(11, 17, 14, 0.68);
	margin: 0 0 34px;
	max-width: 420px;
}

.ev-slide__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ev-green-deep);
	width: fit-content;
	border-bottom: 1px solid rgba(13, 95, 69, 0.3);
	padding-bottom: 5px;
	transition: color 240ms var(--ev-ease), border-color 240ms var(--ev-ease);
}

.ev-slide__cta:hover,
.ev-slide__cta:focus-visible {
	color: var(--ev-ink);
	border-color: var(--ev-ink);
}

/* Panel „odpowiedź modelu” */
.ev-slide__visual--ai {
	background: linear-gradient(155deg, #08201a, #060d0b 70%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 56px;
}

.ev-aipanel__q {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(62, 220, 160, 0.35);
	border-radius: 999px;
	padding: 14px 22px;
	color: rgba(244, 245, 242, 0.85);
	font-size: 14px;
}

.ev-aipanel__q span {
	color: var(--ev-accent);
}

.ev-aipanel__label {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(244, 245, 242, 0.4);
	margin: 10px 0 0;
}

.ev-aipanel__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	color: rgba(244, 245, 242, 0.42);
}

.ev-aipanel__list .is-brand {
	color: var(--ev-accent);
	font-weight: 500;
}

.ev-aipanel__list .is-brand small {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.8;
}

/* Panel ze statystyką */
.ev-slide__visual--stat {
	background: linear-gradient(150deg, #0f3d2d, #071310);
	display: flex;
	align-items: flex-end;
	padding: 56px;
}

.ev-statpanel {
	font-family: var(--ev-serif);
	font-size: clamp(38px, 5vw, 68px);
	line-height: 0.98;
	color: var(--ev-accent);
	margin: 0;
}

.ev-statpanel small {
	display: block;
	font-size: 0.34em;
	color: rgba(244, 245, 242, 0.7);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-family: var(--ev-sans);
	line-height: 1.3;
	margin-top: 0.35em;
}

.ev-featured__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	display: grid;
	place-items: center;
	transition: background 240ms var(--ev-ease), color 240ms var(--ev-ease), border-color 240ms var(--ev-ease);
}

.ev-featured__arrow--prev {
	left: 24px;
	border: 1px solid rgba(244, 245, 242, 0.35);
	background: rgba(6, 10, 8, 0.55);
	color: var(--ev-text);
}

.ev-featured__arrow--next {
	right: 24px;
	border: 1px solid rgba(11, 17, 14, 0.2);
	background: rgba(247, 247, 244, 0.9);
	color: var(--ev-ink);
}

.ev-featured__arrow:hover,
.ev-featured__arrow:focus-visible {
	background: var(--ev-accent);
	border-color: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.ev-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: rgba(244, 245, 242, 0.28);
	cursor: pointer;
	transition: all 300ms var(--ev-ease);
}

.ev-dot.is-active {
	background: var(--ev-accent);
	width: 22px;
	border-radius: 4px;
}

/* ==========================================================================
   8. Obszary wiedzy
   ========================================================================== */

/* Blok obszarów po korekcie nie filtruje siatki, więc nie udaje przycisku. */
.ev-area--static {
	cursor: default;
}

.ev-area--static .ev-area__name {
	color: var(--ev-text);
	opacity: 0.82;
}

/* Ostatni kafel nie jest już wyróżniony jako aktywny filtr. */
.ev-area--static:last-child {
	border-left-color: rgba(255, 255, 255, 0.1);
}

.ev-areas {
	padding: 8px var(--ev-gutter) 56px;
}

.ev-areas__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.ev-area {
	text-align: left;
	background: none;
	border: none;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	padding: 4px 32px;
	cursor: pointer;
	color: inherit;
	font-family: inherit;
	display: block;
	transition: opacity 300ms var(--ev-ease), border-color 300ms var(--ev-ease);
}

.ev-area:first-child {
	padding-left: 0;
	margin-left: 0;
	padding-right: 32px;
}

.ev-area__num {
	display: block;
	font-size: 13px;
	color: var(--ev-accent);
	letter-spacing: 0.1em;
	margin-bottom: 20px;
	font-weight: 500;
}

.ev-area__name {
	display: block;
	font-family: var(--ev-serif);
	font-size: 27px;
	line-height: 1.16;
	margin-bottom: 26px;
}

.ev-area__arrow {
	display: block;
	color: var(--ev-accent);
	font-size: 17px;
}

.ev-area.is-active {
	border-left-color: var(--ev-accent);
	opacity: 1;
}

.ev-area.is-dimmed {
	opacity: 0.45;
}

/* ==========================================================================
   9. Siatka materiałów – spec 1:1 z bbdo.com/news
   ========================================================================== */

.ev-listing {
	padding: 40px 0 40px;
}

.ev-listing__head {
	display: flex;
	align-items: flex-end;
	gap: 32px;
	flex-wrap: wrap;
	padding-bottom: 28px;
	margin-bottom: 42px;
	border-bottom: 1px solid var(--ev-hairline-strong);
}

.ev-listing__headinner {
	flex: 1;
	min-width: 260px;
}

.ev-listing__meta {
	font-size: 14px;
	color: rgba(244, 245, 242, 0.5);
	margin: 0;
}

.ev-listing__filter {
	color: var(--ev-accent);
}

.ev-cards {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 326px;
	gap: 20px;
	width: 80%;
	max-width: 1400px;
	margin: 0 auto 20px;
}

.ev-cards > *:nth-child(6n + 1) {
	grid-area: span 2 / span 2;
}
.ev-cards > *:nth-child(6n + 2) {
	grid-area: span 1 / 3 / span 1 / span 4;
}
.ev-cards > *:nth-child(6n + 3) {
	grid-area: span 1 / 3 / span 1 / span 4;
}
.ev-cards > *:nth-child(6n + 4) {
	grid-area: span 1 / span 4;
}
.ev-cards > *:nth-child(6n + 5) {
	grid-area: span 2 / 5 / span 2 / span 2;
}
.ev-cards > *:nth-child(6n + 6) {
	grid-area: span 1 / span 4;
}

.ev-cards > *:nth-child(6n + 1) > .ev-card__thumb,
.ev-cards > *:nth-child(6n + 5) > .ev-card__thumb {
	height: 50%;
}

.ev-cards > *:nth-child(6n + 2),
.ev-cards > *:nth-child(6n + 3),
.ev-cards > *:nth-child(6n + 4),
.ev-cards > *:nth-child(6n + 6) {
	flex-direction: row;
}

.ev-cards > *:nth-child(6n + 2) > .ev-card__thumb,
.ev-cards > *:nth-child(6n + 3) > .ev-card__thumb,
.ev-cards > *:nth-child(6n + 4) > .ev-card__thumb,
.ev-cards > *:nth-child(6n + 6) > .ev-card__thumb {
	width: 50%;
	height: 100%;
}

.ev-cards > *:nth-child(6n + 2) > .ev-card__body,
.ev-cards > *:nth-child(6n + 3) > .ev-card__body,
.ev-cards > *:nth-child(6n + 4) > .ev-card__body,
.ev-cards > *:nth-child(6n + 6) > .ev-card__body {
	width: 50%;
	justify-content: center;
}

.ev-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--ev-radius);
	overflow: hidden;
	background: var(--ev-card);
	color: var(--ev-card-text);
	transition: background 400ms var(--ev-ease), color 400ms var(--ev-ease);
}

.ev-card__thumb {
	overflow: hidden;
	background: var(--ev-panel);
	flex: none;
}

.ev-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 400ms var(--ev-ease);
}

.ev-card__body {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 32px;
}

.ev-card__arrow {
	position: absolute;
	top: 28px;
	right: 28px;
	font-size: 20px;
	line-height: 1;
	color: var(--ev-accent);
	transition: transform 400ms var(--ev-ease), color 400ms var(--ev-ease);
}

.ev-card__title {
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: 23px;
	line-height: 1.14;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0 0 14px;
	padding-right: 36px;
	overflow: visible;
}

.ev-card__date {
	font-size: 13.5px;
	color: rgba(250, 250, 250, 0.5);
	margin: 0 0 16px;
}

.ev-card__lead {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(250, 250, 250, 0.66);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.ev-card:hover {
		background: var(--ev-card-text);
		color: #161616;
	}
	.ev-card:hover .ev-card__title,
	.ev-card:hover .ev-card__date,
	.ev-card:hover .ev-card__lead {
		color: #161616;
	}
	.ev-card:hover .ev-card__date {
		color: rgba(22, 22, 22, 0.55);
	}
	.ev-card:hover .ev-card__lead {
		color: rgba(22, 22, 22, 0.72);
	}
	.ev-card:hover .ev-card__arrow {
		color: var(--ev-green-deep);
		transform: translate(4px, -4px);
	}
	.ev-card:hover .ev-card__thumb img {
		transform: scale(1.25);
	}
}

/* Rytm 6n zakłada komplet sześciu materiałów. Przy mniejszej liczbie
   zostawiałby puste pola, więc dla 1, 2 i 4 pozycji układ jest inny.
   Trzy pozycje kafelkują się bez dziur, więc zostają w rytmie.
   :nth-child(n) nie zmienia dopasowania – zrównuje wagę z regułami rytmu. */
.ev-cards--n1 > *:nth-child(n),
.ev-cards--n2 > *:nth-child(n),
.ev-cards--n4 > *:nth-child(n) {
	grid-area: auto;
}

.ev-cards--n1 > *:nth-child(n) {
	grid-column: span 6;
	flex-direction: row;
}

.ev-cards--n1 > *:nth-child(n) > .ev-card__thumb {
	width: 50%;
	height: 100%;
}

.ev-cards--n1 > *:nth-child(n) > .ev-card__body {
	width: 50%;
	justify-content: center;
}

.ev-cards--n2 > *:nth-child(n),
.ev-cards--n4 > *:nth-child(n) {
	grid-column: span 3;
	grid-row: span 2;
	flex-direction: column;
}

.ev-cards--n2 > *:nth-child(n) > .ev-card__thumb,
.ev-cards--n4 > *:nth-child(n) > .ev-card__thumb {
	width: 100%;
	height: 55%;
}

.ev-cards--n2 > *:nth-child(n) > .ev-card__body,
.ev-cards--n4 > *:nth-child(n) > .ev-card__body {
	width: 100%;
	/* Rytm 6n centruje w pionie tylko kafle 2, 3, 4 i 6. W układzie
	   zastępczym karty są równorzędne, więc wszystkie centrujemy tak samo,
	   inaczej sąsiednie tytuły zaczynają się na różnej wysokości. */
	justify-content: center;
}

/* Pięć pozycji: pierwsze trzy w rytmie 6n, dwie ostatnie po połowie szerokości. */
.ev-cards--n5 > *:nth-child(4) {
	grid-area: span 1 / 1 / span 1 / span 3;
	flex-direction: row;
}

.ev-cards--n5 > *:nth-child(5) {
	grid-area: span 1 / 4 / span 1 / span 3;
	flex-direction: row;
}

.ev-cards--n5 > *:nth-child(4) > .ev-card__thumb,
.ev-cards--n5 > *:nth-child(5) > .ev-card__thumb {
	width: 50%;
	height: 100%;
}

.ev-cards--n5 > *:nth-child(4) > .ev-card__body,
.ev-cards--n5 > *:nth-child(5) > .ev-card__body {
	width: 50%;
	justify-content: center;
}

/* Formularz i telefon w jednym zdaniu, oba tej samej wagi. Numer jest
   wytłuszczony, bo to jedyna droga działająca natychmiast. */
.ev-contactline {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0;
	font-size: 16.5px;
	line-height: 1.4;
	color: rgba(244, 245, 242, 0.78);
}

.ev-contactline__form {
	color: var(--ev-text);
	text-decoration: underline;
	text-decoration-color: rgba(62, 220, 160, 0.55);
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
	transition: color 220ms var(--ev-ease), text-decoration-color 220ms var(--ev-ease);
}

.ev-contactline__form:hover {
	color: var(--ev-accent);
	text-decoration-color: var(--ev-accent);
}

.ev-contactline__or {
	color: rgba(244, 245, 242, 0.6);
}

.ev-contactline__tel {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	color: var(--ev-text);
	transition: color 220ms var(--ev-ease);
}

.ev-contactline__tel:hover {
	color: var(--ev-accent);
}

.ev-contactline__icon {
	flex: none;
	color: var(--ev-accent);
}

/* Moduł zamykający stronę główną — „wariant A" z makiety. Bez ramki:
   pudełko w połowie strony czytało się jak widżet, ten pas domyka serwis
   tym samym rejestrem, którym otwiera go hero. */
.ev-close {
	border-top: 1px solid var(--ev-hairline);
	padding: clamp(64px, 7vw, 110px) 0 clamp(36px, 4vw, 58px);
}

.ev-close__eyebrow {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-accent);
	margin: 0 0 26px;
}

.ev-close__line {
	font-family: var(--ev-sans);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(34px, 7.2vw, 104px);
	line-height: 0.92;
	letter-spacing: -0.04em;
	margin: 0 0 clamp(26px, 4vw, 54px);
	text-wrap: balance;
}

.ev-close__rows {
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ev-close__row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 20px;
	padding: 26px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: padding-left 320ms var(--ev-ease), color 320ms var(--ev-ease);
}

.ev-close__t {
	display: block;
	font-family: var(--ev-serif);
	font-size: clamp(20px, 2.4vw, 31px);
	line-height: 1.1;
}

.ev-close__s {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: rgba(244, 245, 242, 0.5);
	transition: color 320ms var(--ev-ease);
}

.ev-close__a {
	font-size: 21px;
	color: var(--ev-accent);
	transition: transform 320ms var(--ev-ease);
}

/* Poświata wjeżdża spod lewej krawędzi, wiersz lekko ustępuje kursorowi. */
.ev-close__row::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--ev-accent);
	opacity: 0.09;
	transition: width 320ms var(--ev-ease);
}

.ev-close__row:hover {
	padding-left: 22px;
	color: var(--ev-accent);
}

.ev-close__row:hover .ev-close__a {
	transform: translateX(7px);
}

.ev-close__row:hover::before {
	width: 100%;
}

.ev-close__row:hover .ev-close__s {
	color: rgba(62, 220, 160, 0.7);
}

.ev-close__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.ev-listing__all {
	display: flex;
	justify-content: center;
	padding: 54px 0 0;
}

/* ==========================================================================
   10. Pasek kontaktowy
   ========================================================================== */

.ev-contact {
	background: var(--ev-contact-bg);
	padding: 46px var(--ev-gutter);
}

.ev-contact__inner {
	max-width: var(--ev-shell);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 44px;
	flex-wrap: wrap;
}

.ev-contact__icon {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	border: 1px solid rgba(62, 220, 160, 0.45);
	display: grid;
	place-items: center;
	color: var(--ev-accent);
	font-size: 22px;
	flex: none;
}

.ev-contact__body {
	flex: 1;
	min-width: 260px;
}

.ev-contact__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.1;
	margin: 0 0 8px;
}

.ev-contact__desc {
	font-size: 15px;
	color: rgba(244, 245, 242, 0.6);
	margin: 0;
}

.ev-contact__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}

.ev-contact__phones {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ev-contact__phonesep {
	color: rgba(62, 220, 160, 0.6);
	font-size: 12.5px;
}

.ev-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: rgba(244, 245, 242, 0.75);
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 16px 4px;
	transition: color 240ms var(--ev-ease);
	white-space: nowrap;
}

.ev-contact__phone:hover,
.ev-contact__phone:focus-visible {
	color: var(--ev-accent);
}

/* ==========================================================================
   11. Autorzy
   ========================================================================== */

.ev-authors {
	padding: 104px var(--ev-gutter) 96px;
}

.ev-authors__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}

.ev-authors__desc {
	font-size: 16.5px;
	line-height: 1.6;
	color: rgba(244, 245, 242, 0.6);
	max-width: 520px;
	margin: 0 0 62px;
}

.ev-authors__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.ev-author {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
}

.ev-author--divided {
	padding-right: 40px;
	border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.ev-author__photo {
	overflow: hidden;
	border-radius: var(--ev-radius);
	background: var(--ev-panel);
}

.ev-author__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 800ms cubic-bezier(0.2, 0.6, 0.1, 1);
}

.ev-author:hover .ev-author__photo img {
	transform: scale(1.04);
}

.ev-author__name {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: 30px;
	margin: 0 0 12px;
}

.ev-author__role {
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-accent);
	font-weight: 700;
	margin: 0 0 22px;
}

.ev-author__bio {
	font-size: 15px;
	line-height: 1.62;
	color: rgba(244, 245, 242, 0.66);
	margin: 0 0 28px;
}

.ev-author__rule {
	width: 34px;
	height: 1px;
	background: var(--ev-accent);
	margin-bottom: 26px;
}

.ev-author__reellabel {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-accent);
	margin: 0 0 12px;
}

.ev-author__reeltitle {
	font-family: var(--ev-serif);
	font-size: 21px;
	line-height: 1.24;
	margin: 0 0 28px;
}

.ev-author__actions {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: flex-start;
}

.ev-author__reel {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(62, 220, 160, 0.5);
	color: var(--ev-text);
	font-size: 13.5px;
	padding: 13px 22px;
	border-radius: 999px;
	transition: background 240ms var(--ev-ease), color 240ms var(--ev-ease), border-color 240ms var(--ev-ease);
}

.ev-author__reel span {
	color: var(--ev-accent);
}

.ev-author__reel:hover,
.ev-author__reel:focus-visible {
	background: var(--ev-accent);
	border-color: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-author__reel:hover span,
.ev-author__reel:focus-visible span {
	color: var(--ev-bg);
}

.ev-author__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ev-accent);
	font-size: 13.5px;
	transition: color 240ms var(--ev-ease);
}

.ev-author__more:hover,
.ev-author__more:focus-visible {
	color: var(--ev-text);
}

/* ==========================================================================
   12. Narzędzie AI
   ========================================================================== */

.ev-aitool {
	padding: 0 var(--ev-gutter) 104px;
}

.ev-aitool__inner {
	max-width: var(--ev-shell);
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(62, 220, 160, 0.22);
	border-radius: var(--ev-radius);
	background: linear-gradient(115deg, #071310 0%, #0c211a 62%, #0f3729 100%);
	padding: 58px 62px;
}

.ev-aitool__glow {
	position: absolute;
	right: -60px;
	bottom: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 220, 160, 0.22), rgba(6, 10, 8, 0) 65%);
	pointer-events: none;
}

.ev-aitool__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 56px;
	align-items: center;
}

.ev-aitool__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(30px, 3.2vw, 42px);
	line-height: 1.08;
	margin: 0 0 18px;
}

.ev-aitool__desc {
	font-size: 15.5px;
	line-height: 1.62;
	color: rgba(244, 245, 242, 0.62);
	margin: 0;
	max-width: 460px;
}

.ev-aitool__form {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.ev-aitool__input {
	flex: 1;
	min-width: 200px;
	background: var(--ev-light-panel);
	border: none;
	color: var(--ev-ink);
	font-size: 15px;
	padding: 17px 26px;
	border-radius: 999px;
	outline: none;
}

/* Honeypot – pole widzą tylko boty; ludzie i czytniki go nie dostają. */
.ev-aitool__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ev-aitool__consent {
	flex-basis: 100%;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(244, 245, 242, 0.55);
	cursor: pointer;
}

.ev-aitool__consent input {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin-top: 2px;
	accent-color: var(--ev-accent);
	cursor: pointer;
}

.ev-aitool__result {
	display: none;
	margin-top: 22px;
	border-top: 1px solid rgba(62, 220, 160, 0.25);
	padding-top: 20px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(244, 245, 242, 0.78);
}

.ev-aitool__result.is-visible {
	display: block;
}

.ev-aitool__result.is-error {
	color: #ff8f6b;
	border-top-color: rgba(255, 143, 107, 0.4);
}

.ev-aitool__scores {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.ev-aitool__hit {
	color: var(--ev-accent);
}

.ev-aitool__miss {
	color: #ff8f6b;
}

.ev-aitool__note {
	font-size: 12px;
	color: rgba(244, 245, 242, 0.38);
	margin: 16px 0 0;
}

/* ==========================================================================
   12b. Powrót na górę
   ========================================================================== */

.ev-totop {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 60;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(62, 220, 160, 0.35);
	border-radius: 50%;
	background: rgba(6, 10, 8, 0.72);
	color: var(--ev-accent);
	cursor: pointer;
	backdrop-filter: blur(8px);
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.ev-totop.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.ev-totop:hover {
	background: rgba(62, 220, 160, 0.16);
}

@media (prefers-reduced-motion: reduce) {
	.ev-totop {
		transition: opacity 0.25s ease;
		transform: none;
	}
}

@media (max-width: 640px) {
	.ev-totop {
		right: 16px;
		bottom: 16px;
	}
}

/* ==========================================================================
   13. Stopka
   ========================================================================== */

.ev-footer {
	border-top: 1px solid var(--ev-hairline);
	padding: 78px var(--ev-gutter) 34px;
}

.ev-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr repeat(4, 0.85fr);
	gap: 48px;
}

.ev-footer__wordmark {
	display: inline-block;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ev-text);
	margin-bottom: 26px;
}

.ev-footer__claim {
	font-family: var(--ev-serif);
	font-size: 27px;
	line-height: 1.16;
	margin: 0 0 16px;
}

.ev-footer__desc {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(244, 245, 242, 0.55);
	margin: 0 0 28px;
	max-width: 300px;
}

.ev-footer__coltitle {
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 22px;
}

.ev-footer__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
	color: rgba(244, 245, 242, 0.6);
	list-style: none;
	padding: 0;
	margin: 0;
}

.ev-footer__links a {
	transition: color 240ms var(--ev-ease);
}

.ev-footer__links a:hover,
.ev-footer__links a:focus-visible {
	color: var(--ev-accent);
}

.ev-footer__bottom {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--ev-hairline);
	font-size: 12.5px;
	color: rgba(244, 245, 242, 0.45);
	flex-wrap: wrap;
}

.ev-footer__social {
	display: flex;
	gap: 18px;
}

.ev-footer__social a:hover,
.ev-footer__social a:focus-visible,
.ev-footer__bottom a:hover,
.ev-footer__bottom a:focus-visible {
	color: var(--ev-accent);
}

.ev-footer__copy {
	margin: 0 auto;
}

/* ==========================================================================
   14. Wpis, archiwum, wyszukiwanie
   ========================================================================== */

.ev-pagehead {
	padding: 84px var(--ev-gutter) 0;
}

.ev-pagehead__inner {
	max-width: var(--ev-shell);
	margin: 0 auto;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--ev-hairline-strong);
}

.ev-pagehead__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 82px);
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 12px 0 0;
}

.ev-pagehead__desc {
	font-size: 16.5px;
	line-height: 1.6;
	color: rgba(244, 245, 242, 0.6);
	max-width: 560px;
	margin: 20px 0 0;
}

.ev-article__head {
	padding: 72px var(--ev-gutter) 0;
}

.ev-article__headinner {
	max-width: 900px;
	margin: 0 auto;
}

.ev-article__title {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(36px, 5.2vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 18px 0 26px;
	text-wrap: balance;
}

.ev-article__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: rgba(244, 245, 242, 0.5);
	padding-bottom: 42px;
	border-bottom: 1px solid var(--ev-hairline);
}

.ev-article__meta a {
	color: rgba(244, 245, 242, 0.72);
}

.ev-article__meta a:hover {
	color: var(--ev-accent);
}

.ev-article__hero {
	max-width: var(--ev-shell);
	margin: 54px auto 0;
	padding: 0 var(--ev-gutter);
}

.ev-article__hero img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--ev-radius);
}

.ev-article__caption {
	font-size: 13px;
	color: rgba(244, 245, 242, 0.42);
	margin: 14px 0 0;
}

.ev-article__body {
	background: var(--ev-light);
	color: var(--ev-ink);
	margin-top: 72px;
	padding: 84px var(--ev-gutter) 96px;
}

.ev-prose {
	max-width: 720px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.72;
}

.ev-prose > * + * {
	margin-top: 1.4em;
}

.ev-prose h2 {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.14;
	letter-spacing: -0.015em;
	margin-top: 2em;
	margin-bottom: 0.1em;
}

.ev-prose h3 {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(23px, 2.6vw, 30px);
	line-height: 1.2;
	margin-top: 1.8em;
	margin-bottom: 0.1em;
}

.ev-prose h4 {
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.02em;
	margin-top: 1.8em;
}

.ev-prose a {
	color: var(--ev-green-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.ev-prose a:hover {
	color: var(--ev-ink);
}

.ev-prose ul,
.ev-prose ol {
	padding-left: 1.3em;
}

.ev-prose li + li {
	margin-top: 0.5em;
}

.ev-prose ul {
	list-style: none;
	padding-left: 0;
}

.ev-prose ul > li {
	position: relative;
	padding-left: 26px;
}

.ev-prose ul > li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ev-green-mid);
}

.ev-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 6px 0 6px 28px;
	border-left: 2px solid var(--ev-green-mid);
	font-family: var(--ev-serif);
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 1.24;
}

.ev-prose blockquote p {
	margin: 0;
}

.ev-prose img,
.ev-prose .wp-block-image img {
	border-radius: 12px;
}

.ev-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.ev-prose figcaption {
	font-size: 13.5px;
	color: rgba(11, 17, 14, 0.55);
	margin-top: 12px;
}

.ev-prose hr {
	border: none;
	border-top: 1px solid rgba(11, 17, 14, 0.15);
	margin: 2.6em 0;
}

.ev-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
}

.ev-prose th,
.ev-prose td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(11, 17, 14, 0.12);
}

.ev-prose th {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ev-green-mid);
}

.ev-prose code {
	background: rgba(11, 17, 14, 0.07);
	padding: 2px 6px;
	border-radius: 5px;
	font-size: 0.9em;
}

.ev-prose pre {
	background: var(--ev-ink);
	color: var(--ev-light);
	padding: 22px 24px;
	border-radius: 12px;
	overflow-x: auto;
}

.ev-prose pre code {
	background: none;
	padding: 0;
}

.ev-article__tags {
	max-width: 720px;
	margin: 56px auto 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ev-article__tags a {
	border: 1px solid rgba(11, 17, 14, 0.2);
	border-radius: 999px;
	padding: 9px 18px;
	color: rgba(11, 17, 14, 0.7);
	transition: background 240ms var(--ev-ease), color 240ms var(--ev-ease), border-color 240ms var(--ev-ease);
}

.ev-article__tags a:hover {
	background: var(--ev-ink);
	border-color: var(--ev-ink);
	color: var(--ev-light);
}

.ev-article__signature {
	max-width: 720px;
	margin: 62px auto 0;
	padding-top: 38px;
	border-top: 1px solid rgba(11, 17, 14, 0.14);
	display: flex;
	gap: 26px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.ev-article__signature img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	/* Portret jest w proporcji 3:4, kółko jest kwadratem. Wyśrodkowane
	   przycięcie zabiera głowę i zostawia sam tors, więc kadr idzie w górę:
	   przy 10% oczy trafiają na ok. 39% wysokości kółka. */
	object-position: center 10%;
	flex: none;
}

.ev-article__signaturebody {
	flex: 1;
	min-width: 240px;
}

.ev-article__signaturename {
	font-family: var(--ev-serif);
	font-size: 24px;
	margin: 0 0 6px;
}

.ev-article__signaturerole {
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-green-mid);
	font-weight: 700;
	margin: 0 0 12px;
}

.ev-article__signaturebio {
	font-size: 15px;
	line-height: 1.62;
	color: rgba(11, 17, 14, 0.7);
	margin: 0;
}

.ev-article__nav {
	max-width: 720px;
	margin: 62px auto 0;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ev-article__nav a {
	color: var(--ev-green-deep);
	border-bottom: 1px solid rgba(13, 95, 69, 0.3);
	padding-bottom: 4px;
}

.ev-article__nav a:hover {
	color: var(--ev-ink);
	border-color: var(--ev-ink);
}

.ev-related {
	padding: 96px 0 24px;
}

.ev-related__head {
	width: 80%;
	max-width: 1400px;
	margin: 0 auto 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ev-hairline-strong);
}

.ev-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 64px var(--ev-gutter) 0;
	font-size: 13px;
	letter-spacing: 0.08em;
}

.ev-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(244, 245, 242, 0.18);
	color: rgba(244, 245, 242, 0.7);
	transition: background 240ms var(--ev-ease), color 240ms var(--ev-ease), border-color 240ms var(--ev-ease);
}

.ev-pagination .page-numbers:hover,
.ev-pagination .page-numbers.current {
	background: var(--ev-accent);
	border-color: var(--ev-accent);
	color: var(--ev-bg);
}

.ev-searchform {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 30px;
	max-width: 520px;
}

.ev-searchform input[type='search'] {
	flex: 1;
	min-width: 200px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--ev-text);
	font-size: 15px;
	padding: 16px 24px;
	border-radius: 999px;
	outline: none;
}

.ev-searchform input[type='search']:focus {
	border-color: var(--ev-accent);
}

.ev-empty {
	max-width: var(--ev-shell);
	margin: 0 auto;
	padding: 72px var(--ev-gutter) 40px;
	font-size: 17px;
	color: rgba(244, 245, 242, 0.6);
}

.ev-404 {
	padding: 120px var(--ev-gutter) 40px;
	text-align: center;
}

.ev-404__code {
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: clamp(88px, 18vw, 240px);
	line-height: 0.84;
	letter-spacing: -0.045em;
	margin: 0 0 30px;
}

/* ==========================================================================
   14b. Case study
   ========================================================================== */

.ev-case__head {
	padding-top: 84px;
}

.ev-case__title {
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: clamp(40px, 6.4vw, 96px);
	line-height: 0.94;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	margin: 14px 0 26px;
	text-wrap: balance;
}

/* Tytuł pisany pod frazę z wyszukiwarki: mniejszy stopień, żeby nagłówek
   nie wypełniał całego pierwszego ekranu. Próg ustawia single.php. */
.ev-case__title--long {
	font-size: clamp(30px, 4vw, 58px);
	letter-spacing: -0.025em;
	line-height: 1;
}

.ev-case__lead {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(22px, 2.6vw, 34px);
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: rgba(244, 245, 242, 0.86);
	max-width: 900px;
	margin: 0 0 30px;
	text-wrap: balance;
}

.ev-case__section {
	padding: 72px var(--ev-gutter) 0;
}

.ev-case__section--tight {
	padding-top: 54px;
}

.ev-case__kicker {
	margin-bottom: 26px;
}

.ev-case__kicker--dark {
	color: var(--ev-green-mid);
}

/* Kafle – „W skrócie” i „Efekty” */
.ev-case__tiles {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ev-case__tiles--results {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ev-case__tile {
	background: rgba(62, 220, 160, 0.06);
	border: 1px solid rgba(62, 220, 160, 0.24);
	border-radius: var(--ev-radius);
	padding: 32px 30px;
}

.ev-case__tilevalue {
	font-family: var(--ev-sans);
	font-weight: 700;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--ev-accent);
	margin: 0 0 12px;
}

.ev-case__tilelabel {
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(244, 245, 242, 0.6);
	margin: 0;
}

/* Metryczka */
.ev-case__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2px;
	margin: 0;
	background: rgba(255, 255, 255, 0.07);
	border-radius: var(--ev-radius);
	overflow: hidden;
}

.ev-case__fact {
	background: #0c1512;
	padding: 26px 28px;
}

.ev-case__fact dt {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 245, 242, 0.45);
	margin-bottom: 10px;
}

.ev-case__fact dd {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.45;
	font-weight: 500;
}

/* Cel i działania */
.ev-case__brief {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ev-case__card {
	background: #0c1512;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--ev-radius);
	padding: 36px 34px;
}

.ev-case__cardtitle {
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-accent);
	font-weight: 700;
	margin: 0 0 18px;
}

.ev-case__cardtext {
	font-size: 16px;
	line-height: 1.62;
	color: rgba(244, 245, 242, 0.72);
	margin: 0;
}

.ev-case__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15.5px;
	line-height: 1.5;
	color: rgba(244, 245, 242, 0.72);
}

.ev-case__list li {
	position: relative;
	padding-left: 22px;
}

.ev-case__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.58em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ev-accent);
}

/* Wyzwanie */
.ev-case__challenge {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.6vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	max-width: 1000px;
	margin: 0;
	text-wrap: balance;
}

/* Nagłówek „Realizacja” nad treścią */
.ev-case__prosehead {
	margin-bottom: -1.1em;
}

/* Materiały z kampanii */
.ev-case__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ev-case__shot {
	margin: 0;
	background: var(--ev-panel);
	border-radius: var(--ev-radius);
	overflow: hidden;
}

.ev-case__shot img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 600ms var(--ev-ease);
}

.ev-case__shot:hover img {
	transform: scale(1.04);
}

.ev-case__shot figcaption {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px 24px;
}

.ev-case__shotname {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-accent);
	font-weight: 700;
}

.ev-case__shotnote {
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(244, 245, 242, 0.6);
}

/* Wideo z kampanii – rolki pionowe */
.ev-case__videos {
	display: grid;
	/* Auto-fit: trzy rolki wypełniają rząd, cztery też – bez sierot w drugim wierszu. */
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.ev-case__video {
	margin: 0;
	background: var(--ev-panel);
	border-radius: var(--ev-radius);
	overflow: hidden;
}

.ev-case__frame {
	position: relative;
	aspect-ratio: 9 / 16;
	background: #000;
}

.ev-case__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ev-case__video figcaption {
	padding: 18px 22px 22px;
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(244, 245, 242, 0.6);
}

@media (max-width: 600px) {
	.ev-article__signature img {
		width: 88px;
		height: 88px;
	}

	.ev-case__videos {
		grid-template-columns: 1fr;
	}
	.ev-case__frame {
		max-width: 420px;
		margin: 0 auto;
	}
}

/* Efekty */
.ev-case__resultstitle {
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0 0 40px;
	max-width: 900px;
	text-wrap: balance;
}

/* Cytat klienta */
.ev-case__quote {
	margin: 0;
	border-top: 1px solid var(--ev-hairline-strong);
	padding-top: 44px;
}

.ev-case__quote blockquote {
	margin: 0 0 28px;
	font-family: var(--ev-serif);
	font-weight: 400;
	font-size: clamp(24px, 2.9vw, 38px);
	line-height: 1.2;
	letter-spacing: -0.015em;
	max-width: 1000px;
}

.ev-case__quote figcaption {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ev-case__quotename {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--ev-accent);
}

.ev-case__quoterole {
	font-size: 14px;
	color: rgba(244, 245, 242, 0.55);
}

@media (max-width: 1023px) {
	.ev-case__gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.ev-case__brief {
		grid-template-columns: 1fr;
	}
	.ev-case__section {
		padding-top: 54px;
	}
}

@media (max-width: 600px) {
	.ev-case__gallery {
		grid-template-columns: 1fr;
	}
	.ev-case__card {
		padding: 28px 24px;
	}
	.ev-case__tile {
		padding: 26px 24px;
	}
}

/* ==========================================================================
   15. Reveal przy scrollu
   ========================================================================== */

.ev-reveal-hidden {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms var(--ev-ease-reveal), transform 700ms var(--ev-ease-reveal);
}

.ev-reveal-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.ev-hero__mark,
	.ev-marquee__track {
		animation: none;
	}
	.ev-reveal-hidden {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.ev-featured__track {
		transition: none;
	}
}

/* ==========================================================================
   16. Responsywność
   ========================================================================== */

@media (max-width: 1200px) {
	:root {
		--ev-gutter: 32px;
	}
	.ev-nav {
		gap: 28px;
	}
	.ev-nav__links {
		gap: 24px;
	}
}

@media (max-width: 1080px) {
	.ev-hero__grid,
	.ev-authors__grid,
	.ev-aitool__grid,
	.ev-slide {
		grid-template-columns: 1fr !important;
	}
	.ev-slide {
		min-height: 0;
	}
	.ev-areas__grid,
	.ev-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 46px;
	}
	.ev-area {
		padding-left: 26px;
		padding-right: 26px;
	}
	.ev-area:first-child {
		padding-left: 26px;
	}
	.ev-author--divided {
		border-right: none;
		padding-right: 0;
	}
	.ev-featured__arrow {
		top: auto;
		bottom: 18px;
		transform: none;
	}
}

@media (max-width: 1023px) {
	.ev-cards {
		display: flex;
		flex-direction: column;
		width: 92vw;
		gap: 56px;
		grid-auto-rows: auto;
	}
	.ev-cards > * {
		flex-direction: column !important;
	}
	.ev-cards > * > .ev-card__thumb {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 16 / 9;
	}
	.ev-cards > * > .ev-card__body {
		width: 100% !important;
		padding: 28px 26px 32px;
	}
	.ev-listing__head,
	.ev-related__head {
		width: 92vw !important;
	}
	.ev-slide__body {
		padding: 44px 34px;
	}
	.ev-nav__links {
		gap: 18px;
		font-size: 11.5px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.ev-cards {
		gap: 32px;
	}
	.ev-cards > * {
		flex-direction: row !important;
	}
	.ev-cards > * > .ev-card__thumb {
		width: 44% !important;
		height: auto !important;
		aspect-ratio: auto;
		min-height: 260px;
	}
	.ev-cards > * > .ev-card__body {
		width: 56% !important;
		justify-content: center;
		padding: 32px 34px !important;
	}
}

@media (max-width: 860px) {
	.ev-nav {
		flex-wrap: wrap;
		padding-top: 14px;
		padding-bottom: 14px;
		gap: 16px;
	}
	.ev-nav__toggle {
		display: inline-block;
	}
	.ev-nav__links {
		display: none;
		width: 100%;
		margin-left: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 12px 0 20px;
	}
	.ev-nav__links.is-open {
		display: flex;
	}
	.ev-hero {
		padding-top: 64px;
	}
	.ev-hero__mark {
		position: static;
		width: 62%;
		display: block;
		margin: 0 0 18px auto;
	}
	.ev-hero__grid {
		gap: 34px;
	}
	.ev-authors,
	.ev-featured {
		padding-top: 72px;
	}
	.ev-authors {
		padding-bottom: 72px;
	}
	.ev-aitool__inner {
		padding: 42px 28px;
	}
	.ev-article__body {
		padding: 56px 26px 72px;
	}
	.ev-prose {
		font-size: 17px;
	}
}

@media (max-width: 680px) {
	:root {
		--ev-gutter: 22px;
	}
	.ev-areas__grid,
	.ev-footer__grid {
		grid-template-columns: 1fr;
	}
	.ev-author {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	/* Na telefonie zdjęcie bierze pełną szerokość kolumny. Ograniczenie do
	   240 px zostawiało pustkę po prawej, a wyśrodkowanie go rozjeżdżało się
	   z opisem, który jak cała strona trzyma się lewej krawędzi. */
	.ev-author__photo {
		max-width: none;
	}
	.ev-slide__body {
		padding: 36px 26px;
	}
	.ev-contact__inner {
		gap: 26px;
	}
	.ev-footer__copy {
		margin: 0;
	}
}

/* ==========================================================================
   Tutoriale
   ========================================================================== */

.ev-tutoriale {
	padding: 80px 0 0;
}

.ev-tutoriale__head {
	margin-bottom: 32px;
}

.ev-tutoriale__headinner {
	display: flex;
	align-items: baseline;
	gap: 20px;
	flex-wrap: wrap;
}

.ev-tutoriale__sub {
	font-size: 0.95rem;
	color: var(--ev-text-muted, rgba(240,240,240,.5));
	margin: 0;
}

/* Siatka kart tutoriali */
.ev-tcards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 0 var(--ev-shell-pad, 24px);
	max-width: var(--ev-shell-max, 1280px);
	margin: 0 auto;
	box-sizing: border-box;
}

/* Karta tutorialu */
.ev-tcard {
	display: flex;
	flex-direction: column;
	background: #0d0d0d;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 19px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ev-tcard:hover {
	border-color: rgba(0,225,170,.3);
	box-shadow: 0 0 0 1px rgba(0,225,170,.06), 0 8px 32px rgba(0,0,0,.5);
	transform: translateY(-2px);
}

.ev-tcard__thumb {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: #141414;
}

.ev-tcard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.ev-tcard:hover .ev-tcard__thumb img {
	transform: scale(1.03);
}

.ev-tcard__tools {
	position: absolute;
	bottom: 10px;
	left: 12px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.ev-tcard__tool {
	background: rgba(0,0,0,.65);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 6px;
	padding: 3px 9px;
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(240,240,240,.8);
	letter-spacing: .3px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ev-tcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.ev-tcard__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.2px;
	margin: 0 0 8px;
	color: #f0f0f0;
}

.ev-tcard__lead {
	font-size: .85rem;
	color: rgba(240,240,240,.5);
	line-height: 1.6;
	flex: 1;
	margin: 0 0 16px;
}

.ev-tcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.07);
	gap: 12px;
}

.ev-tcard__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ev-tcard__metaitem {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: .78rem;
	color: rgba(240,240,240,.45);
	font-weight: 500;
}

.ev-tcard__metaitem svg {
	opacity: .5;
	flex-shrink: 0;
}

.ev-tcard__metaitem--poziom {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 5px;
	padding: 2px 8px;
}

.ev-tcard__metaitem--sredni {
	color: #00e1aa;
	border-color: rgba(0,225,170,.2);
	background: rgba(0,225,170,.08);
}

.ev-tcard__metaitem--zaawansowany {
	color: #f472b6;
	border-color: rgba(244,114,182,.2);
	background: rgba(244,114,182,.08);
}

.ev-tcard__cta {
	font-size: .82rem;
	font-weight: 600;
	color: #00e1aa;
	white-space: nowrap;
	transition: letter-spacing .15s;
}

.ev-tcard:hover .ev-tcard__cta {
	letter-spacing: .3px;
}

/* Responsywność */
@media (max-width: 1023px) {
	.ev-tcards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 599px) {
	.ev-tcards {
		grid-template-columns: 1fr;
	}
	.ev-tutoriale {
		padding-top: 56px;
	}
}

/* Siatka tutoriali wstawiona skrótkodem w treść strony – wychodzi poza wąską
   kolumnę tekstu, żeby karty miały tę samą szerokość co na stronie głównej. */
.ev-prose .ev-tcards--strona {
	width: min(calc(100vw - 32px), var(--ev-shell-max, 1280px));
	margin-left: 50%;
	margin-top: 40px;
	transform: translateX(-50%);
}

/* Kafelek to link, a reguły prozy podkreślają i przebarwiają linki w treści. */
.ev-prose .ev-tcards--strona .ev-tcard,
.ev-prose .ev-tcards--strona .ev-tcard:hover {
	text-decoration: none;
	color: inherit;
}
