/* =========================================================================
   PROMO-M — interactive projects
   ========================================================================= */

/* ----------------------------- Hub ------------------------------------ */

.pm-projects-hero {
	position: relative;
	padding: clamp(52px, 6vw, 92px) 0 clamp(44px, 5vw, 64px);
	background:
		radial-gradient(circle at 90% 6%, rgba(255, 107, 61, 0.12), transparent 28%),
		radial-gradient(circle at 4% 18%, rgba(39, 60, 117, 0.09), transparent 30%),
		linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
	overflow: hidden;
}

.pm-projects-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: 40px;
	align-items: end;
}

.pm-projects-hero h1 {
	max-width: 850px;
	margin: 0 0 18px;
	font-size: clamp(40px, 4.8vw, 68px);
	line-height: 0.98;
}

.pm-projects-hero__lead {
	max-width: 680px;
	margin: 0;
	color: var(--pm-muted);
	font-size: 17.5px;
	line-height: 1.65;
}

.pm-projects-hero__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	border-radius: 22px;
	background: var(--pm-line);
	overflow: hidden;
}

.pm-projects-hero__stat {
	padding: 20px 18px;
	background: rgba(255, 255, 255, 0.84);
}

.pm-projects-hero__stat strong {
	display: block;
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 34px;
	line-height: 1;
	font-weight: 700;
}

.pm-projects-hero__stat span {
	display: block;
	margin-top: 6px;
	color: var(--pm-muted);
	font-size: 11.5px;
	line-height: 1.35;
	font-weight: 600;
}

.pm-project-worlds {
	display: grid;
	gap: 20px;
}

.pm-project-world {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 0;
	border-radius: 32px;
	background: #fff;
	box-shadow: var(--pm-shadow-md);
	overflow: hidden;
	transition: transform 0.28s var(--pm-ease), box-shadow 0.28s var(--pm-ease);
}

.pm-project-world:hover {
	transform: translateY(-4px);
	box-shadow: var(--pm-shadow-lg);
}

.pm-project-world--reverse {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.pm-project-world--reverse .pm-project-world__visual {
	order: 2;
}

.pm-project-world__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 380px;
	padding: 28px;
	background:
		radial-gradient(circle at 30% 20%, rgba(234, 243, 255, 0.95), transparent 55%),
		linear-gradient(150deg, #eef6ff 0%, #f8fbff 100%);
	overflow: hidden;
}

.pm-project-world--memory .pm-project-world__visual {
	background:
		radial-gradient(circle at 50% 40%, rgba(255, 107, 61, 0.22), transparent 55%),
		linear-gradient(150deg, #1b2948 0%, #273c75 100%);
	color: #fff;
}

.pm-project-world--speech .pm-project-world__visual {
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 107, 61, 0.18), transparent 45%),
		linear-gradient(150deg, #17233f 0%, #2c3f74 100%);
	color: #fff;
}

.pm-project-world__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3.4vw, 48px);
}

.pm-project-world__index {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 16px;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--pm-blue-soft);
	color: var(--pm-blue);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pm-project-world h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 40px);
}

.pm-project-world__lead {
	max-width: 560px;
	margin: 0 0 20px;
	color: var(--pm-muted);
	font-size: 15px;
	line-height: 1.62;
}

.pm-project-world__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.pm-project-world__facts span {
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--pm-cream);
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 700;
}

.pm-project-world__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--pm-navy);
	color: #fff;
	font-size: 13.5px;
	font-weight: 800;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.pm-project-world__link:hover {
	background: var(--pm-orange);
	color: #fff;
	transform: translateY(-2px);
}

.pm-project-world__link .pm-icon {
	transition: transform 0.2s ease;
}

.pm-project-world__link:hover .pm-icon {
	transform: translateX(3px);
}

/* Hub visual decorations */
.pm-world-globe {
	position: relative;
	width: 300px;
	height: 300px;
	color: var(--pm-blue);
}

.pm-world-globe svg {
	width: 100%;
	height: 100%;
}

.pm-world-globe__pin {
	position: absolute;
	width: 13px;
	height: 13px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--pm-orange);
	box-shadow: 0 8px 16px rgba(255, 107, 61, 0.4);
}

.pm-world-globe__pin--1 { top: 26%; left: 30%; }
.pm-world-globe__pin--2 { top: 22%; left: 64%; }
.pm-world-globe__pin--3 { top: 56%; left: 72%; }
.pm-world-globe__pin--4 { top: 66%; left: 36%; }

.pm-world-star {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.03), 0 0 0 70px rgba(255, 255, 255, 0.016);
}

.pm-world-star .pm-icon {
	fill: rgba(255, 107, 61, 0.9);
	stroke: #ffc4ae;
	filter: drop-shadow(0 0 26px rgba(255, 107, 61, 0.55));
}

.pm-world-star__year {
	position: absolute;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--pm-font-display);
	font-size: 15px;
	font-style: italic;
}

.pm-world-star__year--left { top: 20px; left: 6px; }
.pm-world-star__year--right { right: 2px; bottom: 20px; }

.pm-world-mic {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffb79e;
	box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.03);
}

.pm-world-mic__lang {
	position: absolute;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--pm-font-display);
	font-size: 18px;
	font-style: italic;
}

.pm-world-mic__lang--ru { top: 26px; left: 30px; }
.pm-world-mic__lang--en { right: 30px; bottom: 26px; }

.pm-world-wave {
	position: absolute;
	left: 50%;
	bottom: 30px;
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 64px;
	transform: translateX(-50%);
}

.pm-world-wave span {
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, #ffb79e, #ff6b3d);
	animation: pm-wave 1.8s ease-in-out infinite;
}

/* ---------------------------- Map page -------------------------------- */

.pm-map-page {
	background: var(--pm-paper);
}

.pm-map-hero {
	position: relative;
	padding: clamp(46px, 5.2vw, 76px) 0 clamp(36px, 4vw, 52px);
	background: linear-gradient(180deg, #fffdf8 0%, #f5f1e9 100%);
}

.pm-map-hero--dark {
	background:
		radial-gradient(circle at 90% 4%, rgba(255, 107, 61, 0.16), transparent 30%),
		linear-gradient(135deg, #17233f 0%, #273c75 100%);
	color: #fff;
}

.pm-map-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: 40px;
	align-items: end;
}

.pm-map-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(38px, 4.6vw, 64px);
	line-height: 1;
}

.pm-map-hero--dark h1 {
	color: #fff;
}

.pm-map-hero__lead {
	max-width: 680px;
	margin: 0;
	color: var(--pm-muted);
	font-size: 17px;
	line-height: 1.65;
}

.pm-map-hero--dark .pm-map-hero__lead {
	color: rgba(255, 255, 255, 0.72);
}

.pm-map-hero__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	border-radius: 20px;
	background: rgba(23, 35, 63, 0.12);
	overflow: hidden;
}

.pm-map-hero--dark .pm-map-hero__stats {
	background: rgba(255, 255, 255, 0.14);
}

.pm-map-hero__stat {
	padding: 18px;
	background: rgba(255, 255, 255, 0.8);
}

.pm-map-hero--dark .pm-map-hero__stat {
	background: rgba(255, 255, 255, 0.06);
}

.pm-map-hero__stat strong {
	display: block;
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
}

.pm-map-hero--dark .pm-map-hero__stat strong {
	color: #fff;
}

.pm-map-hero__stat span {
	display: block;
	margin-top: 5px;
	color: var(--pm-muted);
	font-size: 11px;
	line-height: 1.3;
}

.pm-map-hero--dark .pm-map-hero__stat span {
	color: rgba(255, 255, 255, 0.6);
}

.pm-map-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
	gap: 18px;
	align-items: start;
}

.pm-map-wrap {
	position: relative;
	height: 580px;
	min-height: 580px;
	border-radius: 28px;
	overflow: hidden;
	background: #eaf3ff;
	box-shadow: var(--pm-shadow-md);
}

.pm-map {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pm-map-column {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.pm-map--static {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #dce9f4;
}

.pm-map--static .pm-map__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
}

.pm-map__labels {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.pm-map-label {
	position: absolute;
	transform: translate(-50%, -50%);
	color: rgba(23, 35, 63, 0.5);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 1px 0 rgba(255, 253, 248, 0.7);
}

.pm-map-label--major {
	color: rgba(23, 35, 63, 0.66);
	font-size: 11px;
	letter-spacing: 0.06em;
}

@media (max-width: 720px) {
	.pm-map-label {
		font-size: 7px;
	}
	.pm-map-label--major {
		font-size: 8px;
	}
	.pm-map-label--minor {
		display: none;
	}
}

.pm-map--static .pm-map__markers {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.pm-map--static .pm-map-pin {
	position: absolute;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translate(-50%, -50%);
	cursor: pointer;
	z-index: 3;
}

.pm-map--static .pm-map-pin--label-left .pm-map-pin__label {
	left: auto;
	right: 26px;
}

.pm-map-pin.is-hidden {
	display: none;
}

.pm-map-pin--cluster .pm-map-pin__inner {
	background: var(--pm-navy);
}

.pm-map-pin--cluster .pm-map-pin__label {
	opacity: 1;
	background: var(--pm-navy);
}

.pm-map-cluster-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 4px 0 8px;
}

.pm-map-cluster-list button {
	padding: 10px 12px;
	border: 1px solid var(--pm-line);
	border-radius: 12px;
	background: var(--pm-cream);
	color: var(--pm-navy);
	font-size: 12px;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pm-map-cluster-list button:hover {
	background: var(--pm-navy);
	border-color: var(--pm-navy);
	color: #fff;
}

.pm-map-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pm-map-chips button {
	padding: 7px 11px;
	border: 1px solid rgba(23, 35, 63, 0.14);
	border-radius: 999px;
	background: #fff;
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pm-map-chips button:hover,
.pm-map-chips button.is-active {
	background: var(--pm-navy);
	border-color: var(--pm-navy);
	color: #fff;
}

.pm-map__badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	z-index: 500;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.94);
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 700;
	box-shadow: var(--pm-shadow-sm);
	backdrop-filter: blur(6px);
}

.pm-map__credit {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 500;
	color: rgba(23, 35, 63, 0.42);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	pointer-events: none;
}

.pm-map__legend {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 500;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 90px);
}

.pm-map__legend button {
	padding: 8px 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.92);
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(23, 35, 63, 0.08);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pm-map__legend button.is-active,
.pm-map__legend button:hover {
	background: var(--pm-navy);
	color: #fff;
}

.pm-map-panel {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-map-panel__eyebrow {
	margin-bottom: 10px;
	color: #a95338;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pm-map-panel h2 {
	margin: 0 0 10px;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.1;
}

.pm-map-panel__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.pm-map-panel__meta span {
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--pm-cream);
	color: var(--pm-muted);
	font-size: 10px;
	font-weight: 700;
}

.pm-map-panel__text {
	margin: 0 0 18px;
	color: var(--pm-muted);
	font-size: 14px;
	line-height: 1.62;
}

.pm-map-panel__quote {
	margin-top: auto;
	padding: 16px 18px;
	border-left: 3px solid var(--pm-orange);
	border-radius: 0 14px 14px 0;
	background: var(--pm-cream);
}

.pm-map-panel__quote p {
	margin: 0 0 8px;
	color: var(--pm-blue);
	font-size: 13.5px;
	line-height: 1.55;
	font-style: italic;
}

.pm-map-panel__quote span {
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 700;
}

.pm-map-panel__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	min-height: 340px;
}

.pm-map-panel__empty .pm-icon {
	margin-bottom: 14px;
	color: var(--pm-orange);
}

.pm-map-panel__empty h2 {
	font-size: 28px;
}

.pm-map-panel__empty p {
	color: var(--pm-muted);
	font-size: 14px;
	line-height: 1.6;
}

.pm-map-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--pm-navy);
	font-size: 13px;
	font-weight: 800;
}

.pm-map-pin {
	background: transparent;
	border: 0;
}

.pm-map-pin__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--pm-orange);
	box-shadow: 0 6px 16px rgba(255, 107, 61, 0.45);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.pm-map-pin__inner::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 1px solid rgba(255, 107, 61, 0.45);
	animation: pm-pin-pulse 2.4s ease-out infinite;
}

.pm-map-pin__label {
	position: absolute;
	left: 26px;
	top: 50%;
	padding: 5px 9px;
	border-radius: 8px;
	background: rgba(23, 35, 63, 0.92);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.pm-map-pin:hover .pm-map-pin__label,
.pm-map-pin.is-active .pm-map-pin__label {
	opacity: 1;
}

.pm-map-pin.is-active .pm-map-pin__inner {
	transform: scale(1.25);
	background: var(--pm-navy);
}

@keyframes pm-pin-pulse {
	0% { transform: scale(0.8); opacity: 0.8; }
	80%, 100% { transform: scale(1.8); opacity: 0; }
}

/* WWII specific */
.pm-map--memory {
	background: #e8dfcf;
}

.pm-map--memory .pm-map-pin__inner {
	background: #b7432a;
}

.pm-memory-timeline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.pm-memory-timeline button {
	padding: 9px 14px;
	border: 1px solid rgba(23, 35, 63, 0.14);
	border-radius: 999px;
	background: #fff;
	color: var(--pm-navy);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pm-memory-timeline button.is-active,
.pm-memory-timeline button:hover {
	background: var(--pm-navy);
	border-color: var(--pm-navy);
	color: #fff;
}

.pm-memory-panel__battle {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--pm-line);
}

.pm-memory-panel__battle span {
	display: block;
	color: #a95338;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pm-memory-panel__battle strong {
	display: block;
	margin-top: 4px;
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 22px;
	line-height: 1.15;
}

.pm-veteran-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
}

.pm-veteran-card {
	display: flex;
	flex-direction: column;
	min-height: 200px;
	padding: 22px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(23, 35, 63, 0.07), 0 14px 36px rgba(23, 35, 63, 0.05);
	transition: transform 0.22s var(--pm-ease), box-shadow 0.22s var(--pm-ease);
}

.pm-veteran-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pm-shadow-md);
}

.pm-veteran-card__tag {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 12px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--pm-orange-soft);
	color: #a95338;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pm-veteran-card h3 {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.2;
}

.pm-veteran-card p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.pm-veteran-card__link {
	margin-top: auto;
	padding-top: 14px;
	color: var(--pm-navy);
	font-size: 12px;
	font-weight: 800;
}

/* --------------------------- Bilingual arena -------------------------- */

.pm-arena-hero {
	position: relative;
	padding: clamp(52px, 6vw, 90px) 0 clamp(40px, 5vw, 64px);
	background:
		radial-gradient(circle at 85% 10%, rgba(255, 107, 61, 0.22), transparent 30%),
		radial-gradient(circle at 10% 80%, rgba(39, 60, 117, 0.3), transparent 38%),
		linear-gradient(140deg, #101a30 0%, #17233f 55%, #273c75 100%);
	color: #fff;
	overflow: hidden;
}

.pm-arena-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	gap: 44px;
	align-items: center;
}

.pm-arena-hero h1 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(44px, 5.6vw, 84px);
	line-height: 0.94;
	letter-spacing: -0.04em;
}

.pm-arena-hero h1 em {
	color: var(--pm-orange);
	font-style: italic;
}

.pm-arena-hero__lead {
	max-width: 620px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
	line-height: 1.65;
}

.pm-arena-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pm-arena-hero__facts strong {
	display: block;
	color: #fff;
	font-family: var(--pm-font-display);
	font-size: 28px;
	line-height: 1;
	font-weight: 700;
}

.pm-arena-hero__facts span {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 10.5px;
}

.pm-arena-hero__visual {
	position: relative;
	min-height: 340px;
}

.pm-arena-orb {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 270px;
	height: 270px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 60%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025), 0 0 0 70px rgba(255, 255, 255, 0.012);
}

.pm-arena-orb .pm-icon {
	width: 70px;
	height: 70px;
	color: #ffb79e;
}

.pm-arena-orb__ru,
.pm-arena-orb__en {
	position: absolute;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--pm-font-display);
	font-size: 22px;
	font-style: italic;
}

.pm-arena-orb__ru { top: 14px; left: 4px; }
.pm-arena-orb__en { right: 2px; bottom: 14px; }

.pm-arena-stage {
	padding: clamp(54px, 6vw, 86px) 0;
	background: var(--pm-cream);
}

.pm-arena-stage__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 24px;
	align-items: stretch;
}

.pm-arena-info {
	padding: 32px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-arena-info h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 40px);
}

.pm-arena-info > p {
	color: var(--pm-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

.pm-arena-rounds {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.pm-arena-round {
	display: flex;
	gap: 14px;
	padding: 16px;
	border-radius: 16px;
	background: var(--pm-cream);
}

.pm-arena-round__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--pm-navy);
	color: #fff;
	font-family: var(--pm-font-display);
	font-size: 16px;
	font-weight: 700;
	flex: none;
}

.pm-arena-round h3 {
	margin: 0 0 4px;
	font-family: var(--pm-font-body);
	font-size: 15px;
	font-weight: 800;
}

.pm-arena-round p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

.pm-trainer {
	display: flex;
	flex-direction: column;
	align-self: start;
	padding: 24px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 90% 0%, rgba(255, 107, 61, 0.24), transparent 34%),
		linear-gradient(145deg, #17233f 0%, #273c75 100%);
	color: #fff;
	box-shadow: var(--pm-shadow-md);
}

.pm-trainer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.pm-trainer__head h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(26px, 2.6vw, 34px);
}

.pm-trainer__head p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.pm-trainer__langs {
	display: flex;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	flex: none;
}

.pm-trainer__lang {
	padding: 8px 13px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

.pm-trainer__lang.is-active {
	background: #fff;
	color: var(--pm-navy);
}

.pm-trainer__topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 14px;
}

.pm-trainer__topic {
	padding: 9px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.78);
	font-size: 11.5px;
	line-height: 1.28;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pm-trainer__topic:hover {
	border-color: rgba(255, 255, 255, 0.3);
}

.pm-trainer__topic.is-active {
	background: rgba(255, 107, 61, 0.16);
	border-color: var(--pm-orange);
	color: #fff;
}

.pm-trainer__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	margin-bottom: 12px;
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.14);
	overflow: hidden;
}

.pm-trainer__timer {
	color: #fff;
	font-family: var(--pm-font-display);
	font-size: 56px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}

.pm-trainer__timer.is-running {
	color: #ffb79e;
}

.pm-trainer__hint {
	position: absolute;
	left: 18px;
	bottom: 14px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 10px;
}

.pm-trainer__args {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 12px;
}

.pm-trainer__arg {
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.74);
	font-size: 11px;
	line-height: 1.3;
}

.pm-trainer__arg strong {
	display: block;
	margin-bottom: 2px;
	color: #ffb79e;
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pm-trainer__arg.is-active {
	background: rgba(255, 107, 61, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 107, 61, 0.65);
	color: #fff;
}

.pm-trainer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.pm-trainer__actions .pm-btn {
	flex: 1;
	min-height: 44px;
	font-size: 13px;
}

.pm-trainer__reset {
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
}

.pm-trainer__reset:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* --------------------------- Newspaper -------------------------------- */

.pm-paper-page {
	background: var(--pm-paper);
}

.pm-paper-hero {
	position: relative;
	padding: clamp(52px, 6vw, 86px) 0 clamp(38px, 4.5vw, 58px);
	background:
		radial-gradient(circle at 90% 6%, rgba(255, 107, 61, 0.14), transparent 30%),
		linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.pm-paper-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
	gap: 40px;
	align-items: end;
}

.pm-paper-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(46px, 6vw, 84px);
	line-height: 0.92;
}

.pm-paper-hero__lead {
	max-width: 640px;
	margin: 0;
	color: var(--pm-muted);
	font-size: 17px;
	line-height: 1.65;
}

.pm-paper-hero__count {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 20px 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-paper-hero__count strong {
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 54px;
	line-height: 0.9;
	font-weight: 700;
}

.pm-paper-hero__count span {
	color: var(--pm-muted);
	font-size: 12px;
	line-height: 1.35;
}

.pm-issues-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.pm-issue {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(23, 35, 63, 0.07), 0 16px 42px rgba(23, 35, 63, 0.06);
	overflow: hidden;
	transition: transform 0.24s var(--pm-ease), box-shadow 0.24s var(--pm-ease);
}

.pm-issue:hover {
	transform: translateY(-4px);
	box-shadow: var(--pm-shadow-md);
}

.pm-issue__cover {
	position: relative;
	aspect-ratio: 3 / 4;
	background: linear-gradient(160deg, #fffdf7 0%, #f3ead8 100%);
	overflow: hidden;
}

.pm-issue__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pm-issue__cover-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
}

.pm-issue__cover-fallback strong {
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 25px;
	line-height: 0.92;
	font-weight: 700;
}

.pm-issue__cover-fallback .pm-issue__number {
	display: block;
	margin: auto 0;
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	font-size: 64px;
	line-height: 0.85;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.pm-issue__cover::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--issue-accent, var(--pm-orange));
}

.pm-issue--featured {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 30px;
	align-items: center;
	margin-bottom: 32px;
	padding: 24px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--pm-shadow-md);
}

.pm-issue--featured .pm-issue__cover {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--pm-shadow-sm);
}

.pm-issue--featured h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 40px);
}

.pm-issue--featured p {
	max-width: 560px;
	margin: 0 0 18px;
	color: var(--pm-muted);
	font-size: 15px;
	line-height: 1.6;
}

.pm-issue--featured .pm-issue__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.pm-issue--featured .pm-issue__meta span {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--pm-cream);
	color: var(--pm-muted);
	font-size: 10px;
	font-weight: 700;
}

@media (max-width: 720px) {
	.pm-issue--featured {
		grid-template-columns: 1fr;
		padding: 18px;
	}
	.pm-issue--featured .pm-issue__cover {
		max-width: 240px;
	}
}

.pm-issue__cover-fallback span {
	color: var(--pm-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pm-issue__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 16px 18px;
}

.pm-issue__body strong {
	color: var(--pm-navy);
	font-size: 14px;
	font-weight: 800;
}

.pm-issue__body span {
	margin-top: 3px;
	color: var(--pm-muted-light);
	font-size: 11px;
}

.pm-issue__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: var(--pm-orange-dark);
	font-size: 11.5px;
	font-weight: 800;
}

/* ---------------------------- Responsive ------------------------------ */

@media (max-width: 1100px) {
	.pm-project-world,
	.pm-project-world--reverse {
		grid-template-columns: 1fr;
	}
	.pm-project-world--reverse .pm-project-world__visual {
		order: 0;
	}
	.pm-project-world__visual {
		min-height: 300px;
	}
	.pm-map-layout {
		grid-template-columns: 1fr;
	}
	.pm-map-wrap {
		height: 460px;
		min-height: 460px;
	}
	.pm-arena-hero__grid,
	.pm-arena-stage__grid {
		grid-template-columns: 1fr;
	}
	.pm-arena-hero__visual {
		min-height: 300px;
	}
	.pm-issues-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.pm-veteran-strip {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.pm-projects-hero__grid,
	.pm-map-hero__grid,
	.pm-paper-hero__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.pm-projects-hero__stats,
	.pm-map-hero__stats {
		max-width: 520px;
	}
	.pm-issues-grid {
		grid-template-columns: 1fr 1fr;
	}
	.pm-veteran-strip {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.pm-map-wrap {
		height: 380px;
		min-height: 380px;
	}
	.pm-map-panel {
		padding: 22px;
	}
	.pm-map__legend {
		position: static;
		padding: 12px 12px 0;
		max-width: none;
	}
	.pm-map-layout {
		gap: 12px;
	}
	.pm-map-wrap {
		border-radius: 22px;
	}
	.pm-trainer {
		padding: 22px;
	}
	.pm-trainer__head {
		flex-direction: column;
	}
	.pm-trainer__timer {
		font-size: 58px;
	}
	.pm-trainer__args {
		grid-template-columns: 1fr;
	}
	.pm-issues-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	.pm-project-world__visual {
		min-height: 240px;
	}
	.pm-world-globe {
		width: 220px;
		height: 220px;
	}
}

/* -------------------------------------------------------------------------
 * Country Study: enriched year panels, chronicle, gallery, video
 * ---------------------------------------------------------------------- */

.pm-map-panel__years {
	display: grid;
	gap: 14px;
	margin-top: 4px;
}

.pm-map-year {
	padding-top: 14px;
	border-top: 1px solid var(--pm-line);
}

.pm-map-year:first-child {
	padding-top: 0;
	border-top: 0;
}

.pm-map-year__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.pm-map-year__badge {
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--pm-orange);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.pm-map-year__head strong {
	color: var(--pm-navy);
	font-size: 14px;
	line-height: 1.3;
}

.pm-map-year__class {
	margin-left: auto;
	color: var(--pm-muted);
	font-size: 10px;
	font-weight: 700;
}

.pm-map-year__body {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.pm-map-year__body img {
	width: 100%;
	height: 78px;
	border-radius: 10px;
	object-fit: cover;
}

.pm-map-year__body p {
	margin: 0 0 7px;
	color: var(--pm-muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.pm-map-year__body a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 800;
}

.pm-chronicle-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.pm-chronicle-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(23, 35, 63, 0.07), 0 14px 34px rgba(23, 35, 63, 0.06);
}

.pm-chronicle-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #e9e2d6;
}

.pm-chronicle-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pm-chronicle-card__year {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(23, 35, 63, 0.9);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.pm-chronicle-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	padding: 14px;
}

.pm-chronicle-card__body h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.25;
}

.pm-chronicle-card__body p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 12px;
	line-height: 1.45;
}

.pm-chronicle-card__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	padding-top: 8px;
}

.pm-chronicle-card__links a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 800;
}

.pm-cs-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.pm-cs-gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #e9e2d6;
}

.pm-cs-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--pm-ease);
}

.pm-cs-gallery__item:hover img {
	transform: scale(1.04);
}

.pm-cs-gallery__item figcaption {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.92);
	color: var(--pm-navy);
	font-size: 9.5px;
	font-weight: 800;
}

.pm-cs-video {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 28px;
	align-items: center;
	padding: 28px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-cs-video__copy h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.08;
}

.pm-cs-video__copy p {
	margin: 0 0 16px;
	color: var(--pm-muted);
	font-size: 14px;
	line-height: 1.6;
}

.pm-video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 18px;
	background: #000;
}

.pm-video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.pm-video-poster {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 18px;
	background: #17233f;
}

.pm-video-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.72;
	transition: transform 0.45s var(--pm-ease), opacity 0.3s ease;
}

.pm-video-poster:hover img {
	opacity: 0.86;
	transform: scale(1.02);
}

.pm-video-poster__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.pm-video-poster__play .pm-icon {
	width: 78px;
	height: 78px;
	padding: 20px;
	border-radius: 50%;
	background: rgba(255, 107, 61, 0.94);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.pm-video-poster__label {
	position: absolute;
	left: 16px;
	bottom: 14px;
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(23, 35, 63, 0.84);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

@media (max-width: 1200px) {
	.pm-chronicle-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.pm-cs-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.pm-cs-video {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.pm-chronicle-grid {
		grid-template-columns: 1fr;
	}
	.pm-cs-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.pm-map-year__body {
		grid-template-columns: 1fr;
	}
	.pm-map-year__body img {
		height: 140px;
	}
	.pm-cs-video {
		padding: 20px;
	}
}

/* -------------------------------------------------------------------------
 * Immortal Regiment: timeline, grouped panel, full archive
 * ---------------------------------------------------------------------- */

.pm-memory-timeline {
	position: relative;
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	padding: 6px 0 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--pm-line);
}

.pm-memory-timeline::before {
	content: "";
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 27px;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 107, 61, 0.15), rgba(255, 107, 61, 0.5), rgba(255, 107, 61, 0.15));
}

.pm-memory-timeline button {
	position: relative;
	flex: 1;
	padding: 4px 6px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--pm-muted);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.pm-memory-timeline button::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 auto 8px;
	border: 2px solid rgba(255, 107, 61, 0.55);
	border-radius: 50%;
	background: #fff;
	position: relative;
	z-index: 1;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.pm-memory-timeline button span {
	display: block;
	margin-top: 2px;
	color: var(--pm-muted);
	font-size: 9px;
	font-weight: 700;
}

.pm-memory-timeline button.is-active,
.pm-memory-timeline button:hover {
	background: transparent;
	border-color: transparent;
	color: var(--pm-navy);
}

.pm-memory-timeline button.is-active::before {
	background: var(--pm-orange);
	box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.16);
}

.pm-memory-stories {
	display: grid;
	gap: 10px;
	margin-top: 14px;
	padding-right: 4px;
}

@media (min-width: 1101px) {
	.pm-map-panel {
		max-height: 580px;
		overflow-y: auto;
	}
}

.pm-memory-story {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 10px;
	padding: 10px;
	border-radius: 13px;
	background: var(--pm-cream);
}

.pm-memory-story img {
	width: 58px;
	height: 58px;
	border-radius: 9px;
	object-fit: cover;
}

.pm-memory-story__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}

.pm-memory-story__meta span {
	padding: 3px 7px;
	border-radius: 999px;
	background: var(--pm-orange-soft);
	color: #a95338;
	font-size: 9px;
	font-weight: 800;
}

.pm-memory-story h3 {
	margin: 0;
	font-size: 13px;
	line-height: 1.3;
}

.pm-memory-story p {
	margin: 4px 0 0;
	color: var(--pm-muted);
	font-size: 11px;
	line-height: 1.4;
}

.pm-memory-story a {
	display: inline-flex;
	margin-top: 5px;
	color: var(--pm-navy);
	font-size: 10px;
	font-weight: 800;
}

.pm-polk-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.pm-polk-search {
	flex: 1;
	max-width: 420px;
}

.pm-polk-search input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--pm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--pm-navy);
	font-size: 13px;
}

.pm-polk-search input:focus {
	outline: 2px solid rgba(255, 107, 61, 0.45);
	outline-offset: 1px;
}

.pm-polk-toolbar__count {
	color: var(--pm-muted);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.pm-polk-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pm-polk-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(23, 35, 63, 0.07), 0 12px 28px rgba(23, 35, 63, 0.05);
	transition: transform 0.22s var(--pm-ease), box-shadow 0.22s var(--pm-ease);
}

.pm-polk-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--pm-shadow-md);
}

.pm-polk-card.is-hidden {
	display: none;
}

.pm-polk-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: #f1e9dc;
}

.pm-polk-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pm-polk-card__year {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(23, 35, 63, 0.9);
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.pm-polk-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	padding: 14px;
}

.pm-polk-card__body h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.25;
}

.pm-polk-card__body h3 a {
	color: var(--pm-navy);
}

.pm-polk-card__body p {
	margin: 0;
	color: var(--pm-muted);
	font-size: 12px;
	line-height: 1.45;
}

.pm-polk-card__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--pm-navy);
	font-size: 11px;
	font-weight: 800;
}

.pm-polk-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.pm-polk-more-wrap .is-hidden {
	display: none;
}

/* -------------------------------------------------------------------------
 * Bilingual tournament: jury, trainer controls and checklist
 * ---------------------------------------------------------------------- */

.pm-arena-jury {
	margin-top: 18px;
	padding: 18px 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-arena-jury__title {
	display: block;
	margin-bottom: 6px;
	color: #a95338;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pm-arena-jury ul {
	margin: 0;
	padding-left: 17px;
	color: var(--pm-muted);
	font-size: 12.5px;
	line-height: 1.6;
}

.pm-trainer__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.pm-trainer__times {
	display: flex;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
}

.pm-trainer__times button {
	padding: 7px 11px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
	font-size: 10.5px;
	font-weight: 800;
	cursor: pointer;
}

.pm-trainer__times button.is-active {
	background: #fff;
	color: var(--pm-navy);
}

.pm-trainer__random {
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	cursor: pointer;
}

.pm-trainer__random:hover {
	background: rgba(255, 255, 255, 0.1);
}

.pm-trainer__progress {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 10px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
}

.pm-trainer__progress span {
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	transition: background-color 0.2s ease;
}

.pm-trainer__progress span.is-done {
	background: var(--pm-orange);
}

.pm-trainer__progress span.is-active {
	background: #ffb79e;
}

.pm-chronicle-grid--six {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
	.pm-trainer {
		padding: 16px;
	}
	.pm-trainer__head {
		flex-direction: row;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 12px;
	}
	.pm-trainer__head h2 {
		font-size: 24px;
	}
	.pm-trainer__head p {
		font-size: 11px;
	}
	.pm-trainer__controls {
		flex-wrap: nowrap;
		gap: 6px;
		margin-bottom: 10px;
	}
	.pm-trainer__times button {
		padding: 6px 8px;
		font-size: 9.5px;
	}
	.pm-trainer__random {
		padding: 8px 10px;
		font-size: 9.5px;
		white-space: nowrap;
	}
	.pm-trainer__topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin-bottom: 10px;
	}
	.pm-trainer__topic {
		padding: 7px;
		font-size: 10px;
		line-height: 1.25;
	}
	.pm-trainer__stage {
		min-height: 80px;
		margin-bottom: 10px;
	}
	.pm-trainer__timer {
		font-size: 40px;
	}
	.pm-trainer__hint {
		left: 12px;
		bottom: 10px;
		font-size: 9px;
	}
	.pm-trainer__args {
		grid-template-columns: 1fr 1fr;
		gap: 6px;
		margin-bottom: 10px;
	}
	.pm-trainer__arg {
		padding: 7px 8px;
		font-size: 10px;
		line-height: 1.25;
	}
	.pm-trainer__actions .pm-btn {
		min-height: 42px;
		font-size: 12px;
	}
	.pm-chronicle-grid--six {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1200px) {
	.pm-polk-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.pm-polk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.pm-memory-timeline {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		overflow: visible;
	}
	.pm-memory-timeline button {
		min-width: 0;
		padding: 4px 2px 0;
		font-size: 10px;
		white-space: nowrap;
	}
	.pm-memory-timeline button span {
		font-size: 8px;
	}
	.pm-polk-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.pm-polk-search {
		max-width: none;
	}
	.pm-polk-grid {
		grid-template-columns: 1fr;
	}
}
