/* Trang chủ + footer kiểu sàn in — In Hoàng Gia (12/11/2026) */
.ivh,.ivf{--b:#1A2B6D;--b2:#2E4290;--o:#C9A24A;--t:#1B2236;--m:#5B6478;--l:#E5EAF2;--s:#F3F5FA;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--t)}
.ivh *,.ivf *{box-sizing:border-box}
.ivh img,.ivf img{max-width:100%;display:block}
.ivh a,.ivf a{text-decoration:none}
.ivh-wrap,.ivf-wrap{max-width:1240px;margin:0 auto;padding:0 16px}
.ivh-banners{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ivh-ban{position:relative;display:flex;align-items:center;min-height:360px;overflow:hidden;color:#fff;isolation:isolate}
.ivh-ban--a{background:linear-gradient(115deg,#0047B3 0%,#1A2B6D 45%,#3D8BFF 100%)}
.ivh-ban--b{background:linear-gradient(115deg,#C2410C 0%,#C9A24A 55%,#FCD34D 100%)}
.ivh-ban:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.25),transparent 45%),radial-gradient(rgba(255,255,255,.12) 1px,transparent 1.5px) 0 0/18px 18px;z-index:-1}
.ivh-ban__txt{position:relative;z-index:2;padding:32px 0 32px 6%;max-width:56%}
.ivh-ban__txt small{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;background:rgba(255,255,255,.18);padding:6px 12px;border-radius:999px}
.ivh-ban__txt strong{display:block;font-size:clamp(28px,3.2vw,46px);line-height:1.1;font-weight:800;margin:14px 0;text-shadow:0 2px 12px rgba(0,0,0,.15)}
.ivh-ban__tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.ivh-ban__tags em{font-style:normal;font-size:13px;font-weight:700;background:#fff;color:var(--b);padding:6px 12px;border-radius:8px}
.ivh-ban--b .ivh-ban__tags em{color:#C2410C}
.ivh-ban__btn{display:inline-flex;align-items:center;gap:6px;background:var(--t);color:#fff;font-weight:600;font-size:14px;padding:11px 20px;border-radius:999px;transition:transform .2s}
.ivh-ban:hover .ivh-ban__btn{transform:translateX(4px)}
.ivh-ban img{position:absolute;right:4%;top:50%;transform:translateY(-50%) rotate(-3deg);width:40%;max-width:300px;aspect-ratio:1;object-fit:cover;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.25);border:5px solid #fff;transition:transform .4s}
.ivh-ban:hover img{transform:translateY(-50%) rotate(0) scale(1.03)}
.ivh-logos{background:var(--s);padding:28px 0;overflow:hidden}
.ivh-logos__track{display:flex;gap:56px;width:max-content;animation:ivh-scroll 40s linear infinite;align-items:center}
.ivh-logos:hover .ivh-logos__track{animation-play-state:paused}
.ivh-logos span{flex:0 0 auto;width:120px;height:56px;display:grid;place-items:center}
.ivh-logos img{max-height:56px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.6;transition:.25s}
.ivh-logos span:hover img{filter:none;opacity:1}
@keyframes ivh-scroll{to{transform:translateX(-50%)}}
.ivh-sec{padding:64px 0}
.ivh-sec--soft{background:var(--s)}
.ivh-head{text-align:center;margin-bottom:28px}
.ivh-head h2{font-size:clamp(24px,2.4vw,32px);font-weight:700;margin:0 0 6px;color:var(--t)}
.ivh-head p{margin:0;color:var(--m);font-size:15px}
.ivh-tabs__nav{display:flex;gap:4px;background:#fff;border-radius:14px 14px 0 0;padding:8px 8px 0;overflow-x:auto;scrollbar-width:none;box-shadow:0 1px 0 var(--l)}
.ivh-tabs__nav button{flex:0 0 auto;border:0;background:transparent;font:600 15px/1 Inter,sans-serif;color:var(--t);padding:14px 22px;border-radius:10px 10px 0 0;cursor:pointer;transition:.2s}
.ivh-tabs__nav button:hover{color:var(--b)}
.ivh-tabs__nav button.is-on{background:var(--b);color:#fff}
.ivh-pane{display:grid;grid-template-columns:240px 1fr;gap:16px;background:var(--b);padding:20px;border-radius:0 14px 14px 14px}
.ivh-pane[hidden]{display:none}
.ivh-pane__intro{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;position:relative;overflow:hidden}
.ivh-pane__intro:after{content:"";position:absolute;right:-30px;bottom:-30px;width:110px;height:110px;border-radius:50%;background:var(--s)}
.ivh-pane__intro p{margin:0;color:var(--b);font-size:15px;line-height:1.65;position:relative;z-index:1}
.ivh-pane__intro a{display:inline-flex;align-items:center;gap:4px;color:var(--b);font-weight:600;font-size:14px;position:relative;z-index:1}
.ivh-rail{position:relative;min-width:0}
.ivh-rail__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/4);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px}
.ivh-rail__track::-webkit-scrollbar{display:none}
.ivh-rail__btn{position:absolute;top:40%;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--t);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(2,11,39,.18)}
.ivh-rail__btn.is-prev{left:-8px}.ivh-rail__btn.is-next{right:-8px}
.ivh-card{scroll-snap-align:start;background:#fff;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}
.ivh-card__img{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--s)}
.ivh-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.ivh-card:hover .ivh-card__img img{transform:scale(1.06)}
.ivh-card h3{margin:2px 0 0;font-size:14px;font-weight:600;line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ivh-card h3 a{color:var(--t)}
.ivh-card__price{margin:auto 0 0;background:#F3F4F6;border-radius:8px;padding:9px 10px;font-size:13px;color:var(--m)}
.ivh-card__price strong{color:var(--b);font-size:15px;font-weight:700}
.ivh-card__btn{display:block;text-align:center;background:var(--b);color:#fff!important;font-weight:600;font-size:14px;padding:10px;border-radius:8px;transition:background .2s}
.ivh-card__btn:hover{background:var(--b2)}
.ivh-marquee{overflow:hidden;-webkit-mask:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.ivh-marquee__track{display:flex;gap:16px;width:max-content;animation:ivh-scroll 60s linear infinite;padding:4px 0 8px}
.ivh-marquee:hover .ivh-marquee__track{animation-play-state:paused}
.ivh-proj{flex:0 0 260px;background:#fff;border-radius:14px;padding:10px;box-shadow:0 2px 10px rgba(2,11,39,.06);transition:transform .25s,box-shadow .25s}
.ivh-proj:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(26,43,109,.14)}
.ivh-proj__img{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden}
.ivh-proj__img img{width:100%;height:100%;object-fit:cover}
.ivh-proj__t{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 4px 4px;font-size:14px;font-weight:600;color:var(--t)}
.ivh-proj__t svg{flex:0 0 auto;width:26px;height:26px;padding:5px;border-radius:50%;background:var(--s);color:var(--b)}
.ivh-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:16px;position:relative}
.ivh-steps:before{content:"";position:absolute;top:38px;left:8%;right:8%;border-top:2px dashed #D5DCEC}
.ivh-steps li{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.ivh-steps__ic{position:relative;width:76px;height:76px;border-radius:50%;background:#fff;border:2px solid var(--s);box-shadow:0 0 0 8px #fff,0 6px 18px rgba(26,43,109,.12);display:grid;place-items:center;color:var(--b);margin-bottom:8px;transition:.25s}
.ivh-steps__ic svg{width:28px;height:28px}
.ivh-steps__ic b{position:absolute;top:-4px;right:-4px;width:24px;height:24px;border-radius:50%;background:var(--b);color:#fff;font-size:12px;display:grid;place-items:center}
.ivh-steps li:hover .ivh-steps__ic{background:var(--b);color:#fff}
.ivh-steps strong{font-size:16px;font-weight:700}
.ivh-steps span:last-child{font-size:13.5px;color:var(--m);line-height:1.55;max-width:200px}
.ivh-news{display:grid;grid-template-columns:1.1fr 1fr 1fr;grid-template-rows:auto auto;gap:16px}
.ivh-post{background:#fff;border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:10px;box-shadow:0 2px 10px rgba(2,11,39,.05);transition:box-shadow .25s,transform .25s}
.ivh-post:hover{box-shadow:0 12px 28px rgba(26,43,109,.12);transform:translateY(-3px)}
.ivh-post.is-big{grid-row:1/3}
.ivh-post__img{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--s)}
.ivh-post.is-big .ivh-post__img{aspect-ratio:4/3}
.ivh-post__img img{width:100%;height:100%;object-fit:cover}
.ivh-post__body{position:relative;padding:2px 36px 4px 4px;display:flex;flex-direction:column;gap:6px}
.ivh-post__body strong{font-size:14.5px;font-weight:600;color:var(--t);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ivh-post.is-big .ivh-post__body strong{font-size:17px}
.ivh-post__body small{font-size:13.5px;color:var(--m);line-height:1.55}
.ivh-post__go{position:absolute;right:0;top:2px;width:28px;height:28px;border-radius:50%;background:var(--s);color:var(--b);display:grid;place-items:center}
.ivh-post__go svg{width:15px;height:15px}
.ivh-more{text-align:center;margin:24px 0 0}
.ivh-more a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--b);color:var(--b);font-weight:600;font-size:14px;padding:10px 22px;border-radius:999px;transition:.2s}
.ivh-more a:hover{background:var(--b);color:#fff}
.ivh-sub{background:var(--b);color:#fff;padding:28px 0}
.ivh-sub__in{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ivh-sub__txt{display:flex;gap:16px;align-items:center;flex:1 1 480px}
.ivh-sub__ic{flex:0 0 auto;width:48px;height:48px;border-radius:12px;background:rgba(255,255,255,.15);display:grid;place-items:center}
.ivh-sub h2{color:#fff;font-size:18px;font-weight:700;margin:0 0 4px}
.ivh-sub p{margin:0;font-size:14px;color:#DCE8FF}
.ivh-sub__form{display:flex;flex:0 1 420px;background:#fff;border-radius:10px;padding:4px;gap:4px}
.ivh-sub__form input[type=tel]{flex:1;border:0;outline:0;font:15px Inter,sans-serif;padding:10px 12px;min-width:0;color:var(--t);background:transparent;box-shadow:none;margin:0;height:auto}
.ivh-sub__form button{border:0;background:var(--s);color:var(--b);font:700 14px Inter,sans-serif;padding:0 22px;border-radius:8px;cursor:pointer;transition:.2s}
.ivh-sub__form button:hover{background:var(--o);color:#fff}
.ivh-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.ivh-sub__msg{flex-basis:100%;margin:0;font-weight:600;color:#FFE7B3!important}
.ivf{background:#fff;border-top:1px solid var(--l);padding:48px 0 0}
.ivf-grid{display:grid;grid-template-columns:1.05fr 1.5fr .85fr;gap:40px}
.ivf-h{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;margin:0 0 18px;color:var(--t)}
.ivf-h--sm{margin:24px 0 12px}
.ivf-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.ivf-rows li{display:flex;gap:12px;align-items:flex-start}
.ivf-ic{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:var(--s);color:var(--b);display:grid;place-items:center}
.ivf-rows strong{display:block;font-size:14px;font-weight:600;margin-bottom:2px}
.ivf-rows span,.ivf-rows a{font-size:14px;color:var(--m);line-height:1.5}
.ivf-rows a:hover{color:var(--b)}
.ivf-social{display:flex;gap:8px}
.ivf-social a{width:34px;height:34px;border-radius:50%;border:1px solid var(--l);display:grid;place-items:center;color:var(--b);transition:.2s}
.ivf-social a:hover{background:var(--b);border-color:var(--b);color:#fff}
.ivf-sites ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ivf-sites li{border:1px solid var(--l);border-radius:12px;padding:18px 14px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;transition:box-shadow .25s,border-color .25s}
.ivf-sites li:hover{border-color:#D5DCEC;box-shadow:0 10px 24px rgba(26,43,109,.10)}
.ivf-sites__ic{width:48px;height:48px;border-radius:50%;background:var(--s);color:var(--b);display:grid;place-items:center;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--l)}
.ivf-sites strong{font-size:14.5px;font-weight:600}
.ivf-sites__addr{display:flex;gap:5px;align-items:flex-start;justify-content:center;font-size:13px;color:var(--m);line-height:1.5}
.ivf-sites__addr svg{flex:0 0 auto;margin-top:3px;color:var(--b)}
.ivf-sites li a{margin-top:auto;display:inline-flex;align-items:center;gap:6px;background:var(--s);color:var(--b);font-weight:600;font-size:13px;padding:8px 16px;border-radius:999px;transition:.2s}
.ivf-sites li a:hover{background:var(--b);color:#fff}
.ivf-links{display:flex;flex-direction:column;gap:8px}
.ivf-links nav{display:flex;flex-direction:column}
.ivf-links nav+nav .ivf-h{margin-top:16px}
.ivf-links a{font-size:14px;color:var(--t);padding:6px 0;transition:color .2s}
.ivf-links a:hover{color:var(--b)}
.ivf-bottom{margin-top:40px;border-top:1px solid var(--l);background:#F8FAFD}
.ivf-bottom__in{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px;font-size:13px;color:var(--m)}
.ivf-bottom a{color:var(--b);font-weight:600}
@media(max-width:1100px){
	.ivh-rail__track{grid-auto-columns:calc((100% - 24px)/3)}
	.ivh-steps{grid-template-columns:repeat(3,1fr);row-gap:32px}
	.ivh-steps:before{display:none}
	.ivf-grid{grid-template-columns:1fr 1.4fr}
	.ivf-links{grid-column:1/-1;flex-direction:row;gap:48px}
}
@media(max-width:860px){
	.ivh-banners{grid-template-columns:1fr}
	.ivh-ban{min-height:260px}
	.ivh-pane{grid-template-columns:1fr}
	.ivh-pane__intro{display:none}
	.ivh-news{grid-template-columns:1fr 1fr}
	.ivh-post.is-big{grid-column:1/-1;grid-row:auto}
}
@media(max-width:767px){
	.ivh-sec{padding:44px 0}
	.ivh-ban__txt{max-width:62%;padding:24px 0 24px 18px}
	.ivh-ban img{width:42%;right:3%}
	.ivh-pane{padding:12px}
	.ivh-rail__track{grid-auto-columns:calc((100% - 12px)/2)}
	.ivh-rail__btn{display:none}
	.ivh-proj{flex-basis:200px}
	.ivh-steps{grid-template-columns:1fr 1fr}
	.ivh-news{grid-template-columns:1fr}
	.ivh-sub__form{flex-basis:100%}
	.ivf-grid{grid-template-columns:1fr;gap:32px}
	.ivf-sites ul{grid-template-columns:1fr}
	.ivf-links{flex-direction:row;gap:24px}
	.ivf-links nav{flex:1}
	.ivf-bottom{padding-bottom:64px}
	.ivf-bottom__in{flex-direction:column;text-align:center}
}

/* Ghi đè CSS ảnh cũ của theme */
html body .ivh .ivh-card__img img,html body .ivh .ivh-proj__img img,html body .ivh .ivh-post__img img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;max-width:none!important}
html body .ivh .ivh-ban img{padding:0!important;height:auto!important;max-height:none!important}
html body .ivh .ivh-logos img{padding:0!important;background:none!important;border:0!important;height:auto!important;aspect-ratio:auto!important}

html body .ivh .ivh-ban__txt strong{color:#fff!important}
html body .ivh .ivh-ban__txt small{color:#fff!important}
@media(max-width:860px){
html body .ivh .ivh-banners{display:grid;grid-auto-flow:column;grid-auto-columns:92%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:8px;padding:0 4%}
html body .ivh .ivh-banners::-webkit-scrollbar{display:none}
html body .ivh .ivh-ban{scroll-snap-align:center;min-height:210px;border-radius:14px}
}
@media(max-width:767px){
html body .ivh .ivh-ban__txt{max-width:60%;padding:18px 0 18px 16px}
html body .ivh .ivh-ban__txt small{font-size:10.5px;padding:5px 9px}
html body .ivh .ivh-ban__txt strong{font-size:23px;margin:10px 0}
html body .ivh .ivh-ban__tags{gap:5px;margin-bottom:12px}
html body .ivh .ivh-ban__tags em{font-size:11px;padding:4px 8px}
html body .ivh .ivh-ban__btn{font-size:12.5px;padding:8px 14px}
html body .ivh .ivh-ban img{width:36%;border-width:3px;border-radius:12px}
html body .ivh .ivh-banners{margin-top:12px}
}

@media(max-width:767px){
html body .ivf .ivf-sites li{display:grid;grid-template-columns:44px 1fr;grid-template-areas:"ic t" "ic a" "ic b";text-align:left;align-items:start;column-gap:12px;row-gap:4px;padding:14px}
html body .ivf .ivf-sites__ic{grid-area:ic;width:40px;height:40px;box-shadow:none}
html body .ivf .ivf-sites strong{grid-area:t}
html body .ivf .ivf-sites__addr{grid-area:a;justify-content:flex-start}
html body .ivf .ivf-sites li a{grid-area:b;justify-self:start;margin-top:4px;padding:6px 12px;font-size:12.5px}
}
@media(max-width:1100px){html body .ivf .ivf-links nav+nav .ivf-h{margin-top:0}}
