/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: "Inter", sans-serif;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
strong, b {
	font-weight: 600;
}
h1, h2, h3, h4, h5 {
	margin-bottom: 15px;
}
h1, h2, h3, h4, h5, .banner h1, .banner h2, .banner h3, .banner h4, .banner h5 {
	line-height: inherit;
}
.section > .section-content > .row > .col {
	padding-bottom: 0;
}
.nav-small.nav > li.html {
	font-size: 13px;
}
.radius .box-image, 
.radius {
	border-radius: 14px;
}
.header-button .button {
	font-size: 14px;
	font-weight: 600;
}
.header-button .button.primary {
	background-color: #C71029;
	padding: 6px 20px;
}
.header:not(.transparent) .header-nav-main.nav > li > a {
	font-weight: 600;
}
.button.is-outline, input[type=button].is-outline, input[type=reset].is-outline, input[type=submit].is-outline {
	border: 1px solid;
	padding: 6px 20px;
}
.box .box-text h3 {
	font-weight: 600;
}
.check-list ul li {
	list-style: none;
	margin-left: 0;
	position: relative;
	padding-left: 20px;
}
.check-list strong, 
.check-list b {
	font-weight: 500;
}
.check-list ul li:before {
	content: '\f00c';
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 2px;
	color: #0B9439;
}

/* ===== Card ===== */
.box-blog-post .box-text {
	padding: 22px;
}

/* ===== Tag ===== */
.hth-tags {
	margin-bottom: 10px;
}
.hth-tag {
	display: inline-block;
	padding: 8px 16px;
	margin-bottom: 14px;
	background: #fdeee6;
	color: #d0121b;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	border-radius: 999px;
	text-decoration: none;
}
.hth-tag:hover {
	background: #fbdccd;
	color: #d0121b;
}

/* ===== Tiêu đề ===== */
.box-blog-post .post-title {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin-bottom: 0;
}

/* Ẩn đường kẻ divider mặc định */
.box-blog-post .is-divider {
	display: none;
}

/* ===== Excerpt ===== */
.box-blog-post .from_the_blog_excerpt {
	margin: 14px 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

/* ===== Nhận thông tin → ===== */
.hth-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #111;
	text-decoration: none;
}
.hth-readmore .hth-arrow {
	transition: transform .2s ease;
}
.hth-readmore:hover {
	color: #d0121b;
}
.hth-readmore:hover .hth-arrow {
	transform: translateX(4px);
}

.related-post-title {
	font-size: 38px;
	text-align: center;
	color: #212121;
	margin-bottom: 10px;
}
.related-post-des {
	font-size: 18px;
	text-align: center;
	margin-bottom: 30px;
}
.single-post h1.entry-title {
	border-bottom: 1px solid #D9D9D9;
	font-size: 26px;
	padding-bottom: 20px;
}
.entry-image {
	text-align: center;
}
.entry-image img {
	width: auto;
	border-radius: 15px;
}

/* ===== Phân trang giống thiết kế ===== */
ul.page-numbers.nav-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 11px;
    margin: 30px 0;
    padding: 0;
}

ul.page-numbers.nav-pagination > li {
    margin: 0 !important;
    padding: 0;
    border: 0;
    display: block;
}

/* Nút chung */
ul.page-numbers.nav-pagination > li a.page-number,
ul.page-numbers.nav-pagination > li span.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    width: auto;
    height: 40px;
    padding: 0 10px;
    margin: 0;
    box-sizing: border-box;
    background: #d0d0d0;
    color: #000;
    border: 0 !important;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .2s ease, color .2s ease;
}

/* Hover số trang */
ul.page-numbers.nav-pagination > li a.page-number:hover {
    background: #b8b8b8;
    color: #000;
}

/* Trang hiện tại */
ul.page-numbers.nav-pagination > li span.page-number.current {
    background: #ad0019;
    color: #fff;
}

/* Nút trước / sau */
ul.page-numbers.nav-pagination > li a.prev.page-number,
ul.page-numbers.nav-pagination > li a.next.page-number {
    background: #f8d252;
    color: #000;
}

ul.page-numbers.nav-pagination > li a.prev.page-number:hover,
ul.page-numbers.nav-pagination > li a.next.page-number:hover {
    background: #f1c52f;
}

.nav-pagination>li i {
	top: 0;
}

select.wpcf7-form-control, 
input.wpcf7-form-control {
	border-radius: 8px;
	height: 45px;
	box-shadow: none;
	width: 100%;
}
.wpcf7-spinner {
	display: none;
}
form.wpcf7-form {
	margin-bottom: 0;
}
form.wpcf7-form input.wpcf7-submit {
	margin-bottom: 0;
}

.hpt-category-desc h2 {
	font-size: 38px;
}



/* Mobile */
@media (max-width: 549px) {
    ul.page-numbers.nav-pagination {
        gap: 8px;
    }
    ul.page-numbers.nav-pagination > li a.page-number,
    ul.page-numbers.nav-pagination > li span.page-number {
        min-width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* ===== Bo góc + viền card giống ảnh ===== */
.box-blog-post {
	border: 1px solid #e3e3e3;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}

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

}