/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* ============================= */
/* ====================================== */
/* [blog_tabs] - CSS CHUẨN CHIA TAB & CARD */
/* ====================================== */

/* ------------------------ */
/* TAB WRAPPER + FILTER BAR */
/* ------------------------ */
.blog-tab-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  width: 100%;
}

.blog-tab-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

/* --------------------- */
/* TAB BUTTON STYLE */
/* --------------------- */
.blog-tab-btn {
  background-color: #b94626;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
  flex: 0 1 auto;
  display: inline-block;
  min-width: 130px;
  transition: 0.2s ease;
}

.blog-tab-btn.active {
  background-color: #8a3016;
}

/* --------------------- */
/* RESPONSIVE TABS */
/* --------------------- */
@media screen and (max-width: 768px) {
  .blog-tab-btn {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    font-size: 14px;
    padding: 8px 12px;
    min-width: unset;
  }
}
@media screen and (max-width: 420px) {
  .blog-tab-btn {
    flex: 0 1 44%;
    max-width: 100%;
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* ===================================== */
/* BLOG ITEM LIST (card layout) */
/* ===================================== */

.blog-items {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.blog-item-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 500px;
}

.blog-item-card:hover {
  transform: translateY(-4px);
}

.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
  object-fit: cover;
}

.blog-info {
  padding: 15px;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
  color: #222;
}

.blog-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.blog-excerpt {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* Loading indicator */
#blog-tab-posts .loading {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #555;
  display: none;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}