/*
 * Recognized Directory. Design tokens and components.
 * Every rule is scoped to .rfm, so nothing outside the widgets changes,
 * except the optional page surface (body.rfm-surface).
 */

/* ---------- Typeface ----------
 * Schibsted Grotesk, by Schibsted Media. SIL Open Font License 1.1 (assets/fonts).
 * Served from this plugin, so no request goes to Google or any other font host.
 */

@font-face {
	font-family: "RFM Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.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: "RFM Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-wght-normal.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;
}

/* ---------- Tokens ---------- */

:root {
	/* Schibsted Grotesk by default. Settings can switch to the footer font, the page font, or a custom stack. */
	--rfm-font: "RFM Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* Weight rule: bold only for what a reader scans for. */
	--rfm-w-bold: 700;     /* page title, section headings, headline figures */
	--rfm-w-semi: 600;     /* award names in lists, buttons, table titles, bold words in text */
	--rfm-w-medium: 500;   /* status, current breadcrumb level, column headings */
	--rfm-w-regular: 400;  /* everything else */
	--rfm-brand: #2BE84F;
	/* Dark is the default: the current award templates sit on a dark background. */
	--rfm-ground: #0E0E0E;
	--rfm-surface: rgba(255, 255, 255, 0.035);
	--rfm-ink: #EDEDE8;
	--rfm-muted: #A6A69F;
	--rfm-rule: rgba(255, 255, 255, 0.14);
	--rfm-strong-rule: rgba(255, 255, 255, 0.55);
	--rfm-link: #4BE36A;
	--rfm-ok: #2BE84F;
	--rfm-amber: #F0A53A;
	--rfm-ended: #8C8C86;
	--rfm-button-ink: #0E0E0E;
	--rfm-radius: 2px;
}

body.rfm-theme-light,
.rfm.rfm-tone-light {
	--rfm-ground: #F7F6F2;
	--rfm-surface: #FFFFFF;
	--rfm-ink: #141414;
	--rfm-muted: #5C5C57;
	--rfm-rule: #DCDAD0;
	--rfm-strong-rule: #141414;
	--rfm-link: #0B6B1F;
	--rfm-ok: #128A2E;
	--rfm-amber: #B45309;
	--rfm-ended: #6B6B66;
	--rfm-button-ink: #F7F6F2;
}

/* Automatic mode: the script marks each widget by the background behind it. */
.rfm.rfm-tone-dark {
	--rfm-surface: rgba(255, 255, 255, 0.035);
	--rfm-ink: #EDEDE8;
	--rfm-muted: #A6A69F;
	--rfm-rule: rgba(255, 255, 255, 0.14);
	--rfm-strong-rule: rgba(255, 255, 255, 0.55);
	--rfm-link: #4BE36A;
	--rfm-ok: #2BE84F;
	--rfm-amber: #F0A53A;
	--rfm-ended: #8C8C86;
	--rfm-button-ink: #0E0E0E;
}

body.rfm-surface {
	background: var(--rfm-ground);
	color: var(--rfm-ink);
}

/* ---------- Base ---------- */

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

.rfm {
	font-family: var(--rfm-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--rfm-ink);
	font-variant-numeric: normal;
}

.rfm a {
	color: var(--rfm-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

.rfm a:focus-visible,
.rfm button:focus-visible {
	outline: 2px solid var(--rfm-brand);
	outline-offset: 2px;
}

.rfm p {
	margin: 0;
}

.rfm .rfm-muted {
	color: var(--rfm-muted);
}

.rfm .rfm-sep {
	margin: 0 8px;
	color: var(--rfm-muted);
}

.rfm .rfm-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.rfm.rfm-editor-note {
	padding: 8px 12px;
	border: 1px dashed var(--rfm-rule);
	font-size: 13px;
	color: var(--rfm-muted);
}


/* ---------- Guard against theme styles ----------
 * Elementor kits and themes often style p, h1, h2, dt, td and a directly.
 * These rules keep every element inside a Recognized widget on the plugin's
 * own color, font, and size, so text never mixes theme and plugin styles.
 * Specificity (0,1,2) beats a kit rule such as ".elementor-kit-5 p" (0,1,1).
 */

body .rfm :is(p, span, strong, b, em, i, small, dt, dd, li, ul, ol, td, th, caption, div, section, nav, article, aside, header) {
	color: inherit;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
}

body .rfm :is(p, dt, dd, li, td, th, caption, span, strong, em) {
	font-size: inherit;
	line-height: inherit;
}

body .rfm :is(strong, b) {
	font-weight: var(--rfm-w-semi);
}

body .rfm :is(h1, h2, h3) {
	color: var(--rfm-ink);
	font-family: var(--rfm-font);
	text-transform: none;
	text-shadow: none;
	padding: 0;
}

body .rfm :is(ul, ol, dl, p, dd, table) {
	margin-bottom: 0;
}

body .rfm :is(table, th, td, caption) {
	background-color: transparent;
}

body .rfm a {
	color: var(--rfm-link);
	font-family: inherit;
	font-weight: inherit;
	box-shadow: none;
}

body .rfm a:hover {
	color: var(--rfm-ink);
}

body .rfm .rfm-muted {
	color: var(--rfm-muted);
}

/* ---------- Status ---------- */

.rfm .rfm-status {
	white-space: nowrap;
}

.rfm .rfm-status__dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--rfm-ended);
}

.rfm .rfm-status--active .rfm-status__dot { background: var(--rfm-ok); }
.rfm .rfm-status--hold .rfm-status__dot { background: var(--rfm-amber); }

/* ---------- Buttons ---------- */

body .rfm .rfm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--rfm-ink);
	border-radius: var(--rfm-radius);
	background: var(--rfm-ink);
	color: var(--rfm-button-ink);
	font: inherit;
	font-size: 15px;
	font-weight: var(--rfm-w-semi);
	text-decoration: none;
	cursor: pointer;
}

body .rfm .rfm-button:hover {
	background: transparent;
	color: var(--rfm-ink);
}

body .rfm .rfm-button--quiet {
	background: var(--rfm-surface);
	color: var(--rfm-ink);
	border-color: var(--rfm-rule);
}

.rfm .rfm-button--quiet:hover {
	border-color: var(--rfm-ink);
}

body .rfm .rfm-textbutton {
	min-height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--rfm-link);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

/* ---------- Breadcrumb ---------- */

body .rfm.rfm-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--rfm-muted);
}

.rfm.rfm-breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
}

/* ---------- Page header ---------- */

.rfm.rfm-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px;
}

.rfm .rfm-header__logo {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	object-fit: contain;
	border: 1px solid var(--rfm-rule);
	background: #FFFFFF;
}

.rfm .rfm-header__main {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.rfm h1.rfm-header__title {
	margin: 0;
	font-family: var(--rfm-font);
	font-size: 30px;
	font-weight: var(--rfm-w-bold);
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--rfm-ink);
	text-wrap: balance;
}

body .rfm .rfm-header__sub {
	max-width: 680px;
	color: var(--rfm-muted);
}

/* Title sizes. Large is the default. Sizes step down on tablet and phone. */
body .rfm.rfm-header--large h1.rfm-header__title {
	font-size: 48px;
	font-weight: var(--rfm-w-bold);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

body .rfm.rfm-header--xl h1.rfm-header__title {
	font-size: 60px;
	font-weight: var(--rfm-w-bold);
	line-height: 1.04;
	letter-spacing: -0.03em;
}

body .rfm.rfm-header--large,
body .rfm.rfm-header--xl {
	align-items: flex-end;
	row-gap: 16px;
}

body .rfm.rfm-header--large .rfm-header__main,
body .rfm.rfm-header--xl .rfm-header__main {
	gap: 10px;
}

body .rfm.rfm-header--large .rfm-header__sub,
body .rfm.rfm-header--xl .rfm-header__sub {
	font-size: 18px;
	line-height: 1.5;
}

body .rfm.rfm-header--large .rfm-header__logo,
body .rfm.rfm-header--xl .rfm-header__logo {
	width: 88px;
	height: 88px;
	align-self: flex-start;
}

@media (max-width: 1024px) {
	body .rfm.rfm-header--large h1.rfm-header__title {
		font-size: 40px;
	}

	body .rfm.rfm-header--xl h1.rfm-header__title {
		font-size: 48px;
	}
}

@media (max-width: 767px) {
	body .rfm.rfm-header--large h1.rfm-header__title {
		font-size: 32px;
		line-height: 1.12;
	}

	body .rfm.rfm-header--xl h1.rfm-header__title {
		font-size: 36px;
		line-height: 1.1;
	}

	body .rfm.rfm-header--large .rfm-header__sub,
	body .rfm.rfm-header--xl .rfm-header__sub {
		font-size: 16px;
	}

	body .rfm.rfm-header--large .rfm-header__logo,
	body .rfm.rfm-header--xl .rfm-header__logo {
		width: 56px;
		height: 56px;
	}
}

body .rfm .rfm-header__labels {
	font-size: 14px;
}

body .rfm .rfm-header__updated {
	font-size: 13px;
	color: var(--rfm-muted);
}

.rfm .rfm-header__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

/* ---------- Facts row ---------- */

.rfm.rfm-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
	margin: 0;
	border-top: 1px solid var(--rfm-strong-rule);
	border-bottom: 1px solid var(--rfm-rule);
}

.rfm .rfm-fact {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border-left: 1px solid var(--rfm-rule);
}

.rfm .rfm-fact:first-child {
	padding-left: 0;
	border-left: 0;
}

body .rfm .rfm-fact__label {
	font-size: 13px;
	font-weight: var(--rfm-w-regular);
	color: var(--rfm-muted);
}

body .rfm .rfm-fact__value {
	margin: 0;
	font-size: 20px;
	font-weight: var(--rfm-w-bold);
	line-height: 1.3;
}

.rfm.rfm-facts--value-first .rfm-fact {
	flex-direction: column-reverse;
}

.rfm.rfm-facts--value-first .rfm-fact__value {
	font-size: 26px;
}

/* ---------- Key facts table ---------- */

.rfm.rfm-keyfacts {
	width: 100%;
	margin: 0;
	border: 1px solid var(--rfm-rule);
	border-collapse: collapse;
	background: var(--rfm-surface);
	font-size: 14px;
	line-height: 1.4;
}

body .rfm.rfm-keyfacts caption {
	padding: 10px 14px;
	border: 1px solid var(--rfm-rule);
	border-bottom: 1px solid var(--rfm-strong-rule);
	background: var(--rfm-surface);
	font-weight: var(--rfm-w-semi);
	text-align: left;
	caption-side: top;
	color: var(--rfm-ink);
}

body .rfm.rfm-keyfacts th,
body body .rfm.rfm-keyfacts td {
	padding: 9px 14px;
	border: 0;
	border-bottom: 1px solid var(--rfm-rule);
	background: none;
	text-align: left;
	vertical-align: top;
}

body .rfm.rfm-keyfacts th {
	width: 38%;
	font-weight: var(--rfm-w-regular);
	color: var(--rfm-muted);
}

.rfm.rfm-keyfacts td {
	padding-left: 0;
	color: var(--rfm-ink);
	overflow-wrap: anywhere;
}

.rfm.rfm-keyfacts tr:last-child th,
.rfm.rfm-keyfacts tr:last-child td {
	border-bottom: 0;
}

/* ---------- Sections ---------- */

.rfm.rfm-section,
.rfm.rfm-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	scroll-margin-top: 80px;
}

.rfm h2.rfm-section__title {
	margin: 0;
	font-family: var(--rfm-font);
	font-size: 20px;
	font-weight: var(--rfm-w-bold);
	line-height: 1.3;
	color: var(--rfm-ink);
}

body .rfm .rfm-section__intro {
	font-size: 14px;
	color: var(--rfm-muted);
}

body .rfm .rfm-prose {
	max-width: 680px;
	font-size: 16px;
	line-height: 1.6;
}

.rfm .rfm-prose p + p {
	margin-top: 12px;
}

/* ---------- Detail list ---------- */

body .rfm .rfm-details {
	margin: 0;
	border-top: 1px solid var(--rfm-rule);
	font-size: 15px;
}

.rfm .rfm-details__row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--rfm-rule);
}

body .rfm .rfm-details dt {
	font-weight: var(--rfm-w-regular);
	color: var(--rfm-muted);
}

.rfm .rfm-details dd {
	margin: 0;
}

/* ---------- Media ---------- */

.rfm .rfm-media__layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}

.rfm .rfm-media__stage {
	flex: 3 1 360px;
	min-width: 0;
}

.rfm .rfm-media__layout--single .rfm-media__stage {
	max-width: 680px;
}

.rfm .rfm-media__panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rfm .rfm-media__panel[hidden] {
	display: none;
}

.rfm .rfm-media__poster,
.rfm .rfm-media__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 1px solid var(--rfm-rule);
	border-radius: 0;
	background: #1C1C1A;
	overflow: hidden;
	cursor: pointer;
}

.rfm .rfm-media__poster img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rfm .rfm-media__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.rfm .rfm-media__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #F2F2EE;
	color: #141414;
	transform: translate(-50%, -50%);
}

.rfm .rfm-media__post {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--rfm-rule);
	background: var(--rfm-surface);
}

.rfm .rfm-media__post [data-rfm-slot] {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

body .rfm .rfm-media__caption {
	font-size: 14px;
}

.rfm .rfm-media__list {
	display: flex;
	flex: 2 1 220px;
	flex-direction: column;
	min-width: 0;
	border-top: 1px solid var(--rfm-rule);
}

body .rfm .rfm-media__pick {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-height: 44px;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--rfm-rule);
	border-left: 3px solid transparent;
	border-radius: 0;
	background: none;
	color: var(--rfm-ink);
	font: inherit;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.rfm .rfm-media__pick[aria-pressed="true"] {
	border-left-color: var(--rfm-ok);
	background: var(--rfm-surface);
}

.rfm .rfm-media__pick-title {
	font-weight: var(--rfm-w-semi);
}

body .rfm .rfm-media__pick-meta {
	font-size: 13px;
	color: var(--rfm-muted);
}

/* ---------- Sources and record line ---------- */

body .rfm .rfm-sources {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 22px;
	font-size: 14px;
}

body .rfm .rfm-record {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--rfm-strong-rule);
	border-bottom: 1px solid var(--rfm-rule);
	font-size: 14px;
}

/* ---------- On this page ---------- */

body .rfm.rfm-contents {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rfm-rule);
	font-size: 14px;
}

.rfm.rfm-contents[hidden] {
	display: none;
}

body .rfm .rfm-contents__label {
	color: var(--rfm-muted);
}

.rfm.rfm-contents ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Result rows ---------- */

.rfm.rfm-results-title {
	margin-bottom: 8px;
}

body .rfm.rfm-row {
	display: grid;
	grid-template-columns:
		minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1.1fr)
		minmax(0, 0.9fr) minmax(0, 0.7fr) minmax(0, 0.8fr);
	gap: 16px;
	align-items: start;
	padding: 12px 16px;
	border-bottom: 1px solid var(--rfm-rule);
	background: var(--rfm-surface);
	font-size: 14px;
	line-height: 1.4;
}

body .rfm.rfm-row--compact {
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.7fr);
}

body .rfm.rfm-row--head {
	padding-top: 10px;
	padding-bottom: 10px;
	border: 1px solid var(--rfm-rule);
	border-bottom: 1px solid var(--rfm-strong-rule);
	font-size: 13px;
	font-weight: var(--rfm-w-medium);
	color: var(--rfm-muted);
}

body .rfm .rfm-row__name a {
	font-size: 15px;
	font-weight: var(--rfm-w-semi);
}

body .rfm .rfm-row__org {
	display: block;
	font-size: 13px;
	color: var(--rfm-muted);
}

.rfm .rfm-row__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/*
 * Voxel Post Feed. Add the CSS class "rfm-feed" to the Post Feed widget and set it to
 * one column with no gap. These rules then remove the card spacing so rows join up.
 * The Voxel class names below should be confirmed against the installed version.
 */
.rfm-feed .post-feed-grid {
	display: block;
	gap: 0;
}

.rfm-feed .ts-preview {
	width: 100%;
	margin: 0;
}

/* ---------- Link rows ---------- */

.rfm.rfm-links ul {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--rfm-rule);
	list-style: none;
}

body .rfm.rfm-links li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 8px 0;
	border-top: 1px solid var(--rfm-rule);
	text-decoration: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 767px) {
	.rfm h1.rfm-header__title {
		font-size: 24px;
		line-height: 1.25;
	}

	.rfm .rfm-header__logo {
		width: 48px;
		height: 48px;
	}

	.rfm .rfm-header__actions {
		width: 100%;
	}

	body .rfm .rfm-header__actions .rfm-button {
		width: 100%;
	}

	.rfm.rfm-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rfm .rfm-fact {
		padding: 10px 12px;
		border-bottom: 1px solid var(--rfm-rule);
	}

	.rfm .rfm-fact:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.rfm.rfm-facts {
		border-bottom: 0;
	}

	body .rfm .rfm-fact__value {
		font-size: 18px;
	}

	.rfm .rfm-details__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	body .rfm .rfm-details dt {
		font-size: 13px;
	}

	/* A row becomes two lines: name and organizer, then status, fee, and deadline. */
	body .rfm.rfm-row {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 14px;
		padding: 14px 16px;
	}

	body .rfm.rfm-row--head {
		display: none;
	}

	.rfm .rfm-row__name {
		flex: 0 0 100%;
	}

	body .rfm .rfm-row__name a {
		font-size: 16px;
	}

	.rfm .rfm-row__cell--type,
	.rfm .rfm-row__cell--founded,
	.rfm .rfm-row__cell--site {
		display: none;
	}

	.rfm .rfm-row__cell--status {
		order: 1;
	}

	.rfm .rfm-row__cell--fee {
		order: 2;
	}

	.rfm .rfm-row__cell--deadline {
		order: 3;
	}

	.rfm.rfm-row--compact .rfm-row__cell--type {
		display: block;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.rfm .rfm-button,
	.rfm .rfm-media__pick {
		transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
	}
}

/* ---------- Single entry rows (categories) ---------- */

body .rfm .rfm-details__row--single {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------- Data check (editor only) ---------- */

body .rfm.rfm-diag {
	margin-top: 8px;
	padding: 10px 12px;
	border: 1px dashed var(--rfm-rule);
	font-size: 12px;
	line-height: 1.5;
	color: var(--rfm-muted);
}

body .rfm .rfm-diag__title {
	font-weight: 600;
	color: var(--rfm-ink);
}

body .rfm .rfm-diag__title span {
	font-weight: 400;
	color: var(--rfm-muted);
}

body .rfm.rfm-diag ul {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

body .rfm.rfm-diag li {
	padding: 2px 0 2px 14px;
	position: relative;
}

body .rfm.rfm-diag li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rfm-ended);
}

body .rfm.rfm-diag .rfm-diag--ok::before { background: var(--rfm-ok); }
body .rfm.rfm-diag .rfm-diag--warn::before { background: var(--rfm-amber); }

body .rfm .rfm-diag__label {
	color: var(--rfm-ink);
	font-weight: 500;
}

/* ---------- Lists inside one value: one entry per line ---------- */

body .rfm .rfm-line {
	display: block;
}

body .rfm .rfm-line + .rfm-line {
	margin-top: 2px;
}

/* ---------- Weight rule: the remaining cases ---------- */

body .rfm :is(p, dd, td, li, span, a) {
	font-weight: var(--rfm-w-regular);
}

body .rfm .rfm-status {
	font-weight: var(--rfm-w-medium);
}

body .rfm.rfm-breadcrumb li[aria-current] {
	font-weight: var(--rfm-w-medium);
	color: var(--rfm-ink);
}

body .rfm h2.rfm-section__title {
	letter-spacing: -0.01em;
}

body .rfm .rfm-fact__value {
	letter-spacing: -0.01em;
}

body .rfm :is(strong, b),
body .rfm .rfm-row__name a,
body .rfm .rfm-media__pick-title,
body .rfm .rfm-button,
body .rfm.rfm-keyfacts caption {
	font-weight: var(--rfm-w-semi);
}

body .rfm .rfm-fact__value,
body .rfm .rfm-fact__value :is(span, a) {
	font-weight: var(--rfm-w-bold);
}

/* Tabular figures only where numbers line up in columns. In Schibsted Grotesk the
   tabular feature also widens periods and commas, so running text keeps normal spacing. */
body .rfm .rfm-fact__value,
body .rfm .rfm-row__cell--fee,
body .rfm .rfm-row__cell--founded,
body .rfm .rfm-row__cell--deadline,
body .rfm.rfm-links .rfm-muted {
	font-variant-numeric: tabular-nums;
}
