/*
 * atvesmir — "Naši vedoucí" (leaders) page (block 07)
 * 1:1 with the prototype's leaders screen: a mono eyebrow + serif H1 + lead
 * intro band, a responsive grid of square photo cards (name / mono accent role /
 * optional mailto, zoom-on-hover photo, lift-on-hover card), and a "Vedoucí
 * z minulých let" panel listing former leaders in a multi-column flow.
 * Colours/metrics come from the design tokens (tokens.css) so the page follows
 * light/dark. The card lift (.at-card) and photo zoom (.at-imgzoom) reuse the
 * shared token effects. Measured against tests/design (leaders screen).
 *
 * The <main> itself is the centered 1180px container (mirrors the prototype's
 * <main> exactly); refur does not impose width/padding on .site-main.
 */

.at-leaders {
	max-width: var(--at-content);
	margin-inline: auto;
	/* Bottom is 0 to match the prototype main exactly; the footer carries its
	 * own margin-top (110px) for the gap below the former-leaders panel. */
	padding: clamp(34px, 5vw, 56px) var(--at-gutter) 0;
}

/* ---------------------------------------------------------------- *
 * 1. Intro band — eyebrow / display title / lead
 * ---------------------------------------------------------------- */
.at-leaders__eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.65;
	color: var(--ink3);
	margin: 0 0 10px;
	padding: 0;
}
.at-leaders__title {
	font-family: var(--font-serif);
	font-size: clamp(2.1rem, 4.6vw, 3.2rem);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.65;
	color: var(--ink);
	margin: 0;
	padding: 0;
}
.at-leaders__lead {
	font-family: var(--font-serif);
	font-size: 1.2rem;
	line-height: 1.65;
	color: var(--ink2);
	max-width: 54ch;
	margin: 18px 0 0;
	padding: 0;
}

/* ---------------------------------------------------------------- *
 * 2. Current-team grid — square photo cards
 * ---------------------------------------------------------------- */
.at-leaders__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
	gap: clamp(14px, 1.8vw, 22px);
	margin: 38px 0 0;
}
.at-leader {
	background: var(--bg2);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}
.at-leader__photo {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--bg3);
}
.at-leader__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.at-leader__body {
	padding: 16px 18px 18px;
}
.at-leader__name {
	font-family: var(--font-serif);
	font-size: 1.18rem;
	color: var(--ink);
	line-height: 1.2;
}
.at-leader__role {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	margin-top: 7px;
	line-height: 1.4;
	letter-spacing: .02em;
}
/* mailto — pinned across every interactive state so the legacy refur
 * a:visited/a:focus/a:active/a:hover recolours can't leak in; the prototype
 * keeps the address ink3 in all states (keyboard :focus-visible outline stays). */
.at-leader__mail,
.at-leader__mail:visited,
.at-leader__mail:focus,
.at-leader__mail:active,
.at-leader__mail:hover {
	display: inline-block;
	margin-top: 9px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink3);
	text-decoration: none;
}

/* ---------------------------------------------------------------- *
 * 3. Former-leaders panel — multi-column flow
 * ---------------------------------------------------------------- */
.at-leaders__former {
	margin: clamp(44px, 6vw, 72px) 0 0;
	padding: clamp(28px, 3vw, 40px);
	background: var(--bg2);
	border: 1px solid var(--line);
	border-radius: 18px;
}
.at-leaders__former-title {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: -.01em;
	/* Inherit the prototype's 1.65 (the proto has no heading reset); the token
	 * h1–h6 rule's 1.1 would shorten this single-line title by ~13px. */
	line-height: 1.65;
	color: var(--ink);
	margin: 0 0 6px;
	padding: 0;
}
.at-leaders__former-lead {
	font-family: var(--font-serif);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink2);
	margin: 0 0 22px;
	padding: 0;
}
.at-leaders__former-list {
	columns: 260px;
	column-gap: 36px;
	font-size: .98rem;
	line-height: 1.6;
}
.at-leaders__former-item {
	break-inside: avoid;
	padding: 0 0 10px;
	color: var(--ink2);
}
.at-leaders__former-name {
	color: var(--ink);
}
.at-leaders__former-years {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink3);
}
