
  @font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Regular-1.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Medium-1.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Semi-Bold-1.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Bold-2.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Extra-Bold-1.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Madani Arabic';
    src: url('Madani-Arabic-Black-1.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('NotoSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('IBMPlexSansArabic-SemiBold.ttf') format('truetype');
}


@font-face {
    font-family: 'Rabar';
    src: url('Rabar_038.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Rabar';
    src: url('Rabar_039.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Rabar';
    src: url('Rabar_044.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Rabar';
    src: url('Rabar_040.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'FFMeta Pro';
    src: url('FFMetaProRegular.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'FFMeta Pro';
    src: url('FFMetaProLight.TTF') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'FFMeta Pro';
    src: url('FFMetaProMedium.TTF') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'FFMeta Pro';
    src: url('FFMetaProBold.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.ar {
    font-family: 'Madani Arabic', Arial, sans-serif;
}
.en {
    font-family: 'FFMeta Pro', Arial, sans-serif;
}
.ku {
    font-family: 'Rabar', Arial, sans-serif;
}
.tk {
    font-family: 'Noto Sans', Arial, sans-serif;
}

.font_ibm {
    font-family: "IBM Plex Sans Arabic", serif;
}

.ku .font_ibm {
    font-family: 'Rabar', sans-serif;
}
.ar .font_ibm {
    font-family: "IBM Plex Sans Arabic", serif;
}
.en .font_ibm {
    font-family: "FFMeta Pro", sans-serif;
}
.tk .font_ibm {
    font-family: 'Noto Sans', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background-color: #fff;
    color: #333;
}


body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

button, ul, li, input {
    margin: 0;
    padding: 0;
    background: none;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.converted {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

input {
    outline: none;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
    background-color: none;
}

iframe {
    width: 100% !important;
    height: 300px;
    max-height: 300px !important;
}

@media (min-width: 576px) {
    iframe {
        height: 400px;
        max-height: 400px !important;
    }
}

@media (min-width: 768px) {
    iframe {
        height: 500px;
        max-height: 500px !important;
    }
}

@media (min-width: 992px) {
    iframe {
        height: 700px;
        max-height: 700px !important;
    }
}

.head {
    background: #04043a;
    height: 120px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: -40px;
}

/*.head.sticky {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    width: 100%;*/
/*    height: 100px;*/
/*    z-index: 999;*/
/*    background: #04043ac0;*/
/*    backdrop-filter: blur(10px);*/
/*}*/

/*.head.hide-top {*/
/*    transform: translateY(-40px);*/
/*    transition: transform 0.3s ease-in-out;*/
/*}*/

.head-top {
    background: #000;
    height: 40px;
}

.head-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.head-menu .nav-list ul li {
    display: inline;
}

.head img {
    height: auto;
    max-width: 100%;
}

.toggle_btn {
    display: none;
}

@media (max-width: 1279px) {
    .toggle_btn {
        display: block !important;
        cursor: pointer !important;
    }

    .head-menu .nav-list {
        display: none;
    }

}


.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: rgb(14 14 14 / 79%);
    padding: 15px 0;
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    transition-duration: 0.5s;
    backdrop-filter: blur(10px);
}

body.rtl .sidebar {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

body.ltr .sidebar {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

body.rtl .sidebar.active {
    transform: translateX(0);
}

body.ltr .sidebar.active {
    transform: translateX(0);
}

.sidebar .nav-mobile > ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.sidebar .nav-mobile ul li {
    padding: 10px;
}

.sidebar .nav-mobile ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

.sidebar-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.sidebar-background.active {
    display: block;
}

.news-ticker {
    color: #fff;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

@keyframes tickerAnimationRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes tickerAnimationLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

body.rtl .ticker-content {
    display: flex;
    animation: tickerAnimationRight 200s linear infinite;
}

body.ltr .ticker-content {
    display: flex;
    animation: tickerAnimationLeft 200s linear infinite;
}

.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

.search-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.news-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 5;
    position: relative;
    margin-bottom: 32px;
}

.news-item:nth-child(1) a div {
    position: absolute;
    width: 90%;
    padding: 1rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    background-color: #eee;
}

.news-item:nth-child(1) a div h3 {
    font-size: 1.3rem !important;
}

.news-item:nth-child(1) figure {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1);
    cursor: pointer;
}

.news-item:nth-child(2),
.news-item:nth-child(3) {
    grid-column: 3;
}
.news-item:nth-child(2) h3,
.news-item:nth-child(3) h3 {
    font-size: 0.9rem !important;
}

.news-item:nth-child(2) a,
.news-item:nth-child(3) a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.news-item:nth-child(2) div,
.news-item:nth-child(3) div {
    width: calc(100% - 1rem);
}

.news-item:nth-child(2) figure,
.news-item:nth-child(3) figure {
    display: block;
    width: calc(100%/2 - 1rem);
    height: 100%;
    object-fit: cover;

}

.news-item:nth-child(2) a div p,
.news-item:nth-child(3) a div p {
    display: none;
}

.news-item:nth-child(n+4) {
    grid-column: span 1;
}
.news-item:nth-child(n+4) figure {
    display: none;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-item:nth-child(n) {
        grid-column: span 1;
    }
}


.date-element {
    visibility: hidden;
}

.date-element.converted {
    visibility: visible;
}

body.rtl .head-menu > .nav-list {
    margin-right: 2%;
    margin-left: auto;
}

body.ltr .head-menu > .nav-list {
    margin-right: auto;
    margin-left: 2%;
}

body.rtl .head-menu .icons {
    margin-left: 25px;
    margin-right: auto;
}

body.ltr .head-menu > .icons {
    margin-left: auto;
    margin-right: 25px;
}

body.rtl .swiper-wrapper {
    direction: rtl;
}

body.ltr .swiper-wrapper {
    direction: ltr;
}

.lang-switcher:hover + .lang-dropdown,
.lang-dropdown:hover {
    display: flex;
}
.lang-switcher:hover .fa-chevron-down,
.lang-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}
.lang-dropdown-container:hover .lang-dropdown {
    display: flex;
}
.lang-dropdown-container:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.swiper-scrollbar {
    background-color: #ffffff3f !important;
}

.swiper-scrollbar-drag {
    height: 15px !important;
    background-color: #fff !important;
    top: -5px !important;
    cursor: grab;
    border: 2px solid gray !important;
}

.swiper-scrollbar-drag::before,
.swiper-scrollbar-drag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border: 2px solid #727272;
    border-left: none;
    border-bottom: none;
    transform: translateY(-50%);
}

.swiper-scrollbar-drag::before {
    right: 15%;
    transform: translateY(-50%) rotate(45deg);
}

.swiper-scrollbar-drag::after {
    left: 15%;
    transform: translateY(-50%) rotate(-135deg);
}

.swiper-scrollbar-drag:hover::before,
.swiper-scrollbar-drag:hover::after {
    border-color: #ff5722;
    transition: border-color 0.3s ease;
}

.category_1 article:first-child {
    grid-row: span 6 / span 6 !important;
    height: 500px !important;
}

@media (min-width: 1024px) {
    .category_1 article:first-child {
        grid-column: span 3 / span 3 !important;
        height: auto !important;
    }
}

.pages {
    color: #424242;
}

.pages span {
    display: inline-flex;
    background-color: #0025a9;
    border-radius: 25px;
    color: #fff;
    width: fit-content;
    min-width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.pages a:hover {
    background-color: #3232df;
    color: #fff !important;
}


.pages a {
    display: inline-flex;
    border-radius: 25px;
    background-color: #ffffff;
    border: 1px solid #424242;
    width: fit-content;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
}

.pages .nav_ext + a {
    display: inline-flex;
    width: fit-content;
    height: 40px;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    border: 1px solid #424242;
    color: #424242;
    padding: 0 15px;
}

.pages .nav_ext {
    display: inline-flex;
    background-color: #ffffff;
    width: 60px;
    height: 40px;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    border: 1px solid #424242;
    color: #424242;
}

.page_prev span {
    display: inline-flex;
    border-radius: 50%;
    background-color: #a7a7a7;
    border: 1px solid #424242;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
}

.page_prev a {
    display: inline-flex;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #424242;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.page_prev a:hover {
    background-color: #859ffc;
    color: #fff;
}


.page_next span {
    display: inline-flex;
    border-radius: 50%;
    background-color: #a7a7a7;
    border: 1px solid #424242;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
}

.page_next a {
    display: inline-flex;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #424242;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.page_next a:hover {
    background-color: #859ffc;
    color: #fff;
}


.category article:nth-child(1) {
    grid-column: span 6 / span 6;
}
.category article:nth-child(2) {
    grid-column: span 6 / span 6;
}


@media (min-width: 640px) {
    .category article:nth-child(1) {
        grid-column: span 3 / span 3;
    }
    .category article:nth-child(2) {
        grid-column: span 3 / span 3;
    }
}

.category article:nth-child(1) figure {
    height: 400px;
}

.category article:nth-child(2) figure {
    height: 400px;
}

.category div {
    grid-column: span 6 / span 6;
}

.category_videos_cat div {
    grid-column: span 12 / span 12;
}


.category_2 div {
       grid-column: span 6 / span 6; 
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.tab-indicator {
    height: 2px;
    position: relative;
    margin-bottom: 1.5rem;
}

.tab-indicator::after {
    content: '';
    position: absolute;
    height: 2px;
    background: #cb0d0b;
    width: 33.333%;
    transition: all 0.3s ease;
}

.tab-indicator::before {
    content: '';
    position: absolute;
    height: 2px;
    background: #d3d3d3;
    width: 100%;
    transition: all 0.3s ease;
}

.tab {
    color: #585858;
}

.tab.active {
    color: #2b2b2b;
}

body.ltr [data-tab-active="tab1"] .tab-indicator::after { left: 0; }
body.ltr [data-tab-active="tab2"] .tab-indicator::after { left: 33.333%; }
body.ltr [data-tab-active="tab3"] .tab-indicator::after { left: 66.666%; }

body.rtl [data-tab-active="tab1"] .tab-indicator::after { right: 0; }
body.rtl [data-tab-active="tab2"] .tab-indicator::after { right: 33.333%; }
body.rtl [data-tab-active="tab3"] .tab-indicator::after { right: 66.666%; }


.mySwiper_2 .swiper-slide-thumb-active {
    border: 2px solid #eee;
    background-color: #d3d3d32d
}
.sidebar {
    scroll-behavior: smooth;
  }
  
  .sidebar::-webkit-scrollbar {
    width: 6px;
  }
  
  .sidebar::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }
  
  .sidebar::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

  .category_items span {
    background-color: #0f199e;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
  }

  .category_items_lg span {
    background-color: #9E0010;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
  }

  .category_items_sm span {
    background-color: #dc2626;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
  }
  
    .category_items_video span {
        background-color: #dc2626;
        color: #fff;
        padding: 3px 11px;
        border-radius: 5px;
        font-size: 13px;
        font-weight: 500;
    }

  .social-share-container {
	position: relative;
	display: inline-block;
  }
  
  #share-dropdown {
	transition: opacity 0.2s ease;
  }
  .channel-item {
    transition: all 0.3s ease;
}
.channel-item.active {
    background-color: #fff;
    color: #000;
}

.group-nth:nth-child(2) {
    flex-direction: column;
    height: 300px;
}

.group-nth:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, transparent);
    z-index: 10;
}

.group-nth:nth-child(2) > figure {
    width: 100%;
    height: 100%;
}

.group-nth:nth-child(2) > div {
    width: 100%;
    color: #fff;
    position: absolute;
    bottom: 0;
    top: 0;
}

.group-nth:nth-child(2) > figure > div {
    top: 5px;
    right: 5px;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    background-color: #9E0010;
    width: 2.5rem;
    height: 2.5rem;
}

.group-nth:nth-child(2) > div h1 {
    position: absolute;
    bottom: 0;
    font-size: 20px;
    line-height: 1.5;
    padding: 5% 5%;
    font-weight: 900;
}

.group-nth:nth-child(2) > div p {
    display: none;
}

.group-nth:nth-child(1) > div p {
    display: none;
}

.group-nth:nth-child(1) {
    flex-direction: column;
    height: 300px;
}

.group-nth:nth-child(1)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, transparent);
    z-index: 10;
}

.group-nth:nth-child(1) > figure {
    width: 100%;
    height: 100%;
}

.group-nth:nth-child(1) > div {
    width: 100%;
    color: #fff;
    position: absolute;
    bottom: 0;
    top: 0;
}

.group-nth:nth-child(1) > div h1 {
    position: absolute;
    bottom: 0;
    font-size: 20px;
    line-height: 1.5;
    padding: 5% 5%;
    font-weight: 900;
}

.group-nth:nth-child(1) > figure > div {
    top: 5px;
    right: 5px;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    background-color: #9E0010;
    width: 2.5rem;
    height: 2.5rem;
}

#formattedContent {
    font-size: 1.125rem !important;
   
}


#formattedContent p span {
    font-size: 1.125rem !important;
   
}


#formattedContent span {
    font-size: 1.125rem !important;
   
}




.group-nth2:nth-child(2) {
    flex-direction: column;
}

.group-nth2:nth-child(2) > figure {
    width: 100%;
    height: 250px;
}
.group-nth2:nth-child(2) > div {
    width: 100%;
}

.group-nth2:nth-child(2) > div span {
    color: #333;
}

.group-nth2:nth-child(1) {
    flex-direction: column;
}

.group-nth2:nth-child(1) > figure {
    width: 100%;
    height: 250px;
}

.group-nth2:nth-child(1) > div {
    width: 100%;
}

.group-nth2:nth-child(1) > div span {
    color: #333;
}

@media (min-width: 1554px) {
    .nav-list {
        font-size: 2.5rem;
    }
}



.font-size-range-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  display: flex;
  align-items: center;
  padding: 10px 0;
}
.font-size-range-small {
  font-size: 11px;
  font-weight: bold;
  margin-left: 20px;
  color: #666;
}
.font-size-range-large {
  font-size: 18px;
  font-weight: bold;
  margin-right: 20px;
  color: #333;
}
.font-size-range {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(to left, rgb(41, 41, 180) 0%, rgb(41, 41, 180) 50%, rgb(221, 221, 221) 50%, rgb(170, 170, 170) 66.6667%, rgb(119, 119, 119) 83.3333%, rgb(68, 68, 68) 100%);
  outline: none;
  margin: 0;
  border-radius: 3px;
}

.font-size-range-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 14%;
  top: calc(50% + 3px);
  height: 7px;
  width: 75%;
  background-image: repeating-linear-gradient(to right, transparent, transparent calc(11.1% - 1px), #ccc calc(11.1% - 1px), #ccc 11.1%);
  pointer-events: none;
  z-index: -1;
}

.font-size-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: rgb(41, 41, 180);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(41, 41, 180, 0.4);
  transition: all 0.3s ease;
  z-index: 10;
  margin-top: -5.5px; /* Center the thumb vertically */
}

.font-size-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(41, 41, 180, 0.6);
  background: rgb(51, 51, 200);
}

.font-size-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
  background: rgb(61, 61, 220);
}

.font-size-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: rgb(41, 41, 180);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(41, 41, 180, 0.4);
  transition: all 0.3s ease;
  z-index: 10;
}

.font-size-range::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(41, 41, 180, 0.6);
  background: rgb(51, 51, 200);
}

.font-size-range::-moz-range-thumb:active {
  transform: scale(1.25);
  background: rgb(61, 61, 220);
}

.font-size-range::-webkit-slider-runnable-track {
  height: 5px;
  cursor: pointer;
  border-radius: 3px;
  animation: pulse 2s infinite;
}

.font-size-range::-moz-range-track {
  height: 5px;
  cursor: pointer;
  border-radius: 3px;
  animation: pulse 2s infinite;
}

.font-size-range-indicators {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 9%;
  display: flex;
  justify-content: space-between;
  padding: 0 9px;
  font-size: 9px;
  color: #777;
  width: 76%;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(41, 41, 180, 0.2);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(41, 41, 180, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(41, 41, 180, 0);
  }
}

@media (max-width: 480px) {
  .font-size-range-wrapper {
      max-width: 250px;
      padding: 0 10px;
  }
  .size {
      font-size: 0.8em;
  }
}


.custom-bg {
  background-color: #111827 !important;
}

.custom-text {
  color: #fff !important;
}


select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
	display: inline-block;
	width: 100%;
	height: 50px;
	vertical-align: middle;
	border-radius: 15px;
	background: #fff;
	border: 1px solid #d7d7d7;
	-webkit-transition: border 0.2s linear 0s; transition: border 0.2s linear 0s;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

select {
		width: auto;
    padding: .35rem 2.2rem .35rem .65rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    appearance: none;
}

select[multiple] {
    padding-right: .75rem;
    background-image: none;
}

	textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
	textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus,
	input[type="file"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
	input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus,
	input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus,
	input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus,
	input[type="color"]:focus, .uneditable-input:focus {
		border-color: #109aceed;
	}
	input[type="file"], input[type="image"],
	input[type="submit"], input[type="reset"],
	input[type="button"] { width: auto; }
	input[type="search"] {
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	input[type="search"]::-webkit-search-cancel-button,
	input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
	select[multiple], select[size], textarea { height: auto; }
	input::-moz-placeholder, textarea::-moz-placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { opacity: 0.6; }

	input:focus { outline: none; }
	input[type="file"], input[type="image"] { padding: 0; border-width: 0; background-color: transparent; }
	.wide, .bb-editor textarea, .ui-dialog textarea, select#category, .timezoneselect, .twofactorselect, .quick-edit-text { width: 100% !important; }
	/* #searchuser, #searchinput { width: 100% !important; margin-bottom: 10px; } */

	.form_submit .c-captcha { float: right; }
	.c-captcha { position: relative; }
	.c-captcha:after { clear: both; display: block; content: ""; }
	.c-captcha > a { float: left; margin-right: 5px; }
	.c-captcha img {
		position: relative;
		display: block;
		width: 130px; height: 46px;
		z-index: 1;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.c-captcha > input { float: left; width: 130px; }

	.dle-captcha { position: relative; }
	.dle-captcha:after { clear: both; display: block; content: ""; }
	.dle-captcha > a { float: left; margin-right: 5px; }
	.dle-captcha img {
		position: relative;
		display: block;
		width: 130px; height: 46px;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.dle-captcha > input { float: left; width: 130px; }
    #dropmenudiv { padding: 10px 0; min-width: 140px; width: auto !important; font-size: .9em;
		box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3); border: 1px solid #e6e6e6; border-color: rgba(0,0,0,0.1); background-clip: padding-box;
	}
	#dropmenudiv { background-color: #fff; }
	#dropmenudiv a { text-decoration: none !important; color: inherit; display: block; padding: 3px 20px; border: 0 none; white-space: nowrap; color: inherit; }
	#dropmenudiv a:hover { background-color: #eeeeef; }

#searchsuggestions {
	z-index: 2200;
	width: 60%;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
	border: 1px solid #ddd; border-color: rgba(0,0,0,0.2);
	background-clip: padding-box;
	font-size: .9em;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	#searchsuggestions a, #searchsuggestions span.notfound { padding: 15px 25px; display: block; text-decoration: none; border-bottom: 1px solid #e5e5e5; }
	#searchsuggestions a { color: inherit; }
	#searchsuggestions a:hover { background-color: #f7f7f7; }
	#searchsuggestions a span { display: block; cursor: pointer; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; margin-bottom: .2em; }
	#searchsuggestions span.seperator { display: block; }
	#searchsuggestions span.seperator a { padding: 10px 0; text-align: center; border: 0 none; background-color: transparent; color: #919191; }
	#searchsuggestions span.notfound { padding: 15px 25px; display: block; }
	#searchsuggestions .break { display: none; }
	
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.animate-shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.text-size-notification {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#size-indicator {
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.text-size-controls button {
  position: relative;
  overflow: hidden;
}

.text-size-controls button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.text-size-controls button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.7;
  }
  20% {
    transform: scale(8, 8);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(30, 30);
  }
}

#listen-btn-ku {
    display: none;
}

.aspect-video:fullscreen .video-controls,
.aspect-video:hover .video-controls {
  opacity: 1 !important;
  pointer-events: auto;
}
.aspect-video:fullscreen .video-controls {
  transition: opacity 0.3s;
}
.video-controls {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 30;
  height: 4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transition: opacity 0.3s;
}
.video-controls .control-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
}
.video-controls .live-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: bold;
  background: #dc2626;
  border-radius: 0.5rem;
}
.video-controls .channel-title {
  position: absolute;
  bottom: 3.5rem;
  right: 1.25rem;
  z-index: 40;
  opacity: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.item-category-last-news span {
    background-color: #17176d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.item-category span {
    background-color: #006494;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 16px;

}

.grid-item {
    min-height: 100px;
    padding: 5px;
}

.grid-item:nth-child(1) {
    grid-column: span 3;
    grid-row: span 3;
}

.grid-item:nth-child(2) {
    grid-column: span 3;
    grid-row: span 1;
}

.grid-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 1;
}

.grid-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;

}


.grid-item:nth-child(1) .item_info h1 {
    font-size: 35px;
    font-weight: 900;
    line-height: 2.7rem;
    margin-top: 11px;
}

.grid-item:nth-child(2),
.grid-item:nth-child(3),
.grid-item:nth-child(4) {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.grid-item:nth-child(2) figure,
.grid-item:nth-child(3) figure,
.grid-item:nth-child(4) figure {
    width: 30%;
    height: 100%;
}

.grid-item:nth-child(2) .item_info,
.grid-item:nth-child(3) .item_info,
.grid-item:nth-child(4) .item_info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 70%;
}

.grid-item:nth-child(1) .item-category,
.grid-item:nth-child(2) .item-category,
.grid-item:nth-child(3) .item-category,
.grid-item:nth-child(4) .item-category {
    display: none;
}


.grid-item:nth-child(n+5) {
    grid-column: span 2;
    height: 450px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.grid-item:nth-child(n+5) .item-category {
    display: block;
}

.grid-item:nth-child(n+5) figure {
    width: 100%;
    height: 300px;
}

.grid-item:nth-child(n+5) .item_info p {
    display: none;
}

@media (max-width: 1199px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .grid-item:nth-child(1) {
        grid-column: span 4;
        grid-row: span 2;
        height: 100%;
    }
    
    .grid-item:nth-child(2),
    .grid-item:nth-child(3),
    .grid-item:nth-child(4) {
        grid-column: span 2;
        height: 450px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }
    
    .grid-item:nth-child(2) figure,
    .grid-item:nth-child(3) figure,
    .grid-item:nth-child(4) figure {
        width: 100%;
        height: 300px;
    }
    .grid-item:nth-child(2) .item_info p,
    .grid-item:nth-child(3) .item_info p,
    .grid-item:nth-child(4) .item_info p {
        display: none;
    }
    
    .grid-item:nth-child(2) .item-category,
    .grid-item:nth-child(3) .item-category,
    .grid-item:nth-child(4) .item-category {
        display: block;
    }
    
    .grid-item:nth-child(n+5) {
        grid-column: span 2;
    }

        
}



@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-item:nth-child(1) .item_info h1 {
        font-size: 1.125rem;
        font-weight: 500;
        line-height: 1.75rem;
    }
    
    .grid-item:nth-child(1) {
        grid-column: span 3;
    }
    
    .grid-item:nth-child(1) .item-category {
        display: block;
    }
    
    .grid-item:nth-child(1) .item_info p {
        display: none;
    }
    
    .grid-item:nth-child(2),
    .grid-item:nth-child(3),
    .grid-item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 1;

    }
    
    .grid-item:nth-child(n+5) {
        grid-column: span 3;

    }
    
}

@media (max-width: 480px) {
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .grid-item {
        grid-column: 1 !important;
        grid-row: auto !important;
        font-size: 1.1rem;
        min-height: 80px;
    }
      
}

@media (max-width: 320px) {
    .grid-container {
        gap: 10px;
        padding: 10px;
    }
    
    .grid-item {
        min-height: 70px;
        font-size: 1rem;
        padding: 15px;
    }
}
