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

/*************** ADD CUSTOM CSS FONT HERE.   ***************/

/*************** ADD CUSTOM CSS HERE.   ***************/
a.button {
    padding: 0;
}
body {
    font-family: 'SVN Poppins';
}
.header .header-bottom-nav.nav > li > a {
    color: #000000;
    font-family: 'SVN Poppins';
    font-size: 14px;
    letter-spacing: .09px;
    font-weight: 500;
}
.header .header-main .nav > li > a {
    font-family: 'SVN Poppins';
    font-size: 14px;
    letter-spacing: .09px;
    font-weight: 600;
}
h5.post-title.is-large {
    font-family: 'SVN Poppins';
}
.section.home-section {
    padding-left: 0px;
    padding-right: 0px;
}
.col.post-item .is-divider {
    display: none;
}
.blog-col-doc .box-text.text-left {
    padding: 15px 0 0 0px;
    display: flex;
    flex-direction: column;
}
.col.post-item .box-image img {
    border-radius: 8px;
}
header#header {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .1);
    background-color: #fff;
}
.section-title-normal span {
    border-bottom: 3px solid #be1e2d;
    margin-bottom: 0px;
    font-size: 20px;
}
.section-title-container {
    margin-bottom: 0;
}
.section-title a {
    font-size: 14px;
    font-weight: 400;
}
.home-post .col.post-item {
    padding: 0 8px 0px;
}
.box.box-blog-post .box-image {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}
.box-blog-post h3.post-title a {
    font-size: 16px;
    line-height: 1.3em;
    color: #140808;
    letter-spacing: .4px;
    font-weight: 500;
}
.blog-col-doc .box-blog-post h3.post-title a {
    -webkit-line-clamp: 4;
}
p.from_the_blog_excerpt {
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.5em;
    letter-spacing: .06px;
}
.box-text-inner.blog-post-inner {
    display: flex;
    flex-direction: column;
}
.box-text-inner.blog-post-inner .webdigital-post-meta {
    order: -1;
}
h3.post-title.is-large {
    margin-top: 10px;
}
.box-text.text-left {
    padding-bottom: 8px;
}
.post-one-home .box-image .image-cover.img .caption, .overlay {
    background: linear-gradient(transparent,#0000002e, #000);
}
.post-one-home .box-blog-post h3.post-title a {
    color: white;
    font-size: 16px;
}
.post-one-home .post-meta.is-small.op-8 {
    color: white;
    opacity: 1;
}
.post-one-home p.from_the_blog_excerpt {
    color: #ffffff;
}
/*CSS use content post*/
.use-date {
    display: flex;
    flex-direction: row;
}
.webdigital-post-meta {
    display: flex;
    align-items: center;
    width: 100%;
    float: left;

}
span.dot-separator {
    margin: 0 8px;
    font-size: 12px;
    color: #626262;
}
span.webdigital-date {
    font-size: 12px;
    color: #1a1a1a;
    letter-spacing: .05px;
}
p.from_the_blog_comments.uppercase.is-xsmall {
    width: 35%;
    display: inline-block;
    float: right;
    text-transform: none;
}
span.webdigital-author a {
    font-size: 14px;
}
.social-action-box {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  padding: 12px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.sab-item {
  flex: 1;
  text-align: center;
}

.sab-btn {
  display: inline-block;
  background: #f5f5f5;
  padding: 8px 14px;
  border-radius: 6px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sab-btn:hover {
  background: #0073aa;
  color: #fff;
}


span.webdigital-avatar img.avatar {
    margin-right: 8px;
    border-radius: 100%;
    object-fit: cover;
    width: 40px;
    height: 40px;
}
span.webdigital-author {
    height: 16px;
    display: flex;
    align-items: center;
}
/*CSS use content post END*/

@media screen and (min-width: 850px) {
    .col-divided {
        border-right: none;
    }
}
.box.box-vertical.box-blog-post .box-image {
    padding-right: 15px;
}
.box.box-vertical.box-blog-post .box-text.text-left {
    padding: 0;
}
.box.box-verticalbox-blog-post h3.post-title a {
    font-size: 14px;
    line-height: 1.5em;
    min-height: 34px;
    color: #140808;
    letter-spacing: .4px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.header-nav.header-nav-main.nav-left li.active {
    border-bottom: 1px solid #e77d8a;
}
.header-nav.header-nav-main.nav-left li:nth-child(1) a {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/home.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li.active:nth-child(1) a,.header-nav.header-nav-main.nav-left li:nth-child(1) a:hover {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/home-active.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li:nth-child(2) a {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/exalted.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li.active:nth-child(2) a,.header-nav.header-nav-main.nav-left li:nth-child(2) a:hover {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/exalted-active.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li:nth-child(3) a {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/hot.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li.active:nth-child(3) a,.header-nav.header-nav-main.nav-left li:nth-child(3) a:hover {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/hot-active.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li:nth-child(4) a {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/new.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.header-nav.header-nav-main.nav-left li.active:nth-child(4) a,.header-nav.header-nav-main.nav-left li:nth-child(4) a:hover {
    background: url(/wp-content/themes/webdigital-flatsome-child/img/new-active.svg) no-repeat;
    background-position: 0px 6px;
    transition: 0s;
    background-size: 17px 18px;
    padding-left: 26px;
    display: flex;
}
.row.sidebar-post-new.hot-new .col.post-item .box-image img
 {
    border-radius: 100%;
}
@media screen and (min-width: 850px) {
    .col-border+.col, .col-divided+.col {
        padding-left: 15px;
    }
}
.sidebar-post-new .box.box-vertical.box-blog-post .box-image {
    padding-right: 10px;
}
.box-blog-post h3.post-title a:hover {
    color: #dd5567;
}
/*.box-blog-post h3.post-title a {
    font-size: 12px;
}*/
span.widget-title {
    font-size: 20px;
}
.row.blog-col-doc .col.post-item {
    padding: 0 8px 16px;
}
.sidebar-post-new .box-blog-post h3.post-title a,a.webdigital-title {
    min-height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.sidebar-post-new .box-blog-post h3.post-title a{
    font-size: 12px;
}
.sidebar-post-new.hot-new .col.post-item {
    padding-bottom: 15px;
}

.row.slider-home-post h3.post-title a {
    color: white;
}
.row.slider-home-post .box-text-inner.blog-post-inner .tag-label {
    font-weight: 400;
}
.row.slider-home-post .has-hover:hover .tag-label {
    background-color: var(--fs-color-secondary);
    opacity: 1;
    background-color: #4c4b49;
}
/* Ghim sidebar trên Flatsome */
.widget-area {
    position: sticky;
    top: 120px; /* khoảng cách từ đỉnh màn hình */
}
.col.post-item .box.box-blog-post {
    display: flex;
    flex-direction: column-reverse;
}
.box.box-blog-post .box-image {
    width: 100%;
}
.blog-post-inner a.button.is-underline {
    width: fit-content;
}
.col.post-item .box.box-blog-post {
    padding: 15px;
    border-radius: 16px;
}
.post-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 10px;
}
.post-action a {
    display: block;
    width: 100%;
    text-align: center;
    color: #555;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.2s;
}
.post-action {
    background-color: #E5EBEE;
    border-radius: 50px;
    width: fit-content;
    padding: 0px 12px;
    font-size: 13px;
}
.post-action.share {
    display: flex;
}
.post-action.share img {
    height: 13px;
    margin-bottom: 3px;
}
.post-action:hover {
    background-color: #DBE4E9;
}
button.ux-relay__load-more-button {
    color: black;
    border-radius: 50px !important;
}
button.ux-relay__load-more-button:hover {
    color: black;
}
.sidebar-post-new .post-actions {
    display: none;
}
.sidebar-post-new h3.post-title.is-large {
    margin-top: 0px;
}
.sidebar-post-new .col.post-item .box.box-blog-post {
    display: flex;
    flex-direction: row;
    padding: 0;
}
.sidebar-post-new .col.post-item {
    padding-bottom: 20px;
}
.page-inner .col.post-item .col-inner,#post-list .col.post-item .col-inner{
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .1);
    border-radius: 16px;
}
#at_posts_related .row .col.post-item .col-inner {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .1);
    border-radius: 16px;
}
a.read-more {
    font-weight: 500;
}
.widget .menu-main-navigation-container>ul>li a{
    color: #e77d8a;
    font-size: 14px;
}
.footer-wrapper {
    box-shadow: 0px 5px 6px 6px rgba(0, 0, 0, .1);
}
li.header-search-form {
    min-width: 400px;
}
input#submit {
    background-color: white;
    color: black;
    border: solid 1px black;
    max-height: 10px;
    font-size: 14px;
    line-height: 1em;
}
.wpuf-form a.button, input.wpuf-submit-button {
    color: #121621;
    background: whitesmoke;
    border: 1px solid #b8b8b8;
    font-weight: 400;
}
input.wpuf-submit-button:hover {
    color: #121621;
    border: 1px solid #b8b8b8;
}
body .wpuf-dashboard-container .items-table-container, body .wpuf-dashboard-container .wpuf-dashboard-content.invoices {
    max-width: 100%;
    overflow-y: auto;
    width: 100%;
}
button.ux-relay__load-more-button {
    background-color: white;
    color: black;
    border: solid 1px black;
    max-height: 10px;
    font-size: 14px;
    line-height: 1em;
}
footer#footer h3 {
    font-weight: 400;
    font-size: 16px;
}
footer#footer .col {
    padding-bottom: 0;
}
.absolute-footer {
    padding: 5px;
}
.img.logo-footer {
    margin-bottom: 5px !important;
}
.menu-footer-horizontal ul {
    position: relative;
    flex: 1 1 0%;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}
.menu-footer-horizontal ul li {
    padding: 1px 15px;
    /* border-right: 1px solid #000; */
    border-right: 1px solid #a4a4a4;
    margin: 0;
	font-size: 13px;
}
.menu-footer-horizontal ul li:first-child{
    padding-left: 0;
}
.menu-footer-horizontal ul li:last-child{
    padding-right: 0;
    border: none;
}
.large-3.col.col-left-sidebar {
    padding: 0;
}
.wp-singular.single-post .post {
    text-align: justify;
    padding: 30px;
    /* padding-right: 50px; */
    border-radius: 15px;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 10%);
}
.featured-authors-widget {
  padding: 10px 0;
}

.featured-authors-widget .widget-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

.author-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.author-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}
strong.nameauthor {
    font-size: 12px;
    letter-spacing: 0.6px;
}
.author-info span {
    font-size: 10px;
    color: #1a0000;
    letter-spacing: .06px;
}
.author-info {
    display: flex;
    flex-direction: column;
}

.choice .box-image {
    display: none;
}
.row.sidebar-post-new.choice .col.post-item {
    padding-bottom: 15px;
}

.row.sidebar-post-new.choice .post-meta.is-small.op-8 {
    width: 50%;
    float: left;
}
.row.sidebar-post-new.choice p.from_the_blog_comments {
    padding-top: 0;
}
.text.choice-title {
    display: flex;
    align-items: center;
}
.text.choice-title img {
    width: 40px;
    margin-left: 10px;
}
.text.choice-title h3 {
    width: fit-content;
}
#at_posts_related h3.post-title.is-large a,.blog #post-list h3.post-title.is-large a
 {
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 1;
    height: 25px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.img.banner-home img {
    border-radius: 8px;
}
.text.choice-title a {
    color: rgb(220, 115, 142);
}
.entry-image img {
    border-radius: 8px;
}
.entry-image {
  position: relative;
  text-align: center;
}

.entry-image .featured-image-caption {
  display: block;
  margin-top: 8px;
  color: #666;
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
}
div#at_posts_related .col {
    padding: 0 10px 20px !important;
}
div#at_posts_related .post-action {
    padding: 0px 9px;
    font-size: 12px;
}
p.submit input#wp-submit {
    background-color: #fa97a5;
}
.sidebar-post-new .box-image figcaption.featured-image-caption {
    display: none;
}
.my-sidebar-wrapper { /* đảm bảo không có overflow trên container cha */
  position: relative;
}
.author-post-item .info p {
    margin-bottom: 0;
}

/* Sticky cơ bản */
.my-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px; /* khoảng cách từ top khi dính, chỉnh theo header của bạn */
  align-self: flex-start;
}
.pagination-wrapper {
    margin-top: 30px;
}

.author-post-item .info h3.post-title {
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 2;
    height: 50px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.author-post-item .info p {
    margin-bottom: 0;
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.5em;
    letter-spacing: .06px;
}
	#at_posts_related h3.post-title.is-large a,.blog #post-list h3.post-title.is-large a
	 {
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 25px;
		-webkit-line-clamp: 2;
		height: 50px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
@media screen and (min-width: 850px) {
    .col-divided {
        padding-right: 0px;
    }
}
/* Ẩn sticky trên mobile */
@media (max-width: 1023px) {
  .my-sticky-sidebar { position: static; top: auto; }
}

@media only screen and (min-width: 1500px) {

}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.post-sidebar.sidebar-post-sing {
		display: none;
	}
	div#secondary {
		display: none;
	}
	.wp-singular.single-post .post {
		padding: 0;
		border: none;
		box-shadow: none;
	}
	#at_posts_related h3.post-title.is-large a,.blog #post-list h3.post-title.is-large a
	 {
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 25px;
		-webkit-line-clamp: 2;
		height: 50px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
	    .post-sidebar div#secondary {
        display: block;
    }
	.archive .post-sidebar {
		display: none;
	}
}