/*
Theme Name: namaban
Author: Mehran Hooshangi
Description: games, movies, news, video
Version: 5.2.0
*/

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/vazirmatn/webfonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn FD;
    src: url('fonts/vazirmatnFD/webfonts/Vazirmatn-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body{
    font-family: Vazirmatn FD, tahoma, serif !important ;
    font-weight:normal;
    --bs-body-font-weight:normal;
    margin: 0 auto;
    padding: 0;
    font-size: 14px;
    color: #000000;
}
.container-fluid {
    max-width: 1400px;
}
a {
    color: #000c50;
    text-decoration: none;
}
#bg-white a {
    color: #00328f;
}
h1, h2, h3 {
    font-weight: bold;
}

h4, h5, h6 {
    font-weight: 500;
}
a.nav-link {
    font-size: 1rem;
}
.h1, h1 {
    font-size: 1.3rem ;
    font-weight: bold;
}
.h2, h2 {
    font-size: 1.1rem ;
    font-weight: bold;
}
.h3, h3 {
    font-size: 1.08rem ;
}
.h4, h4 {
    font-size: 1.065rem ;
}
.h5, h5 {
    font-size: 1.05rem ;
}
.h6, h6 {
    font-size: 0.8rem ;
}
img {
    max-width: 100%;
    height: auto;
}
.article_content img {
    max-width: 100%;
    height: auto;
}
.article_content video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    display: block !important;
}

.article_content div {
    max-width: 100%;
    height: auto;
}

.header_logo img {
        max-width: fit-content;
}
.products-image  img {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}
.carousel-item  img {
    object-fit: cover;
}
#slider-top .carousel-item {
    aspect-ratio: 16/9; /* نسبت تصویر 800x450 */
}

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

.site-header{
    /*background-color: #8F172A !important;*/
    border-bottom: 2px solid #D82140;
    top: 0;
    z-index: 1000;
    transition: top .5s ease-in-out;
}
/*.site-header #nav1 {*/
/*    background-image: url('img/bg-gray.jpg') !important;*/
/*    background-repeat: round;*/
/*    background-attachment: local*/
/*}*/
.logo {
    width: 100px;
    max-width: unset;
}
.header_tools {
    display: flex;
    flex: 2;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}
.header_tools .header_tools_top {
    display: flex;
}
.header_tools .socials {
    display: flex;
    align-items: center;
    /*gap: 0.5rem;*/
}
.header_tools .header_tools_top time {
    padding: 0rem 0.5rem;
}
.line_limit {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}
.line_limit a {
    --line_limit: 2;
    font-size: 0.938rem;
}
.menu-item a i:before {
    padding-left: 0.5rem;
}
/*.menu-item a:before {*/
/*    content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fffa' class='bi bi-chevron-compact-left' viewBox='0 0 16 16'> <path fill-rule='evenodd' d='M9.224 1.553a.5.5 0 0 1 .223.67L6.56 8l2.888 5.776a.5.5 0 1 1-.894.448l-3-6a.5.5 0 0 1 0-.448l3-6a.5.5 0 0 1 .67-.223'/> </svg>");*/
/*}*/
/* فقط در دسکتاپ */
@media (min-width: 992px) {

    /* dropdown سطح اول */
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* زیرمنو (سطح دوم) */
    .navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        top: 0;
        right: 100%; /* اگر RTL هستی و میخوای سمت چپ باز شه */
        margin-top: -6px;
    }

    /* جلوگیری از پرش */
    .navbar .dropdown-menu {
        margin-top: 0;
    }
}

a.nav-link.dropdown-toggle {
    /*color: #000000;*/
}
/* رنگ متن و لینک‌های منوی موبایل داخل آف‌کانوس */
#mobileMenu,
#mobileMenu a {
    color: #fff !important;
}

/* رنگ لینک‌ها هنگام hover */
#mobileMenu a:hover {
    color: #ddd !important;
}

/* اگر زیرمنوها دارید */
#mobileMenu .sub-menu a {
    color: #fff !important;
}

.navbar  a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}
.navbar-toggler span {
    /*color: #000000 !important;*/
}
.menu-item {
    /*padding: 0.5rem 2rem;*/
}
@media (min-width: 992px) {
    .navbar .dropdown-submenu > .dropdown-menu {
        right: 100%;
        left: auto;
    }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-collapse.custom-zindex.show {
    z-index: 999999999;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 165, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.bg-bottom-header .navbar-nav li a{
    color: #fff;
}
.bg-top-header .navbar-nav li a:hover {
    color: #1f1448;
}
.bg-bottom-header .navbar-nav .menu-item a:hover,
.bg-bottom-header a#categoriesDropdown:hover {
    color: #D82140;
}
ul.dropdown-menu.show, ul.dropdown-menu {
    background-color: #363636;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: #ffa302 !important;
}
@media (max-width: 768px) {
    #mobileMenu .navbar-nav {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* تقسیم مساوی ستون‌ها */
        gap: 14px;
        padding: 15px;
        text-align: center;
    }

    #mobileMenu .navbar-nav li {
        list-style: none;
    }

    #mobileMenu .navbar-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;     /* هم اندازه شدن در عرض */
        height: 70px;    /* ارتفاع ثابت */
        border-radius: 12px;
        background: #618aff;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        transition: all 0.25s ease;
        text-align: center;
        white-space: normal;   /* اگر متن بلند بود به خط بعد بره */
    }

    #mobileMenu .navbar-nav a:hover {
        transform: scale(1.05) translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    }

    #mobileMenu .navbar-nav a:active {
        transform: scale(0.95);
    }
}

/* زیرمنو چندسطحی */
.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%; /* RTL */
    margin-top: -1px;
    display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a i {
    transition: transform .3s ease;
}
.dropdown-submenu:hover > a i {
    transform: rotate(-90deg);
}

/* آکاردئون موبایل */
.accordion-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.accordion-button {
    width: 40px;
    justify-content: center;
    padding: 0;
}
.accordion-button::after {
    background-image: none !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054"; /* فلش راست */
    transition: transform .3s ease;
}
.accordion-button:not(.collapsed)::after {
    content: "\f078"; /* فلش پایین */
}

/* زیرمنو در دسکتاپ */
.dropdown-submenu > .dropdown-menu {
    top: 0;
    right: 100%; /* برای RTL */
    margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-item i {
    font-size: .75rem;
}

/* فلش دسته‌ها در دسکتاپ */
.dropdown-item i {
    transition: transform .3s ease;
}

.dropdown-submenu:hover > a i {
    transform: rotate(-90deg); /* از راست به پایین */
}

/* فلش‌ها در موبایل (آکاردئون) */
.accordion-button::after {
    background-image: none !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054"; /* فلش راست */
    transform: rotate(0deg);
    transition: transform .3s ease;
    margin-right: auto;
}

.accordion-button:not(.collapsed)::after {
    content: "\f078"; /* فلش پایین */
    transform: rotate(0deg);
}

.navbar .dropdown-submenu .dropdown-toggle::after {
    display: none !important;
}
.bg-top-header {
    background-color: #fca404;
}

.bg-bottom-header {
    background-color: #181818;
    box-shadow: 0 2px 18px 0 #00000021;
}

.search-top-row {
    display: none;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
}

/* فرم و المان‌ها با flex */
.search-form-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    gap: 0; /* فاصله صفر تا بچسبد */
}

.search-input {
    flex: 1;
    height: 45px;
    border: 1px solid #ccc;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

.search-input:focus {
    border-color: #5e85ff;
    box-shadow: 0 0 5px rgba(94, 133, 255, 0.4);
}

/* دکمه ضربدر کنار input */
.search-top-close {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 0 25px 25px 0;
    background-color: #eee;
    cursor: pointer;
    padding: 0 15px;
    font-size: 24px;
    color: #333;
    transition: background 0.3s;
}

.search-top-close:hover {
    background-color: #ddd;
}

/* دکمه جستجو */
.search-submit {
    height: 45px;
    border-radius: 25px 0 0 25px;
    border: 1px solid #5e85ff;
    background-color: #5e85ff;
    color: #fff;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 576px) {
    .search-form-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-input, .search-top-close, .search-submit {
        border-radius: 25px;
        width: 100%;
    }
}
.search-container {
    position: relative;
}

.search-input {
    height: 50px;
    min-width: 27vw !important;
    border-radius: 30px;
    padding-left: 35px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
}
.search-box i {
    /*display: inline-block;*/
    /*font-size: 25px;*/
    /*color: #fff;*/
    /*-webkit-transition: .6s;*/
    /*transition: .6s;*/
    /*cursor: pointer;*/
}
.others-options .option-item .search-box {
    position: relative;
    top: 2px
}
.others-options .option-item .search-box i {
    display: inline-block;
    font-size: 25px;
    color: #ffffff;
    -webkit-transition: .6s;
    transition: .6s;
    cursor: pointer
}
.others-options .option-item .search-box i:hover {
    color: #D82140
}
.search-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    overflow: hidden
}
.search-overlay .search-overlay-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}
.search-overlay .search-overlay-layer:nth-child(1) {
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s
}
.search-overlay .search-overlay-layer:nth-child(2) {
    left: 0;
    background-color: rgba(0, 0, 0, .4);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s
}
.search-overlay .search-overlay-layer:nth-child(3) {
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    -webkit-transition: all .9s ease-in-out .6s;
    transition: all .9s ease-in-out .6s
}
.search-overlay .search-overlay-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    z-index: 2;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    -webkit-transition: all .9s ease-in-out 1.5s;
    transition: all .9s ease-in-out 1.5s;
    opacity: 0;
    visibility: hidden
}
.search-overlay .search-overlay-close .search-overlay-close-line {
    width: 100%;
    height: 3px;
    float: left;
    margin-bottom: 5px;
    background-color: #fff;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease
}
.search-overlay .search-overlay-close .search-overlay-close-line:nth-child(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}
.search-overlay .search-overlay-close .search-overlay-close-line:nth-child(2) {
    margin-top: -7px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}
.search-overlay .search-overlay-close:hover .search-overlay-close-line {
    background: #D82140;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}
.search-overlay .search-overlay-form {
    -webkit-transition: all .9s ease-in-out 1.4s;
    transition: all .9s ease-in-out 1.4s;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    z-index: 2;
    max-width: 500px;
    width: 500px
}
.search-overlay .search-overlay-form form {
    position: relative
}
.search-overlay .search-overlay-form form .input-search {
    display: block;
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 30px;
    padding-left: 20px;
    font-size: 16px;
    outline: 0;
    -webkit-transition: .6s;
    transition: .6s
}
.search-overlay .search-overlay-form form .input-search::-webkit-input-placeholder {
    -webkit-transition: .6s;
    transition: .6s;
    -webkit-columns: #6b6b84;
    columns: #6b6b84
}
.search-overlay .search-overlay-form form .input-search:-ms-input-placeholder {
    -webkit-transition: .6s;
    transition: .6s;
    columns: #6b6b84
}
.search-overlay .search-overlay-form form .input-search::-ms-input-placeholder {
    -webkit-transition: .6s;
    transition: .6s;
    columns: #6b6b84
}
.search-overlay .search-overlay-form form .input-search::placeholder {
    -webkit-transition: .6s;
    transition: .6s;
    -webkit-columns: #6b6b84;
    columns: #6b6b84
}
.search-overlay .search-overlay-form form .input-search:focus::-webkit-input-placeholder {
    color: transparent
}
.search-overlay .search-overlay-form form .input-search:focus:-ms-input-placeholder {
    color: transparent
}
.search-overlay .search-overlay-form form .input-search:focus::-ms-input-placeholder {
    color: transparent
}
.search-overlay .search-overlay-form form .input-search:focus::placeholder {
    color: transparent
}
.search-overlay .search-overlay-form form button {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 45px;
    color: #fff;
    height: 45px;
    border-radius: 50%;
    background-color: #D82140;
    -webkit-transition: .6s;
    transition: .6s;
    border: none;
    font-size: 20px;
    line-height: 45px;
    cursor: pointer
}
.search-overlay .search-overlay-form form button:hover {
    background-color: #212529;
    color: #fff
}
.search-overlay.search-overlay-active.search-overlay {
    opacity: 1;
    visibility: visible
}
.search-overlay.search-overlay-active.search-overlay .search-overlay-layer {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}
.search-overlay.search-overlay-active.search-overlay .search-overlay-close {
    opacity: 1;
    visibility: visible
}
.search-overlay.search-overlay-active.search-overlay .search-overlay-form {
    opacity: 1;
    visibility: visible
}
.search-overlay .search-overlay-close {
    left: 40px;
    right: auto
}
.search-overlay .search-overlay-form form .input-search {
    padding-right: 20px;
    padding-left: 0
}
.search-overlay .search-overlay-form form button {
    left: 5px;
    right: auto
}
.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
    flex-grow: 1;
}

/* Subcategory chips */
.subcat-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.subcat-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    border-radius:14px;
    background:#dcdcdc;
    color:#111;
    text-decoration:none;
    transition:transform .15s ease, background .15s ease;
}

.subcat-chip:hover{
    transform:translateY(-2px);
    background:#eef0f2;
}

.subcat-chip .name{
    font-weight:700;
    font-size:14px;
}

.subcat-chip .count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:22px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    font-size:12px;
    opacity:.85;
    padding:0 6px;
}

.section-title{
    display:flex;
    /*justify-content:center;*/
    margin:0;
    padding:8px 0;
    font-weight:800;
}

.section-title span{
    position:relative;
    display:inline-block;
    padding: 4px 11px;
    line-height:1.1;
}

/* چهار گوشه */
.section-title span::before,
.section-title span::after{
    content:"";
    position:absolute;
    width:8px;
    height:8px;
    border:2px solid #ff4d6d;
}

.section-title span::before{
    bottom: 0;
    left: 0;
    border-right: 0;
    border-top: 0;
}

.section-title span::after{
    top:0; right:0;
    border-left:0; border-bottom:0;
}

/* پایین‌ها با دو span اضافی (بدون JS) */
.section-title span i{
    position:absolute;
    width:12px;
    height:12px;
    border:2px solid #ff4d6d;
    bottom:0;
}

.section-title span i.left{
    left:0;
    border-right:0; border-top:0;
}

.section-title span i.right{
    right:0;
    border-left:0; border-top:0;
}

.underline-item{
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

.underline-item:last-child{
    border-bottom: 0 !important;
}


#section-slide .card-body{
    padding: 0 0.2rem 0 0 !important;
}
/* only for demo not required */
.box {
    height: 100%;
}
.bg-light-orange {
    background-color: #fff7e6 !important;
}
/* ===== Category Cards ===== */
.category-cards {
    --radius: 16px;
}

.cat-card {
    display: block;
    position: relative;
    min-height: 210px;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay);
    transition: opacity .25s ease;
}

.cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 10%, rgba(255,255,255,.15), transparent 55%);
    opacity: .9;
}

.cat-card__content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
}

.cat-card__meta {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .2px;
    opacity: .9;
    margin-bottom: 8px;
}

.cat-card__title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,.18);
}

.cat-card:hover::before {
    opacity: .9;
}

/* Mobile tweaks */
@media (max-width: 575px) {
    .cat-card {
        min-height: 170px;
    }
    .cat-card__title {
        font-size: 24px;
    }
}
/* Subcategory chips - desktop */
.subcat-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* Mobile: horizontal scroll like slider (no swiper) */
@media (max-width: 768px){
    .subcat-chips{
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
        gap: 10px;
    }

    .subcat-chips::-webkit-scrollbar{
        height: 6px;
    }
    .subcat-chips::-webkit-scrollbar-thumb{
        background: rgba(0,0,0,.15);
        border-radius: 20px;
    }

    .subcat-chip{
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

@media (max-width: 768px){
    .subcat-scroll::before,
    .subcat-scroll::after{
        content:"";
        position:absolute;
        top:0;
        bottom:0;
        width:22px;
        z-index:2;
        pointer-events:none;
    }

    .subcat-scroll::before{
        left:0;
        background: linear-gradient(to right, #fff, rgba(255,255,255,0));
    }

    .subcat-scroll::after{
        right:0;
        background: linear-gradient(to left, #fff, rgba(255,255,255,0));
    }
}

/* Category Header */
.cat-header{
    background: linear-gradient(135deg, #f7f8fa 0%, #ffffff 60%);
    border: 1px solid rgba(0,0,0,.05);
}

.cat-breadcrumb a{
    color:#555;
    text-decoration:none;
}
.cat-breadcrumb a:hover{
    text-decoration:underline;
}
.cat-breadcrumb .sep{
    margin:0 6px;
    opacity:.6;
}
.cat-breadcrumb .current{
    color:#111;
    font-weight:600;
}

.category_title{
    font-size: 26px;
}
@media (min-width: 768px){
    .category_title{
        font-size: 32px;
    }
}

.cat-count-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    background:#111;
    color:#fff;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
}

.cat-desc{
    color:#555;
    font-size:14px;
    line-height:1.9;
    max-width: 950px;
}


.social-media {
    display: inline-block;
}
.header_slide{
    --bs-bg-opacity: 0.1;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
    width: 100% !important;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    border-bottom-style: solid;
    border-top-style: solid;
    border-top-width:3px !important;
    border-bottom-width:1px !important;
    padding: .25rem 1rem .25rem 1rem !important;
}

.social-media p a {
    color: #999;
    font-size: 20px;
    margin-right: 15px;
    position: relative;
    color: #999;
}
.social-media p a:first-of-type {
    margin-right: 0;
}
.social-media p .login-icon {
    border: 3px solid #B2B2B2;
    background-color: #212631;
}
.social_list:focus, .social_list:hover {
    border-color: #4f4f4f;
}
.social_list:hover {
    background-color: #ffffff7d;
    color: #4f4f4f;
}

/* لازم: برای اینکه pseudo-element درست کار کنه */
#carouselExampleAutoplaying .carousel-item{
    position: relative;
}

/* overlay dissolve */
#carouselExampleAutoplaying .carousel-item::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:.5rem;

    background: linear-gradient(
            to top,
            rgba(0,0,0,.85) 0%,
            rgba(0,0,0,.55) 35%,
            rgba(0,0,0,.15) 60%,
            rgba(0,0,0,0) 100%
    );
}

/* کپشن روی عکس */
#carouselExampleAutoplaying .carousel-caption{
    z-index: 1;
}

.header_section {
    display: flex;
    border-inline-start: 4px solid #D82140;
    margin-bottom: 1rem;
    border-radius: 0.15rem;
    padding-top: 0.3rem;
    color: #000c50;
}
.header_section>.text {
    display: inline-flex;
    gap: 0.5rem;
    padding-inline-start: 0.5rem;
    align-items: center;
}
.no-padding {
    padding: 0;
}

.navbar {
    --bs-navbar-padding-y: 0.1rem;
}
.products-item .content {
    border: 1px solid #363636;
    background: #1c1c1c;
    padding: 0.15rem 0.3rem;;
    display: flex;
    flex-direction: column;
}
.products-item .current-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
 .play_icon {
    fill: #fff;
    position: absolute;
    border-radius: 50%;
    top: calc(50% - 20px);
    right: calc(48% - 20px);
    backdrop-filter: blur(4px);
    transition: 0.3s ease-in-out;
     width: unset;
     height: unset;
}
.bg-image {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}
.hover-zoom img,.hover-zoom video{transition:all .3s linear}
.hover-zoom:hover img,.hover-zoom:hover video{transform:scale(1.1)}
.owl-prev {
    position: absolute;
    top: -1%;
    left: -2%;
    width: 7%;
    height: 61%;
    display: block !important;
}
.owl-next {
    position: absolute;
    top: -1%;
    right: -2%;
    width: 7%;
    height: 61%;
    display: block!important;
}
.owl-prev i, .owl-next i {
    transform: scale(2,3);
    color: #ffffff;
    background-color: #0000004f;
    border-radius: 2px 2px 2px 2px;
}
#section40 .container-fluid {
    /*background-image: url('img/bg-iran.jpg') !important;*/
    /*background-repeat: round;*/
    /*background-attachment: local*/
}
#section40 .card {
    /*--bs-card-bg: unset;*/
    --bs-card-border-color:unset;
}
/* ============ single ============ */
.article_body .article_content a{
    color: rgb(79, 144, 250);
}
.article_body .article_content a:visited {
    color: rgb(13, 114, 147);
}
.breadcrumb-item.active {
    color: #d82140;
}
.breadcrumb-item a {
    color: #2f2f2f;
}
#short_link_copy {
    border: none;
    direction: ltr;
    color: #fff;
    cursor: pointer;
    font-size: .812rem;
    min-width: 220px;
    background-color: #272727;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
}
 .share_icons svg {
    width: 1.25rem;
     vertical-align: middle;
     height: auto;
}
.share_icons a {
    padding-left:1rem;
}
.share_icons button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #fff;
}
.audio, .video {
    background-color: #121518;
    padding: 0.75rem;
    width: 100%;
    border-radius: 1.25rem;
    margin: 1.25rem auto;
    text-align: center;
    clear: both;
    color: #fff;
}
.audio video, .video video {
    aspect-ratio: 16/9;
    border-radius: 1.25rem;
}
.video_info, .audio_info {
    margin-top: 8px;
    text-align: right;
    font-size: .875rem;
    text-align: center;
}
.video_info .divider, .audio_info .divider {
    color: #D82140;
    padding: 0 4px;
}

.posts-strip{
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

/* هر کارت */
.strip-item{
    flex: 0 0 220px;     /* عرض کارت در دسکتاپ */
    scroll-snap-align: start;
    min-width: 220px;
}

/* اسکرول‌بار قشنگ */
.posts-strip::-webkit-scrollbar{
    height: 7px;
}
.posts-strip::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.18);
    border-radius: 10px;
}
.posts-strip::-webkit-scrollbar-track{
    background: rgba(0,0,0,.06);
    border-radius: 10px;
}

/* موبایل: کارت بزرگ‌تر */
@media (max-width: 768px){
    .strip-item{
        flex: 0 0 72%;
        min-width: 72%;
    }
}

@media (max-width: 576px){
    /* اگر دوست داشتی بجای scroll افقی، grid باشه اینو فعال کن */
    /* .posts-strip{ display:grid; grid-template-columns: repeat(2, 1fr); } */
}
.drag-scroll{
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
}

.drag-scroll:active{
    cursor: grabbing;
}

/* انتخاب متن داخل کارت هنگام درگ اذیت نکنه */
.drag-scroll a,
.drag-scroll img{
    user-select: none;
    -webkit-user-drag: none;
}
/* ===== Video Block Layout ===== */
#section30 .video-block{
    background: #0f121a !important;
}

/* header */
#section30 .section-title span{
    color:#fff;
    font-weight: 900;
}
#section30 .section-more{
    color: rgba(255,255,255,.75);
    font-size: 13px;
    text-decoration: none;
}
#section30 .section-more:hover{ color:#fff; }

/* ===== HERO ===== */
#section30 .video-hero-thumb{
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
#section30 .video-hero-thumb img{
    border-radius: 14px;
    width:100%;
    display:block;
    transition: transform .25s ease;
}
#section30 .video-hero-link:hover img{
    transform: scale(1.02);
}

/* dissolve */
#section30 .video-hero-gradient{
    position:absolute;
    inset:0;
    pointer-events:none;
    background: linear-gradient(
            to top,
            rgba(0,0,0,.92) 0%,
            rgba(0,0,0,.55) 45%,
            rgba(0,0,0,0) 80%
    );
}

/* play */
#section30 .video-hero-play{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:3;
    pointer-events:none;
}
#section30 .video-hero-play i{
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(0,0,0,.45);
    color:#fff;
    font-size: 20px;
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(4px);
}

/* caption */
#section30 .video-hero-caption{
    position:absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index:4;
    color:#fff;
}
#section30 .video-hero-title{
    margin:0 0 6px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
#section30 .video-hero-meta{
    font-size: 12px;
    opacity: .9;
    display:flex;
    align-items:center;
    gap: 8px;
}
#section30 .video-hero-meta .dot{
    opacity:.7;
}

/* ===== LIST ===== */
#section30 .video-list{
    display:flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

/* item */
#section30 .video-list-item{
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    transition: background .2s ease;
}
#section30 .video-list-item:hover{
    background: rgba(255,255,255,.07);
}
#section30 .video-list-link{
    display:flex;
    gap: 10px;
    padding: 8px;
    color:#fff;
    text-decoration:none;
}

/* thumb */
#section30 .video-list-thumb{
    width: 96px;
    min-width: 96px;
    position: relative;
}
#section30 .video-list-thumb img{
    width:100%;
    height:auto;
    display:block;
}
#section30 .video-mini-play{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}
#section30 .video-mini-play i{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.20);
    font-size: 12px;
}

/* body */
#section30 .video-list-title{
    margin:0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
}
#section30 .video-list-meta{
    font-size: 12px;
    opacity: .8;
    margin-top: 6px;
}

/* موبایل: لیست زیر هیرو */
@media (max-width: 992px){
    #section30 .video-hero-title{
        font-size: 18px;
    }
    #section30 .video-list-thumb{
        width: 86px;
        min-width: 86px;
    }
}

.comments-area {
    margin-top: 30px
}
.comments-area .comments-title {
    margin-bottom: 30px;
    line-height: initial;
    font-size: 30px
}
.comments-area ol, .comments-area ul {
    padding: 0;
    margin: 0;
    list-style-type: none
}
.comments-area .comment-list {
    padding: 0;
    margin: 0;
    list-style-type: none
}
.comments-area .children {
    border-inline-start: 1px solid #024cf7;
    padding-right: 1rem;
    margin: 2rem
}
.comments-area .comment-body {
    padding: 30px 95px 30px 30px;
    color: #212529;
    margin-bottom: 40px;
    position: relative;
    background-color: #f9f9f9;
    border-radius: 5px
}
.comments-area .comment-body .reply {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1
}
.comments-area .comment-body .reply a {
    border: 1px dashed #ded9d9;
    color: #221d48;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    -webkit-transition: .6s;
    transition: .6s
}
.comments-area .comment-body .reply a:hover {
    background-color: #ffc107;
    border: 1px solid #ffc107;
    color: #fff
}
.comments-area .comment-author {
    font-size: 15px;
    margin-bottom: .3em;
    position: relative
}
.comments-area .comment-author .avatar {
    height: 120px;
    right: -140px;
    position: absolute;
    width: 120px;
    border-radius: 5px
}
.comments-area .comment-author .fn {
    font-weight: 600;
    font-size: 20px
}
.comments-area .comment-metadata {
    margin-bottom: .8em;
    color: #6b6b84;
    letter-spacing: .01em;
    font-size: 14px;
    font-weight: 300
}
.comments-area .comment-metadata a {
    color: #6b6b84
}
.comments-area .comment-metadata a:hover {
    color: #ffc107
}
.comments-area .comment-respond {
    margin-top: 30px
}
.comments-area .comment-respond .comment-reply-title {
    margin-bottom: 30px;
    font-size: 30px
}
.comments-area .comment-respond .comment-form .form-group {
    margin-bottom: 15px
}
.comments-area .comment-respond .comment-form .form-group .form-control {
    display: block;
    width: 100%;
    height: 70px;
    outline: 0;
    background-color: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 15px;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 10px 25px;
    -webkit-transition: .6s;
    transition: .6s;
    font-size: 16px;
    font-weight: normal
}
.comments-area .comment-respond .comment-form .form-group .form-control::-webkit-input-placeholder {
    color: #6b6b84;
    -webkit-transition: .6s;
    transition: .6s
}
.comments-area .comment-respond .comment-form .form-group .form-control:-ms-input-placeholder {
    color: #6b6b84;
    -webkit-transition: .6s;
    transition: .6s
}
.comments-area .comment-respond .comment-form .form-group .form-control::-ms-input-placeholder {
    color: #6b6b84;
    -webkit-transition: .6s;
    transition: .6s
}
.comments-area .comment-respond .comment-form .form-group .form-control::placeholder {
    color: #6b6b84;
    -webkit-transition: .6s;
    transition: .6s
}
.comments-area .comment-respond .comment-form .form-group .form-control:focus {
    outline: 0;
    background-color: #fff;
    border-color: #ffc107;
    -webkit-box-shadow: none;
    box-shadow: none
}
.comments-area .comment-respond .comment-form .form-group .form-control:focus::-webkit-input-placeholder {
    color: transparent
}
.comments-area .comment-respond .comment-form .form-group .form-control:focus:-ms-input-placeholder {
    color: transparent
}
.comments-area .comment-respond .comment-form .form-group .form-control:focus::-ms-input-placeholder {
    color: transparent
}
.comments-area .comment-respond .comment-form .form-group .form-control:focus::placeholder {
    color: transparent
}
.comments-area .comment-respond .comment-form .form-group textarea.form-control {
    height: 150px;
    padding: 25px;
    line-height: 1.5rem
}
.comments-area .comment-respond .comment-form .default-btn {
    border: none;
    margin-top: 10px
}
#commentform .error  { color: #FF0000; }
#commentform input.error, #commentform textarea.error { background: #FFD2D2; color:#000000; }
div.comment div p {padding-right: 30px;}
.add-comment-plus-x {
    font-size: 24px;
    line-height: 1px;
    margin-left: 0;
    transform: translateY(3px) translateX(-2px) rotate(45deg);
}
.comments-area .children {
    margin-right: 0
}
.comments-area .comment-author .avatar {
    height: 80px;
    width: 80px;
    right: -90px
}
.comments-area .comment-body {
    padding: 30px 100px 30px 30px
}
.comments-area .comment-body .reply {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 15px
}
.comments-area .comments-title {
    font-size: 20px
}
.comments-area .comment-respond .comment-reply-title {
    font-size: 20px
}
.comments-area p {
    font-size: 14px
}
.comments-area .comment-body .reply a {
    font-size: 12px
}
.sub-data {
    color: rgb(173 173 173) !important;
    font-size: .775em;
}

#album_page_article .short-link {
    padding: 10px 0;
    width: 150px;
}
#album_page_article .short-link .short-link-inner {
    position: relative;
    width: 100%;
    color: #bdbdbd;
}
#album_page_article .short-l-copy {
    border: 1px solid #bdbdbd;
    border-right: 4px solid #bdbdbd;
    padding: 6px;
    display: inline-block;
    width: 150px;
    border-radius: 7px;
    font-size: 0.750rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#album_page_article .short-link .copied {
    border-radius: 7px;
    font-size: 0.875rem;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 6px;
    display: none;
    border: 1px solid #bdbdbd;
    border-right: 4px solid #bdbdbd;
    animation: fade-in-out 2s ease-in-out;
    background-color: #2f2f2f;
}
iframe {
    width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
    aspect-ratio: 16/9;
}
.wp-pagenavi {
    clear: both;
    padding:0px 5px 15px 5px;
    direction:rtl
}
.wp-pagenavi h3 {
    font-weight:normal
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #ECE9D8;
    padding: 1px 6px;
    float :right;
    margin: 2px;
    -moz-border-radius: 3px;
}
.wp-pagenavi span.current {
    background:#ffffff;
    color:#666666;
    border: 1px solid #ECE9D8;
}
.wp-pagenavi a:hover {
    background:#e20030;
    border-color: #87001d;
    color:#ffffff
}
.wp-pagenavi span.current {
    font-weight: bold;
}
.wp-pagenavi .active_page {
    display: block;
}
.writer-hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.writer-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
    margin-bottom: 20px;
}
.writer-bio {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.post-card {
    transition: all 0.3s ease;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
/*.article_body blockquote{*/
/*    padding: 4px 20px 1px;*/
/*    position: relative;*/
/*    float: left;*/
/*    margin: 1px 12px;*/
/*    text-align: justify;*/
/*    border-left: 4px solid #428bca;*/
/*    border-top-left-radius: 30px;*/
/*    border-bottom-left-radius: 30px;*/
/*    border-right: 4px solid #428bca;*/
/*    border-top-right-radius: 30px;*/
/*    border-bottom-right-radius: 30px;*/
/*}*/
blockquote{
    display:block;
    background: #dddddd;
    padding: 20px 45px 3px 20px;
    /*margin: 0 0 20px;*/
    position: relative;
    /*font-family: Georgia, serif;*/
    font-size: 16px;
    line-height: 1.2;
    /*color: #666;*/
    text-align: justify;
    border-left: 2px solid #c76c0c;
    border-right: 15px solid #c76c0c;

}

blockquote::before{
    content: "\201C"; /*Unicode for Left Double Quote*/

    /*Font*/
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: bold;
    color: #999;

    /*Positioning*/
    position: absolute;
    right: 10px;
    top:5px;
}

blockquote::after{
    /*Reset to make sure*/
    content: "";
}

blockquote a{
    text-decoration: none;
    /*background: #eee;*/
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}

blockquote a:hover{
    color: #666;
}

blockquote em{
    font-style: italic;
}
.sticky_notify {
    position: fixed;
    bottom: 3rem;
    right: 1rem;
    width: 220px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 777;
    transition: all 0.4s ease;
}

.sticky_notify .btn-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.sticky_notify .btn-close:hover {
    background-color: #000;
    color: #fff;
    opacity: 1;
}


.notify_card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #000;
}

.notify_image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.notify_text {
    padding: 0.5rem;
}
.notify_text,
.notify_text a,
.notify_text h6 {
    color: #000 !important;
}

.notify_text a:hover {
    color: #000;
    text-decoration: underline;
}
.notify_title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.gform-theme--framework .gfield_list_group_item::before:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    --gf-local-color: #ffffff !important;
}

/* ===== Image Ratios (iOS safe) ===== */
.thumb-ratio {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f2f2f2;
}

.thumb-16x9 {
    aspect-ratio: 16 / 9;
}

.thumb-1x1 {
    aspect-ratio: 1 / 1;
}

.thumb-ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ footer ============ */
.site-footer{
    border-top: 4px solid #D82140;
    z-index: 1000;
    transition: top .5s ease-in-out;
}
.site-footer a, .site-footer p {
    color: #ffffff;
}
.site-footer a i{
    color: #999;
}

#mobile-footer {
    background-color: #0a0a0a;
    position: fixed;
    bottom: 0;
    z-index: 120;
}
#mobile-footer a {
    color: #D82140 !important;
}
#desktop-footer .img_footer {
    /* width: 55px; */
    height: 70px;
}
#breakingNewsModal {
    background-color: rgba(0, 0, 0, 0.7);
}

#breakingNewsModal .modal-dialog {
    max-width: 500px;
}

#breakingNewsModal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

#breakingNewsModal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: #fff;
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
}

#breakingNewsModal .modal-content-details {
    background-color: #fff;
}

#breakingNewsModal .modal-title {
    color: #333;
}

#breakingNewsModal .timer-text {
    font-size: 14px;
    color: #666;
}

#breakingNewsModal .timer-text #countdown {
    font-weight: bold;
    color: #d9534f;
}
.modal.fade {
    z-index: 99999 !important;
}

.modal-backdrop.fade.show {
    z-index: 99998 !important;
}
.top-news-box {
    background: #f8f8f9;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
    border-right: 4px solid #0073aa;
    padding-right: 8px;
}

.top-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.top-news-item:last-child {
    border-bottom: none;
}

.top-news-item a {
    text-decoration: none;
    color: #0073aa;
    transition: color 0.2s ease;
}

.top-news-item a:hover {
    color: #005177;
}

.top-news-date {
    font-size: 13px;
    color: #777;
}
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .socials a:last-child {
        border-inline-end: 1px solid gray;
    }
    .navbar-nav {
        display: flex;
        /*gap: 0.7rem;*/
    }
    .search-overlay .search-overlay-form {
        max-width: 420px;
        width: 420px
    }
}
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px){
    .search-overlay .search-overlay-form {
        max-width: 300px;
        width: 300px
    }
    .menu-item {
        padding: 0.5rem 2rem;
    }
    .navbar-collapse {
        padding-top: 20px;
    }
    .header_tools {
        justify-content: center !important;
    }
    #desktop-footer {
        margin-bottom: 30px;
        padding-bottom: 1.5rem !important;
    }
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
        overflow-y: auto;
        max-height: 90vh;
        margin-top:10px;
    }
    .logo {
        width: 118px;
        max-width: unset;
    }
    .header_tools {
        gap: 0;
    }
    .header_tools .header_tools_top time {
         padding: 3px;
    }
  
    .carousel-caption2 {
        padding: 0;
        top: 53%;
        left: 33%;
        transform: translateX(-30%) translateY(-50%);
    }
    .carousel-caption2 h2 {
        font-size: 1.2rem;
    }
    .carousel-caption2 p {
        font-size: 0.9rem;
    }
    .carousel-arrows {
        width: 35px;
        height: 35px;
    }
    .carousel-caption2 .current-date {
        margin-bottom: 0;
        padding: 0 1rem;
    }
    .carousel-caption2 .more_news {
        margin-top: 1rem;
    }
}
@media screen and (max-width: 479px) {
    .tapsell-notification-photo {
        bottom: calc(var(--tapsell-notification-photo-spacer) * 12) !important;
    }
    .sticky_notify {
        right: 0;
        left: 0;
        bottom: 0.5rem;
        width: calc(100% - 1rem);
        margin: 0 auto;
        border-radius: 0.75rem;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
        padding: 0;
    }

    .notify_card {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        text-decoration: none;
        color: inherit;
    }

    .notify_text {
        width: 60%;
        padding: 0.75rem;
        text-align: right;
    }

    .notify_image {
        width: 40%;
        display: block;
        overflow: hidden;
    }

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

    .notify_title {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.3;
        font-weight: 600;
    }
    .sticky_notify {
        bottom: 8.5rem !important;
    }

}
/* ============ mobile view .end// ============ */

