/* vi.com.vn WordPress bridge — retain original V2 DOM/layout. */
[hidden]{display:none!important}
#site-header .lv-brand-logo,.footer .lv-brand-logo{display:block;width:auto;max-width:168px;max-height:50px;object-fit:contain}
.lv-brand-fallback{font-size:10px;letter-spacing:0;line-height:1.1;color:#fff}
.lv-brand-fallback>span{font-size:11px;font-weight:600;line-height:1.15}
.lv-brand-fallback>b{font-size:11px;font-weight:600}
.desktop-nav{gap:0;justify-content:space-between;max-width:660px;min-width:0}
.desktop-nav .nav-link{display:inline-flex;align-items:center;white-space:nowrap;gap:4px;padding-left:6px;padding-right:6px;font-weight:500}
.desktop-nav .nav-plus{font-size:11px;line-height:1;vertical-align:middle;display:inline-flex}
.lv-mega-dynamic{grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;align-items:start}
.lv-mega-dynamic h4>a{color:var(--ink);font-size:14px;font-weight:600;padding:0}
.lv-mega-dynamic>div:not(.mega-highlight) a{display:block}
.lv-mega-dynamic .mega-highlight{grid-column:auto}
#mobile-nav{max-height:min(80vh,680px);overflow:auto}
#mobile-nav .lv-mobile-level{margin:0;padding:0;list-style:none}
#mobile-nav .lv-mobile-item{display:block}
#mobile-nav .lv-mobile-item-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eaeaea}
#mobile-nav .lv-mobile-item-row>a{flex:1;padding:12px 24px;border:0}
#mobile-nav .lv-mobile-item-row>button{background:transparent;border:0;font-size:18px;color:var(--blue);padding:8px 22px;font-weight:500}
#mobile-nav li>.lv-mobile-level{display:none;background:#FFF3F3}
#mobile-nav li.expanded>.lv-mobile-level{display:block}
#mobile-nav .lv-mobile-level .lv-mobile-level .lv-mobile-item-row>a{padding-left:38px}
#mobile-nav .lv-mobile-level .lv-mobile-level .lv-mobile-level .lv-mobile-item-row>a{padding-left:54px}
#site-footer .footer .brand{display:flex!important;align-items:center}
#site-footer .footer .brand-name{color:#fff}
#site-footer .footer a:not(.brand){display:block}
.newsletter-inner form{flex-wrap:wrap}
.newsletter-inner form small{display:block;width:100%;font-size:10px;color:#666;line-height:1.3}
.lv-app:empty{min-height:350px}
.lv-server-entry{padding-top:35px;padding-bottom:75px}
.lv-ssr-breadcrumb{font-size:12px;color:#777;margin-bottom:15px}
.lv-server-entry>h1{font-size:clamp(26px,4vw,46px);line-height:1.25}
.lv-ssr-photo{max-height:500px;width:100%;object-fit:cover;border-radius:18px;margin-bottom:26px}
.lv-ssr-content{max-width:860px;font-size:16px;line-height:1.85}
.lv-ssr-content img{border-radius:12px}
.lv-ssr-card{border:1px solid #ececec;border-radius:15px;overflow:hidden;background:#fff;padding-bottom:18px}
.lv-ssr-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.lv-ssr-card h2{font-size:17px;font-weight:600;padding:14px 15px 0;margin:0}
.lv-ssr-card p{font-size:12px;color:var(--muted);padding:0 15px;margin:9px 0}
.lv-cms-body{background:#fff}
.lv-cms-body .container{max-width:900px}
.lv-cms-body .wp-block-image img{height:auto}
.lv-request-info{padding:12px;background:#FFF3F3;border-radius:9px;font-size:12px}
.lv-article-content{font-size:16px;line-height:1.85;margin-bottom:26px}
.lv-article-content h2{margin:26px 0 13px}
.lv-article-content img{border-radius:13px;height:auto}
body[data-page="tours"] .catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
body[data-page="tours"] .catalog-layout>aside{grid-column:2;grid-row:1}
body[data-page="tours"] .catalog-layout>div{grid-column:1;grid-row:1;min-width:0}
body[data-page="tours"] #tour-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
body[data-page="tours"] #tour-results .tour-card h3{font-size:13px}
body[data-page="tours"] #tour-results .tour-photo{height:150px}
body[data-page="detail"] .detail-layout .tour-card{min-width:0}
body[data-page="detail"] .detail-layout .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page="detail"] .gallery img{object-fit:cover}
@media(max-width:1100px){body[data-page="tours"] #tour-results{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page="tours"] .catalog-layout{grid-template-columns:minmax(0,1fr) 255px}.desktop-nav{max-width:none}}
@media(max-width:900px){body[data-page="tours"] .catalog-layout{display:block}body[data-page="tours"] #tour-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){body[data-page="tours"] #tour-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.lv-mega-dynamic{grid-template-columns:repeat(2,1fr)}.lv-server-entry{padding-top:18px}.lv-ssr-card h2{font-size:13px}}

/* vi.com.vn v1.0.3 — Deep red matching user-provided official brand mark. */
:root { --blue:#8C0100; --blue-dark:#650000; --mint:#8C0100; --mint-soft:#FFF0ED; }
.site-header,.hero-v2 { background:#8C0100; }
.btn-blue,.btn-green,.search-tab.selected { background:#8C0100; color:#fff; }
.btn-blue:hover,.btn-green:hover { background:#650000; }
.recruitment-box { background:#8C0100; color:#fff; }
.recruitment-box p { color:#FFE9E5; }
.recruitment-box .mini-label { color:#FFE8C5; }
.newsletter { background:#8C0100; color:#fff; }
.newsletter h2,.newsletter p { color:#fff; }
.newsletter-inner form small { color:#FFE9E5; }
.recruitment-box .btn-yellow,.newsletter-inner .btn-yellow {
  background:#fff; border-color:#fff; color:#8C0100;
}
.recruitment-box .btn-yellow:hover,.newsletter-inner .btn-yellow:hover {
  background:#FFE9E5; border-color:#FFE9E5; color:#650000;
}
.footer { background:#610000; }
.footer a:not(.brand),.footer-description,.footer-bottom { color:#F5D1C7; }
.footer .brand { color:#fff; }
@media (max-width: 640px) {
  .recruitment-box,.newsletter { background:#8C0100; }
}

/* Actual vi.com.vn logo: visible at every breakpoint, including footer. */
#site-header .lv-default-logo,#site-footer .lv-default-logo{width:196px;max-width:196px;max-height:54px;height:auto;object-fit:contain}
@media(max-width:640px){#site-header .lv-default-logo,#site-footer .lv-default-logo{width:155px;max-width:155px;max-height:44px}}

/* v1.0.4: prevent the PHP -> JavaScript content flash (FOUC). */
#app[data-vi-boot="1"]{min-height:430px;}
.lv-boot-screen{min-height:430px;background:#fff;overflow:hidden;}
.lv-boot-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:46px;padding-top:46px;padding-bottom:46px;min-height:430px;}
.lv-boot-bar{border-radius:8px;background:#e9e7e5;opacity:.85;margin-bottom:16px;height:18px;}
.lv-boot-kicker{width:35%;height:12px;margin-bottom:27px;}
.lv-boot-title{width:92%;height:38px;}
.lv-boot-title-short{width:67%;}
.lv-boot-desc{width:83%;height:14px;margin-top:26px;}
.lv-boot-desc-short{width:60%;height:14px;margin-top:0;}
.lv-boot-photo{height:320px;border-radius:24px;background:#e9e7e5;}
body[data-page="home"] .lv-boot-screen{background:#8C0100;}
body[data-page="home"] .lv-boot-bar{background:rgba(255,255,255,.35);}
body[data-page="home"] .lv-boot-photo{background:rgba(255,255,255,.14);}
@media(max-width:640px){.lv-boot-layout{grid-template-columns:1fr;gap:16px;min-height:460px;padding-top:35px;padding-bottom:35px}.lv-boot-title{height:25px}.lv-boot-photo{height:190px}.lv-boot-screen,#app[data-vi-boot="1"]{min-height:460px}}
.lv-render-error{padding-top:50px;padding-bottom:70px}

/* Never show the footer next to the boot shell; display once the real page is ready. */
#app[data-vi-boot="1"]~#site-footer{display:none}
#app[data-vi-boot="1"],#app[data-vi-boot="1"] .lv-boot-screen,#app[data-vi-boot="1"] .lv-boot-layout{min-height:max(430px,calc(100svh - 81px))}
@media(max-width:640px){#app[data-vi-boot="1"],#app[data-vi-boot="1"] .lv-boot-screen,#app[data-vi-boot="1"] .lv-boot-layout{min-height:max(460px,calc(100svh - 70px))}}

/* v1.0.5: one account control, vertically centered at all sizes. */
#site-header .header-inner{display:flex;align-items:center;min-width:0}
#site-header .header-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;align-self:center;min-height:48px}
#site-header .header-right>a,#site-header .header-right>button{position:static;top:auto;bottom:auto;transform:none;margin:0;float:none;align-self:center;vertical-align:middle}
#site-header .header-right .header-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;height:42px;line-height:1}
#site-header .header-right .header-icon .icon{display:block}
#site-header .header-right .mobile-trigger{display:none}
#site-header .lv-account-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 11px;border:1px solid rgba(255,255,255,.65);border-radius:22px;font-size:12px;font-weight:600;line-height:1;color:#fff;white-space:nowrap}
#site-header .lv-account-link:hover{background:#fff;color:#8C0100}
#site-header .lv-account-link .icon{display:block;width:18px;height:18px;flex:none}
#site-header .lv-account-link .lv-account-label{line-height:1;display:inline-block;white-space:nowrap}
#site-footer [data-newsletter]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:560px}
#site-footer [data-newsletter]>input[type=email]{flex:1 1 230px;min-width:0}
#site-footer [data-newsletter] .lv-newsletter-consent{display:flex;align-items:flex-start;gap:8px;flex:0 0 100%;width:100%;color:#fff;font-size:11px;line-height:1.5;cursor:pointer}
#site-footer [data-newsletter] .lv-newsletter-consent input{margin:3px 0 0;accent-color:#fff;flex:none;min-width:14px;width:14px;height:14px}
#site-footer [data-newsletter] .lv-newsletter-status{flex:0 0 100%;width:100%;margin:0;font-size:12px;line-height:1.4;color:#fff}
#site-footer .lv-newsletter-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
#site-footer [data-newsletter] button:disabled{cursor:wait}
@media(max-width:1100px){#site-header .header-inner{gap:13px}#site-header .desktop-nav{min-width:0;flex:1 1 auto}#site-header .header-right{gap:5px}#site-header .lv-account-link{padding:0 9px}}
@media(max-width:900px){#site-header .header-right{gap:4px}#site-header .lv-account-link{width:40px;min-width:40px;padding:0;border:1px solid rgba(255,255,255,.5)}#site-header .lv-account-link .lv-account-label{display:none}#site-header .header-right [data-login]{display:none}#site-header .header-right .mobile-trigger{display:inline-flex}}
@media(max-width:640px){#site-header .lv-account-link{width:37px;min-width:37px;height:37px}#site-header .header-right{flex-wrap:nowrap}#site-footer [data-newsletter] button{flex:0 0 auto}#site-footer [data-newsletter] .lv-newsletter-consent{font-size:10px}}

#app .lv-search-heading{padding:12px 15px 9px;color:#27212a;font-size:14px;font-weight:600;line-height:1.35}
/* Newsletter: two independent white controls on red, consent text legible. */
#site-footer .newsletter-inner [data-newsletter]{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;flex:0 1 550px;max-width:550px;gap:10px}
#site-footer .newsletter-inner [data-newsletter]>input[type=email]{background:#fff;color:#262626;border:1px solid rgba(255,255,255,.6);border-radius:9px;min-height:47px;padding:12px 15px;flex:1 1 250px;font-size:14px;outline-offset:2px}
#site-footer .newsletter-inner [data-newsletter]>.btn{border-radius:9px;min-height:47px;padding:11px 19px;flex:0 0 auto;white-space:nowrap}
#site-footer .newsletter-inner [data-newsletter] .lv-newsletter-consent{color:#fff!important;font-weight:400;font-size:11px;line-height:1.5;opacity:1}
#site-footer .newsletter-inner [data-newsletter] .lv-newsletter-status{color:#fff!important;opacity:1}
@media(max-width:640px){#site-footer .newsletter-inner [data-newsletter]{width:100%;flex:1 1 100%;gap:9px}#site-footer .newsletter-inner [data-newsletter]>input[type=email]{flex:1 1 100%;width:100%}#site-footer .newsletter-inner [data-newsletter]>.btn{width:100%}#site-footer .newsletter-inner [data-newsletter] .lv-newsletter-consent{font-size:11px}}
