/* ---------- Heltene, en rad hver (plattform/helter_rader.php) ----------

   /heltene/: overskriften midtstilt, så en seksjon per helt med bildet og
   teksten side om side. Bildet bytter side for hver rad (.hr-rad--speilet),
   og på mobil står det over teksten. Bildet er illustrasjonen av helten,
   og til den kommer, maskoten, begge rett på den hvite bunnen. Navnet har
   fargen til masken (--aksent), og ringene rundt punktene en lys tone av
   kroppen (--flate). Begge settes i style på raden, så mørk modus blander
   dem inn i den mørke bunnen. */

.hr-hode { padding-top: clamp(72px, 9vw, 128px); background: #fff; }
.hr-hode .pf-hode { margin-bottom: clamp(16px, 3vw, 40px); }

.hr-rad { padding-block: clamp(40px, 5vw, 72px); background: #fff; }

.hr-innhold {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.hr-rad--speilet .hr-bilde { order: 2; }

/* Maskoten, til illustrasjonen kommer, i en flate like høy som den */
.hr-bilde { display: grid; place-items: center; aspect-ratio: 1100 / 684; }
.hr-maskot { width: 50%; height: auto; }

.hr-bilde--tegning { aspect-ratio: auto; }
.hr-bilde--tegning img { display: block; width: 100%; height: auto; }

.hr-merke { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; line-height: 1.3; }
.hr-navn { color: var(--aksent); font-weight: 800; }
.hr-rolle { color: var(--pf-gra); font-weight: 600; }
.hr-rolle::before { content: '·'; margin-right: 12px; color: #c9c9d4; }

.hr-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e7f7ec;
	color: #15803d;
	font-size: 13px;
	font-weight: 700;
}

.hr-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hr-status--snart { background: #f1f1f5; color: #6e6e7c; }

:root body h2.hr-tittel { --hh-fs: clamp(2rem, 1.35rem + 2.2vw, 3.25rem); margin-top: 16px; color: var(--pf-blekk); }
.hr-ingress { max-width: 34rem; margin-top: 16px; color: var(--pf-gra); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }

.hr-punkter { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.hr-punkter li { display: flex; align-items: center; gap: 12px; color: var(--pf-blekk); font-size: 17px; font-weight: 600; line-height: 1.35; }
.hr-punkter svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--flate); color: var(--aksent); }

.hr-lenke { margin-top: 28px; }
.hr-lenke:hover svg { transform: translateX(3px); }

@media (max-width: 899px) {
	.hr-innhold { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.hr-rad--speilet .hr-bilde { order: 0; }
	.hr-maskot { width: 46%; }
}
