/******************************************************************
Theme Name: Cỏ nhân tạo
Theme URI: #
Description: 
Author: Halink Web
Author URI: https://halinkweb.com/thiet-ke-website/
Version: 3.0
Tags:
*/

*, ::after, ::before {
    box-sizing: border-box;
}

a, a:hover, a:active{
	text-decoration:none;
}

img,
video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

img.alignleft,
img.alignright {
	float: none;
	margin: 0;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Gallery widget */

.wp-caption,
.gallery-caption {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	margin-bottom: 1.5em;
	max-width: 100%;
}

.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin: 0 0 1.5em;
	padding: 0 1em 0 0;
	width: 50%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

@media screen and (min-width: 30em) {
	/* Gallery Columns */

	.gallery-item {
		max-width: 25%;
	}

	.gallery-columns-1 .gallery-item {
		max-width: 100%;
	}

	.gallery-columns-2 .gallery-item {
		max-width: 50%;
	}

	.gallery-columns-3 .gallery-item {
		max-width: 33.33%;
	}

	.gallery-columns-4 .gallery-item {
		max-width: 25%;
	}
}

@media screen and (min-width: 48em) {
	/* Gallery Columns */

	.gallery-columns-5 .gallery-item {
		max-width: 20%;
	}

	.gallery-columns-6 .gallery-item {
		max-width: 16.66%;
	}

	.gallery-columns-7 .gallery-item {
		max-width: 14.28%;
	}

	.gallery-columns-8 .gallery-item {
		max-width: 12.5%;
	}

	.gallery-columns-9 .gallery-item {
		max-width: 11.11%;
	}
}

/* Sidebar Liên hệ widget — ảnh full */
.halink-lienhe-widget {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-bottom: 24px !important;
}

.halink-lienhe-wrap {
	position: relative;
	padding: 3px;
	border-radius: 14px;
	background: #0089c9;
	background-size: 400% 400%;
	animation: halink-lienhe-border 5s ease infinite;
	box-shadow: 0 10px 36px rgba(67, 159, 85, 0.28);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.halink-lienhe-wrap:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 44px rgba(67, 159, 85, 0.38);
}

@keyframes halink-lienhe-border {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.halink-lienhe-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 11px 11px 0 0;
	background: #0089c9;
}

.halink-lienhe-head-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
	animation: halink-lienhe-dot 2s ease infinite;
	flex-shrink: 0;
}

@keyframes halink-lienhe-dot {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
	70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.halink-lienhe-title {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.halink-lienhe-full {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 0 0 11px 11px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	line-height: 0;
}

.halink-lienhe-wrap--no-head .halink-lienhe-full {
	border-radius: 11px;
}

.halink-lienhe-media {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.halink-lienhe-media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	transition: transform 0.5s ease;
}

.halink-lienhe-full:hover .halink-lienhe-media img {
	transform: scale(1.03);
}

.halink-lienhe-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 40%,
		rgba(255, 255, 255, 0.45) 50%,
		transparent 60%
	);
	transform: translateX(-120%);
	transition: transform 0.7s ease;
	pointer-events: none;
}

.halink-lienhe-full:hover .halink-lienhe-shine {
	transform: translateX(120%);
}

.halink-lienhe-fab {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: 52px;
	height: 52px;
	pointer-events: none;
}

.halink-lienhe-fab-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid #0089c9;
	animation: halink-lienhe-fab-ring 2s ease-out infinite;
}

.halink-lienhe-fab-ring--delay {
	animation-delay: 1s;
}

@keyframes halink-lienhe-fab-ring {
	0% { transform: scale(0.75); opacity: 0.9; }
	100% { transform: scale(1.8); opacity: 0; }
}

.halink-lienhe-fab-btn {
	position: absolute;
	inset: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(145deg, #439f55, #57ad68);
	color: #fff;
	box-shadow: 0 4px 16px rgba(67, 159, 85, 0.55);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.halink-lienhe-fab-btn svg {
	width: 22px;
	height: 22px;
}

.halink-lienhe-full:hover .halink-lienhe-fab-btn {
	transform: scale(1.1);
	box-shadow: 0 6px 22px rgba(67, 159, 85, 0.7);
}

/* Sidebar Tin tức widget */
.halink-sidebar-post {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-bottom: 24px !important;
}

.halink-post-wrap {
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(15, 60, 30, 0.1);
	border: 1px solid rgba(67, 159, 85, 0.15);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.halink-post-wrap:hover {
	box-shadow: 0 14px 40px rgba(67, 159, 85, 0.18);
	transform: translateY(-2px);
}

.halink-post-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: #0089c9;
}

.halink-post-head-icon {
	width: 20px;
	height: 20px;
	color: #fff;
	flex-shrink: 0;
}

.halink-post-title {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.halink-post-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.halink-post-item {
	margin: 0;
	padding: 0 !important;
	background: none !important;
	background-image: none !important;
}

.halink-post-item + .halink-post-item {
	border-top: 1px dashed rgba(67, 159, 85, 0.2);
}

.halink-post-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #2c3e30;
	text-decoration: none;
	transition: background 0.25s ease;
	margin-bottom: 0 !important;
}

.halink-post-link:hover {
	background: linear-gradient(90deg, rgba(67, 159, 85, 0.08) 0%, rgba(87, 173, 104, 0.04) 100%);
	color: #1a5c2e;
}

.halink-post-thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid rgba(67, 159, 85, 0.25);
	background: linear-gradient(145deg, #e8f7ec, #d4eeda);
	line-height: 0;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.halink-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.halink-post-thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0089c9;
}

.halink-post-thumb--empty svg {
	width: 28px;
	height: 28px;
	opacity: 0.7;
}

.halink-post-link:hover .halink-post-thumb {
	border-color: #439f55;
	transform: scale(1.05);
}

.halink-post-body {
	flex: 1;
	min-width: 0;
}

.halink-post-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: #000;
	transition: color 0.25s ease;
}

.halink-post-link:hover .halink-post-name {
	color: #0089c9;
}

.halink-post-date {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 500;
	color: #0089c9;
}

.halink-post-arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(67, 159, 85, 0.1);
	color: #0089c9;
	transition: background 0.25s ease, transform 0.25s ease;
	display: none;
}

.halink-post-arrow svg {
	width: 16px;
	height: 16px;
}

.halink-post-link:hover .halink-post-arrow {
	background: #0089c9;
	color: #fff;
	transform: translateX(3px);
}

/* Sidebar Danh mục widget */
.halink-sidebar-category {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-bottom: 24px !important;
}

.halink-cat-wrap {
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(15, 60, 30, 0.1);
	border: 1px solid rgba(67, 159, 85, 0.15);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.halink-cat-wrap:hover {
	box-shadow: 0 14px 40px rgba(67, 159, 85, 0.18);
	transform: translateY(-2px);
}

.halink-cat-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: #0089c9;
}

.halink-cat-head-icon {
	width: 20px;
	height: 20px;
	color: #fff;
	flex-shrink: 0;
}

.halink-cat-title {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.halink-cat-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.halink-cat-item {
	margin: 0;
	padding: 0 !important;
	background: none !important;
	background-image: none !important;
}

.halink-cat-item + .halink-cat-item {
	border-top: 1px dashed rgba(67, 159, 85, 0.2);
}

.halink-cat-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	color: #1e3a24;
	text-decoration: none;
	transition: background 0.25s ease;
}

.halink-cat-link:hover {
	background: linear-gradient(90deg, rgba(67, 159, 85, 0.1) 0%, rgba(87, 173, 104, 0.05) 100%);
	color: #0089c9;
}

.halink-cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 8px;
	background: linear-gradient(145deg, #e8f7ec, #d4eeda);
	color: #0089c9;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.halink-cat-icon svg {
	width: 16px;
	height: 16px;
}

.halink-cat-link:hover .halink-cat-icon {
	background: #0089c9;
	color: #fff;
	transform: scale(1.08);
}

.halink-cat-name {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	transition: color 0.25s ease;
}

.halink-cat-link:hover .halink-cat-name {
	color: #0089c9;
}

.halink-cat-count {
	flex-shrink: 0;
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(67, 159, 85, 0.12);
	color: #0089c9;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	transition: background 0.25s ease, color 0.25s ease;
}

.halink-cat-link:hover .halink-cat-count {
	background: #0089c9;
	color: #fff;
}

.halink-cat-arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(67, 159, 85, 0.1);
	color: #0089c9;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.halink-cat-arrow svg {
	width: 16px;
	height: 16px;
}

.halink-cat-link:hover .halink-cat-arrow {
	opacity: 1;
	transform: translateX(0);
	background: #0089c9;
	color: #fff;
}

/* Sidebar Bản đồ widget */
.halink-sidebar-map {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-bottom: 24px !important;
}

.halink-map-wrap {
	overflow: visible;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(0, 80, 120, 0.12);
	border: 1px solid rgba(0, 137, 201, 0.2);
	transition: box-shadow 0.35s ease;
	transform: none !important;
}

.halink-map-wrap:hover {
	box-shadow: 0 14px 40px rgba(0, 137, 201, 0.22);
}

.halink-map-head {
	display: flex;
	align-items: center;
	justify-content: center;	
	gap: 8px;
	padding: 12px 16px;
	background: linear-gradient(135deg, #0089c9 0%, #00a8e8 100%);
	border-radius: 10px 10px 0px 0px;
}

.halink-map-head-icon {
	width: 20px;
	height: 20px;
	color: #fff;
	flex-shrink: 0;
}

.halink-map-title {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.halink-map-body {
	padding: 10px;
	background: linear-gradient(180deg, #f0f9fd 0%, #fff 100%);
	overflow: visible;
}

.halink-map-wrap--no-head .halink-map-body {
	border-radius: 14px;
}

.halink-map-frame {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 2px solid rgba(0, 137, 201, 0.25);
	background: #e8f4fa;
	transform: none !important;
}

.halink-map-frame iframe {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 260px !important;
	min-height: 220px;
	border: 0 !important;
	display: block;
	vertical-align: top;
	pointer-events: none;
	touch-action: auto;
}

.halink-map-frame.is-active iframe {
	pointer-events: auto !important;
}

.halink-map-shield {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 10px 12px;
	margin: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.01);
	cursor: pointer;
	font: inherit;
}

.halink-map-shield span {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(0, 137, 201, 0.94);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	box-shadow: 0 4px 14px rgba(0, 80, 120, 0.25);
	pointer-events: none;
}

.halink-map-frame.is-active .halink-map-shield {
	display: none;
}

/* Footer About widget — theme colors, centered */
.halink-footer-about {
	text-align: center;
	padding: 0 0 4px;
}

.halink-footer-about__box {
	position: relative;
	padding: 28px 20px 32px;
	border-radius: 0;
	background: linear-gradient(180deg, #f4fbf6 0%, #fff 55%, #f8fcff 100%);
}

.halink-footer-about__inner {
	max-width: 760px;
	margin: 0 auto;
}

.halink-footer-about__title {
	margin: 0 !important;
	padding: 0 !important;
	color: #1a5c2e !important;
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.6px;
}

.halink-footer-about__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 12px auto 18px;
	max-width: 280px;
}

.halink-footer-about__divider-line {
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, rgba(0, 137, 201, 0.45), transparent);
}

.halink-footer-about__divider-dot {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0089c9, #0089c9);
	box-shadow: 0 0 0 3px rgba(67, 159, 85, 0.15);
}

.halink-footer-about__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	font-family: "Ubuntu", "Segoe UI", Tahoma, Arial, sans-serif;
}

.halink-footer-about__addresses {
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
}

.halink-footer-about__addresses li {
	margin: 0 0 4px;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	color: #0089c9;
}

.halink-footer-about__addresses li:last-child {
	margin-bottom: 0;
}

.halink-footer-about__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	color: #0089c9;
	font-weight: 700;
}

.halink-footer-about__line a {
	color: #0089c9;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.halink-footer-about__line a:hover {
	color: #439f55;
}

.halink-footer-about__sep {
	display: inline-block;
	width: 1px;
	height: 14px;
	margin: 0 18px;
	vertical-align: middle;
	background: rgba(0, 137, 201, 0.35);
}

#footerarea .halink-footer-about .widget-title {
	padding-bottom: 0;
}

#footerarea .widget.halink_footer_about {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
	background: transparent !important;
	box-shadow: none !important;
}

#footerarea .halink-footer-about {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	max-width: 100%;
}

@media (max-width: 767px) {
	.halink-footer-about__box {
		padding: 22px 14px 26px;
	}

	.halink-footer-about__title {
		font-size: 16px !important;
		letter-spacing: 0.3px;
	}

	.halink-footer-about__addresses li,
	.halink-footer-about__line {
		font-size: 16px;
	}

	.halink-footer-about__line {
		flex-direction: column;
		gap: 6px;
	}

	.halink-footer-about__sep {
		display: none;
	}
}

/* Responsive layout — fix header/content/footer collapse on mobile */
@media (max-width: 991px) {
	.wrapper {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: hidden;
	}

	#branding,
	.header-img,
	.header-image {
		max-width: 100%;
	}

	.header-img img,
	.header-image {
		display: block;
		width: 100%;
		height: auto;
	}

	#main {
		width: 100% !important;
		max-width: 100%;
		margin-left: 0 !important;
		margin-top: 0 !important;
		float: none !important;
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
		overflow: visible;
	}

	#container {
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	#primary,
	#secondary {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}

	#content,
	.entry-content {
		max-width: 100%;
		overflow: visible;
	}

	#footerarea {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow: visible;
		clear: both;
		float: none;
		padding-left: 10px;
		padding-right: 10px;
	}

	#sites-chrome-footer-wrapper,
	#sites-chrome-footer-wrapper-inside,
	#sites-chrome-footer,
	.sites-subfooter,
	.sites-subfooter-content {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
		box-sizing: border-box;
	}

	#footerarea .widget {
		float: none;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 767px) {
	#main {
		padding-top: 16px;
		padding-left: 8px;
		padding-right: 8px;
	}

	#footerarea {
		padding-left: 8px;
		padding-right: 8px;
		margin-bottom: 0;
	}
}