/* ==========================================================================
   Pekné časy – vlastné bloky + štýly core blokov
   Rozmery a farby podľa pôvodného webu (Elementor / Essential Addons / The7).
   Konkrétne farby a písma jednotlivých blokov sú v ich nastaveniach (atribút st).
   ========================================================================== */
:root {
	--pc-unica: "Unica One", sans-serif;
	--pc-signika: "Signika Negative", Helvetica, Arial, Verdana, sans-serif;
	--pc-brick: #a2613b;
	--pc-rust: #a94d18;
}

/* Jednofarebná ikonka (SVG cez masku, farbí sa cez color) */
.pc-icon {
	display: inline-block; flex: none;
	width: 1em; height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--pc-icon) center / contain no-repeat;
	mask: var(--pc-icon) center / contain no-repeat;
}

/* ==========================================================================
   Rozvrh: Sekcia / Stĺpce / Stĺpec (náhrada Elementor sekcií)
   ========================================================================== */
.pc-section { position: relative; display: flex; flex-direction: column; }
.pc-section__video, .pc-section__embed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; overflow: hidden; }
.pc-section__embed { container-type: size; }
.pc-section__embed iframe {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
	transform: translate(-50%, -50%);
}
.pc-ov { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; }
.pc-section > .pc-section__inner { position: relative; z-index: 1; width: 100%; max-width: 1300px; margin-inline: auto; display: flex; flex-direction: column; }
.pc-section--full > .pc-section__inner { max-width: none; }
.pc-section__inner > * { margin-block: 0; }
.pc-section__inner > :not(:last-child):not(.pc-row) { margin-bottom: 20px; }
.pc-section.pc-v-middle > .pc-section__inner { justify-content: center; }
.pc-section.pc-v-bottom > .pc-section__inner { justify-content: flex-end; }
.pc-section.pc-v-top > .pc-section__inner { justify-content: flex-start; }
.pc-section.pc-v-stretch > .pc-section__inner { flex: 1; }
.pc-section.pc-v-stretch > .pc-section__inner > .pc-row { flex: 1; }
.pc-section > .pc-section__inner > .pc-row { flex-shrink: 0; }
/* Jednostĺpcová sekcia bez vlastného stĺpca: Elementor stĺpec má 10 px odsadenie */
.pc-section--pad > .pc-section__inner { padding: 10px; }

.pc-row { position: relative; display: flex; flex-wrap: wrap; width: 100%; --pc-gap: 10px; }
.pc-row.pc-v-middle { align-items: center; }
.pc-row.pc-v-bottom { align-items: flex-end; }
.pc-row.pc-v-top { align-items: flex-start; }
.pc-row.pc-v-stretch { align-items: stretch; }
.pc-col { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.pc-col__inner { position: relative; width: 100%; padding: var(--pc-gap); display: flex; flex-direction: column; justify-content: flex-start; }
.pc-col__inner > * { margin-block: 0; }
.pc-col__inner > :not(:last-child):not(.pc-ov) { margin-bottom: 20px; }
.pc-col__inner > :not(.pc-ov) { position: relative; z-index: 1; }
.pc-row.pc-cv-middle > .pc-col > .pc-col__inner,
.pc-row > .pc-col.pc-v-middle > .pc-col__inner { justify-content: center; }
.pc-row.pc-cv-bottom > .pc-col > .pc-col__inner,
.pc-row > .pc-col.pc-v-bottom > .pc-col__inner { justify-content: flex-end; }
.pc-row > .pc-col.pc-v-top > .pc-col__inner { justify-content: flex-start; }
.pc-row--layered { overflow: hidden; }
.pc-row--layered > .pc-col { z-index: 1; }
@media (max-width: 767px) {
	.pc-row > .pc-col { flex-basis: 100%; max-width: 100%; }
}

/* Tvarové okraje sekcií (Elementor shape divider) */
.pc-shape { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; direction: ltr; z-index: 0; pointer-events: none; }
.pc-shape--above { z-index: 2; }
.pc-shape--top { top: -1px; }
.pc-shape--bottom { bottom: -1px; transform: rotate(180deg); }
.pc-shape--top.pc-shape--neg { transform: rotate(180deg); }
.pc-shape--bottom.pc-shape--neg { transform: none; }
.pc-shape svg { display: block; position: relative; left: 50%; transform: translateX(-50%); }
.pc-shape--flip svg { transform: translateX(-50%) rotateY(180deg); }

/* Skrytie podľa zariadenia (Elementor hidden-desktop/tablet/mobile) */
@media (min-width: 1025px) { .pc-hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .pc-hide-t { display: none !important; } }
@media (max-width: 767px) { .pc-hide-m { display: none !important; } }

/* Pomocné šírky prvkov (Elementor „vlastná šírka“) */
[class*="pc-w-"] { margin-inline-end: auto; }
.has-text-align-center[class*="pc-w-"] { margin-inline: auto; }
.has-text-align-right[class*="pc-w-"] { margin-inline-start: auto; margin-inline-end: 0; }
.pc-w-10 { width: 10%; } .pc-w-20 { width: 20%; } .pc-w-25 { width: 25%; } .pc-w-30 { width: 30%; }
.pc-w-33 { width: 33%; } .pc-w-35 { width: 35%; } .pc-w-40 { width: 40%; } .pc-w-45 { width: 45%; }
.pc-w-50 { width: 50%; } .pc-w-55 { width: 55%; } .pc-w-60 { width: 60%; } .pc-w-65 { width: 65%; }
.pc-w-70 { width: 70%; } .pc-w-75 { width: 75%; } .pc-w-80 { width: 80%; } .pc-w-85 { width: 85%; }
.pc-w-90 { width: 90%; } .pc-w-95 { width: 95%; }
@media (max-width: 767px) { [class*="pc-w-"] { width: 100%; } }

/* Animácia pri zobrazení (Elementor fadeIn / fadeInUp, trvanie „slow“ = 2 s) */
.pc-anim { animation-duration: 1.25s; animation-fill-mode: both; animation-delay: var(--pc-anim-delay, 0ms); animation-play-state: paused; }
.pc-anim.pc-anim--slow { animation-duration: 2s; }
.pc-anim--fadeIn { animation-name: pc-fadeIn; }
.pc-anim--fadeInUp { animation-name: pc-fadeInUp; }
.pc-anim.is-in { animation-play-state: running; }
@keyframes pc-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pc-fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-anim { animation: none !important; } }
.editor-styles-wrapper .pc-anim { animation: none; }

/* ==========================================================================
   Texty, nadpisy, obrázky (core bloky z Elementoru)
   ========================================================================== */
.pc-text > * { margin: 0 0 10px !important; }
/* posledný odsek si necháva 10 px (ako v The7) */
.pc-text ul, .pc-text ol { margin: 0 0 10px; padding-left: 1.4em; }
.pc-text a { color: var(--pc-link, inherit); }
.pc-text p:empty { display: none; }
.wp-block-heading.pc-h, .pc-heading-p { margin: 0; line-height: 1; }
.pc-h a, .pc-heading-p a { color: inherit; }
.wp-block-image.pc-img { margin: 0; text-align: center; line-height: 0; }
.wp-block-image.pc-img.alignleft { text-align: left; float: none; margin: 0; }
.wp-block-image.pc-img.alignright { text-align: right; float: none; margin: 0; }
.wp-block-image.pc-img img { display: inline-block; vertical-align: middle; }
.wp-block-image.pc-img > a { display: inline-block; }
.pc-img-w img { width: var(--pc-img-w, 100%); }
@media (max-width: 1024px) { .pc-img-w img { width: var(--pc-img-wt, var(--pc-img-w, 100%)); } }
@media (max-width: 767px) { .pc-img-w img { width: var(--pc-img-wm, var(--pc-img-wt, var(--pc-img-w, 100%))); } }
.wp-block-spacer { margin: 0; }
.wp-block-embed { margin: 0; }
.wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Čiara ---------------------------------------------------------------- */
.pc-divider { display: flex; padding-block: var(--pc-dv-gap, 15px); line-height: 0; }
.pc-divider--center { justify-content: center; }
.pc-divider--right { justify-content: flex-end; }
.pc-divider__line { display: block; width: var(--pc-dv-w, 100%); border-top: var(--pc-dv-h, 1px) solid var(--pc-dv-c, #000); }

/* --- Tlačidlo (The7 Button, veľkosť S) ------------------------------------ */
.pc-btn-wrap.pc-al-left { text-align: left; }
.pc-btn-wrap.pc-al-center { text-align: center; }
.pc-btn-wrap.pc-al-right { text-align: right; }
.pc-btn-wrap.pc-al-justify .pc-btn { display: flex; width: 100%; }
@media (max-width: 767px) {
	.pc-btn-wrap.pc-alm-left { text-align: left; }
	.pc-btn-wrap.pc-alm-center { text-align: center; }
	.pc-btn-wrap.pc-alm-right { text-align: right; }
}
.pc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 18px; border: 1px solid currentColor; border-radius: 1px;
	font: 400 16px/16px var(--pc-unica); letter-spacing: 2px;
	color: #fff; background: transparent; text-align: center;
	transition: color .3s, background-color .3s, border-color .3s;
}
.pc-btn:hover { background: var(--pc-rust); border-color: var(--pc-rust); color: #fff; }

/* --- Ikona s textom (Elementor Icon Box) ---------------------------------- */
.pc-ib { display: flex; flex-direction: column; gap: var(--pc-ib-gap, 15px); text-align: center; }
.pc-ib--left { flex-direction: row; text-align: left; }
.pc-ib--right { flex-direction: row-reverse; text-align: right; }
.pc-ib--left.pc-ib--v-middle, .pc-ib--right.pc-ib--v-middle { align-items: center; }
.pc-ib--left.pc-ib--v-bottom, .pc-ib--right.pc-ib--v-bottom { align-items: flex-end; }
.pc-ib--al-left { text-align: left; }
.pc-ib--al-right { text-align: right; }
.pc-ib--al-center { text-align: center; }
.pc-ib__icon { flex: none; line-height: 0; font-size: 50px; color: var(--pc-rust); }
.pc-ib__icon a { color: inherit; display: inline-block; }
.pc-ib__icon .pc-icon { transition: background-color .3s; }
.pc-ib__body { flex-grow: 1; min-width: 0; }
.pc-ib__title { margin: 0 0 10px; color: #000; transition: color .3s; }
.pc-ib__title a { color: inherit; }
.pc-ib__text { margin: 0; }

/* --- Počítadlo (EA Counter) ------------------------------------------------ */
.pc-counter { text-align: center; color: #fff; }
.pc-counter__icon { font-size: 55px; line-height: 0; margin-bottom: 10px; color: #fff; }
.pc-counter__value { font: 400 55px/1.2 var(--pc-unica); white-space: nowrap; }
.pc-counter__label { font: 400 22px/1.2 var(--pc-unica); text-transform: uppercase; margin-top: 5px; }

/* --- Otočná karta (EA Flip Box „animate-up“) ------------------------------ */
.pc-flip { position: relative; height: var(--pc-flip-h, 100px); perspective: 1000px; }
.pc-flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s ease-in-out; }
.pc-flip__face {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 0 30px; text-align: center; border-radius: 5px; color: #fff; background: var(--pc-brick);
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.pc-flip__back { transform: rotateX(180deg); }
.pc-flip:hover .pc-flip__inner, .pc-flip:focus-within .pc-flip__inner { transform: rotateX(180deg); }
.pc-flip__title { margin: 0 0 10px; font: 400 34px/44px var(--pc-unica); letter-spacing: 6px; color: #fff; }
.pc-flip__title:last-child { margin-bottom: 0; }
.pc-flip__btn {
	display: inline-block; margin-top: 15px; padding: 14px 18px; border: 1px solid #fff;
	font: 400 20px/24px var(--pc-unica); letter-spacing: 3px; color: #fff; background: var(--pc-brick);
	transition: color .3s, background-color .3s;
}
.pc-flip__back .pc-flip__btn:first-child { margin-top: 0; }
.pc-flip__btn:hover { color: #000; background: #fff; }
@media (max-width: 767px) { .pc-flip__title { font-size: 32px; line-height: 1.2; } }
.editor-styles-wrapper .pc-flip__inner { transform: none !important; }
.editor-styles-wrapper .pc-flip__back { display: none; }

/* --- Recenzie (EA Testimonial Slider, efekt prelínania) ------------------- */
.pc-reviews { text-align: center; }
.pc-reviews__track { display: grid; }
.pc-reviews__item {
	grid-area: 1 / 1; margin: 0; padding: 10px; min-height: 160px;
	opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s;
}
.pc-reviews__item.is-active { opacity: 1; visibility: visible; transition: opacity .6s; }
.pc-reviews__text { margin: 0 0 10px; padding: 0; border: 0; font: 400 15px/22.5px var(--pc-signika); color: #383737; quotes: none; }
.pc-reviews__text p { margin: 0; }
.pc-reviews__stars { color: #f2b01e; font-size: 17px; line-height: 1; letter-spacing: 3px; margin: 15px 0; }
.pc-reviews__name { font: 600 15.75px/1.5 var(--pc-signika); color: #272727; }
.pc-reviews__dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
.pc-reviews__dot {
	appearance: none; border: 0; padding: 0; margin: 0 10px; cursor: pointer;
	width: 10px; height: 10px; border-radius: 50%; background: #8d8d8d; opacity: .2; transition: opacity .2s, background-color .2s;
}
.pc-reviews__dot:hover { background: var(--pc-brick); opacity: 1; }
.pc-reviews__dot.is-active { background: var(--pc-brick); opacity: 1; }

/* --- Posúvač fotiek (Elementor Image Carousel) ----------------------------- */
.pc-carousel { position: relative; padding: 0 40px; }
.pc-carousel__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--pc-car-n, 2) - 1) * var(--pc-car-gap, 10px)) / var(--pc-car-n, 2));
	gap: var(--pc-car-gap, 10px);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.pc-carousel__track::-webkit-scrollbar { display: none; }
.pc-carousel__slide { scroll-snap-align: start; line-height: 0; }
.pc-carousel__slide a { display: block; }
.pc-carousel__slide img { display: block; width: 100%; height: auto; aspect-ratio: var(--pc-car-ratio, auto); object-fit: cover; }
.pc-carousel__arrow {
	appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 30px; height: 40px; color: var(--pc-car-arrow, #a2613b);
	display: flex; align-items: center; justify-content: center;
}
.pc-carousel__arrow span { width: 12px; height: 12px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.pc-carousel__arrow--prev { left: 0; }
.pc-carousel__arrow--prev span { transform: translateX(3px) rotate(45deg); }
.pc-carousel__arrow--next { right: 0; }
.pc-carousel__arrow--next span { transform: translateX(-3px) rotate(-135deg); }
@media (max-width: 1024px) {
	.pc-carousel__track { grid-auto-columns: calc((100% - (var(--pc-car-nt, 2) - 1) * var(--pc-car-gap, 10px)) / var(--pc-car-nt, 2)); }
}
@media (max-width: 767px) {
	.pc-carousel__track { grid-auto-columns: calc((100% - (var(--pc-car-nm, 1) - 1) * var(--pc-car-gap, 10px)) / var(--pc-car-nm, 1)); }
}

/* --- Galéria (core/gallery v štýle Elementor Basic Gallery) ---------------- */
.wp-block-gallery.pc-gallery { display: flex; flex-wrap: wrap; gap: 0 !important; margin: 0; padding-bottom: 10px; }
.wp-block-gallery.has-nested-images.pc-gallery figure.wp-block-image {
	width: calc(100% / var(--pc-gal-cols, 4)) !important; flex: none !important; margin: 0 !important;
	padding: 0 var(--pc-gal-gap, 15px) var(--pc-gal-gap, 15px) 0 !important; margin-top: 10px !important; display: block !important;
}
.wp-block-gallery.has-nested-images.pc-gallery figure.wp-block-image img {
	width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 7px;
	border: var(--pc-gal-border, 0) solid var(--pc-gal-border-c, #fff);
}
.wp-block-gallery.pc-gallery figcaption { display: none; }
@media (max-width: 767px) { .wp-block-gallery.has-nested-images.pc-gallery figure.wp-block-image { width: 50% !important; } }
@media (max-width: 479px) { .wp-block-gallery.has-nested-images.pc-gallery figure.wp-block-image { width: 100% !important; } }

/* --- Lightbox (náhrada Elementor lightboxu) -------------------------------- */
.pc-lightbox {
	position: fixed; inset: 0; z-index: 9999; margin: 0; padding: 0; border: 0;
	width: 100%; height: 100%; max-width: none; max-height: none;
	background: rgba(0, 0, 0, .9); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.pc-lightbox:not([open]) { display: none; }
.pc-lightbox::backdrop { background: transparent; }
.pc-lightbox img { max-width: 90vw; max-height: 85vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 30px rgba(0, 0, 0, .3); }
.pc-lightbox button {
	appearance: none; border: 0; background: none; color: rgba(255, 255, 255, .9); cursor: pointer;
	position: absolute; padding: 15px; font: 400 32px/1 sans-serif;
}
.pc-lightbox button:hover { color: #fff; }
.pc-lightbox__close { top: 10px; right: 10px; }
.pc-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.pc-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.pc-lightbox__count { position: absolute; top: 20px; left: 20px; font: 400 14px/1 var(--pc-signika); opacity: .8; }

/* --- Mapa ------------------------------------------------------------------ */
.pc-map { line-height: 0; }
.pc-map iframe { display: block; width: 100%; border: 0; }
.pc-map--gray iframe { filter: saturate(0); }

/* --- Záložky (EA Advanced Tabs) -------------------------------------------- */
.pc-tabs__nav { display: flex; }
.pc-tabs__btn {
	appearance: none; border: 0; cursor: pointer; position: relative; flex: 1 1 0;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 25px 37.5px; background: #e4e4e4; color: #333;
	font: 400 25px/24px var(--pc-unica); text-transform: uppercase;
	transition: background-color .3s, color .3s;
}
.pc-tabs__btn:hover { background: var(--pc-brick); color: #fff; }
.pc-tabs__btn[aria-selected="true"] { background: var(--pc-brick); color: #fff; }
.pc-tabs__btn[aria-selected="true"]::after {
	content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px;
	border: 10px solid transparent; border-bottom: 0; border-top-color: var(--pc-tabs-caret, var(--pc-brick));
}
.pc-tabs__icon { font-size: 20px; }
.pc-tabs__panels { padding-top: 35px; }
.pc-tabs__panel[hidden] { display: none; }
.pc-tabs--editor .pc-tabs__panel--editor { border: 1px dashed #ccc; padding: 10px; margin-bottom: 10px; }
.pc-tabs__editor-title { font: 600 13px/1 sans-serif; color: #555; margin: 6px 0; }
@media (max-width: 767px) {
	.pc-tabs__nav { flex-direction: column; }
	.pc-tabs__panels { padding-top: 25px; }
}

/* --- core/details: štýl „Akordeón Pekné časy“ (EA Advanced Accordion) -----
   Vzhľad konkrétneho akordeónu je v premenných --acc-* na obalovej skupine .pc-accordion. */
.wp-block-group.pc-accordion > .wp-block-details { margin: 0 0 var(--acc-gap, 0) !important; }
.wp-block-details.is-style-peknecasy { margin: 0; }
.wp-block-details.is-style-peknecasy > summary {
	display: flex; align-items: center; gap: 0; cursor: pointer; list-style: none;
	padding: var(--acc-pad, 15px); background: var(--acc-bg, #f1f1f1); color: var(--acc-c, #333);
	border-style: solid; border-width: var(--acc-bw, 1px); border-color: var(--acc-bc, rgba(0, 0, 0, .02));
	font-family: var(--pc-unica); font-size: var(--acc-fs, 20px); font-weight: var(--acc-fw, 400); line-height: var(--acc-lh, 20px);
	text-transform: var(--acc-tt, uppercase);
	transition: background-color .3s, color .3s;
}
.wp-block-details.is-style-peknecasy > summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-peknecasy > summary .pc-icon { font-size: var(--acc-ic-s, 50px); color: var(--acc-ic, var(--pc-rust)); margin: 0 10px 9px 15px; }
.wp-block-details.is-style-peknecasy > summary::after {
	content: ""; flex: none; margin-left: auto; width: 7px; height: 7px; margin-right: 13px;
	border-right: 2px solid var(--acc-tg, #444); border-top: 2px solid var(--acc-tg, #444);
	transform: rotate(45deg); transition: transform .25s;
}
.wp-block-details.is-style-peknecasy > summary:hover { background: var(--acc-bg-h, var(--acc-bg, #f1f1f1)); color: var(--acc-c-h, var(--acc-c, #333)); }
.wp-block-details.is-style-peknecasy > summary:hover::after { border-color: var(--acc-tg-h, var(--acc-tg, #444)); }
.wp-block-details.is-style-peknecasy[open] > summary { background: var(--acc-bg-a, var(--acc-bg, #f1f1f1)); color: var(--acc-c-a, var(--acc-c, #333)); border-width: var(--acc-bw-a, var(--acc-bw, 1px)); border-color: var(--acc-bc-a, var(--acc-bc, rgba(0, 0, 0, .02))); }
.wp-block-details.is-style-peknecasy[open] > summary::after { transform: rotate(135deg); border-color: var(--acc-tg-a, var(--acc-tg, #444)); }
.wp-block-details.is-style-peknecasy > :not(summary) { margin: 0; padding: 0 var(--acc-cpad-x, 15px) 10px; background: var(--acc-cbg, #fff); }
.wp-block-details.is-style-peknecasy > :not(summary):nth-child(2) { padding-top: var(--acc-cpad-y, 15px); }
.wp-block-details.is-style-peknecasy > :not(summary):last-child { padding-bottom: var(--acc-cpad-y, 15px); }
.wp-block-details.is-style-peknecasy ol, .wp-block-details.is-style-peknecasy ul { padding-left: calc(var(--acc-cpad-x, 15px) + 1.4em); }

/* --- core/list: „Zoznam s fajkou“ (Elementor Icon List) -------------------- */
.wp-block-list.is-style-check { list-style: none; padding: 0; margin: 0; }
.wp-block-list.is-style-check li { position: relative; display: flex; align-items: center; margin: 0; }
.wp-block-list.is-style-check li:not(:last-child) { padding-bottom: var(--pc-li-sp, 4.5px); }
.wp-block-list.is-style-check li:not(:first-child) { margin-top: var(--pc-li-sp, 4.5px); }
.wp-block-list.is-style-check.pc-li-div li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--pc-li-div, #ddd); }
.wp-block-list.is-style-check li::before {
	content: ""; flex: none; width: 20px; height: 20px; margin-right: 15px; background: var(--pc-check, var(--pc-rust));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2l-294.4 294.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 16px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2l-294.4 294.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* --- core/table: štýl „Cenník“ (EA Data Table) ----------------------------- */
.wp-block-table.is-style-cennik { margin: 0; overflow-x: auto; }
.wp-block-table.is-style-cennik table { width: 100%; border-collapse: collapse; border: 0; }
.wp-block-table.is-style-cennik thead { border: 0; }
.wp-block-table.is-style-cennik th {
	padding: 20px 15px; border: 0; background: var(--pc-th-bg, #a39f70); color: #fff; text-align: left;
	font: 400 22px/22px var(--pc-unica); text-transform: uppercase;
}
.wp-block-table.is-style-cennik td { padding: 20px 15px; border: 0; color: #333; font: 400 16px/16px var(--pc-signika); }
.wp-block-table.is-style-cennik tbody tr:nth-child(even) td { background: #f2f2f2; }
.wp-block-table.is-style-cennik tbody tr:nth-child(odd) td { background: #fff; }
.wp-block-table.is-style-cennik.pc-table--center th, .wp-block-table.is-style-cennik.pc-table--center td { text-align: center; }


/* --- Kontaktný formulár (vzhľad ako pôvodný WPForms cez EA) ---------------- */
.pc-form-wrap { width: 90%; margin-inline: auto; padding: 0; background: #6d7583; color: #fff; }
.pc-form { font: 300 16px/1.3 var(--pc-signika); }
.pc-field { margin: 0; padding: 10px 0; }
.pc-field input[type="text"], .pc-field input[type="tel"], .pc-field input[type="email"], .pc-field textarea {
	display: block; width: 100%; height: 43px; margin: 0; padding: 6px 10px; border: 0; border-bottom: 2px solid #fff; border-radius: 2px;
	background: #6d7583; color: #fff; font: 300 16px/1.3 var(--pc-signika); box-shadow: none;
}
.pc-field:first-of-type input { margin-bottom: 10px; }
.pc-field textarea { height: 120px; resize: vertical; }
.pc-field input::placeholder, .pc-field textarea::placeholder { color: #ebebeb; opacity: .5; }
.pc-field input:focus, .pc-field textarea:focus { outline: none; border-bottom-color: var(--pc-rust); }
.pc-field--check label { display: block; cursor: pointer; font: 400 14px/1.3 var(--pc-signika); color: #000; }
.pc-field--check input { margin: 0 10px 0 0; vertical-align: -2px; accent-color: var(--pc-rust); width: 14px; height: 14px; }
.pc-field--check a { color: inherit; text-decoration: underline; }
.pc-field.has-error input, .pc-field.has-error textarea { border-bottom-color: #ffb3a7; }
.pc-field__error { display: block; margin-top: 4px; color: #ffd9d2; font-size: 13px; }
.pc-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc-form__submit { margin: 0; padding: 10px 0 0; text-align: center; }
.pc-form__btn {
	appearance: none; cursor: pointer; display: inline-block;
	padding: 10px 15px; border: 0; border-bottom: 2px solid var(--pc-rust); border-radius: 0;
	background: #6d7583; color: #fff;
	font: 400 20px/normal var(--pc-unica); text-transform: uppercase;
	transition: background-color .3s;
}
.pc-form__btn:hover { background: var(--pc-rust); }
.pc-form__btn[disabled] { opacity: .5; cursor: wait; }
.pc-form__status { margin-top: 20px; padding: 15px 20px; background: #fff; color: #333; border-left: 4px solid var(--pc-rust); font-size: 15px; }
.pc-form__status.is-error { border-left-color: #c0392b; }

/* --- Vyskakovacie okno (Elementor Popup) ----------------------------------- */
.pc-popup {
	width: min(640px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; border: 0;
	background: #fff; overflow: visible; overflow-y: auto;
}
.pc-popup[open] { animation: pc-fadeInUp .8s both; }
.pc-popup::backdrop { background: rgba(112, 112, 112, .63); }
.pc-popup__close {
	appearance: none; border: 0; background: none; cursor: pointer; z-index: 5;
	position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; padding: 0;
	color: #fff; font: 400 31px/1 sans-serif; display: flex; align-items: center; justify-content: center;
}
.pc-popup__content > * { margin-block: 0; }

/* --- Rezervačný kalendár (WP Booking System) – len odstupy ----------------- */
.wp-block-shortcode { margin: 0; }

/* Tlačidlo – tmavá varianta (na svetlom pozadí) */
.pc-btn--dark { color: var(--pc-rust); border-color: var(--pc-rust); }

/* ==========================================================================
   Pôvodné vlastné CSS z nastavení The7 (zrezané tvary fotiek a kariet, kalendár)
   ========================================================================== */
/* Fotky v posúvači majú zrezané rohy */
.pc-carousel__slide { clip-path: polygon(0 10%, 0% 0, 90% 0, 95% 0%, 100% 30%, 100% 85%, 100% 100%, 10% 95%, -20% 15%); }
/* Fotky v galérii (prvá galéria na stránke) */
.wp-block-gallery.has-nested-images.pc-gallery figure.wp-block-image { clip-path: polygon(0 10%, 20% 0, 90% 0, 95% 0%, 100% 85%, 100% 85%, 10% 120%, 0% 85%, 0% 15%); }
/* O ubytovaní – stĺpec s fotkou */
.pc-col.pc-el-9f02dde { flex-basis: 31.409% !important; max-width: 31.409% !important; clip-path: polygon(0 20%, 5% 0, 100% 0, 100% 0%, 100% 100%, 100% 100%, 100% 100%, 0% 100%, 5% 90%); }
/* Karty „Pozrite si aj“ a tipy na aktivity */
.pc-el-9417aff > .pc-col > .pc-col__inner,
.pc-el-7676725 > .pc-col > .pc-col__inner,
.pc-el-1f0169a > .pc-col > .pc-col__inner { align-content: center; align-items: center; clip-path: polygon(0 15%, 20% 0, 90% 0, 100% 0%, 100% 80%, 90% 100%, 0% 110%, 0% 90%, 0% 10%); }
.pc-el-a81e220 > .pc-col > .pc-col__inner,
.pc-el-78b4643 > .pc-col > .pc-col__inner { align-content: center; align-items: center; clip-path: polygon(0 20%, 21% 0, 90% 0, 100% 0%, 95% 80%, 90% 96%, 0% 100%, 0% 90%, 0% 10%); }
@media (max-width: 767px) { .pc-col.pc-el-9f02dde { flex-basis: 100% !important; max-width: 100% !important; } }

/* Rezervačný formulár WP Booking System */
body .wpbs-main-wrapper .wpbs-form-container .wpbs-form-field .wpbs-form-field-label span, body .wpbs-main-wrapper .wpbs-form-container .wpbs-form-field label { display: none !important; }
body .wpbs-payment-confirmation, body .wpbs-form-confirmation-message {
	float: left; width: calc(50% - 40px); margin-left: 40px !important; clear: none !important;
	color: #fff; text-transform: uppercase; background-color: #000; padding: 25px;
}
body .wpbs-main-wrapper .wpbs-form-container .wpbs-form-field button.wpbs-coupon-code-button,
body .wpbs-main-wrapper .wpbs-form-container .wpbs-form-field button[type=submit],
body .wpbs-main-wrapper .wpbs-form-container .wpbs-form-field input[type=submit] {
	width: 100% !important; padding: 10px 15px !important; margin: 0 !important; font-size: 18px !important; height: auto !important;
	line-height: 24px !important; font-family: inherit !important; font-weight: 400 !important; color: #fff !important;
	background-color: #a2613b !important; border: none !important; box-shadow: none !important; border-radius: 2px !important;
	outline: 0 !important; -webkit-appearance: none !important; appearance: none !important; box-sizing: border-box;
}
body .wpbs-main-wrapper .wpbs-form-general-error { padding: 0 0 15px 0 !important; font-size: 16px !important; line-height: 26px !important; color: #000 !important; font-weight: 700 !important; }
body .wpbs-container .wpbs-calendars .wpbs-calendar .wpbs-calendar-header select, body .wpbs-calendar-header select { height: 40px !important; line-height: 26px; margin-bottom: 10px; font-family: "Signika Negative", sans-serif; color: #494242; border-radius: 2px; }

/* Elementor: ikona s textom vľavo/vpravo sa na mobile prepne nad text */
@media (max-width: 767px) {
	.pc-ib.pc-ib--left, .pc-ib.pc-ib--right { flex-direction: column; text-align: center; align-items: stretch; }
	.pc-ib.pc-ib--al-left { text-align: left; }
	.pc-ib.pc-ib--al-right { text-align: right; }
	.pc-ib.pc-ib--al-center { text-align: center; }
}
.has-text-align-justify { text-align: justify; }

/* Pás „Zarezervujte si ubytovanie“: karta je v páse zvislo na stred (Matej, 2026-11-15) */
.pc-section__inner > .pc-flip { margin-block: auto !important; }
.pc-shape { left: -3px; width: calc(100% + 6px); }

/* Akordeón – obsah sa pri otváraní jemne zjaví (výšku animuje assets/accordion.js) */
.wp-block-details.is-style-peknecasy[open]:not(.is-closing) > :not(summary) { animation: pc-acc-in .45s ease both; }
.wp-block-details.is-style-peknecasy.is-closing > :not(summary) { opacity: 0; transition: opacity .25s; }
.wp-block-details.is-style-peknecasy > summary::after { transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.wp-block-details.is-style-peknecasy.is-closing > summary::after { transform: rotate(45deg); }
@keyframes pc-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wp-block-details.is-style-peknecasy > :not(summary) { animation: none !important; } }

/* Pásy s jediným nadpisom (napr. „Máte otázky? Kontaktujte nás“): nadpis zvislo na stred (Matej, 2026-11-15) */
.pc-section > .pc-section__inner:has(> .wp-block-heading:first-child:last-child) { justify-content: center; }
.pc-section > .pc-section__inner > .wp-block-heading:first-child:last-child { margin-block: 0 !important; }

/* Karty „Pozrite si aj“ a tipy: prvky v karte na celú šírku (ako v Elementore) – čiara pod nadpisom je viditeľná a nadpis sa zalomí ako v origináli */
.pc-el-9417aff > .pc-col > .pc-col__inner > *, .pc-el-7676725 > .pc-col > .pc-col__inner > *, .pc-el-1f0169a > .pc-col > .pc-col__inner > *, .pc-el-a81e220 > .pc-col > .pc-col__inner > *, .pc-el-78b4643 > .pc-col > .pc-col__inner > * { width: 100%; }

/* Cenník: sivá čiara pod poslednou položkou a 25 px voľného miesta pod cenníkom (Matej, 2026-11-15) */
.wp-block-table.is-style-cennik tbody tr:last-child td { border-bottom: 1px solid #d6d6d6; }
.pc-tabs { padding-bottom: 25px; }

/* Pásy s nadpisom a čiarou (napr. „Pripravili sme pre vás tri videá“): obsah zvislo na stred */
.pc-section > .pc-section__inner:has(> .wp-block-heading:first-child + .pc-divider:last-child) { justify-content: center; }

/* Kontaktný panel (telefón, e-mail, adresa) na mobile pod sebou v prirodzenom poradí */
@media (max-width: 767px) {
	.pc-row.pc-row:has(> .pc-col:nth-of-type(2) .pc-ib a[href^="mailto:"]) { flex-direction: column; flex-wrap: nowrap; }
	.pc-row:has(> .pc-col:nth-of-type(2) .pc-ib a[href^="mailto:"]) > .pc-col { flex-basis: auto; }
}

/* Sekcia s recenziami na mobile: o 35 px viac priestoru hore aj dole */
@media (max-width: 767px) {
	.pc-section.pc-section:has(> .pc-section__inner .pc-reviews) { padding-top: 45px; padding-bottom: 45px; }
}

/* Kontaktný panel s formulárom na mobile: 50 px pod tlačidlom */
@media (max-width: 767px) {
	.pc-col > .pc-col__inner.pc-col__inner:has(> .wp-block-peknecasy-contact-form) { padding-bottom: 50px; }
}

/* Pätička: odkazy na ochranu údajov a cookies aj na mobile (pod sebou, na stred) */
@media (max-width: 767px) {
	.pc-foot-links .pc-text.pc-text { text-align: center; }
	.pc-foot-links > .pc-col__inner.pc-col__inner { padding-bottom: 0; }
}

/* Akordeóny (Časté otázky, Tipy v okolí): text odpovede čiernou */
.wp-block-details.is-style-peknecasy > :not(summary),
.wp-block-details.is-style-peknecasy > :not(summary) :where(p, li, span, div) { color: #000 !important; }

/* Prístupnosť: hnedý text (#a2613b) na svetlom podklade mal kontrast 4,16 – text je o odtieň tmavší (4,6). */
.pc-text span[style*="#a2613b" i] { color: #985b37 !important; }
