.article-details .article-header h1,
.article-details .article-header h2 {
    font-size: 2rem; /* desktop size */
}

/* Tablet */
@media (max-width: 991px) {
    .article-details .article-header h1,
    .article-details .article-header h2 {
        font-size: 1.5rem; /* Suitable size for tablet */
    }
}

/* Mobile */
@media (max-width: 767px) {
    .article-details .article-header h1,
    .article-details .article-header h2 {
        font-size: 1rem; /* Suitable size for mobile */
    }
}

.article-list .article .article-header h2 a {
  color: #252525;
}
.breadcrumb-bar {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
}

.breadcrumb-bar a {
  color: inherit;
}
#sp-main-body {
  padding: 15px 0;
}

.form-control {
  padding: .375rem .75rem;
  font-size: .9rem;
  font-weight: 400;
  border: 1px solid #e2e2e2;
  width: 100% !important;
}

/* --- 1. باز کردن overflow والدها --- */
.com-finder,
.com-finder .search,
.com-finder .form-control,
.com-finder .control-group,
.com-finder .input-group,
.module,
.sp-column {
    overflow: visible !important;
    position: relative;
}

/* --- 2. آوردن dropdown روی همه چیز --- */
.awesomplete > ul,
.autocomplete-suggestions,
.com-finder .results,
.finder-autocomplete {
    position: absolute !important;
    z-index: 999999 !important;
}

/* right column*/
.col-lg-2 {
  background: #ffff;
  border-radius: 22px;
  box-shadow: 1px 2px 4px 0px #eeee;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* hide right column in mobile */
@media (max-width: 767px) {
  .col-lg-2 {
    display: none !important;
  }
}

/* main column*/
.col-lg-10 {
  background: #ffff;
  border-radius: 22px;
  box-shadow: 1px 2px 4px 0px #eeee;
  padding: 20px 20px 20px 20px;
}

@media (min-width: 992px) {
  .col-lg-10 {
    flex: 0 0 auto;
    width: 78.33333333%;
    margin-right: 5px;
  }
}

/*زمینه زیر مطالب*/
.article-list .article {
  margin-bottom: 30px;
  box-shadow: 1px 2px 4px 0px #eeee;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 18px;
}

#sp-right .sp-module {
  margin-top: 20px;
  border: 1px solid #f3f3f3;
  padding: 15px 20px 15px 20px;
  border-radius: 15px;
}

.com-finder > * + *, .com-finder__results > * + * {
  margin-top: 0em;
}

/*page of tag results*/
.list-group-item-action p {
    margin-top: 10px;
}

.btn-group {
    margin-bottom: 10px;
}

/* sticky menu style */
.responsive-menu {
    display: flex;
    align-items: center;
    background: #ffff;
    transition: all 0.3s;
    z-index: 99999; /* همیشه روی همه عناصر */
}

/* هر گزینه */
.responsive-menu a {
    display: flex;
    flex-direction: column; /* آیکن و متن داخل خود مربع عمودی */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #7b7b7b;
    font-size: 11px;
    min-width: 50px;
    margin: 2px;
    background: inherit;
    border-radius: 12px;
    padding: 5px;
    transition: transform 0.2s, background-color 0.2s;
}

/* آیکن ها */
.responsive-menu a .icon {
    font-size: 15px;
    color: #818181;
    margin-bottom: 2px;
    transition: color 0.2s; /* تغییر رنگ آیکن */
}

/* حالت هاور و فعال */
.responsive-menu a:hover {
    transform: translateY(-2px); /* افکت حرکت */
}

/* تغییر رنگ آیکن وقتی گزینه فعال یا هاور می شود */
.responsive-menu a:hover .icon,
.responsive-menu a.active .icon {
    color: #6366f1; /* رنگ آیکن فعال */
}

/* برچسب */
.responsive-menu a .label {
    font-size: 10.5px;
    text-align: center;
}

/* ================= دسکتاپ و لپ تاپ ================= */
@media (min-width:1025px) {
    .responsive-menu {
        flex-direction: column; /* عمودی */
        position: fixed;
        top: 100px; /* فاصله از بالا */
        right: 10px;
        width: 52px; /* عرض سایدبار */
        padding: 1px 0;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
        border-radius: 15px;
    }
    .responsive-menu a {
        color: #5b5b5b;
        margin: 10px 0; /* فاصله عمودی مناسب */
    }
}

/* ================= تبلت و موبایل ================= */
@media (max-width:1024px) {
    .responsive-menu {
        flex-direction: row; /* افقی */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: space-around;
        padding: 4px 4px;
        box-shadow: 0 0px 2px rgba(0,0,0,0.12);
        border-top: 0px solid #e6e5e5;
    }
    .responsive-menu a {
        flex: 1; /* هر گزینه مساوی عرض */
        margin: 0 2px;
    }
    .responsive-menu a .icon {
    font-size: 14px;
     color: #a3a3a3;
    }
}