/*
Theme Name: Terapija Gutenberg
Theme URI: http://localhost:8083
Author: Davor
Description: Gutenberg (block) verzija teme Terapija — Site Editor, uz isti vizualni dizajn. Originalna PHP tema ostaje kao backup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: terapija-gutenberg
*/

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/playfair-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/playfair-latinext-400.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/playfair-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/playfair-latinext-600.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/playfair-latin-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/playfair-latinext-700.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/source-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/source-latinext-400.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/source-latin-500.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/source-latinext-500.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/source-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/source-latinext-600.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #f7f4ef;
	--bg-soft: #ebe6dc;
	--bg-card: #efece6;
	--bg-input: #fbfaf7;
	--green: #3d4d3a;
	--green-hover: #2f3c2d;
	--text: #2b2b28;
	--muted: #5a5853;
	--line: #ddd8cf;
	--white: #fff;
	--serif: "Playfair Display", "Times New Roman", serif;
	--sans: "Source Sans 3", "Segoe UI", sans-serif;
	--radius: 14px;
	--wrap: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

h1,
h2,
.block-title,
.brand-name {
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.wrap {
	width: min(calc(100% - 2rem), var(--wrap));
	margin: 0 auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--green);
	color: var(--white);
}

.skip-link:focus,
.skip-link.screen-reader-text:focus {
	top: 1rem;
	background: var(--green);
	color: var(--white);
	clip-path: none;
	width: auto;
	height: auto;
}

.ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 1.1rem 0 0;
}

.ornament::before,
.ornament::after {
	content: "";
	height: 1px;
	flex: 1;
	background: #2f2f2c;
}

.ornament span {
	width: 7px;
	height: 7px;
	margin: 0 0.35rem;
	border-radius: 50%;
	background: #2f2f2c;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 0.85rem 1.2rem;
	cursor: pointer;
	text-align: left;
}

.btn-primary {
	background: var(--green);
	color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: var(--green-hover);
}

.btn-outline {
	background: var(--white);
	border-color: #2f2f2c;
	color: var(--text);
}

.btn-block {
	width: 100%;
	justify-content: center;
	text-align: center;
	font-weight: 600;
	padding: 0.95rem 1.2rem;
}

.btn-split {
	width: 100%;
	justify-content: flex-start;
	padding: 0.9rem 1rem;
}

.btn-split strong,
.btn-split small {
	display: block;
}

.btn-split strong {
	font-size: 1rem;
	font-weight: 600;
}

.btn-split small {
	font-size: 0.78rem;
	font-weight: 400;
	opacity: 0.85;
}

.btn-split-icon {
	display: grid;
	place-items: center;
	width: 2rem;
	flex: 0 0 2rem;
}

.btn-split-icon svg {
	width: 22px;
	height: 22px;
}

/* Header */
.site-header {
	padding: 1.1rem 0 0.4rem;
}

.header-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.brand-name {
	font-size: 1.55rem;
	color: #2a2a27;
}

.brand-tag {
	display: flex;
	flex-direction: column;
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #4c4c47;
	line-height: 1.35;
}

.menu-toggle {
	appearance: none;
	background: none;
	border: 0;
	padding: 0.45rem 0.1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	margin-top: 0.35rem;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 1.5px;
	background: #1d1d1b;
}

.site-nav {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 40;
	background: var(--bg);
	padding: 5.5rem 1.5rem 2rem;
}

.site-nav.is-open {
	display: block;
}

.nav-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	font-size: 1.2rem;
}

.header-cta {
	width: 100%;
	justify-content: center;
}

body.nav-open,
body.booking-open {
	overflow: hidden;
}

/* Hero */
.hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 1.4rem 0 0.4rem;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-inner {
	display: flex;
	align-items: center;
	min-height: 22rem;
}

.hero-copy h1 {
	margin: 0;
	font-size: clamp(1.7rem, 7vw, 2.15rem);
	font-weight: 600;
	max-width: 12ch;
}

.hero-copy .ornament {
	max-width: 11rem;
	justify-content: flex-start;
}

.hero-copy .ornament::after {
	flex: 0.35;
}

/* Content accordion */
.content-grid {
	padding: 1.4rem 0 2rem;
}

.block {
	border-bottom: 1px solid var(--line);
}

.block > summary {
	list-style: none;
	display: grid;
	grid-template-columns: 1.6rem 1fr 1rem;
	align-items: center;
	gap: 0.7rem;
	padding: 1.05rem 0.1rem;
	cursor: pointer;
}

.block > summary::-webkit-details-marker {
	display: none;
}

.block-icon {
	display: grid;
	place-items: center;
	color: var(--green);
}

.block-icon svg {
	width: 22px;
	height: 22px;
}

.block-title {
	font-size: 1.18rem;
}

.acc-chevron,
.faq-chevron {
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid #2f2f2c;
	border-bottom: 1.5px solid #2f2f2c;
	transform: rotate(45deg);
	justify-self: end;
	margin-bottom: 0.2rem;
}

.block[open] > summary .acc-chevron,
.faq-item[open] > summary .faq-chevron {
	transform: rotate(-135deg);
	margin-bottom: -0.15rem;
}

.block-body {
	padding: 0 0 1.15rem;
}

.block-body p {
	margin: 0 0 0.85rem;
	color: var(--text);
	font-size: 0.98rem;
}

.help-list,
.service-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.help-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-bottom: 0.7rem;
}

.help-leaf {
	color: var(--green);
	flex: 0 0 1.1rem;
	margin-top: 0.15rem;
}

.help-leaf svg {
	width: 16px;
	height: 16px;
}

.service-list,
.service-list.wp-block-group {
	display: grid;
	gap: 0.7rem;
}

.service-card {
	display: grid;
	grid-template-columns: 2.4rem 1fr auto;
	align-items: center;
	gap: 0.8rem;
	background: var(--bg-card);
	border-radius: 12px;
	padding: 0.85rem 0.95rem;
}

.service-icon {
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	background: var(--green);
	display: grid;
	place-items: center;
}

.service-icon svg {
	width: 18px;
	height: 18px;
}

.service-name {
	font-weight: 600;
	font-size: 0.95rem;
}

.service-price {
	text-align: right;
	line-height: 1.25;
}

.service-price strong {
	display: block;
	font-size: 1rem;
}

.service-price span {
	font-size: 0.78rem;
	color: var(--muted);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item > summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	cursor: pointer;
	font-size: 0.98rem;
}

.faq-item > summary::-webkit-details-marker {
	display: none;
}

.faq-item p {
	margin: 0 0 0.9rem;
	color: var(--muted);
}

/* Booking / contact */
.booking {
	padding: 0 0 2rem;
}

.booking-card {
	background: #efebe4;
	border-radius: 18px;
	padding: 1.25rem 1.1rem 1.15rem;
}

.booking-intro h2,
.booking-panel-title,
.cal-title {
	margin: 0 0 1rem;
	font-size: 1.55rem;
}

.quick-contacts {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.1rem;
}

.quick-contact {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.quick-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--green);
	display: grid;
	place-items: center;
	flex: 0 0 2rem;
}

.quick-icon svg {
	width: 15px;
	height: 15px;
}

.quick-contact strong,
.quick-contact span span {
	display: block;
	line-height: 1.25;
}

.quick-contact strong {
	font-size: 0.92rem;
}

.quick-contact span span {
	font-size: 0.88rem;
	color: #3a3a36;
}

.mobile-actions {
	display: grid;
	gap: 0.7rem;
}

.booking-photo {
	margin-top: 1.15rem;
	border-radius: 12px;
	overflow: hidden;
}

.booking-photo img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: 20% 60%;
}

.booking-panel[hidden] {
	display: none;
}

.booking-panel.is-open {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 50;
	background: var(--bg);
	overflow: auto;
	padding: 1.25rem 1.1rem 2rem;
}

@media (max-width: 959px) {
	.booking-form-col,
	.wp-block-terapija-calendar {
		display: none;
	}

	body.booking-open .booking-form-col,
	body.booking-open .wp-block-terapija-calendar {
		display: block;
	}

	body.booking-open .booking-card {
		position: fixed;
		inset: 0;
		z-index: 50;
		background: var(--bg);
		overflow: auto;
		padding: 1.25rem 1.1rem 2rem;
		border-radius: 0;
	}

	body.booking-open .booking-intro,
	body.booking-open .wp-block-terapija-booking-photo {
		display: none;
	}

	body.booking-open .booking-close {
		display: block;
	}
}

.booking-form-col {
	position: relative;
}

.booking-close {
	appearance: none;
	background: none;
	border: 0;
	font-size: 2rem;
	line-height: 1;
	position: absolute;
	top: 0.6rem;
	right: 1rem;
	cursor: pointer;
}

.contact-form {
	display: grid;
	gap: 0.7rem;
}

.form-row {
	display: grid;
	gap: 0.7rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid #d5d0c7;
	background: var(--bg-input);
	border-radius: 8px;
	padding: 0.8rem 0.9rem;
	color: var(--text);
}

.contact-form textarea {
	resize: vertical;
	min-height: 8rem;
}

.form-status {
	padding: 0.75rem 0.9rem;
	border-radius: 8px;
}

.form-status.is-ok {
	background: #e4eee0;
}

.form-status.is-error {
	background: #f3e2de;
}

.selected-slot {
	margin: 0;
	font-size: 0.92rem;
	color: var(--green);
	font-weight: 600;
}

.vcard-card {
	display: none;
}

.cal-lead {
	margin: 0;
	font-weight: 600;
}

.cal-note,
.cal-foot {
	margin: 0.2rem 0 0.9rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.cal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.8rem;
	text-transform: capitalize;
}

.cal-nav button {
	appearance: none;
	background: none;
	border: 0;
	font-size: 1.1rem;
	cursor: pointer;
	padding: 0.2rem 0.45rem;
}

.cal-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.45rem 0.2rem;
	justify-items: center;
}

.cal-dow {
	font-size: 0.78rem;
	color: var(--muted);
}

.cal-day,
.cal-empty {
	width: 2.1rem;
	height: 2.1rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 0.92rem;
}

.cal-day {
	border: 0;
	background: none;
	color: inherit;
}

.cal-day.is-free {
	background: var(--green);
	color: var(--white);
	cursor: pointer;
}

.cal-day.is-selected,
.cal-time.is-selected {
	outline: 2px solid #1f2a1d;
	outline-offset: 2px;
}

.cal-times p {
	margin: 1rem 0 0.5rem;
	font-weight: 600;
}

.cal-time-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.cal-time {
	border: 1px solid var(--line);
	background: var(--white);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	cursor: pointer;
}

/* Footer */
.site-footer {
	padding: 0.4rem 0 2.2rem;
	text-align: center;
}

.footer-inner .ornament {
	max-width: 16rem;
	margin: 0 auto 1.1rem;
}

.footer-copy,
.footer-sub,
.footer-meta,
.footer-credit {
	margin: 0 0 0.25rem;
	font-size: 0.86rem;
	color: #3a3a36;
}

.footer-meta {
	display: none;
}

.page-main {
	padding: 2rem 0 4rem;
}

.page-article h1 {
	margin: 0 0 1rem;
	font-size: 2rem;
}

@media (min-width: 960px) {
	.wrap {
		width: min(calc(100% - 4.5rem), var(--wrap));
	}

	.site-header {
		padding: 1.6rem 0 0.6rem;
	}

	.header-inner {
		align-items: center;
	}

	.brand-name {
		font-size: 2rem;
	}

	.brand-tag {
		flex-direction: row;
		gap: 0.4rem;
		font-size: 0.62rem;
		letter-spacing: 0.18em;
	}

	.menu-toggle {
		display: none;
	}

	.site-nav {
		display: flex;
		position: static;
		inset: auto;
		background: none;
		padding: 0;
		align-items: center;
		gap: 1.6rem;
	}

	.nav-list {
		flex-direction: row;
		align-items: center;
		margin: 0;
		gap: 1.45rem;
		font-size: 0.95rem;
	}

	.header-cta {
		width: auto;
		padding: 0.7rem 1.05rem;
		font-size: 0.92rem;
		white-space: nowrap;
	}

	.hero {
		padding: 2.2rem 0 2.4rem;
	}

	.hero-inner {
		min-height: 32rem;
	}

	.hero-copy h1 {
		font-size: clamp(2.6rem, 4.4vw, 3.5rem);
		max-width: 11ch;
	}

	.hero-copy .ornament {
		max-width: 13rem;
		justify-content: flex-start;
		margin-top: 1.4rem;
	}

	.hero-copy .ornament::after {
		display: none;
	}

	.hero-copy .ornament span {
		margin-left: 0;
	}

	.content-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"about services"
			"help faq";
		gap: 3.2rem 4.5rem;
		padding: 1rem 0 3.4rem;
	}

	.block-about { grid-area: about; }
	.block-services { grid-area: services; }
	.block-help { grid-area: help; }
	.block-faq { grid-area: faq; }

	.block {
		border: 0;
	}

	.block > summary {
		pointer-events: none;
		padding: 0 0 0.95rem;
		grid-template-columns: 1.7rem 1fr;
	}

	.acc-chevron {
		display: none;
	}

	.block > .block-body {
		display: block !important;
	}

	.block-title {
		font-size: 1.55rem;
	}

	.booking {
		background: var(--bg-soft);
		padding: 2.6rem 0 1.4rem;
	}

	.booking-card {
		display: grid;
		grid-template-columns: 1.05fr 0.95fr 0.85fr;
		gap: 0 2rem;
		align-items: start;
		background: transparent;
		padding: 0;
	}

	.wp-block-terapija-contact,
	.wp-block-terapija-calendar,
	.wp-block-terapija-booking-photo {
		min-width: 0;
	}

	.booking-intro h2 {
		display: block;
	}

	.booking-panel-title {
		display: none;
	}

	.mobile-actions,
	.booking-close {
		display: none;
	}

	.booking-form-col,
	.wp-block-terapija-calendar {
		display: block;
		background: transparent;
	}

	.booking-panel-title,
	.cal-title {
		font-size: 1.7rem;
		margin-bottom: 1.1rem;
	}

	.form-row {
		grid-template-columns: 1fr 1fr;
	}

	.vcard-card {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		margin-top: 0.9rem;
		padding: 0.75rem 0.85rem;
		background: var(--white);
		border: 1px solid #d7d2c9;
		border-radius: 10px;
	}

	.vcard-card small,
	.vcard-card strong {
		display: block;
		line-height: 1.25;
	}

	.vcard-card small {
		color: var(--muted);
		font-size: 0.8rem;
	}

	.vcard-icon {
		color: var(--green);
	}

	.vcard-icon svg {
		width: 22px;
		height: 22px;
	}

	.booking-photo,
	.wp-block-terapija-booking-photo {
		margin: 0;
		align-self: end;
	}

	.booking-photo img {
		aspect-ratio: 4 / 5;
		border-radius: 16px;
		object-position: 30% 55%;
	}

	.footer-inner .ornament {
		display: none;
	}

	.site-footer {
		background: var(--bg-soft);
		padding: 0.4rem 0 2rem;
	}

	.footer-sub {
		display: none;
	}

	.footer-meta {
		display: block;
	}

	.footer-credit {
		display: none;
	}
}

@media (min-width: 1180px) {
	.hero-copy h1 {
		font-size: 3.55rem;
	}
}

/* Gutenberg / Full Site Editing */
.wp-site-blocks > * {
	margin-block: 0;
}

.wp-block-template-part {
	margin: 0;
}

.wp-block-terapija-content-grid,
.content-grid.wp-block-group {
	padding: 1.4rem 0 2rem;
}

.wp-block-terapija-content-grid > .block,
.wp-block-terapija-section.block {
	margin: 0;
}

.help-list.wp-block-list,
.wp-block-list.help-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.help-list li:not(:has(.help-leaf))::before {
	content: "";
	flex: 0 0 1.1rem;
	width: 16px;
	height: 16px;
	margin-top: 0.2rem;
	background: currentColor;
	color: var(--green);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M6 18c2-5 5-8 12-11-1 7-5 11-12 11z'/%3E%3Cpath d='M8 16c2-2 5-4 9-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq-list .wp-block-details,
.faq-list .faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-list .wp-block-details > summary,
.faq-item > summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	cursor: pointer;
	font-size: 0.98rem;
}

.faq-list .wp-block-details > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker {
	display: none;
}

.faq-list .wp-block-details > summary::after,
.faq-item > summary:not(:has(.faq-chevron))::after {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid #2f2f2c;
	border-bottom: 1.5px solid #2f2f2c;
	transform: rotate(45deg);
	flex: 0 0 0.55rem;
	margin-bottom: 0.2rem;
}

.faq-list .wp-block-details[open] > summary::after,
.faq-item[open] > summary:not(:has(.faq-chevron))::after {
	transform: rotate(-135deg);
	margin-bottom: -0.15rem;
}

.faq-list .wp-block-details > p,
.faq-list .wp-block-details .wp-block-paragraph {
	margin: 0 0 0.9rem;
	color: var(--muted);
}

.block-body > .wp-block-list,
.block-body > .wp-block-group {
	margin: 0;
}

.page-content,
.wp-block-post-content {
	font-size: 1rem;
}

.page-content > *,
.wp-block-post-content > * {
	max-width: 100%;
}

@media (min-width: 960px) {
	.wp-block-terapija-content-grid,
	.content-grid.wp-block-group,
	.content-grid.wp-block-group.is-layout-flow,
	.content-grid.wp-block-group.is-layout-constrained {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"about services"
			"help faq";
		gap: 3.2rem 4.5rem;
		padding: 1rem 0 3.4rem;
	}

	.wp-block-terapija-booking.booking,
	.wp-block-terapija-footer.site-footer {
		width: 100%;
	}
}
