/*
Theme Name: Hello Elementor Child
Template: hello-elementor
 Version:      1.0.0
*/






/* باستایل سوئیچر و بار بالا */
#swicherrr .wpml-ls {
    font-family: vazirmatn , sans-serif;
    background-color: #000;
    border-radius: 1rem;
    padding: 6px 10px;
}

#swicherrr .wpml-ls ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#swicherrr .wpml-ls-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;  
    color: #fff;
    text-decoration: none;
    border-radius: 0.7rem;
    transition: all 0.25s ease;
}

#swicherrr .wpml-ls-link:hover {
    background-color: #616161;
}

#swicherrr .wpml-ls-current-language a {
    padding: 6px 14px !important;
}




/* باکس اصلی زبان */
#zabanbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

body.admin-bar #zabanbar{
    top: 32px;
}

@media screen and (max-width: 782px){
    body.admin-bar #zabanbar{
        top: 46px;
    }
}

















/* Support */
body.translatepress-en_US .elementor-element-d48dc71 .elementor-button {
    border-radius: 0rem 1rem 1rem 0rem !important;
}

/* Logout */
body.translatepress-en_US .elementor-element-fe059ad .elementor-button {
    border-radius: 1rem 0rem 0rem 1rem !important;
}

/* Admin */
body.translatepress-en_US .elementor-element-0ab6696 .elementor-button {
    border-radius: 1rem 0rem 0rem 1rem !important;
}








/* برعکس کردن تصاویر در کانتینرهای کناری در حالت انگلیسی */
body.translatepress-en_US .elementor-element-e11045c .elementor-image img,
body.translatepress-en_US .elementor-element-426cc1d .elementor-image img,
body.translatepress-en_US #parchamhed,
body.translatepress-en_US #aghahed
{
    transform: scaleX(-1) !important;
}




/* استثنا کردن لوگوی مرکزی */
body.translatepress-en_US .elementor-element-8504345 img {
    transform: scaleX(1) !important;
}

/* خطوط زیر هم برای اطمینان بیشتر هستند، اگرچه ممکن است با خط قبلی تکراری باشند */
/* اطمینان از اینکه عناصر داخل لینک‌ها (مثل لوگو یا متن) برعکس نمی‌شوند */
body.translatepress-en_US .elementor-element-e11045c a img,
body.translatepress-en_US .elementor-element-426cc1d a img {
    transform: scaleX(-1) !important;
}





























   
   


#masirrr {
    color: #62D1FF;
}
#masirrr:hover {
    color: #9BE2FF;
}
#matnpost a, 
#matnpost b{
    color: #FFB7B7;
}


#arpost .elementor-post__title a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
 
    max-width: 100%; 
}


#arpost .elementor-post__title {

    width: 100%;
}





#arposta article {
    border-radius: 1rem 0rem 1rem 0rem !important; 
}







#arposta .elementor-post__title a {
    display: block;
    width: 130px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    #arposta .elementor-post__title a {
        width: 120px;
    }
}

@media (max-width: 767px) {
    #arposta .elementor-post__title a {
        width: 170px;
    }
}

/* @media (max-width: 380px) {
    #arposta .elementor-post__title a {
        width: 200px;
    }
} */



























   /* آرشیو ها */




#archivesposta .elementor-post__title a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
 
    max-width: 100%; 
}


#archivesposta .elementor-post__title {
    width: 100%;
}


#archivesposta .elementor-post__title a {
    display: block;
    width: 1000px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    #archivesposta .elementor-post__title a {
        width: 230px;
    }
}

@media (max-width: 767px) {
    #archivesposta .elementor-post__title a {
        width: 250px;
    }
}

/* @media (max-width: 380px) {
    #archivesposta .elementor-post__title a {
        width: 200px;
    }
} */





   /* پست تایپ ها */




#archivesposttypeha .elementor-post__title a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
 
    max-width: 100%; 
}


#archivesposttypeha .elementor-post__title {
    padding: 0 10px 0 10px !important;

    width: 100%;
}



#archivesposttypeha .elementor-post__title a {
    display: block;
    width: 1000px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    #archivesposttypeha .elementor-post__title a {
        width: 300px;
    }
}

@media (max-width: 767px) {
    #archivesposttypeha .elementor-post__title a {
        width: 300px;
    }
}

/* @media (max-width: 380px) {
    #archivesposttypeha .elementor-post__title a {
        width: 200px;
    }
} */
















































   
   
   /* دسته ها */

   
#dastehh {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

#dastehh .tarafa-breadcrumb-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  direction: ltr !important;
}

#dastehh .tarafa-breadcrumb-wrapper {
  display: inline-flex !important;
}

#dastehh .tarafa-breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  direction: ltr !important;
  text-align: left !important;
  padding: 10px 20px 10px 30px !important;
  clip-path: polygon(
    0 0,
    15px 50%,
    0 100%,
    calc(100% - 15px) 100%,
    100% 50%,
    calc(100% - 15px) 0
  ) !important;
}
   
   
   
   
   
   
   
   
   
   