/**************

    Template Information:
    
    Front-End & Back-End Developer: Wsla Technology;
    Email: info@wsla.ps;
    Mobile: +972 599 461835 | +972 597 972030 | +972 599 684626;
    TelFax:	+970 8 2886841;

    Wsla Services:
        Wsla It can Provide a lot of services like:
        1- Web Design & Development
        2- Software solutions for the companies
        3- Web Hosting & Domain Registration
        4- Reservation of private servers for companies
        5- Hosting live broadcasts of radio stations
        6- Programming applications for iPhone and Android
        7- E-marketing and campaign management
        8- E-mail service & SMS service

    Website: Al Kofiya Tv;
    Date: 25-4-2025;

*************/
/* Fonts Include */

@font-face {
    font-family: "light";
    src: url("../fonts/Almarai-Light.ttf");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "regular";
    src: url("../fonts/Almarai-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "bold";
    src: url("../fonts/Almarai-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "extrabold";
    src: url("../fonts/Almarai-ExtraBold.ttf");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "tajawalmedium";
    src: url("../fonts/Tajawal-Medium.ttf");
    font-weight: 500;
    font-style: normal;
}

/* Fonts Include */

/* ——— 1. Root Variables ——— */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    --main-color: #353941;
    --secondary-color: #c75959;
    --secondary-site-color: #ffca02;
    --trans: all 0.4s ease-in-out;

    --light-font: "light", sans-serif;
    --regular-font: "regular", sans-serif;
    --bold-font: "bold", sans-serif;
    --extrabold-font: "extrabold", sans-serif;

    --font-almarai: 'Almarai', sans-serif;
    --font-tajawal: 'Tajawal', sans-serif;
    --font-noto: 'Noto Naskh Arabic', serif;

    --font-cycle-1: var(--font-almarai);
    --font-cycle-2: var(--font-tajawal);
    --font-cycle-3: var(--font-noto);

    --night-bg: rgba(245, 236, 216, 0.85);

    --footer-bg-gradient: linear-gradient(90deg, #000, #261F09 40%, #353941);
    --footer-color: #fff;
    --footer-padding-vertical: 20px;
    --footer-gap: 20px;
    --social-size: 32px;
    --social-gap: 12px;
    --transition: 0.3s ease;
    --rights-padding: 8px 0;
}

body {
    overflow-x: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;

    font-family: var(--bold-font);
    font-size: 18px;
    line-height: 1.5;

    margin: 0;
    /* padding: 16px; */
}


/* ——— 2. Fluid Typography ——— */

html {
    font-size: clamp(1rem, 2vw, 1.125rem);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ——— Unified Typography Reset ——— */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: larger;
    font-family: var(--regular-font);
    line-height: 140%;
}

p {
    margin-top: 0;
    margin-bottom: 0rem;
}

img,
img[src],
.carousel-item img,
.news-normal figure img,
.news-sm figure img {
    /* display: block !important; */
    max-width: 100% !important;
    /* height: auto !important; */
    border-radius: 4px !important;
}

a:hover,
a:focus,
a:active,
button:hover,
button:focus,
button:active,
div,
section,
span,
p,
div:hover,
section:hover,
span:hover,
p:hover {
    text-decoration: none;
    outline: none;
}

select,
input[type="checkbox"],
input[type="radio"],
select:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    cursor: pointer;
}

.form-control:focus,
.btn:focus {
    box-shadow: none !important;
    border-color: var(--secondary-color);
}

.has-fixed-top .main-header {
    padding-top: 100px;
}

.btn-horpost {
    padding: 8px 30px !important;
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #FFF !important;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}


.news-body p+p {
    margin-top: 1em;
}

.news-body p,
.editor-content p {
    margin: 0 0 1em !important;
    line-height: 1.6;
}


/* menu-sm */
.menu-sm {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background-color: #fff;
    z-index: 9999;
    border-radius: 50%;
    /*border: 1px solid;*/
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.menu-sm.show {
    width: 300px;
    height: 100%;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.87s ease;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.overlay-bg {
    background: RGBA(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
}

.menu-close {
    border: 1px solid var(--main-color);
    position: absolute;
    top: 10px;
    left: -20px;
    padding: 0;
    width: 45px;
    height: 45px;
    background-color: #FFF;
    border-radius: 50%;
    z-index: 9;
}

.menu-close:hover,
.menu-close:focus {
    background: #FFF !important;
    color: var(--danger) !important;
}

.menu-header {
    position: relative;
    margin-bottom: 28px;
    text-align: center;
    padding: 38px 0;
    background: url(../images/menu.jpg) no-repeat bottom;
    background-size: cover;
}

.menu-header::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background: #1b1e21;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
}

.menu-header h4,
.menu-header h5 {
    color: #005352;
    font-size: 22px;
}

.sm-nav-menu {
    list-style: none;
    margin-bottom: 40px;
    height: calc(100vh - 242px);
}

.sm-nav-menu li a {
    display: block;
    padding: 5px 15px;
    color: #1b1e21;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sm-nav-menu li a:hover,
.sm-nav-menu li a:focus {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* .sm-nav-menu .dropdown-menu.show {
    right: 0 !important;
    left: auto !important;
    width: 100%;
    top: 100% !important;
    transform: none !important;
    position: static !important;
} */

.dropdown,
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s linear 0.25s;
    margin-top: 0 !important;
    pointer-events: none;

    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding-top: 5px;
    padding-bottom: 5px;

    text-align: right;
}

.dropdown:hover>.dropdown-menu,
.nav-item.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
}

.dropdown-menu .dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 5px 35px 5px 15px;
    color: #333;
    text-align: right;
    position: relative;
    white-space: nowrap;
    font-family: 'regular';
    font-size: medium;
}

.dropdown-menu .dropdown-item::before {
    content: "\203A";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 0.9em;
}


.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f0f0f0;
    color: #0056b3;
    text-decoration: none;
}

.dropdown-divider {
    margin: 0.5rem 10px;
}

.navbar-nav .dropdown-menu {
    position: static;
    float: none;
    text-align: start !important;
    float: right !important;
    left: initial !important;
    right: 0 !important;
}

.bottom-social {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to left, var(--secondary-color), var(--main-color));
    margin: 0;
}

.bottom-social ul {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.bottom-social ul li a {
    display: block;
    color: #FFF;
    padding: 5px;
}

/* menu-sm */

/* search */
.search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: red; */
    z-index: 2000;
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: RGBA(3, 3, 3, 0.85);
    z-index: 1999;
    display: none;
}

.search form .form-group {
    position: relative;
}

.search form .form-control {
    height: 50px;
    background-color: transparent;
    border-color: #fff;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    color: #FFF;
    font-size: 18px;
    padding-left: 55px;
}

.search form .form-group button {
    position: absolute;
    top: 0;
    left: 15px;
    height: 50px;
}

.search form .form-group button:focus {
    border: none !important;
}

.closeSearch {
    position: absolute;
    top: 25px;
    right: 25px;
}

/* news-card */
.news-card,
.news-card__figure,
.news-card__image,
.news-card__badge,
.news-card__footer {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    z-index: 999;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card__figure {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.news-card__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.news-card:hover .news-card__figure::after {
    opacity: 1;
}

.news-card__image {
    display: block;
    width: 100%;
}

.news-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: small;
    font-family: 'regular';
}

.news-card__content {
    flex: 1;
    padding: 0.5rem;
}

.news-card__title {
    margin: 0;
    color: var(--main-color);
    font-family: 'bold';
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card__title:hover {
    color: #e63946;
    text-decoration: none;
}

.news-card__footer {
    padding: 0.5rem;
    margin-top: auto;
    text-align: left;
    direction: ltr;
}

.news-card__date {
    color: #08c;
    font-family: 'regular';
    font-size: small;
}

/* search */

/* logo-e3lan */
.logo-e3lan {
    padding: 5px 0;
    background: #242f39;
}

.logo-e3lan .e3lanat {
    margin-bottom: 0;
    text-align: center;
}

/* logo-e3lan */

/*  e3lanat  */
.e3lanat-hold {
    /* margin-bottom: 25px; */
    padding-bottom: 30px;
    padding-top: 30px;
}

.e3lanat {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80px;
    /* margin-bottom: 20px; */
    padding-bottom: 0px;
    padding-top: 0px;
}

.e3lanat img {
    width: 100%;
    /* height: 80px; */
}

.logo-e3lan .e3lanat img {
    /* width: 736px; */
    width: 600px;
    max-width: 100%;
}

.site-wrapper .e3lanat img,
.site-wrapper .e3lanat {
    height: auto !important;
}

/*  e3lanat  */

/* main-navigation */
.main-navigation {
    background: #ffffff;
    /* margin-bottom: 25px; */
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.main-navigation.fixed-top {
    /* box-shadow: 0 5px 10px RGBA(3,3,3,0.7); */
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-bottom: 1px solid #e9eaeb;
}

.main-navigation .navbar-brand img {
    height: 0;
    max-width: 100%;
    width: 0;
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -ms-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
}

.main-navigation.navbar-dark .navbar-nav .nav-link {
    padding: 8px 10px;
    color: #000000;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    font-family: var(--bold-font);
    font-size: 18px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.navbar-dark .navbar-brand {
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation.navbar-dark .navbar-nav .nav-link.home-link {
    color: #14244a !important;
    /* background: #000025 !important; */
    padding: 15px 12px;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.main-navigation.navbar-dark .navbar-nav .nav-link:hover {
    animation: shake 0.3s ease-in-out;
}

.logo-custom-image {
    width: 100% !important;
    max-width: 55px !important;
    height: 45px;
    box-shadow: inset rgb(0 0 0) -20px -7px 20px 15px;
}

.sm-nav-menu li a:hover,
.section-title:hover,
.more-btn:hover {
    animation: shake 0.3s ease-in-out infinite;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}

.main-navigation.navbar-dark .navbar-nav .nav-link.btn {
    background: #242f39;
    color: #FFF;
    padding: 10px 12px;
}

.main-navigation.navbar-dark .navbar-nav .nav-link.btn:hover {
    background-color: #122130;
}

/* main-navigation */

/* site-wrapper */
.site-wrapper {
    /* background: linear-gradient(to bottom, #E7E8E9, #FFF); */
}

.site-ptb {
    padding: 30px 0 30px 0;
}

/* End site-wrapper */

/* live-sec */

/* ======= live-sec block ======= */
.live-sec {
    position: relative;
    overflow: hidden;
    background: var(--main-color) center/cover no-repeat;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ======= overlay ======= */
.live-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

/* ======= container ======= */
.live-sec .container {
    position: relative;
    z-index: 1;
}

/* ======= close button ======= */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.close-btn:hover {
    background: tomato;
    color: #fff;
}

/* ======= live-text ======= */
.live-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 15px;
    box-shadow: none;
}

.live-title {
    color: tomato;
    font-size: 30px;
    font-family: var(--bold-font);
    margin-bottom: 5px !important;
    text-align: center;
}

.live-desc {
    color: #ffffff;
    font-family: var(--regular-font);
    font-size: 14px;
    text-align: justify;
    word-wrap: break-word;
    white-space: pre-line;
    line-height: 140%;
    margin-bottom: 5px !important;
}

/* ======= video player 16:9 ======= */
.embed-responsive-16by9 {
    position: relative;
    width: 100%;
    padding-top: 56.25% !important;
    /* 9/16 */
    border-radius: 8px;
    overflow: hidden;
    margin: 0 !important;
}

.embed-responsive-16by9 iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ======= remove extra margins/paddings ======= */
.embed-responsive,
.embed-responsive-16by9 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.live-sec .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.live-sec .col-md-8,
.live-sec .col-lg-8 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ======= responsive adjustments ======= */
@media (min-width: 768px) {
    .live-sec {
        padding-top: 20px;
        padding-bottom: 20px;
        margin-bottom: 0px;
    }
}

@media (max-width: 767.98px) {
    .live-sec {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-bottom: 5px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .live-title {
        font-size: 24px;
    }

    .live-desc {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {

    /* إخفاء عمود المعلومات بالكامل */
    .live-sec .col-md-4 {
        display: none !important;
    }

    /* جعل عمود الفيديو يمتد للعرض الكامل */
    .live-sec .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* live-sec */

/* main-news-item */
.main-news-item {
    position: relative;
    margin-bottom: 25px;
}

.main-news-item figure {
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.main-news-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-news-item figure figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.main-news-item figure figcaption h3 {
    color: #ffcb00;
    font-size: 17px;
    font-family: var(--regular-font);
    margin-bottom: 10px;
}

.main-news-item figure figcaption h2 {
    color: #FFF;
    font-size: 29px;
    font-family: var(--extrabold-font);
    line-height: 140%;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.main-news-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 1;
    pointer-events: none;

    background-color: rgba(0, 0, 0, 0.1);
    /* background-color: rgba(255, 255, 255, 0.1); */
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)); */
}

.main-news-item figcaption h2 {
    margin: 0;
    padding-bottom: 10px;
    font-size: 26px;
    font-family: 600;
    line-height: 1.4;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    /* letter-spacing: 0.2px; */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.5); */
}

.main-news-item figcaption h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 5px;
}

.main-news-item figcaption h3 {
    margin: 0;
    padding-bottom: 5px;
    font-size: 17px;
    font-family: 400;
    font-family: var(--bold-font);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    text-shadow: none;
}

@media (max-width: 768px) {
    .main-news-item figcaption {
        padding: 20px;
    }

    .main-news-item figcaption h2 {
        font-size: 22px;
        padding-bottom: 8px;
    }

    .main-news-item figcaption h2::before {
        width: 30px;
        height: 2px;
        margin-bottom: 10px;
    }

    .main-news-item figcaption h3 {
        font-size: 14px;
        padding-bottom: 3px;
    }
}

/* Main News */
.mbbottom {
    /* margin-bottom: 15px!important; */
    padding-top: 30px;
    padding-bottom: 30px;
    /* background: #ffffff */
    background: #ffffff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(247, 247, 247, 1) 35%, rgba(230, 230, 230, 1) 100%);
}

/* صفري المسافات الرأسية داخل الـ main-stage */
.main-stage,
.main-stage .container,
.main-stage .row,
.main-stage .row>[class*="col-"],
.main-stage .main-news-item,
.main-stage .main-news-item figure,
.main-stage .main-news-item figure img,
.main-stage .main-news-item figcaption {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.main-stage .row>[class*="col-"] {
    margin-bottom: 10px !important;
}

/* تأكد أن الصورة تُملأ الإطار بدون مسافات */
.main-stage .main-news-item figure img {
    display: block;
    width: 100%;
    height: auto;
}


.main-stage {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}


/* End Main News */

.main-news-item:hover figure figcaption h2 {
    color: #ffd721;
}

.main-news-item figure::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to top, #000, transparent);
    z-index: 1;
}

.category {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 6px 15px;
    background: var(--secondary-color);
    color: #FFF;
    z-index: 3;
}

.type {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    color: #FFF;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

/* .type i {
    font-size: 25px;
    width: 50px;
    height: 50px;
    border: 3px solid #FFF;
    vertical-align: middle;
    line-height: 43px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
} */

.type i {
    font-size: 10px;
    width: 25px;
    height: 25px;
    border: 3px solid #FFF;
    vertical-align: middle;
    line-height: 20px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}


.main-news-item:hover .type,
.main-news-item:focus .type,
.main-news-item:hover .link-icon,
.main-news-item:focus .link-icon,
.media-news-normal:hover .link-icon {
    opacity: 1 !important;
}

.link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: url(../images/icons/loader9.svg) no-repeat center;
    background-size: contain;
    filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(180deg);
    z-index: 4;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.news-sm {
    margin-bottom: 10px;
}

.news-sm figure {
    height: 220px;
}

.news-sm figure figcaption {
    padding-bottom: 15px;
}

.news-sm figure figcaption h2 {
    font-size: 17px;
    font-family: var(--bold-font);
    line-height: 130%;
}

.news-sm .link-icon,
.media-news-normal .link-icon {
    width: 40px;
    height: 40px;
}

.sami figure {
    height: 200px;
}

.sami figure figcaption h2 {
    font-size: 17px;
    font-family: var(--bold-font);
    line-height: 130%;
    /*opacity: 0;*/
    transition: all 0.4s ease;
}

.sami:hover figure figcaption h2 {
    opacity: 1;
}

.main-news-item.sami figure::before {
    /*top: 100%;*/
    /*transition: all 0.4s ease;*/
}

.sami:hover figure::before {
    /*top: 0;*/
}

/* main-news-item */



/* news-normal */
.news-normal {
    margin-bottom: 0px;
}

.news-normal figure {
    width: 100%;
    height: 200px !important;
    overflow: hidden;
    position: relative;
}

.news-normal figure::before {
    content: "";
    position: absolute;
    right: -12px;
    bottom: -12px;
    color: #fff;
    background: url(../images/icons/news-ico.png) no-repeat center;
    width: 69px;
    height: 82px;
    background-size: contain;
}

.news-normal figure::after,
.media-news figure::after,
.world-item figure::after,
.media-news-normal figure::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: RGBA(3, 3, 3, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.news-normal figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-normal h2 {
    font-size: 18px;
    line-height: 140%;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    color: #142349;
    font-family: var(--bold-font);
    margin-bottom: 15px !important;
}

.news-normal:hover .link-icon,
.news-normal:hover figure::after,
.news-normal:hover .type,
.media-news:hover .link-icon,
.media-news:hover figure::after,
.world-item:hover figure::after,
.media-news-normal:hover figure::after {
    opacity: 1 !important;
}

.news-normal:hover h2 {
    color: #c75959;
}


.news-normalw figure {
    width: 100%;
    height: 110px !important;
    overflow: hidden;
    position: relative;
}

.news-normalw h2 {
    font-family: 'regular' !important;
    font-size: 16px;
    line-height: 140%;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    color: #142349;
    font-family: var(--bold-font);
    margin-bottom: 15px !important;
}

.news-normalw:hover .link-icon,
.news-normalw:hover figure::after,
.news-normalw:hover .type,
.media-news-normalw:hover figure::after {
    opacity: 1 !important;
}

.news-normalw:hover h2 {
    color: #c75959;
}

/* news-normal */

.tody-news {
    /* margin-bottom: 35px; */
    padding-top: 30px;
    padding-bottom: 30px;
}

.tody-newsb {
    /* margin-bottom: 35px; */
    padding-top: 30px;
    padding-bottom: 30px;
    background: aliceblue;
}

/*  .text-news */
.text-news a {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.text-news a h2 {
    font-size: 17px;
    color: #353941;
    line-height: 140%;
    font-family: var(--bold-font);
    transition: all 0.34s ease;
    -webkit-transition: all 0.34s ease;
    -moz-transition: all 0.34s ease;
    -ms-transition: all 0.34s ease;
    -o-transition: all 0.34s ease;
}

.text-news a h2:hover,
.text-news a h2:focus {
    color: #954764;
}

.text-news a i {
    margin-top: 10px;
    margin-left: 10px;
    color: #954764;
}

/*  .text-news */


/* media-news */
/* .media-news {
    padding-right: 15px;
    position: relative;
    margin-bottom: 15px;
} */
/* 
.media-news::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 3px;
    width: 5px;
    height: 85%;
    background-color: #353941;
}

.media-news::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border: 2px solid #353941;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
} */

/* .media-news:hover::after {
    background-color: #FFCC00;
    border-color: #FFCC00;
} */

.media-news figure {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    margin-left: 15px;
    position: relative;
    margin-bottom: 0;
}

.media-news figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-news figure .link-icon {
    width: 40px;
    height: 40px;
}

.media-news h2 {
    color: #142349;
    font-size: 16px;
    font-family: var(--bold-font);
    line-height: 130%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    /* height: 70px; */
    overflow: hidden;
}

.media-news h2 i {
    font-size: 12px;
    width: 25px;
    height: 25px;
    line-height: 22px;
    color: #c92220;
    border: 1px solid #c92220;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.media-news:hover h2 {
    color: #c75959;
}

.media-news p {
    color: #6b0a0a;
    font-family: var(--regular-font);
    font-size: 14px;
    padding-top: 10px;
}

/* media-news */

/* program */
.program .news-normal {
    margin-bottom: 5px;
    padding: 8px;
    max-height: 380px;
}

/* .program .news-normal h2 {
    text-align: center;
    font-size: 30px;
} */

.strip-text,
.strip-text p,
.strip-text span,
.strip-text a,
.strip-text pre,
.strip-text li {
    font-family: var(--regular-font);
    font-size: medium;
    color: #5e6774;
    margin-top: 5px;
}

/* program */

/* ==== world-news block ==== */
.world-news {
    background: linear-gradient(#f4f4f4, rgb(255 255 255));
    /* background: lavender; */
    padding: 30px 0;
}

.world-news>.container.px-1 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto;
}

.world-news .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px !important;
    margin: 0 !important;
    --bs-gutter-x: 0;
}

.world-news .row>[class*="col-"] {
    padding: 0 !important;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .world-news .col-lg-6 {
        flex: 0 0 calc(50% - 2px);
        max-width: calc(50% - 2px);
    }

    .world-news .col-lg-3 {
        flex: 0 0 calc(25% - 2px);
        max-width: calc(25% - 2px);
    }
}

@media (max-width: 992px) {

    .world-news .col-lg-6,
    .world-news .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==== world-item ==== */
.world-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 0;
}

.world-item figure {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0;
    overflow: hidden;
}

.world-item figure img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.world-item:hover figure img {
    transform: scale(1.05);
}

.world-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.world-item:hover::before {
    opacity: 1;
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: small !important;
    font-family: 'regular';
    background: var(--section-accent);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
}

.world-item:hover .category-badge {
    opacity: 1;
}

.world-item figcaption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
}

.world-item:hover figcaption {
    opacity: 1;
}

.world-item figcaption h2 {
    margin: 0 0 0.35rem 0 !important;
    /* font-size: 1.25rem; */
    font-size: large;
    line-height: 1.2;
}

.world-item figcaption .date {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    color: #ffc107;
    font-family: 'regular';
    font-size: small;
}


/* media-news-normal */
.media-news-normal {
    margin-bottom: 25px;
}

.media-news-normal figure {
    width: 130px;
    height: 90px;
    overflow: hidden;
    position: relative;
    margin-left: 15px;
    margin-bottom: 0;
}

.media-news-normal figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-news-normal h2 {
    color: #142349;
    font-size: 18px;
    line-height: 140%;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
}

.media-news-normal:hover h2 {
    color: #c75959;
}

.news-special .text-hold {
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.news-special:hover .text-hold {
    background-color: #ffffff;
}

.news-special:hover .text-hold p,
.news-special:hover .text-hold * {
    color: #222222;
}

.news-special:hover .text-hold h2 {
    color: #c75959;
}

.sm-news figure {
    height: 150px;
    margin-bottom: 0;
}

.sm-news:hover .text-hold {
    background-color: #ffffff;
}

.sm-news:hover .text-hold * {
    --secondary-color: #c75959;
}

/* media-news-normal */

/* israels */
.israels {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.israil-news figure {
    height: 200px;
}

/* israels */

.weather-hold {
    background: #081215;
    min-height: 572px;
    margin-bottom: 20px;
    color: #d4a42d;
}

.weather-hold {
    padding: 1px 52px 38px 52px;
    /*margin-top: 35px;*/
}

.weather-hold>h3 {
    font-size: 26px;
    margin-bottom: 0;
    text-align: center;
    margin-top: 20px !important;
    font-family: var(--bold-font);
}

/* page-header */

.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--section-accent);
    /* padding-bottom: 10px; */
    margin-bottom: 15px;
}

.sec-header-more h4 {
    font-family: var(--bold-font);
    font-size: 25px;
    color: var(--secondary-color);
}

.page-header {
    position: relative;
    margin-bottom: 25px;
}

.page-header h1 {
    font-size: 30px;
    font-family: var(--extrabold-font) !important;
    margin: 10px 0 !important;
    line-height: 140% !important;
    color: var(--secondary-color)
}

.page-header h2,
.page-header h3,
.page-header h4,
.page-header h5 {
    font-size: 20px;
    font-family: var(--regular-font) !important;
}

.page-header ol {
    background: none;
    border: none;
    padding: 10px 0 10px 0;
    margin: 0
}

.page-header ol li,
.page-header ol a,
.page-header ol span,
.page-header ol li.active {
    color: #b5b5b5;
    font-size: 13px;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 10px;
    padding-left: 10px;
    color: #b5b5b5;
}

.breadcrumb-item+.breadcrumb-item {
    padding: 0;
}

/* ========== Responsive for Mobile ≤ 600px ========== */
@media (max-width: 600px) {

    /* 1. العنوان الثانوي يلتف */
    .sec-header {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 10px;
    }

    /* 2. حجم ونوع الخط للعناوين */
    .sec-header-more h4 {
        font-size: 20px;
    }

    .page-header h1 {
        font-size: 24px !important;
        margin: 8px 0 !important;
    }

    .page-header h2,
    .page-header h3,
    .page-header h4,
    .page-header h5 {
        font-size: 18px;
    }

    /* 3. الـ breadcrumb يصبح عمودياً أو ملفوفاً */
    .page-header ol {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
        padding: 8px 0;
    }

    .page-header ol li,
    .page-header ol a,
    .page-header ol span,
    .page-header ol li.active {
        font-size: 12px;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 5px;
    }

    /* 4. تقليل الهوامش العامّة */
    .page-header {
        margin-bottom: 15px;
    }

    /* 5. إذا أردت جعل العنوان في سطر واحد ويظهر الـ “more” تحته */
    .sec-header-more {
        width: 100%;
        text-align: right;
    }
}


/* page-header */

/* text-stripped */
.stripped-text1 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-size: 20px !important;
    font-family: var(--regular-font) !important;
    text-align: justify !important;
}

.stripped-text1 a,
.stripped-text1 p,
.stripped-text1 pre,
.stripped-text1 div,
.stripped-text1 span,
.stripped-text1 *,
.stripped-text1 {
    line-height: 1.5 !important;
    color: #000;
    font-family: var(--regular-font) !important;
    font-size: 20px !important;
    text-align: justify !important;
}

.stripped-text1 p {
    margin-bottom: 15px;
}

.stripped-text1 img {
    max-width: 100% !important;
    height: auto !important;
}

/* text-stripped */

.form-group-material {
    position: relative;
    margin-top: 16px;
    margin-bottom: 26px;
}

.form-group-material:after {
    height: 1px;
    background: #e6e6e6;
    width: 100%;
}

.form-group-material:before {
    height: 2px;
    background: #E91E63;
    z-index: 1;
    width: 0;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
}

.form-group-material:after,
.form-group-material:before {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
}

.form-group-material.error {
    margin-bottom: 36px;
}

.form-group-material.error:before {
    background-color: #F44336;
}

.form-group-material.focused:before {
    width: 100%;
}

.error small.error {
    position: absolute;
    background: transparent;
    color: #F44336;
    font-style: normal;
    padding-left: 0;
    bottom: -21px;
    width: 100%;
    right: 0;
    display: block;
}

.material-label {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: 1;
    cursor: text;
    color: #b3b3b3;
    -webkit-transition: color ease 0.3s, -webkit-transform ease 0.3s;
    transition: color ease 0.3s, -webkit-transform ease 0.3s;
    transition: transform ease 0.3s, color ease 0.3s;
    transition: transform ease 0.3s, color ease 0.3s, -webkit-transform ease 0.3s;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    right: 0;
}

.error .material-label {
    color: #F44336;
}

.focused .material-label {
    transform: translateY(-190%);
    color: var(--secondary-color);
    -webkit-transform: translateY(-190%);
    -moz-transform: translateY(-190%);
    -ms-transform: translateY(-190%);
    -o-transform: translateY(-190%);
}

.error.focused .material-label {
    color: #F44336;
}

.has-value .material-label {
    transform: translateY(-190%);
}

input.material-field,
textarea.material-field {
    border-width: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    margin: 0;
    background: transparent;
    width: 100%;
}

input.material-field:focus,
textarea.material-field:focus {
    box-shadow: none;
    background: none;
}

.contact-form button[type=submit] {
    border-radius: 3px;
    padding: 8px 18px;
    background: #E91E63;
}

.contact-form button[type=submit]:hover {
    background: #f27ba3;
}

.form-header h2 {
    margin-bottom: 20px;
}

.contact-form {
    padding: 25px 15px;
    background-color: #FFF;
    position: relative;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    margin-bottom: 25px;
}

.main-content .news-special {
    background-color: #FFF;
}

.pagination-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination-container,
ul.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

ul.pagination li+li {
    margin-right: 10px
}

ul.pagination a {
    display: flex;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #2f2f2f;
    border-radius: 4px;
    transition: all .2s linear;
    color: #2f2f2f;
    background: #fff;
    font-family: var(--bold-font);
}

ul.pagination a.active {
    background-color: var(--main-color);
    color: #fff
}

ul.pagination a.disabled {
    color: #959595;
    pointer-events: none
}

ul.pagination a.disabled:hover {
    cursor: auto
}

ul.pagination a:not(.disabled):hover {
    background-color: var(--main-color);
    color: #fff;
    cursor: pointer
}

.prev-next-item-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1
}

.prev-next-item {
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    background-color: #fff;
    width: 49.5%;
    flex: none;
    padding: 15px 10px;
    border-radius: 3px;
    margin-top: 10px;
    border: 1px solid #ddd
}

.prev-next-item-desc {
    color: var(--main-color);
    margin-top: -8px
}

.prev-next-item-next {
    text-align: left
}

.prev-next-item:hover .prev-next-item-title {
    color: #151515
}

/* search-div */
.search-div {
    padding: 25px;
    background: #FFF;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 5px 3px 12px -7px RGBA(3, 3, 3, 0.5)
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container--default .select2-selection--single {
    border-color: #ced4da;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--main-color);
}

/*.datepicker {
    font-family: var(--regular-font);
}*/

.form-control.datepicker {
    padding: 6px 15px !important;
}

.datepicker-dropdown {
    min-width: 30px;
}

.datepicker table {
    width: 300px;
}

.datepicker td,
.datepicker th {
    height: 35px;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active.disabled:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active[disabled],
.datepicker table tr td span.active.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active.disabled:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active[disabled] {
    background: var(--main-color);
}

/* search-div */
.default__item--body-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #f1f1f1
}

.default__item--date {
    font-size: 14px;
    color: #666
}

.share {
    display: flex;
    align-items: center
}

.share__label {
    margin-left: 10px;
    font-size: 14px;
    color: #666
}

.share__items {
    display: flex;
    align-items: center
}

.share__items li:not(:last-child) {
    margin-left: 5px
}

.share__items li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cc181d;
    color: #fff;
    border-radius: 4px;
    transition: all .2s linear;
    height: 32px;
    width: 40px;
    font-size: 18px
}

.share__items li a.facebook {
    background-color: #4468b0
}

.share__items li a.twitter {
    background-color: #2aa3ef
}

.share__items li a.linkedin {
    background-color: #0077b5
}

.share__items li a.whatsapp {
    background-color: #00e676
}

.share__items li a:hover {
    background-color: #cc181d
}

.single-image {
    width: 100%;
    max-height: 460px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: center;
}

.single-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.single-image figcaption {
    position: absolute;
    right: 0;
    width: 100%;
    padding: 6px 15px;
    color: #0a0505;
    bottom: 15px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-family: var(--bold-font);

}

.writer {
    display: flex;
    padding: 5px 0;
    margin-bottom: 10px;
    align-items: center;
    color: #4a69b2;
    font-size: large;
    font-weight: 600;
}

.traingle {
    display: block;
    width: 0;
    height: 0;
    border-bottom: 15px solid #2e53a6;
    border-left: 15px solid transparent;
    position: absolute;
    bottom: 0;
    right: 0;
}

.writer .traingle {
    position: static;
    margin-left: 10px;
}

.dashed-border {
    border-top: 1px dashed #d8dcee;
    flex-grow: 1;
    margin-right: 10px;
    margin-top: 7px;
}

.writer-media {
    margin-bottom: 10px;
}

.writer-media figure {
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0;
    border-radius: 50%;
    margin-left: 10px;
}

.writer-media figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.writer-media span {
    color: #4a69b2;
    font-size: 14px;
}


/* blockquote */

blockquote {
    position: relative;
    margin: 1rem auto;
    padding: 1rem 1rem;
    max-width: 700px;
    font-style: italic;
    font-family: 'bold';
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--dark);
    /* background: transparent; */
    background: #f9f9f9;
    box-shadow: 0 5px 10px rgb(239 239 239);
    text-align: center;
}

blockquote::before {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2.5rem;
    /* color: #bbb; */
    color: var(--warning);
    display: block;
    margin: 0 auto 0.5rem;
    line-height: 1;
}

/* نص الفقرة */
blockquote p {
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInText 0.8s ease-in-out forwards;
}

/* معلومات الكاتب والمصدر */
blockquote footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

blockquote footer cite {
    font-style: normal;
    font-weight: bold;
    color: #555;
    margin-left: 0.25rem;
}

/* استجابة الجوال */
@media (max-width: 600px) {
    blockquote {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    blockquote::before {
        font-size: 2.5rem;
        margin-bottom: 0.4rem;
    }
}

blockquote:hover {
    border-left-color: #e0c080;
    transition: border-left-color 0.4s ease-in-out;
}

blockquote:hover::before {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.4s ease-in-out;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* End blockquote */

.single-list .writer span {
    font-size: 20px;
    font-family: var(--bold-font);
}

.single-list ul {
    list-style: none;
    margin-right: 20px;
}

.single-list ul li a {
    display: block;
    color: #141011;
    font-size: 16px;
    margin: 10px;
    transition: var(--trans);
}

.single-list ul li a i {
    color: var(--main-color);
}

.single-list ul li a:hover,
.single-list ul li a:focus {
    color: var(--secondary-color) !important;
}

.single-list ul li a img {
    height: 25px;
    margin-left: 5px;
}

.share-icons a {
    color: #58595b;
    font-size: 14px;
    margin-right: 5px;
    display: inline-block;
}

.iframe-box {
    position: relative;
    /* height: 0; */
    /* margin-bottom: 30px;
    padding-bottom: 50.25%; */
    /* padding-top: 30px; */
}

.iframe-box iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
}


.fb_iframe_widget_fluid_desktop,
.fb_iframe_widget_fluid_desktop span,
.fb_iframe_widget_fluid_desktop iframe,
#u_0_0 {
    width: 100% !important;
}

/* ============================= */
/*    مشغّل YouTube مستقل        */
/* ============================= */
.youtube-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* أقصى عرض اختياري */
    margin: 2rem auto;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================= */
/*    مشغّل Facebook مستقل       */
/* ============================= */
.fb-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* أقصى عرض للمشغل */
    margin: 2rem auto;
    /* توسيط عمودي وأفقي */
    padding-bottom: 56.25%;
    /* نسبة 16:9 = 9/16 = 56.25% */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f2f5;
    /* خلفية خفيفة لفيسبوك */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fb-video-wrapper .fb-video,
.fb-video-wrapper .fb-video>div,
.fb-video-wrapper iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* تحسين متجاوب للموبايل */
@media (max-width: 600px) {
    .fb-video-wrapper {
        max-width: 100%;
        margin: 1rem auto;
        padding-bottom: 56.25%;
    }
}

.video-responsive {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* أقصى عرض تختاره */
    margin: 2rem auto;
    padding-bottom: 56.25%;
    /* نسبة 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-responsive video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .video-responsive {
        max-width: 100%;
        margin: 1rem auto;
        padding-bottom: 56.25%;
    }
}

/* ============================= */

.type-vid {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #FFF;
    color: #ed1d24;
    font-size: 24px;
    font-family: var(--bold-font);
    z-index: 9;
    text-transform: capitalize;
    padding: 6px 15px;
}

.tags-all {
    justify-content: flex-start;
}

.tags-all h3 {
    font-size: 18px;
    margin-left: 10px;
}

.tags a {
    color: #1c1919;
    display: inline-block;
    padding: 3px 5px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-family: var(--bold-font);
}

.tags a:hover,
.tags a:focus {
    color: var(--main-color);
    text-decoration: underline;
}

.image-item {
    width: 100%;
    height: 198px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    opacity: 0.7;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border: 3px solid #FFF;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
}

.single-wrap {
    margin-bottom: 25px;
}

.white-bg .ads-hold {
    margin: 0 !important;
}

/* white-bg */
.white-bg {
    /* background: #FFF; */
    padding: 0 0 30px 0;
    /* margin-bottom: 30px; */
    position: relative;
}

.tags a {
    display: inline-block;
    padding: 8px 12px;
    /* margin-bottom: 5px; */
    margin: 2px 0 5px 0;
    /* background-color: #4a69b2;
    color: white; */
    background-color: #f5f6f7;
    color: black;
    text-decoration: none !important;
    border-radius: 4px;
    transition: 0.3s;
}

.tags a:hover {
    /* background-color: #2f4d7e;
    color: white; */
    background-color: #facd2b;
    color: black;
}

/* white-bg */

/* main-slider */
.main-slider {
    margin-bottom: 60px;
}

.main-slider,
.carousel-item {
    min-height: calc(100vh - 231px);
    height: calc(100vh - 231px);
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators li {
    box-sizing: border-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
    background-color: #fff;
    background-clip: border-box;
    border: none;
    opacity: 1;
    transition: all .6s ease;
    width: 20px;
    height: 20px;
    text-indent: 0;
    border-radius: 58px;
    display: list-item;
}


.program-slider .owl-dot {
    background-color: #cdcdcd !important;
    padding-bottom: 15px;
}

.owl-carousel.owl-rtl {
    background: #fff;
    border-radius: 6px;
}

.carousel-indicators li.active,
.active .dot-btn,
.active.dot-btn,
#carousel-custom-dots .owl-dot.active,
.program-slider .owl-dot.active {
    background-color: #FFCD28;
    width: 55px;
}

.program-slider .owl-dot.active {
    background-color: #FFCD28 !important;
}

.dot-btn,
#carousel-custom-dots button.owl-dot,
.program-slider .owl-dot {
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
    background-color: #fff;
    transition: all .6s ease;
    width: 20px;
    height: 20px;
    text-indent: 0;
    border-radius: 58px;
    border: none;
}

#carousel-custom-dots,
.program-slider .owl-dots {
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

/* main-slider */

/* team */
.team {
    padding: 40px 0 90px 0;
    border-top: 20px solid #E6E7E8;
    background-color: #F2F2F2;
    transform: skewY(-3deg);
    margin-top: 100px;
    margin-bottom: -55px;
}

.team .container {
    transform: skewY(3deg);
}

.team-item {
    text-align: center;
    padding: 25px 0;
}

.team-item figure {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 15px;
    z-index: 2;
}

.team-item figure::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s ease;
    transform-origin: center;
}

.team-item:hover figure::before {
    transform: translate(-50%, -50%);
    opacity: 1;
    width: 155px;
    height: 155px;
}

.team-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-item:hover figure img {
    transform: scale(1.05, 1.05);
}

.team-item h4 {
    color: #14244A;
    font-size: 20px;
    font-family: var(--bold-font);
    transition: all 0.4s ease;
}

.team-item:hover h4 {
    color: var(--main-color);
}

.team-item p {
    color: #555;
}

/* team */

/* channel-header */
.channel-header {
    background-color: #dedede;
    padding: 50px 0;
}

.channel-header figure {
    width: 100%;
    height: 232px;
    position: relative;
}

.channel-header figure img,
.channel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-header table tr th {
    width: 200px;
    font-size: 17px;
    background-color: var(--danger);
    color: #FFF;
}

.channel-header table tr td {
    color: var(--main-color);
    font-size: 15px;
    font-family: 'regular';
    background-color: #FFF;
}

.channel-header table tr td,
.channel-header table tr th {
    padding-top: 10px;
    padding-bottom: 10px;
}

.channel-item {
    width: 100%;
    height: 200px;
    position: relative;
    border-radius: 10px;
    transition: all 0.4s linear;
    margin-bottom: 55px;
}

.channel-item:hover {
    box-shadow: 5px 5px 7px RGBA(198, 198, 198, 0.5);
    transform: translateY(-10px);
}

.channel-item img {
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
    position: relative;
    z-index: 1;
}

.channel-item .num {
    color: #FFF;
    background-color: var(--main-color);
    position: absolute;
    top: 20px;
    right: 0;
    padding: 5px 15px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.channel-item:hover .num {
    opacity: 1;
}

.channel-name {
    position: absolute;
    bottom: -20px;
    padding: 8px 20px;
    background-color: #FFF;
    left: 50%;
    max-width: 85%;
    color: var(--main-color);
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 7px RGBA(198, 198, 198, 0.5);
    width: 100%;
    transform: translateX(-50%);
    z-index: 4;
}

.channel-name h2 {
    font-size: 20px;
    margin-bottom: 0;
}

.play-ico {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/icons/play-button.svg) no-repeat center;
    background-size: contain;
    width: 35px;
    height: 35px;
    z-index: 3;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.channel-item:hover .play-ico {
    opacity: 1;
    top: 50%;
}

/* channel-header */

.post-share a {
    color: #ccc;
    font-size: 20px
}

.post-share a:hover {
    color: #d81919
}

.post-text-container p,
.post-text-container span,
.post-text-container div,
.post-text-container blockquote {
    color: #000;
    font-size: 18px;
    line-height: 1.8
}

.post-text-container blockquote {
    font-family: 400;
    position: relative
}

.post-text-container blockquote::before {
    width: 2px;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    background-color: #000
}

.post-text-container img {
    width: 100%;
    margin-bottom: 15px
}

.main-content .news-normal h2 {
    /* height: 70px; */
    font-size: large;
    height: auto;
    max-height: 190px;
    padding-bottom: 15px !important;
    overflow: hidden;
}

.text-hold {
    padding-top: 15px !important;
    padding-bottom: 30px !important;
}


.main-content .news-normal .text-hold h2 {
    padding: 0px !important;
    margin: 0px !important;
}

.main-content .news-normal .strip-text {
    /* height: 73px; */
    height: auto;
    max-height: 100px;
    overflow: hidden;
    vertical-align: top;
    margin-top: 0;
}

.list-move figure {
    height: 96px;
    border-radius: 4px;
}

.media-news.list-move h2 {
    height: auto !important;
}


.container {
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* sec-header */
.sec-header.alt-style {
    position: relative;
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sec-header.alt-style::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background-color: var(--section-accent, #f9a13b);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* العنوان */
.sec-header.alt-style h4 {
    font-size: 25px;
    font-family: var(--bold-font);
    margin: 0;
    color: #222;
}

/* زر المزيد */
.sec-header.alt-style .more-btn {
    font-size: 14px;
    padding: 5px 10px;
    color: #444;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sec-header.alt-style .more-btn:hover {
    background-color: #c75959;
    color: #fff;
    border-color: #c75959;
}

.more-btn {
    color: #353941;
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.more-btn .soft-arrow {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 0.9em;
    color: #c75959;
}

.more-btn:hover .soft-arrow {
    transform: translateX(-3px);
    color: #ffffff;
}

/* end sec-header */


/* list-moveing */
.list-moveing {
    height: 410px !important;
    overflow: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.list-moveing ul {
    /* animation-name: scroll-up; */
    /* animation-duration: 25s; */
    /* animation-timing-function: linear; */
    /* animation-iteration-count: infinite; */

    margin: 0;
    padding: 0;
    list-style: none;
}

.list-moveing li {
    padding-bottom: 0;
    padding-top: 6px;
    margin-bottom: 0;
}

.news-manual-nav button {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 5px 5px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
    line-height: 0.5;
}

.news-manual-nav button:hover {
    background-color: #ddd;
}

/* end list-moveing */

/* breaking */
.breaking {
    margin-bottom: 0px !important;
    background-color: #ffcb01;
    color: #721c24;
    padding: 0 15px;
    box-sizing: border-box;
    height: 85px;
    overflow: hidden;
    display: flex;
    z-index: 9999 !important;
}

.breaking .title {
    font-family: var(--bold-font);
    font-size: 35px;
    padding: 0 10px;
    height: 85px;
    line-height: 85px;
    color: #000000;
}

.breaking .breaking-wrapper {
    position: relative;
    height: 85px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.breaking .braking-list {
    background: var(--danger, #dc3545);
    color: white;
    flex-grow: 1;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking .braking-list ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    white-space: normal;
    overflow: hidden;
    line-height: 100%;
}

.breaking .braking-list li {
    display: inline-block;
    margin-right: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.breaking .braking-list li p {
    margin: 0;
    font-size: 25px;
    white-space: normal;
    color: white;
    line-height: 125%;
}

.close-breaking {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    padding: 3px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.close-breaking i {
    margin: 0;
    color: white;
}

.news-time {
    /* صندوق الوقت */
    display: inline-block;
    background: #ffffff;
    color: #dc3545;
    font-size: 16px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 0px;
    white-space: nowrap;
}

.news-ptitle {
    /* عنوان الخبر */
    color: #fff;
    font-size: 22px;
    line-height: 1.6;
    margin-right: 10px;
}

#breakingNewsTicker .news-item {
    margin-right: 0px;
    width: 95%;
}

@media (max-width: 767px) {
    .breaking {
        height: 100%;
        max-height: 80px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .breaking .title {
        font-size: 18px;
        height: 60px;
        line-height: 60px;
        padding: 0 5px;
    }

    .breaking .braking-list {
        padding: 0 5px;
    }

    .breaking .braking-list li {
        margin-right: 15px;
    }

    .breaking .braking-list li p {
        font-size: 16px;
    }

    .close-breaking {
        left: 5px;
        width: 25px;
        height: 25px;
        padding: 2px 5px;
    }

    .news-time {
        /* صندوق الوقت */
        display: inline-block;
        font-size: 10px;
        padding: 1px 6px;
        border-radius: 4px;
        margin-right: 0px;
        white-space: nowrap;
    }

    .news-ptitle {
        font-size: smaller;
        font-family: var(--regular-font);
        line-height: 1.25;
        margin-right: 10px;
    }

    #breakingNewsTicker .news-item {
        margin-right: 0px;
        width: 95%;
    }
}

.ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.ticker ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.news-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 1.5s ease-in-out forwards;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    display: none;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(-1px);
    }
}

/* //////////////////////// */

@media (max-width: 1400px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* @media (min-width: 1366px) {
    .container {
        max-width: 1260px;
        max-width: 1340px;
    }
} 
*/

/* @media(max-width: 1200px) {
    .main-navigation.navbar-dark .navbar-nav .nav-link {
        font-size: 15px;
        padding: 6px 9px;
    }
} */

/* @media(min-width: 991px) {
    .d-md-none {
        display: block !important;
    }
} */

@media(max-width: 991px) {
    .title {
        width: 125px;
    }

    .ord-md-1 {
        order: 1;
    }

    .ord-md-2 {
        order: 2;
    }

    .ord-md-3 {
        order: 3;
    }

    .logo-e3lan .navbar-brand {
        margin-bottom: 10px;
    }

    .main-navigation {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* .main-navigation .navbar-brand img {
        width: 56px !important;
        height: 55px !important;
    } */

    .main-navigation .navbar-brand img {
        height: auto !important;
        width: auto !important;
        max-height: 50px;
    }


    .main-news-item figure {
        height: 450px;
    }

    /* .news-sm figure {
        height: 300px;
    } */

    .type i {
        font-size: 16px;
        width: 37px;
        height: 37px;
        line-height: 30px;
    }

    .news-sm .link-icon,
    .media-news-normal .link-icon,
    .news-normal .link-icon,
    .media-news figure .link-icon {
        width: 30px;
        height: 30px;
    }

    .top-bar {
        height: auto;
    }

    .copyrights figure img {
        height: 100px;
    }

    .d-md-none {
        display: none !important;
    }

    .media-news h2 {
        height: auto;
    }

    .main-content .news-normal h2 {
        height: auto;
    }

    .logo-e3lan .e3lanat,
    .logo-e3lan .e3lanat img {
        height: auto;
        text-align: center;
    }
}

@media(max-width: 768px) {
    .ord-sm-1 {
        order: 1;
    }

    .ord-sm-2 {
        order: 2;
    }

    .ord-sm-3 {
        order: 3;
    }

    .top-date {
        text-align: right;
    }

    .title {
        width: 130px;
    }

    .logo-e3lan .navbar-brand img {
        height: 65px;
    }

    .live-ul li a {
        font-size: 14px;
    }

    .live-ul li a img {
        height: 25px;
    }

    .live-text h4 {
        font-size: 28px;
    }

    .live-text img {
        max-height: 100px;
        height: auto;
    }

    .live-text p {
        font-size: 14px;
    }

    /* .main-news-item figure figcaption h2 {
        font-size: 20px;
    } */

    .main-news-item figure figcaption h3,
    .news-sm figure figcaption h2 {
        font-size: 18px;
    }

    .main-news-item figure {
        height: 385px;
    }

    .news-sm figure {
        height: 200px;
    }

    /* 
    .news-normal figure {
        height: 220px;
    } */

    .news-normal h2,
    .media-news h2 {
        font-size: 18px;
    }

    .text-news a h2 {
        font-size: 17px;
    }

    .news-ticker-top {
        display: none;
    }

    .main-footer .social-top,
    .wsla-brand {
        display: none !important;
    }

    .default__item--body-info {
        flex-wrap: wrap;
    }

    .default__item--date {
        text-align: center;
        width: 100%;
        margin-bottom: 15px;
    }

    .share {
        width: 100%;
        justify-content: center;
    }
}


@media(max-width: 576px) {

    .logo-e3lan .navbar-brand {
        text-align: center;
        display: block;
    }

    .live-ul {
        justify-content: center !important;
        margin-bottom: 10px;
    }

    .logo-e3lan .navbar-brand img {
        /* max-width: auto; */
        max-height: 150px;
    }

    .title {
        width: 150px;
    }

    .top-bar .col-sm-4.ord-sm-2 {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .top-bar .col-sm-8.ord-sm-3 {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .copyrights figure img {
        display: none;
    }

    .main-footer {
        padding: 20px 0;
    }
}

@media(max-width: 420px) {
    .default__item--date span {
        display: block;
    }
}

@media(max-width: 380px) {

    .breaking .breaking-wrapper,
    .breaking .breaking-wrapper .title {
        display: block !important;
    }

    .breaking .breaking-wrapper .title {
        width: 100%;
        padding: 10px 10px;
    }

    .top-date {
        font-size: 13px;
    }

    .social-top li a {
        font-size: 14px;
    }
}

@media(max-width: 320px) {
    .menu-sm.show {
        width: 90%;
    }

    /*.media-news {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.media-news figure {*/
    /*    width: 100%;*/
    /*    height: 130px;*/
    /*    margin-bottom: 15px;*/
    /*    margin-left: 0;*/
    /*}*/

    .share,
    .share__items {
        flex-wrap: wrap;
    }

    .share__label {
        display: none;
    }

    .share__items li {
        flex: 33.33333%;
        padding: 0 5px;
    }

    .share__items li:not(:last-child) {
        margin-left: 0;
    }

    .share__items li a {
        margin-bottom: 10px;
        width: 100%;
    }
}

@media(max-width: 576px) {

    .channel-header table,
    .channel-header table tr td,
    .channel-header table tr th,
    .channel-header table tbody,
    .channel-header table tr {
        display: block;
        width: 100%;
    }

    .channel-header table tr {
        margin-bottom: 10px
    }
}

.stripped-text1 iframe {
    max-width: 100% !important;
}

/* //////////////////////// */

/* /////////////////////////// */

img {
    border-radius: 4px;
    /* box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); */
    display: block;
    width: 75%;
    height: auto;
}

figure {
    border-radius: 4px;
    overflow: hidden;
    /* box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); */
}

.ToCatSwap,
.before-footer,
.PhotoTitleOnly,
.TowCatBigPhoto {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.TowCatBigPhoto1 {
    background: #e2e2e2;
    padding-top: 15px;
    padding-bottom: 15px;
}

.TowCatBigPhoto2 {
    background: #f4f4f4;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* /////////////////////////// */

.pr-1,
.px-1 {
    padding-right: 0.5rem !important;
    /* 8px */
    padding-left: 0.5rem !important;
    /* إذا كنت تستخدم .px-1 */
}

.mx-n1 {
    margin-left: -0.25rem !important;
    /* حوالي 4px- */
    margin-right: -0.25rem !important;
    /* حوالي 4px- */
}

/* .mb-3,
.my-3 {
    margin-bottom: 0rem !important;
} */

.mb-5,
.my-5 {
    margin-bottom: 0rem !important;
}

.footer-base-bg {
    background: var(--footer-bg-gradient);
    color: var(--footer-color);
    /* padding removed as requested */
}

.footer-base-bg .container {
    padding: 0 15px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--footer-gap);
}

.footer-social {
    display: flex;
    gap: var(--social-gap);
}

.footer-social a {
    width: var(--social-size);
    height: var(--social-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--footer-color);
    transition: transform var(--transition), background var(--transition);
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}


/* ================= Footer Menu Complete Styles ================= */

/* 1) Each row of up to 5 items */
.footer-right .footer-menu {
    display: flex;
    justify-content: flex-start;
    direction: rtl;
    gap: var(--footer-gap, 30px);
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.footer-right .footer-menu li {
    margin: 0 0 0 15px;
    padding: 0;
}

.footer-right .footer-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    font-family: var(--regular-font);
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.footer-right .footer-menu li a i {
    font-size: 12px;
    color: inherit;
    transition: color var(--transition), transform var(--transition);
}

.footer-right .footer-menu li a:hover {
    color: #fff;
}

.footer-right .footer-menu li a:hover i {
    color: tomato;
    transform: translateX(2px);
    /* حركة بسيطة لليمين عند المرور */
}

/* 6) Responsive: horizontal scroll on mobile */

/* ========== Footer Menu – Full Styles ========== */

/* 1) Wrapper: stacks each row (UL) vertically, with a small gap */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

/* 2) Each “row” of up to 5 items */
.footer-right .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    direction: rtl;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* 3) Force break after the 5th item */
.footer-right .footer-menu li:nth-child(5):after {
    content: "";
    flex-basis: 100%;
    width: 0;
    height: 0;
}

/* 4) Links with arrow before text */
.footer-right .footer-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    font-family: var(--regular-font);
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

/* 5) Arrow icon */
.footer-right .footer-menu li a i {
    font-size: 12px;
    color: inherit;
    transition: color var(--transition), transform var(--transition);
}

/* 6) Hover effects */
.footer-right .footer-menu li a:hover {
    color: #fff;
}

.footer-right .footer-menu li a:hover i {
    color: tomato;
    transform: translateX(2px);
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {

    /* 1) Ensure wrapper is normal block (not flex‐row) */
    .footer-right {
        display: block;
    }

    /* 2) Each UL full-width, with smaller gaps */
    .footer-right .footer-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100% !important;
        margin: 8px 0;
        gap: 10px;
    }

    /* 3) Two items per row on mobile */
    .footer-right .footer-menu li {
        flex: 1 1 50% !important;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .footer-center {
        display: none !important;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-left,
    .footer-social {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
}

.footer-bottom-inner {
    /* background: rgba(53,57,65,1); */
    background: rgba(255, 255, 255, 65%);
    width: 100%;
    padding: var(--rights-padding);
}

.footer-bottom-inner .container {
    padding: 0 15px;
}

.container-rights {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-rights p {
    margin: 0;
    font-size: 13px;
    color: var(--main-color);
}

/* ========== Footer Bottom – WSLA Logo Smooth Gradient Fade ========== */

.footer-bottom-inner .container-rights .wsla-brand img {
    max-height: 26px;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.5;
    transition:
        filter 1s ease-in-out,
        opacity 1s ease-in-out;
}

.footer-bottom-inner .container-rights .wsla-brand:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container-rights {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 15px;
    }

    .sec-header.alt-style {
        /* flex-direction: column; */
        gap: 10px;
        text-align: center;
    }

    .breaking .breaking-wrapper,
    .breaking .braking-list ul {
        flex-wrap: nowrap;
        overflow-x: auto;
    }


    .news-normal h2 {
        font-size: 16px;
        height: auto;
    }

    .strip-text {
        min-height: 60px;
    }

    .main-slider,
    .carousel-item {
        height: auto !important;
        min-height: auto !important;
    }
}


@media (max-width: 576px) {

    .main-slider,
    .carousel-item {
        height: auto !important;
        min-height: 50vh !important;
    }
}


/* //////// top-bar  //////// */

.top-bar {
    max-height: 30px;
    overflow: hidden;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(92, 13, 13, 1) 35%, rgba(224, 0, 0, 1) 100%);
    /* background: radial-gradient(#ea662b, #CE3F1F); */
}

.top-date {
    font-size: 15px;
    color: #FFF;
    padding: 6px 15px;
    margin-bottom: 0;
}

.title {
    color: #242f39;
    ;
    padding: 9px 10px;
    background: #ffe2e2;
    width: 130px;
    text-align: center;
    font-family: var(--bold-font);
    font-size: 15px;
}

.braking-list {
    padding: 6px 15px;
    color: #FFF;
}

.braking-list p,
.braking-list .news-item-xs a {
    color: #FFF;
    margin-bottom: 0px;
    margin-top: 3px;
    font-size: 13px;
    font-family: var(--tajawalmedium-font);
}

.breaking .news-item-xs a,
.breaking p {
    font-size: 28px;
    /* font-family: var(--bold-font); */
}

.breaking .breaking-wrapper {
    display: table !important;
    width: 100% !important;
}

.breaking .breaking-wrapper .title,
.breaking .breaking-wrapper .braking-list {
    display: table-cell;
    vertical-align: middle;
}

.breaking .breaking-wrapper .title {
    height: auto;
    /* line-height: normal; */
}

.social-top {
    display: flex;
    display: -mz-flexbox;
    align-items: center;
    justify-content: flex-end;
}

.social-top li a {
    display: block;
    color: #FFF;
    padding: 8px 5px;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.social-top li a:hover,
.social-top li a:focus {
    color: var(--main-color);
    background: #FFF;
}

@media (max-width: 575.98px) {

    /* 1. Remove the hard max-height and allow wrapping */
    .top-bar {
        max-height: none !important;
        height: auto !important;
        flex-wrap: wrap !important;
    }

    /* 2. Stack each “col-” into its own row */
    .top-bar .row>[class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* 3. Make the ticker go vertical: title above, list below */
    .top-bar .news-ticker-top .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
    }

    .top-bar .news-ticker-top .title {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    .top-bar .braking-list {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* 4. Center social icons & date */
    .top-bar .social-top {
        justify-content: center !important;
        margin: 8px 0 !important;
    }

    .top-bar .top-date {
        width: 100% !important;
        text-align: center !important;
        margin: 4px 0 !important;
    }

    /* 5. Reduce horizontal padding a bit */
    .top-bar .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* /////// main-news-item ////////// */

@media (max-width: 768px) {
    .main-news-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }

    .main-news-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        display: block;
    }

    .main-news-item:nth-child(2) {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100%;
        display: block;
    }

    .news-sm {
        margin: 5px 0 !important;
    }

    .news-sm img {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }


    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;

        width: 100% !important;
        display: block !important;
        float: none !important;
    }

    .row {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }

    .col-lg-6,
    .col-lg-5,
    .col-lg-7 {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 10px;
    }

    .col-md-6,
    .col-lg-6 {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 10px;
    }

    .container,
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .main-stage {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

}

/* /////// end main-news-item ////////// */

/* ///// live-ul ///// */

.live-ul {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.live-ul li {
    list-style: none;
}

.live-ul a {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    font-family: var(--bold-font);

    color: #333;
    font-size: 12px;
    transition: opacity 0.2s ease-in-out;
    display: inline-flex !important;
    align-items: center !important;
}

.live-ul a:hover {
    opacity: 0.7;
}

.live-ul li a {
    display: block;
    border-radius: 5px;
    margin-right: 5px;

    font-size: 14px;
    font-family: var(--bold-font);
    color: #ffca01;
    padding: 6px 10px;
    background-color: #122130;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;

    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
}

.live-ul li a:hover {
    color: #FFF;
    background-color: #303d5c;
    border: 1px solid #394561;
}


.live-ul img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    height: auto !important;
}

.live-ul li a img {
    width: 30px;
    padding: 6px;
    display: block;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
}

@media (max-width: 768px) {
    .live-ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .live-ul li {
        width: auto !important;
        text-align: center !important;
    }

    .live-ul a {
        font-size: 14px !important;
        padding: 5px 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: auto !important;
    }

    .live-ul img {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ///// end live-ul ///// */

/* ///// logoSite ///// */
@media (max-width: 768px) {
    .logoSite {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .logoSite .navbar-brand img {
        width: 350px !important;
        height: auto !important;
        display: block;
    }
}

/* ///// end logoSite ///// */

@media (max-width: 768px) {

    .col-lg-6,
    .col-lg-5,
    .col-lg-7 {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 10px;
    }
}

/* ///// MenuBar ///// */

.navbar-dark .navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px;
}

.navbar-dark .navbar-toggler i {
    font-size: 30px;
    color: darkslategrey;
}

.navbar-dark .navbar-toggler:hover i {
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .navbar-dark .navbar-toggler {
        padding: 6px;
    }

    .navbar-dark .navbar-toggler i {
        font-size: 24px;
    }
}

/* ///// end MenuBar ///// */
/* ——— Disable animations/transitions on images ——— */
img,
img * {
    animation: none !important;
    transition: none !important;
}


/* ——— Header Rounded Corners ——— */
header {
    border-radius: 4px !important;
}

/* ——— left-side ——— */
.left-side {
    padding-bottom: 30px;
}

/* ——— date ——— */
.date {
    font-family: var(--regular-font);
    font-size: small;
    text-align: left;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
}

article.news-normal {
    display: flex;
    flex-direction: column;
    height: 100%;/
}

article.news-normal .text-hold {
    margin-top: 0;
}


article.news-normal.sm-news {
    display: flex !important;
    align-items: flex-start !important;
    gap: var(--spacing-sm) !important;
}

article.news-normal.sm-news figure {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

article.news-normal.sm-news .text-hold {
    margin: 0 !important;
    padding: 0 !important;
}

.news-grid>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.news-grid>[class*="col-"]>a,
.news-grid>[class*="col-"]>a>article.news-normal {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
}

.news-grid .text-hold {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-grid .text-hold .date {
    margin-top: auto;
}

/* .news-normal figure {
    margin: 0 0 0rem;
}
*/
/* 

/* radio-player*/

/*
#radio-player.radio-sticky {
    position: fixed;
    bottom: 90px;
    right: 15px;
    z-index: 9999;
    background: #fff;
    padding: 10px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    gap: 5px;
    transition: all 0.2s ease;
} */

#radio-player.radio-sticky {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    background: transparent;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#radio-player.radio-sticky li:nth-child(1),
#radio-player.radio-sticky .radio-text {
    display: none !important;
}

#radio-player.radio-sticky img {
    width: 32px;
    height: 32px;
}

/* end radio-player*/


/* New copy link */
.share-wrapper {
    display: inline-block;
    position: relative;
    font-family: sans-serif;
    margin: 0 0 15px;
    width: 100%;
    max-width: 300px;
}

.share-input {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 6px 8px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

.share-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    padding: 4px;
    outline: none;
}

.share-input button {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
}

.share-input button .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    fill: #555;
    transition: fill 0.2s;
}

.share-input button:hover .icon {
    fill: #000;
}

/* الأيقونة الافتراضية (copy) ظاهرة */
.share-input button .icon.check {
    display: none;
}

/* عند النسخ نضيف class copied إلى الزر */
.share-input button.copied .icon.copy {
    display: none;
}

.share-input button.copied .icon.check {
    display: block;
    fill: #4CAF50;
}

/* التلميح (tooltip) */
.tooltip {
    position: absolute;
    top: -32px;
    right: 8px;
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Old copy link */
.succes-copy {
    display: flex;
    flex-wrap: wrap;
    padding: 5px 10px;
    background-color: #F6F6F6;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    color: #2E3B52;
    font-size: 12px;
}

.succes-copy span {
    display: none;
    margin-left: 10px;
}

.succes-copy img {
    margin-left: 5px;
    width: 25px;
}

.succes-copy output {
    color: #919191;
    margin-right: 5px;
}

.copy-link {
    font-size: 20px;
    border: none;
    outline: none;
}

@media (max-width: 600px) {
    .succes-copy {
        padding: 5px;
        font-size: 12px;
    }

    .succes-copy img {
        width: 20px;
        /* تصغير الصورة */
    }

    .copy-link {
        font-size: 16px;
        /* ضبط حجم النص */
    }
}



/* //// news-wrapper //// */
.news-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 20px 0;
    position: relative;
}

/* الشريط الجانبي العادي */
.news-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 4px;
    z-index: 100;
}

.sidebar-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    margin: 4px 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s;
}

.sidebar-btn:hover {
    background: #f0f0f0;
}

.news-sidebar hr {
    width: 60%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 8px 0;
}

/* محتوى المقال */
.news-content {
    direction: rtl;
    unicode-bidi: embed;
    font-family: var(--font-cycle-1);
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    position: relative;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
}

/* إخفاء عنوان وتاريخ القراءة افتراضياً */
.news-title,
.news-date,
.reading-toolbar,
.exit-btn {
    display: none;
}

/* === وضع القراءة كامل الشاشة === */
.news-content.reading-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 2rem;
    /* background: var(--night-bg); */
    background: rgb(255 241 211 / 95%);
    overflow-y: auto;
    font-size: 22px;
    line-height: 1.8;
    text-align: justify;
    z-index: 10000;
}

/* في وضع القراءة: إظهار العنوان والتاريخ */
.news-content.reading-mode .news-title,
.news-content.reading-mode .news-date,
.news-content.reading-mode .reading-toolbar,
.news-content.reading-mode .exit-btn {
    display: block;
}

/* تنسيقات إضافية في القراءة */
.news-content.reading-mode .news-title {
    font-family: 'extrabold';
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.news-content.reading-mode .news-date {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #555;
}

/* شريط التكبير داخل القراءة */
.news-content.reading-mode .reading-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

/* زر الإغلاق في أعلى اليسار */
.news-content.reading-mode .exit-btn {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* 1) إخفاء العنصر في العرض العادي */
.show-on-read {
    display: none;
}

/* 2) إظهار العنصر فقط في وضع القراءة */
.news-content.reading-mode .show-on-read {
    display: block;
    /* يمكنك هنا ضبط المارجن أو الخط لو أحببت */
}


/* === تضييق الحاوية الداخلية في وضع القراءة === */
.news-content.reading-mode .reading-container {
    width: 90% !important;
    /* يشغل 80% من عرض النافذة */
    max-width: 900px !important;
    /* أقصى عرض ثابت */
    margin: 0 auto !important;
    /* يوسّطه أفقيًا */
    padding: 1rem !important;
    /* حشوة داخلية مريحة */
    box-sizing: border-box;
    /* تأكد أن الحشوة داخل الحساب */
}


/* ===== استجابة الجوال ===== */
@media (max-width: 768px) {

    /* اجعل المحتوى عموديّاً */
    .news-wrapper {
        flex-direction: column;
        gap: 8px;
        margin: 10px 0;
    }

    /* الشريط الجانبي يصبح صفّاً أفقيّاً أعلى المحتوى */
    .news-sidebar {
        position: relative;
        /* نلغي الـ sticky */
        top: auto;
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        padding: 4px 0;
        margin-bottom: 8px;
        border-radius: 0;
        box-shadow: none;
    }

    /* تكبير الأزرار قليلاً لتكون أسهل باللمس */
    .sidebar-btn {
        width: auto;
        height: 40px;
        font-size: 20px;
        margin: 0 4px;
        padding: 0 6px;
    }

    /* محتوى المقال بعرض كامل مع حشوة جانبية أقل */
    .news-content {
        padding: 1rem 0.5rem;
        border-radius: 0;
    }

    /* عند القراءة، نضمن أنها أيضًا تغطي كامل الشاشة */
    .news-content.reading-mode {
        padding: 1.5rem;
    }

    /* زر الإغلاق في أعلى اليسار يتحرك مع الحشوة الجديدة */
    .news-content.reading-mode .exit-btn {
        top: 0.75rem;
        left: 0.75rem;
    }

    /* ضبط حجم العنوان والنص داخل القراءة */
    .news-content.reading-mode .news-title {
        font-size: 1.75rem;
    }

    .news-content.reading-mode .news-date {
        font-size: 0.9rem;
    }
}

/* ============================= */
/*          audio-player         */
/* ============================= */
.audio-player-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-family: sans-serif;
}

.album-audio .player-title {
    font-size: larger;
    font-weight: 700;
    color: #333;
    text-align: right;
    margin: 0;
}

.player-divider {
    border: none;
    height: 1px;
    background: #eee;
    margin: 0.5rem 0 1rem;
}

/* ============================= */
/*            End                */
/* ============================= */

/* ============================= */
/*        Playlist list          */
/* ============================= */
.playlist-list {
    list-style: none;
    margin: 0;
    padding: 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 180px;
    overflow-y: auto;
    font-family: 'regular';
    font-size: medium;
}

.single-audio .playlist-list {
    visibility: hidden;
    height: 0;
}

.album-audio .playlist-list {
    counter-reset: track 0;
}

.playlist-list li {
    padding: 0.2rem;
    border-radius: 4px;
    transition: background .2s, color .2s;
    cursor: pointer;
}

.album-audio .playlist-list li {
    counter-increment: track;
    position: relative;
    text-align: right;
    padding-right: 1.5rem;
}

.album-audio .playlist-list li::after {
    content: counter(track) ".";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #ff6600;
}

.playlist-list li::before {
    content: none;
}

.playlist-list li:hover {
    background: rgba(255, 102, 0, 0.1);
    color: #ff6600;
}

.playlist-list li.active {
    font-weight: 600;
    /* color: #ff6600;
    background: rgba(255,102,0,0.13); */
    color: var(--dark);
    background: rgb(220 53 69 / 8%);
}

/* ============================= */
/*         المشغّل Audio         */
/* ============================= */
.audio-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f9f9f9;
    padding: 12px 16px;
    border-radius: 8px;
}

.audio-player button {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color .2s;
}

.audio-player button:hover {
    color: #ff6600;
}

.audio-player .btn-play {
    font-size: 1.5rem;
}

.audio-player .time {
    font-size: .9rem;
    color: #555;
    white-space: nowrap;
}

.audio-player input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    cursor: pointer;
}

.audio-player .progress {
    flex: 1;
}

.audio-player .volume {
    width: 80px;
}

.audio-player .progress::-webkit-slider-thumb,
.audio-player .volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6600;
}

.audio-player .progress::-moz-range-thumb,
.audio-player .volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6600;
}

@media (max-width: 600px) {
    .audio-player {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 8px 12px;
    }

    .audio-player button {
        flex: 0 0 40px;
        font-size: 1.2rem;
    }

    .audio-player .btn-play {
        flex: 0 0 48px;
        font-size: 1.4rem;
    }

    .audio-player .time {
        order: 4;
        flex: 1 1 100%;
        text-align: center;
        margin-top: 4px;
    }

    .audio-player .progress {
        order: 3;
        flex: 1 1 100%;
        margin-top: 4px;
    }

    .audio-player .volume {
        order: 5;
        width: 60px;
    }

    .audio-player .btn-mute {
        flex: 0 0 40px;
    }

    .playlist-list {
        max-height: 140px;
        gap: 0.3rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .playlist-list li {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* ============================= */
/*      End Playlist list        */
/* ============================= */

/* ============================= */
/*         Single File           */
/* ============================= */
.file-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-family: 'regular';
}

/* ---- الملف المنفرد ---- */
.single-file .file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.single-file .file-item:hover {
    background: #f9f9f9;
}

.single-file .file-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.single-file .download-icon {
    transition: transform .2s;
}

.single-file .file-item:hover .download-icon {
    transform: translateX(4px);
}

/* ============================= */
/*        End Single File        */
/* ============================= */

/* ============================= */
/*          File List            */
/* ============================= */
.album-files .file-album-title {
    font-size: larger;
    font-weight: 700;
    color: #333;
    text-align: right;
    margin: 0;
}

.file-divider {
    border: none;
    height: 1px;
    background: #eee;
    margin: 0.5rem 0 1rem;
}

.file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: file;
}

.file-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    position: relative;
    transition: background .2s;
    counter-increment: file;
}

.file-list li::before {
    content: counter(file) ".";
    margin-right: 0.5rem;
    font-weight: 600;
    color: #ff6600;
}

.file-list li:hover {
    background: #ff660011;
}

.file-name {
    flex: 1;
    color: #333;
    font-size: large;
}

.btn-download {
    font-size: 1rem;
    color: #555;
    transition: color .2s, transform .2s;
}

.btn-download:hover {
    color: #ff6600;
    transform: translateX(2px);
}

@media (max-width: 600px) {

    .single-file .file-item,
    .file-list li {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .single-file .file-title {
        flex: 1 1 100%;
    }

    .file-name {
        flex: 1 1 100%;
    }
}

/* ============================= */
/*         End File List         */
/* ============================= */

/* ============================= */
/*         Gallery Album         */
/* ============================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item::before {
    content: "\f030";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity .4s ease;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover .caption {
    opacity: 1;
}

.gallery-album-title {
    font-family: var(--bold-font);
    font-size: x-large;
    padding-bottom: 15px !important;
    color: crimson;
}

/* ============================= */
/*      End Gallery Album        */
/* ============================= */

/* ============================= */
/*         Share ICON            */
/* ============================= */

/* 1. الحاوية الرئيسة: flex مع overflow مرئي */
.share--mono2 {
    display: flex;
    align-items: center;
    direction: rtl;
    font-family: "Tajawal", sans-serif;
    overflow: visible !important;
}

/* 2. نص "شارك" */
.share--mono2 .share__label {
    flex: 0 0 auto;
    margin-left: 1rem;
    /* فراغ أمام الكلمة */
    font-weight: bold;
    color: #444;
    font-size: 0.9rem;
}

/* 3. قائمة الأيقونات: Grid بستة أعمدة */
.share--mono2 .share__items {
    display: grid;
    grid-template-columns: repeat(6, 1.8rem);
    grid-auto-rows: 1.8rem;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: visible !important;
}

/* 4. الشكل الافتراضي للأيقونة */
.share--mono2 .share__link {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 10%;
    background: #e0e0e0 !important;
    color: #666 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

/* 5. تأثير Hover عام */
.share--mono2 .share__link:hover {
    transform: scale(1.1);
}

/* 6. ألوان Hover حسب المنصة */
.share--mono2 .share__link.facebook:hover {
    background: #3b5998 !important;
    color: #fff !important;
}

.share--mono2 .share__link.x:hover {
    background: #000000 !important;
    color: #fff !important;
}

.share--mono2 .share__link.youtube:hover {
    background: #ff0000 !important;
    color: #fff !important;
}

.share--mono2 .share__link.telegram:hover {
    background: #0088cc !important;
    color: #fff !important;
}

.share--mono2 .share__link.whatsapp:hover {
    background: #25d366 !important;
    color: #fff !important;
}

.share--mono2 .share__link.print:hover {
    background: #6c757d !important;
    color: #fff !important;
}

/* 7. Tooltip يظهر فوق الأيقونة */
.share--mono2 .share__link[title]::after {
    content: attr(title);
    position: absolute;
    top: -2.3rem;
    /* تأكد من الظهور أعلى الأيقونة */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.2s;
}

.share--mono2 .share__link:hover[title]::after {
    opacity: 1;
}

/* ====================== */
/*  استجماع للهواتف ≤400px  */
/* ====================== */
@media (max-width: 400px) {
    .share--mono2 .share__items {
        grid-template-columns: repeat(3, 1.8rem);
    }
}

/* ============================= */
/*        End Share ICON         */
/* ============================= */

/* ============================= */
/*   Viewing Live Page PopUp     */
/* ============================= */
.premium-live-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/* منطقة الفيديو */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* نسبة 16:9 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* شعار القناة */
.channel-logo-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.channel-logo-overlay img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* شريط البث المباشر */
.live-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(227, 6, 19, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.live-indicator i {
    margin-left: 8px;
    font-size: 12px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* منطقة المعلومات */
.info-section {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), var(--primary-bg));
}

.channel-info {
    margin-bottom: 20px;
}

.channel-title {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    color: var(--warning);
    font-weight: 800;
}

.channel-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.channel-description p {
    font-family: 'regular';
}

/* الأيقونات الاجتماعية ومعلومات البث */
.social-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.social-stats-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* مؤشرات البث */
.stream-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--stat-bg);
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.viewer-count {
    min-width: 80px;
    text-align: center;
}

.quality-indicator {
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 4px;
}

.quality-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transition: all 0.3s;
}

.quality-dot:nth-child(1) {
    background: #4CAF50;
}

.quality-dot:nth-child(2) {
    background: #8BC34A;
}

.quality-dot:nth-child(3) {
    background: #FFC107;
}

.quality-dot:nth-child(4) {
    background: #FF9800;
}

.quality-dot:nth-child(5) {
    background: #F44336;
}

/* زر نسخ الرابط */
.copy-link-btn {
    background: var(--stat-bg);
    border: none;
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.copy-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
}

.copy-link-btn.copied {
    background: rgba(227, 6, 19, 0.2);
    color: var(--accent-color);
}

/* حالة عدم البث */
.offline-state {
    text-align: center;
    padding: 100px 20px;
    background: var(--primary-bg);
}

.offline-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.offline-message {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .channel-logo-overlay {
        top: 10px;
        right: 10px;
    }

    .channel-logo-overlay img {
        width: 40px;
        height: 40px;
    }

    .live-indicator {
        top: 10px;
        left: 10px;
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .social-actions {
        flex-direction: column;
        gap: 15px;
    }

    .social-stats-container {
        width: 100%;
        justify-content: space-between;
    }

    .stream-stats {
        gap: 5px;
    }

    .stat-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .viewer-count {
        min-width: 70px;
    }
}

/* ============================= */
/*  End Viewing Live Page PopUp  */
/* ============================= */


/* ============================= */
/*          TTS Audio            */
/* ============================= */
.tts-icon {
    display: inline-block;
    transform: scaleX(-1);
    font-size: 1rem;
    line-height: 1;
}

/* نهيّئ الزر ليحوي الـ tooltip */
#tts-btn {
    position: relative;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* tooltip يظهر عند hover ويقرأ صفة data-counter */
#tts-btn[data-counter]::after {
    content: attr(data-counter);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-0.3rem);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 10;
}

#tts-btn[data-counter]:hover::after {
    opacity: 1;
}

/* نلغي position:fixed ونستخدم absolute بالنسبة .tts-wrapper */
.tts-notification {
    position: absolute;
    top: 50%;
    /* وسط ارتفاع الزر */
    left: -0.5rem;
    /* تبدأ قريبًا جدًا من حافة الزر */
    transform: translate(-100%, -50%);
    /* تحوّل لتكون على اليسار ومتمركزة عموديًا */
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

/* عندما يُضاف الصنف show نرفع شفافية الصندوق */
.tts-notification.show {
    opacity: 1;
    transform: translate(-100%, -50%) translateX(-0.25rem);
}

/* ============================= */
/*        End TTS Audio          */
/* ============================= */

/* ================================= */
/*  Episode Detail & Program Page    */
/* ================================= */

/* ———————————————————————————————————————————— */
/* 1. Hero Section                                */
/* ———————————————————————————————————————————— */
.page__hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page__hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page__hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 2rem 0 0.5rem;
    color: #ffc107;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    text-align: center;
    font-family: var(--bold-font);
    z-index: 2;
}

/* 4. Breadcrumb Navigation */
.page__hero-title+nav[aria-label="labelhero-title-all"] {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 0 1rem;
    text-align: center;
}

ol.labelhero-title {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    /* font-weight: 400; */
    color: #fff;
}

ol.labelhero-title li+li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.7);
    margin-left: 10px;
}

ol.labelhero-title a {
    color: #fff;
    text-decoration: none;
    font-family: var(--regular-font);
    /* font-weight: 400; */
}

ol.labelhero-title a:hover {
    text-decoration: underline;
}

/* ———————————————————————————————————————————— */
/* 2. Program Info Table                          */
/* ———————————————————————————————————————————— */
.page__info .container {
    width: 100%;
    padding: 2rem 0;
}

.program-info__table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.program-info__table th,
.program-info__table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dddddd;
    font-family: 'regular';
    font-size: 1rem;
}

.program-info__table th {
    width: 25%;
    background: #f9f9f9;
    font-weight: bold;
}

/* ———————————————————————————————————————————— */
/* 3. Episodes Grid                               */
/* ———————————————————————————————————————————— */
.episodes__title {
    font-weight: 800 !important;
    font-size: 25px !important;
    color: indianred !important;
    margin-bottom: 1rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.episode-card {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.episode-thumb {
    position: relative;
    width: 100%;
    padding-top: calc(160 / 260 * 100%);
    background: #000;
}

.episode-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5rem;
    transition: opacity 0.3s;
}

.episode-card:hover .episode-thumb-overlay {
    opacity: 1;
}

.episode-thumb-title {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

/* ———————————————————————————————————————————— */
/* 4. Video Player Grid                          */
/* ———————————————————————————————————————————— */
.player-card:not(.audio-player-wrapper) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem auto;
    width: 100%;
}

/* Single video: shrink & center on desktop */
@media (min-width: 769px) {
    .player-card:not(.audio-player-wrapper)>.media-item:only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 70vw;
        /* adjusted per request */
        max-width: 800px;
    }
}

/* ———————————————————————————————————————————— */
/* 5. Audio Card                                  */
/* ———————————————————————————————————————————— */
.audio-card {
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1rem 0;
}

.audio-card i {
    margin-left: 0.5rem;
    color: #5a6fff;
}

.audio-card audio {
    width: 100%;
    margin-top: 0.75rem;
    display: block;
}

/* ———————————————————————————————————————————— */
/* 6. Responsive Breakpoints                      */
/* ———————————————————————————————————————————— */

/* Tablets and small desktops */
@media (max-width: 768px) {

    /* Hero */
    .page__hero-bg {
        height: 200px;
    }

    .page__hero-title {
        font-size: 1.75rem;
    }

    /* Info table padding */
    .program-info__table th,
    .program-info__table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }

    /* Episodes: 2 columns */
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Video: single column */
    .player-card:not(.audio-player-wrapper) {
        grid-template-columns: 1fr !important;
    }

    .player-card:not(.audio-player-wrapper)>.media-item:only-child {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .page__hero-bg {
        height: 150px;
    }

    .page__hero-title {
        font-size: 1.5rem;
    }

    /* Info table becomes blocks */
    .program-info__table,
    .program-info__table tbody,
    .program-info__table tr {
        display: block;
        width: 100%;
    }

    .program-info__table th,
    .program-info__table td {
        display: block;
        width: 100%;
        padding: 0.6rem 0.75rem;
        text-align: right;
        border: none;
    }

    .program-info__table th {
        background: transparent;
        font-weight: 600;
    }

    .program-info__table tr+tr th {
        margin-top: 1rem;
    }

    /* Episodes: single column */
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ================================= */
/*  Hero Section with Breadcrumbs    */
/* ================================= */

/* ================================= */
/*  Position breadcrumbs under title */
/* ================================= */
.page__hero-bg {
    position: relative;
}

.page__hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.page__hero-bg nav[aria-label="labelhero-title-all"] {
    position: absolute;
    top: calc(50% + 2rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    display: inline-block;
    margin: 0;
    width: 100%;
    max-width: 700px;
}

ol.labelhero-title {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #fff;
}

ol.labelhero-title li+li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.7);
}

ol.labelhero-title a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

ol.labelhero-title a:hover {
    text-decoration: underline;
}

/* ================================= */
/*  Episode Detail — Clean Layout    */
/* ================================= */

/* 1. Detail Header */
.detail-header {
    padding: 2rem 0;
    background: linear-gradient(180deg, #F0F8FF 0%, #F0F8FF 40%, #FFF 100%);
}

.detail-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
}

.detail-header__image img {
    width: 100%;
    height: 300px !important;
    max-width: 400px !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.detail-header__info {
    flex: 1;
    padding: 0rem 0.5rem;
}

.detail-header__subtitle {
    font-size: 2.25rem;
    margin: 0.5rem 0;
    color: var(--dark);
    font-family: var(--bold-font);
}

.detail-header__title {
    font-size: 1.75rem;
    margin: 0.5rem 0;
    color: brown;
    font-family: var(--bold-font);
}

.detail-header1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.detail-header1__presenter {
    font-size: 1rem;
    font-family: var(--bold-font);
}

.detail-header1__presenter_title {
    font-size: 1rem;
    font-family: var(--regular-font);
}

.detail-header__dates {
    font-size: 0.8rem;
    color: #666;
    font-family: var(--regular-font);
}

.detail-header__dates span {
    display: inline-block;
    margin-right: 0rem;
}

/* 2. Media Section */
.detail-media {
    padding: 0 0 2rem;
    text-align: center;
}

.media-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.media-item {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.iframe-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.iframe-box iframe,
.iframe-box video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.audio-card {
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.audio-card i {
    margin-left: 0.5rem;
    color: #5a6fff;
}

.audio-card audio {
    width: 100%;
    margin-top: 0.75rem;
    display: block;
}

/* 3. Player Card Grid */
.player-card:not(.audio-player-wrapper) {
    display: grid;
    gap: 1rem;
    margin: 2rem auto;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
}

/* Single video shrink & center on desktop */
@media (min-width: 769px) {
    .player-card:not(.audio-player-wrapper)>.media-item:only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 60vw;
        max-width: 700px;
    }
}

/* 4. Mobile & Tablet (≤768px) */
@media (max-width: 768px) {

    /* Full-width containers */
    .detail-header>.container,
    .detail-media>.container {
        width: 100vw;
        max-width: 100vw;
        padding: 0 1rem;
        margin: 0;
    }

    body {
        overflow-x: hidden;
    }

    /* Header layout */
    .detail-header__inner {
        flex-direction: column-reverse;
        align-items: center;
    }

    .detail-header__info {
        text-align: center;
    }

    .detail-header__subtitle {
        font-size: 1.1rem;
    }

    .detail-header__title {
        font-size: 1.4rem;
    }

    /* Single-column media */
    .media-grid {
        grid-template-columns: 1fr;
    }

    .player-card:not(.audio-player-wrapper) {
        grid-template-columns: 1fr !important;
    }

    .player-card:not(.audio-player-wrapper)>.media-item:only-child {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        width: 100% !important;
        max-width: none !important;
    }
}

.breadcrumbCard {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.5rem;
    margin: 0.2rem 0 0.2rem 0;
    list-style: none;
    background-color: #e9f4ff;
    border-radius: .25rem;
    font-size: 15px;
    font-family: var(--regular-font) !important;
}

.breadcrumb-itemCard+.breadcrumb-itemCard {
    padding: 0px 15px 0px 0px;
}

.breadcrumb-itemCard+.breadcrumb-itemCard::before {
    color: #b5b5b5;
}

.article-content p {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.article-content p+p {
    margin-top: 0.75rem;
}

/* ================================= */
/* End Episode Detail — Clean Layout */
/* ================================= */

/* ================================= */
/* Add CSS New Program Hard Blok     */
/* ================================= */
.program-item-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-program-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-program-article {
    display: flex;
    flex-direction: column;
}

.program-main-image {
    /* Styles for the main program image if any specific are needed */
}

.program-info-below-image {
    padding-top: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-info-below-image h2 {
    font-size: 1.3em;
    margin-bottom: 8px;
    /* Optional: Limit title lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
}

.strip-text {
    height: 70px;
    overflow: hidden;
    margin-bottom: 0px;
    flex-grow: 1;
}

.strip-text p {
    margin-bottom: 0;
    font-size: 0.85em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-item-display a {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.sub-item-display a:hover .episode-small-title {
    color: #007bff;
}

.first-episode-item {
    /* border-top: 1px solid #f0f0f0; */
    /* padding-top: 10px; */
    padding: 5px 0;
}

.sub-item-figure {
    margin-right: 12px;
    flex-shrink: 0;
}

.episode-small-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.sub-item-display a.d-flex {
    align-items: flex-start !important;
}

.sub-item-text {
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* margin-left: 12px; */
}

.episode-small-title {
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0.50rem !important;
}

/* ================================= */
/* End Add CSS New Program Hard Blok */
/* ================================= */

/* ================================= */
/*       Add CSS New Video Hard      */
/* ================================= */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    /* border-radius: inherit; /* ليرث الـ border-radius من .image-container إذا تم تطبيقه */
}

.video-link-wrapper:hover .image-overlay {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.4);
}

.image-overlay .play-icon {
    font-size: 68px;
    color: #ffffff;
    z-index: 999;
    transition: transform 0.3s ease;
}

.video-link-wrapper:hover .image-container .main-image {
    transform: scale(1.05);
}

/* .video-link-wrapper:hover .image-overlay .play-icon {
    transform: scale(1.1);
} */

@keyframes glowingPulseIcon {
    0% {
        /* text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.5); */
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
    }

    50% {
        /* text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.8); */
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));

    }

    100% {
        /* text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.5); */
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
    }
}

.video-link-wrapper:hover .image-container .main-image {
    transform: scale(1.05);
}

.video-link-wrapper:hover .image-overlay .play-icon {
    transform: scale(1.1);
    animation: glowingPulseIcon 1.5s infinite ease-in-out;
}

/* ================================= */
/*   End Add CSS New Video Hard      */
/* ================================= */

/* ================================= */
/*     Add CSS New Weather Hard      */
/* ================================= */
.weather-widget {
    font-family: 'El Messiri', sans-serif;
    width: 100%;
    background: #f7f9fc;
    overflow: hidden;
}

/* الحالة الحالية */
.weather-widget .current {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: #fff;
}

.weather-widget .current .infos {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.weather-widget .current .infos .city {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.weather-widget .current .infos .temp {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1;
    margin: 4px 0;
}

.weather-widget .current .infos .desc {
    font-size: 1rem;
    opacity: .9;
}

.weather-widget .current .icon {
    flex-shrink: 0;
    margin-left: 32px;
    animation: float 3s ease-in-out infinite;
}

.weather-widget .current .icon i {
    font-size: 64px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* توقع الأيام: Grid من 3 أعمدة */
.weather-widget .forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    background: #f9f9f9;
}

/* البطاقة الأولى (السبت) تمتدّ على 3 أعمدة */
.weather-widget .forecast .day:first-child {
    grid-column: span 3;
}

.weather-widget .forecast .day {
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    transition: transform .3s, box-shadow .3s;
}

.weather-widget .forecast .day:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* تمييز اليوم الحالي */
.weather-widget .forecast .day.today {
    background: #e0f7fa;
    border: 2px solid #00acc1;
}

.weather-widget .forecast .day.today .date,
.weather-widget .forecast .day.today .tmax {
    font-weight: 700;
}

.weather-widget .forecast .day .date {
    font-size: .85rem;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
}

.weather-widget .forecast .day .icon i {
    font-size: 32px;
    margin-bottom: 8px;
    animation: floatSmall 3s ease-in-out infinite;
}

.weather-widget .forecast .day .temps {
    margin-top: auto;
    display: flex;
    gap: 6px;
}

.weather-widget .forecast .day .tmax {
    font-size: .95rem;
    font-weight: 700;
}

.weather-widget .forecast .day .tmin {
    font-size: .85rem;
    color: #555;
}

/* تحريك الأيقونات */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatSmall {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* استجابة للشاشات الصغرى */
@media (max-width: 576px) {
    .weather-widget .forecast {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .weather-widget .forecast {
        grid-template-columns: 1fr;
    }
}

/* تكييف الهيدر عمودياً على الأجهزة المتوسطة */
@media (max-width: 768px) {
    .weather-widget .current {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .weather-widget .current .icon {
        margin: 16px 0 0;
    }
}

/* ================================= */
/*   End Add CSS New Weather Hard    */
/* ================================= */

td {
    white-space: nowrap;
}

[role=button] {
    cursor: pointer;
}


/* ========================================== */

/*
 * Duplicated and altered styles from .main-stage and its children
 * Parent Prefix: e3lan_stage
 * Child Prefix: e3lan_item (replaces .main-news-item)
 * Alteration: Removed the dark gradient overlay on news item figures.
 */

/* Main E3lan Stage Container */
.e3lan_stage,
.e3lan_stage .container,
.e3lan_stage .row,
.e3lan_stage .row>[class*="col-"],
.e3lan_stage .e3lan_item,
.e3lan_stage .e3lan_item figure,
.e3lan_stage .e3lan_item figure img,
.e3lan_stage .e3lan_item figcaption {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.e3lan_stage .row>[class*="col-"] {
    margin-bottom: 10px !important;
}

/* Ensure image fills without gaps */
.e3lan_stage .e3lan_item figure img {
    display: block;
    width: 100%;
    height: auto;
}

.e3lan_stage {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* Base Styles for E3lan Item */
.e3lan_item {
    position: relative;
    margin-bottom: 25px;
}

.e3lan_item figure {
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.e3lan_item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.e3lan_item figure figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.e3lan_item figure figcaption h3 {
    color: #ffcb00;
    font-size: 17px;
    font-family: var(--regular-font);
    margin-bottom: 10px;
}

.e3lan_item figure figcaption h2 {
    color: #FFF;
    font-size: 29px;
    font-family: var(--extrabold-font);
    line-height: 140%;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.e3lan_item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 1;
    pointer-events: none;

    background-color: rgba(0, 0, 0, 0.1);
}

.e3lan_item figcaption h2 {
    margin: 0;
    padding-bottom: 10px;
    font-size: 26px;
    font-family: 600;
    line-height: 1.4;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.e3lan_item figcaption h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 5px;
}

.e3lan_item figcaption h3 {
    margin: 0;
    padding-bottom: 5px;
    font-size: 17px;
    font-family: var(--bold-font);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    text-shadow: none;
}

/* Hover/Responsiveness */
@media (max-width: 768px) {
    .e3lan_item figcaption {
        padding: 20px;
    }

    .e3lan_item figcaption h2 {
        font-size: 22px;
        padding-bottom: 8px;
    }

    .e3lan_item figcaption h2::before {
        width: 30px;
        height: 2px;
        margin-bottom: 10px;
    }

    .e3lan_item figcaption h3 {
        font-size: 14px;
        padding-bottom: 3px;
    }
}

.e3lan_item:hover figure figcaption h2 {
    color: #ffd721;
}

/* *** NOTE: The original .main-news-item figure::before gradient rule is EXCLUDED here *** */

/* These selectors target .e3lan_item for features like category, type icon, and hover effect */
.e3lan_item .category {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 6px 15px;
    background: var(--secondary-color);
    color: #FFF;
    z-index: 3;
}

.e3lan_item .type {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    color: #FFF;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.e3lan_item .type i {
    font-size: 10px;
    width: 25px;
    height: 25px;
    border: 3px solid #FFF;
    vertical-align: middle;
    line-height: 20px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.e3lan_item:hover .type,
.e3lan_item:focus .type,
.e3lan_item:hover .link-icon,
.e3lan_item:focus .link-icon,
.media-news-normal:hover .link-icon {
    opacity: 1 !important;
}

.e3lan_item .link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: url(../images/icons/loader9.svg) no-repeat center;
    background-size: contain;
    filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(180deg);
    z-index: 4;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}