/* ==========================================================================
   Auto PDK – 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 {
	--ap-sansation: "Red Hat Display", Helvetica, Arial, Verdana, sans-serif;
	--ap-comfortaa: "Red Hat Display", Helvetica, Arial, Verdana, sans-serif;
	--ap-green: #be3b2f;
	--ap-brown: #8b7360;
}

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

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

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

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

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

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

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

/* ==========================================================================
   Texty, nadpisy, obrázky (core bloky z Elementoru)
   ========================================================================== */
.ap-text > * { margin: 0 0 10px !important; }
/* posledný odsek si necháva 10 px (ako v The7) */
.ap-text ul, .ap-text ol { margin: 0 0 10px; padding-left: 1.4em; }
.ap-text a { color: var(--ap-link, #0a0000); } /* The7: farba odkazov v obsahu #0a0000 */
.ap-text a:hover { color: var(--ap-link-h, #0a0000); }
.ap-text p:empty { display: none; }
.wp-block-heading.ap-h, .ap-heading-p { margin: 0; line-height: 1; } /* Elementor: .elementor-heading-title { line-height: 1 } */
.ap-h a, .ap-heading-p a { color: inherit; }
.wp-block-image.ap-img { margin: 0; text-align: center; line-height: 0; }
.wp-block-image.ap-img.alignleft { text-align: left; float: none; margin: 0; }
.wp-block-image.ap-img.alignright { text-align: right; float: none; margin: 0; }
.wp-block-image.ap-img img { display: inline-block; vertical-align: middle; }
.wp-block-image.ap-img > a { display: inline-block; }
.ap-img-w img { width: var(--ap-img-w, 100%); }
@media (max-width: 1024px) { .ap-img-w img { width: var(--ap-img-wt, var(--ap-img-w, 100%)); } }
@media (max-width: 767px) { .ap-img-w img { width: var(--ap-img-wm, var(--ap-img-wt, var(--ap-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 ---------------------------------------------------------------- */
.ap-divider { display: flex; padding-block: var(--ap-dv-gap, 15px); line-height: 0; }
.ap-divider--center { justify-content: center; }
.ap-divider--right { justify-content: flex-end; }
.ap-divider__line { display: block; width: var(--ap-dv-w, 100%); border-top: var(--ap-dv-h, 1px) solid var(--ap-dv-c, #000); }

/* --- Tlačidlo (The7 Button, veľkosť S) ------------------------------------ */
.ap-btn-wrap.ap-al-left { text-align: left; }
.ap-btn-wrap.ap-al-center { text-align: center; }
.ap-btn-wrap.ap-al-right { text-align: right; }
.ap-btn-wrap.ap-al-justify .ap-btn { display: flex; width: 100%; }
@media (max-width: 767px) {
	.ap-btn-wrap.ap-alm-left { text-align: left; }
	.ap-btn-wrap.ap-alm-center { text-align: center; }
	.ap-btn-wrap.ap-alm-right { text-align: right; }
}
.ap-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(--ap-sansation); letter-spacing: 2px;
	color: #fff; background: transparent; text-align: center;
	transition: color .3s, background-color .3s, border-color .3s;
}
.ap-btn:hover { background: var(--ap-green); border-color: var(--ap-green); color: #fff; }

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

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

/* --- Otočná karta (EA Flip Box „animate-up“) ------------------------------ */
.ap-flip { position: relative; height: var(--ap-flip-h, 100px); perspective: 1000px; }
.ap-flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s ease-in-out; }
.ap-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(--ap-green);
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.ap-flip__back { transform: rotateX(180deg); }
.ap-flip:hover .ap-flip__inner, .ap-flip:focus-within .ap-flip__inner { transform: rotateX(180deg); }
.ap-flip__title { margin: 0 0 10px; font: 400 34px/44px var(--ap-sansation); letter-spacing: 6px; color: #fff; }
.ap-flip__title:last-child { margin-bottom: 0; }
.ap-flip__btn {
	display: inline-block; margin-top: 15px; padding: 14px 18px; border: 1px solid #fff;
	font: 400 20px/24px var(--ap-sansation); letter-spacing: 3px; color: #fff; background: var(--ap-green);
	transition: color .3s, background-color .3s;
}
.ap-flip__back .ap-flip__btn:first-child { margin-top: 0; }
.ap-flip__btn:hover { color: #000; background: #fff; }
@media (max-width: 767px) { .ap-flip__title { font-size: 32px; line-height: 1.2; } }
.editor-styles-wrapper .ap-flip__inner { transform: none !important; }
.editor-styles-wrapper .ap-flip__back { display: none; }

/* --- Recenzie (EA Testimonial Slider, efekt prelínania) ------------------- */
.ap-reviews { text-align: center; }
.ap-reviews__track { display: grid; }
.ap-reviews__item {
	grid-area: 1 / 1; margin: 0; padding: 10px; min-height: 160px;
	opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s;
}
.ap-reviews__item.is-active { opacity: 1; visibility: visible; transition: opacity .6s; }
.ap-reviews__text { margin: 0 0 10px; padding: 0; border: 0; font: 400 15px/22.5px var(--ap-sansation); color: #383737; quotes: none; }
.ap-reviews__text p { margin: 0; }
.ap-reviews__stars { color: #f2b01e; font-size: 17px; line-height: 1; letter-spacing: 3px; margin: 15px 0; }
.ap-reviews__name { font: 600 15.75px/1.5 var(--ap-sansation); color: #272727; }
.ap-reviews__dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
.ap-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;
}
.ap-reviews__dot:hover { background: var(--ap-green); opacity: 1; }
.ap-reviews__dot.is-active { background: var(--ap-green); opacity: 1; }

/* --- Posúvač fotiek (Elementor Image Carousel) ----------------------------- */
.ap-carousel { position: relative; padding: 0 40px; }
.ap-carousel__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--ap-car-n, 2) - 1) * var(--ap-car-gap, 10px)) / var(--ap-car-n, 2));
	gap: var(--ap-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;
}
.ap-carousel__track::-webkit-scrollbar { display: none; }
.ap-carousel__slide { scroll-snap-align: start; line-height: 0; }
.ap-carousel__slide a { display: block; }
.ap-carousel__slide img { display: block; width: 100%; height: auto; aspect-ratio: var(--ap-car-ratio, auto); object-fit: cover; }
.ap-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(--ap-car-arrow, #4b782c);
	display: flex; align-items: center; justify-content: center;
}
.ap-carousel__arrow span { width: 12px; height: 12px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.ap-carousel__arrow--prev { left: 0; }
.ap-carousel__arrow--prev span { transform: translateX(3px) rotate(45deg); }
.ap-carousel__arrow--next { right: 0; }
.ap-carousel__arrow--next span { transform: translateX(-3px) rotate(-135deg); }
@media (max-width: 1024px) {
	.ap-carousel__track { grid-auto-columns: calc((100% - (var(--ap-car-nt, 2) - 1) * var(--ap-car-gap, 10px)) / var(--ap-car-nt, 2)); }
}
@media (max-width: 767px) {
	.ap-carousel__track { grid-auto-columns: calc((100% - (var(--ap-car-nm, 1) - 1) * var(--ap-car-gap, 10px)) / var(--ap-car-nm, 1)); }
}

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

/* --- Lightbox (náhrada Elementor lightboxu) -------------------------------- */
.ap-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;
}
.ap-lightbox:not([open]) { display: none; }
.ap-lightbox::backdrop { background: transparent; }
.ap-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); }
.ap-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;
}
.ap-lightbox button:hover { color: #fff; }
.ap-lightbox__close { top: 10px; right: 10px; }
.ap-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.ap-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.ap-lightbox__count { position: absolute; top: 20px; left: 20px; font: 400 14px/1 var(--ap-sansation); opacity: .8; }

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

/* --- Záložky (EA Advanced Tabs) -------------------------------------------- */
.ap-tabs__nav { display: flex; }
.ap-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(--ap-sansation); text-transform: uppercase;
	transition: background-color .3s, color .3s;
}
.ap-tabs__btn:hover { background: var(--ap-green); color: #fff; }
.ap-tabs__btn[aria-selected="true"] { background: var(--ap-green); color: #fff; }
.ap-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(--ap-tabs-caret, var(--ap-green));
}
.ap-tabs__icon { font-size: 20px; }
.ap-tabs__panels { padding-top: 35px; }
.ap-tabs__panel[hidden] { display: none; }
.ap-tabs--editor .ap-tabs__panel--editor { border: 1px dashed #ccc; padding: 10px; margin-bottom: 10px; }
.ap-tabs__editor-title { font: 600 13px/1 sans-serif; color: #555; margin: 6px 0; }
@media (max-width: 767px) {
	.ap-tabs__nav { flex-direction: column; }
	.ap-tabs__panels { padding-top: 25px; }
}

/* --- core/details: štýl „Akordeón Auto PDK“ (EA Advanced Accordion) -----
   Vzhľad konkrétneho akordeónu je v premenných --acc-* na obalovej skupine .ap-accordion. */
.wp-block-group.ap-accordion > .wp-block-details { margin: 0 0 var(--acc-gap, 0) !important; }
.wp-block-details.is-style-autopdk { margin: 0; }
.wp-block-details.is-style-autopdk > 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(--ap-sansation); 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-autopdk > summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-autopdk > summary .ap-icon { font-size: var(--acc-ic-s, 50px); color: var(--acc-ic, var(--ap-green)); margin: 0 10px 9px 15px; }
.wp-block-details.is-style-autopdk > 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-autopdk > 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-autopdk > summary:hover::after { border-color: var(--acc-tg-h, var(--acc-tg, #444)); }
.wp-block-details.is-style-autopdk[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-ap-a, var(--acc-bc, rgba(0, 0, 0, .02))); }
.wp-block-details.is-style-autopdk[open] > summary::after { transform: rotate(135deg); border-color: var(--acc-tg-a, var(--acc-tg, #444)); }
.wp-block-details.is-style-autopdk > :not(summary) { margin: 0; padding: 0 var(--acc-cpad-x, 15px) 10px; background: var(--acc-cbg, #fff); }
.wp-block-details.is-style-autopdk > :not(summary):nth-child(2) { padding-top: var(--acc-cpad-y, 15px); }
.wp-block-details.is-style-autopdk > :not(summary):last-child { padding-bottom: var(--acc-cpad-y, 15px); }
.wp-block-details.is-style-autopdk ol, .wp-block-details.is-style-autopdk 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(--ap-li-sp, 4.5px); }
.wp-block-list.is-style-check li:not(:first-child) { margin-top: var(--ap-li-sp, 4.5px); }
.wp-block-list.is-style-check.ap-li-div li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--ap-li-div, #ddd); }
.wp-block-list.is-style-check li::before {
	content: ""; flex: none; width: 20px; height: 20px; margin-right: 15px; background: var(--ap-check, var(--ap-green));
	-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(--ap-th-bg, #a39f70); color: #fff; text-align: left;
	font: 400 22px/22px var(--ap-sansation); text-transform: uppercase;
}
.wp-block-table.is-style-cennik td { padding: 20px 15px; border: 0; color: #333; font: 400 16px/16px var(--ap-sansation); }
.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.ap-table--center th, .wp-block-table.is-style-cennik.ap-table--center td { text-align: center; }


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

/* --- Vyskakovacie okno (Elementor Popup) ----------------------------------- */
.ap-popup {
	width: min(640px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; border: 0;
	background: #fff; overflow: visible; overflow-y: auto;
}
.ap-popup[open] { animation: ap-fadeInUp .8s both; }
.ap-popup::backdrop { background: rgba(112, 112, 112, .63); }
.ap-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;
}
.ap-popup__content > * { margin-block: 0; }

/* ==========================================================================
   Auto PDK – štýly blokov podľa pôvodného webu (The7 + Elementor + EA)
   ========================================================================== */

/* Nadpisy z Elementoru: predvolené globálne písmo kitu (Noto Sans 600, hnedá) – prepíše ho vlastná typografia bloku */
.wp-block-heading.ap-h { font-family: var(--ap-sansation); font-weight: 600; color: #644715; }
.ap-heading-p { font-family: var(--ap-sansation); font-weight: 600; }
.ap-text { color: #363636; }

/* Tlačidlo (The7 Button) */
.ap-btn {
	padding: 16px 24px; border: 2px solid #fff; border-radius: 8px;
	font: 300 18px/18px var(--ap-sansation); letter-spacing: 0;
	color: #fff; background: rgba(0, 0, 0, .61);
}
.ap-btn:hover { background: #000; border-color: #fff; color: #fff; }

/* Ikonky zo zoznamov (Elementor Icon List s fontovými ikonkami) */
.wp-block-list.is-style-icons { list-style: none; padding: 0; margin: 0; }
.wp-block-list.is-style-icons li { display: flex; align-items: center; gap: var(--ap-ico-gap, 15px); margin: 0; }
.wp-block-list.is-style-icons li + li { margin-top: calc(var(--ap-li-sp, 4.5px) * 2); }
.wp-block-list.is-style-icons li::before {
	content: ""; flex: none; width: var(--ap-ico-s, 20px); height: var(--ap-ico-s, 20px); background: var(--ap-check, #000);
	-webkit-mask: var(--ap-li-ico) center / contain no-repeat; mask: var(--ap-li-ico) center / contain no-repeat;
}
.ap-ico-phone { --ap-li-ico: url(icons/phone.svg); }
.ap-ico-mobile { --ap-li-ico: url(icons/mobile.svg); }
.ap-ico-mail { --ap-li-ico: url(icons/mail.svg); }
.ap-ico-envelope-open { --ap-li-ico: url(icons/envelope-open.svg); }
.ap-ico-pin { --ap-li-ico: url(icons/pin.svg); }
.ap-ico-clock { --ap-li-ico: url(icons/clock.svg); }
.ap-ico-cart { --ap-li-ico: url(icons/cart.svg); }

/* Samostatná ikonka (Elementor Icon) */
.ap-ib--icon-only { gap: 0; }
.ap-ib--icon-only .ap-ib__body { display: none; }
.ap-ib--icon-only .ap-ib__icon { display: inline-flex; align-self: center; line-height: 0; }
.ap-ib--icon-only.ap-ib--al-left .ap-ib__icon { align-self: flex-start; }

/* Počítadlo (Elementor Counter: číslo a vedľa neho text) */
.ap-counter--el { text-align: left; }
.ap-counter--el .ap-counter__value { display: flex; align-items: flex-start; font: 600 45px/1.2 var(--ap-comfortaa); color: #fff; white-space: normal; }
.ap-counter--el .ap-counter__suffix { flex: 1; margin: 11px 0 0 20px; font: 400 16px/1.3 var(--ap-sansation); color: #eee; }
@media (max-width: 767px) { .ap-counter--el .ap-counter__value { justify-content: center; } }

/* Výpis článkov */
.ap-posts { --ap-po-gap: 30px; --ap-po-rgap: 30px; }
.ap-po-card__img img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: var(--ap-po-ratio, 1.5); transition: transform 1s ease; }
.ap-po-card__title { margin: 0; font: 400 20px/1.3 var(--ap-sansation); text-transform: none; color: #000; }
.ap-po-card__title a { color: inherit; }
.ap-po-card__btn {
	display: inline-block; margin-top: 10px; padding: 7px 14px;
	font: 300 12px/1.2 var(--ap-sansation); color: #fff; background: rgba(0, 0, 0, .64);
	border: 1px solid #fff; border-radius: 6px; transition: background-color .3s;
}
.ap-po-card__btn:hover { background: #000; }

/* posúvač: fotka so svetlým prechodom, nadpis dole */
.ap-posts--carousel { padding: 0; }
.ap-posts--carousel .ap-carousel__slide { line-height: normal; }
.ap-posts--carousel .ap-po-card { position: relative; display: block; overflow: hidden; border-radius: 8px; color: #000; }
.ap-posts--carousel .ap-po-card__img { display: block; }
.ap-posts--carousel .ap-po-card__img img { filter: saturate(.27); aspect-ratio: var(--ap-po-ratio, .7); }
.ap-posts--carousel .ap-po-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .84)); transition: opacity .3s; }
.ap-posts--carousel .ap-po-card__title { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 30px 30px; font-weight: 500; }
.ap-posts--carousel .ap-po-card:hover img { transform: scale(1.1); }
.ap-posts--carousel .ap-po-card:hover::after { opacity: .6; }
.ap-posts--carousel .ap-carousel__arrow { width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: var(--ap-green); color: #fff; opacity: 0; transition: opacity .3s; }
.ap-posts--carousel .ap-carousel__arrow span { width: 7px; height: 7px; }
.ap-posts--carousel .ap-carousel__arrow--prev { left: -15px; }
.ap-posts--carousel .ap-carousel__arrow--next { right: -15px; }
.ap-posts--carousel:hover .ap-carousel__arrow, .ap-posts--carousel .ap-carousel__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .ap-posts--carousel .ap-carousel__arrow { opacity: 1; } }

/* mriežka: biele karty */
.ap-posts--grid { display: grid; grid-template-columns: repeat(var(--ap-car-n, 3), minmax(0, 1fr)); gap: var(--ap-po-rgap) var(--ap-po-gap); }
.ap-posts--grid .ap-po-card { background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ap-posts--grid .ap-po-card__img { display: block; overflow: hidden; border-radius: 8px 8px 0 0; }
.ap-posts--grid .ap-po-card:hover .ap-po-card__img img { transform: scale(1.1); }
.ap-posts--grid .ap-po-card__body { padding: 25px 30px 30px; }
.ap-posts--grid .ap-po-card__title { font-size: 25px; color: var(--ap-green); }
@media (max-width: 1024px) { .ap-posts--grid { grid-template-columns: repeat(var(--ap-car-nt, 2), minmax(0, 1fr)); } }
@media (max-width: 767px) { .ap-posts--grid { grid-template-columns: repeat(var(--ap-car-nm, 1), minmax(0, 1fr)); } }

/* zoznam: biely riadok s fotkou vľavo */
.ap-posts--list { display: grid; grid-template-columns: repeat(var(--ap-car-n, 1), minmax(0, 1fr)); gap: var(--ap-po-rgap, 20px) var(--ap-po-gap, 30px); }
.ap-posts--list .ap-po-card { display: flex; align-items: center; gap: var(--ap-po-img-gap, 30px); border-radius: 8px; }
.ap-posts--list .ap-po-card__img { flex: none; width: var(--ap-po-img, 150px); }
.ap-posts--list .ap-po-card__img img { aspect-ratio: 1; border-radius: 8px; }
.ap-posts--list .ap-po-card__title { color: var(--ap-green); }
@media (max-width: 767px) {
	.ap-posts--list { grid-template-columns: 1fr; gap: 60px; }
	.ap-posts--list .ap-po-card { flex-direction: column; text-align: center; gap: 25px; }
	.ap-posts--list .ap-po-card__img { width: 100%; }
	.ap-posts--list .ap-po-card__img img { aspect-ratio: 1.55; }
}

/* Cenník (EA Price Menu) */
.ap-price { list-style: none; margin: 0; padding: 0; --ap-price-div: #e0e0e0; }
.ap-price__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 5px 15px 10px; }
.ap-price__item + .ap-price__item { margin-top: 15px; }
.ap-price__title { flex: 1 1 0; min-width: 0; font: 500 16px/1.4 var(--ap-sansation); color: #000; margin-bottom: 5px; display: flex; align-items: baseline; gap: 5px; }
.ap-price__title::after { content: ""; flex: 1 1 20px; min-width: 20px; border-bottom: 1px solid var(--ap-price-div); margin-left: 5px; }
.ap-price__price { font: 900 16px/29px var(--ap-sansation); color: #578336; white-space: nowrap; }
.ap-price__desc { flex-basis: 100%; font: 500 14px/1.4 var(--ap-sansation); color: #616161; }

/* Výzva s fotkou (EA Call to Action) */
.ap-cta { position: relative; overflow: hidden; border-radius: 8px; background: #5e9638; text-align: center; color: #fff; }
.ap-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-cta__inner { position: relative; z-index: 1; padding: 0 20px 20px; }
.ap-cta__title { margin: 40px 0 0; font: 300 25px/1.3 var(--ap-comfortaa); text-transform: uppercase; color: #fff; }
.ap-cta__text { margin: 10px 0 0; }
.ap-cta__btn { display: inline-block; margin-top: 20px; padding: 8px 20px; border: 2px solid #fff; border-radius: 8px; background: rgba(0, 0, 0, .61); color: #fff; font: 300 16px/1.5 var(--ap-sansation); transition: background-color .3s; }
.ap-cta__btn:hover { background: #000; }

/* Akordeón The7 (Naše ambulancie) */
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary {
	font-family: var(--ap-sansation); text-transform: none; line-height: 1.3; border: 0; border-radius: 8px; font-weight: 400;
}
.ap-accordion--the7 .wp-block-details.is-style-autopdk > :not(summary) { background: transparent; }

/* Galéria Elementor Pro (mriežka s pevným pomerom) */
.wp-block-gallery.has-nested-images.ap-pro-gallery { gap: 0 !important; margin-inline: calc(var(--ap-gal-gap, 10px) / -2); width: auto; padding: 0; }
.wp-block-gallery.has-nested-images.ap-pro-gallery figure.wp-block-image { padding: calc(var(--ap-gal-gap, 10px) / 2) !important; margin: 0 !important; }
.wp-block-gallery.has-nested-images.ap-pro-gallery figure.wp-block-image img {
	aspect-ratio: var(--ap-gal-ratio, 3 / 2); margin: 0; border-radius: var(--ap-gal-radius, 0);
	filter: saturate(var(--ap-gal-sat, 1)); transition: filter .4s;
}
.wp-block-gallery.has-nested-images.ap-pro-gallery figure.wp-block-image a:hover img { filter: saturate(var(--ap-gal-sat, 1)) blur(1.2px); }
@media (max-width: 767px) { .wp-block-gallery.has-nested-images.ap-pro-gallery figure.wp-block-image { width: calc(100% / var(--ap-gal-cols, 2)) !important; } }
@media (max-width: 479px) { .wp-block-gallery.has-nested-images.ap-pro-gallery figure.wp-block-image { width: calc(100% / var(--ap-gal-cols, 2)) !important; } }
/* Loga médií: celé logo, nie orezané */
.wp-block-gallery.ap-pro-gallery:not(.ap-lb-group) figure.wp-block-image img { object-fit: contain; }

/* Formuláre */
.ap-form-wrap { width: auto; background: none; color: inherit; }
.ap-form { font: 400 15px/1.4 var(--ap-sansation); }
/* kontakt / prihláška – hnedý box, biele podčiarknuté polia (WPForms cez EA) */
.ap-form-wrap--kontakt, .ap-form-wrap--prihlaska { background: #8b7360; color: #fff; padding: 50px; }
.ap-form--kontakt .ap-field, .ap-form--prihlaska .ap-field { padding: 0 0 20px; }
.ap-form--kontakt .ap-field input:not([type="checkbox"]), .ap-form--kontakt .ap-field textarea,
.ap-form--prihlaska .ap-field input:not([type="checkbox"]), .ap-form--prihlaska .ap-field textarea {
	display: block; width: 100%; height: 43px; margin: 0; padding: 6px 0; border: 0; border-bottom: 2px solid #fff; border-radius: 0;
	background: #8b7360; color: #fff; font: 500 15px/1.3 var(--ap-sansation); box-shadow: none;
}
.ap-form--kontakt .ap-field textarea, .ap-form--prihlaska .ap-field textarea { height: 120px; resize: vertical; }
.ap-form--kontakt ::placeholder, .ap-form--prihlaska ::placeholder { color: #fff; opacity: 1; }
.ap-form--kontakt .ap-field--check label, .ap-form--prihlaska .ap-field--check label { color: #fff; font: 500 14px/1.4 var(--ap-sansation); }
.ap-form--kontakt .ap-form__submit, .ap-form--prihlaska .ap-form__submit { text-align: left; padding-top: 10px; }
.ap-form--kontakt .ap-form__btn, .ap-form--prihlaska .ap-form__btn {
	padding: 15px 20px 14px; border: 2px solid #fff; border-radius: 8px; background: #313131; color: #fff; font: 300 17px/1.2 var(--ap-sansation); text-transform: none;
}
.ap-form--kontakt .ap-form__btn:hover, .ap-form--prihlaska .ap-form__btn:hover { background: #000; }
@media (max-width: 767px) { .ap-form-wrap--kontakt, .ap-form-wrap--prihlaska { padding: 30px 20px; } }
/* odber noviniek – biele pole s rámom, súhlas a tlačidlo v riadku (Elementor formulár) */
.ap-form--odber .ap-field { padding: 0; }
.ap-form--odber .ap-field--email input {
	display: block; width: 100%; height: auto; min-height: 47px; padding: 6px 16px; margin: 0;
	border: 6px solid #fff; border-radius: 8px; background: #fff; color: #000; font: 400 15px/1.4 var(--ap-sansation);
}
.ap-form--odber .ap-form__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ap-form--odber .ap-field--check { flex: 0 0 calc(75% - 10px); }
.ap-form--odber .ap-field--check label { color: #000; font: 400 13px/1.4 var(--ap-sansation); }
.ap-form--odber .ap-form__submit { flex: 1; padding: 0; }
.ap-form--odber .ap-form__btn {
	width: 100%; padding: 12px 24px; border: 2px solid #fff; border-radius: 8px;
	background: rgba(0, 0, 0, .65); color: #fff; font: 300 18px/1 var(--ap-sansation); text-transform: none;
}
.ap-form--odber .ap-form__btn:hover { background: #000; }
@media (max-width: 1024px) {
	.ap-form--odber .ap-form__row { flex-direction: column; align-items: stretch; }
	.ap-form--odber .ap-field--check { flex: none; }
}
.ap-field--check input { accent-color: var(--ap-green); }
.ap-field.has-error input, .ap-field.has-error textarea { border-color: #e2401c !important; }
.ap-field__error { color: #e2401c; }
.ap-form-wrap--kontakt .ap-field__error, .ap-form-wrap--prihlaska .ap-field__error { color: #ffd9d2; }
.ap-form__status { border-left-color: var(--ap-green); }

/* Zdieľanie */
.ap-share { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ap-share__btn { display: flex; align-items: center; justify-content: center; height: 45px; border-radius: 5px; background: #414141; color: #fff; transition: background-color .2s; }
.ap-share__btn:hover { background: #000; }

/* Odkaz na Facebook (namiesto vloženého tlačidla „Páči sa mi to“) */
.ap-fb-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px; background: #1877f2; color: #fff !important; font: 600 13px/1.2 var(--ap-sansation); }
.ap-fb-link:hover { background: #166fe5; }

/* Audio a video */
.wp-block-audio, .wp-block-video { margin: 0; }
.wp-block-audio audio { width: 100%; }
.wp-block-video video { width: 100%; display: block; }

/* Mapa: sivá (štýl „silver“ v EA) */
.ap-map--gray iframe { filter: grayscale(1) contrast(.95) brightness(1.05); }

/* Nadpis a obsah článku */
.ap-post-title { margin: 0; }
.ap-post-content > *:first-child { margin-top: 0; }
.ap-post-content img { height: auto; border-radius: 8px; }


/* The7 akordeón: veľké písmená, šípka vľavo */
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary { text-transform: uppercase; flex-direction: row-reverse; justify-content: flex-end; gap: 12px; }
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary::after { margin: 0 0 0 4px; transform: rotate(135deg); }
.ap-accordion--the7 .wp-block-details.is-style-autopdk[open] > summary::after { transform: rotate(-45deg); }
/* SVG ikonka z knižnice médií si necháva vlastné farby (ako v Elementore) */
.ap-ib--img .ap-ib__icon .ap-icon { background: var(--ap-icon) center / contain no-repeat; -webkit-mask: none; mask: none; }

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

/* Elementor Icon List – vodorovné rozloženie */
.wp-block-list.ap-li-inline { display: flex; flex-wrap: wrap; gap: 0 30px; }
.wp-block-list.ap-li-inline li + li { margin-top: 0; }

/* EA Call to Action – rozloženie „flex“: nadpis vľavo, tlačidlo vpravo */
.ap-cta--flex .ap-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 20px !important; }
.ap-cta--flex .ap-cta__title { margin: 0 !important; }
.ap-cta--flex .ap-cta__btn { margin-top: 0; flex: none; }

/* Obsah článku – odstupy ako v The7 */
.ap-post-title { width: 100%; }
.entry-content .ap-post-content > * { margin: 0 0 10px; }
.ap-post-content > :is(h1, h2, h3, h4, h5, h6) { margin: 0 0 10px; }
.ap-post-content blockquote { margin: 0 0 26px; padding: 15px 0 15px 15px; border-left: 4px solid #0a0000; font-size: 15px; line-height: 30px; }
.ap-post-content blockquote p { margin: 0; font-size: inherit; line-height: inherit; }

/* Mriežka článkov – rozmery ako The7 Posts Masonry */
.ap-posts--grid .ap-po-card__body { padding: 30px; }
.ap-posts--grid .ap-po-card__btn, .ap-posts--list .ap-po-card__btn { font-size: 14px; padding: 10px 16px; margin-top: 20px; }

/* Tabuľka (EA Data Table) – na mobile bunky pod sebou */
@media (max-width: 767px) {
	.wp-block-table.is-style-cennik tr { display: block; padding: 10px 0; }
	.wp-block-table.is-style-cennik td { display: block; padding: 6px 15px; background: none !important; }
	.wp-block-table.is-style-cennik tbody tr:nth-child(even) { background: #f2f2f2; }
}

/* Formulár v stĺpci (flex) na celú šírku */
.ap-form-wrap { width: 100%; margin-inline: 0; }
/* ==========================================================================
   autobazarbratislava.sk – bloky a widgety tohto webu (načítava sa za blocks.css)
   ========================================================================== */

/* Tlačidlo The7 (predvolené: veľkosť M, akcentová farba) */
.ap-btn {
	gap: 8px; padding: 12px 18px; border: 0; border-radius: 1px;
	font: 700 14px/1.2 var(--ap-sansation); letter-spacing: 0;
	color: #fff; background: #be3b2f;
}
.ap-btn:hover { background: #be3b2f; color: #fff; }
.ap-btn__icon { font-size: 14px; color: #be3b2f; transition: color .3s; }
/* Šípka mení farbu červená ↔ čierna (pôvodné vlastné CSS .box-button i) */
/* EA Creative Button – efekt Winona: pri prejdení sa text vymení za druhý text zdola */
.ap-btn--swap { position: relative; overflow: hidden; }
.ap-btn--swap .ap-btn__text, .ap-btn--swap .ap-btn__hover { transition: transform .3s, opacity .3s; }
.ap-btn--swap .ap-btn__hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(50%); opacity: 0; }
.ap-btn--swap:hover .ap-btn__text { transform: translateY(-25%); opacity: 0; }
.ap-btn--swap:hover .ap-btn__hover { transform: none; opacity: 1; }
.ap-btn-creative .ap-btn { letter-spacing: 1px; }

/* Text z poľa inzerátu (zoznamy výbavy s červenou fajkou v 2 stĺpcoch) */
.ap-text--pole ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.ap-text--pole li { position: relative; padding-left: 30px; margin-bottom: 10px; break-inside: avoid; }
@media (max-width: 767px) { .ap-text--pole ul { columns: 1; } }
/* Zoznamy v texte (kit Elementoru: vlastná SVG odrážka) */
.ap-text ul { padding-left: 0; }
.ap-text ul li { list-style: none; position: relative; padding-left: 30px; margin-bottom: 10px; }
.ap-text ul li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
	background: url("../../../uploads/2026/07/check.svg") center / contain no-repeat;
}

/* Vodorovné menu (The7 Horizontal Menu) */
.ap-hmenu__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.ap-hmenu--justified .ap-hmenu__list { justify-content: space-between; }
.ap-hmenu--center .ap-hmenu__list { justify-content: center; }
.ap-hmenu__list > li { position: relative; flex: 1 1 auto; text-align: center; }
.ap-hmenu__list a { display: block; padding: 9px 12px; color: #fff; font: 500 15px/1.2 var(--ap-sansation); letter-spacing: 1px; text-transform: uppercase; }
.ap-hmenu--div .ap-hmenu__list > li + li::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 1px; height: var(--ap-hm-div-h, 8px); background: var(--ap-hm-div, #d23d3a);
}
@media (max-width: 767px) { .ap-hmenu__list > li { flex: 0 1 auto; } .ap-hmenu__list a { padding: 4px 8px; } }

/* Sociálne siete */
.ap-social { display: flex; --ap-soc-s: 25px; }
.ap-social--center { justify-content: center; }
.ap-social--right { justify-content: flex-end; }
@media (max-width: 767px) { .ap-social--m-center { justify-content: center; } }
.ap-social__a { display: inline-flex; padding: calc(var(--ap-soc-s) / 2.5); color: #be3b2f; transition: color .3s; }
.ap-social__a svg { width: var(--ap-soc-s); height: var(--ap-soc-s); }

/* Recenzia (EA Testimonial) */
.ap-testimonial { height: 100%; }
.ap-testimonial__stars { display: flex; gap: 2px; margin: 0 0 10px; color: #e1200f; }
.ap-testimonial__text p { margin: 0 0 10px; }
.ap-testimonial__name { margin: 0; font-weight: 800; }
.ap-testimonial__company { margin: 0; font-size: 12px; opacity: .8; }

/* Časová os (EA Content Timeline, vodorovná) */
.ap-timeline { list-style: none; margin: 0; padding: 0; --ap-tl-line: #fff; --ap-tl-accent: #be3b2f; --ap-tl-card: #111; --ap-tl-dot: #000; }
.ap-timeline__box { position: relative; padding: 20px; background: var(--ap-tl-card); }
.ap-timeline__title { margin: 0 0 8px; font: 900 20px/1.2 var(--ap-sansation); color: #c73527; text-transform: none; }
.ap-timeline__text { font: 400 14px/1.3 var(--ap-sansation); color: #fff; }
.ap-timeline__text p { margin: 0; }

/* Karty s fotkou (The7 Image Box Grid – Auto PDK v médiách) */
.ap-ibg { display: grid; grid-template-columns: repeat(var(--ap-ibg-c), 1fr); gap: 30px; }
@media (max-width: 1024px) { .ap-ibg { grid-template-columns: repeat(var(--ap-ibg-ct), 1fr); } }
@media (max-width: 767px) { .ap-ibg { grid-template-columns: repeat(var(--ap-ibg-cm), 1fr); } }
.ap-ibg__item { display: grid; grid-template-columns: var(--ap-ibg-img, 45%) 1fr; grid-template-rows: auto auto 1fr; column-gap: 25px; overflow: hidden; background: #fff; border-radius: 10px; }
.ap-ibg__imglink, .ap-ibg__item > .ap-ibg__img { grid-row: 1 / span 3; }
.ap-ibg__img { display: block; width: 100%; height: 100%; aspect-ratio: var(--ap-ibg-ratio, 1.2); object-fit: cover; }
.ap-ibg__title { margin: 20px 20px 8px 0; font: 700 16px/1.3 var(--ap-sansation); text-transform: none; color: #000; }
.ap-ibg__text { margin: 0 20px 8px 0; color: #000; font-size: 13px; }
.ap-ibg__btn { align-self: end; margin: 0 20px 15px 0; padding: 8px 8px 8px 0; font: 900 14px/1 var(--ap-sansation); color: #000; }
.ap-ibg__btn::after { content: "›"; margin-left: 6px; color: #be3b2f; font-size: 18px; }
@media (max-width: 767px) {
	.ap-ibg__item { grid-template-columns: 1fr; text-align: center; padding-bottom: 20px; }
	.ap-ibg__imglink, .ap-ibg__item > .ap-ibg__img { grid-row: auto; }
	.ap-ibg { gap: 6px; }
	.ap-ibg__img { aspect-ratio: 1.5; object-fit: cover; }
	.ap-ibg__title, .ap-ibg__text, .ap-ibg__btn { margin-left: 20px; }
}

/* Obrázok inzerátu */
.ap-auto-img { margin: 0; line-height: 0; }
.ap-auto-img img { width: 100%; height: auto; display: block; }

/* Galéria inzerátu (The7 Photo Scroller) */
.ap-scroller { position: relative; height: var(--ap-sc-h, 450px); background: #000; overflow: hidden; }
.ap-scroller__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ap-scroller__track::-webkit-scrollbar { display: none; }
.ap-scroller__item { flex: none; height: 100%; scroll-snap-align: center; }
.ap-scroller__item img { height: 100%; width: 100%; object-fit: cover; max-width: none; display: block; } /* šírku dáva aspect-ratio položky (lazy fotky) */
.ap-scroller__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); cursor: pointer; }
.ap-scroller__arrow::after { content: ""; position: absolute; inset: 15px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.ap-scroller__arrow--prev { left: 15px; }
.ap-scroller__arrow--prev::after { transform: rotate(135deg); }
.ap-scroller__arrow--next { right: 15px; }
@media (max-width: 767px) { .ap-scroller { height: min(var(--ap-sc-h, 450px), 60vw); } }

/* Zoznam áut a odkaz celej karty */
.ap-loop { display: grid; grid-template-columns: repeat(var(--ap-loop-c, 1), 1fr); gap: 20px; }
.ap-stretch { position: absolute; inset: 0; z-index: 3; }
.ap-section:has(> .ap-stretch), .ap-row:has(> .ap-stretch) { position: relative; }

/* Dátum článku */
.ap-post-info { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; color: #fff; }
.ap-post-info--center { justify-content: center; }
.ap-post-info li { display: flex; align-items: center; gap: 6px; }

/* Ikonky v zozname: obálka, šípka, siete */
.ap-ico-envelope { --ap-li-ico: url(icons/envelope.svg); }
.ap-ico-arrow { --ap-li-ico: url(icons/arrow.svg); }
.ap-ico-facebook { --ap-li-ico: url(icons/facebook.svg); }
.ap-ico-instagram { --ap-li-ico: url(icons/instagram.svg); }
.ap-ico-youtube { --ap-li-ico: url(icons/youtube.svg); }

/* Otočná karta – EA „animate-fade-in“ (úvod: Kúpiť / Predať / Doviezť / Servis) */
.ap-flip__face { background: transparent; border-radius: 0; }
.ap-flip--animate-fade-in { perspective: none; }
.ap-flip--animate-fade-in .ap-flip__inner { transform: none !important; transform-style: flat; }
.ap-flip--animate-fade-in .ap-flip__face { -webkit-backface-visibility: visible; backface-visibility: visible; transition: opacity .5s ease; }
.ap-flip--animate-fade-in .ap-flip__back { transform: none; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ap-flip--animate-fade-in:hover .ap-flip__back,
.ap-flip--animate-fade-in:focus-within .ap-flip__back { opacity: 1; visibility: visible; }
.ap-flip--animate-fade-in:hover .ap-flip__front,
.ap-flip--animate-fade-in:focus-within .ap-flip__front { opacity: 0; }
.ap-flip__text { margin: 0; font: 400 14px/1.6 var(--ap-sansation); color: #fff; }
.ap-flip__content { width: 100%; text-align: left; }
@media (max-width: 767px) { .ap-flip[style*="--ap-flip-hm"] { height: var(--ap-flip-hm); } }

/* Karty článkov/áut s fotkou a nadpisom cez ňu (The7 gradient overlay / rollover) */
.ap-posts--go .ap-po-card, .ap-posts--gr .ap-po-card { position: relative; display: block; overflow: hidden; border-radius: 10px; color: #fff; }
.ap-posts--go .ap-po-card::after, .ap-posts--gr .ap-po-card::after { content: none; }
.ap-posts--go .ap-po-card__img img, .ap-posts--gr .ap-po-card__img img { filter: none; aspect-ratio: var(--ap-po-ratio, auto); transition: transform 1.2s ease; }
.ap-posts--go .ap-po-card:hover img, .ap-posts--gr .ap-po-card:hover img { transform: scale(1.08); }
.ap-po-card__over {
	position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 20px 25px 25px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .81) 100%);
}
.ap-posts--go .ap-po-card__over { opacity: 0; transition: opacity .4s; }
.ap-posts--go .ap-po-card:hover .ap-po-card__over, .ap-posts--go .ap-po-card:focus-visible .ap-po-card__over { opacity: 1; }
.ap-posts--gr .ap-po-card__over { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%); }
.ap-po-card__over .ap-po-card__title { position: static; padding: 0; color: #fff; font: 400 20px/1.3 var(--ap-sansation); }
.ap-posts--gr .ap-po-card__title { font-size: 18px; }
.ap-po-card__over .ap-po-card__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0; background: none; color: #fff; font: 900 14px/1 var(--ap-sansation); }
.ap-po-card__ico { font-size: 12px; color: #be3b2f; }
.ap-noarrows .ap-carousel__arrow { display: none !important; }
.ap-carousel__dots { display: flex; justify-content: center; gap: 25px; margin-top: 25px; }
.ap-carousel__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #070707; cursor: pointer; transition: transform .3s, background-color .3s; }
.ap-carousel__dot.is-active { background: #be3b2f; transform: scale(1.5); }
.ap-posts--gr.ap-posts--grid .ap-po-card { background: none; }

/* Recenzie – 3D „coverflow“ (EA Testimonial Slider na úvode): stredná karta vpredu, susedné natočené */
.ap-reviews--coverflow .ap-reviews__track { position: relative; display: block; height: var(--ap-rv-h, 230px); perspective: 1200px; }
.ap-reviews--coverflow .ap-reviews__item {
	position: absolute; top: 0; left: 50%; width: min(300px, 80%); margin: 0; padding: 20px 30px 10px; box-sizing: border-box;
	border-radius: 8px; background: linear-gradient(90deg, #f1f1f1, #c9c9c9); text-align: left;
	transform: translateX(-50%) scale(.7); opacity: 0; visibility: hidden;
	transition: transform .8s ease, opacity .8s ease, visibility .8s;
}
.ap-reviews--coverflow .ap-reviews__item.is-active { transform: translateX(-50%); opacity: 1; visibility: visible; z-index: 3; background: #f1f1f1; }
.ap-reviews--coverflow .ap-reviews__item.is-prev { transform: translateX(-125%) rotateY(35deg) scale(.85); opacity: 1; visibility: visible; z-index: 2; }
.ap-reviews--coverflow .ap-reviews__item.is-next { transform: translateX(25%) rotateY(-35deg) scale(.85); opacity: 1; visibility: visible; z-index: 2; }
.ap-reviews--coverflow .ap-reviews__text { font-size: 14px; line-height: 1.6; color: #000; }
.ap-reviews--coverflow .ap-reviews__stars { color: #e1200f; margin: 8px 0 4px; font-size: 14px; letter-spacing: 1px; }
.ap-reviews--coverflow .ap-reviews__name { font: 900 14px/1.4 var(--ap-sansation); color: #000; }
.ap-reviews__logo { display: block; width: auto; height: 22px; margin: 14px 0 6px; }
.ap-reviews--coverflow .ap-reviews__dots { display: none; }
@media (max-width: 767px) {
	.ap-reviews--coverflow .ap-reviews__item.is-prev, .ap-reviews--coverflow .ap-reviews__item.is-next { opacity: 0; visibility: hidden; }
}

/* ==========================================================================
   Formuláre (náhrada WPForms) – vzhľad ako na pôvodnom webe:
   tmavé polia #111 s bielou spodnou čiarou, biely text, červené tlačidlo #be3b2f
   ========================================================================== */
.ap-form-wrap, .ap-form-wrap--kontakt, .ap-form-wrap--prihlaska { width: auto; padding: 0; background: none; color: #fff; }
.ap-form { position: relative; font: 500 14px/1.3 var(--ap-sansation); color: #fff; }
.ap-form .ap-field { margin: 0; padding: 10px 0; }
.ap-form__row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.ap-form__col { flex: 0 0 var(--ap-col-w, 50%); max-width: var(--ap-col-w, 50%); padding: 0 10px; }
.ap-form input[type="text"], .ap-form input[type="email"], .ap-form input[type="tel"], .ap-form input[type="date"],
.ap-form select, .ap-form textarea {
	display: block; width: 100%; height: 43px; margin: 0; padding: 6px 10px;
	border: 0; border-bottom: 1px solid #fff; border-radius: 2px;
	background: #111; color: #fff; font: 500 14px/18.2px var(--ap-sansation);
	-webkit-appearance: none; appearance: none; box-shadow: none;
}
.ap-form select {
	padding-right: 30px; cursor: pointer;
	background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E") right 12px center / 9px no-repeat;
}
.ap-form select:invalid { color: #fff; }
.ap-form option { color: #000; background: #fff; }
.ap-form textarea { height: 120px; resize: vertical; }
.ap-form ::placeholder { color: #fff; opacity: 1; }
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus { outline: none; border-bottom-color: #be3b2f; }
.ap-form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.ap-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ap-field__legend { margin: 0 0 6px; padding: 0; font: 500 15px/1.3 var(--ap-sansation); color: #fff; }
.ap-req { color: #be3b2f; }
.ap-check { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0; cursor: pointer; font: 500 15px/1.3 var(--ap-sansation); color: #fff; }
.ap-check input { flex: none; width: 14px; height: 14px; margin: 2px 0 0; accent-color: #be3b2f; }
.ap-check a { color: inherit; }
.ap-datetime { display: flex; gap: 20px; }
.ap-datetime > input, .ap-datetime > select { flex: 1; }
.ap-upload {
	display: block; position: relative; padding: 25px 15px; text-align: center; cursor: pointer;
	border: 1px dashed rgba(255, 255, 255, .5); border-radius: 4px; background: rgba(255, 255, 255, .03);
}
.ap-upload.is-drag { border-color: #be3b2f; }
.ap-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ap-upload__title { display: block; margin-bottom: 8px; font-size: 15px; }
.ap-upload__hint { display: block; color: #ccc; font-size: 13px; }
.ap-upload__list { display: block; margin-top: 6px; color: #fff; }
.ap-field__err { display: block; margin-top: 4px; color: #ff8a80; font-size: 13px; }
.ap-field__err:empty { display: none; }
.ap-field.has-error input, .ap-field.has-error select, .ap-field.has-error textarea { border-bottom-color: #ff8a80; }
.ap-form__submit { margin: 0; padding: 10px 0 0; text-align: left; }
.ap-form .ap-form__btn {
	display: inline-block; width: auto; padding: 10px 15px; border: 0; border-radius: 0;
	background: #be3b2f; color: #fff; font: 700 14px/normal var(--ap-sansation); text-transform: none; letter-spacing: 0; cursor: pointer;
}
.ap-form .ap-form__btn:hover { background: #a3291e; }
.ap-form__btn[disabled] { opacity: .6; cursor: wait; }
.ap-form__msg { margin: 15px 0 0; padding: 15px 20px; background: #fff; color: #333; border-left: 4px solid #be3b2f; font-size: 15px; }
.ap-form__msg.is-error { border-left-color: #c0392b; background: #fdecea; }
@media (max-width: 767px) {
	.ap-form__col { flex-basis: 100%; max-width: 100%; }
	.ap-datetime { flex-direction: column; gap: 10px; }
}

/* Galéria fotiek z ocenenia (/fotogaleria/) */
.ap-fotogaleria { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ap-fotogaleria a { display: block; padding: 20px; }
.ap-fotogaleria img { display: block; width: 100%; height: 180px; object-fit: cover; border: 1px solid #ddd; border-radius: 6px; }
@media (max-width: 600px) { .ap-fotogaleria { grid-template-columns: 1fr; } }

/* Karty v médiách – presnejšie podľa pôvodného webu: medzera 20/40 px, nadpis a tlačidlo zvisle v strede */
.ap-ibg { gap: 20px 40px; }
.ap-ibg__item { grid-template-rows: 1fr auto auto auto 1fr; }
.ap-ibg__imglink, .ap-ibg__item > .ap-ibg__img { grid-row: 1 / -1; }
.ap-ibg__title { grid-row: 2; margin-top: 0; }
.ap-ibg__text { grid-row: 3; }
.ap-ibg__btn { grid-row: 4; align-self: start; justify-self: start; }
@media (max-width: 767px) {
	.ap-ibg { gap: 17px; }
	.ap-ibg__item { grid-template-rows: auto; padding-bottom: 20px; }
	.ap-ibg__imglink, .ap-ibg__item > .ap-ibg__img, .ap-ibg__title, .ap-ibg__text, .ap-ibg__btn { grid-row: auto; }
	.ap-ibg__title { margin-top: 20px; }
	.ap-ibg__btn { justify-self: center; }
}

/* Blog – karty „gradient rollover“: tučný nadpis, pod ním dátum (sivý) */
.ap-posts--gr .ap-po-card__title { font-weight: 700; font-size: 18px; }
.ap-po-card__date { display: block; margin-top: 15px; color: #b3b3b3; font: 400 14px/1.4 var(--ap-sansation); }
.ap-posts--gr .ap-po-card__over { padding: 25px 30px 30px; }
@media (max-width: 767px) { .ap-posts .ap-po-card__img img { aspect-ratio: var(--ap-po-ratio-m, var(--ap-po-ratio, auto)); } }
@media (max-width: 767px) { .ap-posts--gr.ap-posts--grid { padding: 0 20px; } }
.ap-carousel.ap-noarrows { padding: 0; }

/* Recenzia – rozmery ako EA Testimonial (hviezdičky 22 px, obsah s odsadením 10 px, riadkovanie 1,5) */
.ap-testimonial__stars { align-items: center; height: 22px; margin: 0 0 10px 10px; }
.ap-testimonial__stars svg { width: 14px; height: 14px; }
.ap-testimonial__text { padding: 10px 10px 0; line-height: 1.5; }
.ap-testimonial__text p { margin: 0 0 10px; }
.ap-testimonial__name, .ap-testimonial__company { padding: 0 10px; }
.ap-testimonial__name:last-child, .ap-testimonial__company:last-child { padding-bottom: 10px; }
.ap-form input[type="text"], .ap-form input[type="email"], .ap-form input[type="tel"], .ap-form input[type="date"], .ap-form select { margin-bottom: 10px; } /* WPForms: pod poľom 10 px */
/* Viac možností (napr. Nehody) vedľa seba ako vo WPForms; nahrávanie fotiek s odsadením 20 px */
.ap-field--checkbox fieldset:has(.ap-check + .ap-check) { display: flex; flex-wrap: wrap; column-gap: 20px; }
.ap-field--checkbox fieldset:has(.ap-check + .ap-check) > .ap-field__legend { flex-basis: 100%; }
.ap-upload { padding: 20px; min-height: 132px; }

/* Formuláre – farby z nastavení pôvodného EA widgetu (premenné --f-*), predvolene tmavý formulár */
.ap-form-wrap { --f-bg: #111; --f-bc: #fff; --f-c: #fff; --f-ph: #fff; --f-label: #fff; --f-desc: #8b8d94; --f-fs: 14px; --f-desc-fs: 14px; --f-btn-bg: #be3b2f; --f-btn-c: #fff; --f-btn-bg-h: #000; --f-btn-w: auto; }
.ap-form-wrap .ap-form { color: var(--f-label); }
.ap-form-wrap .ap-form input[type="text"], .ap-form-wrap .ap-form input[type="email"], .ap-form-wrap .ap-form input[type="tel"], .ap-form-wrap .ap-form input[type="date"],
.ap-form-wrap .ap-form select, .ap-form-wrap .ap-form textarea {
	background: var(--f-bg); color: var(--f-c); border-bottom-color: var(--f-bc); font-size: var(--f-fs);
	background-image: none; padding-right: 10px;
}
.ap-form-wrap .ap-form ::placeholder { color: var(--f-ph); opacity: .6; }
.ap-form-wrap .ap-form option { color: #000; background: #fff; }
.ap-form-wrap .ap-check, .ap-form-wrap .ap-field__legend { color: var(--f-label); }
.ap-form-wrap .ap-field__popis { display: block; margin-top: 4px; color: var(--f-desc); font-size: var(--f-desc-fs); line-height: 1.3; }
.ap-form-wrap .ap-upload { color: var(--f-label); border-color: color-mix(in srgb, var(--f-label) 30%, transparent); }
.ap-form-wrap .ap-upload__hint { color: color-mix(in srgb, var(--f-label) 60%, transparent); }
.ap-form-wrap .ap-form .ap-form__btn { width: var(--f-btn-w); background: var(--f-btn-bg); color: var(--f-btn-c); }
.ap-form-wrap .ap-form .ap-form__btn:hover { background: var(--f-btn-bg-h); }
.ap-form-wrap .ap-check a { color: #c89000; }
/* Popisy polí sú na webe skryté (EA: labels off) – nadpis skupiny zaškrtávacích políčok len pre čítačky; možnosti v 2 stĺpcoch ako WPForms */
.ap-form-wrap .ap-field__legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.ap-form-wrap .ap-field--checkbox fieldset:has(.ap-check + .ap-check) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 767px) { .ap-form-wrap .ap-field--checkbox fieldset:has(.ap-check + .ap-check) { grid-template-columns: 1fr; } }

/* ==== Korektúry 2026-11-19 ==== */
/* 1 – karusel áut: druhý obrázok pri prejdení myšou */
.ap-po-card__img { position: relative; display: block; overflow: hidden; }
.ap-po-card__img .ap-po-card__img2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform 1.2s ease; }
.ap-po-card:hover .ap-po-card__img2, .ap-po-card:focus-visible .ap-po-card__img2 { opacity: 1; }
/* 2 – otočné karty v úvode vyplnia celú výšku sekcie s videom (aj na vysokých monitoroch) */
.ap-flip { height: auto; min-height: var(--ap-flip-h, 100px); }
.ap-col__inner > .ap-flip { flex: 1 1 auto; align-self: stretch; } /* pred kartou je v stĺpci aj <style> – preto nie :only-child */
@media (max-width: 767px) { .ap-flip[style*="--ap-flip-hm"] { min-height: var(--ap-flip-hm); height: auto; } }
.ap-flip { display: flex; } .ap-flip > .ap-flip__inner { flex: 1 1 auto; height: auto; }
/* 3 – recenzie (coverflow) na celú šírku obsahu: tri karty po tretine šírky */
.ap-reviews--coverflow .ap-reviews__item { width: calc(100% / 3 - 20px); max-width: none; }
.ap-reviews--coverflow .ap-reviews__item.is-prev { transform: translateX(calc(-150% - 20px)) rotateY(25deg) scale(.92); }
.ap-reviews--coverflow .ap-reviews__item.is-next { transform: translateX(calc(50% + 20px)) rotateY(-25deg) scale(.92); }
@media (max-width: 767px) {
	.ap-reviews--coverflow .ap-reviews__item { width: 85%; }
}
/* 4 – pás log (médiá): celé logá bez orezania, plynulý nekonečný posun, zastaví sa pri prejdení myšou */
.ap-carousel--marquee { padding: 0; overflow: hidden; }
.ap-carousel--marquee .ap-carousel__track { display: block; overflow: hidden; scroll-snap-type: none; }
.ap-marquee__inner { display: flex; width: max-content; animation: ap-marquee var(--ap-marquee-t, 30s) linear infinite; }
.ap-carousel--marquee:hover .ap-marquee__inner { animation-play-state: paused; }
.ap-carousel--marquee .ap-carousel__slide { flex: none; width: calc((min(100vw, 1150px) - 250px) / var(--ap-car-n, 5)); padding: 0 calc(var(--ap-car-gap, 50px) / 2); }
.ap-carousel--marquee .ap-carousel__slide img { aspect-ratio: 3 / 2; object-fit: contain; }
@keyframes ap-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) { .ap-carousel--marquee .ap-carousel__slide { width: calc(100vw / 3); } }
@media (prefers-reduced-motion: reduce) { .ap-marquee__inner { animation: none; } }
/* 7, 8 – ikonky v tlačidlách (šípka, siete): maska SVG + farba ide v slučke z červenej do čiernej (ako live .box-button i) */
.ap-btn__icon, .ap-po-card__ico {
	display: inline-block; flex: none; width: 1em; height: 1em; margin-left: 8px;
	background-color: currentColor;
	-webkit-mask: var(--ap-icon) center / contain no-repeat; mask: var(--ap-icon) center / contain no-repeat;
}
.ap-btn .ap-btn__icon { animation: ap-icon-color 2s infinite ease-in-out; }
@keyframes ap-icon-color { 0%, 100% { color: #e1200f; } 50% { color: #000; } }
@media (prefers-reduced-motion: reduce) { .ap-btn .ap-btn__icon { animation: none; color: #e1200f; } }

/* 10 – pás s podmenu sa prilepí hore; 11, 16 – bočný panel „RADI PORADÍME“ sa prilepí pod neho */
.ap-section--sticky { position: sticky; top: 0; z-index: 400; }
.admin-bar .ap-section--sticky { top: 32px; }
.ap-col--sticky .ap-sticky-wrap { position: sticky; top: calc(var(--ap-stick-h, 0px) + 20px); }
.ap-col--sticky { align-self: stretch; }
.ap-col--sticky .ap-social__a { color: #be3b2f !important; }
.ap-col--sticky .ap-social__a:hover { color: #000 !important; }
@media (max-width: 992px) {
	.ap-section--sticky { top: 60px; }
	.ap-col--sticky .ap-sticky-wrap { position: static; }
}
.ap-plx { background-size: cover !important; } .ap-plx { will-change: background-position; }
/* 12 – ikony v paneli Poznámky na detaile auta 100 % biele */ .ap-el-d388c6a .ap-ib__icon, .ap-el-d388c6a .ap-ib__icon .ap-icon { color: #fff !important; }
/* 14 – zarovnanie položiek zoznamu s ikonkami (Elementor Icon List „Alignment“) */
.ap-li-al-center li { justify-content: center; text-align: center; }
.ap-li-al-right li { justify-content: flex-end; text-align: right; }
.ap-li-al-left li { justify-content: flex-start; text-align: left; }
@media (max-width: 1024px) { .ap-li-al-t-center li { justify-content: center; text-align: center; } .ap-li-al-t-left li { justify-content: flex-start; text-align: left; } }
@media (max-width: 767px) { .ap-li-al-m-center li { justify-content: center; text-align: center; } .ap-li-al-m-left li { justify-content: flex-start; text-align: left; } .ap-li-al-m-right li { justify-content: flex-end; text-align: right; } }
/* 15 – akordeóny (EA): zaoblenie záložiek 5 px, text odpovede čierny */
.ap-accordion:not(.ap-accordion--the7) .wp-block-details.is-style-autopdk > summary { border-radius: 5px; }
.ap-accordion:not(.ap-accordion--the7) .wp-block-details.is-style-autopdk > :not(summary),
.ap-accordion:not(.ap-accordion--the7) .wp-block-details.is-style-autopdk > :not(summary) * { color: #000; }
.ap-accordion:not(.ap-accordion--the7) .wp-block-details.is-style-autopdk > :not(summary) a { color: #be3b2f; }
/* 17, 18 – akordeóny The7 („Čo zahŕňa?“) ako live: bez pozadia, nadpis v strede, červená šípka za textom, biela odpoveď */
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary { text-transform: var(--acc-tt, uppercase); flex-direction: row; justify-content: var(--acc-jc, flex-start); gap: 10px; padding: 15px 20px; }
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary::after {
	content: ""; width: 16px; height: 16px; margin: 0; border: 0; transform: none;
	background-color: var(--acc-tg, #e1200f);
	-webkit-mask: url(icons/arrow.svg) center / contain no-repeat; mask: url(icons/arrow.svg) center / contain no-repeat;
}
.ap-accordion--the7 .wp-block-details.is-style-autopdk[open] > summary::after { transform: rotate(90deg); }
.ap-accordion--the7 .wp-block-details.is-style-autopdk > summary:hover::after { background-color: #fff; }
.ap-accordion--the7 .wp-block-details.is-style-autopdk > :not(summary),
.ap-accordion--the7 .wp-block-details.is-style-autopdk > :not(summary) * { color: var(--acc-cc, inherit); }

/* 20 – Naše míľniky: vodorovný posúvač ako EA (3 položky, text nad čiarou, biele bodky s červeným stredom, šípky) */
.ap-timeline { list-style: none; }
.ap-timeline__track { list-style: none; margin: 0; padding: 0; }
.ap-timeline__arrow { display: none; }
.ap-timeline--h { position: relative; display: flex; align-items: center; gap: 0; padding: 0 30px; }
.ap-timeline--h .ap-timeline__track {
	display: flex; flex: 1; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
	padding: 0 0 20px;
}
.ap-timeline--h .ap-timeline__track::-webkit-scrollbar { display: none; }
.ap-timeline--h .ap-timeline__item {
	position: relative; flex: 0 0 calc(100% / 3); scroll-snap-align: start; padding: 0 20px 0 0;
	display: flex; flex-direction: column; justify-content: flex-start; min-height: 150px;
}
.ap-timeline--h .ap-timeline__item::before { content: ""; position: absolute; left: 0; right: 0; top: 112px; height: 2px; background: var(--ap-tl-line); }
.ap-timeline--h .ap-timeline__box { padding: 0; background: none; min-height: 75px; }
.ap-timeline--h .ap-timeline__dot {
	position: absolute; left: 0; top: 94px; width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: radial-gradient(circle, var(--ap-tl-accent) 0 8px, #eee 9px);
}
.ap-timeline--h .ap-timeline__title { margin: 0 0 4px; }
.ap-timeline--h .ap-timeline__arrow {
	display: block; position: absolute; top: 28px; width: 20px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer;
}
.ap-timeline--h .ap-timeline__arrow::before { content: ""; position: absolute; top: 4px; border: 9px solid transparent; }
.ap-timeline--h .ap-timeline__arrow--prev { left: 0; }
.ap-timeline--h .ap-timeline__arrow--prev::before { right: 6px; border-right-color: #888; }
.ap-timeline--h .ap-timeline__arrow--next { right: 0; }
.ap-timeline--h .ap-timeline__arrow--next::before { left: 6px; border-left-color: #fff; }
.ap-timeline--h::before, .ap-timeline--h .ap-timeline__item::after { content: none; }
@media (max-width: 767px) { .ap-timeline--h .ap-timeline__item { flex-basis: 100%; } }
@media (min-width: 1025px) { .ap-timeline--h { margin: 0 8%; } }
.ap-counter__label span { display: inline; } /* 21 */
/* 22 – celá dlaždica klikateľná; tlačidlo ostáva nad odkazom */
.ap-col--link > .ap-col__inner { position: relative; cursor: pointer; }
.ap-col--link .ap-btn-wrap { position: relative; z-index: 4; }
/* 24 – kontaktný formulár: vyššie pole na správu, aby formulár vyplnil čierny priestor */
.ap-form-wrap .ap-form--kontakt .ap-field textarea { height: 220px; }
/* 25 – Na stiahnutie: tlačidlá o 35 % vyššie, zaoblenie 5 px, ikonka sťahovania vpravo, pri prejdení biely text */
.page-id-23127 .ap-btn-creative .ap-btn { position: relative; padding-top: 19px; padding-bottom: 19px; padding-right: 50px; border-radius: 5px; }
.page-id-23127 .ap-btn-creative .ap-btn::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
	background-color: currentColor; -webkit-mask: url(icons/download.svg) center / contain no-repeat; mask: url(icons/download.svg) center / contain no-repeat;
}
.page-id-23127 .ap-btn-creative .ap-btn:hover, .page-id-23127 .ap-btn-creative .ap-btn:hover * { color: #fff !important; }
.page-id-23127 .ap-btn-creative .ap-btn__icon { display: none; } /* 25 – namiesto šípky ikonka sťahovania */

/* Našepkávač značky / modelu a doplnené polia (formulár Ocenenie, Dovoz) */
.ap-form .ap-field { position: relative; }
.ap-nasep {
	position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 20px); max-height: 280px; overflow-y: auto;
	margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #ddd; border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.ap-nasep[hidden] { display: none; }
.ap-nasep li { padding: 9px 12px; color: #000; font: 500 14px/1.3 var(--ap-sansation); cursor: pointer; }
.ap-nasep li:hover, .ap-nasep li[aria-selected="true"] { background: #f2f2f2; color: #be3b2f; }
.ap-form-wrap .ap-form .is-auto { border-bottom-color: #e1a00f !important; }
.ap-auto-pozn { display: block; margin-top: -6px; color: #c87f00; font-size: 12px; line-height: 1.3; }
.ap-auto-pozn[hidden] { display: none; }
/* Karusel áut (2026-11-22): druhá fotka sa plynulo prelinie, zoom pomalší a jemnejší, „Viac info“ bez rámika */
.ap-posts--go .ap-po-card__img img { transition: transform 2.4s cubic-bezier(.22, .61, .36, 1), opacity .6s ease-in-out; }
.ap-posts--go .ap-po-card:hover .ap-po-card__img img, .ap-posts--go .ap-po-card:focus-visible .ap-po-card__img img { transform: scale(1.04); }
.ap-posts--go .ap-po-card__img .ap-po-card__img2 { opacity: 0; }
.ap-posts--go .ap-po-card:hover .ap-po-card__img2, .ap-posts--go .ap-po-card:focus-visible .ap-po-card__img2 { opacity: 1; }
.ap-posts--go .ap-po-card__over { transition: opacity .9s ease-in-out; }
.ap-po-card__over .ap-po-card__btn, .ap-po-card__over .ap-po-card__btn:hover { border: 0; outline: 0; width: auto; align-self: flex-start; background: none; }
@media (prefers-reduced-motion: reduce) { .ap-posts--go .ap-po-card__img img { transition: opacity .3s; transform: none !important; } }
/* Šípky v tlačidlách o 35 % väčšie a hrubšie (2026-11-22, ikonka = Font Awesome chevron-right) */
.ap-btn__icon, .ap-po-card__ico { width: 1.215em; height: 1.215em; margin-block: -.1075em; margin-left: 1.6px; } /* 2026-11-22: o 10 % menšie; medzera od textu 16 → 9,6 px (gap 8 + 1,6); záporný okraj = výška tlačidla sa nemení */

/* Detail inzerátu (2026-11-23): namiesto pásu s podmenu sa prilepí lišta s cenou a „Dohodnite si obhliadku“ */
.ap-cena-lista { box-shadow: 0 6px 12px -8px rgba(0,0,0,.6); }
@media (max-width: 767px) {
	.ap-cena-lista .ap-row { flex-direction: row !important; flex-wrap: nowrap; align-items: center; }
	.ap-cena-lista .ap-col { width: auto !important; flex: 1 1 auto; padding: 0 !important; }
	.ap-cena-lista .ap-col + .ap-col { border-left-width: 1px !important; flex: 0 0 auto; }
	.ap-cena-lista .ap-col .ap-text { margin: 0 !important; text-align: left !important; }
	.ap-cena-lista .ap-col .ap-text span:first-child { font-size: 19px !important; letter-spacing: 3px !important; }
	.ap-cena-lista .ap-col .ap-text span + span, .ap-cena-lista .ap-col .ap-text br { display: none; }
	.ap-cena-lista .wp-block-autopdk-button { margin: 0 0 0 12px !important; }
	.ap-cena-lista .ap-btn { font-size: 13px !important; padding: 8px 0 !important; }
	.ap-cena-lista .ap-text p { margin: 0; }
}

/* Galéria inzerátu (2026-11-23): fotky okrem strednej sú stmavené čiernym overlayom (ako live) */
.ap-scroller__item { position: relative; }
.ap-scroller__item::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .85; transition: opacity .6s ease; pointer-events: none; }
.ap-scroller__item.is-active::after { opacity: 0; }
.ap-scroller__track { cursor: grab; }
.ap-scroller.is-dragging .ap-scroller__track { cursor: grabbing; user-select: none; }

/* Šípky galérie inzerátu (2026-11-23): štvorcové biele pozadie, hrubá šípka (arrow.svg) s farbou v slučke červená↔čierna ako ostatné šípky */
.ap-scroller__arrow { width: 40px; height: 40px; border-radius: 3px; background: #fff; transition: background-color .3s; }
.ap-scroller__arrow::after {
	inset: 10px; border: 0; transform: none; background-color: currentColor; color: #e1200f;
	-webkit-mask: url(icons/arrow.svg) center / contain no-repeat; mask: url(icons/arrow.svg) center / contain no-repeat;
	animation: ap-icon-color 2s infinite ease-in-out;
}
.ap-scroller__arrow--prev::after { transform: scaleX(-1); }
.ap-scroller__arrow:hover { background: #e2e2e2; }
@media (prefers-reduced-motion: reduce) { .ap-scroller__arrow::after { animation: none; } }

/* Lightbox v dizajne webu (2026-11-23): tmavé pozadie, štvorcové tlačidlá ako šípky galérie, počítadlo v Red Hat Display */
.ap-lightbox { background: rgba(17, 17, 17, .96); }
.ap-lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); border-radius: 3px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.98); transition: opacity .4s ease, transform .4s ease; }
.ap-lightbox img.is-in { opacity: 1; transform: none; }
.ap-lightbox button { width: 40px; height: 40px; padding: 0; border-radius: 3px; background: #fff; font: 0/0 a; transition: background-color .3s; }
.ap-lightbox button::after {
	content: ""; position: absolute; inset: 10px; background-color: currentColor; color: #e1200f;
	-webkit-mask: url(icons/arrow.svg) center / contain no-repeat; mask: url(icons/arrow.svg) center / contain no-repeat;
	animation: ap-icon-color 2s infinite ease-in-out;
}
.ap-lightbox button:hover { background: #e2e2e2; }
.ap-lightbox__prev { left: 25px; } .ap-lightbox__next { right: 25px; }
.ap-lightbox__prev::after { transform: scaleX(-1); }
.ap-lightbox__close { top: 25px; right: 25px; background: #be3b2f !important; }
.ap-lightbox__close:hover { background: #e1200f !important; }
.ap-lightbox button.ap-lightbox__close::before, .ap-lightbox button.ap-lightbox__close::after { content: ""; position: absolute; inset: 19px 10px auto; height: 2px; background: #fff; -webkit-mask: none; mask: none; animation: none; transform: rotate(45deg); }
.ap-lightbox button.ap-lightbox__close::before { transform: rotate(-45deg); }
.ap-lightbox button:focus:not(:focus-visible) { outline: none; }
.ap-lightbox__count { top: 36px; left: 30px; font: 500 14px/1 var(--wp--preset--font-family--redhat); letter-spacing: 6px; text-transform: uppercase; color: #fff; opacity: 1; }
@media (max-width: 767px) {
	.ap-lightbox img { max-width: 100vw; max-height: calc(100vh - 170px); border-radius: 0; }
	.ap-lightbox__prev, .ap-lightbox__next { top: auto !important; bottom: 25px; transform: none !important; }
	.ap-lightbox__prev { left: calc(50% - 50px); } .ap-lightbox__next { right: calc(50% - 50px); }
	.ap-lightbox__close { top: 15px; right: 15px; } .ap-lightbox__count { top: 28px; left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ap-lightbox button::after { animation: none; } .ap-lightbox img { transition: none; } }

/* Coverflow recenzií nesmie rozšíriť stránku do strany (na mobile sa kvôli tomu stránka zmenšovala, 2026-11-23) */
.ap-reviews { overflow-x: clip; }

/* Recenzie (coverflow) 1:1 s live (EA Testimonial Slider + Swiper coverflow): väčšie logo, hviezdičky FA, silnejšie 3D natočenie, tieň k stredu */
.ap-reviews--coverflow .ap-reviews__track { height: calc(var(--ap-rv-h, 260px) + 50px); }
.ap-reviews--coverflow .ap-reviews__item {
	top: 25px; width: calc((100% - 20px) / 3 - 50px); padding: 30px 40px 20px;
	font-family: "Red Hat Display", sans-serif; transform-style: preserve-3d;
}
.ap-reviews--coverflow .ap-reviews__item.is-active { transform: translateX(-50%); }
.ap-reviews--coverflow .ap-reviews__item.is-prev { transform: translateX(calc(-150% - 60px)) translateZ(-103px) rotateY(51.5deg); background: linear-gradient(to right, #f1f1f1, #8a8a8a); }
.ap-reviews--coverflow .ap-reviews__item.is-next { transform: translateX(calc(50% + 60px)) translateZ(-103px) rotateY(-51.5deg); background: linear-gradient(to left, #f1f1f1, #8a8a8a); }
.ap-reviews--coverflow .ap-reviews__text { margin: 0 0 10px; font: 500 14px/1.5 "Red Hat Display", sans-serif; color: #000; }
.ap-reviews--coverflow .ap-reviews__stars { display: flex; margin: 0; font-size: 0; letter-spacing: 0; line-height: 0; }
.ap-reviews--coverflow .ap-reviews__stars span {
	display: inline-block; width: 16px; height: 22px; background: #e1200f;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M259.3 17.8 194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'/%3E%3C/svg%3E") left center / 15.75px 14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M259.3 17.8 194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'/%3E%3C/svg%3E") left center / 15.75px 14px no-repeat;
}
.ap-reviews--coverflow .ap-reviews__name { font: 900 14px/1.5 "Red Hat Display", sans-serif; color: #000; }
.ap-reviews--coverflow .ap-reviews__logo { width: min(150px, 25%); height: auto; aspect-ratio: 1; margin: 10px 0 0; object-fit: contain; }
@media (max-width: 767px) {
	.ap-reviews--coverflow .ap-reviews__item { width: 85%; padding: 25px 30px 15px; }
	.ap-reviews--coverflow .ap-reviews__logo { width: 90px; }
}

.ap-reviews--coverflow .ap-reviews__item.is-prev, .ap-reviews--coverflow .ap-reviews__item.is-next { cursor: pointer; }
.ap-reviews--coverflow .ap-reviews__item { min-height: var(--ap-rv-h, 0px); }
/* Sekcia s recenziami na úvode: čierny gradient zhora do stratena + nadpis nad sliderom */
.ap-rv-sekcia::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%; background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.85) 25%, rgba(0,0,0,0) 100%); pointer-events: none; z-index: 1; }
.ap-rv-nadpis { position: relative; }
@media (max-width: 767px) {
	.ap-rv-spacer { height: 20px !important; }
	.ap-rv-nadpis { font-size: 15px !important; letter-spacing: 4px !important; }
}
@media (max-width: 767px) { .ap-reviews--coverflow .ap-reviews__item { min-height: 0; } }
/* nadpis recenzií o 50 px vyššie, slider ostáva na mieste */
.ap-rv-spacer { height: 60px !important; }
.ap-rv-nadpis { margin-bottom: 70px !important; }
@media (max-width: 767px) { .ap-rv-spacer { height: 20px !important; } }
/* Formuláre – nahrávanie fotiek: počet, náhľady, odstránenie, priebeh odosielania (2026-11-24) */
.ap-upload__files { display: block; margin-top: 12px; color: inherit; }
.ap-upload__files:empty { display: none; }
.ap-upload__count { font: 600 14px/1.4 var(--ap-sansation); margin-bottom: 10px; color: var(--f-label, #fff); }
.ap-upload__warn { margin-bottom: 10px; font-size: 13px; color: #be3b2f; }
.ap-upload__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.ap-upload__thumb { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: rgba(127,127,127,.15); animation: ap-thumb-in .3s ease both; }
.ap-upload__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-upload__del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 3px; background: rgba(0,0,0,.7); color: #fff; font: 700 16px/22px Arial, sans-serif; text-align: center; cursor: pointer; transition: background-color .2s; }
.ap-upload__del:hover, .ap-upload__del:focus-visible { background: #be3b2f; }
@keyframes ap-thumb-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.ap-progress { margin: 4px 0 14px; }
.ap-progress[hidden] { display: none; }
.ap-progress__label { margin-bottom: 6px; font: 600 14px/1.4 var(--ap-sansation); color: var(--f-label, #fff); }
.ap-progress__track { height: 6px; border-radius: 3px; background: rgba(127,127,127,.25); overflow: hidden; }
.ap-progress__fill { width: 0; height: 100%; background: #be3b2f; transition: width .2s linear; }
.ap-progress.is-done .ap-progress__fill { animation: ap-prog-pulse 1s ease-in-out infinite alternate; }
@keyframes ap-prog-pulse { from { opacity: 1; } to { opacity: .45; } }
