/*
 * LIGOP – styly tématu (web i editor).
 * Základ (barvy, písmo, velikosti, mezery, tlačítka) je v theme.json.
 * Tady jsou jen brand detaily a vzhled block styles, které nativní nastavení nepokryjí.
 */

/* Záložní písmo s metrikami Archiva – text po načtení webfontu nepřeskakuje. */
@font-face {
	font-family: 'Archivo Fallback';
	src: local('Arial'), local('Helvetica'), local('Liberation Sans');
	size-adjust: 101%;
	ascent-override: 87%;
	descent-override: 21%;
	line-gap-override: 0%;
}

html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* Odkazy v obsahu podtržené, v navigaci, tlačítkách a kartách ne. */
:where(.wp-block-navigation, .ligop-header, .ligop-footer, .wp-block-button, .is-style-ligop-dlazdice, .wp-block-breadcrumbs) a { text-decoration: none; }
a:where(:not(.wp-element-button)):focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* Sekce přes celou šířku na sebe navazují bez mezer. */
:where(.wp-block-post-content, .is-root-container, main) > .alignfull { margin-block-start: 0; margin-block-end: 0; }
:where(.wp-block-post-content, .is-root-container) > .alignfull + .alignfull { margin-block-start: 0; }

/* Nadpisy na mobilu: ruční zalomení <br> se ignoruje. */
@media (max-width: 767px) {
	h2 br { display: none; }
}

/* ------------------------------------------------------------------ Hlavička */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }

.ligop-logo { margin: 0; flex: none; }
.ligop-logo img { display: block; }
.ligop-header .wp-block-navigation { margin-left: auto; }
.ligop-header .wp-block-navigation .wp-block-navigation-item__content { padding: 10px 0; color: var(--wp--preset--color--ink); white-space: nowrap; }
.ligop-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.ligop-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.ligop-header .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-icon { margin-left: 6px; width: 10px; height: 10px; }
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #fff; border: 1px solid var(--wp--preset--color--line-soft, #f0ece6) !important; border-radius: 10px;
	box-shadow: 0 18px 48px rgba(35, 31, 32, 0.16); padding: 8px; min-width: 270px !important; left: -18px; top: calc(100% + 4px);
}
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-container::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-weight: 500; padding: 11px 14px; border-radius: 6px; color: var(--wp--preset--color--ink);
}
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sand-light); color: var(--wp--preset--color--primary); }
.ligop-header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }
.ligop-header-cta { flex: none; margin-left: 12px; }
.ligop-header-cta .wp-block-button__link { white-space: nowrap; }

/* Tlačítko „Menu“ (pod 1260 px) */
.ligop-header .wp-block-navigation__responsive-container-open {
	background: var(--wp--preset--color--ink); color: #fff; border-radius: 6px; font-size: 17px; font-weight: 700;
	padding: 12px 20px; line-height: 1.2; gap: 8px; align-items: center;
}
.ligop-header .wp-block-navigation__responsive-container-open::before { content: '☰'; }
.ligop-header .wp-block-navigation__responsive-container-open:hover { background: var(--wp--preset--color--primary); }

@media (min-width: 600px) and (max-width: 1259px) {
	.ligop-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ligop-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (min-width: 1260px) and (max-width: 1399px) {
	.ligop-header .wp-block-navigation { gap: 26px; }
}
@media (max-width: 1259px) {
	.ligop-header .ligop-header-cta { display: none; }
	.ligop-header > .wp-block-group { padding-top: 10px !important; padding-bottom: 10px !important; gap: 16px; }
	.ligop-header .ligop-logo img { height: 34px !important; }
	.ligop-header .wp-block-navigation__responsive-container-open { font-size: 15px; padding: 10px 16px; }
}
@media (max-width: 767px) {
	.ligop-header .ligop-logo img { height: 28px !important; }
	.ligop-header .wp-block-navigation__responsive-container-open { padding: 9px 14px; }
}

/* Mobilní menu (vlastní overlay z části „Mobilní menu“) */
.wp-block-navigation__responsive-container.is-menu-open.disable-default-overlay { padding: 0; background: #fff; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__overlay-container { width: 100%; min-height: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { max-width: none; }
.ligop-mobilni-menu { max-width: 720px; margin: 0 auto !important; }
.ligop-mobilni-menu .wp-block-navigation-overlay-close,
.ligop-mobilni-menu .wp-block-navigation__responsive-container-close {
	background: var(--wp--preset--color--ink); color: #fff; border: 0; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 700;
	padding: 9px 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.ligop-mobilni-menu .wp-block-navigation-overlay-close svg { width: 18px; height: 18px; fill: currentColor; }
.ligop-mobilni-nav { width: 100%; }
.ligop-mobilni-nav .wp-block-navigation__container,
.ligop-mobilni-nav.wp-block-navigation { width: 100%; gap: 0 !important; align-items: stretch !important; }
.ligop-mobilni-nav .wp-block-navigation-item { width: 100%; flex-direction: column; align-items: stretch !important; }
.ligop-mobilni-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.ligop-mobilni-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--wp--preset--color--line-soft, #f0ece6); color: var(--wp--preset--color--ink);
}
.ligop-mobilni-nav .wp-block-navigation__container > .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content::after { content: '›'; color: #c9c1b7; font-weight: 400; }
.ligop-mobilni-nav .wp-block-navigation__submenu-icon { display: none; }
.ligop-mobilni-nav .wp-block-navigation__submenu-container {
	position: static !important; opacity: 1 !important; visibility: visible !important; width: auto !important; height: auto !important;
	border: 0 !important; box-shadow: none !important; padding: 4px 0 8px 14px !important; background: transparent !important; min-width: 0 !important;
}
.ligop-mobilni-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 16px; font-weight: 500; padding: 8px 0; color: var(--wp--preset--color--ink-soft); }
.ligop-mobilni-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary) !important; }
.ligop-mobilni-menu .wp-block-button__link { display: flex; justify-content: center; font-size: 17px; }
.ligop-mobilni-menu .has-sand-background-color a { color: var(--wp--preset--color--ink); text-decoration: none; }

/* ------------------------------------------------------------------ Patička */
.ligop-footer a { text-decoration: none; }
.ligop-footer .ligop-logo img { height: 44px !important; width: auto !important; }
.ligop-footer-odkazy p { margin: 0; }
.ligop-footer-odkazy a { color: var(--wp--preset--color--muted-light) !important; font-size: 14px; }
.ligop-footer-odkazy a:hover { color: var(--wp--preset--color--primary) !important; }
.ligop-footer-kredit { margin: 0 !important; font-size: 12px; color: var(--wp--preset--color--muted-light); opacity: .7; }
.ligop-footer-kredit a { color: inherit !important; }
.ligop-footer-kredit a:hover { color: var(--wp--preset--color--primary) !important; }

/* ------------------------------------------------------------------ Seznamy (block styles) */
.is-style-ligop-odkazy { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.is-style-ligop-odkazy li { margin: 0; }

.is-style-ligop-odrazky { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.is-style-ligop-odrazky li { display: flex; align-items: center; gap: 12px; margin: 0; }
.is-style-ligop-odrazky li::before {
	content: ''; width: 15px; height: 15px; flex: none; border-radius: 3px; background: #fff;
	box-shadow: inset 0 0 0 5px var(--wp--preset--color--primary);
}

.is-style-ligop-ctverecky { list-style: none; padding: 0; margin: 0; }
.is-style-ligop-ctverecky li { display: block; position: relative; padding: 16px 0 16px 26px; border-bottom: 1px solid #ddd6cc; margin: 0; }
.is-style-ligop-ctverecky li::before { content: ''; position: absolute; left: 0; top: calc(16px + 0.625em - 4px); width: 8px; height: 8px; background: var(--wp--preset--color--primary); }

.is-style-ligop-stitky { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-ligop-stitky li { margin: 0; font-size: 15px; font-weight: 600; padding: 7px 12px; border-radius: 4px; background: var(--wp--preset--color--sand-light); color: var(--wp--preset--color--ink-soft); line-height: 1.3; }

/* ------------------------------------------------------------------ Tlačítka (block styles) */
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; transition: background-color .15s, color .15s, border-color .15s; }
.wp-block-button.is-style-ligop-obrys .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ligop-obrys .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ligop-obrys-svetly .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); }
.wp-block-button.is-style-ligop-obrys-svetly .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--ink); border-color: #fff; }
.wp-block-button.is-style-ligop-bile .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); border-color: #fff; }
.wp-block-button.is-style-ligop-bile .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ligop-pilulka .wp-block-button__link { border-radius: 999px; padding: 10px 18px; font-weight: 600; background: #fff; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--line-strong); }
.wp-block-button.is-style-ligop-pilulka .wp-block-button__link.has-ink-background-color { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ligop-pilulka .wp-block-button__link:hover { border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); background: #fff; }
.wp-block-button.is-style-ligop-pilulka .wp-block-button__link.has-ink-background-color:hover { color: #fff; background: var(--wp--preset--color--ink); }

/* Hlavička sekce: perex vpravo smí na mobilu zabrat celou šířku */
.wp-block-group.is-layout-flex > p[style*="flex-basis"] { max-width: 100%; }
@media (max-width: 767px) {
	.wp-block-group.is-layout-flex > p[style*="flex-basis"] { flex-basis: 100% !important; }
}

/* ------------------------------------------------------------------ Karta přes předchozí sekci */
.is-style-ligop-karta-prekryv { position: relative; z-index: 3; }
@media (max-width: 767px) {
	.is-style-ligop-karta-prekryv.is-layout-flex { padding: 16px !important; gap: 14px; }
	.is-style-ligop-karta-prekryv > .wp-block-image { display: none; }
	.is-style-ligop-karta-prekryv > .wp-block-buttons { flex: 1 1 100%; }
	.is-style-ligop-karta-prekryv > .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.is-style-ligop-karta-prekryv > .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; }
	.is-style-ligop-karta-prekryv p[style*="font-size:20px"] { font-size: 17px !important; }
}
.ligop-oddelovac { color: #c9c1b7; margin: 0 6px; }
@media (max-width: 767px) { .is-style-ligop-karta-prekryv .ligop-oddelovac { display: block; height: 0; overflow: hidden; margin: 0; } }

/* ------------------------------------------------------------------ Výhody s oranžovou linkou */
.is-style-ligop-polozky-linka > * { position: relative; padding: 40px 32px 8px; border-left: 1px solid #e6e1da; }
.is-style-ligop-polozky-linka > *::before { content: ''; position: absolute; top: 0; left: 32px; right: 32px; height: 2px; background: var(--wp--preset--color--primary); }
.is-style-ligop-polozky-linka > *:first-child { border-left: 0; padding-left: 0; }
.is-style-ligop-polozky-linka > *:first-child::before { left: 0; }
.is-style-ligop-polozky-linka > *:last-child { padding-right: 0; }
.is-style-ligop-polozky-linka > *:last-child::before { right: 0; }
.is-style-ligop-polozky-linka .wp-block-icon svg { display: block; }
@media (max-width: 1119px) {
	.is-style-ligop-polozky-linka { grid-template-columns: 1fr 1fr !important; row-gap: 40px !important; }
	.is-style-ligop-polozky-linka > * { padding: 32px 24px 8px; }
	.is-style-ligop-polozky-linka > *::before { left: 24px; right: 24px; }
	.is-style-ligop-polozky-linka > *:nth-child(odd) { border-left: 0; padding-left: 0; }
	.is-style-ligop-polozky-linka > *:nth-child(odd)::before { left: 0; }
}
@media (max-width: 599px) {
	.is-style-ligop-polozky-linka { grid-template-columns: 1fr !important; row-gap: 28px !important; }
	.is-style-ligop-polozky-linka > * { padding: 24px 0 0 !important; border-left: 0 !important; }
	.is-style-ligop-polozky-linka > *::before { left: 0 !important; right: 0 !important; }
	.is-style-ligop-polozky-linka .wp-block-icon svg { width: 40px !important; height: 40px; }
	.is-style-ligop-polozky-linka p[style*="margin-left"] { margin-left: 60px !important; font-size: 15px; }
}

/* ------------------------------------------------------------------ Kroky postupu */
.is-style-ligop-kroky { border-top: 1.5px solid var(--wp--preset--color--ink); }
@media (max-width: 899px) {
	.is-style-ligop-kroky { grid-template-columns: 1fr 1fr !important; gap: 12px !important; border-top: 0; }
	.is-style-ligop-kroky { container-type: inline-size; }
	.is-style-ligop-kroky > * { background: var(--wp--preset--color--sand-light); border-radius: 10px; padding: 20px 18px !important; gap: 8px !important; min-height: calc((100cqw - 12px) / 2); min-width: 0; justify-content: flex-start !important; }
	.is-style-ligop-kroky > *:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
	.is-style-ligop-kroky > * > p:first-child { font-size: 32px !important; }
	.is-style-ligop-kroky h3 { font-size: 17px !important; }
	.is-style-ligop-kroky > * > p:last-child { font-size: 14px !important; line-height: 1.45 !important; }
	.has-white-background-color .is-style-ligop-kroky > *, .has-page-background-color .is-style-ligop-kroky > * { background: var(--wp--preset--color--sand-light); }
}


/* ------------------------------------------------------------------ Fakta */
.is-style-ligop-fakta > * { border-right: 1px solid var(--wp--preset--color--line-soft, #f0ece6); }
.is-style-ligop-fakta > *:last-child { border-right: 0; }
.is-style-ligop-fakta > * > p { margin: 0; }
@media (max-width: 767px) {
	.is-style-ligop-fakta { grid-template-columns: 1fr 1fr !important; }
	.is-style-ligop-fakta > * { padding: 16px !important; border-right: 0; border-bottom: 1px solid #f0ece6; }
	.is-style-ligop-fakta > *:nth-child(odd) { border-right: 1px solid #f0ece6; }
	.is-style-ligop-fakta > *:nth-last-child(-n+2) { border-bottom: 0; }
	.is-style-ligop-fakta > * > p:first-child { font-size: 17px !important; }
	.is-style-ligop-fakta > * > p:last-child { font-size: 13px !important; }
}

/* ------------------------------------------------------------------ Dlaždice s odkazem (Cover) */
.wp-block-cover.is-style-ligop-dlazdice { min-height: 0; overflow: hidden; color: #fff; }
.is-style-ligop-dlazdice .wp-block-cover__image-background { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
@media (hover: hover) { .is-style-ligop-dlazdice:hover .wp-block-cover__image-background { transform: scale(1.045); } }
.is-style-ligop-dlazdice .wp-block-cover__inner-container {
	position: absolute; inset: 0; z-index: 1; padding: inherit; width: auto !important; max-width: none !important;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.is-style-ligop-dlazdice .wp-block-cover__inner-container > * { margin: 0 !important; max-width: none; }

@media (prefers-reduced-motion: reduce) { .is-style-ligop-dlazdice .wp-block-cover__image-background { transition: none; } }
@media (max-width: 899px) {
	.wp-block-group.is-layout-grid:has(> .is-style-ligop-dlazdice) { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
	.is-style-ligop-dlazdice .wp-block-cover__inner-container { padding: 16px 12px 16px 16px !important; gap: 4px; }
	.is-style-ligop-dlazdice .wp-block-cover__inner-container > p:first-child:not(:last-child) { display: none; }
	.is-style-ligop-dlazdice h3 { font-size: 19px !important; line-height: 1.15 !important; }
	.is-style-ligop-dlazdice .is-style-ligop-dlazdice-odkaz .wp-block-button__link { font-size: 13px !important; margin-top: 4px; }
}
@media (max-width: 767px) {
	.is-style-ligop-dlazdice .is-style-ligop-dlazdice-sipka { display: none; }
	.is-style-ligop-dlazdice:has(.is-style-ligop-dlazdice-sipka) { aspect-ratio: 3 / 4 !important; }
	.is-style-ligop-dlazdice:has(.is-style-ligop-dlazdice-sipka) h3 { font-size: 17px !important; }
}
@media (max-width: 380px) { .is-style-ligop-dlazdice h3 { font-size: 17px !important; } }

/* ------------------------------------------------------------------ Proč LIGOP (Media & Text) */
.ligop-proc.wp-block-media-text { min-height: 560px; }
.ligop-proc .wp-block-media-text__content { padding: 0 !important; }
.ligop-proc .wp-block-media-text__content > .wp-block-group { max-width: 720px; }
@media (max-width: 600px) {
	.ligop-proc.wp-block-media-text { min-height: 0; }
	.ligop-proc .wp-block-media-text__media { min-height: 260px; }
}

/* ------------------------------------------------------------------ Galerie: mozaika */
.wp-block-gallery.is-style-ligop-mozaika {
	display: grid !important; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px !important; aspect-ratio: 5 / 4;
}
.wp-block-gallery.is-style-ligop-mozaika > .wp-block-image { position: relative; width: auto !important; margin: 0 !important; min-height: 0; overflow: hidden; }
.wp-block-gallery.is-style-ligop-mozaika > .wp-block-image:first-child { grid-row: 1 / span 2; }
.wp-block-gallery.is-style-ligop-mozaika > .wp-block-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.wp-block-gallery.is-style-ligop-mozaika:has(> .wp-block-image:nth-child(4)) {
	grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; aspect-ratio: auto;
}
.wp-block-gallery.is-style-ligop-mozaika:has(> .wp-block-image:nth-child(4)) > .wp-block-image { border-radius: 10px; }
@media (max-width: 899px) {
	.wp-block-gallery.is-style-ligop-mozaika:has(> .wp-block-image:nth-child(4)) { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px !important; }
	.wp-block-gallery.is-style-ligop-mozaika:has(> .wp-block-image:nth-child(4)) > .wp-block-image { aspect-ratio: 4 / 3; }
	.wp-block-gallery.is-style-ligop-mozaika:has(> .wp-block-image:nth-child(4)) > .wp-block-image:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* ------------------------------------------------------------------ Galerie: realizace (popisek pod fotkou) */
.wp-block-gallery.has-nested-images.is-style-ligop-realizace {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 20px !important;
}
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image {
	width: auto !important; margin: 0 !important; display: flex !important; flex-direction: column !important; align-self: start;
}
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image::before { display: none !important; }
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image img {
	aspect-ratio: 4 / 3; width: 100% !important; height: auto !important; object-fit: cover; border-radius: 10px; flex: none !important;
	background: #4a433e;
}
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image figcaption {
	position: static !important; background: none !important; color: var(--wp--preset--color--ink) !important; padding: 14px 0 0 !important;
	text-align: left !important; font-size: 20px !important; font-weight: 700; line-height: 1.25; max-height: none !important; overflow: visible !important;
	text-shadow: none !important; margin: 0 !important; width: auto !important; flex: none !important;
}
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image figcaption strong {
	display: block; font-size: 14px; font-weight: 700; color: var(--wp--preset--color--primary); margin-bottom: 4px;
}
.wp-block-gallery.is-style-ligop-realizace > figure.wp-block-image:not(:has(figcaption strong)) figcaption { font-size: 17px !important; font-weight: 600; }

/* Lightbox – tmavé pozadí podle návrhu */
.wp-lightbox-overlay .scrim { background-color: #161312 !important; opacity: .96 !important; }
.wp-lightbox-overlay .wp-lightbox-close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button { fill: #fff !important; color: #fff !important; }
.wp-lightbox-overlay .wp-lightbox-navigation-button {
	background: rgba(255,255,255,.92) !important; fill: var(--wp--preset--color--ink) !important; border-radius: 50%; width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.wp-lightbox-overlay .wp-lightbox-navigation-button:hover { background: var(--wp--preset--color--primary) !important; fill: #fff !important; }
.ligop-lightbox-popisek {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 100001; padding: 14px 24px 18px; color: #fff; text-align: center;
	font-size: 16px; line-height: 1.45; background: linear-gradient(180deg, rgba(22,19,18,0), rgba(22,19,18,.85) 40%); pointer-events: none;
}
.ligop-lightbox-popisek strong { color: var(--wp--preset--color--primary); margin-right: 8px; }

/* ------------------------------------------------------------------ FAQ (Podrobnosti) */
.wp-block-details { border-radius: 8px; overflow: hidden; }
.wp-block-details > summary {
	list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 600; cursor: pointer; line-height: 1.35;
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::before {
	content: '+'; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--wp--preset--color--primary);
	display: flex; align-items: center; justify-content: center; flex: none; font-size: 20px; line-height: 1;
}
.wp-block-details[open] > summary::before { content: '−'; }
.wp-block-details > summary:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: -2px; }
.wp-block-details > :not(summary) { padding: 0 22px 0 66px; margin-top: 0; }
.wp-block-details > :last-child:not(summary) { padding-bottom: 22px; }
@media (max-width: 767px) {
	.wp-block-details > :not(summary) { padding: 0 18px 0 18px; font-size: 16px !important; }
	.wp-block-details > :last-child:not(summary) { padding-bottom: 20px; }
	.wp-block-details > summary { font-size: 17px; padding: 18px; }
}

/* ------------------------------------------------------------------ Záložky (Tabs) – materiály */
.ligop-zalozky .wp-block-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ligop-zalozky .wp-block-tab-list button {
	font-size: 17px; font-weight: 600; padding: 12px 20px; border-radius: 6px; border: 1.5px solid var(--wp--preset--color--line-strong);
	background: #fff; color: var(--wp--preset--color--ink);
}
.ligop-zalozky .wp-block-tab-list button[aria-selected="true"] { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); color: #fff; }
.ligop-zalozky .wp-block-tab-list button[aria-selected="true"]::before { display: none; }
.ligop-zalozky .wp-block-tab-list button:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* ------------------------------------------------------------------ Karusel recenzí */
.is-style-ligop-karusel {
	min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
	container-type: inline-size; padding-bottom: 2px; flex-basis: 480px !important;
}
.is-style-ligop-karusel::-webkit-scrollbar { display: none; }
.is-style-ligop-karusel > * { flex: 0 0 calc((100% - 40px) / 3) !important; scroll-snap-align: start; min-height: 240px; box-sizing: border-box; }
@container (max-width: 820px) { .is-style-ligop-karusel > * { flex-basis: calc((100% - 20px) / 2) !important; } }
@container (max-width: 520px) { .is-style-ligop-karusel > * { flex-basis: 100% !important; } }

.is-style-ligop-karusel > * > p:last-of-type { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; text-wrap: pretty; }
.is-style-ligop-karusel > *.is-open > p:last-of-type { -webkit-line-clamp: unset; display: block; }
.ligop-vice { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--wp--preset--color--muted); cursor: pointer; }
.ligop-vice:hover { color: var(--wp--preset--color--primary); }
.ligop-karusel-obal { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 480px; }
.ligop-karusel-obal > .is-style-ligop-karusel { flex: 1 1 auto !important; }
.ligop-karusel-sipka {
	flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ddd6cc; background: #fff; cursor: pointer; font-size: 18px; color: var(--wp--preset--color--ink); padding: 0;
}
.ligop-karusel-sipka:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.ligop-karusel-sipka[disabled] { opacity: .35; cursor: default; }

/* ------------------------------------------------------------------ Rozbalovací text */
.is-style-ligop-rozbalovaci strong { color: var(--wp--preset--color--ink); }
.is-style-ligop-rozbalovaci > * { margin-block-start: 0; }
.is-style-ligop-rozbalovaci > * + * { margin-block-start: 16px; }
.is-style-ligop-rozbalovaci > h3 { margin-block-start: 24px; }
.is-style-ligop-rozbalovaci.is-collapsed { max-height: 380px; overflow: hidden; position: relative; }
.is-style-ligop-rozbalovaci.is-collapsed::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
	background: linear-gradient(180deg, rgba(251,250,248,0) 0%, var(--wp--preset--color--page) 90%);
}
.ligop-rozbalit {
	align-self: flex-start; font: inherit; font-size: 16px; font-weight: 700; padding: 13px 22px; border-radius: 6px; margin-top: 28px;
	border: 1.5px solid var(--wp--preset--color--ink); background: #fff; color: var(--wp--preset--color--ink); cursor: pointer;
}
.ligop-rozbalit:hover { background: var(--wp--preset--color--ink); color: #fff; }

/* ------------------------------------------------------------------ Drobečková navigace */
.wp-block-breadcrumbs a { color: inherit; }
.wp-block-breadcrumbs a:hover { color: var(--wp--preset--color--primary); }
.wp-block-breadcrumbs [aria-current="page"] { color: var(--wp--preset--color--primary); font-weight: 600; }
.wp-block-breadcrumbs li:not(:last-child)::after { opacity: .7; }

/* ------------------------------------------------------------------ Titulkový pás a textové stránky */
.ligop-titulek .wp-block-post-title, .ligop-titulek h1 { margin-bottom: 0; }
.ligop-prose .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.ligop-prose .wp-block-post-content > :first-child { margin-block-start: 0; }
.ligop-prose .wp-block-post-content > h2 { margin-block-start: 1.8em; }
.ligop-prose .wp-block-post-content > h3 { margin-block-start: 1.5em; }
.ligop-prose .wp-block-post-content > h2 + *, .ligop-prose .wp-block-post-content > h3 + * { margin-block-start: .6em; }
.ligop-prose .wp-block-post-content > p, .ligop-prose .wp-block-post-content > ul, .ligop-prose .wp-block-post-content > ol { font-size: 17px; color: var(--wp--preset--color--ink-soft); }
.ligop-prose .wp-block-post-content > p strong { color: var(--wp--preset--color--ink); }
.ligop-prose .wp-block-post-content .wp-block-image img { border-radius: 10px; }
.ligop-prose .wp-block-post-content > .alignfull { margin-block: var(--wp--preset--spacing--60); }
/* Stejné odstupy pro obsah v editoru (iframe) */
.editor-styles-wrapper .is-root-container.wp-block-post-content > * + * { margin-block-start: 1.1em; }

/* ------------------------------------------------------------------ Kontakt */
.wp-block-media-text.has-ink-background-color { overflow: hidden; }
.wp-block-media-text.has-ink-background-color .wp-block-media-text__content { padding: 0; }
@media (max-width: 781px) {
	.wp-block-ligop-poptavka { margin-top: 0 !important; padding: 22px 18px !important; }
	.wp-block-ligop-poptavka h2 { font-size: 24px !important; }
}

/* Ikony */
.wp-block-icon { line-height: 0; flex: none; }
.wp-block-icon svg { height: auto; }

/* Mřížka uvnitř svislého flexu: container-type z jádra způsobuje v Chromu přehnanou výšku. */
.is-layout-flex.is-vertical > .is-layout-grid { container-type: normal; width: 100%; align-self: stretch; }
/* Ikony LIGOP jsou obrysové: tah dodá CSS (sada ikon WordPressu povoluje jen výplň).
   Obrysové cesty jsou v SVG označené transform="translate(0 0)", ikony jádra se nemění. */
.wp-block-icon svg path[transform="translate(0 0)"] { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Cover přes celou šířku s obsahem vlevo nahoře: obsah drží šířku webu (1256 px). */
.wp-block-cover.alignfull.has-custom-content-position > .wp-block-cover__inner-container.is-layout-constrained { width: 100%; }
/* Galerie realizací: fotky v řádku začínají nahoře stejně. */
.wp-block-gallery.has-nested-images.is-style-ligop-realizace > figure.wp-block-image { justify-content: flex-start !important; height: auto !important; }
.ligop-rozbalit-obal { margin-top: 28px !important; }
.ligop-rozbalit-obal .ligop-rozbalit { margin-top: 0; }
.has-ink-background-color a, .has-primary-background-color a { text-decoration: none; }
a[href^="tel:"] { text-decoration: none; }
.wp-block-group.is-layout-flex.is-vertical { flex-wrap: nowrap; }

/* Mobilní menu jako v návrhu: hlavní položky se šipkou ›; podmenu zavřená, rozbalí se klikem na položku (theme.js, šipka ˅/˄) */
.ligop-mobilni-nav .wp-block-navigation__submenu-container { display: none !important; }
.ligop-header .ligop-mobilni-nav.wp-block-navigation .is-rozbaleno > .wp-block-navigation__submenu-container {
	display: flex !important; flex-direction: column; position: static !important; border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line-soft, #f0ece6) !important;
	border-radius: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 0 10px 14px !important; margin: 0 !important; transform: none !important; gap: 0 !important;
}
.ligop-header .ligop-mobilni-nav.wp-block-navigation .is-rozbaleno > .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 0; background: none; border-radius: 0; }
.ligop-mobilni-nav .ligop-podmenu-js > .wp-block-navigation-item__content[hidden] { display: none !important; }
.ligop-mobilni-nav .wp-block-navigation__container > .wp-block-navigation-item > .ligop-podmenu-prepinac {
	appearance: none; background: none; border: 0; border-bottom: 1px solid var(--wp--preset--color--line-soft, #f0ece6); border-radius: 0; cursor: pointer;
	width: 100%; text-align: left; font: inherit; font-size: 18px; font-weight: 600; align-items: center;
}
.ligop-mobilni-nav.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content.ligop-podmenu-prepinac::after { content: none !important; }
.ligop-mobilni-nav .is-rozbaleno > .ligop-podmenu-prepinac { border-bottom-color: transparent; color: var(--wp--preset--color--primary); }
.ligop-podmenu-sipka { width: 9px; height: 9px; margin-right: 3px; border-right: 2px solid #b5aca2; border-bottom: 2px solid #b5aca2; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; flex: none; }
.ligop-mobilni-nav .is-rozbaleno > .ligop-podmenu-prepinac .ligop-podmenu-sipka { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--wp--preset--color--primary); }
.ligop-mobilni-nav .ligop-podmenu-prepinac:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ligop-podmenu-sipka { transition: none; } }
.ligop-mobilni-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: '›' !important; color: #c9c1b7; font-weight: 400; }
.ligop-mobilni-nav .wp-block-navigation-item__content { font-size: 18px; }
/* Panel menu pod lištou, stránka pod ním zůstává vidět */
.ligop-header .wp-block-navigation__responsive-container.is-menu-open { background: rgba(35,31,32,.35) !important; }
.ligop-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 0 !important; }
.ligop-mobilni-menu { max-width: none; box-shadow: 0 12px 32px rgba(35,31,32,.18); max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
.ligop-mobilni-menu > .wp-block-group:first-child { margin: 0 calc(-1 * var(--wp--style--root--padding-left, 16px)); padding-left: 16px !important; padding-right: 16px !important; }
.ligop-mobilni-menu .wp-block-navigation-overlay-close::before { content: '✕'; margin-right: 2px; }
.ligop-mobilni-menu .wp-block-navigation-overlay-close svg { display: none; }
@media (min-width: 768px) { .ligop-mobilni-menu { padding-left: 32px !important; padding-right: 32px !important; } .ligop-mobilni-menu .ligop-logo img { height: 34px !important; } }
@media (max-width: 767px) { .ligop-mobilni-menu .ligop-logo img { height: 28px !important; } }

/* ------------------------------------------------------------------ Tlačítka s ikonou (jako v návrhu) */
.wp-block-button.is-style-ligop-sipka .wp-block-button__link::after {
	content: ''; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button.is-style-ligop-obrys-svetly-sipka .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); font-weight: 600; padding: 13px 16px 13px 26px; gap: 14px; }
.wp-block-button.is-style-ligop-obrys-svetly-sipka .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--ink); border-color: #fff; }
.wp-block-button.is-style-ligop-obrys-svetly-sipka .wp-block-button__link::after {
	content: ''; width: 30px; height: 30px; flex: none; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box;
	background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.wp-block-button.is-style-ligop-obrys-svetly-sipka .wp-block-button__link:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-ligop-obrys-kalendar .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); font-size: 17px; padding: 14px 26px; justify-content: center; }
.wp-block-button.is-style-ligop-obrys-kalendar .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button.is-style-ligop-obrys-kalendar .wp-block-button__link::before {
	content: ''; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
	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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-ligop-hero-slider .wp-block-button.is-style-ligop-sipka .wp-block-button__link::after { width: 20px; height: 20px; }
.wp-block-ligop-hero-slider .wp-block-button__link { gap: 14px; }

/* ------------------------------------------------------------------ Kroky: čísla se počítají sama */
.is-style-ligop-kroky { counter-reset: ligop-krok; }
.is-style-ligop-kroky > * { counter-increment: ligop-krok; }
.is-style-ligop-kroky > *::before {
	content: counter(ligop-krok, decimal-leading-zero); color: var(--wp--preset--color--primary);
	font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
}
@media (max-width: 899px) { .is-style-ligop-kroky > *::before { font-size: 32px; } }
/* Časová osa (Historie): stejný vzhled, rok je v textu */
.is-style-ligop-osa { border-top: 1.5px solid var(--wp--preset--color--ink); }
@media (max-width: 899px) {
	.is-style-ligop-osa { grid-template-columns: 1fr 1fr !important; gap: 12px !important; border-top: 0; }
	.is-style-ligop-osa > * { background: var(--wp--preset--color--sand-light); border-radius: 10px; padding: 20px 18px !important; }
	.is-style-ligop-osa > * > p:first-child { font-size: 32px !important; }
}

/* ------------------------------------------------------------------ Recenze: kolečko s iniciálou, hvězdy, G */
.ligop-recenze-karta > .wp-block-group:first-child > p:first-child,
.is-style-ligop-karusel > * > .wp-block-group:first-child > p:first-child {
	width: 40px; height: 40px; border-radius: 50%; padding: 0 !important; display: flex; align-items: center; justify-content: center; flex: none; margin: 0;
	background: #e8710a; color: #fff; font-size: 16px; font-weight: 700;
}
.ligop-recenze-karta:nth-child(5n+2) > .wp-block-group:first-child > p:first-child { background: #1a73e8; }
.ligop-recenze-karta:nth-child(5n+3) > .wp-block-group:first-child > p:first-child { background: #d93025; }
.ligop-recenze-karta:nth-child(5n+4) > .wp-block-group:first-child > p:first-child { background: #188038; }
.ligop-recenze-karta:nth-child(5n+5) > .wp-block-group:first-child > p:first-child { background: #9334e6; }
.ligop-recenze-karta > .wp-block-group:first-child > p:nth-child(2) { flex: 1; }
.ligop-recenze-karta > .wp-block-group:first-child::after { content: 'G'; font-size: 20px; font-weight: 800; color: #4285f4; }
.ligop-recenze-karta > .wp-block-group:first-child + *::before {
	content: '★★★★★'; display: block; color: #fbbc04; font-size: 18px; letter-spacing: 2px; line-height: 1; margin-bottom: 14px;
}
.is-style-ligop-karusel > * > .wp-block-group:first-child::after { content: none; }
.ligop-recenze-karta > .wp-block-group:first-child::after { content: 'G'; }

/* ------------------------------------------------------------------ Jen v editoru: nápovědy pro redaktora */
.editor-styles-wrapper .is-style-ligop-rozbalovaci { position: relative; }
.editor-styles-wrapper .is-style-ligop-rozbalovaci::before {
	content: 'Na webu se zobrazí jen začátek textu a tlačítko „Číst celý text“.'; display: block; font-size: 13px; font-weight: 600;
	color: var(--wp--preset--color--muted); border: 1px dashed var(--wp--preset--color--line-strong); border-radius: 6px; padding: 6px 10px; margin-bottom: 12px;
}
.editor-styles-wrapper .is-style-ligop-karusel { overflow-x: auto; }

/* Odkaz dlaždice: tlačítko, jehož odkaz pokrývá celou dlaždici (v editoru ne, aby šlo upravovat text). */
.is-style-ligop-dlazdice .wp-block-buttons { margin: 0 !important; }
.wp-block-button.is-style-ligop-dlazdice-odkaz .wp-block-button__link {
	background: none !important; border: 0 !important; padding: 0 !important; color: #fff !important; font-size: 14px; font-weight: 700; margin-top: 6px; gap: 8px; border-radius: 0 !important;
}
.wp-block-button.is-style-ligop-dlazdice-odkaz .wp-block-button__link::after { content: '→'; color: var(--wp--preset--color--primary); }
.wp-block-button.is-style-ligop-dlazdice-sipka .wp-block-button__link {
	width: 36px; height: 36px; padding: 0 !important; border-radius: 6px !important; border: 1.5px solid rgba(255,255,255,.8) !important;
	background: none !important; color: #fff !important; font-size: 0 !important; justify-content: center;
}
.wp-block-button.is-style-ligop-dlazdice-sipka .wp-block-button__link::after { content: '→'; font-size: 18px; font-weight: 400; }
.is-style-ligop-dlazdice .wp-block-button__link::before { content: ''; position: absolute; inset: 0; z-index: 2; }
.editor-styles-wrapper .is-style-ligop-dlazdice .wp-block-button__link::before { display: none; }
.is-style-ligop-dlazdice .wp-block-button__link:focus-visible { outline: none; }
.is-style-ligop-dlazdice:has(.wp-block-button__link:focus-visible) { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.is-style-ligop-dlazdice .wp-block-cover__inner-container > .wp-block-group { margin: 0 !important; }
@media (max-width: 767px) {
	.is-style-ligop-dlazdice .is-style-ligop-dlazdice-sipka { display: none; }
	.is-style-ligop-dlazdice:has(.is-style-ligop-dlazdice-sipka) { aspect-ratio: 3 / 4 !important; }
	.is-style-ligop-dlazdice:has(.is-style-ligop-dlazdice-sipka) h3 { font-size: 17px !important; }
}

/* Obrysová tlačítka: rámeček 1,5 px, výška stejná jako u plných (podle návrhu). */
.wp-block-button:is(.is-style-ligop-obrys, .is-style-ligop-obrys-svetly, .is-style-ligop-obrys-kalendar, .is-style-ligop-obrys-svetly-sipka, .is-style-ligop-pilulka) .wp-block-button__link { border-width: 1.5px; border-style: solid; padding-top: 13.5px; padding-bottom: 13.5px; }
.wp-block-button.is-style-ligop-obrys-svetly-sipka .wp-block-button__link { padding-top: 13px; padding-bottom: 13px; }
.wp-block-button.is-style-ligop-obrys-kalendar .wp-block-button__link { padding-top: 13px; padding-bottom: 13px; }
.wp-block-button.is-style-ligop-pilulka .wp-block-button__link { padding: 10px 18px; }
.ligop-header-cta .wp-block-button__link { font-size: 17px; padding: 14px 24px; gap: 10px; }
.is-style-ligop-ctverecky { line-height: 1.25; }
.ligop-footer { line-height: 1.5; }
.ligop-footer .is-style-ligop-odkazy { line-height: 1.3; }
.ligop-footer p { line-height: 1.5; }
.ligop-logo a { display: block; line-height: 0; } .ligop-logo { line-height: 0; }
.ligop-mobilni-menu .wp-block-buttons, .ligop-mobilni-menu .wp-block-button { width: 100%; }

/* Mobil: tlačítko přes celou šířku (např. „Spustit prohlídku v Mapách Google“) */
@media (max-width: 767px) {
	.ligop-mobil-cela-sirka, .ligop-mobil-cela-sirka .wp-block-button { flex: 1 1 100%; width: 100%; }
	.ligop-mobil-cela-sirka .wp-block-button__link { width: 100%; justify-content: center; }
}
.ligop-mobilni-menu .wp-block-icon + p a { color: var(--wp--preset--color--ink); }

/* Editor: karusel recenzí se šipkami jako na webu (šipky jsou jen náhled, posouvá se kolečkem) */
.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel) { position: relative; }
.editor-styles-wrapper .is-style-ligop-karusel { margin-left: 56px !important; margin-right: 56px !important; overflow-x: auto; }
.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel)::before,
.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel)::after {
	content: '‹'; position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ddd6cc; background: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--wp--preset--color--ink); box-sizing: border-box; pointer-events: none;
}
.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel)::before { left: 240px; opacity: .35; }
.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel)::after { content: '›'; right: 0; }
.editor-styles-wrapper .ligop-recenze-karta > p:last-of-type::after { content: none; }
@media (max-width: 781px) {
	.editor-styles-wrapper .wp-block-group:has(> .is-style-ligop-karusel)::before { left: 0; top: auto; bottom: 50%; }
	.editor-styles-wrapper .is-style-ligop-karusel { margin-left: 52px !important; }
}
@media (max-width: 781px) { .ligop-kontakt-sloupec { padding-top: 24px !important; } }
@media (max-width: 767px) {
	.ligop-kontakt-sloupec .has-white-background-color.is-vertical { padding: 22px !important; }
	.ligop-kontakt-sloupec .wp-block-media-text .wp-block-media-text__content > .wp-block-group { padding: 22px !important; }
}

/* Časová osa: dlouhé letopočty („2017/2018“) nesmí rozšířit stránku */
.is-style-ligop-osa > * { min-width: 0; overflow-wrap: anywhere; }
.is-style-ligop-osa > * > p:first-child { font-size: clamp(28px, 3.2vw, 44px) !important; line-height: 1.05 !important; }
@media (max-width: 899px) { .is-style-ligop-osa > * > p:first-child { font-size: clamp(22px, 6.5vw, 32px) !important; } }

/* Editor (jen obsah): u stránek, kde je H1 v úvodní sekci, je název stránky jen popisek, na webu se nezobrazuje. */
.ligop-bez-titulku .editor-post-title,
.ligop-bez-titulku .wp-block-post-title.editor-post-title {
	font-size: 18px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: var(--wp--preset--color--muted) !important;
	max-width: 1256px; margin: 16px auto 12px !important; padding: 10px 14px !important; border: 1px dashed var(--wp--preset--color--line-strong); border-radius: 6px; line-height: 1.3 !important;
}
.ligop-bez-titulku .editor-post-title::before {
	content: 'Název stránky (v menu a ve vyhledávání) – na webu se nezobrazuje, nadpis je v úvodní sekci níže: '; display: block; font-size: 12px; font-weight: 500; color: var(--wp--preset--color--muted-light);
}
.editor-styles-wrapper .wp-block-breadcrumbs a { text-decoration: none; }
