/*
	Theme Name: Shatat News By Fares
	Template:   kadence
	Version: 1.0.1
	Author: Ehab Hamzeh (ehab1mail@gmail.com)
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
.is_loading{
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}
.is_loading:after{
    content:"";
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5);
}
.is_loading_image:after {
    content: "";
    background-image: url('data:image/svg+xml,<svg fill="hsl(0, 0%, 42%)" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" opacity=".25"/><path d="M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"><animateTransform attributeName="transform" type="rotate" dur="0.75s" values="0 12 12;360 12 12" repeatCount="indefinite"/></path></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
}
a{
    text-decoration: none;
}
.fixed_news {
    position: fixed !important;
    z-index: 2;
    top: 80px;
    width: 100%;
}
.switcher_header {
    height: 45vw;
    display: flex;
    justify-content: end;
    align-items: end;
    /* padding: 20px !important; */
    margin-top: 49px !important;
}
.switcher_header li > *:not(.wp-block-latest-posts__featured-image){
    display: none !important;
}
.switcher_header ul.wp-block-latest-posts__list {
    display: flex !important;
    width: 100%;
    margin: 0px !important;
    padding: 0px 80px !important;
    gap: 10px !important;
    justify-content: end;
}
.switcher_header li {
    width: 10%;
    outline: solid 2px #c9c9c9;
    border-radius: 5px ;
    overflow: hidden;
    margin-bottom: 20px !important;;
}
.switcher_header li.sw_current_item{
    
    outline: solid 2px var(--global-palette1);
}
.switcher_header .show_posts>* img{
    display: none;
}
.switcher_header .show_posts>*,.switcher_header .show_posts .cloned_sw_current_item{
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;;
}
.switcher_header .show_posts .sw_current_item>*{
    max-width: 600px;
}
.switcher_header .show_posts .sw_current_item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 50px 20px;
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
}

.switcher_header .show_posts .cloned_sw_current_item:before{
    content: "";
    position: absolute;
    right:-30px;
    top:0px;
    width:90%;
    height: 100%;
    background: url(https://shatatnews.com/wp-content/uploads/2026/10/pat1.png);
    z-index: 0;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 90%;
}
.switcher_header .wp-block-latest-posts__post-excerpt{
    font-size: clamp(10px ,2vw,20px);
    color:#fff;
}
.switcher_header .wp-block-latest-posts__post-title {
    color: #fff;
    font-size: clamp(10px ,3vw,40px);
    font-weight: bold;
}
/* ssssssss */
.latest_news_col >*> *:first-child{
    width: 55%;
    position: relative;
}
.latest_news_col .show_posts >* {
    position: relative;
    width: 100%;
    height: 0px;
    padding-bottom: 120%;
}
.latest_news_col .show_posts .wp-block-latest-posts__featured-image{
    display: none;
}
.latest_news_col .show_posts .cloned_sw_current_item{
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 10px;
}
/*.latest_news_col>*,.latest_news_col li{
    display: flex;
}
.latest_news_col ul.wp-block-latest-posts__list{
    display: grid;
    flex-direction: column;
}
 .latest_news_col .wp-block-latest-posts__post-excerpt{
    display: none;
} */
 .latest_news_col>*{
    display: flex;
}
.a-button.eh-news_title {
    background: var(--global-palette1);;
}
.eh-news_block{
    line-height: 35px;
}
ul.is-grid:not(.no-aspect) .wp-block-latest-posts__featured-image,.eh-aspect ,.slick-slide .wp-block-latest-posts__featured-image {
    display: block;
    height: 0px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 120% !important ;
    position: relative;
}
.header_slider_2-eh55 .wp-block-latest-posts__featured-image{
    padding-bottom: 120% !important;
}
.header_slider_2-eh55 li.slick-slide {
    border: 0  !important;
    border-radius: 0px !important;
}

.header_slider_2-eh55 .wp-block-latest-posts__post-title {
    position: absolute;
    bottom: 0px;
    font-size: 4vw !important;
    color: #ffffff !important;
    padding: 5vw;
    max-width: 100%;
    font-weight: bold;
}
.switcher_header ul .wp-block-latest-posts__featured-image {
    display: block;
    height: 0px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 60% !important ;
    position: relative;
}
footer img {
    filter: brightness(0) invert(1);
}
.switcher_header>* {
    width: 100%;
}
.slick-slide .wp-block-latest-posts__featured-image img,.switcher_header ul .wp-block-latest-posts__featured-image img{
    position: absolute;
    top:0px;
    left:0px;
    width:100% !important;
    height:100% !important;
    object-fit: cover;
}
ul.is-layout-flow:not(.no-aspect) img {
    width: 100px !important;
    height: 120px !important;
    object-fit: cover;
    min-width: 100px !important;
}
ul.is-layout-flow li{
   clear: both !important;
   margin:0px !important;
}
    
ul.is-layout-flow li .wp-block-latest-posts__featured-image {
    float: right;
    margin-left: 10px;
}
  
ul.is-grid:not(.no-aspect) .wp-block-latest-posts__featured-image * ,.eh-aspect *{
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
}
/* .switcher_header .show_posts .sw_current_item a.wp-block-latest-posts__post-title:before {
    content: "إنتاجات شتات";
    font-weight: normal;
    font-size: 19px;
    background: var(--global-palette1);
    padding: 10px;
    border-radius: 10px;
} */
.title-blockk h2:after {
    content: "";
    min-width: 60px;
    background: var(--global-palette1);
    display: inline-block;
    margin: 8px 10px 0px 0px;
    height: 5px;
    vertical-align: middle;
}
.title-blockk h2{
    margin-bottom:5px !important;
}
.title-blockk h6{
    opacity: 0.6;
}
.sr_tab {
    border: solid 2px var(--global-palette5);
    border-radius: 10px 0px 0px 10px;
    padding: 5px 18px 5px 15px;
    margin: 0px -5px 35px;
    /* background: red; */
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.sr_tab:first-child{
border-radius: 10px;
}
.sr_tab:not(:first-child){
    border-right: 0px;

}
.sr_tab_show {
    background: var(--global-palette5);
    border-radius: 10px;
    position: relative;
    z-index: 1;
}
.showroom .moree_linkk {
    margin-top: 20px;
    display: block;
    /* float: left; */
    margin: 20px auto 0px;
    border: solid 1px;
    width: fit-content;
    padding: 5px 38px;
    border-radius: 100px;
    opacity: 0.6;
    font-size: 15px;
}
.showroom .moree_linkk {
    color: #fff;
}
.strip_pattern {
    pointer-events: none;
    position: absolute;
    width: 600px;
    height: 600px;
    /* background-color: #E5E5F7; */
    opacity: 0.3;
    background: repeating-linear-gradient(45deg, var(--pat-color,#ffff), var(--pat-color,#ffff) 8px, #e5e5f700 8px, #e5e5f700 16px);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    margin: -300px;
    left: 0px;
    bottom: 0px;
    z-index: -1;
}
.entry-content > .kb-row-layout-wrap:has(.strip_pattern){
    overflow: hidden;
}
li.slick-slide {
    border: solid 5px transparent  !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.text_over_image .wp-block-latest-posts__featured-image:after, .latest_news_col .cloned_sw_current_item:before {
    content: "";
    position: absolute;
    pointer-events: none;
    background: #000000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 69%);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}
.latest_news_col .sw_current_item{
    position: relative;
}
.latest_news_col .cloned_sw_current_item .wp-block-latest-posts__post-excerpt {
    color:#fff;
}
.text_over_image .wp-block-latest-posts__post-title {
    position: absolute;
    bottom: 0px;
    font-size: 13px !important;
    color: #ffffff !important;
    padding: 11px;
    max-width: 100%;
}
.latest_news_col .wp-block-kadence-icon svg {
    font-size: 24px;
}
.latest_news_col .wp-block-kadence-icon {
    top: 25px;
    width: 60px;
    color: #000;
    right: 5px;
}
.latest_news_col .wp-block-kadence-icon >*{
    background-color: #fff ;
    border-radius: 50%;
}
.widget.widget_nav_menu * {
    color: #fff;
    font-size: 14px;
    border: 0px !important;
}
.widget.widget_nav_menu h2{
    font-size: 16px;;
}
footer p{
    margin:0px;
}
.splide .splide__pagination__page {
    height: 6px !important;
    margin: 2px !important;
    width: 6px !important;
}
figure:has(iframe,video),.wp-block-kadence-advancedgallery .splide__track {
     background: #3e3d3d;
}
body:not(.is_popup) figure:has(iframe,video), body:not(.is_popup) figure:has(iframe,video) * {
    max-height: 70vh !important;
    overflow: hidden;
}
iframe.iframe_calendar {
    border: 0;
    min-height: 300px;
    width: 100%;
}
body:not(.category-news) aside#secondary{
    display: none !important;
}
body:not(.category-news) .content-container.site-container{
    display: block !important;
}
.widget.widget_block p{
    padding: 0px !important;
    margin: 0px !important;
}
.category-news #archive-container {
    display: block !important;
}
.category-news #archive-container  li.entry-list-item {
    border: solid 1px #ddd;
    padding: 10px;
    margin-bottom: 10px;
    /* width: 50%; */
    /* float: right; */
    border-right: solid 10px #e1dfdf;
    min-height: 140px;
    padding-right: 125px;
}
.category-news .post_data {
    background-image: var(--the-imgg);
    padding: 10px;
    background-size: cover;
    width: 100px;
    height: 120px;
    /* float: right; */
    margin-left: 10px;
    position: absolute;
    right: 20px;
    background-position: center;
}
a.post-more-link {
    background: #e2541e;
    padding: 7px;
    color: #fff !important;
    opacity: 0.3;
    border-radius: 5px;
    font-size: 12px;
}
.post_switcher div.cloned_sw_current_item{
    background-position: center;
}
@media only screen and (max-width: 899px) {
.latest_news_col .wp-block-latest-posts__list {
    padding: 0px !important;
}
.latest_news_col .show_posts {
    display: none;
}
}