/* Common Style Widget */
#lastNews{
    /*margin-top: 20px;*/
}
.box-card-v1{
    width: 240px;
    margin: 5px;
}
.box-card-v1 .card .card-img-top{
    /*max-*/ height: 135px;
    border-bottom: 3px solid var(--primary);
    object-fit: cover;
    --bs-card-inner-border-radius: 16px;
}
.box-card-v1 .card.card-masj{
    max-width: 200px;
    margin: 0 auto !important;
    border: 1px solid var(--primary) !important;
    box-shadow: 0 1px 2px 1px var(--grey) !important;
    overflow: hidden;
    border-radius: 16px !important;
}
.box-card-v1 .card .card-img-top.card-masj-cover{
    height: 270px;
    object-fit: fill;
}
.box-card-v1>a{
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}
.box-card-v1 .section-post-list-item-card-text,
.box-card-v1 .follow-post-list-item-card-text,
.box-card-v1 .post-list-item-card-text{
    position: relative;
    display: inline-block;
    height: 100px; /* Adjust as needed */
    overflow: hidden;

    /* Fade effect using mask-image */
    -webkit-mask-image: -webkit-gradient(linear,left bottom,right bottom,color-stop(70%, black),color-stop(100%,transparent));
    mask-image: linear-gradient(180deg, black 70%, transparent);
}
@media (max-width: 575px){
    header{}
    main,footer.footer-style{
        /*width: 95%;*/
    }
    footer.footer-style{}
    .box-card-v1{
        width: 100%;
        margin: 0;
    }
    .box-card-v1 .card .card-img-top{
        border-radius: 0 !important;
    }
    .box-card-v1 .card{
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

.p-top-header-bar{
    margin-top: calc(-1 * var(--flexible-expand-height));
}
.bg-umas-gradient{
    background: var(--bg-umas-gradient);
}

.slider-app-theme{
    margin-top: -1px;
}
.slider-app-theme div.slide-item{
    position: relative;
    height: /*80vh*/ 300px;
    min-height: 200px;
    /*max-height: 70vh;*/
}
div.slide-item div.slide-info-box{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 85px;
    background: var(--primary-soft-color);
    padding: 5px 10px;
    color: var(--white);
    border-top: 3px solid var(--secondry);
    border-bottom: 7px solid rgba(0,0,0,0.22);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
div.slide-item div.slide-info-box h5{
    text-shadow: 0 0 1px var(--primary-swach), 0 0 5px var(--primary-swach), 0 0 10px var(--primary), 0 0 15px var(--primary-soft-color);
}
div.slide-item div.slide-info-box h5 a{
    margin: 20px auto 0;
    text-shadow: 0 0 1px var(--black), 0 0 5px var(--black), 0 0 10px var(--black), 0 0 15px var(--black-soft-color);
    color: white;
    transition: all ease-in-out 200ms;
}
div.slide-info-box h5 a:hover{
    transform: scale(1.2);
    color: rgba(255,255,255,.7) !important;
}
div.slide-info-box p{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-shadow: 0 0 1px var(--primary), 0 0 5px var(--primary), 0 0 10px var(--black), 0 0 15px var(--black-soft-color);
}

/*video promo*/
.promo-video-section {
    width: 100%;
    position: relative;
}
.promo-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 46%;
    background-color: #3176b8;
    background: var(--bg-umas-gradient);
    overflow: hidden;
    cursor: pointer;
}
.promo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.promo-video-text-content {
    position: absolute;
    bottom: 30px;
    right: 40px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
}
.promo-video-text-content h1 {
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}
.promo-video-text-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
}
.sound-toggle {
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.promo-video-wrapper:hover .sound-toggle {
    opacity: 1;
}
.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}
.sound-toggle.muted {
    background: rgba(0, 0, 0, 0.4);
}


@media (max-width: 768px) {
    .promo-video-wrapper {
        padding-bottom: 90%;
    }
    .promo-video-text-content {
        bottom: 20px;
        right: 20px;
    }
    .promo-video-text-content h1 {
        font-size: 1.8rem;
    }
    .promo-video-text-content p {
        font-size: 1rem;
    }
    .sound-toggle {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
@media (min-width: 1600px) {
    .promo-video-wrapper {
        padding-bottom: 42%;
    }
}

.section-divider {
    width: 100%;
    height: 8px;
    background: var(--bg-umas-gradient);
    box-shadow: 0 2px 10px rgba(0, 160, 255, 0.2);
}

#importantLink {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#importantLink .important-link-card{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    overflow: hidden;
}
#importantLink > a{
    color: var(--primary);
    transform: scale(1) !important;
    transition: transform ease-in-out 0.5s !important;
}
#importantLink > a:hover{
    transform: scale(1.05) !important;
}
#importantLink .important-link-card .card-body{
    flex: 0 0 auto;
}
#importantLink .important-link-card p{
    font-size: 14px;
    font-weight: bold;
}

.hash-link-id{
    scroll-margin-top:calc(var(--flexible-expand-height) + 10px);
}

img.avatar {
    border-radius: 50%;
    border: 1px solid var(--black-xsoft-color);
}
.lang-item-en{
    direction: ltr;
}
.lang-item-ar{
    direction: rtl;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
    padding-right: 10px;
    margin: 10px auto;
}
html[dir='rtl'] .dataTables_wrapper .dataTables_filter,
html[dir='rtl'] .dataTables_wrapper .dataTables_paginate {
    float: left;
    text-align: left;
    padding-left: 10px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info {
    padding-left: 10px;
    margin: 10px auto;
}
html[dir='rtl'] .dataTables_wrapper .dataTables_length,
html[dir='rtl'] .dataTables_wrapper .dataTables_info {
    float: right;
    padding-right: 10px;
}
html[dir='rtl'] table.dataTable thead th,
html[dir='rtl'] table.dataTable thead td,
html[dir='rtl'] table.dataTable tfoot th,
html[dir='rtl'] table.dataTable tfoot td {
    text-align: inherit !important;
}
html[dir='rtl'] table.dataTable thead > tr > th.sorting::before,
html[dir='rtl'] table.dataTable thead > tr > th.sorting::after,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc::before,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc::after,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc::before,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc::after,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc_disabled::before,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc_disabled::after,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc_disabled::before,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc_disabled::after,
html[dir='rtl'] table.dataTable thead > tr > td.sorting::before,
html[dir='rtl'] table.dataTable thead > tr > td.sorting::after,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc::before,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc::after,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc::before,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc::after,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc_disabled::before,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc_disabled::after,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc_disabled::before,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc_disabled::after {
    left: 10px !important;
    right: auto !important;
}
html[dir='rtl'] table.dataTable thead > tr > th.sorting,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_asc_disabled,
html[dir='rtl'] table.dataTable thead > tr > th.sorting_desc_disabled,
html[dir='rtl'] table.dataTable thead > tr > td.sorting,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_asc_disabled,
html[dir='rtl'] table.dataTable thead > tr > td.sorting_desc_disabled {
    padding-left: 26px !important;
}

.card{
    border-bottom: 5px solid rgba(0,0,0,0.22);
    --bs-card-border-radius: 16px;
    /*backdrop-filter: blur(5px);*/
    /*-webkit-backdrop-filter: blur(5px);*/
    --bs-card-bg:#fff7;
	padding:0;
}

.anc-6310-counter-1{
    border-bottom: 5px solid rgba(0,129,204,0.8) !important;
    font-family: inherit !important;
}
.anc-6310-counter-1 .anc-6310-counter-1-top-container::before{
    background-color: #0004;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: background-color .15s ease-in-out, backdrop-filter .15s ease-in-out;
}
.anc-6310-counter-1:hover .anc-6310-counter-1-top-container::before{
    background-color: #fff7 !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.anc-6310-counter-1 .anc-6310-counter-1-count-title{
    transition: font-size .15s ease-in-out, color .15s ease-in-out;
}
.anc-6310-counter-1:hover .anc-6310-counter-1-count-title{
    font-size: 50px !important;
    color:#009ee2 !important;
    text-shadow: var(--text-shadow-spread-white);
}
.anc-6310-counter-1 .anc-6310-counter-1-count-subtitle{
    font-family: inherit !important;
}

.wp-block-image{
    border-bottom: 5px solid rgba(0,0,0,0.22);
    box-shadow: 0 2px 5px var(--primary-soft-color) !important;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
}

.wp-block-ilb-icon-list .ilbIconList{
    background-color: #fff5 !important;
    width: 100% !important;
}
.wp-block-ilb-icon-list .ilbIconList ul.lists li .text{
    text-align:start !important;
}

.wp-block-button.is-style-outline > a.wp-block-button__link.wp-element-button{
    background-color: #fff7;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.18s ease-in-out;
}

.wp-block-button.is-style-outline > a.wp-block-button__link.wp-element-button:hover{
    background-color: #14b33c17;
}
