/* ===== Custom additions for TMS blog on top of Hamta template ===== */

/* --- main navigation in sticky header --- */
.stick-header .main-nav {
  padding: 0;
}

.stick-header .main-nav .nav-link {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  padding: 10px 14px;
}


.stick-header .main-nav .nav-link:hover,
.stick-header .main-nav .nav-link:focus,
.stick-header .main-nav .nav-link.active,
.stick-header .main-nav .nav-link.show {
  color: #ffb400;
}

/* white hamburger icon on the dark blue sticky header */
.stick-header .main-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

.stick-header .main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* mobile: collapsed menu opens over the dark blue background, keep items readable */
@media (max-width: 991px) {
  .stick-header .main-nav .navbar-collapse {
    background-color: #2663aa;
    border-radius: 0 0 10px 10px;
    padding: 6px 12px 12px;
  }
}

.stick-header .main-nav .dropdown-menu {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 14px;
  text-align: right;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.stick-header .main-nav .dropdown-item {
  color: #2c3e66;
  padding: 8px 16px;
}

.stick-header .main-nav .dropdown-item:hover,
.stick-header .main-nav .dropdown-item:focus {
  background-color: #eef3fa;
  color: #2663aa;
}

/* --- breadcrumb --- */
.breadcrumbs-hamta {
  padding: 18px 0 0;
}

.breadcrumbs-hamta .breadcrumb {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 13px;
}

.breadcrumbs-hamta .breadcrumb a {
  color: #4e74a1;
  text-decoration: none;
}

.breadcrumbs-hamta .title-lined {
  padding-bottom: 8px;
}

/* --- hero caption on main slider --- */
.hero-caption {
  top: 18%;
  right: 8%;
  max-width: 46%;
  text-align: right;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  padding: 18px 24px;
}

.hero-caption__title {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #2c3e66;
}

.hero-caption__desc {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hero-caption {
    max-width: 84%;
    padding: 10px 14px;
  }

  .hero-caption__title {
    font-size: 18px;
  }

  .hero-caption__desc {
    font-size: 13px;
  }
}

/* --- generic 'more' link --- */
.more-link {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 14px;
  color: #4055b2;
  text-decoration: none;
}

.more-link:hover {
  color: #ffb400;
}

/* --- announcement section --- */
.announcement-section .announcement-text {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 15px;
  line-height: 2;
  color: #4a4a4a;
}

.announcement-btn {
  text-decoration: none;
}

/* --- tag chips --- */
.tag-chip {
  display: inline-block;
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 14px;
  color: #3a3a3a;
  background: #f1f3f5;
  border: 1px solid #e9ecf1;
  border-radius: 30px;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-chip:hover {
  background: #4055b2;
  color: #fff;
}

.tag-chip__count {
  display: inline-block;
  background: #ffb400;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  padding: 1px 8px;
  margin-right: 6px;
}

/* --- blog list / single --- */
.blog-section {
  padding: 24px 0 48px;
}

.blog-section .entry {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 24px;
  margin-bottom: 28px;
}

.blog-section .entry-title,
.blog-section .entry-title a {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #2c3e66;
  text-decoration: none;
}

.blog-section .entry-meta {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 13px;
  color: #8a8a8a;
  margin: 10px 0 18px;
}

.blog-section .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-section .entry-meta a {
  color: #4e74a1;
  text-decoration: none;
}

.blog-section .entry-content {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 15px;
  line-height: 2.1;
  color: #3a3a3a;
}

.blog-section .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.blog-section .entry-content blockquote {
  border-right: 4px solid #ffb400;
  background: #fef3d5;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.blog-section .entry-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* --- sidebar --- */
.blog-sidebar .sidebar-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 18px;
  margin-bottom: 24px;
}

.blog-sidebar .content-columns__title-box {
  margin-bottom: 14px;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-size: 14px;
}

.blog-sidebar ul li {
  padding: 7px 0;
  border-bottom: 1px dashed #e9ecf1;
}

.blog-sidebar ul li:last-child {
  border-bottom: none;
}

.blog-sidebar ul li a {
  color: #3a3a3a;
  text-decoration: none;
}

.blog-sidebar ul li a:hover {
  color: #4055b2;
}

.blog-sidebar .search-form {
  display: flex;
  gap: 8px;
}

/* --- comments --- */
.blog-comments {
  margin-top: 30px;
}

.blog-comments .comments-count {
  font-family: "IRANYekan", "Vazir", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #2c3e66;
  margin-bottom: 16px;
}

.blog-comments .comment {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  padding: 14px 18px;
  margin-bottom: 14px;
  font-family: "IRANYekan", "Vazir", sans-serif;
}

.blog-comments .comment-img img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-comments .comment h5 {
  font-size: 15px;
  font-weight: 700;
  color: #2c3e66;
}

.blog-comments .comment time {
  font-size: 12px;
  color: #8a8a8a;
}

.blog-comments .reply-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  padding: 18px;
  margin-top: 20px;
  font-family: "IRANYekan", "Vazir", sans-serif;
}

.blog-comments .reply-form h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e66;
  margin-bottom: 14px;
}

.blog-comments .reply-form textarea {
  min-height: 110px;
  margin-bottom: 12px;
}

.blog-comments .btn-primary {
  background: #4055b2;
  border-color: #4055b2;
}

/* --- pagination --- */
.blog-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 22px 0 0;
  font-family: "IRANYekan", "Vazir", sans-serif;
}

.blog-pagination li a {
  display: inline-block;
  min-width: 38px;
  text-align: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
  color: #3a3a3a;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.blog-pagination li.active a {
  background: #4055b2;
  color: #fff;
}

/* --- footer nav list --- */
.footer .footer__nav-list li {
  padding: 5px 0;
}

.footer .footer__nav-list a.footer__nav-link {
  text-decoration: none;
}