/* Post */
.post .is-divider {
  display: none;
}

.post-item .post-title {
  margin-top: 5px;
}

.post-item .post-title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 45px;

}

.post-sidebar button[type="submit"] {
  display: none;
}

.post-sidebar .wp-block-search__inside-wrapper {
  display: block;
  flex-wrap: unset;
  width: 100%;
}

.post-sidebar {
  padding-left: 2rem !important;
  padding-right: 0 !important;
}

.single .wpsp-related-posts1 .post-item {
  padding: 0 0.5rem;
}

.single article h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 0.75em;
}

.single article h2 {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 0.5em;
  text-transform: unset;
}

.single article h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0.45em;
  text-transform: unset;
}

.single article h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.4em;
  text-transform: unset;
}

.single article h5 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.35em;
  text-transform: unset;
}

.single article h6 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.3em;
  text-transform: unset;
}

.widget_search form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* khoảng cách giữa input và nút */
}

.widget_search input[type="search"],
.widget_search input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.widget_search input[type="search"]:focus {
  border-color: #333;
}

.widget_search input[type="submit"] {
  padding: 10px 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  text-transform: none;
  /* không viết hoa toàn bộ */
}

.widget_search input[type="submit"]:hover {
  background-color: #000;
}

.flatsome_recent_posts .badge {
  width: 60px;
  height: auto;
  aspect-ratio: 1/1;
}

.flatsome_recent_posts a[title] {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recent-blog-posts {
  align-items: center !important;
}

.div-form-contact {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.post-sidebar .is-divider {
  display: none;
}

.post-sidebar aside,
#product-sidebar aside,
#shop-sidebar aside {
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--primary-color);
}

.widget-title {
  text-transform: uppercase !important;
  color: var(--primary-color);
}

.button.is-outline,
input[type="button"].is-outline,
input[type="reset"].is-outline,
input[type="submit"].is-outline {
  border-width: 1px;
  min-width: 100px;
}

.add_to_cart_button {
  border-radius: 4px !important;
}

.single-post article .entry-meta {
  display: none;
}

@media screen and (max-width: 821) {
  .post-item .post-title a {
    min-height: auto !important;
  }
}

@media screen and (max-width: 576px) {
  .post-sidebar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .single-post article .entry-header .entry-header-text {
    padding-left: 0;
    padding-right: 0;
  }

  .single article h1 {
    font-size: 6.5vw !important;
  }

  .single article h2 {
    font-size: 5.7vw !important;
  }

  .single article h3 {
    font-size: 5vw !important;
  }

  .single article h4,
  .single article h5,
  .single article h6 {
    font-size: 1rem !important;
  }

  .wpsp-related-posts1 h2 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .wpsp-related-posts1>.row {
    margin-left: 0 !important;
  }

  .wpsp-related-posts1 {
    padding-bottom: 30px !important;
  }
}