/*
Theme Name: In Hoàng An
Theme URI: https://inhoangan.com/
Author: In Hoàng An
Description: Theme sạch dựng từ đầu cho inhoangan.com. Giao diện do Elementor Pro Theme Builder đảm nhiệm; theme chỉ cung cấp khung HTML, các vị trí Elementor, menu, CPT "service" (URL phẳng) và công cụ chuyển dữ liệu từ "dich_vu".
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ihoa
*/

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: "Be Vietnam Pro", system-ui, sans-serif;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

a {
	background-color: transparent;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	white-space: normal;
}

.ihoa-wrap {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.ihoa-header {
	padding: 16px 0;
	border-bottom: 1px solid #e5e5e5;
}

.ihoa-header .ihoa-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.ihoa-brand {
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
	color: inherit;
}

.ihoa-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ihoa-nav a {
	text-decoration: none;
	color: inherit;
}

.ihoa-main {
	padding: 40px 0;
}

.ihoa-entry-title {
	margin: 0 0 20px;
}

.ihoa-footer {
	padding: 24px 0;
	border-top: 1px solid #e5e5e5;
	font-size: 0.9rem;
}

.ihoa-card {
	margin: 0 0 32px;
}

.ihoa-card h2 {
	margin: 0 0 8px;
}

.ihoa-pagination {
	margin-top: 32px;
}

.ihoa-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
}

.ihoa-svc {
	display: block;
	overflow: hidden;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.2s, transform 0.2s;
}

.ihoa-svc:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.ihoa-svc img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ihoa-svc h2 {
	margin: 16px 16px 8px;
	font-size: 1.1rem;
}

.ihoa-svc p {
	margin: 0 16px 16px;
	font-size: 0.95rem;
	color: #555;
}

@media (max-width: 900px) {
	.ihoa-svc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.ihoa-svc-grid {
		grid-template-columns: 1fr;
	}
}


/* ihh-header-css: header thuần theme (không Elementor) */
.ihh-top{background:#14213d;color:#e9ecf2;font-size:14px;font-family:"Be Vietnam Pro",system-ui,sans-serif}
.ihh-top__in{max-width:1240px;margin:0 auto;padding:10px 24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 24px}
.ihh-top__g{display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px}
.ihh-top__i{display:inline-flex;align-items:center;gap:8px}
.ihh-top svg{width:15px;height:15px;fill:#f2b705;flex:none}
.ihh-top a{color:inherit;text-decoration:none}
.ihh-top a.ihh-hot{color:#f2b705;font-weight:700}
.ihh-bar{position:relative;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid #e6e1d8;font-family:"Be Vietnam Pro",system-ui,sans-serif}
.ihh-bar__in{max-width:1240px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:20px}
.ihh-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.ihh-mark{position:relative;width:46px;height:46px;border-radius:10px;background:#c8341f;color:#fff;font-weight:800;font-size:19px;display:grid;place-items:center}
.ihh-mark::after{content:"";position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:50%;background:#f2b705}
.ihh-name b{display:block;font-size:21px;font-weight:800;color:#14213d;line-height:1.1}
.ihh-name small{display:block;margin-top:3px;font-size:10.5px;letter-spacing:1px;color:#5b6475;text-transform:uppercase}
.ihh-nav{margin-left:auto}
.ihh-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.ihh-menu>li{position:relative;margin:0}
.ihh-menu>li>a,.ihh-menu>li>button{display:flex;align-items:center;gap:6px;padding:10px 14px;border:0;background:none;font:600 16px/1.3 "Be Vietnam Pro",system-ui,sans-serif;color:#14213d;text-decoration:none;cursor:pointer;border-radius:8px}
.ihh-menu>li>a:hover,.ihh-menu>li>button:hover,.ihh-menu>li.is-active>a,.ihh-menu>li.is-active>button{color:#c8341f}
.ihh-menu>li>button::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.ihh-sub{display:none;position:absolute;top:100%;left:0;z-index:60;min-width:520px;margin:0;padding:10px;list-style:none;background:#fff;border-radius:14px;box-shadow:0 18px 40px rgba(20,33,61,.16);grid-template-columns:1fr 1fr;gap:2px}
.ihh-has-sub:hover>.ihh-sub,.ihh-has-sub:focus-within>.ihh-sub,.ihh-has-sub.is-open>.ihh-sub{display:grid}
.ihh-sub a{display:block;padding:9px 12px;border-radius:8px;font-size:15px;color:#14213d;text-decoration:none}
.ihh-sub a:hover{background:#fbe9e5;color:#c8341f}
.ihh-act{display:flex;align-items:center;gap:16px;flex:none}
.ihh-phone{display:flex;align-items:center;gap:10px;text-decoration:none}
.ihh-phone i{width:40px;height:40px;border-radius:50%;background:#fbe9e5;display:grid;place-items:center}
.ihh-phone svg{width:18px;height:18px;fill:#c8341f}
.ihh-phone small{display:block;font-size:12px;color:#5b6475}
.ihh-phone b{display:block;font-size:16px;font-weight:800;color:#14213d;line-height:1.2}
.ihh-cta{display:inline-block;padding:12px 22px;border-radius:999px;background:#c8341f;color:#fff;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}
.ihh-cta:hover,.ihh-cta:focus{background:#a82b19;color:#fff}
.ihh-toggle{display:none;width:44px;height:44px;border:1px solid #e6e1d8;border-radius:10px;background:#fff;cursor:pointer;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.ihh-toggle:hover,.ihh-toggle:focus{background:#fff;border-color:#c8341f}
.ihh-toggle span{display:block;width:20px;height:2px;background:#14213d;border-radius:2px}
@media(max-width:1100px){.ihh-phone span{display:none}}
@media(max-width:1024px){
.ihh-toggle{display:flex;margin-left:auto}
.ihh-nav{position:absolute;top:100%;left:0;right:0;margin:0;display:none;background:#fff;border-bottom:1px solid #e6e1d8;box-shadow:0 18px 30px rgba(20,33,61,.12);padding:8px 16px 16px;max-height:calc(100vh - 140px);overflow:auto}
.ihh-nav.is-open{display:block}
.ihh-menu{flex-direction:column;align-items:stretch;gap:0}
.ihh-menu>li>a,.ihh-menu>li>button{width:100%;justify-content:space-between;padding:13px 8px;border-bottom:1px solid #f0ece4;border-radius:0}
.ihh-sub{position:static;min-width:0;box-shadow:none;padding:4px 0 8px 12px;grid-template-columns:1fr}
.ihh-has-sub:hover>.ihh-sub{display:none}
.ihh-has-sub.is-open>.ihh-sub{display:grid}
.ihh-act{margin-left:0}
}
@media(max-width:640px){
.ihh-top__g:first-child{display:none}
.ihh-top__in{justify-content:center}
.ihh-cta{display:none}
.ihh-name b{font-size:18px}
.ihh-name small{font-size:9px}
.ihh-bar__in{gap:12px;padding:10px 16px}
}

/* ihh-fix1 */
.ihh-menu>li>a,.ihh-menu>li>button{white-space:nowrap}
@media(max-width:1280px) and (min-width:1025px){.ihh-menu>li>a,.ihh-menu>li>button{padding:10px 9px;font-size:15px}.ihh-phone span{display:none}.ihh-bar__in{gap:14px}}

/* ihh-sticky */
.ihh-bar{position:sticky;top:0;transition:box-shadow .2s ease}
.admin-bar .ihh-bar{top:32px}
@media(max-width:782px){.admin-bar .ihh-bar{top:46px}}
.ihh-bar.is-stuck{box-shadow:0 6px 20px rgba(20,33,61,.12)}


/* ihf-footer-css: footer thuần theme (không Elementor) */
.ihf{background:#0e1830;color:#c9cfda;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:15px;line-height:1.6}
.ihf a{color:#c9cfda;text-decoration:none}
.ihf a:hover{color:#fff}
.ihf__cols{max-width:1240px;margin:0 auto;padding:56px 24px 40px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px 48px}
.ihf__logo{display:inline-flex;align-items:center;gap:10px;margin-bottom:14px}
.ihf__logo b{font-size:20px;font-weight:800;color:#fff}
.ihf p{margin:0 0 10px}
.ihf__h{display:block;margin-bottom:14px;font-size:17px;font-weight:700;color:#fff}
.ihf__links{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.ihf__links a:hover{text-decoration:underline}
.ihf__links .ihf__all a{font-weight:700}
.ihf__map{display:block;padding:18px;border-radius:12px;background:#1b2745}
.ihf__map:hover{background:#223056}
.ihf__bottom{border-top:1px solid rgba(255,255,255,.1)}
.ihf__bottom-in{max-width:1240px;margin:0 auto;padding:20px 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 24px;font-size:14px}
.ihf-fab{position:fixed;right:20px;bottom:20px;z-index:90;display:flex;flex-direction:column;gap:12px}
.ihf-fab a{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:13px;box-shadow:0 8px 20px rgba(0,0,0,.25);text-decoration:none}
.ihf-fab a:hover{color:#fff;filter:brightness(1.1)}
.ihf-fab .z{background:#0068ff}
.ihf-fab .c{background:#c8341f}
.ihf-fab svg{width:24px;height:24px;fill:#fff}
.ihf-mbar{display:none}
@media(max-width:1024px){.ihf__cols{grid-template-columns:1fr 1fr}}
@media(max-width:767px){
.ihf__cols{grid-template-columns:1fr;padding:40px 20px 28px;gap:28px}
.ihf-fab{display:none}
.ihf-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:95;gap:8px;align-items:center;padding:8px 12px;background:#fff;border-top:1px solid #e6e1d8;box-shadow:0 -6px 18px rgba(20,33,61,.1)}
.ihf-mbar a{flex:1;text-align:center;padding:11px 6px;border-radius:10px;font:600 14px/1.2 "Be Vietnam Pro",system-ui,sans-serif;color:#14213d;text-decoration:none}
.ihf-mbar a.q{flex:1.6;background:#c8341f;color:#fff;border-radius:999px}
body{padding-bottom:64px}
}

/* ihz-zalo-only */
.ihh-phone i.ihh-zl{font:700 11px/1 "Be Vietnam Pro",system-ui,sans-serif;color:#0068ff;background:#e6f0ff;font-style:normal}
.ihf-zcard{padding:22px;border-radius:14px;background:#fff;border:1px solid #e6e1d8;text-align:center;font-family:"Be Vietnam Pro",system-ui,sans-serif}
.ihf-zcard h3{margin:0 0 8px;font-size:20px;font-weight:800;color:#14213d}
.ihf-zcard p{margin:0 0 16px;font-size:15px;line-height:1.6;color:#5b6475}
.ihf-zbtn{display:inline-block;padding:13px 26px;border-radius:999px;background:#0068ff;color:#fff!important;font:700 16px/1.2 "Be Vietnam Pro",system-ui,sans-serif;text-decoration:none!important}
.ihf-zbtn:hover{background:#0053cc}
.ihf-mbar a.q{background:#0068ff}
.ihf-mbar a.q:hover{background:#0053cc}
