/* The place overview (`steder`), layout A: the approved mockup of 2026-11-04.
   Loaded on this page only. ui-core's semantic roles only; the width is the theme's frame. */

/* The band below reaches the window's edges; the sheet is on this page only. Clip keeps the sticky header working. */
body { overflow-x: clip; }
.ut-pv-places { container: places / inline-size; }
.ut-pv-pl-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Map band: full width, with the panel floating in the theme's frame. It starts
   straight under the menu, as the theme lets a full-width first block do. */
.wp-site-blocks > main:has(> .wp-block-post-content:first-child > .ut-pv-places-page:first-child .ut-pv-pl-map--wide) { margin-block-start: 0; }
.ut-pv-pl-hero { position: relative; width: 100vw; margin-inline: calc(50% - 50vw); min-height: 520px; display: flex; align-items: center; background: var(--ut-brand-surface); border-bottom: 1px solid var(--ut-border); }
.ut-pv-pl-hero--plain { min-height: 0; background: none; border-bottom: 0; }
.ut-pv-pl-hero-wrap { position: relative; z-index: 7; width: 100%; max-width: calc(var(--wp--style--global--wide-size, 72rem) + 48px); margin-inline: auto; padding: 24px; pointer-events: none; }
.ut-pv-pl-panel { pointer-events: auto; width: 392px; max-width: 100%; background: var(--ut-surface); border-radius: 12px; padding: 20px 24px 18px; box-shadow: 0 10px 30px rgb(25 28 31 / 0.16), 0 1px 2px rgb(25 28 31 / 0.08); }
.ut-pv-pl-hero--plain .ut-pv-pl-panel { box-shadow: none; padding-inline: 0; background: none; }
.ut-pv-pl-lead { margin: 10px 0 0; color: var(--ut-content-muted); font-size: 0.9375rem; line-height: 1.45; }
/* Designmalen (B-FP-526, rad 4.45c-13): the head is ui-core's list head, in the
   panel over the map and one level down. A host's paragraph margin must not reach
   its sentence (the page template's reset has no weight). */
.ut-ui .ut-pv-places .ut-ui-page-head { margin: 12px 0 0; }
.ut-ui .ut-pv-places .ut-ui-page-head__intro { margin-bottom: 0; font-size: 0.9375rem; line-height: 1.45; }
.ut-ui .ut-pv-pl-tophead .ut-ui-page-head { margin: 0; }
.ut-pv-pl-new { margin: 12px 0 0; }

.ut-pv-pl-finder { margin-top: 16px; }
.ut-pv-pl-finder__label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 5px; }
.ut-pv-pl-finder__field { position: relative; }
.ut-pv-pl-finder__icon { position: absolute; z-index: 1; left: 11px; top: 11px; color: var(--ut-content-subtle); pointer-events: none; }
.ut-ui .ut-pv-pl-finder__field input { padding-left: 36px !important; min-height: 40px; }
.ut-pv-pl-sums { display: flex; gap: 26px; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ut-border); }
.ut-pv-pl-sums div { display: flex; flex-direction: column-reverse; }
.ut-pv-pl-sums dt { font-size: 0.75rem; color: var(--ut-content-subtle); }
.ut-pv-pl-sums dd { margin: 0; font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.ut-pv-pl-nopin { margin: 10px 0 0; font-size: 0.8125rem; line-height: 1.35; color: var(--ut-content-muted); }
.ut-pv-pl-links, .ut-pv-pl-more { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 0.875rem; }
.ut-pv-pl-more { gap: 6px 22px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--ut-border); font-size: 0.9375rem; }
.ut-pv-pl-links a, .ut-pv-pl-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--ut-link); font-weight: 600; text-decoration: none; }
.ut-pv-pl-links a:hover, .ut-pv-pl-more a:hover { text-decoration: underline; }
.ut-pv-pl-links .ut-pv-pl-ic, .ut-pv-pl-more .ut-pv-pl-ic { width: 15px; height: 15px; }

/* The fixed map. A marker's position is a percentage of the canvas. */
.ut-pv-pl-map { position: absolute; inset: 0; overflow: hidden; background: var(--ut-brand-surface); }
.ut-pv-pl-map__canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max(100%, 1600px); background-size: 100% 100%; filter: saturate(0.92); }
.ut-pv-pl-map--narrow { display: none; }
.ut-pv-pl-map__open { position: absolute; z-index: 4; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px 0 10px; background: var(--ut-surface); border-radius: var(--ut-radius-control); box-shadow: 0 1px 5px rgb(0 0 0 / 0.3); color: var(--ut-link); font-size: 0.8125rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ut-pv-pl-map__open:hover { text-decoration: underline; }
.ut-pv-pl-map__open .ut-pv-pl-ic { width: 16px; height: 16px; }
.ut-pv-pl-map__credit { position: absolute; z-index: 4; right: 6px; bottom: 4px; max-width: min(80%, 44rem); margin: 0; padding: 0 5px; background: rgb(255 255 255 / 0.85); border-radius: 3px; font-size: 0.6875rem; line-height: 1.4; color: var(--ut-content-muted); }
.ut-pv-pl-map__credit a { color: inherit; text-decoration: none; }
.ut-pv-pl-map__credit a:hover { text-decoration: underline; }

.ut-pv-pl-pin { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 6px; transform: translate(-11px, -50%); background: var(--ut-surface); border: 1px solid rgb(25 28 31 / 0.2); border-radius: 999px; box-shadow: 0 1px 4px rgb(0 0 0 / 0.28); font-size: 0.75rem; font-weight: 600; line-height: 1; color: var(--ut-content); text-decoration: none; white-space: nowrap; transition: background 0.12s, color 0.12s, box-shadow 0.12s; }
.ut-pv-pl-pin.is-left { flex-direction: row-reverse; padding: 0 6px 0 10px; transform: translate(calc(-100% + 11px), -50%); }
.ut-pv-pl-pin__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ut-brand); box-shadow: 0 0 0 2px var(--ut-surface), 0 0 0 3px var(--ut-brand); flex: none; }
.ut-pv-pl-pin__count { font-size: 0.6875rem; font-weight: 600; color: var(--ut-content-subtle); border-left: 1px solid var(--ut-border); padding-left: 6px; }
.ut-pv-pl-pin:hover, .ut-pv-pl-pin.is-hover, .ut-pv-pl-pin.is-on { background: var(--ut-brand); color: #fff; border-color: var(--ut-brand); z-index: 5; box-shadow: 0 2px 10px rgb(0 0 0 / 0.35); }
.ut-pv-pl-pin:hover .ut-pv-pl-pin__count, .ut-pv-pl-pin.is-hover .ut-pv-pl-pin__count, .ut-pv-pl-pin.is-on .ut-pv-pl-pin__count { color: #fff; border-left-color: rgb(255 255 255 / 0.4); }
.ut-pv-pl-pin:hover .ut-pv-pl-pin__dot, .ut-pv-pl-pin.is-hover .ut-pv-pl-pin__dot, .ut-pv-pl-pin.is-on .ut-pv-pl-pin__dot { background: #fff; box-shadow: 0 0 0 2px var(--ut-brand), 0 0 0 3px rgb(255 255 255 / 0.7); }
.ut-pv-pl-pin::after { content: ""; position: absolute; inset: -9px 0; }
.ut-pv-pl-pin:focus-visible { outline: 2px solid var(--ut-focus-ring-color, currentColor); outline-offset: 2px; z-index: 6; }
/* Too many names for the room: a dot; the name shows on hover and focus, and stays for screen readers. */
.ut-pv-pl-pin.is-dot { padding: 0 6px; background: transparent; border-color: transparent; box-shadow: none; }
.ut-pv-pl-pin.is-dot .ut-pv-pl-pin__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ut-pv-pl-pin.is-dot:hover, .ut-pv-pl-pin.is-dot:focus-visible, .ut-pv-pl-pin.is-dot.is-hover, .ut-pv-pl-pin.is-dot.is-on { padding: 0 10px 0 6px; background: var(--ut-brand); }
.ut-pv-pl-pin.is-dot:hover .ut-pv-pl-pin__name, .ut-pv-pl-pin.is-dot:focus-visible .ut-pv-pl-pin__name, .ut-pv-pl-pin.is-dot.is-hover .ut-pv-pl-pin__name, .ut-pv-pl-pin.is-dot.is-on .ut-pv-pl-pin__name { position: static; width: auto; height: auto; clip-path: none; }
.ut-pv-pl-pin.is-dot:focus-visible { color: #fff; }

/* The small card from a marker. */
.ut-pv-pl-pop { position: absolute; z-index: 8; width: 256px; background: var(--ut-surface); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgb(25 28 31 / 0.28); }
.ut-pv-pl-pop__img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ut-pv-pl-pop__x { position: absolute; z-index: 3; right: 6px; top: 6px; width: 28px; height: 28px; display: grid; place-items: center; background: rgb(255 255 255 / 0.92); border: 0; border-radius: 50%; cursor: pointer; color: var(--ut-content); font-size: 1.125rem; line-height: 1; }
.ut-pv-pl-pop__body { padding: 10px 12px 12px; }
.ut-pv-pl-pop__name { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; padding-right: 26px; }
.ut-pv-pl-pop__line { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ut-content-muted); line-height: 1.3; }
.ut-pv-pl-pop__fresh { margin: 5px 0 0; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--ut-content-muted); }
.ut-pv-pl-pop__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ut-ui .ut-pv-pl-pop__acts .ut-pv-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 10px; font-size: 0.75rem; font-weight: 600; border-radius: var(--ut-radius-control); text-decoration: none; }
.ut-ui .ut-pv-pl-pop__acts .ut-pv-btn-primary { background: var(--ut-brand); color: #fff; border: 1px solid var(--ut-brand); }
.ut-ui .ut-pv-pl-pop__kids { background: var(--ut-surface); color: var(--ut-link); border: 1px solid var(--ut-border-strong); }

/* Under the map. */
.ut-pv-pl-after { padding-block: 28px 56px; }
.ut-pv-pl-top { padding-top: 18px; }
.ut-pv-pl-top + .ut-pv-pl-after { padding-top: 0; }
.ut-pv-pl-tophead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr); gap: 32px; align-items: end; margin: 14px 0 22px; }
.ut-pv-pl-topfinder .ut-pv-pl-finder { margin: 0; }

.ut-pv-pl-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; }
.ut-pv-pl-tools__right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.ut-pv-pl-sort select { width: auto; min-width: 150px; min-height: 40px; }
.ut-pv-pl-tools .ut-ui-filter-buttons__button { white-space: nowrap; flex: none; }
.ut-pv-places.has-js .ut-pv-pl-apply { display: none; }
/* The count line (B-FP-526): plain text, the way back beside it. */
.ut-ui .ut-pv-places .ut-pv-pl-result { display: block; margin: 14px 0; color: var(--ut-content-muted); font-size: 0.9375rem; }
.ut-ui .ut-pv-places .ut-pv-pl-result .ut-pv-cat-result-count { color: var(--ut-content); font-weight: 650; }
.ut-ui .ut-pv-places .ut-pv-pl-clear { margin-left: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--ut-link); text-decoration: none; }
.ut-ui .ut-pv-places .ut-pv-pl-clear:hover { text-decoration: underline; }
/* No places: the page template's calm surface. */
.ut-ui .ut-pv-places .ut-pv-pl-empty { margin: 18px 0 8px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-align: left; }
.ut-ui .ut-pv-places .ut-ui-blank__text { margin: 0 0 0.375rem; }
.ut-pv-places[aria-busy] .ut-pv-pl-after { opacity: 0.6; }

/* The card. */
.ut-pv-pl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ut-pv-pl-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ut-pv-pl-card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; background: var(--ut-surface); border: 1px solid var(--ut-border); border-radius: var(--ut-radius-card); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.ut-pv-pl-card:hover { border-color: var(--ut-border-strong); box-shadow: 0 6px 20px rgb(25 28 31 / 0.08); }
.ut-pv-pl-card:focus-within { outline: 2px solid var(--ut-focus-ring-color, currentColor); outline-offset: 2px; }
.ut-pv-pl-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ut-brand-surface); flex: none; }
.ut-pv-pl-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ut-pv-pl-card:hover .ut-pv-pl-img { transform: scale(1.035); }
.ut-pv-pl-mapdot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ut-brand); box-shadow: 0 0 0 3px #fff, 0 1px 6px 3px rgb(0 0 0 / 0.25); }
.ut-pv-pl-calm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; background: var(--ut-surface); border-radius: 50%; color: var(--ut-brand); box-shadow: 0 1px 3px rgb(25 28 31 / 0.14); }
.ut-pv-pl-alert { position: absolute; z-index: 1; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px); padding: 4px 10px 4px 8px; background: #fff4e0; color: #6b4500; border-radius: 999px; font-size: 0.75rem; font-weight: 600; line-height: 1.25; box-shadow: 0 1px 3px rgb(25 28 31 / 0.2); }
.ut-pv-pl-alert .ut-pv-pl-ic { width: 14px; height: 14px; }
.ut-pv-pl-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; padding: 13px 16px 15px; }
.ut-ui .ut-pv-pl-name { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.ut-pv-pl-name a { color: var(--ut-content); text-decoration: none; }
.ut-pv-pl-name a:focus { outline: none; }
.ut-pv-pl-name a::after { content: ""; position: absolute; inset: 0; }
.ut-pv-pl-card:hover .ut-pv-pl-name a { color: var(--ut-link); }
.ut-pv-pl-tag { margin: 0; color: var(--ut-content-muted); font-size: 0.875rem; line-height: 1.35; }
.ut-pv-pl-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; font-size: 0.8125rem; line-height: 1.3; color: var(--ut-content-muted); }
.ut-pv-pl-facts li { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.ut-pv-pl-facts .ut-pv-pl-ic { width: 16px; height: 16px; margin-inline: 1px; color: var(--ut-content-subtle); }
.ut-pv-pl-facts .ut-pv-pl-alertrow { display: none; }
.ut-pv-pl-dot { width: 8px; height: 8px; margin-inline: 5px 4px; border-radius: 50%; background: var(--ut-border-strong); flex: none; display: inline-block; }
.ut-pv-pl-dot.is-hot { background: #3f8e52; box-shadow: 0 0 0 3px rgb(63 142 82 / 0.18); }
.ut-pv-pl-under { position: relative; z-index: 1; margin-top: auto; padding-top: 9px; }
.ut-pv-pl-under__all { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--ut-link); text-decoration: none; }
.ut-pv-pl-under__all .ut-pv-pl-ic { width: 15px; height: 15px; }
.ut-pv-pl-under__all:hover { text-decoration: underline; }
.ut-pv-pl-under__list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.ut-pv-pl-under__list a { padding: 2px 9px; border: 1px solid var(--ut-border-strong); border-radius: 999px; background: var(--ut-surface); font-size: 0.75rem; line-height: 1.5; color: var(--ut-content); text-decoration: none; }
.ut-pv-pl-under__list a:hover { border-color: var(--ut-link); color: var(--ut-link); }
.ut-pv-pl-credit { margin: 10px 0 0; text-align: right; font-size: 0.6875rem; color: var(--ut-content-subtle); }
.ut-pv-pl-credit a { color: inherit; }
.ut-pv-pl-gap { align-self: center; padding-inline: 4px; color: var(--ut-content-subtle); }
.ut-pv-pl-pager { margin-top: 20px; }

/* The list view (B-FP-526): ui-core's shared row on one white surface. */
.ut-pv-pl-rows { --ut-row-end: 1.125rem; list-style: none; margin: 0; padding: 0; background: var(--ut-surface); border: 1px solid var(--ut-border); border-radius: var(--ut-radius-card); overflow: hidden; }
.ut-pv-pl-rows.has-under { --ut-row-end: 10rem; }
.ut-ui-page .ut-pv-pl-rows > .ut-ui-rows__item { margin: 0; }
.ut-ui-page .ut-pv-pl-rows > .ut-ui-rows__item:first-child { border-top: 0; }
.ut-pv-pl-rowunder { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 0.875rem; font-weight: 600; color: var(--ut-link); text-decoration: none; white-space: nowrap; }
.ut-pv-pl-rowunder .ut-pv-pl-ic { width: 14px; height: 14px; }
.ut-pv-pl-rowunder:hover { text-decoration: underline; }
.ut-ui .ut-pv-places .ut-pv-pl-rowunder { color: var(--ut-link); }

/* Medium width. */
@container places (max-width: 1100px) {
	.ut-pv-pl-panel { width: 340px; }
	.ut-pv-pl-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container places (max-width: 980px) {
	.ut-pv-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow: the panel first, the map as a band below it. */
@container places (max-width: 899px) {
	.ut-pv-pl-hero { display: block; min-height: 0; background: none; border: 0; }
	.ut-pv-pl-hero-wrap { padding: 16px 16px 0; }
	.ut-pv-pl-hero:has(.ut-pv-pl-map--wide) .ut-pv-pl-hero-wrap { padding-top: 36px; }
	.ut-pv-pl-panel { width: auto; background: none; box-shadow: none; border-radius: 0; padding: 0; }
	.ut-pv-pl-map--wide { display: none; }
	.ut-pv-pl-map--narrow { display: block; position: relative; inset: auto; height: 300px; margin-top: 16px; }
	.ut-pv-pl-map--narrow .ut-pv-pl-map__canvas { width: max(100%, 760px); }
	.ut-pv-pl-map--narrow .ut-pv-pl-pop { left: 10px; right: 10px; bottom: 10px; width: auto; display: grid; grid-template-columns: 92px minmax(0, 1fr); }
	.ut-pv-pl-map--narrow .ut-pv-pl-pop__img { aspect-ratio: auto; height: 100%; }
	.ut-pv-pl-after { padding-block: 20px 36px; }
}
@container places (max-width: 759px) {
	.ut-pv-pl-grid, .ut-pv-pl-grid--four { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ut-pv-pl-card { flex-direction: row; }
	.ut-pv-pl-card .ut-pv-pl-media { width: 112px; aspect-ratio: auto; align-self: stretch; min-height: 112px; }
	.ut-pv-pl-card .ut-pv-pl-alert { display: none; }
	.ut-pv-pl-facts .ut-pv-pl-alertrow { display: flex; color: #6b4500; font-weight: 600; }
	.ut-pv-pl-facts .ut-pv-pl-alertrow .ut-pv-pl-ic { color: #6b4500; }
	.ut-pv-pl-body { padding: 10px 12px 11px; gap: 3px; }
	.ut-ui .ut-pv-pl-name { font-size: 1.0625rem; }
	.ut-pv-pl-tag { font-size: 0.8125rem; }
	.ut-pv-pl-facts { font-size: 0.75rem; gap: 3px; margin-top: 3px; }
	.ut-pv-pl-facts .ut-pv-pl-ic { width: 14px; height: 14px; }
	.ut-pv-pl-calm { width: 32px; height: 32px; }
	.ut-pv-pl-calm .ut-pv-pl-ic { width: 15px; height: 15px; }
	.ut-pv-pl-mapdot { width: 11px; height: 11px; margin: -5px 0 0 -5px; }
	.ut-pv-pl-under { padding-top: 5px; }
	.ut-pv-pl-under__all { font-size: 0.75rem; }
	.ut-pv-pl-under__list { display: none; }
	.ut-pv-pl-tools { flex-direction: column; align-items: stretch; }
	.ut-pv-pl-tools__right { min-width: 0; max-width: 100%; flex-wrap: wrap; margin-left: 0; justify-content: space-between; }
	.ut-pv-pl-tools .ut-ui-filter-buttons { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; }
	.ut-pv-pl-rows, .ut-pv-pl-rows.has-under { --ut-row-end: 0; }
	.ut-pv-pl-tophead { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
}
@media (pointer: coarse) {
	.ut-pv-pl-tools .ut-ui-filter-buttons__button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.ut-pv-pl-img, .ut-pv-pl-pin, .ut-pv-pl-card { transition: none; }
}
@container places (max-width: 899px) {
	.ut-pv-pl-map--narrow .ut-pv-pl-map__credit { max-width: calc(100% - 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
