.yalla-rotating-icon-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    color:inherit;
    box-sizing:border-box;
    transition:all .25s ease;
}

.yalla-rotating-icon-box:hover{
    text-decoration:none !important;
}

.yalla-icon-wrap{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    flex-shrink:0;
    box-sizing:border-box;
    margin:0;
}

.yalla-icon-rotator{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    transform-origin:center center;
}

.yalla-icon-rotator i,
.yalla-icon-rotator svg{
    display:block;
    line-height:1;
}

.yalla-icon-content{
    min-width:0;
}

.yalla-icon-title{
    margin-top:0;
    padding:0;
}

.yalla-icon-title a{
    text-decoration:none;
    color:inherit;
}

.yalla-icon-description{
    margin:0;
}

.yalla-icon-position-top .yalla-rotating-icon-box,
.yalla-icon-position-top.yalla-rotating-icon-box{
    flex-direction:column;
    align-items:center;
}

.yalla-icon-position-left .yalla-rotating-icon-box,
.yalla-icon-position-left.yalla-rotating-icon-box{
    flex-direction:row;
    align-items:flex-start;
    justify-content:flex-start;
}

.yalla-icon-position-right .yalla-rotating-icon-box,
.yalla-icon-position-right.yalla-rotating-icon-box{
    flex-direction:row-reverse;
    align-items:flex-start;
    justify-content:flex-start;
}

.yalla-rotation-always .yalla-icon-rotator{
    animation:yalla-icon-spin var(--yalla-rotation-speed, 6s) linear infinite;
    animation-direction:var(--yalla-rotation-direction, normal);
}

.yalla-rotation-hover .yalla-icon-rotator{
    animation:yalla-icon-spin var(--yalla-rotation-speed, 6s) linear infinite;
    animation-direction:var(--yalla-rotation-direction, normal);
    animation-play-state:paused;
}

.yalla-rotation-hover:hover .yalla-icon-rotator{
    animation-play-state:running;
}

.yalla-rotation-pause-hover:hover .yalla-icon-rotator{
    animation-play-state:paused;
}

.yalla-rotation-off .yalla-icon-rotator{
    animation:none !important;
}

@keyframes yalla-icon-spin{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce){
    .yalla-icon-rotator{
        animation:none !important;
    }
}

/* ==================================================
   YALLA - SCROLL OBRAZKA
   ================================================== */

.yalla-image-marquee{
    width:100%;
    height:260px;
    overflow:hidden;
    position:relative;
    display:flex;
    align-items:center;
    box-sizing:border-box;
    background:transparent;
}

.yalla-image-marquee-track{
    display:flex;
    width:max-content;
    height:100%;
    animation:var(--yalla-marquee-animation, yalla-marquee-ltr) var(--yalla-marquee-speed, 45s) linear infinite;
    will-change:transform;
}

.yalla-image-marquee-group{
    display:flex;
    align-items:center;
    height:100%;
    flex-shrink:0;
    gap:0;
}

.yalla-image-marquee-item{
    display:block;
    height:100%;
    flex-shrink:0;
}

.yalla-image-marquee-item img{
    width:900px;
    height:100%;
    object-fit:cover;
    display:block;
    pointer-events:none;
    user-select:none;
    flex-shrink:0;
}

.yalla-marquee-pause-hover:hover .yalla-image-marquee-track{
    animation-play-state:paused;
}

@keyframes yalla-marquee-rtl{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
}

@keyframes yalla-marquee-ltr{
    from{ transform:translateX(-50%); }
    to{ transform:translateX(0); }
}

/* ==================================================
   YALLA - SCROLL NEWSÓW
   ================================================== */

.yalla-news-ticker{
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    background:#111;
    overflow:hidden;
    box-sizing:border-box;
}

.yalla-news-ticker-label{
    display:flex;
    align-items:center;
    justify-content:center;
    align-self:stretch;
    background:#ed2a29;
    color:#fff;
    font-weight:700;
    padding:16px 24px;
    white-space:nowrap;
    flex-shrink:0;
    line-height:1.2;
    position:relative;
    z-index:3;
    box-sizing:border-box;
}

.yalla-news-ticker-mask{
    flex:1;
    min-width:0;
    overflow:hidden;
    background:#111;
    align-self:stretch;
    display:flex;
    align-items:center;
}

.yalla-news-ticker-track{
    display:flex;
    align-items:center;
    width:max-content;
    animation:var(--yalla-news-animation, yalla-news-rtl) var(--yalla-news-speed, 28s) linear infinite;
    will-change:transform;
}

.yalla-news-ticker-group{
    display:flex;
    align-items:center;
    gap:55px;
    padding-left:55px;
    flex-shrink:0;
}

.yalla-news-ticker-item{
    color:#fff;
    text-decoration:none !important;
    white-space:nowrap;
    line-height:1.2;
    flex-shrink:0;
    transition:color .2s ease;
}

.yalla-news-ticker-item:hover{
    color:#ed2a29;
    text-decoration:none !important;
}

.yalla-news-pause-hover:hover .yalla-news-ticker-track{
    animation-play-state:paused;
}

@keyframes yalla-news-rtl{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
}

@keyframes yalla-news-ltr{
    from{ transform:translateX(-50%); }
    to{ transform:translateX(0); }
}

.yalla-admin-placeholder{
    padding:16px;
    border:1px dashed #ccc;
    background:#fafafa;
    color:#666;
    font-size:14px;
}

@media(max-width:768px){
    .yalla-news-ticker{
        display:block;
    }

    .yalla-news-ticker-label{
        width:100%;
        min-height:0;
        padding:12px 16px;
        text-align:center;
    }

    .yalla-news-ticker-mask{
        width:100%;
        padding:12px 0;
    }
}

/* ==================================================
   YALLA - POLE OBRAZKA AJAX
   ================================================== */

.yalla-ajax-image-box{
    display:block;
    width:100%;
    box-sizing:border-box;
    position:relative;
    background:transparent;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.yalla-ajax-image-box[data-yalla-gallery-enabled="yes"]{
    cursor:pointer;
}

.yalla-ajax-image-media{
    width:100%;
    height:320px;
    overflow:hidden;
    position:relative;
    border-radius:18px;
    box-sizing:border-box;
    background:#f2f2f2;
}

.yalla-ajax-image-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .45s ease, filter .45s ease;
}

.yalla-ajax-image-hover-zoom:hover .yalla-ajax-image-media img{
    transform:scale(1.06);
}

.yalla-ajax-image-content{
    margin-top:18px;
    box-sizing:border-box;
}

.yalla-ajax-image-title{
    margin:0 0 8px 0;
    padding:0;
    line-height:1.2;
}

.yalla-ajax-image-description{
    margin:0;
    line-height:1.55;
}

.yalla-ajax-image-description p{
    margin:0 0 10px 0;
}

.yalla-ajax-image-description p:last-child{
    margin-bottom:0;
}

.yalla-ajax-image-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:14px;
    padding:8px 13px;
    border-radius:999px;
    background:#ed2a29;
    color:#fff;
    font-size:12px;
    font-weight:700;
    line-height:1;
    transition:background-color .2s ease, color .2s ease, border-radius .2s ease;
}

.yalla-admin-placeholder{
    padding:18px;
    border:1px dashed #ccc;
    color:#777;
    background:#fafafa;
}

.yalla-modal-open{
    overflow:hidden;
}

.yalla-ajax-modal{
    --yalla-nav-size:56px;
    --yalla-nav-radius:12px;
    --yalla-nav-offset:12px;
    --yalla-nav-symbol-shift:-3px;
    --yalla-close-size:42px;
    --yalla-close-top:12px;
    --yalla-close-right:12px;
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:28px;
    box-sizing:border-box;
}

.yalla-ajax-modal.is-open{
    display:flex;
}

.yalla-ajax-modal-backdrop{
    position:absolute;
    inset:0;
    background:var(--yalla-backdrop-bg, rgba(0,0,0,.86));
}

.yalla-ajax-modal-dialog{
    position:relative;
    width:min(1180px, 96vw);
    max-height:92vh;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    z-index:2;
}

.yalla-ajax-modal-stage{
    position:relative;
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.yalla-ajax-modal-image{
    max-width:100%;
    max-height:82vh;
    object-fit:contain;
    display:block;
    border-radius:14px;
    box-shadow:0 24px 80px rgba(0,0,0,.45);
}

.yalla-ajax-modal-close{
    position:absolute;
    right:var(--yalla-close-right);
    top:var(--yalla-close-top);
    width:var(--yalla-close-size);
    height:var(--yalla-close-size);
    border:0;
    border-radius:12px;
    background:var(--yalla-close-bg, #ed2a29);
    color:var(--yalla-close-color, #fff);
    font-size:calc(var(--yalla-close-size) * 0.52);
    line-height:1;
    cursor:pointer;
    z-index:6;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}

.yalla-ajax-modal-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:var(--yalla-nav-size);
    height:var(--yalla-nav-size);
    border:0;
    border-radius:var(--yalla-nav-radius);
    background:var(--yalla-nav-bg, rgba(255,255,255,.16));
    color:var(--yalla-nav-color, #fff);
    font-size:calc(var(--yalla-nav-size) * 0.75);
    line-height:1;
    cursor:pointer;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.yalla-ajax-modal-nav .yalla-nav-symbol{
    display:block;
    line-height:1;
    transform:translateY(var(--yalla-nav-symbol-shift));
    pointer-events:none;
}

.yalla-ajax-modal-nav:hover,
.yalla-ajax-modal-close:hover{
    background:var(--yalla-nav-hover-bg, #ed2a29);
    color:var(--yalla-nav-hover-color, #fff);
    transform:translateY(-50%) scale(1.04);
}

.yalla-ajax-modal-close:hover{
    transform:scale(1.04);
    background:var(--yalla-close-hover-bg, var(--yalla-nav-hover-bg, #ed2a29));
    color:var(--yalla-close-hover-color, var(--yalla-nav-hover-color, #fff));
}

.yalla-ajax-modal-prev{
    left:var(--yalla-nav-offset);
}

.yalla-ajax-modal-next{
    right:var(--yalla-nav-offset);
}

.yalla-ajax-modal-footer{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    color:#fff;
    margin-top:14px;
    font-size:14px;
    line-height:1.45;
}

.yalla-ajax-modal-caption{
    color:#fff;
    opacity:.9;
}

.yalla-ajax-modal-counter{
    color:#fff;
    opacity:.65;
    white-space:nowrap;
}

.yalla-ajax-modal-loading,
.yalla-ajax-modal-error{
    min-height:180px;
    min-width:280px;
    display:none;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    border-radius:16px;
    padding:24px;
    box-sizing:border-box;
    text-align:center;
}

.yalla-ajax-modal.yalla-preset-soft-red{
    --yalla-nav-bg: rgba(237,42,41,.95);
    --yalla-nav-color: #fff;
    --yalla-nav-hover-bg: rgba(255,255,255,.2);
    --yalla-nav-hover-color: #fff;
    --yalla-close-bg: rgba(237,42,41,.95);
    --yalla-close-color:#fff;
    --yalla-close-hover-bg: rgba(255,255,255,.2);
    --yalla-close-hover-color:#fff;
}

.yalla-ajax-modal.yalla-preset-light{
    --yalla-nav-bg: #ffffff;
    --yalla-nav-color: #161616;
    --yalla-nav-hover-bg: #ed2a29;
    --yalla-nav-hover-color: #ffffff;
    --yalla-close-bg: #ffffff;
    --yalla-close-color:#161616;
    --yalla-close-hover-bg:#ed2a29;
    --yalla-close-hover-color:#ffffff;
}

.yalla-ajax-modal.yalla-preset-translucent-light{
    --yalla-nav-bg: rgba(255,255,255,.18);
    --yalla-nav-color: #ffffff;
    --yalla-nav-hover-bg: rgba(255,255,255,.32);
    --yalla-nav-hover-color: #ffffff;
    --yalla-close-bg: rgba(255,255,255,.18);
    --yalla-close-color:#ffffff;
    --yalla-close-hover-bg: rgba(255,255,255,.32);
    --yalla-close-hover-color:#ffffff;
}

.yalla-ajax-modal.yalla-preset-translucent-dark{
    --yalla-nav-bg: rgba(0,0,0,.35);
    --yalla-nav-color: #ffffff;
    --yalla-nav-hover-bg: rgba(0,0,0,.58);
    --yalla-nav-hover-color: #ffffff;
    --yalla-close-bg: rgba(0,0,0,.35);
    --yalla-close-color:#ffffff;
    --yalla-close-hover-bg: rgba(0,0,0,.58);
    --yalla-close-hover-color:#ffffff;
}

.yalla-ajax-modal.yalla-preset-outline-light{
    --yalla-nav-bg: transparent;
    --yalla-nav-color: #ffffff;
    --yalla-nav-hover-bg: rgba(255,255,255,.14);
    --yalla-nav-hover-color: #ffffff;
    --yalla-close-bg: transparent;
    --yalla-close-color:#ffffff;
    --yalla-close-hover-bg: rgba(255,255,255,.14);
    --yalla-close-hover-color:#ffffff;
}

.yalla-ajax-modal.yalla-preset-outline-light .yalla-ajax-modal-nav,
.yalla-ajax-modal.yalla-preset-outline-light .yalla-ajax-modal-close{
    border:1px solid rgba(255,255,255,.46);
    box-shadow:none;
}

@media(max-width:768px){
    .yalla-ajax-modal{
        padding:12px;
        --yalla-nav-size:44px;
        --yalla-nav-offset:8px;
        --yalla-close-size:38px;
        --yalla-close-top:8px;
        --yalla-close-right:8px;
    }

    .yalla-ajax-modal-dialog{
        width:100%;
        max-height:92vh;
    }

    .yalla-ajax-modal-footer{
        flex-direction:column;
        gap:6px;
        font-size:13px;
    }
}

/* Live update / locked gallery height */
.yalla-ajax-modal.is-height-locked .yalla-ajax-modal-stage{
    height:var(--yalla-locked-stage-height);
    min-height:0;
}

.yalla-ajax-modal.is-height-locked .yalla-ajax-modal-image{
    max-height:100%;
}

/* Editor-only preview of AJAX gallery controls */
.yalla-modal-style-preview{
    --yalla-nav-size:56px;
    --yalla-nav-radius:12px;
    --yalla-nav-offset:12px;
    --yalla-nav-symbol-shift:-3px;
    --yalla-close-size:42px;
    --yalla-close-top:12px;
    --yalla-close-right:12px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:150px;
    margin-top:18px;
    border-radius:14px;
    background:linear-gradient(135deg, rgba(0,0,0,.82), rgba(0,0,0,.64));
    border:1px dashed rgba(255,255,255,.28);
    overflow:hidden;
    box-sizing:border-box;
}

.yalla-modal-style-preview-label{
    color:#fff;
    opacity:.8;
    font-size:13px;
    font-weight:700;
    letter-spacing:.02em;
}

.yalla-preview-nav,
.yalla-preview-close{
    position:absolute;
    border:0;
    cursor:default;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s ease, color .2s ease;
}

.yalla-preview-nav{
    top:50%;
    transform:translateY(-50%);
    width:var(--yalla-nav-size);
    height:var(--yalla-nav-size);
    border-radius:var(--yalla-nav-radius);
    background:var(--yalla-nav-bg, rgba(237,42,41,.95));
    color:var(--yalla-nav-color, #fff);
    font-size:calc(var(--yalla-nav-size) * .75);
    line-height:1;
}

.yalla-preview-nav .yalla-nav-symbol{
    display:block;
    line-height:1;
    transform:translateY(var(--yalla-nav-symbol-shift));
    pointer-events:none;
}

.yalla-preview-prev{
    left:var(--yalla-nav-offset);
}

.yalla-preview-next{
    right:var(--yalla-nav-offset);
}

.yalla-preview-close{
    right:var(--yalla-close-right);
    top:var(--yalla-close-top);
    width:var(--yalla-close-size);
    height:var(--yalla-close-size);
    border-radius:12px;
    background:var(--yalla-close-bg, #ed2a29);
    color:var(--yalla-close-color, #fff);
    font-size:calc(var(--yalla-close-size) * .52);
    line-height:1;
}

.yalla-modal-style-preview.yalla-preset-soft-red{
    --yalla-nav-bg: rgba(237,42,41,.95);
    --yalla-nav-color: #fff;
    --yalla-close-bg: rgba(237,42,41,.95);
    --yalla-close-color:#fff;
}

.yalla-modal-style-preview.yalla-preset-light{
    --yalla-nav-bg: #ffffff;
    --yalla-nav-color: #161616;
    --yalla-close-bg: #ffffff;
    --yalla-close-color:#161616;
}

.yalla-modal-style-preview.yalla-preset-translucent-light{
    --yalla-nav-bg: rgba(255,255,255,.18);
    --yalla-nav-color: #ffffff;
    --yalla-close-bg: rgba(255,255,255,.18);
    --yalla-close-color:#ffffff;
}

.yalla-modal-style-preview.yalla-preset-translucent-dark{
    --yalla-nav-bg: rgba(0,0,0,.35);
    --yalla-nav-color: #ffffff;
    --yalla-close-bg: rgba(0,0,0,.35);
    --yalla-close-color:#ffffff;
}

.yalla-modal-style-preview.yalla-preset-outline-light{
    --yalla-nav-bg: transparent;
    --yalla-nav-color: #ffffff;
    --yalla-close-bg: transparent;
    --yalla-close-color:#ffffff;
}

.yalla-modal-style-preview.yalla-preset-outline-light .yalla-preview-nav,
.yalla-modal-style-preview.yalla-preset-outline-light .yalla-preview-close{
    border:1px solid rgba(255,255,255,.46);
}

/* ==================================================
   YALLA - OPENSTREETMAP
   ================================================== */

.yalla-openstreetmap-wrap{
    position:relative;
    width:100%;
    overflow:hidden;
    box-sizing:border-box;
}

.yalla-openstreetmap-wrap.yalla-osm-full-width{
    position:relative;
    left:50%;
    right:50%;
    width:100vw !important;
    max-width:100vw !important;
    margin-left:-50vw !important;
    margin-right:-50vw !important;
}

.yalla-openstreetmap-wrap.yalla-osm-full-width .yalla-openstreetmap{
    width:100% !important;
}

.yalla-openstreetmap{
    --yalla-osm-marker-size:42px;
    --yalla-osm-marker-color:#ed2a29;
    --yalla-osm-marker-icon-color:#ffffff;
    --yalla-osm-marker-border-color:#ffffff;
    position:relative;
    width:100%;
    min-height:220px;
    height:420px;
    overflow:hidden;
    background:#e9e5dc;
    box-sizing:border-box;
    z-index:1;
}

.yalla-openstreetmap .leaflet-container,
.yalla-openstreetmap.leaflet-container{
    width:100%;
    height:100%;
    font-family:inherit;
}

.yalla-osm-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(17,17,17,.08);
    color:#111;
    font-size:14px;
    line-height:1.4;
    text-align:center;
}

.yalla-osm-placeholder.yalla-osm-error{
    background:rgba(237,42,41,.08);
    color:#111;
    font-weight:700;
}

.yalla-osm-marker{
    background:transparent !important;
    border:0 !important;
}

.yalla-osm-marker-dot{
    position:absolute;
    left:50%;
    top:0;
    width:26px;
    height:26px;
    display:block;
    background:var(--yalla-osm-marker-color, #ed2a29);
    border:3px solid var(--yalla-osm-marker-icon-color, #ffffff);
    border-radius:50% 50% 50% 0;
    transform:translateX(-50%) rotate(-45deg);
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    box-sizing:border-box;
}

.yalla-osm-marker-dot:after{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:8px;
    height:8px;
    background:var(--yalla-osm-marker-color, #ed2a29);
    border:2px solid var(--yalla-osm-marker-icon-color, #ffffff);
    border-radius:50%;
    transform:translate(-50%, -50%) rotate(45deg);
    box-sizing:border-box;
}

.yalla-osm-marker-custom{
    width:var(--yalla-osm-marker-size, 42px);
    height:var(--yalla-osm-marker-size, 42px);
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    color:var(--yalla-osm-marker-icon-color, #ffffff);
    line-height:1;
}

.yalla-osm-marker-icon{
    background:var(--yalla-osm-marker-color, #ed2a29);
    border:3px solid var(--yalla-osm-marker-border-color, #ffffff);
    border-radius:50%;
    box-shadow:0 8px 22px rgba(0,0,0,.25);
}

.yalla-osm-marker-icon i,
.yalla-osm-marker-icon svg{
    display:block;
    width:56%;
    height:56%;
    font-size:calc(var(--yalla-osm-marker-size, 42px) * .52);
    color:currentColor;
    fill:currentColor;
}

.yalla-osm-marker-icon svg path{
    fill:currentColor;
}

.yalla-osm-marker-image{
    background:transparent;
    border:0;
    border-radius:0;
    filter:drop-shadow(0 8px 14px rgba(0,0,0,.28));
}

.yalla-osm-marker-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.yalla-osm-popup{
    font-size:14px;
    line-height:1.45;
}

.yalla-openstreetmap .leaflet-popup-content-wrapper,
.yalla-openstreetmap .leaflet-popup-tip{
    border-radius:0;
}

.yalla-openstreetmap .leaflet-control-layers,
.yalla-openstreetmap .leaflet-control-zoom a{
    border-radius:0 !important;
    box-shadow:0 8px 22px rgba(0,0,0,.14);
}

.yalla-openstreetmap .leaflet-control-layers-expanded{
    padding:10px 12px;
    font-size:13px;
    line-height:1.45;
}

.yalla-openstreetmap .leaflet-control-attribution{
    font-size:10px;
    line-height:1.35;
}

@media(max-width:768px){
    .yalla-openstreetmap{
        min-height:220px;
    }

    .yalla-openstreetmap .leaflet-control-attribution{
        font-size:9px;
    }
}

/* ======================================
   Yalla - Player Muzyczny
====================================== */
.yalla-music-player{
    --yalla-music-offset-x:24px;
    --yalla-music-offset-y:24px;
    --yalla-music-button-size:54px;
    --yalla-music-icon-size:20px;
    --yalla-music-gap:12px;
    --yalla-music-opacity:.78;
    position:fixed;
    z-index:999999;
    display:flex;
    align-items:center;
    gap:var(--yalla-music-gap);
    opacity:var(--yalla-music-opacity);
    transition:opacity .25s ease, transform .25s ease;
    pointer-events:auto;
}

.yalla-music-player:hover,
.yalla-music-player.is-playing{
    opacity:1;
}

.yalla-music-pos-bottom-left{
    left:var(--yalla-music-offset-x);
    bottom:var(--yalla-music-offset-y);
    flex-direction:row;
}

.yalla-music-pos-bottom-right{
    right:var(--yalla-music-offset-x);
    bottom:var(--yalla-music-offset-y);
    flex-direction:row-reverse;
}

.yalla-music-pos-top-left{
    left:var(--yalla-music-offset-x);
    top:var(--yalla-music-offset-y);
    flex-direction:row;
}

.yalla-music-pos-top-right{
    right:var(--yalla-music-offset-x);
    top:var(--yalla-music-offset-y);
    flex-direction:row-reverse;
}

.yalla-music-iframe-holder{
    position:absolute;
    width:1px;
    height:1px;
    left:-9999px;
    top:-9999px;
    opacity:0;
    pointer-events:none;
    overflow:hidden;
    z-index:-1;
}

.yalla-music-button{
    width:var(--yalla-music-button-size);
    height:var(--yalla-music-button-size);
    min-width:var(--yalla-music-button-size);
    min-height:var(--yalla-music-button-size);
    border:0;
    border-radius:50%;
    background:rgba(237,42,41,0.72);
    color:#ffffff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 12px 28px rgba(0,0,0,.22);
    transition:background .25s ease, transform .25s ease, opacity .25s ease, box-shadow .25s ease;
    padding:0;
    appearance:none;
    -webkit-appearance:none;
}

.yalla-music-button:hover,
.yalla-music-player:hover .yalla-music-button{
    background:rgba(237,42,41,0.95);
    transform:scale(1.06);
}

.yalla-music-button:focus{
    outline:2px solid rgba(255,255,255,.75);
    outline-offset:3px;
}

.yalla-music-icon{
    display:block;
    font-size:var(--yalla-music-icon-size);
    line-height:1;
    color:currentColor;
}

.yalla-music-icon-play{
    transform:translateX(1px);
}

.yalla-music-icon-pause{
    display:none;
    font-size:calc(var(--yalla-music-icon-size) * .85);
    letter-spacing:-2px;
}

.yalla-music-player.is-playing .yalla-music-icon-play{
    display:none;
}

.yalla-music-player.is-playing .yalla-music-icon-pause{
    display:block;
}

.yalla-music-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    max-width:min(260px, calc(100vw - 110px));
    padding:9px 13px;
    border-radius:18px;
    background:rgba(17,17,17,0.72);
    color:#fff;
    line-height:1.2;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.yalla-music-track-title,
.yalla-music-track-artist{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.yalla-music-track-title{
    color:#fff;
    font-size:14px;
    font-weight:800;
}

.yalla-music-track-artist{
    margin-top:3px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    font-weight:500;
}

.yalla-music-editor-error{
    background:#fff3f3;
    color:#991b1b;
    border:1px solid #fecaca;
    padding:12px 14px;
    font-size:13px;
    line-height:1.45;
}

@media(max-width:768px){
    .yalla-music-player{
        --yalla-music-offset-x:16px;
        --yalla-music-offset-y:16px;
        --yalla-music-button-size:48px;
        --yalla-music-icon-size:18px;
    }

    .yalla-music-info{
        max-width:min(220px, calc(100vw - 92px));
    }
}

/* =====================================
   Yalla - Slider
===================================== */
.yalla-slider-outer{
    width:100%;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
}

.yalla-slider-fullwidth{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
}

.elementor-widget-yalla_slider.yalla-slider-widget-fill-height,
.elementor-widget-yalla_slider.yalla-slider-widget-fill-height > .elementor-widget-container,
.elementor-widget-yalla_slider.yalla-slider-widget-fill-height .yalla-slider-outer,
.elementor-widget-yalla_slider.yalla-slider-widget-fill-height .yalla-slider{
    height:100%;
}

.elementor-widget-yalla_slider.yalla-slider-widget-fill-height{
    width:100%;
    align-self:stretch;
}

.yalla-slider-outer-fill-height{
    height:100%;
}

.yalla-slider{
    position:relative;
    width:100%;
    min-height:160px;
    height:520px;
    overflow:hidden;
    background:#111;
    isolation:isolate;
    --yalla-slider-speed:700ms;
    --yalla-arrow-size:52px;
    --yalla-arrow-offset:24px;
    --yalla-arrow-vertical-offset:24px;
    --yalla-arrow-gap:12px;
    --yalla-arrow-icon-shift-y:-2px;
    --yalla-arrow-opacity:1;
    --yalla-arrow-hover-opacity:1;
}

.yalla-slider-track{
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    transition:transform var(--yalla-slider-speed) ease;
    will-change:transform;
}

.yalla-slide{
    position:relative;
    min-width:100%;
    width:100%;
    height:100%;
    overflow:hidden;
    display:block;
}

.yalla-slider-effect-fade .yalla-slider-track{
    display:block;
    transform:none !important;
}

.yalla-slider-effect-fade .yalla-slide{
    position:absolute;
    inset:0;
    min-width:0;
    width:100%;
    opacity:0;
    pointer-events:none;
    transition:opacity var(--yalla-slider-speed) ease;
}

.yalla-slider-effect-fade .yalla-slide.is-active{
    opacity:1;
    pointer-events:auto;
    z-index:2;
}

.yalla-slide-bg{
    position:absolute;
    inset:0;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    transform:scale(1.001);
    transform-origin:center center;
    z-index:1;
    will-change:transform;
}

.yalla-slide.is-active .yalla-slide-bg.yalla-slide-zoom_in,
.yalla-slide.is-active .yalla-slide-bg.yalla-slide-zoom-in{
    animation:yalla-slider-zoom-in var(--yalla-slide-zoom-duration, 8s) linear forwards;
}

.yalla-slide.is-active .yalla-slide-bg.yalla-slide-zoom_out,
.yalla-slide.is-active .yalla-slide-bg.yalla-slide-zoom-out{
    animation:yalla-slider-zoom-out var(--yalla-slide-zoom-duration, 8s) linear forwards;
}

@keyframes yalla-slider-zoom-in{
    from{ transform:scale(1.001); }
    to{ transform:scale(var(--yalla-slide-zoom-scale, 1.12)); }
}

@keyframes yalla-slider-zoom-out{
    from{ transform:scale(var(--yalla-slide-zoom-scale, 1.12)); }
    to{ transform:scale(1.001); }
}

.yalla-slide:not(.is-active) .yalla-slide-bg.yalla-slide-zoom_in,
.yalla-slide:not(.is-active) .yalla-slide-bg.yalla-slide-zoom-in,
.yalla-slide:not(.is-active) .yalla-slide-bg.yalla-slide-zoom_out,
.yalla-slide:not(.is-active) .yalla-slide-bg.yalla-slide-zoom-out{
    animation:none;
}

.yalla-slide-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:2;
    pointer-events:none;
}

.yalla-slide-content-wrap{
    position:relative;
    z-index:3;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    box-sizing:border-box;
}

.yalla-slide-content{
    width:100%;
    max-width:760px;
    text-align:center;
    box-sizing:border-box;
}

.yalla-slide-title{
    margin:0 0 18px;
    padding:0;
    color:#fff;
    font-size:clamp(36px, 5vw, 76px);
    font-weight:800;
    line-height:1.02;
}

.yalla-slide-description{
    margin:0 0 28px;
    padding:0;
    color:rgba(255,255,255,.88);
    font-size:clamp(17px, 1.8vw, 22px);
    line-height:1.55;
    font-weight:400;
}

.yalla-slide-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 24px;
    border-radius:0;
    background:#ed2a29;
    color:#fff;
    text-decoration:none !important;
    font-weight:800;
    line-height:1.2;
    transition:background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.yalla-slide-button:hover{
    background:#111;
    color:#fff;
    transform:translateY(-1px);
}

.yalla-slider-arrow{
    position:absolute;
    top:50%;
    z-index:8;
    width:var(--yalla-arrow-size);
    height:var(--yalla-arrow-size);
    transform:translateY(-50%);
    border:0 solid transparent;
    border-radius:50%;
    background:rgba(17,17,17,.45);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    line-height:1;
    padding:0;
    opacity:var(--yalla-arrow-opacity);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:background .25s ease, color .25s ease, opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    appearance:none;
    -webkit-appearance:none;
}

.yalla-slider-arrow-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    transform:translateY(var(--yalla-arrow-icon-shift-y));
    pointer-events:none;
}

.yalla-slider-arrow:hover{
    background:rgba(237,42,41,.9);
    color:#fff;
    opacity:var(--yalla-arrow-hover-opacity);
    transform:translateY(-50%) scale(1.06);
}

.yalla-slider-arrow:disabled{
    opacity:.28;
    cursor:not-allowed;
    transform:translateY(-50%);
}

.yalla-slider-arrow-prev{
    left:var(--yalla-arrow-offset);
}

.yalla-slider-arrow-next{
    right:var(--yalla-arrow-offset);
}

/* Presety ksztaltu strzalek */
.yalla-slider-arrow-preset-square .yalla-slider-arrow{
    border-radius:0;
}

.yalla-slider-arrow-preset-rounded .yalla-slider-arrow{
    border-radius:14px;
}

.yalla-slider-arrow-preset-diamond .yalla-slider-arrow{
    border-radius:8px;
    transform:translateY(-50%) rotate(45deg);
}

.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover{
    transform:translateY(-50%) rotate(45deg) scale(1.06);
}

.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:disabled{
    transform:translateY(-50%) rotate(45deg);
}

.yalla-slider-arrow-preset-diamond .yalla-slider-arrow-icon{
    transform:rotate(-45deg) translateY(var(--yalla-arrow-icon-shift-y));
}

.yalla-slider-arrow-preset-outline .yalla-slider-arrow{
    background:transparent;
    border-width:2px;
    border-color:rgba(255,255,255,.75);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.yalla-slider-arrow-preset-outline .yalla-slider-arrow:hover{
    background:rgba(255,255,255,.12);
}

.yalla-slider-arrow-preset-minimal .yalla-slider-arrow{
    background:transparent;
    border-color:transparent;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.yalla-slider-arrow-preset-minimal .yalla-slider-arrow:hover{
    background:transparent;
}

.yalla-slider-arrow-preset-glass .yalla-slider-arrow{
    background:rgba(255,255,255,.18);
    border-width:1px;
    border-color:rgba(255,255,255,.24);
    box-shadow:0 12px 32px rgba(0,0,0,.18);
}

.yalla-slider-arrow-preset-glass .yalla-slider-arrow:hover{
    background:rgba(237,42,41,.72);
}

/* Pozycje strzalek */
.yalla-slider-arrow-position-middle .yalla-slider-arrow-prev{
    left:var(--yalla-arrow-offset);
    right:auto;
}

.yalla-slider-arrow-position-middle .yalla-slider-arrow-next{
    right:var(--yalla-arrow-offset);
    left:auto;
}

.yalla-slider-arrow-position-middle-edge .yalla-slider-arrow-prev{
    left:0;
    right:auto;
}

.yalla-slider-arrow-position-middle-edge .yalla-slider-arrow-next{
    right:0;
    left:auto;
}

.yalla-slider-arrow-position-middle-outside{
    overflow:visible;
}

.yalla-slider-arrow-position-middle-outside .yalla-slider-arrow-prev{
    left:calc(var(--yalla-arrow-size) / -2);
    right:auto;
}

.yalla-slider-arrow-position-middle-outside .yalla-slider-arrow-next{
    right:calc(var(--yalla-arrow-size) / -2);
    left:auto;
}

.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow,
.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow,
.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow,
.yalla-slider-arrow-position-top-left .yalla-slider-arrow,
.yalla-slider-arrow-position-top-right .yalla-slider-arrow{
    top:auto;
    transform:none;
}

.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-top-left .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-top-right .yalla-slider-arrow:hover{
    transform:scale(1.06);
}

.yalla-slider-arrow-position-bottom-center.yalla-slider-arrow-preset-diamond .yalla-slider-arrow,
.yalla-slider-arrow-position-bottom-left.yalla-slider-arrow-preset-diamond .yalla-slider-arrow,
.yalla-slider-arrow-position-bottom-right.yalla-slider-arrow-preset-diamond .yalla-slider-arrow,
.yalla-slider-arrow-position-top-left.yalla-slider-arrow-preset-diamond .yalla-slider-arrow,
.yalla-slider-arrow-position-top-right.yalla-slider-arrow-preset-diamond .yalla-slider-arrow{
    transform:rotate(45deg);
}

.yalla-slider-arrow-position-bottom-center.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-bottom-left.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-bottom-right.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-top-left.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover,
.yalla-slider-arrow-position-top-right.yalla-slider-arrow-preset-diamond .yalla-slider-arrow:hover{
    transform:rotate(45deg) scale(1.06);
}

.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow-prev,
.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow-next{
    bottom:var(--yalla-arrow-vertical-offset);
}

.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow-prev{
    left:calc(50% - var(--yalla-arrow-size) - (var(--yalla-arrow-gap) / 2));
    right:auto;
}

.yalla-slider-arrow-position-bottom-center .yalla-slider-arrow-next{
    left:calc(50% + (var(--yalla-arrow-gap) / 2));
    right:auto;
}

.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow-prev,
.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow-next{
    bottom:var(--yalla-arrow-vertical-offset);
}

.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow-prev{
    left:var(--yalla-arrow-offset);
    right:auto;
}

.yalla-slider-arrow-position-bottom-left .yalla-slider-arrow-next{
    left:calc(var(--yalla-arrow-offset) + var(--yalla-arrow-size) + var(--yalla-arrow-gap));
    right:auto;
}

.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow-prev,
.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow-next{
    bottom:var(--yalla-arrow-vertical-offset);
}

.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow-next{
    right:var(--yalla-arrow-offset);
    left:auto;
}

.yalla-slider-arrow-position-bottom-right .yalla-slider-arrow-prev{
    right:calc(var(--yalla-arrow-offset) + var(--yalla-arrow-size) + var(--yalla-arrow-gap));
    left:auto;
}

.yalla-slider-arrow-position-top-left .yalla-slider-arrow-prev,
.yalla-slider-arrow-position-top-left .yalla-slider-arrow-next{
    top:var(--yalla-arrow-vertical-offset);
    bottom:auto;
}

.yalla-slider-arrow-position-top-left .yalla-slider-arrow-prev{
    left:var(--yalla-arrow-offset);
    right:auto;
}

.yalla-slider-arrow-position-top-left .yalla-slider-arrow-next{
    left:calc(var(--yalla-arrow-offset) + var(--yalla-arrow-size) + var(--yalla-arrow-gap));
    right:auto;
}

.yalla-slider-arrow-position-top-right .yalla-slider-arrow-prev,
.yalla-slider-arrow-position-top-right .yalla-slider-arrow-next{
    top:var(--yalla-arrow-vertical-offset);
    bottom:auto;
}

.yalla-slider-arrow-position-top-right .yalla-slider-arrow-next{
    right:var(--yalla-arrow-offset);
    left:auto;
}

.yalla-slider-arrow-position-top-right .yalla-slider-arrow-prev{
    right:calc(var(--yalla-arrow-offset) + var(--yalla-arrow-size) + var(--yalla-arrow-gap));
    left:auto;
}

.yalla-slider-dots{
    position:absolute;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    z-index:9;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.yalla-slider-dot{
    width:10px;
    height:10px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.55);
    cursor:pointer;
    padding:0;
    appearance:none;
    -webkit-appearance:none;
    transition:background .25s ease, transform .25s ease, opacity .25s ease;
}

.yalla-slider-dot:hover,
.yalla-slider-dot.is-active{
    background:#ed2a29;
    transform:scale(1.18);
}

.yalla-slider-empty{
    padding:20px;
    background:#fff3f3;
    color:#991b1b;
    border:1px solid #fecaca;
    font-size:14px;
}

@media(max-width:768px){
    .yalla-slider{
        height:420px;
    }

    .yalla-slide-content-wrap{
        padding:42px 24px;
    }

    .yalla-slide-title{
        font-size:clamp(30px, 9vw, 48px);
    }

    .yalla-slide-description{
        font-size:16px;
    }

    .yalla-slider{
        --yalla-arrow-size:42px;
        --yalla-arrow-offset:12px;
        --yalla-arrow-vertical-offset:16px;
    }

    .yalla-slider-arrow{
        width:var(--yalla-arrow-size);
        height:var(--yalla-arrow-size);
        font-size:32px;
    }

    .yalla-slider-dots{
        bottom:16px;
    }
}
