/* [ghshot_services] — live service list (GH Shot Core). */
.ghs-services,
.entry-content .ghs-services {
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.ghs-service {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "main price" "main book";
	align-items: center;
	gap: 4px 16px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-left: 4px solid var(--global-palette1, #39ff14);
	background: rgba(0, 0, 0, 0.15);
}
.ghs-service__main { grid-area: main; }
.ghs-service__name {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.15;
}
.ghs-service__facts {
	margin: 4px 0 0;
	opacity: 0.85;
}
.ghs-service__price {
	grid-area: price;
	margin: 0;
	font-weight: 700;
	font-size: 1.25rem;
	text-align: right;
	white-space: nowrap;
}
.ghs-service__book {
	grid-area: book;
	justify-self: end;
	padding: 8px 14px;
	background: var(--global-palette1, #39ff14);
	color: #1a202c;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.ghs-service__book:hover,
.ghs-service__book:focus-visible {
	background: #2fd610;
	color: #1a202c;
}

/* view="summary": one-line offer facts on cards. */
.ghs-summary {
	margin: 0.5rem 0 1rem;
	font-size: 1rem;
}
.ghs-summary__price {
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--global-palette1, #39ff14);
}

/* Phones: compact rows — name + facts, then price and a small "Zarezerwuj" on one line. */
@media (max-width: 480px) {
	.ghs-service {
		grid-template-columns: 1fr auto;
		grid-template-areas: "main main" "price book";
		padding: 12px 14px;
	}
	.ghs-service__name {
		font-size: 1.25rem;
	}
	.ghs-service__price {
		text-align: left;
	}
	.ghs-service__book {
		justify-self: end;
		padding: 8px 12px;
	}
}

.ghs-service:not(:has(.ghs-service__book)) {
	grid-template-areas: "main price";
}
@media (max-width: 480px) {
	.ghs-service:not(:has(.ghs-service__book)) {
		grid-template-areas: "main main" "price price";
	}
}

/* view="from" with a label: "Bania od 150 zł" never breaks inside. */
.ghs-from-item {
	white-space: nowrap;
	display: inline-block;
	margin: 0 0.5rem;
}
.ghs-from {
	color: var(--global-palette1, #39ff14);
}
