.frml-researchmap {
	margin: 1.25rem 0;
}

.frml-heading {
	margin: 0 0 0.75rem;
}

.frml-list {
	margin: 0;
	padding-left: 1.25rem;
}

.frml-item {
	margin: 0 0 0.8rem;
	line-height: 1.7;
}

.frml-title {
	display: inline;
	font-weight: 700;
}

.frml-meta {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.95em;
	line-height: 1.55;
	opacity: 0.78;
}

.frml-links {
	display: inline-block;
	margin-left: 0.5em;
	font-size: 0.9em;
}

.frml-link {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.frml-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.frml-card {
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	padding: 0.9rem 1rem;
	line-height: 1.65;
}

.frml-card-content {
	position: relative;
	min-width: 0;
}

.frml-list-content {
	min-width: 0;
}

.frml-card-body.frml-has-thumbnail {
	display: grid;
	grid-template-columns: minmax(100px, 160px) minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
}

.frml-list-body.frml-has-thumbnail {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
}

.frml-thumbnail {
	position: relative;
	z-index: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.035);
}

.frml-thumbnail-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.frml-source {
	margin-top: 0.75rem;
	font-size: 0.85em;
	opacity: 0.7;
}

.frml-error,
.frml-empty {
	margin: 0.75rem 0;
}

.frml-person {
	margin: 1.25rem 0 1.75rem;
}

.frml-person-heading {
	margin: 0 0 0.7rem;
	font-size: 1.05em;
	font-weight: 700;
}

.frml-person-profile-button {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	padding: 0.18em 0.65em;
	color: inherit;
	font-size: 0.92em;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.frml-person-profile-button:hover,
.frml-person-profile-button:focus-visible {
	border-color: currentColor;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.frml-multi .frml-source {
	margin-top: 0.5rem;
}

.frml-tabs {
	margin-top: 0.75rem;
}

.frml-tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 0.9rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.frml-tab-button {
	appearance: none;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	line-height: 1.35;
	padding: 0.42rem 0.8rem;
}

.frml-tab-button:hover,
.frml-tab-button:focus-visible {
	border-color: currentColor;
}

.frml-tab-button.is-active,
.frml-tab-button[aria-selected="true"] {
	border-color: currentColor;
	box-shadow: inset 0 -2px 0 currentColor;
	font-weight: 700;
}

.frml-tab-panel[hidden] {
	display: none !important;
}

.frml-tab-panel-heading {
	margin-top: 0;
}

.frml-major-badge {
	display: inline-block;
	margin-left: 0.5em;
	border: 1px solid rgba(0, 0, 0, 0.22);
	border-radius: 999px;
	padding: 0.05em 0.45em;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: 0.08em;
}

.frml-major .frml-title {
	font-weight: 800;
}

.frml-badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35em;
	margin-left: 0.5em;
	vertical-align: 0.08em;
}

.frml-badge {
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.22);
	border-radius: 999px;
	padding: 0.05em 0.45em;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1.4;
}

.frml-person-badges {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 0.35rem;
}

.frml-person-badge {
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	padding: 0.08em 0.5em;
	color: inherit;
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.frml-card-clickable {
	cursor: pointer;
}

.frml-card-primary-link {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	border-radius: inherit;
}

.frml-card-primary-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.frml-card-clickable:hover .frml-title,
.frml-card-clickable:focus-within .frml-title {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.frml-person-badge:hover,
.frml-person-badge:focus-visible {
	border-color: currentColor;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.frml-title-link {
	color: inherit;
	text-decoration: none;
}

.frml-title-link:hover .frml-title,
.frml-title-link:focus-visible .frml-title {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.frml-view-switcher-controls {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 1rem;
	padding: 0.25rem;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 10px;
}

.frml-view-switcher-button {
	appearance: none;
	border: 0;
	border-radius: 7px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	line-height: 1.35;
	padding: 0.5rem 0.9rem;
}

.frml-view-switcher-button:hover,
.frml-view-switcher-button:focus-visible {
	box-shadow: inset 0 0 0 1px currentColor;
}

.frml-view-switcher-button.is-active,
.frml-view-switcher-button[aria-selected="true"] {
	box-shadow: inset 0 0 0 1px currentColor;
	font-weight: 700;
}

.frml-view-switcher-panel[hidden] {
	display: none !important;
}

.frml-view-switcher-panel > .frml-switch-inner {
	margin-top: 0;
}

@media (max-width: 560px) {
	.frml-card-body.frml-has-thumbnail {
		grid-template-columns: 1fr;
	}

	.frml-thumbnail-card .frml-thumbnail-image {
		aspect-ratio: 16 / 9;
	}
}
