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


body,html,#wrapper{
	background: #ecf0f3 ;
}

.anhcobox {
  position: relative;       /* để ::after định vị tuyệt đối */
  display: inline-block;
  padding: 10px;
}

.anhcobox img {
  display: block;
  width: 300px;             /* chỉnh kích thước ảnh */
  border-radius: 12px;      /* bo góc nếu cần */
}

.anhcobox::after ,.khungduan .col-inner:after{
  content: "";
  position: absolute;
  top: 10px;                /* lệch xuống 10px */
  left: 10px;               /* lệch sang 10px */
  right: 10px;
  bottom: 10px;
  border-radius: 12px;      /* giống ảnh */
  box-shadow:  5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff;
  z-index: -1;              /* đưa bóng ra sau ảnh */
}

.listtk p{

    margin-bottom: 5px;
    border-bottom: 1px solid #e9e9e9;
    padding: 10px 0px;
}
.listtk p img{
	margin-right: 5px;
}

.anhlogo .col .img-inner {
    display: flex;
  justify-content: center; /* ngang */
  align-items: center;     /* dọc */
  height: 150px;           /* chiều cao khung chứa */
  padding: 10px;
  border-radius: 5px;
}
.anhlogo .col .img-inner img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* hoặc cover */
}
.inlinehinh img{
  display: inline-block;
}
.absolute-footer {
    display: none;
}

.khungduan .box-blog-post{
/*  border:1px solid #EBEBEB;*/
  padding: 20px;
  border-radius: 8px;
  height: 300px;
  background: white;
  box-shadow: 2px 2px 8px 1px #0d0f284d;
}

.khungduan .box-blog-post .post-title{
  color:#1273ff;
}
.khungduan .col-inner:hover{
  transform: translateY(-10px);
  transition: 0.5s all;

}

.khungduan .col-inner{
 
  transition: 0.5s all;

}

.ngonngu .img-inner.dark {
    border: 1px solid #e4e4e4;
    padding: 15px;
    border-radius: 20px;
}
.bordergoc{
  border-radius: 10px;
}

.bordergoc .banner-bg.fill{
border-radius: 10px;
}

.acf-gioithieu-duan.is-small.op-8 {
    font-size: 14px;
}

.boxinfo {
    border: 1px solid #d6d3d3;
    border-radius: 8px;
    padding: 10px 0px;
}
.boxinfo .lienhesocial img{
  margin:5px 10px;
}
.hinhavata .img-inner {
  margin: 10px 0px;
  border-radius: 100%;
    height: 130px;
    width: 130px;
    border: 1px solid;
  transform: translateX(-5px);
}

.flatsome_recent_posts li {
    margin-bottom: 0;
    list-style: none;
}
.recent-blog-posts {
    padding: 6px 0;
     align-items: center !important;
}
.flatsome_recent_posts li .badge {
    margin-left: 0;
    width: 100px;
    height: 70px;
}
.flatsome_recent_posts li .badge .badge-inner {
    border-radius: 6px;
    border: none !important;
    padding: 0;
}
.recent-blog-posts a{
font-weight: 500;
    margin-bottom: 6px;
font-size: 15px;
    line-height: 18px;
    color: #2C2C2C;
}
.recent-blog-posts a:hover{color:orangered}
.flatsome_recent_posts .mr-half {
    margin-right: 8px;
    border-right: 1px solid #ebebeb;
    padding-right: 5px;
}

.flatsome_recent_posts li {
    margin-bottom: 0;
    list-style: none;
    border: 1px solid #e9e6e6;
    margin-bottom: 15px;
    border-radius: 7px;
}
.post-sidebar.large-3.col{
  padding: 20px;
}

span.widget-title {
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 3px solid #ffae16;
    padding-bottom: 10px;
}

a.tuvanchitiet.nai-btn {
    height: 60px;
    line-height: 38px;
    font-weight: bold;
    background: #ffae16;
    color: white;
}

.dongsocial .col .img-inner img {
    padding: 15px;
    background: white;
    border-radius: 50px;
}

.post-meta p{
  padding: 10px 0px;
  border-bottom: 1px solid #d5d5d5;
}
/* Container chính */
.related-projects {
  margin-top: 60px;
  padding: 40px 0;
  background: #fafafa;
  border-radius: 12px;
}

/* Tiêu đề */
.related-projects h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.related-projects h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0073e6; /* màu xanh hoặc màu thương hiệu */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Box dự án */
.related-projects .box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  padding: 10px;
}

.related-projects .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* Ảnh */
.related-projects .box-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Nội dung */
.related-projects .box-text {
  padding: 15px 20px;
  text-align: center;
}

.related-projects .box-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.related-projects .box-text h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-projects .box-text h4 a:hover {
  color: #0073e6;
}
.post-excerpt {
    margin: 10px 0px;
   
}
.faqcustom li{
  margin-left: 10px;
}

.dongsocial .img{
  display: inline-block;
}
.entry-content.single-page img {
    border-radius: 10px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.nhaydong{
  display: block;
}

}

/* Fix grid 3 cột */
.blogbaiviet.large-columns-3 {
  gap: 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
.blogbaiviet.large-columns-3 > .col.post-item {
  flex: 0 1 calc(33.333% - 16px) !important;
  max-width: calc(33.333% - 16px) !important;
}
/* Card đẹp */
.blogbaiviet .box.box-blog-post {
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(18,115,255,0.10) !important;
  border: 1.5px solid rgba(18,115,255,0.08) !important;
  padding: 0 !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease !important;
  background: white;
  overflow: hidden;
}
.blogbaiviet .box.box-blog-post:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 36px rgba(18,115,255,0.20) !important;
}
/* Ảnh */
.blogbaiviet .image-cover {
  padding: 0 !important;
  height: 195px !important;
}
.blogbaiviet .image-cover > a, .blogbaiviet .image-cover img {
  height: 195px !important;
  object-fit: cover !important;
}
/* Tiêu đề 3 dòng + ... */
.blogbaiviet h5.post-title.is-large a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: #1a1a2e !important;
}
/* Divider gradient */
.blogbaiviet .is-divider {
  background: linear-gradient(90deg, #1273ff, #7ec8ff) !important;
  height: 2px !important;
  width: 44px !important;
}
/* Excerpt 2 dòng */
.blogbaiviet .from_the_blog_excerpt ,.blogbaiviet h5.post-title.is-large a{
  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}