/*  رسپانسیو تبلت */

@media (min-width: 768px) and (max-width: 1280px) {}

/* رسپانسیو موبایل */
@media only screen and (max-width: 768px) {

    /*first header*/
    /* Center the nav bar */
    .nav .nav-bar {
        display: flex;
        justify-content: center;
        /* Centers the nav items */
        align-items: center;
        /* Vertically aligns the items */
        flex-flow: row;
        position: relative;
        z-index: 3;
    }

    /* Center the items inside the menu */
    .nav .nav-btn {
        display: flex;
        justify-content: center;
        /* Center buttons horizontally */
        flex-flow: column;
        align-items: center;
        position: relative;
        cursor: pointer;
        flex: 0;
        padding: 5px;
    }

    /* Center the nav content */
    .nav .nav-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: flex;
        justify-content: center;
        /* Centers the content horizontally */
        align-items: center;
        /* Centers the content vertically */
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .nav.open .nav-content {
        z-index: 1;
        opacity: 1;
    }

    /* Adjust the content inside the menu */
    .nav .nav-content .background {
        display: flex;
        justify-content: center;
        /* Centers content horizontally */
        align-items: center;
        /* Centers content vertically */
        flex-flow: column;
        align-items: stretch;
    }

    /* Center the text inside each portion */
    .nav .nav-content .portion {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background: #c796ec;
    }

    /* Remove rotation and center the text */
    .aligned-text {
        /*transform: rotate(0deg); !* Ensure no rotation is applied *!*/
        text-align: center;
        display: block;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .nav.open .nav-content {
        z-index: 1;
        opacity: 1;
    }

    /* Adjust the content inside the menu */
    .nav .nav-content .background {
        display: flex;
        justify-content: center;
        /* Centers content horizontally */
        align-items: center;
        /* Centers content vertically */
        flex-flow: column;
        align-items: stretch;
    }

    /* Center the text inside each portion */
    .nav .nav-content .portion {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background: #c796ec;
    }

    /* Center the text inside the aligned-text div */
    .aligned-text {
        transform: rotate(0deg);
        text-align: center;
        display: block;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .app {
        position: absolute;

        flex: 0 0 auto;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .nav .nav-bar {
        display: flex;
        flex-flow: row;
        position: relative;
        z-index: 4;
        background-color: #f2e6f5;
        padding: 10px 0;
    }

    .nav .logo {
        flex: 1 1 100%;
    }

    .nav .nav-btn {
        display: flex;
        flex-flow: column;
        align-items: center;
        position: relative;
        cursor: pointer;
        flex: 0;
        padding: 5px;
        margin: 0 15px 0 10px;
    }

    .nav .nav-btn .btn-bar {
        position: relative;
        width: 1.34em;
        height: 3px;
        border-radius: 5px;
        background: #6c5a6a;
    }

    .nav .nav-btn .btn-bar.menu:not(:first-child) {
        margin-top: 3px;
    }

    .nav .nav-btn .btn-bar.close {
        transform-origin: center center;
        position: absolute;
        margin-top: -1.5px;
        opacity: 0;
        top: 50%;
    }

    .nav .nav-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .nav.open .nav-content {
        z-index: 20;
        opacity: 1;
    }

    .nav .nav-content .background {
        position: absolute;
        display: flex;
        flex-flow: column;
        align-items: stretch;
        top: 0;
        left: 0;
        right: 0;
        bottom: -2px;
    }

    .nav .nav-content .portion {
        background: #dfbbdb;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .nav .nav-content .portion:not(:first-child) {
        margin-top: -1px;
    }

    .nav.open .nav-bar .nav-btn .btn-bar.menu {
        opacity: 0;
    }

    .nav.open .nav-bar .nav-btn .btn-bar.close {
        opacity: 1;
    }

    .wrapper .app .nav .nav-btn {
        align-items: flex-end;
        transform: rotate(271deg);
    }

    .wrapper .app .nav .btn-bar.menu:nth-child(1) {
        transform-origin: top right;
        transform: rotate(-45deg);
        width: 1.8em;
    }

    .wrapper .app .nav .btn-bar.menu:nth-child(2) {
        transform: rotate(-45deg) translate(0, -4px);
    }

    .wrapper .app .nav .btn-bar.menu:nth-child(3) {
        transform: rotate(-45deg) translate(0, 1px);
        width: 0.8em;
    }

    .wrapper .app .nav .btn-bar.close:not(:last-child) {
        transform: rotate(45deg) translateX(-250%);
    }

    .wrapper .app .nav .btn-bar.close:last-child {
        transform: rotate(-45deg) translateX(250%);
    }

    .wrapper .app .nav .nav-content .background {
        transform-origin: center;
        /*transform: rotate(-45deg) scale(2, 1.2);*/
    }

    .wrapper .app .nav .nav-content .background .portion {
        flex: 1 1 100%;
    }

    .wrapper .app .nav .nav-content .background .portion:nth-child(odd) {
        transform: translateX(-100%);
    }

    .wrapper .app .nav .nav-content .background .portion:nth-child(even) {
        transform: translateX(100%);
    }

    .wrapper .app .nav.open .nav-btn .btn-bar:nth-child(1) {
        transform: rotate(-45deg) translateX(-400%);
    }

    .wrapper .app .nav.open .nav-btn .btn-bar:nth-child(2) {
        transform: rotate(-45deg) translate(0, -4px) translateX(200%);
    }

    .wrapper .app .nav.open .nav-btn .btn-bar:nth-child(3) {
        transform: rotate(-45deg) translate(0, 1px) translateX(200%);
    }

    .wrapper .app .nav.open .nav-btn .btn-bar.close:not(:last-child) {
        transform: rotate(45deg);
    }

    .wrapper .app .nav.open .nav-btn .btn-bar.close:last-child {
        transform: rotate(-45deg);
    }

    .wrapper .app .nav.open .nav-content {
        z-index: 3;
    }

    .wrapper .app .nav.open .nav-content .background .portion {
        transform: translateX(0%);
    }

    .wrapper .app .nav.open .btn-bar.menu {
        transition: transform 0.3s ease-in-out, opacity 0.15s ease-in-out 0.15s;
    }

    .wrapper .app .nav.open .btn-bar.close {
        transition: transform 0.5s ease-in-out 0.3s, opacity 0.125s ease-in-out 0.3s;
    }

    .wrapper .app .nav.open .nav-content {
        transition: z-index 0.01s ease-in-out 0.3s;
    }

    .wrapper .app .nav.open .nav-content .background .portion {
        transition: transform 0.5s ease-in-out 0.3s;
    }

    .wrapper .app .nav .btn-bar.menu {
        transition: transform 0.3s ease-in-out 0.5s, opacity 0.15s ease-in-out 0.5s;
    }

    .wrapper .app .nav .btn-bar.close {
        transition: transform 0.5s ease-in-out, opacity 0.125s ease-in-out 0.5s;
    }

    .wrapper .app .nav .nav-content {
        transition: z-index 0.01s ease-in-out 0.5s;
    }

    .wrapper .app .nav .nav-content .background .portion {
        transition: transform 0.5s ease-in-out;
    }

    /* Table of Contents Styles */
    .mobileHeader nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .mobileHeader nav ul li {
        margin: 5px 0;
    }

    .mobileHeader nav ul li a {
        text-decoration: none;
        color: #000;
    }

    .mobileHeader .aligned-text {
        /*transform: rotate(59deg);*/
        text-align: center;
        display: block;
    }



    .frame {
        display: flex;
        width: 100%;
        position: fixed;
        bottom: -21px;
        left: 0;
        z-index: 20;
    }

    .homepage_header {

        display: none;
    }

    .BlogOffsetSection .elementor-post__excerpt {
        float: right;
        width: 100%;
        padding: 0 0 0 25px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        white-space: normal;
    }

    /*hero section*/

    .heroSection .bdt-prime-slider-skin-isolate .bdt-slideshow {

        padding: 0 !important;
        position: relative;
    }

    .heroSection .bdt-prime-slider-skin-isolate .bdt-slideshow-item img {
        height: 85%;
        width: 62%;
        object-fit: cover;
        margin: 48px auto -83px auto;
    }
    .heroSection .bdt-prime-slider-skin-isolate .bdt-slider-excerpt p {
        font-size: 15px;
        padding: 0 26px;
        margin: 0;
    }

    .heroSection .bdt-prime-slider-desc .bdt-main-title .frist-word {

        font-size: 35px;
    }

    .heroSection .bdt-prime-slider-desc .bdt-main-title {

        font-size: 35px;
    }

    .heroSection .bdt-prime-slider-desc {
        padding: 0 !important;

    }

    .heroSection .bdt-prime-slider-desc {
        padding: 0 0 40px 0 !important;
    }

    .heroSection .bdt-prime-slider-skin-isolate .bdt-dotnav {
        position: absolute;

        right: auto;
        left: 0 !important;
        top: unset !important;
        transform: translateY(-50%);
        margin: 0 auto !important;
        bottom: 0 !important;
        left: 19% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-content: center !important;
        display: none !important;
    }

    .heroSection .bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active a:after {
        background-color: #ff0000 !important;
    }

    .heroSection .bdt-prime-slider .bdt-dotnav li a:after {
        background: blue !important;
    }


    .heroSection .bdt-slide-btn {
        padding: 12px 12px 11px 50px !important;
        font-size: 12px !important;
    }

    .heroSection .bdt-prime-slider-button-wrapper:after {
        content: url("https://hdmplus.ir/mougeliani/wp-content/uploads/2025/01/arrow-square-left.svg");
        width: 10px;
        height: 10px;
        position: absolute;
        bottom: 29px;
        left: 37px;
        cursor: pointer;
    }
    .btn:after {
        bottom: 29px;
        left: 37px;
    }

    #{{uc_id}
}

.btn {
    padding:8px 14px 9px 43px !important
}

.PinkmainButton .btn:after {
    bottom: 29px;
}

.custom-footer .container {
    width: 100% !important;
    padding: 0;
    margin: 0;
}

.footer-content {
    display: flex;
    flex-direction: row;
    /* برای موبایل، بخش‌ها در کنار هم باشند */
    justify-content: space-between;
    /* با این کار بین بخش‌ها فاصله قرار می‌دهیم */
    padding: 0 35px !important;
;
}

.footer-content .col-md-2 {
    width: 49%;
    padding: 77px 0 0 0;
    margin: 0 0 0 0;
}
footer {
    overflow-x: hidden;
}
/* برای اینکه "درباره ما" بالا بیاید */
.footerAboutUs {
    order: -1;
    /* اینجا "درباره ما" به بالای فوتر منتقل می‌شود */
}

.footer-content ul li {
    margin: 7px 0;
}

.footerAboutUs p {
    font-size: 13px;
    line-height: unset !important;

}

.footer-image {
    padding: 0;
}

.red {
    padding: 0;
}

.second-footer-contant {
    display: flex;
    padding: 0 24px;
}

.second-footer-contant .col-md-4 {
    width: 49%;
    /* هر بخش 100 درصد عرض می‌گیرد */

}

.footer-Social_Media {
    display: flex;
    flex-direction: column;

}


.footer-Social_Media p {
    font-size: 12px;
    font-weight: 500;
    color: black;
}


.footerContactUs {
    margin: 0;
}


.second-footer-contant .col-md-4:last-child {
    width: 100%;
}

.copyRight {
    display: flex;
    justify-content: space-between;
    padding: 11px 20px 60px 20px;
    border-top: 1px solid #b9b0b8;
    font-size: 11px;
    color: black;
    position: relative;
    /* برای ::before و ::after */
    flex-direction: column;

}

.homepage_footer {

    padding: 0 0 0 0;
}

.footer-Social_Media {
    text-align: right !important;
}


.socialMedia {
    display: flex;
    justify-content: flex-start;
    width: 30%;
    text-align: right;
    width: 100%;
}

.footer-Newslatter {
    margin: 0;
}





.wrapper {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    float: right;
    z-index: 1;
}

.changeContent a {
    padding: 10px 6px 12px 10px !important;
}

.mobileReverse .elementor-button-icon svg {
    transform: rotate(180deg);
    /* چرخش آیکون */
    display: flex;
    align-items: center;
    position: relative;
    right: 3px
}

.app {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: fixed;
    top: 0;
    overflow-x: hidden;
    z-index: 2;
}
.nav.open {
    position: absolute;
    height: 100%;
    display: block;
}
.wrapper .app .nav.open .nav-content {
    transition: z-index 0.01s ease-in-out 0.3s;
    position: absolute;
    height: 100vh;
}
/*footer*/
.homepage_footer {
    background-image: url("https://hdmplus.ir/mougeliani/wp-content/uploads/2025/02/Group-340-2-1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    left: 2px;
}
.footer-logo {
    display: none; /* پیش‌فرض مخفی باشد */
}


    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;

    }

.footer-logo img {
    max-width: 48%;
    height: auto;
    margin: 0 4px -47px 0;
    z-index: -1;
}



.mobileHeader .logo {
    display: block;
    filter: brightness(0.5);
}

.searchsection {
    display: none !important;
}



.home.scrolled .searchsection {
    display: none !important;
}

.mobile-Search-input {
    display: none;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-logo {
    margin-left: auto;
    /* لوگو را به راست می‌چسباند */
}

.mobile-searchsection {
    display: flex;
    align-items: center;
    gap: 7px;
    /* فاصله ۷ پیکسلی بین آیکون جستجو و منوی همبرگری */
}

.nav-btn {
    display: flex;
    align-items: center;
}

.mobile-logo img.img-fluid {
    width: 53%;
    height: auto;
    filter: brightness(0.5);
}







.mobile-Menu-Nav li a {
    font-size: 16px;
    font-weight: 500;
    color: #6c5a6a !important;
}



#{{uc_id}} .btn:after {
               content: "";
               position: absolute;
               bottom: 10px;
               left: 12px;
               width: 22px;
               height: 22px;
               background: url("https://hdmplus.ir/mougeliani/wp-content/uploads/2025/01/arrow-square-left-2.svg") no-repeat center;
               background-size: contain;
               transition: all 0.7s ease-out;
           }


#{{uc_id}} .btn:hover:after {
               content:"";
                       background-image: url("https://hdmplus.ir/mougeliani/wp-content/uploads/2025/01/arrow-square-left.svg") !important;
               color: #6C5A6A !important;
           }

.PinkmainButton .btn:after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 12px;
    width: 22px;
    height: 22px;
    background-image:  url("https://hdmplus.ir/mougeliani/wp-content/uploads/2025/01/arrow-square-left.svg");;

    background-size: contain;
    transition: all 0.7s ease-out;
}


.CircleinSection {
    position: relative;
    padding: 0 7px;
    text-align: center;
    border: 2px solid #000;
    background: white;
    transition: all 0.5s ease-in-out;
}
.footer-logo img {
    max-width: 38%;
    height: auto;
    margin: 0 4px -47px 0;
    z-index: -1;
}
.heroSection .bdt-slideshow .bdt-slideshow-items {
    min-height: 80vh !important;
}

.elementor-17 .elementor-element.elementor-element-2e5fd64 .bdt-slideshow .bdt-slideshow-items {
    min-height: 80vh !important;
}




.heroSection {
    margin: 27px 0 0 0;
}






.header-icons {
    margin: 0 0 -26px 0;
}



.blog-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    z-index: 1051;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}
.sidebar-toggle-btn {
    display: block;
    margin: 10px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.close-sidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    left:-300px;
}

aside.blog-sidebar {
    border: 1px solid #6c5a6a;
    border-radius: 40px;
    padding: 24px 20px;
    position: fixed;
    top: 15%;
    height: fit-content;
    background: rgb(242, 230, 245);
    background: linear-gradient(184deg, rgba(242, 230, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

aside.blog-sidebar {
    position: fixed;
    height:100%;
}
#closeSidebar {
    display: block;
}
.right-header-blog {
    flex-direction: column;
    width: 50% !important;
}

#applyFilters {
    display: inline-flex;
    background-color: #6c5a6a;
    padding: 9px 8px 9px 16px !important;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 9px;
    margin-top: 20px;
}
.apply-filters-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    filter: brightness(5.5);
    margin: 0 0 0 6px;
}

.blog-header {
    margin: 44px 0 0 0;
  
}









}





















































/* ریسپانسیو برای صفحه‌های کوچکتر از 576px */
@media (max-width: 576px) {
    .footer-content {
        padding: 10px;
    }


    .footer-content h3 {
        font-size: 14px;
        /* کاهش اندازه فونت */
    }

    .footer-content ul li a {
        font-size: 12px;
        /* کاهش اندازه فونت لینک‌ها */
    }

    .footer-content p {
        font-size: 12px;
        /* کاهش اندازه فونت متن */
    }

    .footer-Social_Media {
        text-align: right;
    }

    .footer-contact {
        text-align: center;
        /* برای موبایل همه محتوا در وسط قرار می‌گیرد */
    }

    .footer-contact img {
        width: 16px;
        height: 16px;
    }
    
   
section.page_count_number.second{
    display:none;
}



}


/* این مورد فقط برای استثناها می باشد. */
/* رسپانسیو موبایل های کوچک و قدیمی */
@media only screen and (max-width: 368px) {}