/* Members Area + password gate. Uses the active theme's brand color
   variables when present (var(--wp--preset--color--accent-1)), with plain
   fallbacks so the plugin still looks reasonable on any theme. */

.pcs-gate {
	max-width: 360px;
	margin: 2rem auto;
	padding: 1.75rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	text-align: center;
}

.pcs-gate-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.pcs-gate-form input[type="password"] {
	width: 100%;
	padding: 0.6rem 0.75rem;
	margin-bottom: 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	box-sizing: border-box;
}

.pcs-gate-form button {
	background: var(--wp--preset--color--accent-1, #1a1a1a);
	color: var(--wp--preset--color--base, #fff);
	border: 0;
	border-radius: 6px;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
}

.pcs-gate-error {
	color: #b32d2e;
	font-weight: 600;
}

.pcs-back-link-bottom {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
}

.pcs-meeting-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
}

.pcs-meeting-list-item {
	border-bottom: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
}

.pcs-meeting-list-item a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
	padding: 1.1rem 0.75rem;
	margin: 0 -0.75rem;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.pcs-meeting-list-item a:hover {
	background-color: var(--wp--preset--color--accent-5, #f7f7f7);
}

.pcs-meeting-list-title {
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--wp--preset--color--accent-1, inherit);
}

.pcs-meeting-list-meta {
	color: var(--wp--preset--color--accent-4, #666);
	font-size: 0.9rem;
	white-space: nowrap;
}

.pcs-badge-upcoming {
	color: var(--wp--preset--color--accent-2, #b7791f);
	font-weight: 600;
}

.pcs-back-link {
	text-decoration: none;
}

.pcs-meeting-datetime {
	color: var(--wp--preset--color--accent-4, #666);
}

.pcs-meeting-section {
	margin-top: 2rem;
	padding-top: 1.25rem;
	max-width: 860px;
	border-top: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
}

.pcs-meeting-section.pcs-photos-section {
	max-width: none;
}

.pcs-announcement {
	margin-top: 0;
	margin-bottom: 1.75rem;
	padding: 1.1rem 1.4rem;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--accent-1, #1a5fb4);
	border-radius: 6px;
	background-color: var(--wp--preset--color--accent-5, #f1f5fa);
}

.pcs-announcement.pcs-meeting-section {
	max-width: none;
}

.pcs-rich-text ul {
	list-style: disc;
	padding-left: 1.25em;
}

.pcs-rich-text ol {
	list-style: decimal;
	padding-left: 1.25em;
}

.pcs-rich-text p:last-child {
	margin-bottom: 0;
}

.pcs-meeting-section h3 {
	margin-bottom: 0.5rem;
}

.pcs-attachment-download-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pcs-attachment-download-list li {
	margin-bottom: 0.5rem;
}

.pcs-photo-preview-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1rem;
}

.pcs-photo-preview {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px 8px 8px;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcs-photo-preview:hover,
.pcs-photo-preview:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(21, 14, 99, 0.15);
}

.pcs-photo-preview-image {
	position: relative;
	flex-shrink: 0;
	display: block;
	line-height: 0;
}

.pcs-photo-preview-image img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.pcs-photo-count-badge {
	position: absolute;
	bottom: -2px;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border: 2px solid var(--wp--preset--color--base, #fff);
	border-radius: 10px;
	background: var(--wp--preset--color--accent-1, #150e63);
	color: var(--wp--preset--color--base, #fff);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.pcs-photo-preview-meta {
	display: flex;
	flex-direction: column;
}

.pcs-photo-preview-name {
	font-weight: 600;
	color: var(--wp--preset--color--accent-1, inherit);
}

.pcs-photo-preview-count {
	font-size: 0.85rem;
	color: var(--wp--preset--color--accent-4, #666);
}

/* Lightbox: click-through viewer for one person's photos at a time. */
.pcs-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 8, 40, 0.92);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pcs-lightbox[hidden] {
	display: none;
}

body.pcs-lightbox-open {
	overflow: hidden;
}

.pcs-lightbox-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 90vw;
	max-height: 90vh;
	/* Flex items default to min-width/min-height:auto, which lets oversized
	   content (the zoomed image) force this box bigger than its own
	   max-width/max-height instead of actually clipping/scrolling it.
	   Resetting both to 0 makes the max-* constraints (and overflow:auto
	   below, once zoomed) actually take effect. */
	min-width: 0;
	min-height: 0;
}

.pcs-lightbox-stage.is-zoomed {
	width: 90vw;
	height: 85vh;
	max-height: 85vh;
	overflow: auto;
	align-items: flex-start;
	justify-content: flex-start;
	cursor: grab;
}

.pcs-lightbox-stage.is-dragging {
	cursor: grabbing;
}

.pcs-lightbox-image {
	box-sizing: border-box;
	max-width: 90vw;
	max-height: 80vh;
	object-fit: contain;
	border: 6px solid #fff;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	background: #fff;
	cursor: zoom-in;
	-webkit-user-drag: none;
	user-select: none;
}

.pcs-lightbox-image.is-zoomed {
	max-width: none;
	max-height: none;
	width: auto;
	height: auto;
	cursor: zoom-out;
}

.pcs-lightbox-caption {
	color: #fff;
	margin-top: 1rem;
	font-size: 0.95rem;
	text-align: center;
}

.pcs-lightbox-caption-main {
	opacity: 0.85;
}

.pcs-lightbox-caption-filename {
	opacity: 0.55;
	font-size: 0.8rem;
	margin-top: 0.2rem;
	font-family: monospace;
}

.pcs-lightbox-download {
	display: inline-block;
	margin-top: 0.6rem;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	opacity: 0.85;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	transition: opacity 0.15s ease;
}

.pcs-lightbox-download:hover {
	opacity: 1;
}

.pcs-lightbox-close,
.pcs-lightbox-nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease;
}

.pcs-lightbox-close:hover,
.pcs-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.25);
}

.pcs-lightbox-close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	font-size: 1.1rem;
}

.pcs-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	font-size: 1.4rem;
}

.pcs-lightbox-prev {
	left: 20px;
}

.pcs-lightbox-next {
	right: 20px;
}

@media (max-width: 640px) {
	.pcs-lightbox-nav {
		width: 44px;
		height: 44px;
		font-size: 1.1rem;
	}
	.pcs-lightbox-prev {
		left: 8px;
	}
	.pcs-lightbox-next {
		right: 8px;
	}
}

/* Photo info (EXIF) panel in the lightbox */
.pcs-lightbox-info-btn {
	display: inline-block;
	margin: 0.6rem 0 0 1rem;
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.15s ease;
}

.pcs-lightbox-info-btn:hover,
.pcs-lightbox-info-btn[aria-expanded="true"] {
	opacity: 1;
}

.pcs-lightbox-exif {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
	margin: 0;
	padding: 12px 16px;
	max-width: min(360px, calc(100vw - 32px));
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	border-radius: 8px;
	font-size: 0.85rem;
	line-height: 1.35;
}

.pcs-lightbox-exif[hidden] {
	display: none;
}

.pcs-lightbox-exif dt {
	margin: 0;
	opacity: 0.6;
}

.pcs-lightbox-exif dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.pcs-lightbox-histogram-btn {
	display: inline-block;
	margin: 0.6rem 0 0 1rem;
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.15s ease;
}

.pcs-lightbox-histogram-btn:hover,
.pcs-lightbox-histogram-btn[aria-expanded="true"] {
	opacity: 1;
}

.pcs-lightbox-histogram {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	width: 220px;
	height: 110px;
	background: rgba(0, 0, 0, 0.78);
	border-radius: 8px;
}

.pcs-lightbox-histogram[hidden] {
	display: none;
}

@media (max-width: 640px) {
	.pcs-lightbox-histogram {
		width: 160px;
		height: 80px;
	}
}

/* Trip Planner ([photo_club_trip_planner]). */
.pcs-trip-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 1.5rem;
}

.pcs-trip-tab {
	padding: 0.4rem 1rem;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.15));
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.pcs-trip-tab.is-current {
	background: var(--wp--preset--color--accent-1, #1a1a1a);
	border-color: var(--wp--preset--color--accent-1, #1a1a1a);
	color: var(--wp--preset--color--base, #fff);
}

.pcs-trip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcs-trip-grid li {
	margin: 0;
}

.pcs-trip-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.1));
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcs-trip-card:hover,
.pcs-trip-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(21, 14, 99, 0.15);
}

.pcs-trip-card-image {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--wp--preset--color--accent-5, #f1f1f1);
}

.pcs-trip-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pcs-trip-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 2.5rem;
	opacity: 0.4;
}

.pcs-trip-card-image .pcs-trip-badge {
	position: absolute;
	top: 10px;
	left: 10px;
}

.pcs-trip-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px 14px;
}

.pcs-trip-card-title {
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--wp--preset--color--accent-1, inherit);
}

.pcs-trip-card-meta {
	font-size: 0.85rem;
	color: var(--wp--preset--color--accent-4, #666);
}

.pcs-trip-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.6;
	vertical-align: middle;
}

.pcs-trip-badge-done {
	background: #1e7e34;
	color: #fff;
}

.pcs-trip-badge-season {
	background: var(--wp--preset--color--accent-2, #b7791f);
	color: #fff;
}

/* Each place is a card: header row (icon, number, name) over a body. */
.pcs-trip-card-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pcs-trip-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.pcs-trip-place {
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.12));
	border-radius: 10px;
	background: var(--wp--preset--color--base, #fff);
	overflow: hidden;
	scroll-margin-top: 90px; /* map popup "Details" jumps here; clear sticky headers */
}

.pcs-trip-place:target {
	box-shadow: 0 0 0 3px var(--wp--preset--color--accent-2, #b7791f);
}

.pcs-trip-place-header {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.08));
	background: var(--wp--preset--color--accent-5, #f6f6f8);
}

.pcs-trip-place-name {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.pcs-trip-place-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 6px;
	border-radius: 13px;
	background: var(--wp--preset--color--accent-2, #b7791f);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	box-sizing: border-box;
}

.pcs-trip-place-body {
	padding: 0.8rem 1rem 1rem;
}

.pcs-trip-place-body > :last-child {
	margin-bottom: 0;
}

.pcs-trip-place-notes p {
	margin: 0 0 0.6rem;
}

.pcs-trip-section-heading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.pcs-trip-group-heading {
	margin: 1.6rem 0 0.75rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--wp--preset--color--accent-2, #b7791f);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pcs-trip-section-heading + .pcs-trip-group-heading {
	margin-top: 0.25rem;
}

.pcs-trip-place-address {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: var(--wp--preset--color--accent-4, #666);
}

/* Line icon (camera / bed / fork & knife) beside each name and in the legend. */
.pcs-trip-place-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1, #150e63);
	color: #fff;
}

.pcs-trip-place-icon svg {
	width: 18px;
	height: 18px;
}

.pcs-trip-place-hours {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
}

.pcs-trip-meal-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 0.5rem;
}

.pcs-trip-meal-tag {
	padding: 1px 10px;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.15));
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
}

.pcs-trip-place-body .pcs-trip-photo-grid {
	margin-top: 0.75rem;
}

.pcs-trip-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 0.75rem;
}

.pcs-photo-thumb {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	cursor: zoom-in;
}

.pcs-photo-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.pcs-photo-thumb:hover img {
	transform: scale(1.04);
}

.pcs-trip-months-display {
	font-weight: 600;
	font-size: 1.1rem;
}

.pcs-trip-visit-list {
	margin: 0;
	padding-left: 1.25em;
}

/* Trip Planner: "Suggest a trip". */
.pcs-trip-suggest-button {
	margin-left: auto;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-2, #b7791f);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.pcs-trip-notice {
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.2rem;
	border-left: 4px solid #1e7e34;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5, #f1f7f2);
}

.pcs-trip-notice p {
	margin: 0;
}

.pcs-trip-notice p + p {
	margin-top: 0.5rem;
}

.pcs-trip-notice-error {
	border-left-color: #b32d2e;
	background: #fcf0f1;
}

.pcs-trip-notice-warning {
	color: #8a5a00;
}

.pcs-trip-form {
	max-width: 720px;
}

.pcs-trip-form-row {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
}

.pcs-trip-form-row > label,
.pcs-trip-form-row > legend {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.pcs-trip-form input[type="text"],
.pcs-trip-form input[type="url"],
.pcs-trip-form textarea {
	width: 100%;
	padding: 0.55rem 0.7rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
}

.pcs-required {
	color: #b32d2e;
}

.pcs-trip-form-help {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	color: var(--wp--preset--color--accent-4, #666);
}

.pcs-trip-form-months label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 4.5rem;
	margin: 0 0.5rem 0.4rem 0;
	font-weight: 400;
}

.pcs-trip-suggest-location {
	margin-bottom: 1rem;
	padding: 1rem;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.12));
	border-radius: 8px;
}

.pcs-trip-suggest-location-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 1rem;
}

.pcs-trip-suggest-location-grid label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.pcs-trip-suggest-wide {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.pcs-trip-suggest-location-grid {
		grid-template-columns: 1fr;
	}
}

.pcs-trip-add-location-button,
.pcs-trip-submit {
	padding: 0.6rem 1.3rem;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

.pcs-trip-add-location-button {
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.2));
	background: transparent;
}

.pcs-trip-submit {
	border: 0;
	background: var(--wp--preset--color--accent-1, #1a1a1a);
	color: var(--wp--preset--color--base, #fff);
	font-size: 1rem;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.pcs-trip-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Nested lists (editor indent buttons). */
.pcs-rich-text ul ul,
.pcs-rich-text ol ul {
	list-style: circle;
}

.pcs-rich-text ol ol {
	list-style: lower-alpha;
}

.pcs-rich-text li > ul,
.pcs-rich-text li > ol {
	margin: 0.25em 0;
}

/* Trip map (Leaflet). */
.pcs-trip-map {
	height: 420px;
	margin-top: 0.75rem;
	border: 1px solid var(--wp--preset--color--accent-3, rgba(0, 0, 0, 0.12));
	border-radius: 10px;
	overflow: hidden;
	z-index: 0; /* keep Leaflet's panes under sticky theme headers */
}

@media (max-width: 600px) {
	.pcs-trip-map {
		height: 320px;
	}
}

.pcs-trip-map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.pcs-trip-map-legend li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pcs-trip-map-legend .pcs-trip-place-icon {
	width: 24px;
	height: 24px;
}

.pcs-trip-map-legend .pcs-trip-place-icon svg {
	width: 15px;
	height: 15px;
}

/* Map pin: a teardrop (rotated rounded square) with the icon upright inside. */
.pcs-map-pin {
	background: none;
	border: 0;
}

.pcs-map-pin-body {
	position: absolute;
	/* 34px square (30 + border) rotated 45°: its centre sits at (18, 20), so
	   the bottom corner, the pin's tip, lands on the iconAnchor (18, 44). */
	left: 1px;
	top: 3px;
	width: 30px;
	height: 30px;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--wp--preset--color--accent-1, #150e63);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	transform: rotate(-45deg);
	transform-origin: center;
	box-sizing: content-box;
}

.pcs-map-pin-glyph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	transform: rotate(45deg);
}

.pcs-map-pin-glyph svg {
	width: 18px;
	height: 18px;
}

.pcs-map-popup {
	font-size: 0.9rem;
	line-height: 1.4;
}

.pcs-map-popup-type {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #666;
}

.pcs-map-popup-links {
	margin-top: 4px;
}

.pcs-trip-suggest-meals {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.pcs-trip-suggest-meals legend {
	width: 100%;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.pcs-trip-suggest-location-grid .pcs-trip-suggest-meals label {
	flex-direction: row;
	align-items: center;
	gap: 0.35rem;
	font-weight: 400;
}

.pcs-trip-suggest-list:empty {
	display: none;
}

.pcs-trip-form fieldset + fieldset .pcs-trip-add-location-button {
	margin-top: 0;
}

/* Location pins: list number in a badge at the pin's top-right. */
.pcs-map-pin-number {
	position: absolute;
	top: -6px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 9px;
	background: var(--wp--preset--color--accent-2, #b7791f);
	color: #fff;
	font: 700 11px/14px system-ui, sans-serif;
	text-align: center;
	box-sizing: border-box;
}
