/* ==========================================================================
   Macháč Reality – styly webu
   Mobilní verze je základ, větší obrazovky se doplňují přes min-width.
   Písma: systémová (žádné stahování fontů = rychlost a GDPR bez starostí).
   ========================================================================== */

:root {
	--navy: #1c2a45;
	--navy-2: #273b60;
	--navy-deep: #131d31;
	--sage: #4e6b58;
	--sage-light: #dce6df;
	--mist: #eef2ef;
	--ink: #18212d;
	--muted: #556170;
	--line: #d9e0db;
	--white: #fff;
	--danger: #a8231b;

	--serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--max: 1200px;
	--narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--radius: 6px;
	--header-h: 68px;
	--section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font: 1.0625rem/1.65 var(--sans);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--sage); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.icon { flex: none; width: 1.15em; height: 1.15em; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

/* ---------- Tlačítka ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.4rem;
	font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
	border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary, .wp-block-button__link { background: var(--navy); color: var(--white); }
.btn--primary:hover, .wp-block-button__link:hover { background: var(--navy-2); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sage-light); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--lg { min-height: 54px; padding-inline: 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.brand__sub { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.brand--logo img { max-height: 48px; width: auto; }

.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; background: none; border: 1px solid var(--line); border-radius: var(--radius); font: 600 .95rem var(--sans); color: var(--navy); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav { display: none; }
.menu, .footer-menu, .legal-menu, .social-links, .contact-list { list-style: none; margin: 0; padding: 0; }

@media (max-width: 959px) {
	.nav-open { overflow: hidden; }
	.nav-open .main-nav {
		display: flex; flex-direction: column; gap: 1.5rem;
		position: fixed; inset: var(--header-h) 0 0; background: var(--white);
		padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
	}
	.admin-bar.nav-open .main-nav { top: calc(var(--header-h) + 46px); }
	.main-nav .menu a { display: block; padding: .9rem 0; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { list-style: none; padding-left: 1rem; }
	.main-nav .sub-menu a { font-size: 1.15rem; }
	.header-phone { align-self: flex-start; }
}

@media (min-width: 960px) {
	:root { --header-h: 80px; }
	.nav-toggle { display: none; }
	.main-nav { display: flex; align-items: center; gap: 2rem; }
	.main-nav .menu { display: flex; gap: 1.75rem; }
	.main-nav .menu > li { position: relative; }
	.main-nav .menu a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .5rem 0; border-bottom: 2px solid transparent; }
	.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current-page-ancestor > a, .main-nav .current_page_parent > a { border-bottom-color: var(--sage); color: var(--navy); }
	.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 260px; list-style: none; margin: 0; padding: .5rem 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(28,42,69,.12); }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
	.main-nav .sub-menu a { display: block; padding: .5rem 1rem; border: 0; }
}
.header-phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem; border: 2px solid var(--navy); border-radius: 999px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone:hover { background: var(--navy); color: var(--white); }

/* ---------- Úvodní sekce (hero) ---------- */
.hero { background: var(--white); }
.hero__grid { display: grid; gap: 2rem; padding-block: clamp(2rem, 6vw, 3rem) 0; }
.hero__text { padding-inline: var(--gutter); }
.hero__kicker { color: var(--sage); font-weight: 600; margin-bottom: 1rem; }
.hero__title { font-size: clamp(2.15rem, 1.2rem + 3.8vw, 4.1rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 1.25rem; max-width: 16ch; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.75rem; }
.hero__phone { margin: 1.25rem 0 0; color: var(--muted); }
.hero__phone a { font-weight: 700; color: var(--navy); white-space: nowrap; }
.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 55% 22%; }
@media (max-width: 959px) {
	.hero__grid { padding-top: 0; gap: 1.75rem; }
	.hero__media { order: -1; }
}
@media (max-width: 599px) {
	.hero .btn { flex: 1 1 100%; }
}

@media (min-width: 960px) {
	.hero__grid {
		grid-template-columns:
			[full-start] minmax(var(--gutter), 1fr)
			[content-start] minmax(0, calc(var(--max) * .5))
			[mid] minmax(0, calc(var(--max) * .5))
			[content-end] minmax(var(--gutter), 1fr) [full-end];
		gap: 0; padding: 0; align-items: center;
	}
	.hero__text { grid-column: content-start / mid; padding: 4rem 3.5rem 4rem 0; }
	.hero__media { grid-column: mid / full-end; align-self: stretch; }
	.hero__img { height: 100%; min-height: min(78vh, 720px); aspect-ratio: auto; border-bottom-left-radius: 140px; }
}

/* ---------- Sekce ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); color: var(--muted); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section__head--row > div { max-width: 40rem; }
.section__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.section__title--sm { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.prose { color: var(--muted); font-size: 1.1rem; }

/* Představení */
.intro__grid { display: grid; gap: 2.5rem; align-items: center; }
.intro__text { max-width: 44rem; }
.intro__media img { border-radius: var(--radius); width: 100%; }
@media (min-width: 900px) {
	.intro__grid:has(.intro__media) { grid-template-columns: 380px 1fr; gap: 4rem; }
	.intro__text .section__title { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
	.intro__grid:not(:has(.intro__media)) .intro__text { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 4rem; }
	.intro__grid:not(:has(.intro__media)) .intro__text > * { grid-column: 2; }
	.intro__grid:not(:has(.intro__media)) .intro__text > .section__title { grid-column: 1; grid-row: 1 / span 3; }
}

/* Služby */
.service-list { display: grid; gap: 0 2.5rem; }
@media (min-width: 700px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-list { grid-template-columns: repeat(3, 1fr); } }
.service-item { display: flex; flex-direction: column; padding: 1.75rem 0 2rem; border-top: 2px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.service-item:hover { border-top-color: var(--sage); color: var(--ink); }
.service-item__title { font-size: 1.4rem; margin-bottom: .5rem; }
.service-item__text { color: var(--muted); flex: 1; }
.service-item__more { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.service-list--page { margin-top: 2rem; }

/* Proč se mnou */
.why__grid { display: grid; gap: 2rem; }
.why__list { display: grid; gap: 0 3rem; }
.why__item { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.why__item h3 { margin-bottom: .4rem; }
.why__item p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
	.why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; align-items: start; }
	.why__title { position: sticky; top: calc(var(--header-h) + 2rem); }
	.why__list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Nemovitosti ---------- */
.property-grid { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 700px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }
.property-card__link { display: block; color: inherit; text-decoration: none; }
.property-card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sage-light); aspect-ratio: 4 / 3; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.property-card__link:hover img { transform: scale(1.03); }
.property-card__noimg { width: 100%; height: 100%; }
.property-card__body { padding-top: 1rem; }
.property-card__title { font-size: 1.3rem; margin-bottom: .3rem; }
.property-card__link:hover .property-card__title { text-decoration: underline; text-decoration-color: var(--sage); }
.property-card__loc, .property-card__facts { color: var(--muted); margin: 0 0 .2rem; font-size: .97rem; }
.property-card__price { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin: .5rem 0 0; }
.property-card.is-prodano img { filter: grayscale(.6); }
.badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--white); color: var(--navy); }
.property-card__media .badge { position: absolute; top: .8rem; left: .8rem; }
.badge--prodano { background: var(--navy); color: var(--white); }
.badge--rezervace { background: var(--sage); color: var(--white); }

.filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; }
.filter a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; }
.filter a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.pagination { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

.empty-state { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); max-width: 40rem; color: var(--muted); }
.empty-state strong { color: var(--navy); }
.empty-state p:last-child { margin-bottom: 0; }

/* Detail nemovitosti */
.page-header--property { padding-bottom: 1.5rem; }
.page-header--property .badge { background: var(--navy); color: var(--white); margin-bottom: .75rem; }
.page-header--property .badge--rezervace { background: var(--sage); }
.property__loc { display: flex; align-items: center; gap: .4rem; color: var(--muted); margin: 0; }

.gallery { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { position: relative; flex: 0 0 88%; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--sage-light); }
.gallery:not(.gallery--multi) .gallery__item { flex-basis: 100%; }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__item--hidden { display: none; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(19,29,49,.55); color: var(--white); font-weight: 700; font-size: 1.2rem; }
@media (min-width: 900px) {
	.gallery { margin: 0; padding: 0; overflow: visible; }
	.gallery--multi { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: min(62vh, 560px); }
	.gallery--multi .gallery__item:first-child { grid-row: span 2; }
	.gallery--multi .gallery__item img { aspect-ratio: auto; }
	.gallery:not(.gallery--multi) .gallery__item img { max-height: 620px; }
}

.property__layout { display: grid; gap: 2.5rem; padding-block: 2.5rem var(--section); }
@media (min-width: 960px) {
	.property__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
	.property__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.params { margin-top: 2.5rem; }
.params h2 { font-size: 1.6rem; }
.params dl { margin: 0; display: grid; }
@media (min-width: 600px) { .params dl { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.params dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.params dt { color: var(--muted); }
.params dd { margin: 0; font-weight: 600; text-align: right; }

.price-card { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; display: grid; gap: .75rem; background: var(--white); }
.price-card__label { margin: 0; color: var(--muted); font-size: .9rem; }
.price-card__price { margin: 0; font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.1; }
.price-card__note { margin: 0; color: var(--muted); font-size: .95rem; }
.price-card__agent { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; margin: .25rem 0; border-block: 1px solid var(--line); }
.price-card__agent p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.price-card__agent strong { color: var(--ink); }
.price-card__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.back-link { margin: 0 0 var(--section); }

/* ---------- Reference ---------- */
.ref-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .ref-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.ref-card { margin: 0; padding: 2rem; background: var(--mist); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.ref-card__text { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.ref-card__text p:last-child { margin: 0; }
.ref-card__who { display: flex; align-items: center; gap: .9rem; color: var(--muted); font-size: .95rem; }
.ref-card__who strong { display: block; color: var(--navy); }
.ref-card__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* ---------- Kontaktní pás a formulář ---------- */
.contact-band { background: var(--navy); color: #d6dde6; padding-block: var(--section); }
.contact-band__grid { display: grid; gap: 2.5rem; }
.contact-band__title { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); }
.contact-band__info > p { font-size: 1.1rem; max-width: 30rem; }
.contact-band .contact-list a, .contact-band .contact-list span { color: var(--white); }
.contact-band .icon { color: #9fb8a7; }
.contact-band__form { background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 960px) { .contact-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4rem; align-items: start; } }

.contact-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.contact-list li { display: flex; align-items: flex-start; gap: .7rem; }
.contact-list .icon { margin-top: .25em; color: var(--sage); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--large { font-size: 1.2rem; }
.contact-list__map { display: inline-block; font-size: .95rem; font-weight: 500 !important; text-decoration: underline !important; }

.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: .7rem .9rem;
	font: inherit; color: var(--ink); background: var(--white);
	border: 1px solid #b9c4bd; border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sage-light); border-color: var(--sage); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid,
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; flex: none; accent-color: var(--navy); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.field--check.is-invalid label { color: var(--danger); }
.form__submit { margin: .5rem 0 0; }
.form__submit .btn { width: 100%; }
@media (min-width: 600px) { .form__submit .btn { width: auto; min-width: 220px; } }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.form-message p:last-child { margin: 0; }
.form-message--ok { background: var(--sage-light); color: var(--navy); }
.form-message--error { background: #fbe9e7; color: var(--danger); }

/* Kontaktní stránka */
.contact-page { display: grid; gap: 2.5rem; padding-block: 1rem var(--section); }
@media (min-width: 960px) { .contact-page { grid-template-columns: 380px minmax(0, 1fr); gap: 4rem; align-items: start; } }
.agent-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.agent-card__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 25%; }
.agent-card__body { padding: 1.5rem; }
.agent-card__name { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin: 0; }
.agent-card__role { color: var(--muted); margin: 0; }
.agent-card__area, .agent-card__ico { color: var(--muted); font-size: .95rem; margin: 0 0 .3rem; }

/* ---------- Výzva na podstránkách ---------- */
.cta-band { background: var(--navy); color: #d6dde6; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
.cta-band p { margin: 0; max-width: 34rem; font-size: 1.1rem; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- Podstránky a obsah z editoru ---------- */
.page-header { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem); }
.page-header__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); margin-bottom: .4em; }
.page-header--404 { padding-block: var(--section); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

.entry-content { padding-bottom: var(--section); }
.entry-content--intro { padding-bottom: 0; max-width: var(--narrow); }
.property__main .entry-content { padding-bottom: 0; }
.entry-content > * { max-width: var(--narrow); }
.entry-content > .alignwide { max-width: var(--max); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-top: 2.2em; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content li { margin-bottom: .4em; }
.entry-content .wp-block-image { margin: 0 0 2rem; }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .wp-block-buttons { margin-top: 2rem; }
.entry-content blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 3px solid var(--sage); font-family: var(--serif); font-size: 1.2rem; }
.is-lead, .entry-content .is-lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--muted); }
.list-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Patička ---------- */
.site-footer { background: var(--navy-deep); color: #b9c3cf; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .97rem; }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer__name { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }
.site-footer__heading { color: var(--white); font-weight: 700; margin-bottom: .75rem; }
.site-footer .contact-list { margin-top: 0; }
.site-footer .contact-list .icon { color: #9fb8a7; }
.footer-menu li { margin-bottom: .45rem; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 1.5rem; }

/* ---------- Mobilní lišta ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.has-mobile-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); box-shadow: 0 -4px 20px rgba(19,29,49,.2); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 60px; color: var(--white); font-weight: 700; text-decoration: none; }
	.mobile-bar__call { background: var(--sage); }
	.nav-open .mobile-bar { display: none; }
}

/* ---------- Prohlížeč fotek ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,15,26,.94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,15,26,.94); }
.lightbox__img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; margin: 0; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Přístupnost a tisk ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .mobile-bar, .cta-band, .contact-form { display: none !important; }
}
