.wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 1.35rem;
}

.wp-block-post-content > :where(h2, h3, h4) {
	margin-block-start: var(--wp--preset--spacing--spacious);
	margin-block-end: var(--wp--preset--spacing--small);
}

.wp-block-post-content > :where(h5, h6) {
	margin-block-start: var(--wp--preset--spacing--relaxed);
	margin-block-end: var(--wp--preset--spacing--compact);
}

.wp-block-post-content :where(p, li) {
	max-width: 68ch;
}

.wp-block-post-content :where(ul, ol) {
	padding-inline-start: 1.35rem;
}

.wp-block-post-content li + li {
	margin-block-start: 0.35rem;
}

.wp-block-quote {
	border-inline-start: 4px solid var(--wp--preset--color--primary);
	margin-inline: 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
}

.wp-block-quote p {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
}

.wp-block-quote cite {
	color: var(--wp--preset--color--foreground);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	margin-block-start: var(--wp--preset--spacing--small);
}

.wp-block-image img,
.wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--small);
	display: block;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption,
.wp-block-table figcaption {
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	margin-block-start: var(--wp--preset--spacing--compact);
}

.wp-block-button__link {
	align-items: center;
	border-radius: 0.55rem;
	box-shadow: 0 8px 20px rgba(18, 57, 71, 0.08);
	display: inline-flex;
	justify-content: center;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--deep);
	color: var(--wp--preset--color--surface);
	text-decoration: none;
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	box-shadow: none;
	color: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--deep);
}

.wp-block-table {
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table th,
.wp-block-table td {
	border-color: var(--wp--preset--color--border);
	padding: 0.85rem 1rem;
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead {
	border-bottom: 0;
}

.wp-block-table th {
	background: var(--wp--preset--color--panel);
	color: var(--wp--preset--color--foreground);
	font-weight: 700;
}

.wp-block-table.is-style-pricing-table {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--clinic-card-radius);
	box-shadow: 0 12px 32px rgba(18, 57, 71, 0.06);
}

.wp-block-table.is-style-pricing-table table {
	margin: 0;
	min-width: 640px;
}

.wp-block-table.is-style-pricing-table tbody tr:nth-child(even) {
	background: var(--wp--preset--color--background);
}

.wp-block-table.is-style-pricing-table td:nth-child(2),
.wp-block-table.is-style-pricing-table th:nth-child(2) {
	font-weight: 700;
	white-space: nowrap;
}

.wp-block-separator {
	border-color: var(--wp--preset--color--border);
}

.wp-block-query-pagination {
	gap: var(--wp--preset--spacing--normal);
	margin-block-start: var(--wp--preset--spacing--spacious);
}

.wp-block-query-pagination a,
.wp-block-post-title a {
	text-decoration: none;
}

.wp-block-query-pagination a:hover,
.wp-block-post-title a:hover {
	text-decoration: underline;
}

.wp-block-post-date,
.wp-block-post-author-name,
.wp-block-post-terms {
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-post-excerpt__more-link {
	font-weight: 700;
}

.is-style-feature-list {
	list-style: none;
	padding-inline-start: 0;
}

.is-style-feature-list li {
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.55;
	padding-inline-start: 1.75rem;
	position: relative;
}

.is-style-feature-list li::before {
	background: var(--wp--preset--color--primary);
	border-radius: 999px;
	content: "";
	height: 0.55rem;
	inset-block-start: 0.65em;
	inset-inline-start: 0.25rem;
	position: absolute;
	width: 0.55rem;
}

.is-style-card-grid {
	gap: var(--wp--preset--spacing--normal);
}

.is-style-card-grid > .wp-block-column {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--clinic-card-radius);
	padding: var(--wp--preset--spacing--relaxed);
}

.is-style-muted-section {
	background: var(--wp--preset--color--panel);
	padding: var(--wp--preset--spacing--spacious);
}

.is-style-cta-section {
	background: var(--wp--preset--color--deep);
	border-radius: var(--clinic-card-radius);
	color: var(--wp--preset--color--surface);
	padding: var(--wp--preset--spacing--spacious);
}

.is-style-cta-section :where(h1, h2, h3, h4, h5, h6, p) {
	color: inherit;
}

.is-style-cta-section .wp-block-button__link {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--deep);
}

.is-style-cta-section .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--deep);
}

.is-style-cta-section .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--surface);
}

.is-style-cta-section .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--deep);
}

@media (max-width: 700px) {
	.wp-block-table.is-style-pricing-table table {
		min-width: 0;
	}

	.wp-block-table.is-style-pricing-table thead {
		display: none;
	}

	.wp-block-table.is-style-pricing-table table,
	.wp-block-table.is-style-pricing-table tbody,
	.wp-block-table.is-style-pricing-table tr,
	.wp-block-table.is-style-pricing-table td {
		display: block;
		width: 100%;
	}

	.wp-block-table.is-style-pricing-table tr {
		border-bottom: 1px solid var(--wp--preset--color--border);
		padding: 0.85rem 1rem;
	}

	.wp-block-table.is-style-pricing-table tr:last-child {
		border-bottom: 0;
	}

	.wp-block-table.is-style-pricing-table td {
		border: 0;
		padding: 0.2rem 0;
	}

	.wp-block-table.is-style-pricing-table td::before {
		color: var(--wp--preset--color--muted);
		display: block;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		line-height: 1.35;
		margin-block-end: 0.1rem;
		text-transform: uppercase;
	}

	.wp-block-table.is-style-pricing-table td:nth-child(1)::before {
		content: "Usluga";
	}

	.wp-block-table.is-style-pricing-table td:nth-child(2)::before {
		content: "Cijena";
	}

	.wp-block-table.is-style-pricing-table td:nth-child(3)::before {
		content: "Napomena";
	}

	.is-style-card-grid > .wp-block-column,
	.is-style-muted-section,
	.is-style-cta-section {
		padding: var(--wp--preset--spacing--relaxed);
	}
}
