/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
Version: 2.1.35.1774289536
Updated: 2026-03-23 18:12:16

*/

.ts-contact {
	position: fixed;
	right: 0;
	z-index: 9999;
	bottom: 30%;
}
.ts-contact-inner {
	display: flex;
	-moz-transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	-webkit-transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	-o-transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	background-color: #ffffffdb;
	-moz-box-shadow: 6px 0 50px 0 rgba(7.999999999999972, 0, 63, 0.1);
	-webkit-box-shadow: 6px 0 50px 0 rgba(7.999999999999972, 0, 63, 0.1);
	-o-box-shadow: 6px 0 50px 0 rgba(7.999999999999972, 0, 63, 0.1);
	box-shadow: 6px 0 50px 0 rgba(7.999999999999972, 0, 63, 0.1);
	flex-direction: column;
	flex-wrap: nowrap;
	padding: 10px;
}
.ts-contact-inner a {
	margin-bottom: 10px;
	display: flex;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
	text-decoration: none !important;
	align-items: center;
	flex-direction: column;
	flex-wrap: nowrap;
	padding: 10px;
}
.ts-contact-inner a:hover {
	background-color: #448ec8;
}
.ts-contact img {
	max-width: 36px;
}
.ts-contact a span {
	display: none;
	font-size: 10px;
	color: black;
}
.ts-contact-inner a:last-child {
	margin-bottom: 0;
}
.ts-contact-inner a:hover span {
	color: #efbb20;
}
a.ts-hotline img {
	-webkit-animation: lac 1s infinite;
	animation: lac 1s infinite;
}
a.ts-form {
	cursor: pointer;
}
@keyframes lac {
	0%, 100%, 50% {
		transform: rotate(0);
	}
	10%, 30% {
		transform: rotate(-25deg);
	}

	20%, 40% {
		transform: rotate(25deg);
	}
}
@media screen and (max-width: 540px) {
	.call-now-button {
		display: none !important;
	}
	.ts-contact {
		top: unset;
		right: 0;
		width: 100%;
		bottom: 0;
	}
	.ts-contact-inner {
		padding-bottom: 0;
		display: flex;
		background-color: white;
		justify-content: space-evenly;
		flex-direction: row;
	}
	.ts-contact-inner a {
		padding: 0;
		margin: 0;
	}
	.ts-contact img {
		max-width: 32px;
		margin-bottom: 3px;
	}
	.ts-contact a span {
		display: block;
	}
	.ts-contact-inner a:hover {
		background-color: transparent;
	}
	.owl-nav {
		display: none;
	}

	.lg-testimonial-card__content img {
		max-width: 50px;
	}
}

/* css news block */
.news-block-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}

.news-featured {
    position: relative;
    height: var(--featured-height, 600px);
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    overflow: hidden;
}

.news-featured-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.08));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}

.news-title {
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 14px;
    color: #fff;
}

.news-date {
    font-size: 14px;
    color: #ddd;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 30px;
}

.news-item .news-thumb {
    display: block;
    margin-bottom: 16px;
}

.news-item .news-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.news-item-title {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.news-item-title a {
    text-decoration: none;
    color: #000;
}

.news-excerpt {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

@media (max-width: 991px) {
    .news-block-wrap {
        grid-template-columns: 1fr;
    }

    .news-featured {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .news-list {
        grid-template-columns: 1fr;
    }
	.news-overlay {
		padding: 20px;
	}

	h2.news-title {
		font-size: 24px;
	}
}
/* Top view */

.top-view-box {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
}

.top-view-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
    position: relative;
    padding-left: 12px;
    color: #0f172a;
}

.top-view-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 18px;
    background: #2563eb;
    border-radius: 2px;
}

.top-view-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-view-posts li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.top-view-posts li:last-child {
    border-bottom: none;
}

.top-view-posts .rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 5px; */
}

.top-view-posts li a {
    flex: 1;
    color: #111827;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.top-view-posts li a:hover {
    color: #2563eb;
}

.top-view-posts .views {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

/* bài viết mới nhất */
.bv-related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bv-related-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.bv-related-thumb img {
    width: 80px;
    border-radius: 3px;
    object-fit: cover;
}

.bv-related-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 6px;
    font-weight: 600;
}
.bv-related-thumb {
    width: 80px;
    flex-basis: 80px;
}

.bv-related-content {
    flex-basis: calc(100% - 95px);
    width: calc(100% - 95px);
}
.bv-related-date {
    font-size: 14px;
    color: #7a7a7a;
}
.bv-related-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0;
    font-size: 14px;
}