/*
 * Opravy vzhledu přenesených WordPress widgetů. Všechno na jednom místě, ať se neztratí při novém exportu CSS z WordPressu
 * (soubory wp-content/uploads/breakdance/css/post-*.css se nesmí ručně upravovat). Načítá se v src/components/WpPage.tsx po ostatních styly.
 */

/* ---------- Recenze Google (Trustindex slider) ----------
 * Původní CSS zmenšovalo karty (scale .96) a na desktopu je oddělovalo mezerou (gap). Slider počítá posun z původní šířky karty,
 * takže se každým posunem rozjel a karty se ořezávaly. Mezera se proto dělá uvnitř položky (průhledný okraj + karta v ::before)
 * a karty se nezmenšují. Šipky leží mimo karty. Na mobilu zůstává vodorovné tažení prstem (to řeší widget). */
.ti-widget.ti-goog .ti-reviews-container{touch-action:pan-y pinch-zoom}
.ti-widget.ti-goog .ti-reviews-container .ti-review-item{position:relative;isolation:isolate;display:flex!important;transform:none!important;padding:32px 40px 22px!important;background:none!important;border:0!important;border-radius:0!important}
.ti-widget.ti-goog .ti-reviews-container .ti-review-item::before{content:'';position:absolute;inset:0 8px;z-index:-1;border:1px solid #EBF0EC;border-radius:16px;background:#FFF}
.ti-widget.ti-goog .ti-reviews-container .ti-review-item>.ti-inner{padding:0!important;border:0!important;background:none!important}
@media (min-width:1024px){
  .ti-widget.ti-goog .ti-reviews-container .ti-reviews-container-wrapper{gap:0!important;margin:0 -8px!important}
  .ti-widget.ti-goog .ti-controls .ti-prev{left:-22px!important}
  .ti-widget.ti-goog .ti-controls .ti-next{right:-22px!important}
}

/* ---------- FAQ (Breakdance) ----------
 * Barva ikony se mění plynule spolu s otáčením. Dřív se přepnula až po dokončení otevření (pravidlo .is-active path bez animace). */
.breakdance .bde-frequently-asked-questions .bde-faq__icon{transition:transform .3s ease,color .3s ease}
.breakdance .bde-frequently-asked-questions .bde-faq__icon path{fill:currentColor!important}
.breakdance .bde-frequently-asked-questions .bde-faq__item .bde-faq__question[aria-expanded="true"] .bde-faq__icon{color:#3F834B}
.breakdance .bde-frequently-asked-questions .bde-faq__item.is-active .bde-faq__question[aria-expanded="false"] .bde-faq__icon{color:#D9E6DB}

/* ---------- Recenze bez souhlasu s cookies ---------- */
.storino-reviews-consent{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 20px;border:1px solid #EBF0EC;border-radius:16px;background:#FFF;text-align:center}
.storino-reviews-consent p{margin:0;color:#6B7280;font-size:15px}
.storino-reviews-consent button{padding:10px 18px;border:1px solid #1A1A1A;border-radius:999px;background:#FFF;font:inherit;font-weight:600;cursor:pointer}
