/* zori-angel.org: стик старої теми livecast з ядром smart-cms */
.sgt-theme:has(.zr-legacy)>header,.sgt-theme:has(.zr-legacy)>footer{display:none!important}
.sgt-theme:has(.zr-legacy)>main{padding:0!important;margin:0!important}
.sgt-home:has(.zr-legacy)>div:not(:has(.zr-legacy)){display:none!important}
main section:has(.zr-legacy),main div:has(>.zr-legacy){max-width:none!important;padding:0!important;margin-left:0!important;margin-right:0!important;margin-top:0!important;margin-bottom:0!important}
.zr-legacy{width:100%}
.zr-legacy .elementor-invisible{visibility:visible!important}
.zr-legacy .elementor-widget-spacer .elementor-spacer-inner{height:var(--spacer-size)}

/* медіакарусель без Swiper: стрічка з прокруткою */
.zr-legacy .elementor-main-swiper{overflow:hidden;position:relative}
.zr-legacy .elementor-main-swiper .swiper-wrapper{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.zr-legacy .elementor-main-swiper .swiper-wrapper::-webkit-scrollbar{display:none}
.zr-legacy .elementor-main-swiper .swiper-slide{flex:0 0 calc((100% - 20px)/3);scroll-snap-align:start;height:auto}
.zr-legacy .elementor-main-swiper .elementor-carousel-image{background-size:cover;background-position:center;height:100%;min-height:230px;position:relative}
.zr-legacy .elementor-swiper-button{cursor:pointer;z-index:2}
.zr-legacy .swiper-pagination{display:none}
@media (max-width:1024px){.zr-legacy .elementor-main-swiper .swiper-slide{flex-basis:calc((100% - 10px)/2)}}
@media (max-width:767px){.zr-legacy .elementor-main-swiper .swiper-slide{flex-basis:100%}}

/* віджети cowidgets: анімація появи без JS і розкладка */
.zr-legacy .ce-animation{opacity:1!important;transform:none!important;visibility:visible!important}
.zr-legacy .ce-podcasts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.zr-legacy .ce-podcasts-grid>.ce-post-item{position:static!important;width:auto!important;left:auto!important;top:auto!important;margin:0}
.zr-legacy .ce-staff-carousel{display:flex;gap:40px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.zr-legacy .ce-staff-carousel::-webkit-scrollbar{display:none}
.zr-legacy .ce-staff-carousel>.ce-staff-item{flex:0 0 calc((100% - 80px)/3);scroll-snap-align:start}
.zr-legacy .ce-staff-carousel .team-thumbnail img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center top;height:auto}
@media (max-width:1024px){.zr-legacy .ce-podcasts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zr-legacy .ce-staff-carousel>.ce-staff-item{flex-basis:calc((100% - 40px)/2)}}
@media (max-width:767px){.zr-legacy .ce-podcasts-grid{grid-template-columns:1fr}.zr-legacy .ce-staff-carousel>.ce-staff-item{flex-basis:85%}}

/* значок навушників теми (inc/img/headphones.png) не зберігся ніде */
.zr-legacy .entry-podcast .entry-icon a{background:none!important;padding-left:0!important}

/* відео у вікні */
.zr-modal{position:fixed;inset:0;z-index:9999;background:rgba(10,10,20,.85);display:flex;align-items:center;justify-content:center;padding:24px}
.zr-modal-box{position:relative;width:min(960px,100%);aspect-ratio:16/9;background:#000}
.zr-modal-box iframe{width:100%;height:100%;border:0;display:block}
.zr-modal-x{position:absolute;top:-44px;right:0;background:none;border:0;color:#fff;font-size:40px;line-height:1;cursor:pointer}

/* допис Facebook з переможцями */
.zr-fb{display:flex;justify-content:center;margin-bottom:30px}
.zr-fb iframe{width:734px;max-width:100%;aspect-ratio:16/9;height:auto}

/* мобільне меню */
.zr-legacy .ce-nav-menu__toggle{cursor:pointer}
@media (max-width:1024px){
  .zr-legacy div.ce-nav-menu{position:relative}
  .zr-legacy div.ce-nav-menu.zr-open>nav{display:block!important;visibility:visible!important;opacity:1!important;position:absolute;right:0;top:100%;z-index:50;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.12);border-radius:8px;padding:10px 0;min-width:230px;height:auto!important;max-height:none!important;transform:none!important}
  .zr-legacy div.ce-nav-menu.zr-open>nav ul{display:block!important}
  .zr-legacy div.ce-nav-menu.zr-open>nav li{display:block!important;margin:0!important}
  .zr-legacy div.ce-nav-menu.zr-open>nav a{display:block!important;padding:11px 22px!important;color:#14142b!important;opacity:1!important;visibility:visible!important;font-size:14px!important;text-transform:uppercase;letter-spacing:.04em;position:static!important;transform:none!important}
  .zr-legacy div.ce-nav-menu.zr-open>nav li,.zr-legacy div.ce-nav-menu.zr-open>nav ul{opacity:1!important;visibility:visible!important;transform:none!important;position:static!important;height:auto!important;background:none!important}
  .zr-legacy div.ce-nav-menu.zr-open>nav li.current-menu-item>a{color:#1ca8dd!important}
}

/* кнопка замість старої форми */
.zr-cta{margin:24px 0}
.zr-btn{display:inline-block;padding:14px 28px;border-radius:30px;background:linear-gradient(90deg,#1ca8dd,#1cd2e4);color:#fff!important;font-weight:600;text-decoration:none;text-transform:uppercase;letter-spacing:.04em;font-size:14px}
.zr-btn:hover{filter:brightness(1.05)}
