/* XY.com.vn v2.7 — lightweight architecture editorial design. */
/* Brand slogan is embedded in supplied logo; do not repeat in top bar. */
.xi-architecture .xi-topbar,.xi-architecture .topbar{display:none!important}
.xi-architecture .xi-site-header{border-bottom:1px solid #eceff0!important;box-shadow:none!important}
.xi-architecture .xi-site-header .xi-header-inner{height:70px!important;min-height:70px!important;gap:13px!important}
.xi-architecture .xi-site-header .xi-brand{width:162px!important;height:58px!important;flex:0 0 162px!important;min-width:0!important}
.xi-architecture .xi-site-header .xi-brand-logo{width:100%!important;height:100%!important;max-height:58px!important;object-fit:contain!important;object-position:left center!important}
.xi-architecture .xi-footer-brand{width:192px!important;height:80px!important}
.xi-architecture .xi-footer-brand .xi-brand-logo{max-height:80px!important}
.xi-architecture .xi-mobile-logo{width:145px!important;height:auto!important;max-height:64px!important}
/* Typography: Inter with light/editorial weights; no heavy Manrope. */
.xi-architecture{font-family:Inter,Arial,sans-serif!important;font-weight:400!important;letter-spacing:0!important;color:#333c40}
.xi-architecture h1,.xi-architecture h2,.xi-architecture h3,.xi-architecture h4,.xi-architecture h5,.xi-architecture h6{font-family:Inter,Arial,sans-serif!important;letter-spacing:-.026em!important;font-weight:450!important;color:#26333a}
.xi-architecture .arch-intro h1{font-size:clamp(29px,3.3vw,43px)!important;line-height:1.23!important;font-weight:400!important}
.xi-architecture .xi-section-heading h2,.xi-architecture .section-head h2{font-size:clamp(21px,2vw,29px)!important;line-height:1.3!important;font-weight:450!important}
.xi-architecture .xi-archive-heading h1,.xi-architecture .page-heading h1{font-size:clamp(28px,3vw,42px)!important;line-height:1.22!important;font-weight:450!important}
.xi-architecture .xi-concept-heading h1,.xi-architecture .xi-pro-intro h1{font-size:clamp(29px,3.2vw,45px)!important;font-weight:420!important;line-height:1.19!important}
.xi-architecture .xi-concept-section h2{font-size:clamp(21px,2.1vw,29px)!important;font-weight:450!important}
.xi-architecture .arch-hero-copy h2{font-size:clamp(26px,2.9vw,39px)!important;font-weight:420!important;line-height:1.22!important}
.xi-architecture .arch-cta-inner h2{font-size:clamp(24px,2.5vw,32px)!important;font-weight:450!important}
.xi-architecture .arch-side-copy h3,.xi-architecture .story-card h3,.xi-architecture .project-card h3,.xi-architecture .pro-card h3{font-weight:450!important}
.xi-architecture .xi-concept-card h3{font-size:12px!important;line-height:1.5!important;font-weight:450!important;margin:8px 0 3px!important}
.xi-architecture .xi-concept-card>p,.xi-architecture .xi-concept-card-meta{font-weight:400!important}
.xi-architecture .photo-card .card-info h4,.xi-architecture .story-card h3{font-size:12px!important;font-weight:450!important}
.xi-architecture .eyebrow,.xi-architecture .xi-overline,.xi-architecture .section-index{font-size:9px!important;font-weight:500!important;letter-spacing:.13em!important}
.xi-architecture .section{padding-top:43px!important;padding-bottom:43px!important}
.xi-architecture .xi-home-concepts{padding-top:45px!important;padding-bottom:48px!important}
.xi-architecture .xi-section-heading,.xi-architecture .section-head{margin-bottom:21px!important}
.xi-architecture .xi-spec-item>strong{font-size:13px!important;font-weight:500!important}
/* Pinterest: FIVE columns, each image uncropped, home 15 items ~ 3 rows. */
@media(min-width:1121px){
 .xi-architecture .xy-home-concept-grid,.xi-architecture .xi-concepts-listing .xi-concept-cards,.xi-architecture .photo-grid,.xi-architecture .xy-listing-masonry{columns:5!important;column-gap:17px!important}
 .xi-architecture .xy-archive-results.pro-grid,.xi-architecture .xy-archive-results.house-archive-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:19px 15px!important}
 .xi-architecture .xy-room-section .xy-room-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
.xi-architecture .xy-home-concept-grid .xi-concept-cover img,.xi-architecture .xi-concepts-listing .xi-concept-cover img,.xi-architecture .photo-card img,.xi-architecture .detail-photo,.xi-architecture .xi-concept-hero>img{height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.xi-architecture .xi-concept-card{margin-bottom:21px!important}
/* Icon-led mega menu — no plus marks, no duplicate dropdown glyphs. */
.xi-architecture .xy-mega-nav{gap:0!important}
.xi-architecture .xy-mega-item{gap:0!important}
.xi-architecture .xy-mega-main-link{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:8px 6px!important;font-size:11px!important;font-weight:450!important;letter-spacing:0!important;color:#3c4c54!important}
.xi-architecture .xy-nav-svg{width:15px;height:15px;stroke-width:1.45;flex:none;opacity:.78}
.xi-architecture .xy-mega-main-link:hover,.xi-architecture .xy-mega-item.xy-open>.xy-mega-main-link{color:#12649a!important}
.xi-architecture .xy-mega-toggle,.xi-architecture .xy-term-toggle,.xi-architecture .xy-mobile-plus,.xi-architecture .xy-account-plus{display:none!important}
.xi-architecture .xy-mega-panel{padding:25px 27px 27px!important;border:1px solid #e7ecef!important;box-shadow:0 20px 36px #15233317!important}
.xi-architecture .xy-mega-top h2{font-size:22px!important;font-weight:450!important}
.xi-architecture .xy-mega-group-header h3{display:flex;align-items:center;gap:8px;font-size:12px!important;font-weight:500!important}
.xi-architecture .xy-mega-group-header h3 .xy-nav-svg{color:#12649a}
.xi-architecture .xy-mega-terms{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 15px}
.xi-architecture .xy-mega-leaf,.xi-architecture .xy-mega-branch>summary{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 3px;border-bottom:1px solid #f1f3f5;font-size:11px!important;line-height:1.35;cursor:pointer;color:#46545f;font-weight:400!important;list-style:none}
.xi-architecture .xy-mega-branch>summary::-webkit-details-marker,.xi-architecture .xy-mobile-group>summary::-webkit-details-marker{display:none}
.xi-architecture .xy-mega-branch>summary::marker,.xi-architecture .xy-mobile-group>summary::marker{content:""}
.xi-architecture .xy-mega-branch>summary .xy-nav-svg{color:#657b88}
.xi-architecture .xy-mega-children{padding:5px 3px 10px 15px!important;border-left:1px solid #dfe7ed!important}
.xi-architecture .xy-mega-children a{display:flex;align-items:center;gap:6px;font-size:10.5px!important;line-height:1.4!important;padding:6px 4px!important;color:#657681}
.xi-architecture .xy-mega-children .xy-nav-svg{width:12px;height:12px;opacity:.65}
.xi-architecture .xy-mega-all{display:inline-flex;align-items:center;gap:6px;font-weight:450}
.xi-architecture .xi-account>summary{font-size:11px!important;font-weight:450!important}
.xi-architecture .xi-account-panel a,.xi-architecture .xi-account-panel button{display:flex;align-items:center;gap:9px;font-weight:450!important}
.xi-architecture .xi-account-panel .xy-nav-svg{width:15px;height:15px}
/* Mobile drawer: icons before every item, no plus indicators. */
.xi-architecture .xy-mobile-nav>a,.xi-architecture .xy-mobile-group>summary,.xi-architecture .xy-mobile-sub a,.xi-architecture .xy-mobile-group-title{display:flex;align-items:center;justify-content:flex-start;gap:10px;font-weight:450!important}
.xi-architecture .xy-mobile-nav .xy-nav-svg{width:17px;height:17px;opacity:.75}
.xi-architecture .xy-mobile-sub a .xy-nav-svg,.xi-architecture .xy-mobile-group-title .xy-nav-svg{width:14px;height:14px}
.xi-architecture .xy-mobile-sub{padding:7px 11px 13px;background:#fafbfc}
@media(min-width:1121px) and (max-width:1280px){
 .xi-architecture .xi-site-header .xi-brand{width:140px!important;flex-basis:140px!important;height:52px!important}
 .xi-architecture .xy-mega-main-link{padding:8px 5px!important;font-size:10.5px!important;gap:4px!important}
 .xi-architecture .xi-head-search{min-width:128px;max-width:180px}
}
/* Mobile header retains ONLY Logo / actual search box / hamburger. */
@media(max-width:1120px){
 .xi-architecture .xi-site-header .xi-header-inner{height:65px!important;min-height:65px!important;padding:8px 0!important}
 .xi-architecture .xi-site-header .xi-brand{width:122px!important;flex:0 0 122px!important;height:43px!important}
 .xi-architecture .xi-site-header .xi-brand-logo{max-height:43px!important}
 .xi-architecture .xy-home-concept-grid,.xi-architecture .xi-concepts-listing .xi-concept-cards,.xi-architecture .photo-grid,.xi-architecture .xy-listing-masonry{columns:4!important;column-gap:12px!important}
}
@media(max-width:760px){
 .xi-architecture .xi-site-header .xi-header-inner{height:58px!important;min-height:58px!important;gap:7px!important}
 .xi-architecture .xi-site-header .xi-brand{width:100px!important;flex:0 0 100px!important;height:38px!important}
 .xi-architecture .xi-site-header .xi-brand-logo{max-height:38px!important}
 .xi-architecture .xy-home-concept-grid,.xi-architecture .xi-concepts-listing .xi-concept-cards,.xi-architecture .photo-grid,.xi-architecture .xy-listing-masonry{columns:3!important;column-gap:11px!important}
 .xi-architecture .xi-section-heading h2,.xi-architecture .section-head h2{font-size:21px!important}
 .xi-architecture .arch-intro h1{font-size:30px!important}
}
@media(max-width:520px){
 .xi-architecture .xi-site-header .xi-brand{width:80px!important;flex:0 0 80px!important;height:34px!important}
 .xi-architecture .xi-site-header .xi-brand-logo{max-height:34px!important}
 .xi-architecture .xy-home-concept-grid,.xi-architecture .xi-concepts-listing .xi-concept-cards,.xi-architecture .photo-grid,.xi-architecture .xy-listing-masonry{columns:2!important;column-gap:10px!important}
 .xi-architecture .xi-site-header .xi-head-search input{font-size:11px!important}
 .xi-architecture .xi-section-heading h2,.xi-architecture .section-head h2{font-size:19px!important}
 .xi-architecture .xi-concept-heading h1{font-size:28px!important}
}
@media(max-width:360px){.xi-architecture .xi-site-header .xi-brand{width:73px!important;flex:0 0 73px!important;height:32px!important}}

.xi-architecture .xi-concept-card .xi-concept-cover,.xi-architecture .photo-card .media{height:auto!important;aspect-ratio:auto!important;min-height:0!important}

.xi-architecture .xy-mobile-account a{display:flex;align-items:center;gap:10px;font-weight:450!important}
.xi-architecture .xy-mobile-account .xy-nav-svg{width:17px;height:17px;opacity:.75}
