/* ============================================================
   SAWT EDITORIAL MEDIA
   PREMIUM / COMPACT
============================================================ */

.sawt-media-zone {
    position: relative;
    width: 100%;
    margin: 60px 0;
    overflow: hidden;
    background: #d4d2d2;
}


.sawt-media-zone::before {
    content: "";
    position: absolute;

    top: 0;
    left: 7%;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: rgba(190, 18, 38, .035);

    filter: blur(2px);

    pointer-events: none;
}


.sawt-media-zone__container {
    width: min(1450px, calc(100% - 50px));

    margin: auto;

    position: relative;

    z-index: 1;
}


/* ============================================================
   MAIN GRID
============================================================ */

.sawt-media-zone__grid {

    display: grid;

    grid-template-columns:
        minmax(280px, .72fr)
        minmax(0, 1.8fr);

    gap: 30px;

    align-items: start;

    direction: ltr;
}


/* ============================================================
   RTL CONTENT
============================================================ */

.sawt-cartoon-box,
.sawt-bulletin-box {
    direction: rtl;
}


/* ============================================================
   COLUMNS
============================================================ */

.sawt-cartoon-box {
    grid-column: 1;

    min-width: 0;
}


.sawt-bulletin-box {
    grid-column: 2;

    min-width: 0;
}



/* ============================================================
   SHARED HEAD
============================================================ */

.sawt-cartoon-head,
.sawt-bulletin-head {

    position: relative;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;

    padding-bottom: 12px;
}


.sawt-cartoon-head::after,
.sawt-bulletin-head::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #e7e7e7;
}


.sawt-cartoon-head::before,
.sawt-bulletin-head::before {

    content: "";

    position: absolute;

    right: 0;
    bottom: -1px;

    width: 65px;
    height: 3px;

    background: #bd1729;

    z-index: 2;
}



/* ============================================================
   HEADINGS
============================================================ */

.sawt-cartoon-heading,
.sawt-bulletin-heading {

    display: flex;

    align-items: center;

    gap: 10px;
}


.sawt-cartoon-heading__line,
.sawt-bulletin-heading__line {

    width: 6px;
    height: 38px;

    background: #bd1729;

    border-radius: 2px;

    position: relative;
}


.sawt-cartoon-heading__line::after,
.sawt-bulletin-heading__line::after {

    content: none !important;
    display: none !important;
}


.sawt-cartoon-heading small,
.sawt-bulletin-heading small {

    display: block;

    color: #999;

    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 2px;
}


.sawt-cartoon-heading h2,
.sawt-bulletin-heading h2 {

    margin: 0;

    color: #171717;

    font-size: 23px;

    line-height: 1.1;

    font-weight: 900;
}



/* ============================================================
   MORE
============================================================ */

.sawt-cartoon-more,
.sawt-bulletin-more {

    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #777;

    font-size: 11px;

    text-decoration: none;

    transition: .3s ease;
}


.sawt-cartoon-more:hover,
.sawt-bulletin-more:hover {

    color: #bd1729;
}


.sawt-cartoon-more i,
.sawt-bulletin-more i {

    transition: transform .3s ease;
}


.sawt-cartoon-more:hover i,
.sawt-bulletin-more:hover i {

    transform: translateX(-4px);
}



/* ============================================================
   CARTOON
   أصغر من السابق
============================================================ */

.sawt-cartoon-stage {

    position: relative;

    height: 400px;

    overflow: hidden;

    background: #101010;

    border-radius: 3px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.11),
        0 2px 0 rgba(0,0,0,.03);
}


.sawt-cartoon-stage::before {

    content: "CARICATURE";

    position: absolute;

    top: 14px;
    right: 15px;

    z-index: 10;

    padding: 4px 8px;

    border: 1px solid rgba(255,255,255,.35);

    color: rgba(255,255,255,.85);

    font-size: 7px;

    letter-spacing: 2px;

    font-weight: 700;

    pointer-events: none;
}



/* ============================================================
   CARTOON SLIDES
============================================================ */

.sawt-cartoon-slide {

    display: none;

    position: absolute;

    inset: 0;
}


.sawt-cartoon-slide.is-current {

    display: block;

    animation:
        sawtEditorialIn
        .55s
        cubic-bezier(.22,.61,.36,1);
}


@keyframes sawtEditorialIn {

    0% {

        opacity: 0;

        transform: scale(1.04);

    }

    100% {

        opacity: 1;

        transform: scale(1);

    }

}



/* ============================================================
   CARTOON IMAGE
============================================================ */

.sawt-cartoon-image-link {

    position: absolute;

    inset: 0;

    display: block;

    overflow: hidden;
}


.sawt-cartoon-image-link::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 30%,
            rgba(0,0,0,.13) 55%,
            rgba(0,0,0,.92) 100%
        );

    pointer-events: none;
}


.sawt-cartoon-image {

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #f1f1f1;

    transition:
        transform
        1s
        cubic-bezier(.2,.6,.2,1);
}


.sawt-cartoon-slide.is-current
.sawt-cartoon-image {

    transform: scale(1.015);
}



/* ============================================================
   EMPTY
============================================================ */

.sawt-cartoon-empty {

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: #999;

    background: #eee;

    gap: 8px;
}


.sawt-cartoon-empty i {

    font-size: 38px;
}



/* ============================================================
   CARTOON INFO
============================================================ */

.sawt-cartoon-info {

    position: absolute;

    right: 0;
    left: 0;
    bottom: 0;

    z-index: 4;

    padding: 24px 24px 22px;

    color: #fff;
}


.sawt-cartoon-label {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 7px;

    color: #f05464;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .7px;
}


.sawt-cartoon-label::before {

    content: "";

    width: 16px;
    height: 1px;

    background: #f05464;
}


.sawt-cartoon-title {

    display: block;

    max-width: 92%;

    color: #fff;

    text-decoration: none;

    font-size: 19px;

    line-height: 1.5;

    font-weight: 900;

    transition: color .25s ease;
}


.sawt-cartoon-title:hover {

    color: #ff6574;
}



/* ============================================================
   CARTOON CONTROLS
============================================================ */

.sawt-cartoon-arrow {

    position: absolute;

    top: 50%;

    z-index: 20;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    background: rgba(10,10,10,.45);

    backdrop-filter: blur(8px);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transform: translateY(-50%);

    transition: .3s ease;
}


.sawt-cartoon-arrow:hover {

    background: #bd1729;

    border-color: #bd1729;

    box-shadow:
        0 10px 25px
        rgba(189,23,41,.35);
}


.sawt-cartoon-arrow--prev {

    right: 14px;
}


.sawt-cartoon-arrow--next {

    left: 14px;
}



/* ============================================================
   CARTOON COUNTER
============================================================ */

.sawt-cartoon-footer {

    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 15;
}


#sawtCartoonCounter {

    display: inline-block;

    padding: 6px 9px;

    background: rgba(0,0,0,.55);

    color: #fff;

    font-size: 9px;

    letter-spacing: 1px;

    border-radius: 2px;

    backdrop-filter: blur(6px);
}



/* ============================================================
   BULLETIN
============================================================ */

.sawt-bulletin-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        285px;

    gap: 14px;

    /*
     * ارتفاع القسم أصبح ارتفاع الفيديو فقط
     */
    height: auto;

    align-items: start;
}



/* ============================================================
   MAIN VIDEO
   الفيديو فقط
============================================================ */

.sawt-bulletin-main {

    min-width: 0;

    background: #0b0b0b;

    border-radius: 3px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.13);
}


.sawt-bulletin-player {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #050505;

    overflow: hidden;
}


.sawt-bulletin-video,
.sawt-bulletin-frame {

    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    object-fit: cover;
}



/*
============================================================
إخفاء أي محتوى قديم تحت الفيديو
============================================================
*/

.sawt-bulletin-main-content {

    display: none !important;
}



/* ============================================================
   SIDE PLAYLIST
============================================================ */

.sawt-bulletin-side-wrapper {

    height: 100%;

    min-width: 0;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 3px;

    overflow: hidden;

    display: flex;

    flex-direction: column;
}


.sawt-bulletin-side-title {

    position: relative;

    padding: 13px 15px;

    border-bottom: 1px solid #ededed;

    flex-shrink: 0;
}


.sawt-bulletin-side-title span {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #191919;

    font-size: 12px;

    font-weight: 900;
}


.sawt-bulletin-side-title span::before {

    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #bd1729;

    box-shadow:
        0 0 0 4px
        rgba(189,23,41,.09);
}



/* ============================================================
   SIDE LIST
============================================================ */

.sawt-bulletin-side-list {

    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 4px;

    scrollbar-width: thin;

    scrollbar-color:
        #ccc
        transparent;
}



/* ============================================================
   SIDE CARD
============================================================ */

.sawt-bulletin-side-card {

    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns:
        90px
        minmax(0,1fr);

    gap: 9px;

    padding: 9px 8px;

    border: 0;

    border-bottom: 1px solid #eee;

    background: transparent;

    text-align: right;

    cursor: pointer;

    transition: .3s ease;
}


.sawt-bulletin-side-card:last-child {

    border-bottom: 0;
}


.sawt-bulletin-side-card:hover {

    background: #f8f8f8;
}


.sawt-bulletin-side-card.is-selected {

    background: #f8eeee;
}


.sawt-bulletin-side-card.is-selected::after {

    content: "";

    position: absolute;

    top: 8px;
    bottom: 8px;

    right: 0;

    width: 3px;

    border-radius: 2px;

    background: #bd1729;
}



/* ============================================================
   SIDE THUMB
============================================================ */

.sawt-bulletin-side-thumb {

    position: relative;

    width: 90px;
    height: 63px;

    border-radius: 2px;

    overflow: hidden;

    background: #171717;
}


.sawt-bulletin-side-thumb img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        .45s
        ease;
}


.sawt-bulletin-side-card:hover
.sawt-bulletin-side-thumb img {

    transform: scale(1.08);
}


.sawt-bulletin-video-thumb-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-size: 23px;
}


.sawt-bulletin-play {

    position: absolute;

    right: 6px;
    bottom: 6px;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background:
        rgba(189,23,41,.95);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    box-shadow:
        0 4px 10px
        rgba(0,0,0,.2);
}



/* ============================================================
   SIDE CONTENT
============================================================ */

.sawt-bulletin-side-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.sawt-bulletin-side-content span {

    margin-bottom: 4px;

    color: #bd1729;

    font-size: 8px;

    font-weight: 800;
}


.sawt-bulletin-side-content strong {

    display: -webkit-box;

    overflow: hidden;

    color: #202020;

    font-size: 11px;

    line-height: 1.5;

    font-weight: 800;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
}


.sawt-bulletin-side-content small {

    margin-top: 4px;

    color: #999;

    font-size: 8px;
}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1150px) {

    .sawt-media-zone__grid {

        grid-template-columns: 1fr;

        direction: rtl;

        gap: 32px;
    }


    .sawt-cartoon-box,
    .sawt-bulletin-box {

        grid-column: auto;
    }


    .sawt-cartoon-stage {

        height: 430px;
    }


    .sawt-bulletin-layout {

        grid-template-columns:
            minmax(0, 1fr)
            280px;
    }

}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .sawt-media-zone {

        margin: 40px 0;
    }


    .sawt-media-zone__container {

        width: calc(100% - 24px);
    }


    .sawt-media-zone__grid {

        gap: 34px;
    }


    .sawt-cartoon-head,
    .sawt-bulletin-head {

        margin-bottom: 12px;
    }


    .sawt-cartoon-heading h2,
    .sawt-bulletin-heading h2 {

        font-size: 20px;
    }


    .sawt-cartoon-stage {

        height: 390px;
    }


    .sawt-cartoon-title {

        max-width: 95%;

        font-size: 17px;
    }


    .sawt-cartoon-info {

        padding: 22px 18px;
    }


    /*
    الفيديو يظل بنسبة 16:9
    */

    .sawt-bulletin-layout {

        display: flex;

        flex-direction: column;

        height: auto;
    }


    .sawt-bulletin-main {

        width: 100%;
    }


    /*
    القائمة الجانبية تحت الفيديو
    */

    .sawt-bulletin-side-wrapper {

        width: 100%;

        height: 300px;
    }

}



/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 450px) {

    .sawt-media-zone__container {

        width: calc(100% - 18px);
    }


    .sawt-cartoon-stage {

        height: 340px;
    }


    .sawt-cartoon-arrow {

        width: 38px;
        height: 38px;
    }


    .sawt-cartoon-arrow--prev {

        right: 9px;
    }


    .sawt-cartoon-arrow--next {

        left: 9px;
    }


    .sawt-bulletin-side-wrapper {

        height: 290px;
    }


    .sawt-bulletin-side-card {

        grid-template-columns:
            85px
            minmax(0,1fr);
    }


    .sawt-bulletin-side-thumb {

        width: 85px;
        height: 60px;
    }

}