@import url('../fonts/dana/css/dana.css');
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/iransans/woff/IRANSansX-Thin.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Thin.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/iransans/woff/IRANSansX-UltraLight.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/iransans/woff/IRANSansX-Light.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Light.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/iransans/woff/IRANSansX-Medium.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Medium.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/iransans/woff/IRANSansX-DemiBold.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-DemiBold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/iransans/woff/IRANSansX-ExtraBold.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/iransans/woff/IRANSansX-Black.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Black.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/iransans/woff/IRANSansX-ExtraBlack.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-ExtraBlack.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 1000;
    src: url('../fonts/iransans/woff/IRANSansX-Heavy.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Heavy.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/iransans/woff/IRANSansX-Bold.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/iransans/woff/IRANSansX-Regular.woff') format('woff'),
    url('../fonts/iransans/woff2/IRANSansX-Regular.woff2') format('woff2');
}

body {
    font-family: dana, sans-serif;
/*    background-color: #f5f7fa;*/
    text-decoration: none;
}
*{
    text-decoration: none !important;
}
#mainNav {
    transition: background-color 0.3s;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.main{
    position: relative;
}
.navbar-nav li,.navbar-nav li a{
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 50px;
}
.navbar-nav li a:hover{
    color: #ff652d;
}

.navbar-nav .dropdown-menu-custom{
    border: none;
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 7%);
    position: absolute;
    background-color: #fff;
    border-radius: 12px;
    list-style: unset;
    color: #686868;
    padding-top: 16px;
    padding-bottom: 16px;
    min-width: 230px;
    top: 100%;
    width: 230px;
}
.submenu{
    top: 50px !important;
}
.navbar-nav .dropdown-menu-custom li a{
    color: #686868;
}
.nav-link:hover{
    background-color:rgba(202, 208, 217, .25);
    border-radius:8px;
}
.nav-item:hover > .dropdown-menu-custom {
    display: block;
}
.dropdown-item:hover > .dropdown-menu-custom{
    display: block;
}
.submenu{
    right: 100%;
    top: 0;
}

.bg-custom-dark{
    background-color: #f8f8f8;
}
.latest-posts .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}
form.input-group {
    overflow: hidden;
    background-color: #fff;
}

form.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.main-color {
    color: #ff652d !important;
}

.bg-main-color {
    background-color: #ff652d !important;
}

.border-main-color {
    border-color: #ff652d !important;
}

form.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#form-search{
    border: 1px solid #e0e5eb;
    box-shadow: 0 0.5rem 2rem -0.25rem hsla(216, 9%, 44%, .1);
}
.post-top-right{
    border-radius: 1rem;
    overflow: hidden;
}
.post-top-right  .posts-thumb{
    overflow: hidden;
    height: 180px;
    border-radius: 1rem;
}
.post-top-right .post-content{
    top: 0;
    right: 0;
    width: 53%;
}
.overlay-before{
    display: block;
}
.post-top-right .overlay-before:before {

    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(61, 61, 61, 1) 100%);
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 16px;
}
.post-top-right  .overlay-before img{
    width: 100%;
    height: auto;
}
.post-top-right .post-content .post-title a{
    color: #fff;
    font-size: 14px;
}
.post-top-right .post-meta {
    font-size: 9px;
    color:#fff;
    font-weight: 800;
    margin: 0 4px;
}
.post-top-right .post-meta svg{
    stroke: #fff;
}
.post-top-right .post-excerpt-content p {
    color: #cad4d7;
    font-size: 9px;
    line-height: 22px;
    font-weight: 400;
}
.post-top-right .post-content .post-readmore{
    border-top: 1px rgba(255, 255, 255, .25) dashed;
}
.post-top-right .post-content .post-link{
    font-size: 11px;
    font-weight: 800;
    color:#fff;

}
.post-top-left{
    min-height: 1px;
    height: 380px;
    border-radius: 1rem;
    overflow: hidden;
}
.post-top-left  .posts-thumb{
    overflow: hidden;
    height: 100%;
}
.bottom-0{
    bottom: 0;
}
.post-top-left .post-content .post-title a{
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}
.post-top-left .post-meta{
    font-size: 9px;
    color:#fff;
    margin-bottom: 5px;
}
.post-top-left .overlay-before:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(61, 61, 61, 1) 100%);
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 16px;
}
.post-top-left .post-content{
    width: 100%;
}
.post-top-left .post-content .post-readmore{
    border-top: 1px rgba(255, 255, 255, .25) dashed;
}
.post-top-left .post-content .post-readmore,.post-top-left .post-content .post-readmore a{
    font-size: 11px;
    color: #fff;
    font-weight: 800;
}

/********CATEGORY PAGE NEW*************/
.category-bg{
    background-color: #f5f5f5;
}
.post-right-box{
    gap: 8px;
}
.post-box{
    display: flex;
}
.post-box .post-image{
    width: 100%;
    min-width: 220px;
    max-width: 14rem;
    position: relative;
    border-radius: 1rem;
    margin-left: -10rem;
}
.post-box .post-image a{
    display: block;
}

.post-box .post-image a img {
    width: 100%;
    height: 249px;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: .5s;
    border-radius: 1rem;
}
.post-box .post-image a img {
    height: 100%;
}
.post-box .post-content-full{
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 1.25rem 11rem 1.25rem 1.25rem;

}
.post-box .post-box-title,.post-box .post-box-title a{
    line-height: 1.2;
    margin-bottom: 15px;
    position: relative;
    font-size: 18px;
    color: #111827;
    font-weight: 700;

}
.post-box .post-box-excerpt-box p{
    color: #7A7A7A;
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 15px;
    font-weight: 400;
}
.post-meta-list{
    margin-top:25px;
}
.post-meta-list .post-meta {
    font-size: 10px;
    color: #999;
    margin-left: 1em;
}
.block-widget{
    padding: 30px;
}
#form-search-inner{
    border-radius: 1rem;
    display: flex;
    gap: 20px;
}
#form-search-inner #search-input{
        -webkit-appearance: textfield;
        outline-offset: -2px;
        border-radius: 12px;
        background-color: #ffffff;
        height: 50px;
        padding: 6px 15px;
        border: 1px solid #E4E4E4;
        outline: 0;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        color: inherit;
        font-size: 15px;
        appearance: none;
        flex-grow: 1;
        margin-left: 0;
        margin-right: 0;
        min-width: 3rem;
        text-decoration: unset !important;
}
.title-block-box span:nth-child(1){
    color: #ff652d;
    font-size: 16px;
    font-weight: 800;
    margin: 0px 0px 0px 2px !important;
}
.title-block-box span:nth-child(2) {
    font-size: 16px;
    font-weight: 600;
    color: #020202;
}
#search-btn{
    position: relative;
    width: auto;
    font-weight: 600;
    font-size: 13px;
    padding: 0 20px;
    border-radius: 12px;
}
.block-search{
    border-radius: 1rem;
}
.latest-posts-block{
    border-radius: 1rem;
}
.post-thumb-round{
    width: 86px;
    padding-left: 8px;
}
.post-thumb-round a{
    display: block;
    width: 86px;
}
.post-thumb-round a img{
    border-radius: 100%;
    border: 3px solid rgb(172 172 172 / 40%);
    width: 100%;
    height: 86px;
    display: block;
    object-fit: cover;
    transition: .3s;
}
.post-right-title,.post-right-title a{
    font-size: 13px;
    font-weight: 800;
    color: #606060;
}
.post-right-excerpt-box{
        font-size: 11px;
        line-height: 24px;
        font-weight: 400;
        color: #9F9F9F;

}
 .post-cat {
    font-size: 9px;
    font-weight: 800;
    padding: 4px;
    line-height: 12px;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}

.ml-1 {
    margin-left: 0.25rem;
}
.slider-meta-left-author img {
    width: 100%;
    border-radius: 100% !important;
    max-width: 26px;
}
.post-author-name{
    font-size: 0.75rem;
    line-height: 1rem;
}
.post-author-name a{
    font-size: 0.75rem;
    line-height: 1rem;
    color: #999;
}
.post-meta-box {
    display: flex;
    align-items: center;
    line-height: 1;
    font-size: 10px;
    color: #999;
}
.category-slider{
    min-height:70px;
/*    background-color: #fff;*/
    position: relative;
}
.category-slider .swiper-button-next,
.category-slider .swiper-button-prev {
    display: none !important;
}
.swiper-pagination-bullet-active {
    background: #fe7b40 !important;
}
.swiper-container {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.category-link {
    text-decoration: none;
    color: inherit;
}

.category-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.category-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}
.categories-title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.right-seprator,.left-seprator{
    width: 40%;
    border-bottom: solid 1px #e1e1e1;
}
.category-title h2{
        font-size: 18px;
        font-weight: 800;
        color: #ff652d !important;
        margin: 0 0 0 2px !important;
}
.category-title p{
        font-size: 18px;
        font-weight: 300;
        color: #272727;
}
#category-swiper-slide .swiper-slide,#category-swiper-slide .swiper-slide a,#category-swiper-slide .swiper-slide a h3{
    background-color:unset;
    font-size: 12px;
}
#category-swiper-slide{
    height: 70px;
}
#category-swiper-slide a{
    font-size: 9px !important;
    min-width: 78px;
    display: block;
    height: 36px;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    color: #ff652d;
    border: 1px solid #ff652d;
}
#category-swiper-slide a h3{
    font-size: 9px !important;
    text-align: center;
    color: #ff652d;
}
#category-swiper-slide a:hover{
    font-size: 9px !important;
    min-width: 78px;
    display: block;
    height: 36px;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    color: #ff652d;
    border: 1px solid #ff652d;
}
/********SINGLE PAGE*****************************************/
.summary-post{
/*    height: 24rem;*/
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
section.summary-post.img-overlay:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        transition: .3s all ease;
        backdrop-filter: blur(20px);
        background: linear-gradient(to bottom, transparent -20%, #000);

}
.single-header{
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        position: relative;
        align-items: center;
        display: flex;
        justify-content: space-between;
}
.post-header-title{
        word-break: break-word;
        color: rgba(255, 255, 255,1);
        font-size: 1.5rem;
        line-height: 2rem;
        margin-top: .5rem;
        font-weight: 400;
        text-transform: none;
}
.single-post-excerpt-box{
        line-height: 1.75rem;
        font-weight: 400;
        font-size: .875rem;
        color: rgba(229,229,229, 1) !important;


}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}
.single-image{
    border-radius: .5rem;
}
.single-header .post-author-name{
    color: #fff;
}
/* اطمینان از محدود شدن استایل‌ها به parent با کلاس category */
.category .swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 350px;
}

.category .swiper-wrapper {
    display: flex;
}

.category .swiper-slide {
    flex: 1 0 auto;
    max-width: 100%;
    text-align: center;
}
.categorySwiper .swiper-button-prev, .categorySwiper .swiper-button-next{
    height: 40px;
    width: 40px;
    border: 1px solid #e0e5eb;
    border-radius: 100%;
    background-color: #fff;
}
.categorySwiper .swiper-button-prev {
    right: 92%;
    top: 90%;
}
.categorySwiper .swiper-button-next {
    right: 96%;
    top: 90%;
}
.categorySwiper .swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 16px;
    color: #333d4c;
}


.heading-font-color a{
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}
.text-color{
    color:#4e5562;
}
.text-justify {
    text-align: justify;
}


.category-box {
    background-color: #f8f9fa; /* رنگ پس‌زمینه */
    border-radius: 10px;
    padding: 20px;
    height: 200px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.category-box a{
    text-decoration: none;
}



.category-icon {
    width: 80px; /* عرض آیکون */
    height: auto; /* متناسب با عرض */
    margin-bottom: 10px;
}

.category-box h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.category-box p {
    font-size: 0.9rem;
    color: #6c757d;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.date-container {
    text-align: center;
    color: #4a4a4a;
    border-left: 1px solid #E0E5EB;
}
.date-day, .date-year,.date-month {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #fff;
    text-shadow: 1px 1px 0 #333d4c, -1px 1px 0 #333d4c, -1px -1px 0 #333d4c, 1px -1px 0 #333d4c;
}
.date-month{
    font-family: dana , sans-serif;
}
.date-month-year {
    font-size: 18px;
    color: #7a7a7a;
    margin-top: 5px;
}
.fs-sm {
    font-size: 0.7rem !important;
}
.latest-blog .card{
    border: 3px solid #fff;
    min-height: 300px;
    height: 325px !important;
}
.latest-blog .card .card-body{
    background-color:#f5f7fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}
.latest-blog .card .card-title a {
    font-size: 14px;
    font-weight: bold;
    transition: all 0.5s;
    text-decoration: none;
    color: #111827;
    text-align: justify;
}
.latest-blog .card .card-text{
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
}
.latest-blog .card .card-title a:hover{
    color: #ff5721;
}
footer,#footerLinks .accordion-item{
    background-color:#111827;
}
#footerLinks .nav-link{
    font-size: 14px;
}
#footerLinks .nav-link:hover{
    background-color: unset;
}
.footer-icon{
    padding-left: 18px;
}

.rotate{
    transform: rotate(253deg);
}
#news-latter input{
    border:none;
    background-color: rgba(255, 255, 255, 0.09);
    border-radius: unset;
}
#news-latter button{
    background-color: #ff652d;
    color: #fff;
    border: unset;
    border-radius: unset;
}

.section-heading a{
    text-decoration: none;
}

.category-desc{
    font-size: 14px;
    text-align: justify;
}
.text-container {
    max-height: 100px; /* ارتفاع اولیه */
    overflow: hidden;
    transition: max-height 0.3s ease; /* انیمیشن تغییر ارتفاع */
}

.text-container.expanded {
    max-height: 500px; /* ارتفاع کامل */
}
#category-summary{
    margin-top: 24px;
    border-radius: 16px;
    border-bottom: 4px solid #ff652d;
}
.toggle-btn {
    background-color: transparent;
    color: blue;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    margin: 10px auto;
    display: block;
    border: 1px solid #ff652d;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border-bottom: 4px solid #ff652d;
    transition: all 0.3s;
}
.toggle-btn:hover {
    border-bottom: 1px solid #ff652d;
}
.breadcrumb-box{
    border-bottom: 1px solid #dee3ea;
}
.breadcrumb-item>a {
    color: #9fadc0;
    text-decoration: none;
    transition: color .2s ease-in-out;
}
.breadcrumb-item.active{

        font-size: 16px;
        color: #0e4586;
        align-items: center;
        padding: 16px;
        margin-bottom: 0;

}
.breadcrumb-box .breadcrumb{
    align-items: center;
}
.category-page{
    padding-bottom: 24px;
}
.cat-name{
    text-decoration: none;
}
.radius-full{
    border-radius: 24px;
}
.post-title h1{
    font-size: 25px;
    font-weight: bold;
    line-height: 1.7;
    color: #2e3641;
    margin: 20px 0 0 !important;
}
.post-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* دو ستون مساوی */
    gap: 1rem; /* فاصله بین آیتم‌ها */
    align-items: center; /* مرتب‌سازی عمودی آیتم‌ها */
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center; /* مرتب‌سازی متن و آیکون */
    gap: 0.5rem; /* فاصله بین آیکون و متن */
}
.meta-item i {
    color: #007bff; /* رنگ آیکون */
    font-size: 16px; /* اندازه آیکون */
}

.post-text{
    color: #2e3641;
    font-size: 16px !important;
    line-height: 2;
}
.post-author{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #2e3641;
}
.author-box {
    margin: 60px 0 40px;
    border-top: 1px dashed rgba(46, 54, 65, 0.2);
    padding-top: 40px;
    align-items: start;
}
.related-posts{
    border-top: 1px dashed rgba(46, 54, 65, 0.2);
    padding-top: 48px;
}
.title-posts-page{
    font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.682), 20px);
}
.related-posts a {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #2e3641;
    text-decoration: none;
    display: inline-block;
}
.related-posts a.author-name {
    font-size: 16px;
    font-weight: 500;
    color: #7589a4;
    text-decoration: none;
    border-right: solid 3px #c9d1dc;
    padding-right: 12px;
}
.tbc-title{

    border-bottom: 1px dashed rgba(46, 54, 65, 0.2);

}
.tbc-title span{
    font-size: 18px;
    line-height: 1.7;
    color: #ff652d;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-weight: bold;

}
#table-of-contents {
    border-radius: 24px; /* گرد کردن گوشه‌های کارت */
    background-color: #f8f9fa; /* رنگ پس‌زمینه */
}

#table-of-contents .card-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(46, 54, 65, 0.2);
    padding-top: 15px;
    color: #ff652d;
}

#table-of-contents .list-group-item {
    border: none; /* حذف خطوط جداکننده بین آیتم‌ها */
    padding: 10px 15px; /* فاصله داخلی آیتم‌ها */
    font-size: 14px; /* اندازه فونت آیتم‌ها */
    color: #333; /* رنگ متن */
    transition: background-color 0.3s ease; /* انیمیشن برای هاور */
}

#table-of-contents .list-group-item:hover {
    background-color: #e9ecef; /* تغییر رنگ پس‌زمینه هنگام هاور */
}

#table-of-contents .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff652d;
    display: inline-block;
}
#table-of-contents .card-body{
    background-color:#fff;
    border-radius: 24px;
}
#comment-form label{
    text-align: right;
}
.custom-input {
    height: 49px !important;
    border-radius: 4px;
    border: solid 1px #c9d1dc;
    direction: rtl;
}

.custom-button {
    color: #FF5723;
    border: 1px solid #FF5723;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-button:hover {
    background-color: #FF5723;
    color: #fff;
}

.text-center button {
    display: inline-block;
    margin: 0 auto;
}
.footer-menu ul li a{
    text-decoration: none;
}
.post-middle-img{
    border-radius: 16px;
    height: 120px;
}
.search-icon{
    cursor: pointer;
}
#form-search-modal {
    border-radius: 1rem;
    display: flex;
}
#form-search-modal #search-btn-popup {
    position: relative;
    font-weight: 600;
    font-size: 13px;
    width: 60px;
    height: 54px;
    border: 0;
    border-radius: 0 8px 8px 0;
    color: #fff;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    padding: 0;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}
#form-search-modal #search-input {
    -webkit-appearance: textfield;
    outline-offset: -2px;
    border-radius: 12px;
    background-color: #ffffff;
    height: 50px;
    padding: 6px 15px;
    border: 1px solid #E4E4E4;
    outline: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    color: inherit;
    font-size: 15px;
    appearance: none;
    flex-grow: 1;
    margin-left: 0;
    margin-right: 0;
    min-width: 3rem;
    text-decoration: unset !important;
}
#search-top .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: unset;
    background-clip: padding-box;
    border: unset;
    border-radius: unset;
    outline: 0;
}
#search-top .modal-dialog {
    max-width: 700px;
    width: 700px;

}
#search-top .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: var(--bs-modal-header-padding);
    border-bottom: unset;
    border-top-right-radius: var(--bs-modal-inner-border-radius);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
}
#search-top form.input-group {

    background-color: unset;
    height: 80px;
}
.read-more-section{
    background: linear-gradient(135deg, rgb(252, 185, 0) 86%, rgb(255, 105, 0) 100%);
    padding: 1.25em 2.375em;
    margin-bottom: 17px;
}
.read-more-section a{
    color: #000000 !important;
    font-weight: 700;
    text-align: center;
}
.modal-backdrop {
    z-index: 1;
}
.ad-banner {
    text-align: center; /* وسط‌چین کردن محتوا */
    margin: 20px 0; /* فاصله بالا و پایین */
    overflow: hidden;
}

.ad-banner img {
    max-width: 100%; /* تنظیم حداکثر عرض تصویر */
    height: auto; /* تنظیم ارتفاع به‌صورت خودکار */
}
.pagination{
    flex-wrap: wrap;
}
.pagination .page-numbers{
    padding: 10px;
    background-color: #ff652d;
    border-radius: 4px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 5px;
}
.pagination .next,.pagination .prev{
    width: unset;
}
.pagination .current{
    border: 1px solid #ff652d;
    background-color: #fff;
    color: #ff652d;
}
#search-top .modal{
    top: 30%;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: unset !important;
}
.arrow-submenu{
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M19.92%208.94995L13.4%2015.47C12.63%2016.24%2011.37%2016.24%2010.6%2015.47L4.08002%208.94995%22%20stroke%3D%22%23323E54%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E') no-repeat center center;
    background-size: contain;
    margin-right: 4px;
    border:unset !important;
    vertical-align:unset !important;
}
.reading-progress {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffffff;
    z-index: 5;
}
.progress-bar {
    height: 100%;
    background: #ff652d;
}
@media (max-width: 576px) and (orientation: portrait) {
    /* استایل مخصوص گوشی‌های کوچک در حالت پرتره */
    .nav-item:hover > .dropdown-menu-custom {
        display: block;
        top: 45px;
        z-index: 1;
    }
    .submenu {
        right: 0;
        top: 0;
    }
    .navbar-nav li, .navbar-nav li a {
        font-size: 13px;
        font-weight: 500;
        display: flex;
        position: relative;

    }
    .reading-progress {
        top: 56px;
    }
    .post-top-right {
        min-height: 233px;
        margin-bottom: 12px;
    }
    .post-top-right .posts-thumb {
        height: 100%;
    }
    .post-top-right .post-content {
        bottom: 0;
        top: unset;
        right: 0;
        width: 100%;
    }
    .post-top-left {
        height: 233px;
        margin-bottom: 12px;

    }
    .post-top-left .post-content{
        width: 100%;
    }
    .post-box {
        display: flex;
        flex-direction: column;
    }
    .post-box .post-image {
        width: 100%;
        min-width: 220px;
        max-width: 100%;
        position: relative;
        border-radius: 1rem;
        margin-left: 0;
        padding: 20px;
    }
    .post-box .post-content-full {
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
        margin-top: -45px;
        z-index: 9;
    }
    .mySwiper .swiper-button-prev {
        right: 38%;
        top: 100%;
    }
    .mySwiper .swiper-button-next {
        right: 50%;
        top: 100%;
    }

    .categorySwiper .swiper-button-prev {
        right: 38%;
        top: 90%;
    }
    .categorySwiper .swiper-button-next {
        right: 50%;
        top: 90%;
    }
    .date-container {
        border-bottom: 1px solid #E0E5EB;
        border-top: 1px solid #E0E5EB;
        border-left:unset;
    }
    #content-box{
        flex-direction: column-reverse;
    }
    .article-item {
        border-radius: 8px;
        border: 1px solid #efefef;
        flex-direction: column-reverse;
        padding: 8px;
        background-color: #f5f7fa;
    }
    .article-item img {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .cover-image img{
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .latest-big-article img{
        height: auto !important;

    }
    .post-middle::before {
        width: 50% !important;
    }
    .latest-big-cateogry{
        display: none;
    }
    .post-middle-img{
        border-radius: 16px;
        height: auto;
        width: 100%;
    }
    #search-top .modal-dialog {
        max-width: 100%;
    }
    .dropdown-menu-custom {
        display: none;
    }

    /* نمایش منو وقتی کلاس 'show' اضافه می‌شود */
    .dropdown-menu-custom.show {
        display: block;
    }
    .arrow-submenu{
        right: 90%;
        position: absolute;
    }
    .swiper-slide {
        padding: 0;
        border-radius: 5px;
        overflow: hidden;
    }
    .single-post-related img{
        width: 100%;
        height: auto;
    }
    .single-post-related .card-body .card-title a{
        font-size: 14px;
        font-weight: 600;
        text-align: right;
    }
    .single-post-related  .card-text {
        color: #1a1a1a;
        font-size: 12px !important;
        font-weight: 400;
        text-align: justify;
    }
    .single-post-related{
        min-height: 300px;
        max-height: 300px;
    }
    .single-post-related .detail-post{
        font-size: 9px !important;
    }
    .related-box .swiper-pagination{
        bottom: 0;
    }
}
/* حالت portrait */
@media (max-width: 768px) and (orientation: portrait) {
    .reading-progress {
        top: 56px;
    }

}
@media (max-width: 576px) and (orientation: landscape) {
    /* استایل مخصوص گوشی‌های کوچک در حالت لنداسکیپ */
}
@media (min-width: 577px) and (max-width: 1024px) and (orientation: portrait) {
    .post-box .post-image {
        width: 100%;
        min-width: 177px;
        max-width: 15rem;
        position: relative;
        border-radius: 1rem;
        margin-left: -10rem;
    }
    .post-thumb-round {
        width: 50px;
        padding-left: 8px;
    }
    .post-thumb-round a {
        display: block;
        width: 50px;
    }
    .post-thumb-round a img {
        border-radius: 100%;
        border: 3px solid rgb(172 172 172 / 40%);
        width: 100%;
        height: 50px;
        display: block;
        object-fit: cover;
        transition: .3s;
    }
    .swiper-slide {
        padding: 0;
        border-radius: 5px;
        overflow: hidden;
    }
}

@media (min-width: 577px) and (max-width: 1024px) and (orientation: landscape) {
    /* استایل مخصوص تبلت‌ها در حالت لنداسکیپ */
}


.category-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.category-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.category-box:hover .category-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}


.category-name {
    margin: 5px 0;
    position: absolute;
    top: 0;
    right: 10px;
    background-color: #ff652d;
    border-radius: 12px;
    color: #fff;
    font-size: .765625rem;
    font-weight: 400;
    line-height: 1;
    padding: 6px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

.category-count {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 20px;
    color:#212529!important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .24) !important;
    background: hsla(0, 0%, 100%, .7);
}
.btn-tapsi{
    background-color: #ff652d;
    color: #fff;
    max-width: 85px;
}
.btn-tapsi:hover{
    background-color: #ff652d !important;
}
.feature-title a{
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
}
.cover-image {
    display: flex;
    align-items: center;
    justify-content: end;
    padding-left: 10px;
}
.cover-image img{
    border-radius: 8px;
}
.posts-section .card{
    max-width: 540px;
    border: 1px solid #efefef;
}
.shadow-custom{
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.card-simple-view{
    min-height: 456px;
}
.article-item{
    border-radius: 8px;
    border: 1px solid #efefef;
    padding: 8px;
    background-color: #f5f7fa;
}
.article-item h5 a{
    font-weight: bold;
    color: #494a4c;
    font-size: 1rem;
}

.bg-important{
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(243, 243, 243, 0) 0%, #f3f3f3 100%);
}
.important-content-title,.important-content-title a{
    font-size: 11px;
    font-weight: 800;
    color: #464646;
}
.important-content-date,.important-content-read{
    margin-left: 1em;
    color: #727272;
    font-size: 11px;
}
.radius-container{
    border-radius:30px;
}
.important-content-box{
    margin: 3px !important;
    padding: 15px 20px 15px 15px !important;
    background-color: #f3f3f3;
    border-style: solid;
    border-width: 1px 1px 1px;
    border-top-color: #f3f3f3;
    border-right-color: #f3f3f3;
    border-left-color: #f3f3f3;
    border-bottom-color: #d7d7d7;
    transition: all 0.2s;
}
.important-content-box:hover{
    background-color:#fff;
    border-radius: 8px;
    border: 1px solid #ff652d;
}
.latest-news-box{
    position: relative;

}
.image-large-home{
    height: 165px;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    transition: .3s;
}
.latest-news-details{
    position: absolute;
    bottom: .25rem;
    width: 100%;
    right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.latest-news-thumbnail{
    position: relative;
}
.latest-news-content h5,.latest-news-content h5 a{

        font-size: 14px;
        font-weight: 800;
        color: #434343;

}
.latest-news-content p{
    font-size: 11px;
    font-weight: 400;
}
.latest-news-date{
    font-weight: 600;
    margin: 0 4px;
    font-size: 12px;
    color:#727272;
}
.cat-item{
        margin-left: -25px;
        font-weight: 800;
        color: #fff;
        font-size: 8.5px;
        border-radius: 30px;
        padding: 4px 10px;
        position: relative;
        z-index: 9;
}
.cat-item:before{
    content: "";
    width: 100%;
    background-color: rgba(0, 0, 0, .24);
    backdrop-filter: blur(4px);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 22px;
    z-index: -1;
}
.cat-name-link{
        background-color: #ff652d;
        color: #fff;
        font-size: 8.5px;
        font-weight: 400;
        padding: 2.5px 30px 2.5px 10px !important;
        border-radius: 30px;
        line-height: 12px;
}
.center-line {
    border: 1px rgba(255, 255, 255, .25) dashed;
    width: calc(100% - 12rem);
}
.latest-news-bottomSection{


}
.title-section{
    border-bottom: 1px solid #eee;
}
.tapsi-name-section{
    font-size: 16px;
    font-weight: 800;
    line-height: 12px;
    color: #ff652d;
    margin: 0 0 0 2px !important;
}
.name-section{
    padding: 0 0 20px;
    border-style: solid;
    border-width: 0 0 3px;
    border-color: #e6e6e6;
}
.name-section span{
        font-size: 16px;
        font-weight: 300;
        line-height: 12px;
        color: #020202;
}
.link-section,.link-section a{
    font-size: 10px;
    font-weight: 500;
    line-height: 23px;
    fill: #7d7d7d;
    color: #7d7d7d;
    background-color: #f0f0f0;
    border-radius: 110px 110px 110px 110px;
    padding: 4px 12px;
}
.bottom_news_box{
    background-color: #fff;
    border-radius: 18px 18px 18px 18px;
    box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, .06);
    padding: 16px !important;
    min-height: 225px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bottom_news_thumb{
    height: auto;
    width: 90px;
    border-radius: 12px;
}
.bnews_title a{
    font-size: 12px;
    font-weight: 700;
    line-height: 25px;
    color: #434343;
}
.bottom_news_body{
        border-top: 1px dashed #dedede;
}
.bottom_news_body p{
    font-size: 11px;
    font-weight: 400;
    line-height: 26px;
    color: #595959;
    padding: 15px 0 0 !important;
}
.tapsi-box{
    background-color: #ff652d;

}
.archive-box{
    margin-top: -220px;
    position: relative;
    z-index:-1;
    min-height: 200px;
    border-radius: 28px;
}
.details-box-desc h2{
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    color: #fff;
    margin: 0 0 0 2px !important;
}
.details-box-desc p{
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
    color: rgba(255, 255, 255, .66);
}
.details-box-icon{
    display: block;
    width: 24px;
    height: 24px;
    color: #ff652d;

}
.latest-big-article{
    position: relative;
}
.latest-big-article img{
    height: 405px;
    border-radius: 16px;
}
.latest-big-article h4,.latest-big-article h4 a{
    font-size: 14px;
    font-weight: 800;
    color: #434343;
    margin: 24px 0 15px !important;
}

.latest-big-article:before, .latest-big-article:after {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    width: 92%;
    height: 10px;
    border-radius: 10px 10px 0 0;
    z-index: -1;
}
.latest-big-article:before {
    transform: translate(4%, 6px);
    width: 92%;
    background-color: #ddd;
}
.latest-big-article:after {
    transform: translate(9.5%, -3px);
    width: 84%;
    background-color: #eee;
    z-index: -2;
}
.post-excerpt-box {
    margin: 0 0 18px !important;
}
.post-excerpt-box p {
    font-size: 12px;
    font-weight: 400;
    line-height: 26px;
    color: #535353;
}
.big-readmore{
        background-color: #e4e4e4;
        color: #5e5e5e;
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: 800;
}
.big-readmore svg{
        margin-right: 6px;
}
.latest-big-cateogry .cat-name-link{
    background-color:#ff652d;
}
.post-middle{
    position: relative;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 15px;
}

.post-middle::before {
    content: "";
    position: absolute;
    top: -6px;
    width: 26%;
    border-radius: 10px 10px 0 0;
    border: 1px solid #ccd9d9;
    height: 10px;
    transform: translate(-5%, 0px);
    z-index: -1;
}
.post-middle-title h3,.post-middle-title h3 a{
        font-size: 15px;
        font-weight: 900;
        color: #464646;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #ff652d !important;
}
.nav-item .dropdown-toggle-custom::after {

}

