/*
Theme Name:   Lam Tao (GeneratePress Child)
Template:     generatepress
Description:  Giao dien lamtao.vn dung GeneratePress mien phi, thay cho Elementor Pro / GP Premium / Element Pack.
Version:      1.0.2
Text Domain:  lamtao-child
*/

:root {
	--lt-blue: #2483d0;
	--lt-blue-dark: #155b93;
	--lt-link: #1e73be;
	--lt-text: #3a3a3a;
	--lt-footer: #212a2c;
	--lt-wrap: 1140px;
}

/* ---------- Top bar (widget "Top Bar") ---------- */
.top-bar {
	background: var(--lt-blue);
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
}
.top-bar .inside-top-bar {
	justify-content: center;
	text-align: center;
	padding: 10px 20px;
}
.top-bar .widget { margin: 0; width: 100%; }
.top-bar p { margin: 0; }
.top-bar a, .top-bar a:hover { color: #fff; }

/* ---------- Header: logo trai, banner phai (widget "Header") ---------- */
.site-header { background: #fff; }
.site-header .inside-header {
	max-width: var(--lt-wrap);
	padding: 10px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.site-header .site-logo, .site-header .site-branding-container { order: 1; }
.site-header .header-widget { order: 2; margin-left: auto; }
.site-header .site-logo img, .site-header .header-image { max-height: 100px; width: auto; }
.site-header .header-widget { max-width: 60%; margin: 0; }
.site-header .header-widget .widget { margin: 0; padding: 0; }
.site-header .header-widget img { max-height: 100px; width: auto; display: block; }
.site-branding .main-title, .site-description { display: none; }

/* ---------- Menu chinh ---------- */
.main-navigation, .main-navigation ul ul { background: var(--lt-blue); }
.main-navigation .inside-navigation { justify-content: center; max-width: var(--lt-wrap); }
.main-navigation .main-nav > ul { justify-content: center; }
.main-navigation .main-nav ul li a {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 19px;
	text-transform: uppercase;
	color: #fff;
	line-height: 55px;
	padding-left: 15px;
	padding-right: 15px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: #fff; background: var(--lt-blue-dark); }
.main-navigation .main-nav ul ul li a {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	padding: 13px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.main-navigation ul ul { width: 260px; }
.main-navigation .menu-toggle, .main-navigation .menu-bar-item > a { color: #fff; }
.main-navigation .menu-toggle { font-family: "Oswald", sans-serif; text-transform: uppercase; background: var(--lt-blue-dark); line-height: 50px; }
.dropdown-menu-toggle { color: #fff; }
.lt-quicknav { display: none; } /* chi hien tren dien thoai, xem @media 768px */

/* ---------- Than trang ---------- */
body { color: var(--lt-text); background: #f3f3f3; }
a { color: var(--lt-link); }
.grid-container, .site.grid-container { max-width: var(--lt-wrap); }
.separate-containers .inside-article { padding: 30px; }
h1.entry-title {
	font-family: "Raleway", sans-serif;
	font-weight: 500;
	font-size: 40px;
	line-height: 1.4;
	text-align: center;
	color: var(--lt-text);
}
.entry-content h2, .page-content h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: 30px; line-height: 1.3; }
.entry-content h3, .page-content h3 { font-family: "Playfair Display", serif; font-weight: 600; font-size: 25px; line-height: 1.3; }
.rank-math-breadcrumb { font-size: 15px; margin-bottom: 15px; }
.rank-math-breadcrumb p { margin: 0; }
body.page .rank-math-breadcrumb { background: #355278; color: #fff; padding: 6px 12px; }
body.page .rank-math-breadcrumb a { color: #fff; }

/* Trang Elementor full width (trang chu): khong khung trang */
.elementor-template-full-width .site-content, .page-template-elementor_header_footer .site-content { display: block; }

/* ---------- Sidebar bai viet (widget "Right Sidebar") ---------- */
.sidebar .widget { padding: 30px; margin-bottom: 20px; background: #fff; }
.sidebar .widget-title, .sidebar .lt-side-title {
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	color: var(--lt-text);
	margin-bottom: 15px;
}
.sidebar iframe { width: 100%; height: 300px; border: 0; display: block; }
.sidebar figure { margin: 0; }
.sidebar figcaption { font-size: 14px; text-align: center; color: #555; margin-top: 6px; }
.lt-checklist { list-style: none; margin: 0; padding: 0; }
.lt-checklist li { position: relative; padding-left: 26px; margin-bottom: 6px; line-height: 1.5; }
.lt-checklist li::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute; left: 0; top: 0;
	color: var(--lt-link);
}

/* ---------- Hop tac gia ---------- */
.lamtao-author-box {
	display: flex; gap: 25px; align-items: flex-start;
	margin-top: 40px; padding: 35px 50px;
	border: 1px solid #355278; background: #fff;
}
.lamtao-author-box__avatar { flex: none; }
.lamtao-author-box__avatar img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(65, 138, 101, .53); }
.lamtao-author-box__name { font-family: "Playfair Display", serif; font-weight: 600; font-size: 24px; color: #000; margin-bottom: 8px; }
.lamtao-author-box__bio { font-size: 16px; line-height: 1.7; color: #000; }
.lamtao-author-box__bio p { margin-bottom: 10px; }
.lamtao-author-box__link { display: inline-block; padding: 8px 18px; border: 1px solid #000; border-radius: 5px; color: #000; font-size: 15px; }
.lamtao-author-box__link:hover { background: var(--lt-blue); border-color: var(--lt-blue); color: #fff; }

/* ---------- Bai viet lien quan + luu tru dang the ---------- */
.lamtao-related-wrap { padding: 0 0 30px; }
.lamtao-related { margin-top: 0; background: #fff; }
.separate-containers .lamtao-related.inside-article { padding: 30px; }
.lamtao-related__title { font-family: "Playfair Display", serif; font-weight: 600; font-size: 25px; margin-bottom: 20px; }
.lamtao-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lamtao-related__card { background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .15); border-radius: 3px; overflow: hidden; }
.lamtao-related__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lamtao-related__name { font-family: "Playfair Display", serif; font-weight: 600; font-size: 21px; line-height: 1.3; margin: 0; padding: 15px 20px 20px; }
.lamtao-related__name a { color: #010101; }

.archive .site-main, .blog .site-main, .search .site-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.archive .site-main > .page-header, .blog .site-main > .page-header, .search .site-main > .page-header,
.archive .site-main > .paging-navigation, .blog .site-main > .paging-navigation, .search .site-main > .paging-navigation { grid-column: 1 / -1; }
.lamtao-card { margin: 0 !important; min-width: 0; }
.lamtao-card .inside-article { padding: 0 0 20px !important; height: 100%; box-shadow: 0 0 10px rgba(0, 0, 0, .15); display: flex; flex-direction: column; }
.lamtao-card .post-image { margin: 0 0 15px !important; order: -1; }
.lamtao-card .post-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lamtao-card .entry-summary, .lamtao-card .entry-content, .lamtao-card footer.entry-meta { display: none; }
.lamtao-card .entry-header { padding: 0 20px; }
.lamtao-card h2.entry-title { font-family: "Playfair Display", serif; font-weight: 600; font-size: 21px; line-height: 1.3; }
.lamtao-card h2.entry-title a { color: #010101; }
.lamtao-card .entry-meta { font-size: 14px; }
.archive .page-header h1, .search .page-header h1 { font-family: "Raleway", sans-serif; font-weight: 500; text-align: center; }

/* ---------- Footer (widget Footer 1-4 + Footer Bar) ---------- */
.site-footer .footer-widgets { background: var(--lt-footer); color: #fff; }
.site-footer .footer-widgets .inside-footer-widgets { max-width: var(--lt-wrap); margin: 0 auto; padding: 30px 30px 10px; }
.site-footer .footer-widgets .widget { background: transparent; padding: 0 10px; margin-bottom: 20px; }
.site-footer .footer-widgets .widget-title {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 21px;
	color: #fff;
	text-transform: none;
	margin-bottom: 15px;
}
.site-footer .footer-widgets, .site-footer .footer-widgets a { color: #fff; font-size: 15px; }
.site-footer .footer-widgets a:hover { color: #9fd0ff; }
.lt-iconlist { list-style: none; margin: 0; padding: 0; }
.lt-iconlist li { display: flex; gap: 10px; margin-bottom: 8px; line-height: 1.5; }
.lt-iconlist li i { width: 18px; text-align: center; padding-top: 4px; flex: none; }
.lt-social { display: flex; gap: 10px; justify-content: center; margin: 15px 0; }
.lt-social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #fff; border-radius: 50%; font-size: 16px; }
.lt-center { text-align: center; }
.site-footer iframe { width: 100%; height: 270px; border: 0; display: block; }
.site-info { background: var(--lt-footer); color: #fff; font-size: 15px; border-top: 1px solid #939393; }
.site-info .inside-site-info { max-width: var(--lt-wrap); padding: 15px 20px 25px; }
.site-info a { color: #fff; }
.site-footer .footer-bar { width: 100%; }
.site-footer .footer-bar .widget { margin: 0; }
.lt-footerbar { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.copyright-bar { display: none; }

/* ---------- Gallery / khoi HTML trong noi dung (thay Element Pack) ---------- */
.elementor-widget-image-gallery .gallery { display: grid; gap: 3px; }
.elementor-widget-image-gallery .gallery-item { margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important; }
.elementor-widget-image-gallery .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.elementor-widget-image-gallery .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.elementor-widget-image-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0 !important; }
.elementor-widget-image-gallery .gallery br { display: none; }

/* Luoi san pham trang chu (thay Element Pack "Custom Gallery"): anh tren, ten + mo ta duoi */
.lt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 10px; }
.lt-cards__item { display: block; text-align: center; padding: 5px; }
.lt-cards__item img { width: 100%; aspect-ratio: 272 / 300; object-fit: cover; display: block; transition: opacity .3s; }
.lt-cards__item:hover img { opacity: .85; }
.lt-cards__body { display: block; padding: 12px 15px 0; }
.lt-cards__title { display: block; font-family: "Playfair Display", serif; font-size: 25px; font-weight: 600; line-height: 1.3; color: #2a293c; margin-bottom: 8px; }
.lt-cards__text { display: block; font-family: "Open Sans", sans-serif; font-size: 15px; line-height: 1.6; color: #626470; }

/* Elementor 4 bien link trong danh sach icon thanh khoi rieng -> tra ve nam cung dong */
.elementor-icon-list-text a { display: inline !important; }

.lt-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lt-testimonial { background: #f4f4f4; border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.lt-testimonial__quote { font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.6; color: #000; margin: 0; position: relative; }
.lt-testimonial__who { display: flex; align-items: center; gap: 12px; }
.lt-testimonial__who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.lt-testimonial__name { font-weight: 700; color: #000; display: block; }
.lt-testimonial__place { color: #2483d0; font-size: 14px; }

/* ---------- Dien thoai / may tinh bang ---------- */
@media (max-width: 1024px) {
	.lamtao-related__grid, .archive .site-main, .blog .site-main, .search .site-main, .lt-testimonials { grid-template-columns: repeat(2, 1fr); }
	.lt-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.lt-cards { grid-template-columns: repeat(2, 1fr); }
	.lt-cards__title { font-size: 20px; }
}
@media (max-width: 768px) {
	.site-header .inside-header { flex-direction: column; text-align: center; }
	.site-header .header-widget { max-width: 100%; }
	.site-header .header-widget img { max-height: none; width: 100%; height: auto; }
	h1.entry-title { font-size: 30px; }
	.separate-containers .inside-article { padding: 20px 15px; }
	.lamtao-author-box { flex-direction: column; align-items: center; text-align: center; padding: 25px 20px; }
	.lamtao-related__grid, .archive .site-main, .blog .site-main, .search .site-main, .lt-testimonials { grid-template-columns: 1fr; }
	.lt-footerbar { justify-content: center; text-align: center; }
	.top-bar { font-size: 14px; }

	/* Thanh menu: nut "Menu" ben trai + 2 link nhanh, danh sach xo xuong ben duoi */
	.main-navigation .inside-navigation { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; padding: 0; }
	.main-navigation .menu-toggle { flex: none; width: auto; text-align: left; padding-left: 15px; padding-right: 18px; }
	.main-navigation .main-nav { flex-basis: 100%; }
	.lt-quicknav { display: flex; flex: 1 1 0; min-width: 0; }
	.lt-quicknav a {
		flex: 1 1 0;
		display: flex; align-items: center; justify-content: center;
		text-align: center;
		color: #fff;
		font-family: "Oswald", sans-serif;
		font-weight: 500;
		font-size: 16px;
		text-transform: uppercase;
		line-height: 1.2;
		padding: 0 6px;
		border-left: 1px solid rgba(255, 255, 255, .3);
		white-space: nowrap;
	}
	.lt-quicknav a:hover, .lt-quicknav a.is-current { background: var(--lt-blue-dark); color: #fff; }
}

/* ---------- Nut lien he trai (plugin Button contact VR): nut "Lien he" tro sang TikTok -> doi icon hop thu thanh logo TikTok ---------- */
#contact-vr .phone-vr-img-circle {
	background: #2196f3 url(img/tiktok.svg) center / 20px 22px no-repeat;
}
#contact-vr .phone-vr-img-circle img {
	opacity: 0; /* giu anh goc (trong suot) de vung bam van y nhu cu */
}
