/**
 * Pack-Out Spot blocks: the map and the Report prompt.
 *
 * Colors fall back to the Pack-Out Spot palette when the theme does not
 * define the Astra global colors.
 */

/* Inside a flex column (Spectra containers, core groups) the blocks take the full width. */
.pos-map,
.pos-report {
	box-sizing: border-box;
	width: 100%;
}

.pos-map {
	--pos-accent: var(--ast-global-color-2, #bb5e28);
	--pos-ink: var(--ast-global-color-8, #2f3232);
	--pos-line: #dcdcde;
	color: var(--pos-ink);
}

.pos-map__add {
	margin: 0 0 12px;
}

.pos-map__bar {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 12px 20px;
	margin-bottom: 12px;
}

.pos-map__filter {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
}

/* A theme may color every label. The partner filter is a label and reads like the others. */
label.pos-map__filter {
	color: var(--pos-ink);
}

.pos-map__filter select {
	min-width: 190px;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	color: var(--pos-ink);
	font: inherit;
	font-weight: 400;
}

.pos-map__layers {
	position: relative;
}

.pos-map__layers-button {
	position: relative;
	min-width: 190px;
	max-width: 280px;
	min-height: 44px;
	padding: 6px 32px 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	color: var(--pos-ink);
	font: inherit;
	font-weight: 400;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	text-transform: none!important;
}

.pos-map__layers-button::after {
	content: "";
	position: absolute;
	right: 12px;
	top: calc(50% - 2px);
	border: 5px solid transparent;
	border-top-color: var(--pos-ink);
}

.pos-map__layers-menu {
	position: absolute;
	z-index: 4;
	top: calc(100% + 4px);
	left: 0;
	width: max-content;
	min-width: 100%;
	max-width: 320px;
	max-height: min(70vh, 440px);
	overflow: auto;
	margin: 0;
	padding: 6px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.pos-map__layers-heading {
	margin: 8px 8px 0;
	font-size: 12px;
	font-weight: 700;
	color: #50575e;
}

.pos-map__layers-note {
	margin: 2px 8px 4px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	color: #50575e;
}

.pos-map__layers-menu[hidden] {
	display: none;
}

.pos-map__layers-menu label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 4px 8px;
	font-weight: 400;
	cursor: pointer;
}

.pos-map__layers-menu input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.pos-map__count {
	margin-left: auto;
	padding-bottom: 10px;
	font-size: 15px;
}

.pos-map__body {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--pos-line);
	border-radius: 6px;
	background: #edeae5;
}

.pos-map__canvas {
	position: absolute;
	inset: 0;
}

.maplibregl-marker.pos-map__marker,
.maplibregl-marker.pos-map__label--place {
	position: absolute;
	top: 0;
	left: 0;
}

.pos-map__marker {
	width: 36px;
	height: 36px;
}

.pos-map__label {
	position: absolute;
	left: 42px;
	top: 9px;
	max-width: 148px;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: #1e1e1e;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 1px 2px #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
}

.pos-map__label--place {
	left: 0;
	top: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
	pointer-events: auto;
}

.pos-map__pin {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	color: #415840;
}

.pos-map__pin svg,
.pos-map__glyph {
	width: 22px;
	height: 22px;
	display: flex;
}

.pos-map__glyph svg {
	width: 22px;
	height: 22px;
	display: block;
}

.pos-map__state {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	font-size: 15px;
	text-align: center;
}

.pos-map__state[hidden],
.pos-map__panel[hidden],
.pos-map__list[hidden] {
	display: none;
}

.pos-map__state--empty {
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
	width: min(420px, calc(100% - 32px));
	padding: 24px;
}

.pos-map__panel {
	position: absolute;
	top: 12px;
	left: 12px;
	bottom: 12px;
	width: min(360px, calc(100% - 24px));
	overflow: auto;
	padding: 20px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
	font-size: 16px;
	line-height: 1.5;
}

/* A card with photos opens with them, edge to edge, and its Close button sits on the first one. */
.pos-map__panel .pos-slider--card {
	--pos-slider-ratio: 3 / 2;
	margin: -20px -20px 16px;
}

.pos-map__panel .pos-slider--card .pos-slider__stage {
	border-radius: 6px 6px 0 0;
}

.pos-map__panel .pos-slider--card .pos-slider__arrow {
	width: 36px;
	height: 36px;
}

.pos-map__panel--photos .pos-map__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	float: none;
	margin: 0;
	border-color: transparent;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.pos-map__reported a {
	color: inherit;
}

.pos-map__close {
	float: right;
	margin: -6px -6px 6px 12px;
	padding: 8px 12px;
	border: 1px solid var(--pos-line);
	border-radius: 4px;
	background: #fff;
	color: var(--pos-ink);
	font-size: 14px;
	cursor: pointer;
}

.pos-map__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
}

.pos-map .pos-map__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.15;
}

.pos-map__description,
.pos-map__where {
	margin: 10px 0;
}

.pos-map__where {
	font-size: 14px;
	color: #50575e;
}

.pos-map__source {
	margin: 16px 0 0;
	color: #50575e;
	font-size: 13px;
}

.pos-map__link {
	display: inline-block;
	margin: 6px 12px 0 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	text-align: left;
	color: var(--ast-global-color-3, #863d14);
	cursor: pointer;
}

.pos-tip__img {
	display: block;
	width: 100%;
	height: 108px;
	margin: 0 0 6px;
	object-fit: cover;
	border-radius: 2px;
}

.pos-tip__label,
.pos-tip__note {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.pos-tip__label {
	font-weight: 700;
}

.pos-tip__note {
	margin-top: 4px;
	color: #50575e;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.maplibregl-popup.pos-tip-popup .maplibregl-popup-content {
	padding: 8px;
}

.pos-map__list {
	margin-top: 12px;
	font-size: 16px;
}

.pos-map__list summary {
	cursor: pointer;
	font-weight: 600;
}

.pos-map__list ul {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	columns: 2 280px;
}

.pos-map__list li {
	margin: 0 0 6px;
	break-inside: avoid;
}

.pos-map__list-item {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ast-global-color-3, #863d14);
	font: inherit;
	text-align: left;
	text-decoration: underline;
	cursor: pointer;
}

.pos-map__list-meta {
	font-size: 14px;
	color: #50575e;
}

.pos-map button:focus-visible,
.pos-map select:focus-visible,
.pos-map a:focus-visible,
.pos-map summary:focus-visible {
	outline: 2px solid var(--pos-accent);
	outline-offset: 2px;
}

.pos-ui .vectra-ui__fallback {
	font-weight: 600;
}

@media (max-width: 600px) {
	.pos-map__panel {
		top: auto;
		left: 8px;
		right: 8px;
		bottom: 8px;
		width: auto;
		max-height: 70%;
	}

	.pos-map__count {
		margin-left: 0;
		padding-bottom: 0;
	}

	.pos-map__filter,
	.pos-map__filter select {
		width: 100%;
	}
}

/* Report prompt. */
.pos-report__field {
	margin-top: 20px;
	font-size: 15px;
}

/* Photo slider
 *
 * A row of photos that scrolls sideways and snaps to each one. It is used on
 * the page of a Spot and at the top of a Spot's card on the map.
 */
.pos-slider {
	--pos-slider-ratio: 4 / 3;
	position: relative;
	min-width: 0;
}

.pos-slider__stage {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #1d1f1f;
}

.pos-slider__track {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	aspect-ratio: var(--pos-slider-ratio);
}

.pos-slider__track::-webkit-scrollbar {
	display: none;
}

.pos-slider__track:focus-visible {
	outline: 3px solid var(--ast-global-color-2, #bb5e28);
	outline-offset: -3px;
}

.pos-slider .pos-slider__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.pos-slider__slide a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.pos-slider .pos-slider__slide img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.pos-slider .pos-slider__arrow,
.pos-viewer .pos-slider__arrow {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
	color: #2f3232;
	transform: translateY(-50%);
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.pos-slider .pos-slider__arrow--previous,
.pos-viewer .pos-slider__arrow--previous {
	left: 12px;
}

.pos-slider .pos-slider__arrow--next,
.pos-viewer .pos-slider__arrow--next {
	right: 12px;
}

.pos-slider .pos-slider__arrow:hover,
.pos-slider .pos-slider__arrow:focus-visible,
.pos-viewer .pos-slider__arrow:hover,
.pos-viewer .pos-slider__arrow:focus-visible {
	background: #fff;
	color: #2f3232;
}

.pos-slider .pos-slider__arrow:focus-visible,
.pos-viewer .pos-slider__arrow:focus-visible,
.pos-slider .pos-slider__thumb:focus-visible,
.pos-viewer__close:focus-visible {
	outline: 3px solid var(--ast-global-color-2, #bb5e28);
	outline-offset: 2px;
}

.pos-slider .pos-slider__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}

.pos-slider .pos-slider__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	margin: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(24, 26, 26, 0.78);
	color: #fff;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	line-height: 1.5;
}

.pos-slider .pos-slider__caption {
	position: absolute;
	top: 12px;
	left: 12px;
	margin: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(24, 26, 26, 0.78);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	pointer-events: none;
}

.pos-slider__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	padding: 3px;
	overflow-x: auto;
}

.pos-slider .pos-slider__thumb {
	flex: none;
	width: 72px;
	height: 54px;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 6px;
	background: #d9d4c8;
	opacity: 0.66;
	cursor: pointer;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pos-slider .pos-slider__thumb:hover,
.pos-slider .pos-slider__thumb.is-current {
	opacity: 1;
}

.pos-slider .pos-slider__thumb.is-current {
	border-color: var(--ast-global-color-2, #bb5e28);
}

.pos-slider__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	.pos-slider .pos-slider__arrow,
	.pos-slider .pos-slider__thumb {
		transition: none;
	}
}

/* The larger view of a photo. */
.pos-viewer {
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 56px 16px;
	border: 0;
	background: rgba(16, 18, 18, 0.94);
	color: #fff;
}

.pos-viewer[open] {
	display: grid;
	place-items: center;
}

.pos-viewer::backdrop {
	background: rgba(16, 18, 18, 0.94);
}

.pos-viewer__image {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 112px);
	border-radius: 6px;
	object-fit: contain;
}

.pos-viewer .pos-viewer__close {
	position: absolute;
	top: 12px;
	right: 12px;
	min-height: 0;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.pos-viewer .pos-viewer__close:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.pos-viewer__count {
	position: absolute;
	bottom: 14px;
	left: 0;
	width: 100%;
	margin: 0;
	font-size: 14px;
	text-align: center;
}

.pos-viewer-open {
	overflow: hidden;
}

/* The public page of one Spot.
 *
 * The header carries the title, so a theme's own page title is not repeated above it.
 */
body.single-pos_spot h1.entry-title {
	display: none;
}

.pos-spot-page .pos-spot-page__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 48px;
	align-items: start;
	padding-bottom: 32px;
}

.pos-spot-page .pos-spot-page__about > h2 {
	margin: 0 0 16px;
	font-size: 1.75rem;
}

.pos-spot-page__story {
	margin: 0 0 24px;
	font-size: 1.1rem;
	overflow-wrap: anywhere;
}

.pos-spot-page__story > :last-child {
	margin-bottom: 0;
}

.pos-spot-page__hazard {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-left: 4px solid var(--ast-global-color-2, #bb5e28);
	background: var(--ast-global-color-5, #edeae5);
}

.pos-spot-page .pos-spot-page__facts {
	padding-top: 20px;
	border-top: 1px solid var(--pos-place-line, #d9d4c8);
}

.pos-spot-page .pos-spot-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: auto;
	margin: 24px 0 0;
}

.pos-spot-page .pos-spot-page__actions:empty {
	display: none;
}

.pos-spot-page__photos {
	position: sticky;
	top: 24px;
	min-width: 0;
}

.pos-spot-page__no-photos {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 24px;
	border: 1px dashed #b9b3a4;
	border-radius: 10px;
	background: var(--ast-global-color-5, #edeae5);
	color: #5b6060;
	text-align: center;
}

.pos-spot-page__no-photos p {
	max-width: 30ch;
	margin: 0;
}

@media (max-width: 860px) {
	.pos-spot-page .pos-spot-page__split {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The photos come first on a narrow screen: they say the most. */
	.pos-spot-page__photos {
		position: static;
		order: -1;
	}
}

/* The claim form is a section of the page like the others. */
.pos-spot-page .pos-claim {
	margin: 0;
	padding: 32px 0 8px;
	border-top: 0;
}

.pos-spot-page .pos-claim > h2 {
	margin: 0 0 16px;
	font-size: 1.75rem;
}

/* What has happened at a Spot, newest first. */
.pos-activity.pos-ws {
	width: auto;
	padding-bottom: 32px;
}

.pos-activity .pos-activity__list {
	max-width: 760px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.pos-activity .pos-activity__item {
	position: relative;
	margin: 0;
	padding: 0 0 24px 32px;
}

/* The line that joins one event to the next, and the mark of each. */
.pos-activity__item::before {
	position: absolute;
	top: 8px;
	bottom: -8px;
	left: 7px;
	width: 2px;
	background: var(--pos-place-line, #d9d4c8);
	content: "";
}

.pos-activity__item:last-child::before {
	display: none;
}

.pos-activity__item::after {
	position: absolute;
	top: 6px;
	left: 0;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #8a8f8f;
	box-shadow: 0 0 0 1px var(--pos-place-line, #d9d4c8);
	content: "";
}

.pos-activity__item--cleanup::after {
	background: var(--ast-global-color-0, #415840);
}

.pos-activity__item--mission::after {
	background: var(--ast-global-color-2, #bb5e28);
}

.pos-activity__item--update::after {
	background: #fff;
	border-color: #8a8f8f;
}

.pos-activity .pos-activity__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0;
}

.pos-activity__what {
	font-weight: 600;
}

.pos-activity__when {
	color: #5b6060;
	font-size: 0.95rem;
}

.pos-activity__detail {
	margin-top: 6px;
	overflow-wrap: anywhere;
}

.pos-activity__detail p {
	margin: 0 0 6px;
}

.pos-activity__item--update .pos-activity__detail {
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--ast-global-color-5, #edeae5);
}

.pos-activity__item--update .pos-activity__detail > :last-child {
	margin-bottom: 0;
}

.pos-activity__figures {
	color: #5b6060;
	font-size: 0.95rem;
}

.pos-activity__remove {
	margin: 6px 0 0;
}

.pos-activity .pos-activity__remove .pos-ws__button {
	min-height: 0;
	padding: 4px 8px;
	font-size: 0.9rem;
}

.pos-activity__share {
	max-width: 760px;
	padding: 24px;
	border: 1px solid var(--pos-place-line, #d9d4c8);
	border-radius: 10px;
	background: #fff;
}

.pos-activity .pos-activity__share h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.pos-activity__share .pos-ws__form {
	max-width: none;
	margin: 0;
}

.pos-activity__share .pos-ws__actions {
	justify-content: flex-start;
	margin-bottom: 0;
}

/* Who a report or an update is credited to: the two questions of a form. */
.pos-credit {
	min-width: 0;
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid #d9d4c8;
	border-radius: 8px;
}

.pos-credit legend {
	padding: 0 6px;
	font-weight: 600;
}

.pos-credit .pos-credit__field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 10px;
}

.pos-credit .pos-credit__field label {
	font-weight: 600;
}

.pos-credit .pos-credit__field select {
	flex: 1 1 220px;
	max-width: 100%;
}

.pos-credit .pos-credit__field input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0 8px 0 0;
	vertical-align: -4px;
}

.pos-credit .pos-credit__help {
	margin: 0;
	color: #5b6060;
	font-size: 0.95rem;
}

.pos-report__form .pos-credit {
	margin-top: 24px;
}

/* In the report form the questions read like the form's own fields. */
.pos-report__form .pos-credit legend,
.pos-report__form .pos-credit label {
	color: inherit;
	font-size: 1rem;
}

.pos-report__form .pos-credit .pos-credit__field label:has(input[type="checkbox"]) {
	font-weight: 400;
}

/* The report form: a Toolkit Form inside the Report prompt. */

.pos-report__form .vectra-form {
	max-width: none;
}

.pos-report__form .vectra-form-grid {
	gap: 20px 16px;
	margin-bottom: 24px;
}

.pos-report__form .vectra-label {
	margin-bottom: 2px;
	color: var(--ast-global-color-8, #2f3232);
	font-size: 1rem;
	font-weight: 700;
}

.pos-report__form .vectra-description {
	margin: 0 0 8px;
	color: #5b6060;
	font-size: 0.9rem;
	line-height: 1.4;
}

.pos-report__form .vectra-field input[type="text"],
.pos-report__form .vectra-field input[type="email"],
.pos-report__form .vectra-field input[type="number"],
.pos-report__form .vectra-field select,
.pos-report__form .vectra-field textarea {
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	color: var(--ast-global-color-8, #2f3232);
	font: inherit;
}

.pos-report__form .vectra-field textarea {
	min-height: 120px;
}

.pos-report__form .vectra-field-error,
.pos-report__form .vectra-form-errors,
.pos-report__form .vectra-required {
	color: #a12a1b;
}

.pos-report__form .vectra-form-confirmation {
	padding: 20px 24px;
	border: 0;
	border-left: 4px solid #415840;
	background: #eef2ea;
	font-size: 1.05rem;
}

/* "Use my location" sits on its own row above the coordinates. */
.pos-report__locate {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0;
	font-size: 0.9rem;
}

.pos-report__locate-button {
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--ast-global-color-8, #2f3232);
	border-radius: 4px;
	background: transparent;
	color: var(--ast-global-color-8, #2f3232);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.pos-report__locate-button:hover,
.pos-report__locate-button:focus {
	background: var(--ast-global-color-8, #2f3232);
	color: #fff;
}

.pos-report__locate-button:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Said under the photo field when the chosen photo is larger than the form takes. */
.pos-report__photo-note {
	margin: 8px 0 0;
	padding: 10px 14px;
	border-left: 4px solid #a3341f;
	background: #fbeeea;
	color: #2f3232;
	font-size: 0.95rem;
}

.pos-report__photo-note[hidden] {
	display: none;
}

/* Team list */

.pos-teams {
	box-sizing: border-box;
	width: 100%;
}

/* The class is repeated so a theme's list spacing inside page content does not win. */
/* The cards of the list blocks, and the same cards on the page of a partner or a program. */
.pos-teams .pos-teams__list,
.pos-place__section .pos-teams__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-teams__team {
	margin: 0;
	padding: 20px 22px;
	border: 1px solid #d9d4c8;
	border-radius: 6px;
	background: #fff;
}

.pos-teams__name {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.pos-teams__text {
	margin: 0 0 10px;
}

.pos-teams__facts {
	margin: 0;
	color: #5b6060;
	font-size: 0.95rem;
}

/* Public team and mission pages */

.pos-team-page h2 {
	margin: 1.6em 0 0.5em;
	font-size: 1.5rem;
}

.pos-team-page .pos-team-page__missions {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-team-page__missions li {
	padding: 12px 0;
	border-bottom: 1px solid #d9d4c8;
}

.pos-team-page__facts {
	display: block;
	color: #5b6060;
	font-size: 0.95rem;
}

.pos-mission-page dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 18px;
	margin: 0 0 18px;
}

.pos-mission-page dt {
	font-weight: 600;
}

.pos-mission-page dd {
	margin: 0;
}

/* Impact summary */

.pos-impact {
	box-sizing: border-box;
	width: 100%;
}

.pos-impact__line {
	margin: 0 0 24px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

.pos-impact__empty {
	display: flex;
	justify-content: center;
	padding: 36px 24px;
	border: 1px solid #d9d4c8;
	border-radius: 6px;
	background: #fff;
	color: #2f3232;
	text-align: center;
}

.pos-impact__groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 20px;
}

.pos-impact__group {
	padding: 22px 24px;
	border: 1px solid #d9d4c8;
	border-radius: 6px;
	background: #fff;
	color: #2f3232;
}

.pos-impact .pos-impact__title {
	margin: 0 0 12px;
	font-size: 1.25rem;
	color: #2f3232;
}

.pos-impact .pos-impact__figures {
	margin: 0;
}

.pos-impact__figure {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	padding: 8px 0;
	border-top: 1px solid #e3e0d8;
}

.pos-impact__figure dt {
	margin: 0;
	font-weight: 400;
}

.pos-impact__figure dd {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.pos-impact__note {
	margin: 18px 0 0;
	font-size: 0.95rem;
}

/* Place list: a card with the cover on top. */

.pos-places .pos-places__place {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
}

.pos-places__top {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	min-height: 150px;
	padding: 14px 16px;
	background: #2f3232;
}

.pos-places__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.pos-places__top:not(.pos-places__top--plain)::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(24, 26, 26, 0) 35%, rgba(24, 26, 26, 0.72) 100%);
	content: "";
}

.pos-places__logo {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	padding: 4px;
	border-radius: 6px;
	background: #fff;
	object-fit: contain;
}

.pos-places__kind {
	position: relative;
	z-index: 1;
	margin-left: auto;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pos-places__text {
	padding: 18px 22px 20px;
}

.pos-teams__logo {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	margin-block-end: 0.6rem;
	object-fit: contain;
	border-radius: 6px;
	background: #fff;
}
