/* ═══════════════════════════════════════════════════════════
   SPONSOR — PORTRAIT
   Dy kuti për çdo kuti kryesore: sipër (zbret) + poshtë (ngrihet).
   Kutia kryesore nuk lëviz. Sponsori pozicionohet absolute ndaj kutisë.
═══════════════════════════════════════════════════════════ */

/* Aktiv vetëm në portrait mobile */
@media only screen and (min-width: 769px),
       only screen and (orientation: landscape) {
    .sp-p-wrapper { display: none !important; }
}

@media only screen and (max-width: 768px) and (orientation: portrait) {

    /* Wrapper është fëmijë i .box — kutia kryesore DUHET të ketë position:relative */
    .box { position: relative; }

    .sp-p-wrapper {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 50;
        overflow: hidden;
    }

    .sp-p {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        pointer-events: none;
        transition: transform 0.35s ease;
        will-change: transform;
    }
    .sp-p-top {
        top: 0;
        transform: translateY(-110%);
    }
    .sp-p-bottom {
        bottom: 0;
        transform: translateY(110%);
    }

    .sp-p-wrapper.aktiv .sp-p-top,
    .sp-p-wrapper.aktiv .sp-p-bottom {
        transform: translateY(0);
        pointer-events: auto;
    }

    /* ── Blloku i madh ── */
    .sp-p-bllok {
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    .sp-p-bllok .sp-p-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .sp-p-bllok-tekst {
        position: relative;
        z-index: 2;
        color: #fff;
        text-align: center;
        padding: 12px 16px;
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        font-weight: 600;
        text-shadow: 0 1px 4px rgba(0,0,0,0.7);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ── Marquee ── */
    .sp-p-marquee {
        overflow: hidden;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .sp-p-mq-run {
        white-space: nowrap;
        font-weight: 600;
        animation-name: sp-p-mq;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        padding-left: 100%;
    }
    @keyframes sp-p-mq {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }

    /* ── Ikona & Butona ── */
    .sp-p-ikona {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .sp-p-ikona::-webkit-scrollbar { display: none; }
    .sp-p-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        flex-shrink: 0;
    }
    .sp-p-ik {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }
    .sp-p-ik img {
        border-radius: 4px;
        display: block;
    }
}
