.main{
    position: relative;
    z-index: 1000;
    color: var(--text-color);
    margin-bottom: -150px;
    font-family: 'iranSans';
    padding-bottom: 10rem;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #666;
    font-family: vazir;
    font-size: 1.4rem;
}
.breadcrumb li:not(:last-child) a {
    color: var(--primary-color);
    opacity: 1;
    transition: opacity 0.3s;
    margin-left: 0.5rem;
}
.breadcrumb li:last-child {
    color: #666;
    margin-right: 0.5rem;
}
.breadcrumb-nav-wrap {
    padding: 3rem 0;
}
.blog-wrap {
    margin-bottom: 10rem;
    
}
.row-blog{
    display: flex;
    gap: 1rem;
}
.col-right{
    width: 65%;
}
.posts{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.grid .grid-item {
    margin: 0.5rem;
    transform: translate3d(0, 0, 0);
}
article.post{
    max-width: 47%;
    height: 535px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .09);
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}
figure .post-media {
    border-radius: 5px !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
figure img{
    width: 400px;
    height: 300px;
}
.post-media img {
    display: block;
    width: 100%;
    transition: transform 0.3s;
}
.grid img {
    object-fit: cover;
}
.post-media {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 5px;
}
article.post .post-label {
    position: absolute;
    background: #f9c710;
    color: #2a2a2a;
    top: 10px;
    right: 10px;
    border-radius: 3px;
    padding: 0 5px;
    font-weight: 300;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
article .post-details {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
}
article .post-details .post-title {
    color: #2a2a2a;
    line-height: 2.5rem;
    font-weight: 500;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
article .post-details .post-title a{
    color: #2a2a2a;
}
article .post-details .post-author {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    gap: .5rem;
    display: flex;
    align-items: center;
    padding-bottom: .75rem;
}
article .post-details p.post-content {
    color: #6b7280;
    font-size: 1rem !important;
    -webkit-line-clamp: 3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.post-footer {
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
}
article .post-details .post-footer svg {
    margin-left: 5px;
    color: #6b7280!important;
    font-size: 1rem;
}
article .post-details .post-date {
    color: #6b7280!important;
    font-size: 0.9rem !important;
    font-weight: 200;
    margin-left:1rem;
}
article .post-details .post-comment {
    color: #6b7280!important;
    font-size: 0.9rem !important;
    font-weight: 200;
}
.col-left{
    width: 33%;
    margin-top: 0.5rem;
}
.right-sidebar-active .right-sidebar .sidebar-close,
.right-sidebar-active .right-sidebar .sidebar-overlay,
.sidebar-active .sidebar .sidebar-close,
.sidebar-active .sidebar .sidebar-overlay,
.top-sidebar-active .top-sidebar .sidebar-close,
.top-sidebar-active .top-sidebar .sidebar-overlay {
  visibility: visible;
  opacity: 1;
}
.right-sidebar-active .right-sidebar .sidebar-content,
.sidebar-active .sidebar .sidebar-content {
  background: #f9f9f9;
}

.right-sidebar-active .right-sidebar .sidebar-content,
.sidebar-active .sidebar .sidebar-content,
.top-sidebar-active .top-sidebar .sidebar-content {
  transform: translateX(0);
  opacity: 1;
}

.top-sidebar-active .category-sidebar {
  display: none;
}

.sidebar-active .page-wrapper {
  margin-right: 250px;
  margin-left: -250px;
}

.right-sidebar-active .page-wrapper {
  margin-right: -250px;
  margin-left: 250px;
}

.sidebar-content,
.sidebar-overlay,
.sidebar-toggle {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
}

.sidebar-overlay {
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.4s, opacity 0.4s;
}

.sidebar-close {
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.4s, opacity 0.4s;
}

.sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 148px;
  width: 55px;
  height: 40px;
  font-size: 1.4rem;
  color: #afab8d;
  background-color: var(--primary-color);
  border-radius: 0 10px 10px 0;
  border: 1px solid #fdfdfd;
}

.sidebar-close {
  position: fixed;
  margin: 0;
  right: calc(100vw - 52px);
  top: 12px;
  font-size: 3.5rem;
  color: #ccc;
  z-index: 1201;
}

.sidebar-close:hover {
  color: #ccc;
}

.sidebar-content {
  bottom: 0;
  width: 30rem;
  padding: 2rem;
  transform: translateX(100%);
  overflow: auto;
  opacity: 0;
  line-height: 1.3;
  transition: transform 0.4s, opacity 0.4s;
}

.sidebar-content .sidebar-close {
  display: flex;
  position: static;
  align-items: center;
  margin-bottom: 2rem;
  line-height: 1;
}

.sidebar-content .d-icon-times {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.6rem;
}

.sidebar-content .widget.price-with-count .filter-items > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-content .btn-filter {
  padding: 0.86em 2em;
  border-radius: 10px;
}

.sidebar-content .btn-filter:active,
.sidebar-content .btn-filter:focus,
.sidebar-content .btn-filter:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.right-sidebar {
  order: 2;
}

.right-sidebar .sidebar-toggle {
  right: auto;
  left: 0;
  color: #fff;
}

.right-sidebar .sidebar-close {
  right: 50px;
}

.right-sidebar .sidebar-content {
  transform: translateX(-100%);
  right: auto;
  left: 0;
}


.right-sidebar .sidebar-content::-webkit-scrollbar {
  width: 0;
}

.tag {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  margin: 0.5rem 1rem 0.5rem 0;
  border: 1px solid #bbbbbb70;
  font-size: 1.3rem;
  line-height: 1.35;
  transition: color 0.3s, border-color 0.3s;
  color: #222;
  background: #fdfdfd;
  border-radius: 5px;
}

.tag:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.sidebar-content .form-control {
  border-color: #ccc;
  border-radius: 0.3rem;
}

.widget-collapsible > .widget-title.collapsed {
  padding-bottom: 2.7rem;
}

.widget-collapsible > .widget-title.collapwidget-collapsible > .widget-title {
  padding-bottom: 0;
}

.widget-collapsible .toggle-btn {
  display: block;
  position: absolute;
  top: 36px;
  left: 12px;
  padding: 0;
  width: 0px;
  opacity: 1;
}

.widget-collapsible .toggle-btn:after,
.widget-collapsible .toggle-btn:before {
  content: "";
  position: absolute;
  border-top: 2px solid #666;
  width: 10px;
  transition: transform 0.3s;
}

.widget-collapsible > .collapsed .toggle-btn:before {
  transform: rotate(90deg);
}

.widget-collapsible > .collapsed .toggle-btn:after {
  transform: rotate(180deg);
}

.widget-collapsible .collapsed ~ .widget-body {
  opacity: 0.1;
}

aside .sidebar-content .widget {
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: unset;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    background: #f8f8f8;
    direction: rtl;
    border: 1px solid #cccccc7a !important;
}
.widget.widget-search {
    margin-top: 0rem !important;
}
.border-no {
    border: none !important;
}
.input-wrapper-inline {
    display: flex;
    position: relative;
    max-width: 61.3rem;
    width: 100%;
    height: 45px;
}
.sidebar-content .form-control {
    border-color: #ccc;
    border-radius: 0.5rem;
    background: #fff;
}
.input-wrapper input.form-control {
    flex: 1;
    min-width: 40px;
    font-size: 1.3rem;
}
.btn-absolute input.form-control {
    width: 100%;
    padding: 1rem 1.5rem 1rem 1.5rem;
    color: #666;
    font-size: 1rem;
}

.btn-absolute .btn {
    position: absolute;
    width: auto;
    height: 100%;
    min-width: 5rem;
    line-height: 5rem;
    left: 0;
    font-size: 1.7rem;
    background: #f9c710;
    border-radius: 5px 0 0 5px;
    box-shadow: 1px 0px 4px rgba(0, 0, 0, 0.2);
}
.input-wrapper-inline .btn {
    line-height: 1;
}
.btn-absolute .btn svg{
    color: #5a5a5a;
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    font-size: 1.5rem;
}
aside .sidebar-content .widget.widget-social {
    min-height: 220px;
    background: #2a2a2a;
    padding: 4.7rem 3rem;
    text-align: center;
}
aside .sidebar-content .widget.widget-social .widget-social-header {
    border-bottom: 1px solid #a2a2a2;
}
aside .sidebar-content .widget.widget-social .widget-social-header p {
    font-size: 20px;
    line-height: 1.2;
}
aside .sidebar-content .widget.widget-social .widget-social-footer {
    margin-top: 20px;
}
.social-links.rounded-link, .social-links.square-link {
    display: flex;
    justify-content: center;
}
.social-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}
aside .sidebar-content .widget.widget-social .widget-social-footer .social-link-aside {
    width: 50px;
    height: 50px;
    background: #f9c710;
    color: #2a2a2a;
    border-radius: 5px;
    margin-left: 10px;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: 0.5s;
}
.social-links svg{
    font-size: 1.8rem;
}
aside .sidebar-content .widget.widget-social .widget-social-footer .social-link-aside:hover {
    background: #2a2a2a;
    color: #f9c710;
    box-shadow: 0 0 5px rgb(255 255 255 / 23%);
}
.toolbox-wrap .widget-title, .widget-collapsible .widget-title {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 0rem 0.3rem 1.8rem;
    font-weight: 600;
    text-transform: none;
    transition: padding 0.3s;
    color: #2a2a2a;
}
.widget-title {
    margin-bottom: 2rem;
    padding: 1.1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    border-bottom: 1px dashed #cccccc;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.widget-title svg {
    margin-left: 5px;
    color: #f9c710;
    font-size: 1.2rem;
}

.widget-collapsible p {
  margin-bottom: 0;
  color: #222;
  line-height: 1.86;
}
.filter-items > li:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.filter-items.search-ul li {
    padding: 13.5px 3px;
}
.filter-items li {
    padding: 13px 30px 13px 3px;
    font-size: 0.9rem;
    color: #222;
}
.filter-items a {
    position: relative;
    display: block;
    color: #999;
}
.post-col{
    margin-top:2rem;
}
.post-list-sm {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.post-list-sm .post-media {
    max-width: 10rem;
    flex: 0 0 10rem;
    height: 6rem;
}
.post-media {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 5px;
}
.post-list-sm .post-media img {
    height: 100%;
    object-fit: cover;
}
.post-media img {
    border-radius: 5px !important;
}
.post-single .post-media img {
    display: block;
    width: 100%;
    height:450px;
    transition: transform 0.3s;
}
.post-classic .post-media img {
    display: block;
    width: 100%;
    transition: transform 0.3s;
}
.post-list-sm .post-details {
    padding: 0;
    margin-right: 1.5rem;
}
.post-list-sm .post-title {
    margin-bottom: 10px;
    white-space: normal;
    text-transform: none;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}
.post-list-sm .post-title a{
    color: #666;
}
.post-list-sm .post-meta{
    margin-bottom: 0.4rem;
    color: #999;
}
.post-list-sm .post-meta a{
    color: #999;
    font-size: 0.9rem;
}
.post-list-sm .post-meta svg{
    color: #999;
    margin-left: 5px;
}
ul.pagination {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    justify-content: center;
}
.pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.4rem;
    justify-content: center;
    color: #222;
}
.pagination .page-item {
    margin: 0 5px;
}
.pagination li {
    padding: 5px 10px;
    margin-left: 0.5rem;
    border: 1px solid rgba(226, 226, 226, 1);
    border-radius: 4px;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}
.pagination li a{
    color: #2a2a2a;
}
.pagination li.active{
    background-color: #f9c710;
    color: white;
    border-color: #f9c710;
    font-weight: bold;
}
.pagination li.active a{
    color: white;
}
.post__det{
    margin-top:0.5rem;
}
article .post__det .post-meta {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
article .post__det .post-comment {
    margin-right: 0.5rem;
}
.author-header {
    border-top: 1px solid #cccccc8c;
    border-bottom: 1px solid #cccccc8c;
    padding-top: 10px;
    padding-bottom: 10px;
}
.author-header span {
    margin-left: 15px;
    color: #999;
    font-size: 1rem;
    font-weight: 200;
}
.author-header span svg {
    margin-left: 5px;
    color: #999;
    font-size: 1.4rem;
    font-weight: 500;
}
.align-items-center {
    align-items: center !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.d-flex {
    display: flex !important;
}
.social-icons .social-icon {
    width: 35px;
    height: 35px;
    background: #f9c710;
    color: #000 !important;
    font-size: 1rem !important;
    border-radius: 32px;
    margin-left: 10px;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    transition: 0.5s;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);
}
.social-icons .social-icon svg {
    font-size: 1.5rem !important;
}
.main-title {
    font-size: 2em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    display: inline-block;
}
.main-title:after {
    content: "";
    display: block;
    width: 75%;
    height: 12px;
    background: #f9c710;
    position: relative;
    z-index: -3;
    top: -18px;
    border-radius: 2px;
    margin-right: 3px;
}
.owl-carousel.owl-rtl {
    max-height: 100%;
}
.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 1.5rem!important;
    background: transparent!important;
    bottom: -1px!important;
}
.owl-theme .owl-dots .owl-dot.active span {
    background-color: #f9c710!important;
    border-color: #f9c710!important;
    width: 30px!important;
}
.owl-theme .owl-dots .owl-dot span {
    border-radius: 2px!important;
    margin: 5px!important;
    height: 5px!important;
}

.comments {
    padding: 6rem 0;
    border-top: 1px solid #e1e1e1;
    margin-top: 6rem;
}
.title-simple {
    display: block;
}
.text-right {
    text-align: right !important;
}
.text-normal {
    text-transform: none !important;
}
.font-weight-bold {
    font-weight: 700 !important;
}
.comments li {
    margin-bottom: 2.5rem;
}
.comment {
    position: relative;
    display: flex;
    align-items: flex-start;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    border-right: 4px solid #eee;
    box-shadow: rgba(0, 0, 0, 0.05) -1.95px 1.95px 2.6px;
}
.comment-media {
    max-width: 7rem;
    flex: 0 0 7rem;
    height: 7rem;
    overflow: hidden;
}
.comment-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #eee;
}
.comment-body {
    position: relative;
    flex: 1 1 auto;
    padding: 0.8rem 2.5rem 0 0;
}
.comment-user {
    margin-bottom: 1rem;
}
.comment-user h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: #000;
}
.comment-date {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #999;
    line-height: 1;
}
.reply p {
    font-size: 1.3rem;
}
.btn-yellow {
    background: #f9c710;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    color:#000;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: 0.3s;
}
.owl-item article.post {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .09);
    cursor: pointer;
    border-radius: 5px;
    max-width: inherit;
    height: auto;
}
.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 170px;
}
/*********responsive********/
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1220px!important;
    }
}
@media (max-width: 992px) {
    .container {
        max-width: 95%!important;
    }
    article.post {
        max-width: 100%;
    }
    .col-right {
        width: 60%;
    }
    .col-left {
        width: 39%;
    }
}
@media (max-width: 768px) {
    .sidebar-content {
        position: fixed;
        top: 3rem;
        right: -300px; 
        width: 70%;
        height: auto;
        z-index: 1000;
        transition: right 0.3s ease;
    }
    .row-blog {
        flex-direction: column;
    }
    .col-right {
        width: 100%;
    }
    .sidebar-content.active {
        transform: translateX(-18%);
        opacity: 1;
        width: 80%;
        right: 0; 
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 557px) {
    .sidebar-content.active {
        transform: translateX(3%);
        width: 100%;
        padding: 1rem;
    }
    aside .sidebar-content .widget.widget-social{
        padding: 4.7rem 2rem;
    }
    .post-single .post-media img {
        height: unset;
    }
} 
  @media (min-width: 768px) {
    .sidebar-fixed .sidebar-close,
    .sidebar-fixed .sidebar-overlay,
    .sidebar-fixed .sidebar-toggle {
      display: none;
    }
  
     .sidebar-fixed .sidebar-content {
      position: relative;
      overflow: visible;
      padding: 0;
      opacity: 1;
      z-index: 18;
    }
  
    .sidebar-fixed .sidebar-content {
      width: auto;
      transform: none;
    } 
  } 
  