/*
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.   ***************/

/* @font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Thin.otf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-ExtraLight.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}


@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}


@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}



@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}


@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
} */


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


}
  #ez-toc-container {
    background:none !important;
    border: none !important;
  }
#ez-toc-container a{
	font-weight:500;
}
.searchform .button.icon {
	background:rgb(69, 192, 248) !important;
	
}
.header-newsletter-item, .header-social-icons {
display:none !important;
}


/* ===== Featured Blog Layout ===== */
.yola-featured-blog{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items:start;
}

/* Bên trái: bài chính */
.yola-featured-main .yf-thumb{ display:block; }
.yf-img-lg{
  width:100%;
  height:auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.yola-featured-main .yf-meta{ margin-top: 12px; }
.yola-featured-main .yf-date{
  font-size: 13px; color:#6b7280; display:block; margin-bottom: 6px;
}
.yola-featured-main .yf-title{
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yola-featured-main .yf-title a{
  color:#0d1221; text-decoration:none; font-weight: 700;
}
.yola-featured-main .yf-title a:hover{ color:#28a5ff; }
.yola-featured-main .yf-excerpt{
  color:#374151; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Bên phải: danh sách */
.yola-featured-list{
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.yf-item{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 12px;
  align-items:start;
}

.yf-thumb-small{ display:block; }
.yf-img-sm{
  width:100%;
  height:auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.yf-info .yf-date{
  font-size: 12.5px; color:#6b7280; display:block; margin-bottom: 4px;
}
.yf-info .yf-title{
  margin: 0 0 4px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.3;
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
}
.yf-info .yf-title a{
  font-weight: 600; color:#0d1221; text-decoration:none;
}
.yf-info .yf-title a:hover{ color:#28a5ff; }
.yf-info .yf-excerpt{
  margin: 0; color:#4b5563;
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px){
  .yola-featured-blog{
    grid-template-columns: 1fr; /* stack dọc */
  }
  .yola-featured-list{
    gap: 16px;
  }
  .yf-item{
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 767.98px){
  .yf-item{
    grid-template-columns: 1fr;
    align-items:start;
  }
  .yf-img-sm{
    border-radius: 12px;
  }
}



