/* Typography Style - Inspired by dienmaycholon.com */

* {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body, p, span, a, li, .content, .text, .post-content, .entry-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  letter-spacing: 0px;
}

h1, h2, h3, h4, h5, h6, .title, .heading, .flatsome-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 15px;
}

strong, b, .bold {
  font-weight: 700;
}

nav, .menu, .navbar, .main-menu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
}

button, .btn, .button, input[type="button"], input[type="submit"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
}

/* Blog Layout - Original spacing, 3-line excerpt */

.box.box-blog-post {
  display: flex !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.box.box-blog-post .box-image {
  flex: 0 0 35% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.box.box-blog-post .box-text {
  flex: 1 1 65% !important;
}

.post-title {
  margin: 10px 0 !important;
  font-size: 18px !important;
}

.from_the_blog_excerpt {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}


/* Text Box - Align Top */

.box.box-blog-post {
  align-items: flex-start !important;
}

.box.box-blog-post .box-text {
  padding-top: 0 !important;
  margin-top: 0 !important;
}





/* Blog Post Layout - Flexbox */

.box.box-blog-post {
  display: flex !important;
  gap: 20px !important;
  align-items: flex-start !important;
}

.box.box-blog-post .box-image {
  flex: 0 0 35% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.box.box-blog-post .box-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0.9 !important;
}

.box.box-blog-post .box-image .overlay {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.box.box-blog-post .box-text {
  flex: 1 1 65% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.box.box-blog-post .box-text-inner {
  margin: 0 !important;
  padding: 0 !important;
}

.post-title {
  margin: 10px 0 !important;
  font-size: 18px !important;
}

.from_the_blog_excerpt {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.blog-post-category {
  display: inline-block;
  background-color: #e8a87c !important;
  color: white !important;
  padding: 4px 12px !important;
  border-radius: 15px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  margin-top: 8px !important;
}


}




/* Badge - Center vertically only */
.box.box-blog-post .badge.absolute.post-date,
.badge.absolute.post-date {
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
}


    font-size: 12px !important;
    font-weight: 500 !important;
  }
}




}


  }
}




/* Mobile - Metadata & Category một hàng, co chữ */
@media (max-width: 1024px) {
  .blog-meta-footer {
    display: flex !important;
    flex-wrap: nowrap !important;
    font-size: 10px !important;
    gap: 6px !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px solid #f0f0f0 !important;
  }
  
  .blog-meta-footer > span {
    font-size: 10px !important;
    white-space: nowrap !important;
  }
}


/* Menu - Font weight bold */
nav a,
.menu a,
.nav-link {
  font-weight: 600 !important;
}

