/*







Theme Name: Flatsome Child







Description: TA HOUSE — Figma (TkWP4OSlom6pcGA2rD1NcF) implementation on native Flatsome / UX Builder.







Author: UX Themes







Template: flatsome







Version: 4.0







*/















/* ==========================================================================







   Every value in this file is taken from the Figma node tree







   (.visual-clone/figma_nodes/*.json, dumped to scratch/spec/*.txt).







   Desktop artboard 1920, mobile artboard 430 (Flatsome breakpoint 849px).







   Previous stylesheet kept as style.css.bak-20261013.







   ========================================================================== */















/* 0. FONTS — Archivo self-hosted (TA HOUSE Final) */







@font-face {







  font-family: "Archivo";







  font-style: normal;







  font-weight: 300;







  font-display: swap;







  src: url("assets/fonts/02356136594eb1.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: normal;







  font-weight: 400;







  font-display: swap;







  src: url("assets/fonts/894bbf9a7ca7a6.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: normal;







  font-weight: 500;







  font-display: swap;







  src: url("assets/fonts/f64daacb1fe942.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: normal;







  font-weight: 600;







  font-display: swap;







  src: url("assets/fonts/1b3f12001e9adb.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: normal;







  font-weight: 700;







  font-display: swap;







  src: url("assets/fonts/144dd7de91de08.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: italic;







  font-weight: 400;







  font-display: swap;







  src: url("assets/fonts/d9de54867d8787.woff2") format("woff2");







}







@font-face {







  font-family: "Archivo";







  font-style: italic;







  font-weight: 600;







  font-display: swap;







  src: url("assets/fonts/529890954a8116.woff2") format("woff2");







}







@font-face {







  font-family: "fl-icons";







  src: url("assets/fonts/01d64f5ed7777e.woff2") format("woff2");







}















/* 1. TOKENS ================================================================ */







:root {







  --th-ink: #222222;          /* headings / text-primary */







  --th-body: #444444;         /* body copy, meta */







  --th-muted: #a4a7ae;        /* placeholders, dividers */







  --th-line: #e9eaeb;         /* input stroke */







  --th-accent: #e0742a;       /* buttons, icons, asterisk */







  --th-cream: #f9e9c4;        /* EN on hero, active dot */







  --th-bg: #ffffff;







  --th-curtain: #f4efe6;







  --th-serif: "Archivo", Arial, sans-serif;







  --th-sans: "Archivo", Arial, sans-serif;







  --th-ui: "Archivo", Arial, sans-serif;







  --th-op72: "opsz" 72;







  --th-ease: cubic-bezier(.22, 1, .36, 1);







  --th-ease-io: cubic-bezier(.76, 0, .24, 1);







  --th-sp: 88px;







  --th-sp-title: 48px;







  --th-sp-grid: 56px;







  --th-band: min(820px, 86vh);







}















html.th-bold {







  --th-ease: cubic-bezier(.3, 0, 0, 1);







  --th-ease-io: cubic-bezier(.76, 0, .24, 1);







  --th-curtain: #0d0d0d;







}















html.th-dark {







  --th-ink: #efece6;







  --th-body: #c9c5bd;







  --th-muted: #8d8b86;







  --th-line: #2e2e2e;







  --th-bg: #121212;







  --th-curtain: #161513;







  color-scheme: dark;







}















body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {







  font-family: var(--th-sans) !important;







}















/* 2. BASE ================================================================== */







html { background: var(--th-bg); }







body {







  font-family: var(--th-sans);







  font-size: 16px;







  line-height: 1.7;







  color: var(--th-body);







  background: var(--th-bg);







  -webkit-font-smoothing: antialiased;







  opacity: 0.999;







}







#wrapper, #main { background: var(--th-bg); }







h1, h2, h3, h4, h5, h6 { color: var(--th-ink); font-family: var(--th-serif); font-variation-settings: var(--th-op72); font-weight: 400; margin: 0; }







p { margin: 0; }







a { color: inherit; }







a:hover { color: inherit; }







.th-serif { font-family: var(--th-serif); font-variation-settings: var(--th-op72); }















/* Flatsome resets used by every TA HOUSE layout */







.section.th-sec { padding-left: 0; padding-right: 0; }







.th-grid { padding: 0; }







.th-grid > .col { padding: 0 12px; }







.th-grid > .col > .col-inner { padding: 0; }







.row.th-grid + .row.th-grid { margin-top: 120px; }







.row.th-head + .row.th-grid { margin-top: 0; }







.th-services .row.th-grid:last-child { padding-bottom: 16px; } /* Figma frame 4056–5167: 156px under the 2-line copy */







.th-flush > .col { padding: 0; }







.page-header-excerpt, .page-title, .entry-header { display: none !important; }















/* 3. TYPOGRAPHY (Figma text styles) ======================================= */







/* Section title — Fraunces 72pt 400 20/26 ls5, centred */







.th-sec-title {







  font: 400 20px/26px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  text-align: center;







  color: var(--th-ink);







  margin: 0 0 100px;







}







/* Page title — Fraunces 72pt 400 30/39 ls3 */







.th-page-title {







  font: 400 30px/39px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 3px;







  text-transform: uppercase;







  text-align: center;







  color: var(--th-ink);







}







/* Editorial lead — Fraunces 72pt 300 18/28.8 ls0.72 */







.th-lead {







  font: 300 18px/28.8px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.72px;







  color: var(--th-ink);







}







.th-lead p + p { margin-top: 28.8px; }







/* Body — Lexend 400 16/27.2 */







.th-body { font: 400 16px/27.2px var(--th-sans); letter-spacing: 0.04px; color: var(--th-body); }







/* Meta — Lexend 600 14/21 ls0.84 uppercase, items split by 1px x 16px rules with 20px gaps */







.th-meta {







  font: 600 14px/21px var(--th-sans);







  letter-spacing: 0.84px;







  text-transform: uppercase;







  color: var(--th-body);







  display: flex;







  align-items: center;







  flex-wrap: wrap;







  margin: 0;







}







/* Centred, letter-spaced titles: Chrome appends the letter-spacing after the last glyph of every line, Figma doesn't,







   so glyphs land ls/2 left of the Figma centre (measured dx +2 for ls5 on archive h1s). padding-left = ls re-centres all lines. */







.th-sec-title, .th-banner .th-hero-title, .th-banner .th-banner-title--m72 { padding-left: 5px; }







.th-page-title { padding-left: 3px; }







@media (min-width: 850px) {







  /* desktop Lexend metas: REF glyphs 1px lower (Chrome floors half-leading; best dy=+1 on every card) */







  .th-meta { position: relative; top: 1px; }







}







.th-meta span, .th-news-grid .post-meta span { position: relative; }







.th-meta span + span, .th-news-grid .post-meta span + span { margin-left: 40px; }







.th-meta span + span::before, .th-news-grid .post-meta span + span::before {







  content: "";







  position: absolute;







  left: -20.5px;







  top: 50%;







  width: 1px;







  height: 16px;







  margin-top: -8px;







  background: var(--th-body);







}















/* 4. CARD (= [ux_image_box class="th-card"]) ============================== */







.th-card { margin: 0; }







.th-card .box-image { width: 100%; border-radius: 0; }







.th-card .box-image img { object-fit: cover; }







.th-card .box-text { padding: 32px 0 0; text-align: left; transform: translateZ(0); }







.th-card .box-text-inner { max-width: none; }







.th-card .th-card__title {







  font: 400 18px/27px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  color: var(--th-ink);







  margin: 0;







}







.th-card__title a { color: inherit; }







.th-card .th-card__desc {







  font: 400 16px/27px var(--th-sans);   /* Figma lh 27.2 but node boxes 54 (2 lines) / 81 (3 lines) = 27px/line */







  letter-spacing: 0.04px;







  color: var(--th-body);







  margin: 16px 0 0;







  position: relative; top: 1px;   /* Chrome floors Lexend half-leading (Figma doesn't): REF glyphs measured 1px lower (region_diff best dy=+1 at 1920 & 430) */







}







.th-card .box-text p { margin-bottom: 0; }







.th-card .th-meta { margin-top: 24px; }







.th-card__title + .th-meta { margin-top: 38px; }







.th-card--tight .th-card__desc { margin-top: 8px; }







.th-card--desc461 .th-card__desc { max-width: 461px; }







.th-card--style .th-card__title { font-size: 20px; line-height: 30px; letter-spacing: 2px; }







.th-card--news .th-meta { margin-top: 24px; }







.th-card:hover .box-image img { transform: none; }















/* image ratios (desktop) — Figma frame sizes */







.th-r-848x564 .image-cover { padding-top: 66.509% !important; }







.th-r-412x564 .image-cover { padding-top: 136.893% !important; }







.th-r-557x568 .image-cover { padding-top: 101.975% !important; }







.th-r-412x563 .image-cover { padding-top: 136.650% !important; }







.th-r-412x443 .image-cover { padding-top: 107.524% !important; }







.th-r-549x728 .image-cover { padding-top: 132.605% !important; }















/* 5. HEADER =============================================================== */







#header, #header .header-wrapper { background: transparent; box-shadow: none; }







#header {



  position: fixed !important;



  top: 0; left: 0; right: 0;



  width: 100%;



  z-index: 999;



  min-height: 0;



  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);



}







#header .tahouse-header {



  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),



              background-color 0.35s ease,



              border-color 0.35s ease,



              box-shadow 0.35s ease;



}







/* Scrolled down state (Norm Architects sticky pattern) */



#header.is-scrolled .tahouse-header,
.home #header.is-scrolled .tahouse-header {
  height: 98px !important;
  background-color: #f0efec !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* Scrolled down state in Dark Mode */
html.dark-mode #header.is-scrolled .tahouse-header,
html.th-dark #header.is-scrolled .tahouse-header,
html.dark-mode .home #header.is-scrolled .tahouse-header,
html.th-dark .home #header.is-scrolled .tahouse-header {
  height: 98px !important;
  background-color: #141414 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Scrolled logo: Light mode -> black logo, Dark mode -> white logo */
#header.is-scrolled .tahouse-logo--light { display: block !important; }
#header.is-scrolled .tahouse-logo--dark { display: none !important; }
html.dark-mode #header.is-scrolled .tahouse-logo--light,
html.th-dark #header.is-scrolled .tahouse-logo--light { display: none !important; }
html.dark-mode #header.is-scrolled .tahouse-logo--dark,
html.th-dark #header.is-scrolled .tahouse-logo--dark { display: block !important; }

#header.is-scrolled .tahouse-logo img {
  width: 160px !important;
  height: 38px !important;
  transition: width 0.35s ease, height 0.35s ease;
}

#header.is-scrolled .tahouse-header .header-inner {
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#header.is-scrolled .tahouse-header-left,
#header.is-scrolled .tahouse-header-right {
  margin-top: 0 !important;
}







#header .header-wrapper { position: static !important; }







#header.stuck .header-wrapper, #header .header-wrapper.stuck { position: static !important; }







#header .tahouse-header { height: 116px; background: #fff; box-shadow: none; } /* Figma subpage Header instance: 1921x116 #fff */







.tahouse-header .header-inner {







  max-width: none;







  height: 100%;







  padding: 0 40px;







  display: flex;







  align-items: center;







  justify-content: space-between;







}







.tahouse-header .flex-col { flex: 1 1 0; display: flex; align-items: center; }







.tahouse-header-center { justify-content: center; flex: 0 0 219px !important; }







.tahouse-header-right { justify-content: flex-end; }







.tahouse-header-actions { display: flex; align-items: center; gap: 24px; }







.tahouse-header .tahouse-logo img { display: block; width: 219px; height: 54px; object-fit: contain; }







.tahouse-hamburger-btn { width: 40px; height: 40px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; display: block; min-height: 0; line-height: 0; }







.tahouse-hamburger-btn .btn-rect { fill: rgba(255, 255, 255, 0.4); }







.tahouse-hamburger-btn .btn-stroke { stroke: var(--th-ink); }







.tahouse-search-trigger { width: 40px; height: 40px; padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--th-ink); text-decoration: none; line-height: 0; transition: color 0.2s ease, transform 0.2s ease; }







.tahouse-search-trigger:hover { color: var(--th-accent); transform: scale(1.06); }







.tahouse-search-trigger i.icon-search { font-size: 18px; line-height: 1; color: currentColor; }







.tahouse-search-trigger svg path { stroke: currentColor; }







.tahouse-lang-switch {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  font: 700 16px/24px var(--th-ui);







  letter-spacing: 0.04px;







  color: var(--th-ink);







  text-decoration: none;







  cursor: pointer;







  transition: opacity .2s ease;







}







.tahouse-lang-switch:hover {







  opacity: 0.8;







}







.tahouse-header-cta {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  min-width: 197px;







  height: 40px;







  padding: 0 16px;







  background: var(--th-accent);







  color: #fff !important;







  font: 400 14px/23.8px var(--th-sans);







  letter-spacing: 0.04px;







  text-transform: uppercase;







  white-space: nowrap;







  text-decoration: none;







  transition: opacity .2s ease, transform .2s ease;







}







.tahouse-header-cta:hover {







  opacity: 0.9;







  color: #fff !important;







}







/* Home: 145px transparent header over the hero, white logo, cream EN */







.home #header .tahouse-header { height: 145px; background: transparent; }







.home .tahouse-header .header-inner { align-items: flex-start; padding-top: 46px; }







.home .tahouse-header-left, .home .tahouse-header-right { margin-top: 6px; }







/* Figma "Thiết kế" archive frame: same 145px header geometry (logo y46, EN/CTA y60) but dark logo on white */







.post-type-archive-thiet-ke #header .tahouse-header { height: 145px; }







.post-type-archive-thiet-ke .tahouse-header .header-inner { align-items: flex-start; padding-top: 46px; }







.post-type-archive-thiet-ke .tahouse-header-left, .post-type-archive-thiet-ke .tahouse-header-right { margin-top: 6px; }







/* Dual Logo Switching (Customizer: site_logo = Light Mode, site_logo_dark = Dark Mode / Transparent Header) */







.tahouse-logo--light { display: block !important; filter: none !important; }







.tahouse-logo--dark { display: none !important; filter: none !important; }







.home .tahouse-header .hide-for-medium .tahouse-logo--light,







.ctda-page .tahouse-header .tahouse-logo--light { display: none !important; }







.home .tahouse-header .hide-for-medium .tahouse-logo--dark,







.ctda-page .tahouse-header .tahouse-logo--dark { display: block !important; }







.home .tahouse-search-trigger svg path { stroke: var(--th-cream); }







@media (min-width: 850px) {







  .home .tahouse-search-trigger, .ctda-page .tahouse-search-trigger { color: var(--th-cream); }







}







.home .tahouse-lang-switch { color: var(--th-cream); }







.single-du-an #header .tahouse-header { background: transparent; }















/* off-canvas drawer */







.tahouse-offcanvas-menu { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }







.tahouse-offcanvas-menu.is-open { visibility: visible; pointer-events: auto; }







.tahouse-offcanvas-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity .3s; }







.tahouse-offcanvas-menu.is-open .tahouse-offcanvas-overlay { opacity: 1; }







.tahouse-offcanvas-panel {







  position: absolute; top: 0; left: 0; bottom: 0; width: 420px; max-width: 88vw;







  background: #fff; padding: 32px 40px; overflow-y: auto;







  transform: translateX(-100%); transition: transform .3s;







  display: flex; flex-direction: column; gap: 40px;







}







.tahouse-offcanvas-menu.is-open .tahouse-offcanvas-panel { transform: none; }







.tahouse-offcanvas-header { display: flex; align-items: center; justify-content: space-between; }







.tahouse-logo-drawer { width: 142px; height: auto; }







.tahouse-close-btn { background: none; border: 0; font-size: 32px; line-height: 1; color: var(--th-ink); cursor: pointer; margin: 0; padding: 0; min-height: 0; }







.tahouse-drawer-links { list-style: none; margin: 0; padding: 0; }







.tahouse-drawer-links li { margin: 0; border-bottom: 1px solid var(--th-line); }







.tahouse-drawer-links a { display: block; padding: 16px 0; font: 400 18px/27px var(--th-serif); font-variation-settings: var(--th-op72); letter-spacing: 5px; color: var(--th-ink); text-transform: uppercase; transition: color .2s ease; }







.tahouse-drawer-links a:hover,







.tahouse-drawer-links .current-menu-item > a { color: var(--th-accent, #c9933f); }







.tahouse-drawer-theme-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; background: none; border: 0; padding: 16px 0; margin: 0; cursor: pointer; font: 600 12px/18px var(--th-sans); letter-spacing: 0.84px; color: var(--th-ink); text-transform: uppercase; }







.theme-switch-slider { position: relative; width: 40px; height: 22px; border-radius: 11px; background: var(--th-line); }







.theme-switch-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }







html.dark-mode .theme-switch-slider { background: var(--th-accent); }







html.dark-mode .theme-switch-slider::after { left: 21px; }







.tahouse-drawer-footer { margin-top: auto; }







.tahouse-drawer-footer p,







.drawer-contact-item { font: 400 14px/21px var(--th-ui); color: var(--th-body); margin: 0 0 6px; }







.tahouse-drawer-footer p:last-child,







.drawer-contact-item:last-child { margin-bottom: 0; }







.tahouse-drawer-footer a { color: inherit; text-decoration: none; transition: color 0.2s ease; }







.tahouse-drawer-footer a:hover { color: var(--th-accent, #c9933f); }















/* 6. FOOTER =============================================================== */







#footer, .footer-wrapper { background: #fff; padding: 0; margin: 0; }







.absolute-footer { display: none !important; }







.tahouse-footer-logo { display: block; width: 142px; height: 35px; object-fit: contain; }















@media (min-width: 850px) {







  .tahouse-footer-main { padding: 100px 100px; }







  .tahouse-footer .footer-container { max-width: none; padding: 0; }







  .tahouse-footer-row { display: flex; flex-wrap: nowrap; margin: 0 !important; max-width: none !important; }







  .tahouse-footer-row > .col { padding: 0 12px !important; }
  .tahouse-footer-col-brand { flex: 1 1 auto; max-width: 860px; min-width: 260px; }
  .tahouse-footer-col { flex: 0 0 auto; min-width: 170px; }
  .tahouse-footer-col a, .tahouse-footer-col span, .tahouse-footer-title { white-space: nowrap; }
  .tahouse-footer-row { padding-right: 64px; }







}







.tahouse-footer-title {







  font: 400 18px/27px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  color: var(--th-ink);







  margin: 0 0 41px;







}







.tahouse-footer-list { list-style: none; margin: 0; padding: 0; }







.col-inner ul.tahouse-footer-list li,







.tahouse-footer-list li { margin: 0 0 27px; margin-left: 0 !important; padding: 0 !important; font: 400 16px/27px var(--th-sans); letter-spacing: 0.04px; }   /* Figma: 5 lines x 27.2 in a 135px node = 27px/line */







.tahouse-footer-list li:last-child { margin-bottom: 0; }







.tahouse-footer-list a { color: var(--th-ink); }







.tahouse-footer-bottom { padding: 0 100px 24px; transform: translateZ(0); }







.tahouse-footer-bottom .row { max-width: none !important; margin: 0 !important; }







.tahouse-footer-bottom-inner { height: 24px; padding: 0 !important; }







.tahouse-copyright { font: 400 16px/24px var(--th-ui); color: var(--th-ink); margin: 0; }















/* 7. BANNERS (ux_banner) — Figma progressive blur + dark gradient ======== */







.banner { background-color: transparent; }







.th-banner .banner-bg { z-index: 0; overflow: hidden; }







.th-banner .banner-bg .video-bg { width: 100%; height: 100%; object-fit: cover; }







.th-banner .banner-bg iframe.ux-youtube {







  position: absolute !important;







  top: 50% !important;







  left: 50% !important;







  width: 100vw !important;







  height: 56.25vw !important;







  min-height: 100% !important;







  min-width: 177.78vh !important;







  transform: translate(-50%, -50%) !important;







  pointer-events: none;







}







.th-banner .banner-layers { max-width: none; padding: 0; z-index: 2; }







.th-banner .th-tb { z-index: 2; }







.th-banner .text-box-content { text-shadow: none; }







.th-fade .banner-bg::after {







  content: "";







  position: absolute;







  left: 0; right: 0; bottom: 0;







  height: var(--th-fade-h, 385px);







  background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(36, 36, 36, var(--th-fade-a, 0.40)) 100%);







  -webkit-backdrop-filter: blur(12px);







  backdrop-filter: blur(12px);







  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  pointer-events: none;







  z-index: 1;







}







.th-banner .th-banner-title {







  font: 600 20px/30px var(--th-serif);







  letter-spacing: 0.04px;







  color: #fff;







  text-transform: uppercase;







  text-align: center;







}







.th-banner .th-banner-text { font: 400 16px/27.2px var(--th-sans); letter-spacing: 0.04px; color: #fff; text-align: center; }















/* 8. HOME ================================================================= */







/* banner text boxes anchored to the banner bottom (Figma distances) */







.th-tb.text-box { top: auto !important; transform: translateX(-50%) !important; }







.th-tb--hero { bottom: 115px; }          /* title y849 h36 in a 1000 frame */







.th-tb--about, .th-tb--show { bottom: 83px; }







.th-tb--play.text-box { top: 50% !important; bottom: auto; transform: translate(-50%, -50%) !important; }







.th-tb .th-hero-title, .th-tb .th-banner-title, .th-tb .th-banner-text { margin: 0; }







.th-tb .th-banner-title + .th-banner-text { margin-top: 24px; }















/* 8.1 hero */







.th-hero .slider-wrapper, .th-hero .flickity-viewport { height: 1000px !important; }







.th-banner .th-hero-title {







  font: 400 24px/36px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  text-align: center;







  color: #fff;







}







.th-hero .flickity-page-dots { bottom: 67px; display: flex; justify-content: center; gap: 12px; }







.th-hero .flickity-page-dots .dot {







  width: 8px; height: 8px; margin: 0; border: 0; border-radius: 4px; opacity: 1;







  background: rgba(233, 234, 235, 0.5);







}







.th-hero .flickity-page-dots .dot.is-selected { background: var(--th-cream); }















/* 8.2 showcase play button — Figma "Button" 100x100, #fff@.30, background blur 16 */







/* [video_button] does not print its `class` attr -> scope via the wrapping text_box `.th-tb--play` */







.th-tb--play .button.open-video, .th-tb--play .button.open-video.is-outline {







  width: 100px; height: 100px; min-height: 0; margin: 0; padding: 0;







  border: 0; border-radius: 9999px;







  background: rgba(255, 255, 255, 0.3);







  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);







  display: inline-flex; align-items: center; justify-content: center;







  color: #fff; box-shadow: none;







}







.th-tb--play .button.open-video i { font-size: 17px !important; line-height: 1; margin: 0; }















/* 8.3a projects — native [blog_posts] / [ux_projects] rendered as Figma 6-3-3 / 3-3-6 grid */







.row.th-projects-grid { margin: 0 -12px !important; width: auto; max-width: none; row-gap: 120px; }







.th-projects-grid > .post-item { padding: 0 12px !important; margin: 0 !important; max-width: 25% !important; flex-basis: 25% !important; }







.th-projects-grid > .post-item:nth-child(1),
.th-projects-grid > .post-item:nth-child(6) { max-width: 50% !important; flex-basis: 50% !important; }







.th-projects-grid > .post-item .image-cover { padding-top: 136.893% !important; }







.th-projects-grid > .post-item:nth-child(1) .image-cover,
.th-projects-grid > .post-item:nth-child(6) .image-cover { padding-top: 66.509% !important; }







.th-projects-grid .box-image { width: 100%; border-radius: 0; }







.th-projects-grid .box-image .image-cover img { object-fit: cover; }







.th-projects-grid .box:hover .box-image img { transform: none; }







.th-projects-grid .box-text { padding: 32px 0 0 !important; text-align: left; transform: translateZ(0); }







.th-projects-grid .box-text-inner { max-width: none; }







.th-projects-grid .post-title {







  font: 400 18px/27px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  color: var(--th-ink);







  margin: 0;







}







.th-projects-grid .post-title a { display: block; margin: 0; font: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; }







.th-projects-grid .is-divider { display: none; }







.th-projects-grid .th-card__desc {







  font: 400 16px/27px var(--th-sans);







  letter-spacing: 0.04px;







  color: var(--th-body);







  margin: 16px 0 0;







  position: relative; top: 1px;







}







.th-projects-grid .box-text p { margin-bottom: 0; }







.th-projects-grid .th-meta { margin-top: 24px; }
.th-projects-grid .from_the_blog_excerpt:not(.th-card__desc) { display: none !important; }
.th-projects-grid > .post-item:nth-child(1) .th-card__desc,
.th-projects-grid > .post-item:nth-child(1) .from_the_blog_excerpt { display: none !important; }
.th-projects-grid > .post-item:nth-child(1) .th-meta { margin-top: 38px; }







.th-projects-grid > .post-item:nth-child(6) .th-card__desc { max-width: 461px; }







.th-projects-grid > .post-item:nth-child(n+7) .th-card__desc { display: none; }







.da-more-row { margin-top: 80px !important; margin-bottom: 20px !important; }







@media (min-width: 850px) {







  .th-img-m, .th-meta--m { display: none !important; }







}















/* 8.3 news — native [blog_posts] rendered as Figma cards (412x443) */







.row.th-news-grid { margin: 0 -12px !important; width: auto; max-width: none; }







.th-news-grid > .post-item { padding: 0 12px; }







.th-news-grid .box-image { width: 100%; border-radius: 0; }







.th-news-grid .box-image .image-cover img { object-fit: cover; }







.th-news-grid .box-text { padding: 32px 0 0 !important; }







.th-news-grid .post-title {







  font: 400 18px/27px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  color: var(--th-ink);







  margin: 0;







}







.th-news-grid .post-meta {







  font: 600 14px/21px var(--th-sans);







  letter-spacing: 0.84px;







  text-transform: uppercase;







  color: var(--th-body);







  opacity: 1;







  margin: 24px 0 0;







  display: flex; align-items: center;







}







.th-news-grid .is-divider { display: none; }







.th-news-grid .post-title a { display: block; margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }















/* 8.3b Home card photos with Figma scaleMode STRETCH + imageTransform T=[[a,0,tx],[0,d,ty]]:







   visible part x:[tx,tx+a] y:[ty,ty+d] stretched to the frame -> img 100/a % x 100/d %, offset -tx/a, -ty/d.







   (generated by scratch/stretch_css.py from trang-chu_1920/430.json; FILL images keep object-fit:cover) */







.home .image-cover img[src*="3a20083423213198"] { object-fit: fill; width: 105.608%; height: 108.338%; left: -2.804%; top: 0; right: auto; bottom: auto; max-width: none; }







.home .image-cover img[src*="689f3bf38186a553"],







.home .image-cover img[src*="0e447208b3c3681c"] { object-fit: fill; width: 100%; height: 109.890%; left: 0; top: -0.016%; right: auto; bottom: auto; max-width: none; }







.home .image-cover img[src*="0449a4d3650d82c1"] { object-fit: fill; width: 116.319%; height: 112.780%; left: -8.203%; top: 0.017%; right: auto; bottom: auto; max-width: none; }







.home .image-cover img[src*="d7757bc4d3f4f1d5"] { object-fit: fill; width: 111.778%; height: 106.390%; left: -5.889%; top: -0.016%; right: auto; bottom: auto; max-width: none; }







.home .image-cover img[src*="805df0d237bd16ff"] { object-fit: fill; width: 115.764%; height: 110.183%; left: -7.882%; top: -1.719%; right: auto; bottom: auto; max-width: none; }







.home .image-cover img[src*="a3c4c7fa674ae948"] { object-fit: fill; width: 115.271%; height: 109.714%; left: -7.635%; top: -1.484%; right: auto; bottom: auto; max-width: none; }















/* 8.4 before / after fade (Figma rect y752 h314 inside the 1000 frame) */







.th-ba .tahouse-twenty20-wrap::after {







  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;







  height: 248px;







  background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(36, 36, 36, 0.474) 100%);







  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);







  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  pointer-events: none;







}















/* 8.2 contact section (home + reused) */







.th-contact { position: relative; }







.th-contact .section-bg::after {







  content: ""; position: absolute; inset: 0;







  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 81.73%); /* Figma fill opacity .4 */







}







.th-contact-row { align-items: flex-start !important; }







.col-inner > .th-contact-qr.img { width: 149px !important; margin: 0 0 24px; }   /* Figma QR bottom 9515 -> first label 9538 (beats Flatsome .col-inner>.img:not(:last-child){margin-bottom:1em}) */







.th-contact-qr img { display: block; width: 149px; height: 149px; }







/* Figma: labels 9538/9636/9732/9830/9926 -> pitch 97 = 49 content + 48; divider Vectors 3–6 at y9611.5 (+97):







   1px #A4A7AE, strokeDashes [2,2] -> drawn as a 4px-period gradient on the last px of the 24px bottom padding */







.th-contact-item.featured-box {







  max-width: 470px; margin: 0; padding: 0 0 24px; border: 0;







  background: linear-gradient(90deg, #a4a7ae 50%, transparent 50%) left bottom / 4px 1px repeat-x;







}







.th-contact-item.featured-box + .th-contact-item.featured-box { padding-top: 24px; }







.th-contact-item.featured-box:last-child { background: none; padding-bottom: 0; }







.th-contact-item .icon-box-img { width: 40px !important; margin: 0 16px 0 0 !important; align-self: center; }







.th-contact-item .icon-box-img .icon {







  width: 40px; height: 40px; border-radius: 32px; background: var(--th-accent);







  display: flex; align-items: center; justify-content: center;







}







.th-contact-item .icon-box-img .icon-inner { position: static; width: 20px; height: 20px; padding: 0; }







.th-contact-item .icon-box-img img, .th-contact-item .icon-box-img svg { display: block; width: 20px; height: 20px; }







.th-contact-item .icon-box-text { padding: 0 !important; }







.th-contact-label { font: 400 14px/21px var(--th-ui); letter-spacing: 0.04px; color: #fff; margin: 0 0 4px; }







.th-contact-value { font: 700 16px/24px var(--th-ui); letter-spacing: 0.04px; color: #fff; margin: 0; }







.th-contact-value a { color: #fff; }







.th-grid > .th-form-card { padding: 0 12px 0 0; }







.th-form-card > .col-inner {







  background: #fff;







  padding: 32px 40px !important;







  display: flex;







  flex-direction: column;







  justify-content: center;







}







@media (min-width: 850px) {







  .th-contact .row.th-contact-row {







    align-items: flex-start !important;







  }







  .th-contact .th-form-card > .col-inner {







    height: 610px !important;







    min-height: 610px !important;







    max-height: 610px !important;







    padding: 36px 40px 32px !important;







    display: flex !important;







    flex-direction: column !important;







    justify-content: flex-start !important;







    box-sizing: border-box !important;







  }







  .th-contact .th-form-title {







    margin: 0 0 20px !important;







  }







  .th-contact .wpcf7 form {







    display: flex !important;







    flex-direction: column !important;







    flex: 1 !important;







    row-gap: 16px !important;







  }







  .th-contact .wpcf7 textarea {







    height: 120px !important;







    min-height: 120px !important;







  }







  .th-contact .wpcf7 .th-f--submit {







    margin-top: auto !important;







    margin-bottom: 0 !important;







  }







}







@media (max-width: 849px) {







  .th-grid > .th-form-card { padding: 0 8px; }







  .th-form-card > .col-inner { min-height: 0; padding: 32px 16px !important; }







}







.th-form-title {







  font: 400 20px/30px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 2px;







  color: var(--th-ink);







  margin: 0 0 24px !important;







}















/* 9. CONTACT FORM 7 (Figma "Form fields") ================================ */







.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 17px; row-gap: 20px; margin: 0; }







.wpcf7 form > p, .wpcf7 form .th-f { margin: 0; color: var(--th-ink); }







.wpcf7 .th-f--full, .wpcf7 .th-f--submit, .wpcf7 .wpcf7-response-output { grid-column: 1 / -1; }







.wpcf7 form .th-f--submit { margin-top: -1px; }   /* textarea bottom 9841 -> button 9860 (form-scoped: beats `.wpcf7 form .th-f{margin:0}`) */







.wpcf7 label { display: block; margin: 0; font: 400 16px/27.2px var(--th-sans); letter-spacing: 0.04px; color: var(--th-ink); }







.wpcf7 .th-req { font: 500 14px/20px var(--th-ui); color: var(--th-accent); margin-left: 2px; vertical-align: top; }







.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 5px; }







.wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=email], .wpcf7 textarea {







  width: 100%;







  height: 44px;







  margin: 0;







  padding: 10px 14px 10px 12px;







  background: #fff;







  border: 1px solid var(--th-line);







  border-radius: 0;







  box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);







  font: 400 16px/24px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.04px;







  color: var(--th-ink);







  text-overflow: ellipsis;







}







.wpcf7 textarea { height: 127px; min-height: 127px; resize: vertical; padding: 12px 14px; }







.wpcf7 ::placeholder { color: var(--th-muted); opacity: 1; }







.wpcf7 input[type=submit] {







  width: 212px;   /* Figma Buttons/Button 212x48 */







  height: 48px;







  margin: 0;







  padding: 12px 0;







  background: var(--th-accent);







  border: 0;







  border-radius: 0;







  font: 700 16px/24px var(--th-ui);







  letter-spacing: 0.04px;







  color: #fff;







  text-transform: none;







}







.wpcf7 .wpcf7-spinner { position: absolute; }







.wpcf7 .wpcf7-response-output { margin: 0 !important; }















/* 10. BEFORE / AFTER (inc/shortcode-before-after.php) ===================== */







/* Figma: before & after are two STRETCH fills (960x1000 each) split by a 4px white rule. */







.tahouse-twenty20-wrap { position: relative; width: 100%; height: 1000px; overflow: hidden; user-select: none; cursor: ew-resize; }







.tahouse-twenty20-wrap .twenty20-img { position: absolute; inset: 0; background-repeat: no-repeat; }







/* imageTransform: before = left 50% x 92.54% of the photo (exposure -0.21 = measured x0.71), after = right 54% */







.tahouse-twenty20-wrap .twenty20-before { background-size: 100% 108.06%; background-position: 0 50%; filter: brightness(0.71); clip-path: inset(0 calc(100% - var(--ba-pct, 50%)) 0 0); }







.tahouse-twenty20-wrap .twenty20-after { background-size: 92.593% 100%; background-position: 100% 0; }







.tahouse-twenty20-wrap .twenty20-handle { position: absolute; top: 0; bottom: 0; left: var(--ba-pct, 50%); width: 0; z-index: 3; }







.tahouse-twenty20-wrap .twenty20-line { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: #fff; }







.tahouse-twenty20-wrap .twenty20-knob {







  position: absolute; top: 50%; left: -28px; width: 56px; height: 56px; margin-top: -28px;







  border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--th-ink);







}







.tahouse-twenty20-wrap .twenty20-knob svg { display: block; width: 56px; height: 56px; }







.tahouse-twenty20-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
  z-index: 1;
}

.tahouse-twenty20-wrap .twenty20-caption { position: absolute; left: 0; right: 0; bottom: 52px; z-index: 2; text-align: center; pointer-events: none; }

.tahouse-twenty20-wrap .twenty20-caption p {
  font: 400 30px/39px var(--th-serif);
  font-variation-settings: var(--th-op72);
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin: 0;
}















/* 11. MOBILE (Figma 430 artboard) ======================================== */







@media (max-width: 849px) {







  #wrapper { padding-top: 0; position: relative; }















  .th-grid { padding: 0 8px; row-gap: 56px; }







  .th-grid > .col { padding: 0 8px; }







  .row.th-grid + .row.th-grid { margin-top: 56px; }







  .row.th-head + .row.th-grid { margin-top: 0; }







  .th-services .row.th-grid:last-child { padding-bottom: 0; }















  .th-sec-title { font-size: 18px; line-height: 27px; margin-bottom: 56px; }







  .th-sec-title.th-sec-title--20 { font-size: 20px; line-height: 26px; }







  .th-styles .th-sec-title { margin-bottom: 40px; }   /* Figma frame gap 40 */







  .th-page-title { font-size: 24px; line-height: 31.2px; letter-spacing: 0; padding-left: 0; }







  .th-lead { font-size: 16px; line-height: 25.6px; letter-spacing: 0.64px; }







  .th-body { font-size: 12px; line-height: 20.4px; }







  .th-meta { font-size: 10px; line-height: 15px; letter-spacing: 0.08px; }







  .th-meta span + span, .th-news-grid .post-meta span + span { margin-left: 16px; }







  .th-meta span + span::before, .th-news-grid .post-meta span + span::before { left: -8.5px; height: 12px; margin-top: -6px; }















  .th-card .box-text { padding-top: 24px; }







  .th-card .th-card__title, .th-card--style .th-card__title { font-size: 16px; line-height: 24px; letter-spacing: 5px; }







  .th-card .th-card__desc { font-size: 12px; line-height: 20px; margin-top: 12px; }   /* Figma lh 20.4 but node boxes 40 (2 lines) / 60 (3 lines) = 20px/line */







  .th-card.th-card--tight .th-card__desc { margin-top: 8px; }







  .th-card .th-meta { margin-top: 12px; }







  .th-card__title + .th-meta { margin-top: 18px; }







  .th-card.th-card--desc461 .th-card__desc { max-width: none; }







  .th-card.th-m-398x241 .th-card__desc { margin-top: 18px; }















  .th-m-398x241 .image-cover { padding-top: 60.553% !important; }







  .th-m-191x237 .image-cover { padding-top: 124.084% !important; }







  .th-m-398x406 .image-cover { padding-top: 102.010% !important; }







  .th-m-191x261 .image-cover { padding-top: 136.649% !important; }















  /* projects (blog_posts / ux_projects) */







  .row.th-projects-grid { margin: 0 -8px !important; row-gap: 56px; }







  .th-projects-grid > .post-item { padding: 0 8px !important; }







  .th-projects-grid > .post-item { padding: 0 8px !important; max-width: 50% !important; flex-basis: 50% !important; }







  .th-projects-grid > .post-item:nth-child(1),
  .th-projects-grid > .post-item:nth-child(6) { max-width: 100% !important; flex-basis: 100% !important; }







  .th-projects-grid > .post-item .image-cover { padding-top: 124.084% !important; }







  .th-projects-grid > .post-item:nth-child(1) .image-cover,
  .th-projects-grid > .post-item:nth-child(6) .image-cover { padding-top: 60.553% !important; }







  .th-projects-grid .box-text { padding-top: 24px !important; }







  .th-projects-grid .post-title { font-size: 16px; line-height: 24px; letter-spacing: 5px; }







  .th-projects-grid .th-card__desc { font-size: 12px; line-height: 20px; margin-top: 12px; }







  .th-projects-grid .th-meta { margin-top: 12px; }







  .th-projects-grid > .post-item:nth-child(1) .th-meta { margin-top: 18px; }







  .th-projects-grid > .post-item:nth-child(6) .th-card__desc { max-width: none; margin-top: 18px; }







  .th-projects-grid > .post-item:nth-child(n+2):nth-child(-n+5) .th-desc-tail { display: none; }







  .th-projects-grid .from_the_blog_excerpt:not(.th-card__desc) { display: none !important; }
  .th-projects-grid > .post-item:nth-child(1) .th-card__desc,
  .th-projects-grid > .post-item:nth-child(1) .from_the_blog_excerpt { display: none !important; }
  .th-projects-grid > .post-item:nth-child(n+7) .th-card__desc,
  .th-projects-grid > .post-item:nth-child(n+7) .from_the_blog_excerpt { display: none !important; }







  .da-more-row { margin-top: 48px !important; }







  .th-img-d, .th-meta--d { display: none !important; }















  /* news (blog_posts) — cards 191x262, 2 visible */







  .row.th-news-grid { margin: 0 -8px !important; }







  .th-news-grid > .post-item { padding: 0 8px; }







  .th-news-grid > .post-item:nth-child(n+3) { display: none; }







  .th-news-grid .box-image .image-cover { padding-top: 137.173% !important; }







  .th-news-grid .box-text { padding-top: 24px !important; }







  .th-news-grid .post-title { font-size: 16px; line-height: 24px; letter-spacing: 0.04px; }







  .th-news-grid .post-meta { font-size: 10px; line-height: 15px; letter-spacing: 0.08px; margin-top: 12px; }















  /* header */







  #header { top: 0; }







  #header .tahouse-header, .home #header .tahouse-header, .post-type-archive-thiet-ke #header .tahouse-header { height: 58px; background: transparent; } /* mobile Header instance has no fill */







  .tahouse-header .header-inner, .home .tahouse-header .header-inner, .post-type-archive-thiet-ke .tahouse-header .header-inner { padding: 0 16px; align-items: center; }







  .home .tahouse-header-left, .home .tahouse-header-right, .post-type-archive-thiet-ke .tahouse-header-left, .post-type-archive-thiet-ke .tahouse-header-right { margin-top: 0; }







  .tahouse-header .tahouse-logo img { width: 97px; height: 24px; }







  .th-meta, .th-news-grid .post-meta { text-transform: none; }   /* Figma 430: meta texts textCase none ('January 27', '168m²') */







  .single-post .tahouse-header .tahouse-logo--light { display: none !important; }







  .single-post .tahouse-header .tahouse-logo--dark { display: block !important; }







  .tahouse-hamburger-btn .btn-rect { fill: transparent; }















  /* footer */







  .tahouse-footer-main { padding: 80px 16px 56px; }







  .tahouse-footer-col-brand { margin-bottom: 84px; }







  .tahouse-footer-title {







    font-family: var(--th-serif) !important;







    font-weight: 300 !important;







    font-size: 14px !important;







    line-height: 22px !important;







    font-variation-settings: var(--th-op72) !important;







    letter-spacing: 0.5px !important;







    text-transform: uppercase !important;







    margin-bottom: 24px !important;







    white-space: nowrap !important;







  }







  .tahouse-footer-list li { font-size: 14px; line-height: 15.4px; margin-bottom: 15.4px; }







  .tahouse-footer-bottom { padding: 16px 16px; height: 52px; }







  .tahouse-footer-bottom-inner { height: 20px; text-align: right; }







  .tahouse-copyright { font: 400 12px/20.4px var(--th-sans); letter-spacing: 0.04px; }















  /* banners */







  .th-banner .th-banner-title { font-size: 18px; line-height: 27px; }







  .th-banner .th-banner-title--m72 { font-weight: 400; font-variation-settings: var(--th-op72); letter-spacing: 5px; }







  .th-banner .th-banner-text { font: 600 12px/18px var(--th-sans); max-height: 54px; overflow: hidden; } /* Figma text box: 3 lines */







  .th-tb .th-banner-title + .th-banner-text { margin-top: 16px; }







  .th-tb--hero { bottom: 86px; }







  .th-tb--about { bottom: 28px; }







  .th-tb--show { bottom: 34px; }







  /* progressive fades: smooth masked backdrop blur + linear dark gradient behind crisp white text */







  .th-banner .banner-bg { z-index: 0 !important; }







  .th-banner .banner-layers, .th-banner .th-tb { z-index: 2 !important; }







  .th-fade .banner-bg::before { display: none !important; }







  .th-fade .banner-bg::after {







    height: var(--th-fade-h, 267px);







    background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(36, 36, 36, var(--th-fade-a, 0.58)) 100%);







    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);







    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%);







    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%);







    z-index: 1;







  }







  .th-fade--hero { --th-fade-h: 267px; --th-fade-a: 0.55; }







  .th-fade--about { --th-fade-h: 284px; --th-fade-a: 0.62; }







  .th-fade--show { --th-fade-h: 231px; --th-fade-a: 0.56; }







  .th-tb--play .button.open-video, .th-tb--play .button.open-video.is-outline { width: 61px; height: 61px; }















  /* home */







  body.home .show-for-medium .tahouse-logo--light { display: block !important; }







  body.home .show-for-medium .tahouse-logo--dark { display: none !important; }







  .th-news-grid .post-title, .th-projects-grid .post-title, .th-card__desc, .th-card__title { transform: translateZ(0); }







  .th-hero .slider-wrapper, .th-hero .flickity-viewport { height: 650px !important; }







  .th-banner .th-hero-title { font-size: 20px; line-height: 30px; }







  .th-hero .flickity-page-dots { bottom: 38px; gap: 8px; }















  .th-contact-row.th-grid { row-gap: 24px; }







  .th-contact-qr { display: none; }







  .th-contact-item.featured-box, .th-contact-item.featured-box + .th-contact-item.featured-box { max-width: none; padding: 0; border: 0; background: none; margin: 0 0 24px; }







  .th-contact-item.featured-box + .th-contact-item.featured-box:last-child { margin-bottom: 0; }







  .th-form-title { margin-bottom: 16px; }







  .wpcf7 form .th-f--submit { margin-top: -10px; }   /* Figma mobile: textarea -> button 10px */







  .wpcf7 .wpcf7-form-control-wrap { margin-top: 6px; }   /* Figma mobile: label 7139 -> input 7172 = 33 - 27.2 */







  .th-contact-item .icon-box-img { margin-right: 8px !important; }







  .th-contact-item .icon-box-img .icon { background: #774c23; }   /* Figma mobile Featured icon fill (0.467,0.298,0.137) */







  .th-contact .section-bg::before {







    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 518px;







    background: linear-gradient(180deg, rgba(58, 58, 58, 0.024) 0%, rgba(35, 35, 35, 0.6) 100%);







    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);







    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);







    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);







    pointer-events: none; z-index: 1;







  }







  .th-contact-label { margin-bottom: 0; }







  .th-grid > .th-form-card { padding: 0 8px; }







  .th-form-card > .col-inner { min-height: 0; padding: 32px 16px !important; }







  .wpcf7 form { column-gap: 16px; }















  .tahouse-twenty20-wrap { height: 438px; }







  .th-ba .tahouse-twenty20-wrap::after { height: 85px; background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(36, 36, 36, 0.593) 100%); }







  .tahouse-twenty20-wrap .twenty20-caption { bottom: 25px; }







  .tahouse-twenty20-wrap .twenty20-caption p { font-size: 16px; line-height: 24px; letter-spacing: 5px; }







}























/* ==========================================================================







   8. CHI TIẾT DỰ ÁN







   ========================================================================== */







/* ==========================================================================







   CHI TIẾT DỰ ÁN (single-du-an.php) — Figma TkWP4OSlom6pcGA2rD1NcF







   Desktop artboard 1920 (.visual-clone/figma_nodes/chi-tiet-du-an_1920.json)







   Mobile artboard 430 (chi-tiet-du-an_430.json). Every selector starts with a .ctda- class







   (.ctda-page is added to <body> by the template).







   ========================================================================== */















/* ---------- header: Figma "Header" instance on this page = transparent 145px home variant ---------- */







.ctda-page .tahouse-header .tahouse-logo img { filter: none; }               /* logo fill: no exposure (desktop), exposure +1 (mobile) */







.ctda-page .tahouse-search-trigger svg path { stroke: var(--th-cream); }     /* search-normal vectors stroke #f9e9c4 */







.ctda-page .tahouse-lang-switch { color: var(--th-cream); }                  /* EN #f9e9c4 */







@media (min-width: 850px) {







  .ctda-page #header .tahouse-header { height: 145px; background: transparent; } /* Header 1921x145, no fill */







  .ctda-page .tahouse-header .header-inner { align-items: flex-start; padding-top: 46px; } /* logo y46 */







  .ctda-page .tahouse-header-left, .ctda-page .tahouse-header-right { margin-top: 6px; }   /* buttons y52 */







}















/* ---------- shared resets ---------- */







.ctda { display: block; background: #fff; }







.ctda .ctda-fig { margin: 0; padding: 0; }







.ctda picture { display: contents; }                                         /* <picture> only swaps the mobile source */







.ctda .ctda-only-mobile { display: none; }                                   /* Figma 430-only copy (meta tahouse_project_mobile_story_*) */







.ctda .ctda-fig img { display: block; width: 100%; height: auto; max-width: none; object-fit: cover; }















/* ---------- 1. hero — Frame 2147230799 1920x1000, image FILL ---------- */







.ctda-hero { position: relative; height: 1000px; margin: 0; overflow: hidden; color: #fff; }







.ctda-hero .ctda-hero__media img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }







/* Rectangle 3463371: y578 h573 (visible 422px), linear #3b3b3b a0 -> #242424 a1, fill opacity .6,







   background blur 24. Visible end = 422/573 = .7365 -> rgb 42 / alpha .6 x .7365 = .442 */







.ctda-hero::after {







  content: ""; position: absolute; left: 0; right: 0; top: 578px; bottom: 0;







  background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(42, 42, 42, 0.442) 100%);







  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);                   /* same mapping as base .th-fade */







  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  pointer-events: none;







}







.ctda-hero .ctda-hero__title,







.ctda-hero .ctda-hero__meta,







.ctda-hero .ctda-hero__intro { position: absolute; left: 0; right: 0; z-index: 1; margin: 0 auto; transform: translateZ(0); }







/* TEXT 'WOVEN MATTER' y485 1111x39 — Fraunces 72pt 400 30/39 ls3 centre #fff */







.ctda-hero .ctda-hero__title {







  top: 485px; max-width: 1111px;







  font: 400 30px/39px var(--th-serif); font-variation-settings: var(--th-op72);







  letter-spacing: 3px; text-transform: uppercase; text-align: center; color: #fff;







}







/* Frame 2147231123 y557 (title + gap 33) — Lexend 600 14/21 ls.84, 1px #fff rules, gap 20 */







.ctda-hero .ctda-hero__meta { top: 557px; justify-content: center; color: #fff; }







.ctda-hero .ctda-hero__meta span + span::before { background: #fff; }







/* TEXT intro y848 653x105 — Lexend 600 14/21 ls.56 centre #fff */







.ctda-hero .ctda-hero__intro {







  top: 848px; max-width: 653px;







  font: 600 14px/21px var(--th-sans); letter-spacing: 0.56px; text-align: center; color: #fff;







}















/* ---------- story blocks — Frame 2147230902 etc: pad 140/200, columns 307 | 626 | 307, gap 140 ---------- */







.ctda-story {







  display: grid;







  grid-template-columns: 307fr 626fr 307fr;







  column-gap: 140px;







  align-items: start;







  margin: 0;







  padding: 140px 200px;







}







.ctda-story > * { grid-row: 1; min-width: 0; }







.ctda-story .ctda-story__text { grid-column: 2; text-align: justify; line-height: 29px; transform: translateZ(0); }   /* Fraunces 72pt 300 18 ls.72 JUSTIFIED #222 (.th-lead) */







/* Figma lays the 28.8 line height out on a whole-pixel pitch: every auto-height text box is lines x 29







   (S1 18 lines = 522, S3 20 = 580, S4 8 = 232, S5 15 = 435), 27.2 -> 27 (caption 7 = 189), 25.6 -> 26 (mobile 24 = 624). */







/* Text node is 626 wide. Chrome counts the trailing letter-spacing of each line, Figma does not.







   Measured line by line against the Figma raster: S1/S3/S4 wrap + justify like Figma at exactly 626







   (S4 line 4 breaks before "attention"); S5 needs half an ls (0.5 of .72) back to keep its 15 lines (435). */







.ctda-story .ctda-story__text p { margin: 0; }







.ctda-story--5 .ctda-story__text p { margin-right: -0.5px; }







.ctda-story .ctda-story__text p + p { margin-top: 29px; }                 /* "\n\n" = one empty line */







.ctda-story--1 .ctda-facts { grid-column: 1; }







.ctda-story--1 .ctda-story__fig, .ctda-story--3 .ctda-story__fig, .ctda-story--4 .ctda-story__fig { grid-column: 3; }







.ctda-story--2 .ctda-story__fig, .ctda-story--5 .ctda-story__fig { grid-column: 1; }







.ctda-story .ctda-story__fig img { width: 307px; height: 426px; aspect-ratio: 307 / 426; }              /* image 58277 307x426 */







.ctda-story--2 .ctda-story__fig { padding-bottom: 32px; }                  /* Frame 2147231148 pad-bottom 32 (section 738) */







/* Figma frames 2147231111 / 2147231113 / 2147231117 are 738.2737 / 960.2737 / 706.2737 tall (absoluteBoundingBox) */







.ctda-story--2, .ctda-story--3, .ctda-story--4 { padding-bottom: 140.2737px; }







/* Lexend / Fraunces glyphs sit 1px higher in Chrome than in the Figma raster (measured best dy=+1 per box) */







.ctda-story .ctda-story__caption p, .ctda-story .ctda-story__quote p,







.ctda-story .ctda-facts dt, .ctda-story .ctda-facts dd { position: relative; top: 1px; transform: translateZ(0); }















/* facts — Frame 2147231147: pairs gap 32; label Lexend 400 16/27.2 #444, value Fraunces 72pt 400 16/24 #222 */







.ctda-story .ctda-facts { margin: 0; padding: 0; }







.ctda-story .ctda-facts dt, .ctda-story .ctda-facts dd { text-transform: none; font-style: normal; } /* Figma textCase none */







.ctda-facts dt {







  display: block; margin: 0; padding: 0;







  font: 400 16px/27px var(--th-sans); letter-spacing: 0.04px; color: var(--th-body);  /* 27.2 on a 27px pitch: pair frame 51 = 27 + 24 */







}







.ctda-facts dd {







  display: block; margin: 0 0 32px; padding: 0;







  font: 400 16px/24px var(--th-serif); font-variation-settings: var(--th-op72); letter-spacing: 0.04px; color: var(--th-ink);







}







.ctda-facts dd:last-child { margin-bottom: 0; }















/* pull quote — TEXT x1413 y2704 307x420: Fraunces 72pt 300 30/42 ls0 left #222 */







.ctda-story .ctda-story__quote {







  grid-column: 3;







  margin: 0; padding: 0; border: 0;







  font: 300 30px/42px var(--th-serif); font-variation-settings: var(--th-op72);







  font-style: normal; letter-spacing: 0; text-align: left; color: var(--th-ink);







  transform: translateZ(0);







}







.ctda-story .ctda-story__quote p { margin: 0; font: inherit; }















/* image + caption — Frame 2147231148 307x680: gap 32, pad-bottom 32, 1px #a4a7ae rule (bottom edge visible) */







.ctda-story .ctda-story__fig--caption { padding-bottom: 32px; border-bottom: 1px solid var(--th-muted); }







.ctda-story .ctda-story__caption {







  margin: 32px 0 0;







  font: 400 16px/27px var(--th-sans); letter-spacing: 0.04px; color: var(--th-ink);   /* Lexend 400 16/27.2 #222, 27px pitch (189 = 7 lines) */







  transform: translateZ(0);







}







.ctda-story .ctda-story__caption p { margin: 0; }















/* ---------- photo rows — Frame 2147231106: pad 0/100, 3 x 553x762, gap 30 ---------- */







.ctda-photos {







  display: grid;







  grid-template-columns: repeat(3, minmax(0, 1fr));







  column-gap: 30px;







  margin: 0;







  padding: 0 100px;







}







.ctda-photos .ctda-photos__fig img { height: 762.305px; }                 /* Frame 2147231150: 553.333 x 762.305, IMAGE FILL */







.ctda-photos--4 { padding-top: 40px; }                                    /* Frame 2147231121 pad-top 40 */







.ctda-photos .ctda-photos__fig { position: relative; }







.ctda-photos .ctda-photos__fig::after {







  content: "";







  position: absolute;







  top: 0; left: 0; right: 0; bottom: 0;







  pointer-events: none;







}







.ctda-photos .ctda-photos__fig:nth-child(3n+1)::after {







  box-shadow: 1px 0 0 0 rgba(80, 80, 80, 0.33);







}







.ctda-photos .ctda-photos__fig:nth-child(3n+2)::after {







  border-left: 1px solid rgba(255, 255, 255, 0.67);







  border-right: 1px solid rgba(255, 255, 255, 0.33);







  box-shadow: 1px 0 0 0 rgba(80, 80, 80, 0.33);







}







.ctda-photos .ctda-photos__fig:nth-child(3n+3)::after {







  box-shadow: -1px 0 0 0 rgba(80, 80, 80, 0.33);







}















/* ---------- wide banner — Frame 2147231112: 1720x977 ---------- */







.ctda-banner { margin: 0; padding: 0 100px; }







.ctda-banner .ctda-banner__fig { position: relative; }







.ctda-banner .ctda-banner__fig::after {







  content: "";







  position: absolute;







  top: 0; left: 0; right: 0; height: 1px;







  background: rgba(255, 255, 255, 0.5);







  pointer-events: none;







}







.ctda-banner .ctda-banner__fig img { aspect-ratio: 1720 / 977; }















/* ---------- prev / next — Frame 2147231157: pad 140/100/80, 715 | 290 | 715 ---------- */







.ctda-pager {







  display: grid;







  grid-template-columns: 1fr auto 1fr;







  align-items: center;







  margin: 0;







  padding: 140px 100px 80px;







  color: var(--th-body);







}







.ctda-pager .ctda-pager__prev, .ctda-pager .ctda-pager__next {







  display: flex; align-items: center; gap: 4px;                              /* arrow 24 + gap 4 */







  color: var(--th-body);







}







.ctda-pager .ctda-pager__next { justify-self: end; }







/* TEXT 'Heatherhill Beach House' y9130 = frame 8988.04 + 141.5: Chrome floors the .5 box and Lexend renders 1px high -> best dy +2 */







.ctda-pager .ctda-pager__label { position: relative; top: 2px; transform: translateZ(0); }







.ctda-pager .ctda-pager__meta { margin: 0; justify-content: center; transform: translateZ(0); }







.ctda-pager .ctda-arrow, .ctda-index .ctda-arrow { display: block; flex: none; width: 24px; height: 24px; }















/* ---------- INDEX — Frame 2147231110: #e1dbd0, pad 140/100, gap 100 ---------- */







.ctda-index { margin: 0; padding: 140px 100px; background: #e1dbd0; }







.ctda-index .ctda-index__title {







  width: fit-content; margin: 0 auto 100px;







  font: 400 20px/26px var(--th-serif); font-variation-settings: var(--th-op72);







  letter-spacing: 5px; text-transform: uppercase; text-align: center; color: var(--th-ink);







  transform: translateZ(0);







}







/* Frame 2147231168: 1736 wide (x92), rows gap 22, cells gap 12; cell 149 (img 149x204) or 298 (img 293x200);







   a row = 11 x 149 + 8 x 12 = 1735 */







.ctda-index .ctda-index__grid {







  display: flex; flex-wrap: wrap; align-items: flex-start;







  column-gap: 12px; row-gap: 22px;







  margin: 0 -8px; padding: 0; list-style: none;







}







.ctda-index .ctda-index__item { margin: 0 0 -4px; padding: 0; width: calc((100% - 96px) / 11); list-style: none; } /* 235 tall cell inside a 231 row frame */







.ctda-index .ctda-index__item--wide { width: calc((100% - 96px) * 2 / 11); margin-bottom: 0; }







.ctda-index .ctda-index__link { display: block; overflow: hidden; }







.ctda-index .ctda-index__link img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 149 / 204; object-fit: cover; }







.ctda-index .ctda-index__item--wide .ctda-index__link img { width: calc(100% - 5px); margin: 0 auto; aspect-ratio: 293 / 200; } /* 293 in a 298 cell */







.ctda-index .ctda-index__num {







  display: block; margin-top: 4px;                                           /* VERTICAL gap 4 */







  font: 400 16px/27.2px var(--th-sans); letter-spacing: 0.04px; text-align: center; color: var(--th-ink);







  transform: translateZ(0);







}







.ctda-index .ctda-index__foot {







  display: flex; align-items: center; justify-content: space-between;







  margin: 100px 0 0; height: 24px;







  font: 600 14px/21px var(--th-sans); letter-spacing: 0.84px; text-transform: uppercase; color: var(--th-body);







  transform: translateZ(0);







}







.ctda-index .ctda-index__next { display: flex; align-items: center; gap: 4px; color: var(--th-body); }















/* ==========================================================================







   MOBILE — Figma 430 artboard (Flatsome small breakpoint 849px)







   ========================================================================== */







@media (max-width: 849px) {







  .ctda .ctda-only-desktop { display: none; }







  .ctda .ctda-only-mobile { display: block; }







  .ctda-hero { height: 718px; }







  .ctda-hero .ctda-hero__media img { top: 0; height: 100%; }







  .ctda-hero::before { display: none !important; }







  .ctda-hero::after {







    top: 401px;







    z-index: 1;







    background: linear-gradient(180deg, rgba(59, 59, 59, 0) 0%, rgba(36, 36, 36, 0.6) 100%);







    -webkit-backdrop-filter: blur(8px);







    backdrop-filter: blur(8px);







    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







    mask-image: linear-gradient(180deg, transparent 0%, #000 100%);







  }







  .ctda-hero .ctda-hero__title { top: 302px; max-width: 385px; font-size: 24px; line-height: 31.2px; letter-spacing: 0; z-index: 2; } /* y346 */







  .ctda-hero .ctda-hero__meta { top: 357px; z-index: 2; }                                        /* y401, gap 24 */







  .ctda-hero .ctda-hero__meta span + span::before { height: 15px; margin-top: -7.5px; }         /* Vector 4592 0x15 */







  .ctda-hero .ctda-hero__intro { top: 549px; max-width: 341px; font-weight: 400; font-size: 12px; line-height: 20px; letter-spacing: 0.04px; z-index: 2; } /* y593, 12/20.4 on a 20px pitch (140 = 7 lines) */















  /* stories: pad 56/16, VERTICAL gap 40 */







  .ctda-story { display: flex; flex-direction: column; gap: 40px; padding: 56px 16px; }







  .ctda-story > * { width: 100%; }







  .ctda-story .ctda-story__text { order: 1; line-height: 26px; transform: translateZ(0); }            /* 16/25.6 on a 26px pitch (624 = 24 lines) */







  .ctda-story .ctda-story__fig { order: 2; }







  .ctda-story .ctda-story__quote { order: 3; font-size: 24px; line-height: 31px; transform: translateZ(0); }    /* 300 24/31.2 on a 31px pitch (217 = 7 lines) */







  .ctda-story--1 .ctda-facts { order: 0; text-align: center; transform: translateZ(0); }







  .ctda-story--1 .ctda-facts dt, .ctda-story--1 .ctda-facts dd { width: fit-content; margin-left: auto; margin-right: auto; } /* centred text boxes */







  .ctda-story--1 .ctda-story__fig { order: 1; }







  .ctda-story--1 .ctda-story__text { order: 2; }







  .ctda-story .ctda-story__text p { margin-right: -0.64px; }                /* trailing ls .64 (see desktop note) */







  .ctda-story .ctda-story__text p + p { margin-top: 26px; }







  .ctda-story .ctda-story__fig img { width: 100%; height: auto; aspect-ratio: 398 / 553; }







  .ctda-story--2 { margin-bottom: -1px; }







  .ctda-story--2 .ctda-story__fig { padding-bottom: 0; }







  /* Frame 2147231236: image 191x265 | caption 191, gap 16, no rule */







  .ctda-story .ctda-story__fig--caption { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 0; border-bottom: 0; }







  .ctda-story .ctda-story__fig--caption img { width: calc((100% - 16px) / 2); aspect-ratio: 191 / 265; }







  .ctda-story .ctda-story__caption { flex: 1 1 0; margin: 0; font-size: 12px; line-height: 20px; transform: translateZ(0); } /* Lexend 400 12/20.4, 160 = 8 lines */















  /* photo rows: 398x548 stacked, gap 30 */







  .ctda-photos { display: flex; flex-direction: column; gap: 30px; padding: 0 16px; min-height: 1705px; }







  .ctda-photos .ctda-photos__fig::after { display: none; }







  .ctda-photos .ctda-photos__fig img { height: auto; aspect-ratio: 398 / 548; }







  .ctda-photos--4 { padding-top: 0; margin-bottom: -1px; }







  .ctda-banner { padding: 0 16px; }







  .ctda-banner .ctda-banner__fig::after { display: none; }







  .ctda-banner .ctda-banner__fig img { aspect-ratio: 398 / 226; }















  /* pager: pad 56/16, arrows + centre meta only (10/15, gap 8, 15px rules) */







  .ctda-pager { padding: 56px 16px; }







  .ctda-pager .ctda-pager__label { display: none; }







  .ctda-pager .ctda-pager__meta span + span::before { height: 15px; margin-top: -7.5px; }







  .ctda-pager .ctda-pager__meta { text-transform: none; transform: translateZ(0); }                   /* 430 text nodes 'Japan' / 'Architecture': no UPPER case */















  /* INDEX: pad 56/16/54, gap 40; 3 rows of 3 (P P W / W P P / P P W), cells gap 8, rows gap 16 */







  .ctda-index { padding: 56px 16px 54px; height: 756px; box-sizing: border-box; }







  .ctda-index .ctda-index__title { margin-bottom: 40px; font-size: 16px; line-height: 24px; letter-spacing: 0.04px; transform: translateZ(0); } /* 400 16/24 */







  .ctda-index .ctda-index__grid { margin: 0; column-gap: 8px; row-gap: 16px; }







  .ctda-index .ctda-index__item,







  .ctda-index .ctda-index__item--wide { width: calc((100% - 16px) * 93.5 / 382); margin-bottom: 0; }   /* 94x128 */







  .ctda-index .ctda-index__item:nth-child(9n+3),







  .ctda-index .ctda-index__item:nth-child(9n+4),







  .ctda-index .ctda-index__item:nth-child(9n+9) { width: calc((100% - 16px) * 195 / 382); }           /* 195x130 */







  .ctda-index .ctda-index__item:nth-child(n+10) { display: none; }          /* Figma shows 9 cells; popup still pages all */







  .ctda-index .ctda-index__item .ctda-index__link img,







  .ctda-index .ctda-index__item--wide .ctda-index__link img { width: 100%; aspect-ratio: 93.5 / 128; }







  .ctda-index .ctda-index__item:nth-child(9n+3) .ctda-index__link img,







  .ctda-index .ctda-index__item:nth-child(9n+4) .ctda-index__link img,







  .ctda-index .ctda-index__item:nth-child(9n+9) .ctda-index__link img { aspect-ratio: 195 / 130; }







  .ctda-index .ctda-index__num { transform: translateZ(0); }







  .ctda-index .ctda-index__foot { margin-top: 40px; transform: translateZ(0); }







}























/* ==========================================================================







   9. CHI TIẾT TIN TỨC







   ========================================================================== */







/* ==========================================================================







   CHI TIẾT TIN TỨC (post 18, single.php, /chi-tiet-tin-tuc/) — prefix cttt-







   Figma: chi-tiet-tin-tuc_1920.json "Blog details" 1920x2225, chi-tiet-tin-tuc_430.json 430x2427.







   ========================================================================== */















/* ---- 1. Article band: Frame 2147230914 (pad-top 140) > text column 960 (pad 140/100) + gallery 960x860 */







.cttt-article.section { padding-top: 140px !important; padding-bottom: 0 !important; }







.cttt-text { transform: translateZ(0); }







.cttt-row > .cttt-text > .col-inner { padding: 140px 100px !important; }















/* title — Fraunces 72pt 400 30/39 ls3 #222, then gap 40 */







.cttt-text .cttt-title {







  font: 400 30px/39px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 3px;







  color: var(--th-ink);







  margin: 0 0 40px;







}















/* Table of contents (Frame 39624): header 30 -> gap 24 -> list; gap 40 after */







.cttt-text .cttt-toc { margin: 0 0 40px; }







.cttt-toc .accordion-item { border: 0; }







.cttt-toc .accordion-title,







.cttt-toc .accordion-title.active {







  position: relative;







  display: block;







  padding: 0 0 0 37px;            /* icon 24 + gap 13 */







  border: 0;







  background: none;







  font: 400 20px/30px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 2px;







  color: var(--th-ink);







}







.cttt-toc .accordion-title::before {   /* "list" icon 24x24 at y+3 */







  content: "";







  position: absolute; left: 0; top: 3px;







  width: 24px; height: 24px;







  background: url('/wp-content/uploads/tahouse/icons/cttt-list.svg') center / 24px 24px no-repeat;







}







.cttt-toc .accordion-title .toggle {   /* "arrow down" 24x24, right edge, y+3 */







  left: auto; right: 0; top: 3px;







  width: 24px; height: 24px;







  margin: 0; padding: 0; min-height: 0;







  border-radius: 0;







  background: url('/wp-content/uploads/tahouse/icons/cttt-chevron-down.svg') center / 24px 24px no-repeat;







  transform-origin: 50% 50%;







}







.cttt-toc .accordion-title .toggle i { display: none; }







.cttt-toc .accordion-title.active .toggle { transform: rotate(180deg); }







.cttt-toc .accordion-inner { padding: 24px 0 0; }















/* Frame 4776: groups gap 18; head -> sub list 6; sub items gap 8, sub frame padding-left 24 */







.cttt-toc .cttt-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: cttt-toc; }







.cttt-toc .cttt-toc__list > li { margin: 0; padding: 0; counter-increment: cttt-toc; }







.cttt-toc .cttt-toc__list > li + li { margin-top: 18px; }







.cttt-toc .cttt-toc__h {







  display: block;







  position: relative;







  padding-left: 1.5em;           /* Figma ORDERED list indent: text at x+27 (18px) / x+24 (16px) */







  font: 300 18px/29px var(--th-serif);   /* 28.8 on Figma's whole-pixel pitch: node h=29, heads y 413 -> 516 -> 619 */







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.72px;







  color: var(--th-body);







}







.cttt-toc .cttt-toc__h::before {      /* list number, right-aligned in the indent (REF: "1." ends at x+23) */







  content: counter(cttt-toc) ".";







  position: absolute; left: 0; top: 0;







  width: 1.28em;







  text-align: right;







}







.cttt-toc .cttt-toc__sub { list-style: none; margin: 6px 0 0 24px; padding: 0; }







.cttt-toc .cttt-toc__sub li {







  margin: 0; padding: 0;







  font: 300 14px/21px var(--th-sans);







  letter-spacing: 0.04px;







  color: var(--th-body);







  position: relative; top: 1px;   /* Lexend glyphs sit 1px higher in Chrome than in Figma (REF ink y 454 vs DEV 453) */







}







.cttt-toc .cttt-toc__sub li + li { margin-top: 8px; }







.cttt-toc a.cttt-toc__h {







  text-decoration: none;







  transition: color 0.2s ease;







  cursor: pointer;







}







.cttt-toc .cttt-toc__sub a {







  color: inherit;







  text-decoration: none;







  transition: color 0.2s ease;







  display: inline-block;







}







.cttt-toc a.cttt-toc__h:hover,







.cttt-toc a.cttt-toc__h.is-active,







.cttt-toc .cttt-toc__sub a:hover,







.cttt-toc .cttt-toc__sub a.is-active {







  color: var(--th-accent);







}















/* Article Headings (H2, H3, H4) for Table of Contents Navigation */







.cttt-text h2,







.cttt-text .cttt-h2 {







  font: 400 22px/32px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 1px;







  color: var(--th-ink);







  margin: 40px 0 18px;







  scroll-margin-top: 40px;







}







.cttt-text h3,







.cttt-text .cttt-h3 {







  font: 400 18px/28px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.72px;







  color: var(--th-ink);







  margin: 28px 0 14px;







  scroll-margin-top: 40px;







}







.cttt-text h4,







.cttt-text .cttt-h4 {







  font: 500 16px/26px var(--th-sans);







  letter-spacing: 0.4px;







  color: var(--th-body);







  margin: 24px 0 12px;







  scroll-margin-top: 40px;







}















/* body — Fraunces 72pt 300 18/28.8 ls0.72 #222 justified, blank line between paragraphs.







   Figma rasterises the 28.8 line-height on a whole-pixel pitch: REF ink lines sit exactly 29px apart







   (y 855 -> 1261 = 14 x 29) and the text box is 435 = 15 x 29 -> line-height / paragraph gap 29px. */







.cttt-text .cttt-content p,







.cttt-text .cttt-body {







  font: 300 18px/29px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.72px;







  color: var(--th-ink);







  text-align: justify;







  /* Chrome counts letter-spacing (0.72) after each line's last glyph, Figma does not; REF line 3 of







     paragraph 3 ("...its scale or") measures 760.86px in Chrome incl. that trailing 0.72 and Figma still







     fits it in the 760 box -> widen the line box by 0.9px */







  margin: 0 -0.9px 0 0;







}







.cttt-text .cttt-content p + p,







.cttt-text .cttt-body + .cttt-body { margin-top: 29px; }















/* byline — dashed rule (Vector 4598, stroke 1 #444, dashes 2/2) + gap 10 + text; gap 40 before/after */







.cttt-text .cttt-byline {







  display: flex;







  align-items: center;







  gap: 10px;







  margin: 40px 0 40px;   /* Figma gap 40 (body box 847..1282, byline y 1322) */







  font: 400 16px/24px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 0.04px;







  color: var(--th-body);







  white-space: nowrap;







}







/* Vector 4598 has height 0 on an integer y with a CENTER 1px stroke (render bounds y-0.5 .. y+0.5), so Figma







   paints it across two pixel rows: desktop y=1334 -> rows 1333/1334 at 50% each; mobile y=1708.21 -> rows







   1707/1708 at 29%/71% (REF 25%/75%). Dash phase measured on REF: dark px at x = 2,3 (mod 4) desktop,







   x = 3,0 (mod 4) mobile. */







.cttt-text .cttt-byline::before {







  content: "";







  flex: 1 1 auto;







  height: 2px;







  background: repeating-linear-gradient(90deg, var(--th-body) 0 2px, transparent 2px 4px) 2px 0 / 4px 2px repeat-x;







  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0.5) 0 1px, rgba(0, 0, 0, 0.5) 1px 2px);







          mask-image: linear-gradient(rgba(0, 0, 0, 0.5) 0 1px, rgba(0, 0, 0, 0.5) 1px 2px);







}















/* meta (Frame 2147231227): avatar group left, info 311 wide right, height 64 */







.cttt-text .row.cttt-meta { margin: 0 !important; width: 100%; max-width: none; flex-wrap: nowrap; align-items: center; }







.cttt-meta > .col { padding: 0; }







.cttt-meta > .col > .col-inner { padding: 0; }







.cttt-meta > .cttt-author { flex: 1 1 auto; max-width: none; }







.cttt-meta > .cttt-info { flex: 0 0 311px; max-width: 311px; }















/* Avatar label group: avatar 48 (#d9e5cc, 1px rgba(0,0,0,.08) inside stroke) + gap 12 + texts */







.cttt-avatar.featured-box { margin: 0; }







.cttt-avatar.icon-box { display: flex; align-items: center; }







.cttt-avatar .icon-box-img { width: 48px !important; margin: 0 12px 0 0 !important; flex: none; }







.cttt-avatar .icon-box-img .icon,







.cttt-avatar .icon-box-img .icon-inner { position: static; width: 48px; height: 48px; padding: 0; }







.cttt-avatar .icon-box-img img {







  display: block; width: 48px; height: 48px; padding: 0;







  border-radius: 9999px;







  background: #d9e5cc;







  object-fit: cover;







  outline: 1px solid rgba(0, 0, 0, 0.08);







  outline-offset: -1px;







}







.cttt-avatar .icon-box-text { padding: 0 !important; }







.cttt-avatar .cttt-author__name { font: 400 16px/24px var(--th-serif); font-variation-settings: var(--th-op72); letter-spacing: 0.04px; color: var(--th-ink); margin: 0; }







.cttt-avatar .cttt-author__role { font: 300 14px/21px var(--th-sans); letter-spacing: 0.04px; color: var(--th-body); margin: 0; }















/* info: 2 rows (gap 16) x 2 cells (155 + 156); icon 24 + gap 14 + Fraunces 72pt 400 16/24 #444 */







.cttt-info > .col-inner { display: grid; grid-template-columns: 155px 156px; row-gap: 16px; align-items: center; }







.cttt-info .cttt-info__item.featured-box { margin: 0; }







.cttt-info .cttt-info__item.icon-box { display: flex; align-items: center; }







.cttt-info .cttt-info__item .icon-box-img { width: 24px !important; margin: 0 14px 0 0 !important; flex: none; }







.cttt-info .cttt-info__item .icon-box-img .icon,







.cttt-info .cttt-info__item .icon-box-img .icon-inner { position: static; width: 24px; height: 24px; padding: 0; }







.cttt-info .cttt-info__item .icon-box-img img { display: block; width: 24px; height: 24px; padding: 0; }







.cttt-info .cttt-info__item .icon-box-text { padding: 0 !important; flex: none; }







.cttt-info .cttt-info__item p { font: 400 16px/24px var(--th-serif); font-variation-settings: var(--th-op72); letter-spacing: 0.04px; color: var(--th-body); margin: 0; }















/* socials: 4 x 17.18 #444 round logos, x = 704 / 733 / 762 / 791 (pitch 29) — Figma order FB, TikTok, IG, YT */







.cttt-info .cttt-social { display: flex; align-items: center; gap: 11.82px; margin: 0; font-size: 0; }







.cttt-info .cttt-social .icon.button,







.cttt-info .cttt-social .icon.button.circle {







  width: 17.18px; height: 17.18px; min-height: 0; min-width: 0;







  margin: 0; padding: 0;







  border: 0; border-radius: 9999px;







  background-color: var(--th-body) !important;







  color: #fff !important;







  display: inline-flex; align-items: center; justify-content: center;







  line-height: 1; box-shadow: none;







}







.cttt-info .cttt-social .facebook { order: 1; }







.cttt-info .cttt-social .tiktok { order: 2; }







.cttt-info .cttt-social .instagram { order: 3; }







.cttt-info .cttt-social .youtube { order: 4; }







.cttt-info .cttt-social .icon.button i { font-size: 9px; top: 0; margin: 0; color: #fff !important; background: none !important; -webkit-text-fill-color: #fff; }















/* gallery: Feature Card Content 960x860, image FILL (cover, centred), sticky on desktop scroll */







.cttt-row > .cttt-media > .col-inner { padding: 0; }







@media (min-width: 850px) {







  .cttt-row {







    align-items: stretch;







  }







  .cttt-row > .cttt-media > .col-inner {







    position: -webkit-sticky;







    position: sticky;







    top: 40px;







    z-index: 5;







  }







}







/* Rectangle 3463371: 0->1 gradient #3b3b3b@0 -> #242424, layer opacity .6, y 825..1029 over an image ending at 1000







   -> visible 175px, end alpha .6 x 175/204 = .515 */







.cttt-slider .cttt-slide { --th-fade-h: 175px; --th-fade-a: 0.515; }







/* Pagination dot group: 10 x 8px, gap 12, #f9e9c4 active / #e9eaeb@.5, top y=947 in the 140..1000 frame */







.cttt-slider .flickity-page-dots { bottom: 45px; display: flex; justify-content: center; gap: 12px; }







.cttt-slider .flickity-page-dots .dot {







  width: 8px; height: 8px; margin: 0; border: 0; border-radius: 4px; opacity: 1;







  background: rgba(233, 234, 235, 0.5);







}







.cttt-slider .flickity-page-dots .dot.is-selected { background: var(--th-cream); }







/* arrow-left / arrow-right 32x32 (stroke 1.5 #f9e9c4), group 296 wide centred, y=935 */







.cttt-slider .flickity-prev-next-button,







.cttt-slider:hover .flickity-prev-next-button {







  display: block;







  top: auto; bottom: 33px;







  width: 32px; height: 32px;







  margin: 0; padding: 0;







  opacity: 1;







  transform: none;







  border: 0; border-radius: 0; box-shadow: none;







  background: url('/wp-content/uploads/tahouse/icons/cttt-slide-left.svg') center / 32px 32px no-repeat;







}







.cttt-slider .flickity-prev-next-button.previous { left: calc(50% - 148px); right: auto; }







.cttt-slider .flickity-prev-next-button.next { right: calc(50% - 148px); left: auto; background-image: url('/wp-content/uploads/tahouse/icons/cttt-slide-right.svg'); }







.cttt-slider .flickity-prev-next-button svg { display: none; }















/* ---- 2. previous / current / next (Frame 2147231157: 1920x184, pad 80/100) */







.cttt-nav .cttt-nav-row {







  display: flex;







  align-items: center;







  justify-content: space-between;







  width: 100%;







}







.cttt-nav__col {







  min-width: 0 !important;







}







.cttt-nav__col > .col-inner {







  min-width: 0;







  width: 100%;







  overflow: hidden;







}







.cttt-nav .th-meta {







  flex-wrap: nowrap;







  white-space: nowrap;







  min-width: 0;







  max-width: 100%;







  margin-bottom: 0;







}







.cttt-nav .cttt-nav__link {







  height: 24px;







  min-width: 0;







  max-width: 100%;







}







.cttt-nav .cttt-nav__link a {







  display: flex;







  align-items: center;







  color: var(--th-body);







  min-width: 0;







  max-width: 100%;







  text-decoration: none;







}







.cttt-nav .cttt-nav__link--prev a::before,







.cttt-nav .cttt-nav__link--next a::after {







  content: "";







  flex: 0 0 24px;







  width: 24px;







  height: 24px;







  background: url('/wp-content/uploads/tahouse/icons/cttt-nav-left.svg') center / 24px 24px no-repeat;







}







.cttt-nav .cttt-nav__link--prev a::before {







  margin-right: 4px;







}







.cttt-nav .cttt-nav__link--next {







  justify-content: flex-end;







}







.cttt-nav .cttt-nav__link--next a {







  justify-content: flex-end;







}







.cttt-nav .cttt-nav__link--next a::after {







  margin-left: 4px;







  background-image: url('/wp-content/uploads/tahouse/icons/cttt-nav-right.svg');







}







.cttt-nav__label {







  flex: 0 0 auto;







  white-space: nowrap;







}







.cttt-nav__title-wrap {







  display: inline-flex;







  min-width: 0;







  flex: 1 1 auto;







  overflow: hidden;







}







.cttt-nav__title {







  overflow: hidden;







  text-overflow: ellipsis;







  white-space: nowrap;







  min-width: 0;







  max-width: 100%;







  display: inline-block;







}







.cttt-nav__link--prev .cttt-nav__title {







  text-align: left;







}







.cttt-nav__link--next .cttt-nav__title-wrap {







  justify-content: flex-end;







}







.cttt-nav__link--next .cttt-nav__title {







  text-align: right;







}







.cttt-nav .cttt-nav__current {







  justify-content: center;







  text-align: center;







  display: flex;







  align-items: center;







  min-width: 0;







  max-width: 100%;







}







.cttt-nav .cttt-nav__current .cttt-nav__title-wrap {







  justify-content: center;







  max-width: 100%;







}







.cttt-nav .cttt-nav__current .cttt-nav__title {







  text-align: center;







  max-width: 100%;







}















@media (max-width: 849px) {







  /* mobile: gallery first (y=43, 430x385), then text column pad 40/16 */







  .cttt-article.section { padding-top: 0 !important; margin-top: -1px; } /* Figma image top 43 = status bar 44 - 1 */







  .cttt-row > .cttt-media { order: -1; }







  .cttt-row > .cttt-text > .col-inner { padding: 40px 16px !important; }















  /* Figma lays text on whole-pixel line pitches (node heights: title 31, TOC header 29, heads 26 / 2 lines 52,







     sub items 20 with gaps 6/8/18 -> y 592, 624, 652, 690; body 624 = 24 x 26) */







  .cttt-text .cttt-title { font-size: 24px; line-height: 31px; letter-spacing: 0; }















  .cttt-toc .accordion-title,







  .cttt-toc .accordion-title.active { font-weight: 300; font-size: 18px; line-height: 29px; letter-spacing: 0.72px; }







  .cttt-toc .cttt-toc__h { font-size: 16px; line-height: 26px; letter-spacing: 0.64px; }







  .cttt-toc .cttt-toc__sub li { font-weight: 400; font-size: 12px; line-height: 20px; }















  .cttt-text h2,







  .cttt-text .cttt-h2 { font-size: 19px; line-height: 28px; letter-spacing: 0.6px; margin: 32px 0 14px; }







  .cttt-text h3,







  .cttt-text .cttt-h3 { font-size: 16px; line-height: 25px; letter-spacing: 0.4px; margin: 22px 0 10px; }







  .cttt-text h4,







  .cttt-text .cttt-h4 { font-size: 14px; line-height: 22px; margin: 18px 0 8px; }







  .cttt-text .cttt-content p,







  .cttt-text .cttt-body { font-size: 16px; line-height: 26px; letter-spacing: 0.64px; margin-right: 0; }







  .cttt-text .cttt-content p + p,







  .cttt-text .cttt-body + .cttt-body { margin-top: 26px; }







  .cttt-text .cttt-byline { margin-top: 40px; } /* Figma gap 40 (body 1032..1656, byline y 1696) */







  .cttt-text .cttt-byline::before {   /* rows 1707/1708 at 29%/71%, dash phase 3 (see desktop rule) */







    background-position: 3px 0;







    -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0.29) 0 1px, rgba(0, 0, 0, 0.71) 1px 2px);







            mask-image: linear-gradient(rgba(0, 0, 0, 0.29) 0 1px, rgba(0, 0, 0, 0.71) 1px 2px);







  }















  /* info block first (2 x 199 cells), then avatar group (gap 24) */







  .cttt-text .row.cttt-meta { flex-direction: column; align-items: stretch; }







  .cttt-meta > .cttt-info { order: -1; flex: none; max-width: none; width: 100%; }







  .cttt-meta > .cttt-author { flex: none; width: 100%; margin-top: 24px; }







  .cttt-info > .col-inner { grid-template-columns: 199px 199px; }















  /* the fade rectangle lies below the 385px image on mobile (y 728..932) -> not visible */







  .cttt-slider .cttt-slide .banner-bg::before,







  .cttt-slider .cttt-slide .banner-bg::after { display: none; }















  /* bar 430x56 pad 16: arrows only + centred title Lexend 600 10/15 (no textCase) */







  .cttt-nav .cttt-nav__current { height: 15px; margin-top: 4.5px; text-transform: none; } /* 15px frame centred in the 24px row */







  .cttt-nav .cttt-nav__current .cttt-nav__title { font-size: 10px; line-height: 15px; }







}























/* ==========================================================================







   10. DỰ ÁN ARCHIVE







   ========================================================================== */







/* ==========================================================================







   DU AN archive (block 260 "archive-du-an") — Figma "Mục dự án"







   Sources: .visual-clone/figma_nodes/du-an_1920.json / du-an_430.json







   (scratch/spec/du-an_*.txt, image fills via scratch/arch_imgs.py)







   Desktop section = .da-d (hide-for-small), mobile section = .da-m (show-for-small)







   ========================================================================== */















/* Frame 2147230902: padding 200 / 100 / 140 / 100 (desktop) */







.section.da-d { padding-top: 200px !important; padding-bottom: 140px !important; }















/* Title 'MỤC DỰ ÁN' desktop = family "Fraunces" (not "Fraunces 72pt") 400 20/26 ls5 */







.da-d .th-sec-title { font-variation-settings: normal; }















/* Card text: title (y922, h27) -> meta (y973) = 24px, no description */







.da-d .th-card__title + .th-meta { margin-top: 24px; }















/* Image fills with imageTransform (scaleMode STRETCH): visible part of the photo is







   x:[tx, tx+a], y:[ty, ty+d] stretched to the frame -> img = 100/a % wide, 100/d % high,







   offset -tx/a, -ty/d.  Other cards are scaleMode FILL (= object-fit cover, centred). */







.da-archive .th-card .image-cover img { max-width: none; }







/* 689f3bf3…: T = [[1,0,0],[0,0.91,0.000149]] */







.da-st91 .image-cover img { object-fit: fill; width: 100%; height: 109.890%; left: 0; top: -0.016%; bottom: auto; }







/* 3a200834…: T = [[0.946897,0,0.026551],[0,0.923040,0]] */







.da-st3a20 .image-cover img { object-fit: fill; width: 105.608%; height: 108.338%; left: -2.804%; top: 0; right: auto; bottom: auto; }















/* "Xem thêm" — Buttons/Button 197x40, fill #e0742a, no radius; text Lexend 400 14/23.8 ls0.04 upper #fff.







   Sits 120px (column gap) under the last card row, 140px above the footer. */







.da-archive .button.da-more,
.tk-archive .button.da-more,
.tk-archive .button.tk-more,
.tc-archive .button.da-more,
.tc-archive .button.tc-more,
.pc-list .button.da-more,
.pc-list .button.pc-more,
.da-more-row .button,
.da-more-row a.button,
.th-sec .button.da-more,
.th-projects-archive .button.da-more {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  width: 197px;







  height: 40px;







  min-height: 0;







  margin: 0;







  padding: 0 18px;







  background: var(--th-accent);







  border: 0;







  border-radius: 0;







  box-shadow: none;







  color: #fff;







  font: 400 14px/23.8px var(--th-sans);







  letter-spacing: 0.04px;







  text-transform: uppercase;







}







.da-archive .button.da-more span,
.tk-archive .button.da-more span,
.tk-archive .button.tk-more span,
.tc-archive .button.da-more span,
.tc-archive .button.tc-more span,
.pc-list .button.da-more span,
.pc-list .button.pc-more span,
.da-more-row .button span,
.da-more-row a.button span,
.th-sec .button.da-more span,
.th-projects-archive .button.da-more span { line-height: 23.8px; color: #fff; }

.da-archive .button.da-more:hover,
.tk-archive .button.da-more:hover,
.tk-archive .button.tk-more:hover,
.tc-archive .button.da-more:hover,
.tc-archive .button.tc-more:hover,
.pc-list .button.da-more:hover,
.pc-list .button.pc-more:hover,
.da-more-row .button:hover,
.da-more-row a.button:hover,
.th-sec .button.da-more:hover,
.th-projects-archive .button.da-more:hover {
  background: #c85a16 !important;
  color: #fff !important;
  opacity: 0.95;
}















@media (max-width: 849px) {







  /* mobile frame padding 150 / 16 / 56 / 16, of which 44px is the iOS status bar (#wrapper padding-top) */







  .section.da-m { padding-top: 106px !important; padding-bottom: 56px !important; }







  /* mobile meta texts have textCase none ('96m²', '168m²') */







  .da-m .th-meta { text-transform: none; }







  /* 191x237 cards: 2-line title (y872, h48) -> meta y932 = 12px (398 cards keep 18px) */







  .da-m .th-m-191x237 .th-card__title + .th-meta { margin-top: 12px; }







}















/* ---- raster alignment (scratch/arch_region.py, grayscale capture vs Figma REF, best-shift search) ----







   Centred titles: CSS letter-spacing adds a trailing 5px that Figma excludes from the text box, so the







   glyphs sit 2.5px left of Figma's centre -> indent by the same 5px (Figma ls 5). */







/* moved to base style.css (.th-sec-title padding-left:5px) */







/* Lexend renders 1px higher than Figma (same finding as base .th-card__desc top:1px):







   desktop metas and button label best match at dy +1 (meta mismatch 900 -> 312 px). */







@media (min-width: 850px) {







  .da-d .th-meta { position: relative; top: 1px; }







  .da-d .button.da-more span { position: relative; top: 1px; }







}







@media (max-width: 849px) {







  /* mobile button label best match at dy +2 (mobile metas already align at dy 0) */







  .da-m .button.da-more span { position: relative; top: 2px; }







}























/* ==========================================================================







   11. GIỚI THIỆU







   ========================================================================== */







/* ==========================================================================







   GIỚI THIỆU (page 11) — prefix gt-







   Every value from Figma gioi-thieu_1920.json / gioi-thieu_430.json







   (dumped in scratch/spec/gioi-thieu_*.txt, scratch/gtlh/gt_tree_*.txt).







   ========================================================================== */















/* 1. Title + video — frame 0–1000: title y225 h39, full-width video 100%x637 */







.gt-hero.section { padding-top: 225px !important; padding-bottom: 0 !important; }







.gt-hero .gt-title { margin: 0 0 99px; transform: translateZ(0); }                       /* 363 - (225 + 39) */







.gt-hero .gt-video { width: 100%; max-width: none; margin: 0 auto; }







.gt-hero .gt-video .banner-bg { box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); } /* stroke #000@.10 0.5 INSIDE */







/* "_Video actions bar": bottom 104px, linear #000 0 -> 1, layer fill opacity .30 */







.gt-hero .gt-video .banner-bg::after {







  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 104px;







  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);







  pointer-events: none;







}







/* "Button" 64x64 #fff@.30, BACKGROUND_BLUR 16 (blur mapping as base .th-play); play glyph 13x17.







   [video_button] drops its class attribute, so target the rendered link inside the banner. */







.gt-hero .gt-video .button.open-video, .gt-hero .gt-video .button.open-video.is-outline {







  width: 64px; height: 64px; min-height: 0; margin: 0; padding: 0;







  border: 0; border-radius: 9999px;







  background: rgba(255, 255, 255, 0.3);







  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);







  display: inline-flex; align-items: center; justify-content: center;







  color: #fff; box-shadow: none;







}







.gt-hero .gt-video .button.open-video i { font-size: 17px !important; line-height: 1; margin: 0; }















/* "_Video actions bar" (decorative): pad 48/32/24/32, Content row 32 tall, gap 4 (scratch/gtlh/gt_vbar_d.txt) */







.gt-hero .gt-vbar-tb.text-box { bottom: 0; }







.gt-hero .gt-vbar-tb .text-inner { padding: 0; }







.gt-hero .gt-vbar {







  display: flex; align-items: center; gap: 4px;







  height: 32px; margin: 0; padding: 0 32px 24px; box-sizing: content-box;







  font: 600 12px/18px 'Inter', sans-serif; letter-spacing: 0; color: #fff; text-align: left;







  pointer-events: none;







}







.gt-hero .gt-vb { position: relative; flex: none; width: 32px; height: 32px; background: no-repeat 8px 8px / 16px 16px; }  /* button pad 8, icon 16 */







.gt-hero .gt-vb--play { background-image: url('/wp-content/uploads/tahouse/icons/gt-vb-play.svg'); }







.gt-hero .gt-vb--air { background-image: url('/wp-content/uploads/tahouse/icons/gt-vb-airplay.svg'); }







.gt-hero .gt-vb--max { background-image: url('/wp-content/uploads/tahouse/icons/gt-vb-maximize.svg'); }







/* volume slider 84 wide (button 32 + handle 44 + pad-right 8); handle 44x4 #fff@.3 at +32/+14, Progress 36 #fff, Control handle 12x12 at +56/+10 */







.gt-hero .gt-vb--vol { width: 84px; background-image: url('/wp-content/uploads/tahouse/icons/gt-vb-volume.svg'); }







.gt-hero .gt-vb--vol::before {







  content: ""; position: absolute; left: 32px; top: 14px; width: 44px; height: 4px; border-radius: 9999px;







  background: linear-gradient(90deg, #fff 0 36px, rgba(255, 255, 255, 0.3) 36px);







}







.gt-hero .gt-vb--vol::after { content: ""; position: absolute; left: 56px; top: 10px; width: 12px; height: 12px; border-radius: 9999px; background: #fff; }







/* Video progress: fills the row, pad 0 8, gap 8; slider 8 tall #fff@.3 + BACKGROUND_BLUR 8; buffering 236 (#fff, op .3); progress line 8x8 */







.gt-hero .gt-vb-prog { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; height: 18px; padding: 0 8px; }







.gt-hero .gt-vb-time { flex: none; }







.gt-hero .gt-vb-track {







  position: relative; flex: 1 1 0; height: 8px; border-radius: 9999px; background: rgba(255, 255, 255, 0.3);







  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);







}







.gt-hero .gt-vb-track::before { content: ""; position: absolute; left: 0; top: 0; width: 236px; height: 8px; border-radius: 9999px; background: #fff; opacity: 0.3; }







.gt-hero .gt-vb-track::after { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 9999px; background: #fff; }







/* speed button: "1" at +9/+7, playback-x 8x8 at +15/+12 */







.gt-hero .gt-vb--speed { padding-left: 9px; line-height: 32px; background-image: url('/wp-content/uploads/tahouse/icons/gt-vb-x.svg'); background-position: 15px 12px; background-size: 8px 8px; box-sizing: border-box; }















/* 2. Lead — frame 1000–1396 (fixed 396: Figma text node 116 tall vs 4 x 28.8 = 115.2), text 984 wide centred */







.gt-lead .gt-lead__text { max-width: 984px; margin: 0 auto; text-align: center; transform: translateZ(0); }







.gt-lead.section { position: relative; min-height: 396px; }







/* Vector 4596: 1720px rule, stroke #e0742a 1px CENTER on the frame bottom (y1396).







   Figma rasterises it as ONE row (y1395) at 50% coverage — sampled REF rgb(240,186,149) = #e0742a @ .5 */







.gt-lead.section::after {







  content: ""; position: absolute; left: 50%; bottom: 0; width: 1720px; max-width: calc(100% - 200px);







  height: 1px; background: rgba(224, 116, 42, 0.5); transform: translateX(-50%);







}















/* 3. Story — frame 1396–2319 pad-top 140; text frame 960x783 pad 0 100, image 960x783 */







.gt-story.section { padding-bottom: 0 !important; }







.gt-story .gt-story-row > .col { padding: 0; }







.gt-story .gt-story-text > .col-inner { padding: 0 100px; transform: translateZ(0); }







.gt-story .gt-p + .gt-p { margin-top: 29px; }                 /* "\n\n" = one empty line */







.gt-story .gt-story-img { margin: 0; }







/* Figma lays 160% lines out on whole pixels: text node heights 116 = 4 x 29, 435 = 15 x 29







   (mobile 234 = 9 x 26, 624 = 24 x 26); REF line pitch measured 29 / 26 px (scratch/gtlh/bands.py) */







.gt-story .gt-p, .gt-lead .gt-lead__text { line-height: 29px; }















/* 4. Team — cards 549.33x728 with 36px gaps (100 / 685.33 / 1270.67), rows gap 60 */







.gt-team .th-sec-title { transform: translateZ(0); }







.gt-team .gt-member .gt-member__name { text-transform: none; white-space: nowrap; }  /* Figma: mixed case, one line */







.gt-team .gt-member .th-card__title + .th-meta { margin-top: 24px; } /* name y3345 h27 -> meta y3396 */







.gt-team .th-card .box-image { border-radius: 0.01px; overflow: hidden; transform: translateZ(0); }















@media (min-width: 850px) {







  .gt-team.section { padding-top: 140px !important; padding-bottom: 140px !important; height: auto !important; min-height: 0 !important; box-sizing: border-box; }







  .gt-team .th-sec-title { margin-bottom: 100px !important; }







  .gt-team .row.gt-team-grid {







    display: flex;







    flex-wrap: wrap;







    width: 1720px !important;







    max-width: 1720px !important;







    height: auto !important;
    min-height: 0 !important;







    margin: 0 auto !important;







    padding: 0 !important;







    row-gap: 60px;







    column-gap: 36px;







  }







  .gt-team .row.gt-team-grid > .col {







    width: calc((1720px - 72px) / 3) !important;







    flex: 0 0 calc((1720px - 72px) / 3) !important;







    max-width: calc((1720px - 72px) / 3) !important;







    padding: 0 !important;







  }







  .gt-team .th-r-549x728 .image-cover {







    height: 728px !important;







    padding-top: 0 !important;







  }







  .gt-team .row.gt-team-grid > .col .th-card .box-image::after {







    content: "";







    position: absolute;







    top: 0; left: 0; right: 0; bottom: 0;







    pointer-events: none;







  }







  .gt-team .row.gt-team-grid > .col:nth-child(1) .th-card .box-image::after,







  .gt-team .row.gt-team-grid > .col:nth-child(4) .th-card .box-image::after {







    border-right: 1px solid rgba(255, 255, 255, 0.4);







  }







  .gt-team .row.gt-team-grid > .col:nth-child(3n+2) .th-card .box-image::after {







    border-left: 1px solid rgba(255, 255, 255, 0.4);







    border-right: 1px solid rgba(255, 255, 255, 0.4);







  }







  .gt-team .row.gt-team-grid > .col:nth-child(3n+3) .th-card .box-image::after {







    border-left: 1px solid rgba(255, 255, 255, 0.4);







  }







  .gt-team .row.gt-team-grid > .col:nth-child(7) .th-card .box-image {







    box-shadow: 1px 0 0 0 rgba(60, 60, 60, 0.33);







  }







  .gt-story .gt-p { margin-right: -1px; }







}















/* ==========================================================================







   XC FLIP CARD / TEAM MEMBER HOVER (Figma Dissolve Interaction)







   ========================================================================== */







.xc-flip-card-wrapper {







  position: relative;







  width: 100%;







  min-height: 832px;







  cursor: pointer;







}







.gt-team .gt-team-grid {







  align-items: flex-start;







}















/* DEFAULT STATE: Visible by default */







.xc-flip-card__state--default {







  position: relative;







  width: 100%;







  opacity: 1;







  visibility: visible;







  transition: opacity 0.3s ease-out, visibility 0.3s ease;







  pointer-events: auto;
}















/* HOVER STATE: Hidden by default, absolute overlay */







.xc-flip-card__state--hover {







  position: absolute;







  top: 0;







  left: 0;







  width: 100%;







  opacity: 0;







  visibility: hidden;







  transition: opacity 0.3s ease-out, visibility 0.3s ease;







  pointer-events: none;







}















/* STRICT DISSOLVE / CROSSFADE EFFECT ON HOVER OR TOUCH */







.xc-flip-card-wrapper:hover .xc-flip-card__state--default,







.xc-flip-card-wrapper.is-active .xc-flip-card__state--default {







  opacity: 0;







  visibility: hidden;







  pointer-events: none;







}







.xc-flip-card-wrapper:hover .xc-flip-card__state--hover,







.xc-flip-card-wrapper.is-active .xc-flip-card__state--hover {







  opacity: 1;







  visibility: visible;







  pointer-events: auto;
}















/* Static clean card (no-flip mode for team / simple showcase) */
.xc-flip-card-wrapper.no-flip,
.xc-flip-card.no-flip {
  cursor: default !important;
}
.xc-flip-card-wrapper.no-flip .xc-flip-card__state--default,
.xc-flip-card.no-flip .xc-flip-card__state--default,
.xc-flip-card-wrapper.no-flip:hover .xc-flip-card__state--default,
.xc-flip-card.no-flip:hover .xc-flip-card__state--default {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}
.xc-flip-card-wrapper.no-flip .xc-flip-card__state--hover,
.xc-flip-card.no-flip .xc-flip-card__state--hover,
.xc-flip-card-wrapper.no-flip:hover .xc-flip-card__state--hover,
.xc-flip-card.no-flip:hover .xc-flip-card__state--hover {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* MEDIA CONTAINER & ASPECT RATIO (Figma exact dimensions) */







.xc-flip-card__state--default .xc-flip-card__media {







  width: 100%;







  aspect-ratio: 549.33 / 728.24;







  overflow: hidden;







  position: relative;







}







.xc-flip-card__state--hover .xc-flip-card__media {







  width: 100%;







  aspect-ratio: 549.33 / 443;







  overflow: hidden;







  position: relative;







}















.xc-flip-card__media .box-image,







.xc-flip-card__media .image-cover {







  width: 100%;







  height: 100% !important;







  padding-top: 0 !important;







}







.xc-flip-card__media img {







  width: 100%;







  height: 100%;







  object-fit: cover;







  display: block;







}







.xc-flip-card__state--default .xc-flip-card__media img {







  object-position: center top;







}







.xc-flip-card__state--hover .xc-flip-card__media img {







  object-position: center;







}















/* SOLID BG IF NO BACK IMAGE */







.xc-flip-card__solid-bg {







  width: 100%;







  height: 100%;







  position: absolute;







  top: 0;







  left: 0;







}















/* BADGE OVERLAY: Centered "Chi tiết" */







.xc-flip-card__badge {







  position: absolute;







  top: 0;







  left: 0;







  right: 0;







  bottom: 0;







  z-index: 3;







  display: flex;







  align-items: center;







  justify-content: center;







  background: rgba(0, 0, 0, 0.2);







  transition: background 0.3s ease;







}







.xc-flip-card-wrapper:hover .xc-flip-card__badge {







  background: rgba(0, 0, 0, 0.28);







}







.xc-flip-card__detail-text {







  font: 700 16px/24px var(--th-sans, 'Lexend', sans-serif);







  letter-spacing: 0.04px;







  color: #ffffff;







  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.8);







  text-transform: none;







  pointer-events: none;







}















/* CARD INFO: Name & Meta */







.xc-flip-card__info {







  margin-top: 32px;







}







.xc-flip-card-wrapper .th-card__title + .th-meta {







  margin-top: 24px;







}







.xc-flip-card__link {







  text-decoration: none;







  color: inherit;







  display: block;







}















/* MOBILE: (191x253 default, 191x154 hover) */







@media (max-width: 849px) {







  .xc-flip-card-wrapper {







    min-height: 328px;







  }







  .xc-flip-card__state--default .xc-flip-card__media {







    aspect-ratio: 191 / 253.2;







  }







  .xc-flip-card__state--hover .xc-flip-card__media {







    aspect-ratio: 191 / 154;







  }







  .xc-flip-card__info {







    margin-top: 12px;







  }







  .xc-flip-card-wrapper .th-card__title + .th-meta {







    margin-top: 12px;







  }







}















/* MOBILE (430 artboard) ==================================================== */







@media (max-width: 849px) {







  /* title y173 (status bar 44 already in #wrapper), video 430x340 at y273 */







  .gt-hero.section { padding-top: 129px !important; }







  .gt-hero .gt-title { margin-bottom: 68.8px; transform: translateZ(0); }







  .gt-hero .gt-video { width: 100%; }







  .gt-hero .gt-vbar { padding: 0 16px 24px; }                   /* mobile bar pad 48/16/24/16 */







  .gt-hero .gt-vb-track::before { width: 10px; }                /* mobile Buffering progress 10 wide */















  /* lead frame 613–1019: fixed 406 tall, text 398 wide at y699 (86 below the frame top) */







  .gt-lead.section { min-height: 406px; padding-bottom: 0 !important; align-items: flex-start; }







  .gt-lead.section::after { display: none; }







  .gt-lead .gt-lead__text { transform: translateZ(0); }















  /* story: image 430x351 first, then text frame pad 40/16/24 */







  .gt-story .gt-story-text > .col-inner { padding: 40px 16px 24px !important; min-height: 0 !important; transform: translateZ(0); }







  .gt-story .gt-p + .gt-p { margin-top: 26px; }               /* one empty line at the 26px Figma pitch */







  .gt-story .gt-p, .gt-lead .gt-lead__text { line-height: 26px; }















  /* team: 191x253 images, name +24, meta +12, meta not uppercased */







  .gt-team.section { padding-top: 40px !important; padding-bottom: 40px !important; }







  .gt-team .th-sec-title { margin-bottom: 32px !important; }







  .gt-m-191x253 .image-cover { padding-top: 132.461% !important; }







  .gt-team .gt-member .th-card__title + .th-meta { margin-top: 12px; }







  .gt-team .gt-member__meta { text-transform: none; }







}























/* ==========================================================================







   12. LIÊN HỆ







   ========================================================================== */







/* ==========================================================================







   LIÊN HỆ (page 19) — prefix lh-







   Every value from Figma lien-he_1920.json / lien-he_430.json







   (dumped in scratch/spec/lien-he_*.txt, scratch/gtlh/lh_tree*.txt).







   ========================================================================== */















/* Frame 2147230914: pad-top 140, two 1920x1000 rows of 960 | 960 */







.lh-contact.section { padding-bottom: 0 !important; }







.lh-contact .lh-row > .col { padding: 0; }







.lh-contact .lh-img { margin: 0; }















/* Row 1 — form block 660 wide at x1110 (frame pad 0 100, block centred), heading -> form 24 */







.lh-contact .lh-form > .col-inner { padding: 0 100px; }







.lh-contact .lh-form .th-form-title, .lh-contact .lh-form .wpcf7 { max-width: 660px; margin-left: auto; margin-right: auto; }







.lh-contact .lh-form .th-form-title { margin-bottom: 24px; }







.lh-contact .lh-form .wpcf7 form { column-gap: 16px; }                    /* Row gap 16 (322 + 16 + 322) */







.lh-contact .lh-form .wpcf7 .wpcf7-form-control-wrap { margin-top: 6px; }  /* "Input with label" gap 6 */







.lh-contact .lh-form .wpcf7 form .th-f--submit { margin-top: -2px; }      /* textarea bottom 811 -> button 829 */







.lh-contact .lh-form .wpcf7 input { text-overflow: ellipsis; }           /* placeholder textTruncation ENDING, maxLines 1 */







/* Figma rounds 160% of 16px to a whole-pixel pitch: label nodes are 27 tall (not 27.2) */







.lh-contact .lh-form .wpcf7 label { line-height: 27px; }















/* Row 2 — contact list (items 24 apart, 49px #a4a7ae rules), note +40, QR +40 */







.lh-contact .lh-info > .col-inner { padding: 0 100px; text-align: center; transform: translateZ(0); }







.lh-contact .lh-label {







  font: 400 20px/30px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 2px;







  text-transform: uppercase;







  text-align: center;







  color: var(--th-body);







  margin: 0;







}







.lh-contact .lh-value {







  font: 400 16px/27px var(--th-sans);                                     /* Figma whole-pixel pitch: nodes 27/81/108 tall */







  letter-spacing: 0.04px;







  text-align: center;







  color: var(--th-body);







  margin: 12px 0 0;                                                       /* Content gap 12 */







}







.lh-contact .lh-value a { color: inherit; }







.lh-contact .lh-info .is-divider {







  margin-left: auto; margin-right: auto;







  margin-bottom: 23px !important;                 /* Figma vector is 0px tall: 24 + 0 + 24 -> 24 + 1px + 23 */







  background: repeating-linear-gradient(90deg, var(--th-muted) 0 2px, transparent 2px 4px) !important; /* strokeDashes [2, 2] */







}







.lh-contact .lh-note {







  max-width: 584px;







  margin: 40px auto 0;







  font: 400 16px/27px var(--th-sans);                                     /* Figma whole-pixel pitch: nodes 27/81/108 tall */







  letter-spacing: 0.04px;







  text-align: center;







  color: var(--th-body);







}







.lh-contact .lh-qr.img { width: 149px !important; margin: 40px auto 0; display: block; }







.lh-contact .lh-qr img { display: block; width: 149px; height: 149px; }















/* MOBILE (430 artboard) ==================================================== */







@media (max-width: 849px) {







  /* frame starts at y85 (status bar 44 is #wrapper padding) */







  .lh-contact.section { padding-top: 41px !important; }















  /* form frame pad 56/16: heading y141, button bottom 615, image 430x448 at y671 */







  .lh-contact .lh-form > .col-inner { padding: 56px 16px; }







  .lh-contact .lh-form .th-form-title { margin-bottom: 24px; }







  .lh-contact .lh-form .wpcf7 form .th-f--submit { margin-top: -2px; }   /* textarea bottom 549 -> button 567 */















  /* info frame pad 56/16 (y1119–2090); labels 18/27 ls5 */







  .lh-contact .lh-info > .col-inner { padding: 56px 16px; }







  .lh-contact .lh-label { font-size: 18px; line-height: 27px; letter-spacing: 5px; }







  .lh-contact .lh-note { max-width: none; }







}























/* ==========================================================================







   13. PHONG CÁCH







   ========================================================================== */







/* ==========================================================================







   PHONG CÁCH (block 263 `archive-phong-cach`, /phong-cach/) — prefix pc-







   Figma: phong-cach_1920.json "Mục phong cách" 1920x2513, phong-cach_430.json 430x2539.







   Every value below comes from those node trees (scratch/spec/phong-cach_*.txt).







   ========================================================================== */















/* Frame 2147230902: padding 200 / 100 / 140 / 100 (Flatsome section takes one value -> top here) */







.pc-list.section { padding-top: 200px !important; }















/* "MỤC PHONG CÁCH" desktop = family "Fraunces" (not 72pt) 400 20/26 ls5 -> no opsz variation */







.pc-list .pc-title { font-variation-settings: normal; }















/* card 4 fill d4d3907f: STRETCH, imageTransform [[1,0,0],[0,0.91,0.00015]]







   = full width, top 91% of the photo stretched into the frame -> img height 1/0.91 */







.pc-list .pc-crop-d4d3 .image-cover img {







  top: 0; bottom: auto;







  height: 109.890%;







  object-fit: fill;







}















@media (max-width: 849px) {







  /* mobile frame: padding 150 / 16 / 56 / 16 (minus the 44px status bar already in #wrapper) */







  .pc-list.section { padding-top: 106px !important; }







  .pc-list .pc-title { font-variation-settings: var(--th-op72); } /* mobile = "Fraunces 72pt" 18/27 */















  /* cards 2-4: 398x265 frames */







  .pc-list .pc-m-398x265 .image-cover { padding-top: 66.583% !important; }















  /* title -> description gap 18 on every mobile card (498+24=522 -> 540) */







  .pc-list .th-card .th-card__desc { margin-top: 18px; }















  /* mobile meta text has no textCase (desktop = UPPER) */







  .pc-list .th-meta { text-transform: none; }















  /* Vector 4593 / 4592: height 15 (y 611.85 -> 626.85), 1px CENTER stroke #444 on integer x = 67 / 146







     -> render bounds x 66.5..67.5 = two pixel columns at 50%. Spans start at 75 / 154 -> left -9, width 2. */







  .pc-list .th-meta span + span::before {







    left: -9px;







    width: 2px;







    height: 15px;







    margin-top: -7.5px;







    opacity: 0.5;







  }















  /* card 1 mobile fill 3a200834: STRETCH, imageTransform [[0.9469,0,0.02655],[0,0.92304,0]]







     -> img width 1/0.9469, left -0.02655/0.9469, height 1/0.92304 */







  .pc-list .pc-crop-3a20 .image-cover img {







    top: 0; right: auto; bottom: auto;







    left: -2.804%;







    width: 105.607%;







    max-width: none;







    height: 108.343%;







    object-fit: fill;







  }







}























/* ==========================================================================







   14. THI CÔNG ARCHIVE







   ========================================================================== */







/* ==========================================================================







   THI CONG archive (block 262 "archive-thi-cong") — Figma "Mục thi công"







   Sources: .visual-clone/figma_nodes/thi-cong_1920.json / thi-cong_430.json







   (scratch/spec/thi-cong_*.txt, image fills via scratch/arch_imgs.py)







   Desktop section = .tc-d (hide-for-small), mobile section = .tc-m (show-for-small)







   ========================================================================== */















/* Frame 2147230902: padding 200 / 100 / 140 / 100 (desktop) */







.section.tc-d { padding-top: 200px !important; padding-bottom: 140px !important; }















/* Title 'MỤC THI CÔNG' desktop = family "Fraunces" (not "Fraunces 72pt") 400 20/26 ls5 */







.tc-d .th-sec-title { font-variation-settings: normal; }















/* Cards without description (rows 3–4): title (y2692, h27) -> meta (y2743) = 24px */







.tc-d .th-card__title + .th-meta { margin-top: 24px; }















/* Image fills with imageTransform (scaleMode STRETCH): visible part of the photo is







   x:[tx, tx+a], y:[ty, ty+d] stretched to the frame -> img = 100/a % wide, 100/d % high,







   offset -tx/a, -ty/d.  Other cards are scaleMode FILL (= object-fit cover, centred). */







.tc-archive .th-card .image-cover img { max-width: none; }







/* 63f8528e… / 689f3bf3…: T = [[1,0,0],[0,0.91,0.000149]] */







.tc-st91 .image-cover img { object-fit: fill; width: 100%; height: 109.890%; left: 0; top: -0.016%; bottom: auto; }







/* 3a200834…: T = [[0.946897,0,0.026551],[0,0.923040,0]] */







.tc-st3a20 .image-cover img { object-fit: fill; width: 105.608%; height: 108.338%; left: -2.804%; top: 0; right: auto; bottom: auto; }















/* "Xem thêm" — Buttons/Button 197x40, fill #e0742a, no radius; text Lexend 400 14/23.8 ls0.04 upper #fff.







   Sits 120px (column gap) under the last card row, 140px above the footer. */







.tc-archive .button.tc-more {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  width: 197px;







  height: 40px;







  min-height: 0;







  margin: 0;







  padding: 0 18px;







  background: var(--th-accent);







  border: 0;







  border-radius: 0;







  box-shadow: none;







  color: #fff;







  font: 400 14px/23.8px var(--th-sans);







  letter-spacing: 0.04px;







  text-transform: uppercase;







}







.tc-archive .button.tc-more span { line-height: 23.8px; }















@media (max-width: 849px) {







  /* mobile frame padding 150 / 16 / 56 / 16, of which 44px is the iOS status bar (#wrapper padding-top) */







  .section.tc-m { padding-top: 106px !important; padding-bottom: 56px !important; }







  /* mobile meta texts have textCase none ('96m²', '168m²') */







  .tc-m .th-meta { text-transform: none; }







}















/* ---- raster alignment (scratch/arch_region.py, grayscale capture vs Figma REF, best-shift search) ----







   Centred titles: CSS letter-spacing adds a trailing 5px that Figma excludes from the text box, so the







   glyphs sit 2.5px left of Figma's centre -> indent by the same 5px (Figma ls 5). */







/* moved to base style.css (.th-sec-title padding-left:5px) */







/* Lexend renders 1px higher than Figma (same finding as base .th-card__desc top:1px):







   desktop metas and button label best match at dy +1 (meta mismatch 900 -> 312 px). */







@media (min-width: 850px) {







  .tc-d .th-meta { position: relative; top: 1px; }







  .tc-d .button.tc-more span { position: relative; top: 1px; }







}







@media (max-width: 849px) {







  /* mobile button label best match at dy +2 (mobile metas already align at dy 0) */







  .tc-m .button.tc-more span { position: relative; top: 2px; }







}























/* ==========================================================================







   15. THIẾT KẾ ARCHIVE







   ========================================================================== */







/* ==========================================================================







   THIET KE archive (block 261 "archive-thiet-ke") — Figma "Thiết kế"







   Sources: .visual-clone/figma_nodes/thiet-ke_1920.json / thiet-ke_430.json







   (scratch/spec/thiet-ke_*.txt, image fills via scratch/arch_imgs.py)







   Desktop section = .tk-d (hide-for-small), mobile section = .tk-m (show-for-small)







   ========================================================================== */















/* Frame 2147230902: padding 200 / 100 / 140 / 100 (desktop) */







.section.tk-d { padding-top: 200px !important; padding-bottom: 140px !important; }















/* Last card row frame 'Frame 2147230916' is 732px high (cards are 765px), so the button is at







   2981 + 732 + 120 = 3833 -> 87px below the card content (120 - 33). */







.tk-d .row.th-grid + .row.tk-more-row { margin-top: 87px; }















/* Image fills with imageTransform (scaleMode STRETCH): visible part of the photo is







   x:[tx, tx+a], y:[ty, ty+d] stretched to the frame -> img = 100/a % wide, 100/d % high,







   offset -tx/a, -ty/d.  Other cards are scaleMode FILL (= object-fit cover, centred). */







.tk-archive .th-card .image-cover img { max-width: none; }







/* 689f3bf3… / 0e447208…: T = [[1,0,0],[0,0.91,0.000149]] */







.tk-st91 .image-cover img { object-fit: fill; width: 100%; height: 109.890%; left: 0; top: -0.016%; bottom: auto; }







/* 3a200834…: T = [[0.946897,0,0.026551],[0,0.923040,0]] */







.tk-st3a20 .image-cover img { object-fit: fill; width: 105.608%; height: 108.338%; left: -2.804%; top: 0; right: auto; bottom: auto; }







/* 0449a4d3…: T = [[0.859702,0,0.070524],[0,0.886685,-0.000150]] */







.tk-st0449 .image-cover img { object-fit: fill; width: 116.319%; height: 112.780%; left: -8.203%; top: 0.017%; right: auto; bottom: auto; }







/* ec9dde36…: T = [[0.836378,0,0.039789],[0,0.915956,0.042022]] */







.tk-stec9d .image-cover img { object-fit: fill; width: 119.563%; height: 109.176%; left: -4.757%; top: -4.588%; right: auto; bottom: auto; }















/* "Xem thêm" — Buttons/Button 197x40, fill #e0742a, no radius; text Lexend 400 14/23.8 ls0.04 upper #fff */







.tk-archive .button.tk-more {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  width: 197px;







  height: 40px;







  min-height: 0;







  margin: 0;







  padding: 0 18px;







  background: var(--th-accent);







  border: 0;







  border-radius: 0;







  box-shadow: none;







  color: #fff;







  font: 400 14px/23.8px var(--th-sans);







  letter-spacing: 0.04px;







  text-transform: uppercase;







}







.tk-archive .button.tk-more span { line-height: 23.8px; }















@media (max-width: 849px) {







  /* mobile frame padding 150 / 16 / 56 / 16, of which 44px is the iOS status bar (#wrapper padding-top) */







  .section.tk-m { padding-top: 106px !important; padding-bottom: 56px !important; }







  /* mobile meta texts have textCase none ('96m²', '168m²') */







  .tk-m .th-meta { text-transform: none; }







}















/* ---- raster alignment (scratch/arch_region.py, grayscale capture vs Figma REF, best-shift search) ----







   Centred titles: CSS letter-spacing adds a trailing 5px that Figma excludes from the text box, so the







   glyphs sit 2.5px left of Figma's centre -> indent by the same 5px (Figma ls 5). */







/* moved to base style.css (.th-sec-title padding-left:5px) */







/* Lexend renders 1px higher than Figma (same finding as base .th-card__desc top:1px):







   desktop metas and button label best match at dy +1 (meta mismatch 900 -> 312 px). */







@media (min-width: 850px) {







  .tk-d .th-meta { position: relative; top: 1px; }







  .tk-d .button.tk-more span { position: relative; top: 1px; }







}







@media (max-width: 849px) {







  /* mobile button label best match at dy +1 (mobile metas already align at dy 0) */







  .tk-m .button.tk-more span { position: relative; top: 1px; }







}























/* ==========================================================================







   16. TIN TỨC / BLOG







   ========================================================================== */







/* ==========================================================================







   TIN TỨC / BLOG (block 264 `archive-tin-tuc`, /tin-tuc/) — prefix tt-







   Figma: tin-tuc_1920.json "Mục blog" 1920x3693, tin-tuc_430.json 430x2683.







   Native [blog_posts class="th-news-grid tt-grid"] (base card styles in style.css 8.3).







   ========================================================================== */















/* Frame 2147230902: padding 200 / 100 / 140 / 100 */







.tt-blog.section { padding-top: 200px !important; padding-bottom: 140px !important; }







/* "BLOG" desktop = family "Fraunces" (not 72pt) 400 20/26 ls5 */







.tt-blog .tt-title { font-variation-settings: normal; }















/* Frame 2147231173: cards 848x792 in rows of 2 (gap 24), rows gap 120 */







.tt-blog .row.tt-grid { row-gap: 120px; }







.tt-blog .tt-grid > .post-item { padding-bottom: 0; }







.tt-blog .tt-grid .col-inner { padding: 0; }















/* Feature Card Content: image -> 32 -> title / desc (gap 16) / meta (gap 24) */







.tt-blog .tt-grid .blog-post-inner { display: flex; flex-direction: column; }







.tt-blog .tt-grid .from_the_blog_excerpt {







  order: 1;







  font: 400 16px/27px var(--th-sans); /* Lexend 16/27.2; text box 4 lines = 108px -> 27 (as base .th-card__desc) */







  letter-spacing: 0.04px;







  color: var(--th-body);







  margin: 16px 0 0;







}







/* category = Figma meta "Design" / "Architecture": Lexend 600 14/21 ls0.84 UPPER #444 */







.tt-blog .tt-grid .cat-label {







  order: 2;







  font: 600 14px/21px var(--th-sans);







  letter-spacing: 0.84px;







  text-transform: uppercase;







  color: var(--th-body);







  opacity: 1;







  margin: 24px 0 0;







}















/* card 4 fill d4d3907f: STRETCH imageTransform [[1,0,0],[0,0.91,0.00015]] -> img height 1/0.91 */







@media (min-width: 850px) {







  .tt-blog .tt-grid > .post-item:nth-child(4) .image-cover img {







    top: 0; bottom: auto;







    height: 109.890%;







    object-fit: fill;







  }







}















/* Buttons/Button 197x40, #e0742a, pad 18 sides, text Lexend 400 14/23.8 ls0.04 UPPER #fff */







.tt-blog .tt-more-btn.button {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  width: 197px;







  height: 40px;







  min-height: 0;







  margin: 0;







  padding: 0 18px;







  background: var(--th-accent);







  border: 0;







  border-radius: 0;







  box-shadow: none;







  font: 400 14px/23.8px var(--th-sans);







  letter-spacing: 0.04px;







  text-transform: uppercase;







  color: #fff;







}















@media (max-width: 849px) {







  /* mobile frame: padding 150 / 16 / 56 / 16 (minus the 44px status bar in #wrapper) */







  .tt-blog.section { padding-top: 106px !important; padding-bottom: 56px !important; }







  .tt-blog .tt-title { font-variation-settings: var(--th-op72); } /* mobile = "Fraunces 72pt" 18/27 */















  /* 4 cards visible (base news grid shows 2), 398x265, gap 56 */







  .tt-blog .row.tt-grid { row-gap: 56px; }







  .tt-blog .th-news-grid > .post-item:nth-child(-n+4) { display: block; }







  .tt-blog .th-news-grid > .post-item:nth-child(n+5) { display: none; }







  .tt-blog .th-news-grid .box-image .image-cover { padding-top: 66.583% !important; }















  /* title Fraunces 72pt 16/24 ls5 UPPER */







  .tt-blog .th-news-grid .post-title { font-size: 16px; line-height: 24px; letter-spacing: 5px; }







  /* description Lexend 400 12/20.4, text box 3 lines = 60px -> 20 (as base mobile .th-card__desc) */







  .tt-blog .tt-grid .from_the_blog_excerpt {







    font-size: 12px;







    line-height: 20px;







    margin-top: 12px;







    display: -webkit-box;







    -webkit-box-orient: vertical;







    -webkit-line-clamp: 3;







    overflow: hidden;







  }







  .tt-blog .tt-grid .from_the_blog_excerpt .th-desc-tail { display: none; }







  .tt-blog .tt-grid .cat-label { font-size: 10px; line-height: 15px; letter-spacing: 0.08px; margin-top: 12px; }







  .tt-blog .tt-mcard .th-meta { text-transform: uppercase; }







}















/* ==========================================================================







   LIGHTGALLERY POPUP (Chi tiết dự án INDEX gallery)







   Reset Flatsome global <button> rules and style toolbar, arrows & thumbs







   ========================================================================== */







.lg-backdrop {







  background-color: rgba(14, 14, 14, 0.96) !important;







  backdrop-filter: blur(8px);







  -webkit-backdrop-filter: blur(8px);







}







.lg-outer button.lg-icon,







.lg-outer .lg-toolbar .lg-icon,







.lg-outer .lg-next,







.lg-outer .lg-prev {







  font-family: 'lg' !important;







  margin: 0 !important;







  min-height: 0 !important;







  border: 0 !important;







  box-shadow: none !important;







  text-transform: none !important;







  letter-spacing: 0 !important;







  font-weight: 400 !important;







}







.lg-outer .lg-toolbar {







  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);







  padding: 8px 16px;







}







.lg-outer .lg-toolbar .lg-icon {







  width: 44px;







  height: 44px;







  line-height: 44px;







  padding: 0 !important;







  font-size: 22px;







  color: rgba(255, 255, 255, 0.82);







  border-radius: 50%;







  display: inline-flex;







  align-items: center;







  justify-content: center;







  transition: color 0.2s ease, background-color 0.2s ease;







}







.lg-outer .lg-toolbar .lg-icon:hover {







  color: #fff;







  background-color: rgba(255, 255, 255, 0.12) !important;







}







.lg-outer .lg-counter {







  font: 500 14px/44px var(--th-sans);







  letter-spacing: 1.5px;







  color: rgba(255, 255, 255, 0.85);







  padding: 0 0 0 8px;







  height: 44px;







}







.lg-outer .lg-next,







.lg-outer .lg-prev {







  width: 52px;







  height: 52px;







  padding: 0 !important;







  margin-top: -26px !important;







  border-radius: 50% !important;







  background-color: rgba(255, 255, 255, 0.12) !important;







  backdrop-filter: blur(6px);







  -webkit-backdrop-filter: blur(6px);







  color: rgba(255, 255, 255, 0.9) !important;







  font-size: 22px;







  display: inline-flex !important;







  align-items: center;







  justify-content: center;







  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;







}







.lg-outer .lg-prev { left: 24px; }







.lg-outer .lg-next { right: 24px; }







.lg-outer .lg-next:hover:not(.disabled),







.lg-outer .lg-prev:hover:not(.disabled) {







  background-color: var(--th-accent) !important;







  color: #fff !important;







}







.lg-outer .lg-content {







  top: 60px !important;







  bottom: 36px !important;







  left: 96px !important;







  right: 96px !important;







  width: auto !important;







  transition: bottom 0.3s ease;







}







.lg-outer.lg-components-open:not(.lg-zoomed) .lg-content {







  bottom: 148px !important;







}







.lg-outer.lg-zoomed .lg-content {







  top: 0 !important;







  bottom: 0 !important;







  left: 0 !important;







  right: 0 !important;







}







.lg-outer .lg-object.lg-image {







  border-radius: 2px;







  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);







}







.lg-outer .lg-sub-html {







  font: 400 15px/24px var(--th-serif);







  font-variation-settings: var(--th-op72);







  letter-spacing: 3px;







  text-transform: uppercase;







  color: rgba(255, 255, 255, 0.92);







  padding: 12px 24px;







  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);







}







.lg-outer .lg-thumb-outer {







  background-color: rgba(10, 10, 10, 0.95);







  border-top: 1px solid rgba(255, 255, 255, 0.08);







}







.lg-outer .lg-thumb-item {







  border-radius: 2px !important;







  border: 2px solid transparent !important;







  opacity: 0.55;







  transition: opacity 0.2s ease, border-color 0.2s ease !important;







}







.lg-outer .lg-thumb-item.active,







.lg-outer .lg-thumb-item:hover {







  opacity: 1;







  border-color: var(--th-accent) !important;







}







@media (max-width: 849px) {







  .lg-outer .lg-toolbar {







    padding: 6px 8px;







  }







  .lg-outer .lg-toolbar .lg-icon {







    width: 38px;







    height: 38px;







    line-height: 38px;







    font-size: 20px;







  }







  .lg-outer .lg-counter {







    height: 38px;







    line-height: 38px;







    font-size: 13px;







  }







  .lg-outer .lg-rotate-left,







  .lg-outer .lg-rotate-right,







  .lg-outer .lg-flip-hor,







  .lg-outer .lg-flip-ver {







    display: none !important;







  }







  .lg-outer .lg-content {







    top: 52px !important;







    bottom: 24px !important;







    left: 0 !important;







    right: 0 !important;







  }







  .lg-outer.lg-components-open:not(.lg-zoomed) .lg-content {







    bottom: 136px !important;







  }







  .lg-outer .lg-next,







  .lg-outer .lg-prev {







    width: 42px;







    height: 42px;







    margin-top: -21px !important;







    font-size: 18px;







  }







  .lg-outer .lg-prev { left: 12px; }







  .lg-outer .lg-next { right: 12px; }







}















/* ==========================================================================







   19. DARK MODE & THEME TOGGLE (#tahouse-theme-btn + html.dark-mode)







   ========================================================================== */







#tahouse-theme-btn {







  width: 40px;







  height: 40px;







  padding: 0;







  margin: 0;







  border: 0;







  background: transparent;







  color: var(--th-ink);







  display: inline-flex;







  align-items: center;







  justify-content: center;







  cursor: pointer;







  min-height: 0;







  line-height: 0;







  transition: color 0.2s ease, transform 0.2s ease;







}







#tahouse-theme-btn:hover {







  color: var(--th-accent);







  transform: scale(1.06);







}







#tahouse-theme-btn svg {







  display: block;







  width: 40px;







  height: 40px;







}







#tahouse-theme-btn .icon-sun { display: none; }







#tahouse-theme-btn .icon-moon { display: block; }







html.dark-mode #tahouse-theme-btn .icon-moon { display: none; }







html.dark-mode #tahouse-theme-btn .icon-sun { display: block; color: var(--th-cream); }







html.dark-mode #tahouse-theme-btn,







html.dark-mode .tahouse-search-trigger,







html.dark-mode .tahouse-search-trigger i.icon-search {







  color: var(--th-cream);







}















/* Desktop Home hero uses cream (#f9e9c4) for header right action icons */







@media (min-width: 850px) {







  .home #tahouse-theme-btn,







  .home .tahouse-search-trigger,







  .home .tahouse-search-trigger i.icon-search,







  .single-du-an #tahouse-theme-btn,







  .single-du-an .tahouse-search-trigger,







  .single-du-an .tahouse-search-trigger i.icon-search,







  .ctda-page #tahouse-theme-btn,







  .ctda-page .tahouse-search-trigger,







  .ctda-page .tahouse-search-trigger i.icon-search {







    color: var(--th-cream);







  }







}







#tahouse-theme-btn:hover,







.tahouse-search-trigger:hover,







.tahouse-search-trigger:hover i.icon-search,







html.dark-mode #tahouse-theme-btn:hover,







html.dark-mode .tahouse-search-trigger:hover,







html.dark-mode .tahouse-search-trigger:hover i.icon-search {







  color: var(--th-accent);







}







@media (max-width: 849px) {







  .tahouse-header-actions { gap: 8px; }







}















/* Figma Dark Mode Tokens (#272727 canvas, #f2f3f1 ink, #b8b8b8 body, #383838 lines) */







html.dark-mode {







  --th-ink: #f2f3f1;







  --th-body: #b8b8b8;







  --th-muted: #888888;







  --th-line: #383838;







  --th-bg: #272727;







}







html.dark-mode,







html.dark-mode body,







html.dark-mode #wrapper,







html.dark-mode #main,







html.dark-mode #footer,







html.dark-mode .footer-wrapper,







html.dark-mode .ctda,







html.dark-mode .ctda-index {







  background-color: var(--th-bg);







  color: var(--th-body);







}







html.dark-mode #header .tahouse-header {







  background: var(--th-bg);







}







html.dark-mode.home #header .tahouse-header,







html.dark-mode .home #header .tahouse-header,







html.dark-mode .single-du-an #header .tahouse-header {







  background: transparent;







}







@media (max-width: 849px) {







  html.dark-mode #header .tahouse-header {







    background: transparent;







  }







}















/* Dark mode Logos, Hamburger & Off-canvas Drawer */







html.dark-mode .tahouse-logo--light,







html.dark-mode body.home .show-for-medium .tahouse-logo--light {







  display: none !important;







}







html.dark-mode .tahouse-logo--dark,







html.dark-mode body.home .show-for-medium .tahouse-logo--dark {







  display: block !important;







  filter: none !important;







}







html.dark-mode .tahouse-hamburger-btn .btn-rect {







  fill: rgba(255, 255, 255, 0.15);







}







@media (max-width: 849px) {







  html.dark-mode .tahouse-hamburger-btn .btn-rect {







    fill: transparent;







  }







}







html.dark-mode .tahouse-hamburger-btn .btn-stroke,
html.th-dark .tahouse-hamburger-btn .btn-stroke {
  stroke: #efece6 !important;
}
html.dark-mode .tahouse-hamburger-btn:hover .btn-stroke,
html.th-dark .tahouse-hamburger-btn:hover .btn-stroke {
  stroke: #ffffff !important;
}







html.dark-mode .tahouse-offcanvas-panel {







  background: #1c1c1c;







}















/* Dark mode Form Cards & Inputs (Figma #1c1c1c surface, #383838 stroke) */







html.dark-mode .th-form-card > .col-inner {
  background: #1c1c1c;
}

html.dark-mode .wpcf7 form > p,
html.dark-mode .wpcf7 form .th-f,
html.dark-mode .wpcf7 label {
  color: var(--th-ink);
}







html.dark-mode .wpcf7 input[type=text],







html.dark-mode .wpcf7 input[type=tel],







html.dark-mode .wpcf7 input[type=email],







html.dark-mode .wpcf7 select,







html.dark-mode .wpcf7 textarea {







  background: #1c1c1c;







  border-color: var(--th-line);







  color: var(--th-ink);







}















/* Dark mode Partner Logos & Social Icons */







html.dark-mode .th-partners .img img {







  filter: brightness(0) invert(1);







  opacity: 0.88;







}







html.dark-mode .ctda-arrow path {







  stroke: var(--th-ink);







}







html.dark-mode .cttt-toc .accordion-title::before,







html.dark-mode .cttt-toc .accordion-title .toggle {







  filter: brightness(0) invert(0.95);







}







html.dark-mode .cttt-info .cttt-info__item .icon-box-img img,







html.dark-mode .cttt-nav .cttt-nav__link--prev a::before,







html.dark-mode .cttt-nav .cttt-nav__link--next a::after {







  filter: brightness(0) invert(0.72);







}







html.dark-mode .cttt-info .cttt-social .icon.button i {







  color: var(--th-bg) !important;







  -webkit-text-fill-color: var(--th-bg);







}















/* Search Results Grid (Category-style 2-column layout) */







.th-search-sec .row.th-search-grid {







  row-gap: 120px;







}







.th-search-sec .th-search-grid > .col {







  padding-bottom: 0;







}







.th-search-sec .th-search-grid .th-card .th-card__desc {







  margin-top: 16px;







}







.th-search-sec .th-search-grid .th-card .th-meta {







  margin-top: 24px;







}







@media (max-width: 849px) {







  .th-search-sec .row.th-search-grid {







    row-gap: 56px;







  }







  .th-search-sec .th-search-grid .th-card .th-card__desc {







    margin-top: 12px;







  }







  .th-search-sec .th-search-grid .th-card .th-meta {







    margin-top: 12px;







  }







}















.entry-content {







  padding-bottom: 0;







  padding-top: 0;







}















/* ==========================================================================







   TIN TỨC ARCHIVE (category-tin-tuc.php - 2 col + CSS)







   ========================================================================== */







.th-news-archive {







  padding-top: 140px;







  padding-bottom: 100px;







}







.th-news-archive .archive-header {







  margin-bottom: 60px;







  text-align: center;







}







.th-news-archive .archive-header .th-sec-title {







  display: block !important;







  margin: 0;







}







.th-news-archive .badge.post-date,







.th-news-archive .is-divider {







  display: none !important;







}







.th-news-archive #post-list .post-item {







  padding-bottom: 56px;







}







.th-news-archive #post-list .box-image .image-cover {







  padding-top: 66.5% !important;







}







.th-news-archive #post-list .box-image .image-cover img {







  object-fit: cover;







}







.th-news-archive #post-list .box-text {







  padding: 24px 0 0 !important;







  text-align: left;







}







.th-news-archive #post-list .post-title {







  font: 400 18px/27px var(--th-serif) !important;







  font-variation-settings: var(--th-op72);







  letter-spacing: 5px;







  text-transform: uppercase;







  color: var(--th-ink);







  margin: 0 0 12px !important;







}







.th-news-archive #post-list .post-title a {







  font: inherit;







  letter-spacing: inherit;







  color: inherit;







}







.th-news-archive #post-list .from_the_blog_excerpt {







  font: 400 14px/24px var(--th-sans);







  color: var(--th-body);







  margin-top: 8px;







}







@media (max-width: 849px) {







  .th-news-archive {







    padding-top: 60px;







    padding-bottom: 40px;







  }







  .th-news-archive .archive-header {







    margin-bottom: 36px;







  }







  .th-news-archive #post-list .post-item {







    padding-bottom: 36px;







  }







  .th-news-archive #post-list .post-title {







    font-size: 16px !important;







    line-height: 24px !important;







  }







}







































/* =========================================================







   DISABLE FLATSOME DEFAULT BACK TO TOP







   ========================================================= */







#top-link,







.back-to-top,







#back-to-top {







  display: none !important;







  visibility: hidden !important;







  opacity: 0 !important;







  pointer-events: none !important;







}















/* =========================================================







   FULL-WIDTH VIDEO SECTIONS (Home .th-showcase & About .gt-video)







   No zoom/clip-path, 100% full-bleed width







   ========================================================= */







.th-showcase,







.th-showcase .banner,







.gt-hero .gt-video {







  width: 100% !important;







  max-width: none !important;







  clip-path: none !important;







  -webkit-clip-path: none !important;







}







.th-showcase .banner-bg img,







.gt-hero .gt-video .banner-bg img {







  transform: none !important;







  scale: none !important;







}















/* =========================================================







   TH-FAB (FLOATING CONTACT: CALL · ZALO · BACK TO TOP)







   Always visible, highly responsive, guaranteed rendering







   ========================================================= */







.th-fab__top {







  opacity: 0;







  visibility: hidden;







  transform: translateY(12px);







  pointer-events: none;







  transition: opacity .3s ease, transform .3s cubic-bezier(.3, 0, 0, 1), visibility 0s .3s;







}















.th-fab.is-scrolled .th-fab__top {







  opacity: 1 !important;







  visibility: visible !important;







  transform: none !important;







  pointer-events: auto !important;







  transition: opacity .3s ease, transform .3s cubic-bezier(.3, 0, 0, 1), visibility 0s;







}















.th-fab {







  position: fixed !important;







  right: 24px !important;







  bottom: 24px !important;







  z-index: 99999 !important;







  display: flex !important;







  flex-direction: column !important;







  align-items: flex-end !important;







  gap: 14px !important;







  pointer-events: none !important;







}















.th-fab__btn {







  position: relative !important;







  pointer-events: auto !important;







  display: flex !important;







  align-items: center !important;







  justify-content: center !important;







  width: 56px !important;







  height: 56px !important;







  border-radius: 50% !important;







  border: 0 !important;







  padding: 0 !important;







  margin: 0 !important;







  min-height: 0 !important;







  cursor: pointer !important;







  background: #ffffff !important;







  color: #e0742a !important;







  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;







  transition: transform .25s ease, box-shadow .25s ease, color .2s ease !important;







  text-decoration: none !important;







}















.th-fab__btn:hover {







  transform: scale(1.08) !important;







  color: #c9611c !important;







  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;







}















.th-fab__zalo {







  flex-direction: row !important;







}















.th-fab__word {







  font-family: "Archivo", Arial, sans-serif !important;







  font-weight: 700 !important;







  font-size: 16px !important;







  letter-spacing: -0.2px !important;







  color: #e0742a !important;







}















.th-fab__btn:hover .th-fab__word {







  color: #c9611c !important;







}















.th-fab__call svg {







  width: 28px !important;







  height: 28px !important;







}















.th-fab__call::after {







  content: "" !important;







  position: absolute !important;







  inset: 0 !important;







  border-radius: 50% !important;







  border: 2px solid rgba(224, 116, 42, 0.6) !important;







  animation: th-ring-wave 3s cubic-bezier(0.3, 0, 0, 1) infinite !important;







  pointer-events: none !important;







}















@keyframes th-ring-wave {







  0%, 60% { transform: scale(1); opacity: 0; }







  64% { opacity: 0.7; }







  100% { transform: scale(1.6); opacity: 0; }







}















.th-fab__ring {







  position: absolute !important;







  inset: 4px !important;







  width: calc(100% - 8px) !important;







  height: calc(100% - 8px) !important;







  transform: rotate(-90deg) !important;







  pointer-events: none !important;







}















.th-fab__ring circle {







  fill: none !important;







  stroke: #e0742a !important;







  stroke-width: 2.5 !important;







  stroke-linecap: round !important;







  transition: stroke-dashoffset 0.15s linear !important;







}















.th-fab__tip {







  position: absolute !important;







  right: calc(100% + 12px) !important;







  top: 50% !important;







  transform: translateY(-50%) translateX(6px) !important;







  padding: 6px 12px !important;







  border-radius: 6px !important;







  background: rgba(18, 18, 18, 0.92) !important;







  color: #ffffff !important;







  font-family: Arial, sans-serif !important;







  font-size: 13px !important;







  font-weight: 500 !important;







  white-space: nowrap !important;







  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;







  opacity: 0 !important;







  pointer-events: none !important;







  transition: opacity 0.2s ease, transform 0.2s ease !important;







}















.th-fab__btn:hover .th-fab__tip {







  opacity: 1 !important;







  transform: translateY(-50%) translateX(0) !important;







}















@media (max-width: 549px) {







  .th-fab {







    right: 16px !important;







    bottom: 16px !important;







    gap: 10px !important;







  }







  .th-fab__btn {







    width: 48px !important;







    height: 48px !important;







  }







  .th-fab__word {







    font-size: 14px !important;







  }







  .th-fab__call svg {







    width: 24px !important;







    height: 24px !important;







  }







}















/* =========================================================







   FULL BLEED VIDEO HERO & SHOWCASE - ZERO BLACK BARS







   ========================================================= */







.th-showcase,







.gt-video,







.th-banner.gt-video {







  width: 100% !important;







  max-width: 100% !important;







  overflow: hidden !important;







  position: relative !important;







}















.th-showcase .banner-bg,







.gt-video .banner-bg {







  overflow: hidden !important;







  position: absolute !important;







  inset: 0 !important;







  width: 100% !important;







  height: 100% !important;







}















.th-showcase .banner-bg iframe,







.gt-video .banner-bg iframe,







iframe.th-yt-cover {







  position: absolute !important;







  top: 50% !important;







  left: 50% !important;







  transform: translate(-50%, -50%) !important;







  width: 177.78vh !important;







  height: 100vh !important;







  min-width: 100% !important;







  min-height: 100% !important;







  border: none !important;







  pointer-events: none !important;







}















/* ==========================================================================
   Horizontal Search Bar (Opens to the LEFT on the same line)
   ========================================================================== */
.tahouse-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tahouse-search-panel {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%) translateX(16px);
  margin-right: 12px;
  width: 380px;
  max-width: calc(100vw - 160px);
  height: 44px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 0 12px;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s;
  pointer-events: none;
  z-index: 1000;
}

#header.search-open .tahouse-search-panel {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
  pointer-events: auto !important;
}

.tahouse-search-bar-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tahouse-search-bar-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #777 !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
}

.tahouse-search-bar-input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 6px !important;
  margin: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  font: 400 12px/36px var(--th-sans, sans-serif) !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #111 !important;
  outline: none !important;
  box-shadow: none !important;
}

.tahouse-search-bar-input::placeholder {
  color: #888 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

.tahouse-search-bar-close {
  background: none !important;
  border: 0 !important;
  padding: 4px !important;
  margin: 0 !important;
  color: #777 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 28px !important;
  height: 28px !important;
  transition: color 0.2s ease !important;
}

.tahouse-search-bar-close:hover {
  color: #111 !important;
}

/* Dark mode for search panel */
html.dark-mode .tahouse-search-panel,
html.th-dark .tahouse-search-panel {
  background: #222222;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

html.dark-mode .tahouse-search-bar-input,
html.th-dark .tahouse-search-bar-input {
  color: #efece6 !important;
}

html.dark-mode .tahouse-search-bar-close:hover,
html.th-dark .tahouse-search-bar-close:hover {
  color: #fff !important;
}

/* ==========================================================================
   HEADER ACTIONS & CONTRAST (Light Scrolled vs Dark Mode, All Breakpoints)
   ========================================================================== */

/* 1. Header Actions vertical centering & balanced spacing */
#header .tahouse-action-icon {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tahouse-header-center {
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

@media (min-width: 850px) {
  .tahouse-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
  }

  #header .tahouse-lang-switch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  #header .tahouse-header-cta {
    height: 40px !important;
    line-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Prevent horizontal search bar from overlapping centered logo on 850px-1520px viewports */
@media (min-width: 850px) and (max-width: 1520px) {
  #header.search-open .tahouse-header-center {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .tahouse-search-panel {
    width: min(360px, calc(100vw - 540px));
    min-width: 260px;
  }
}

/* 2. Scrolled Logo Switching (Deterministic across all pages & breakpoints) */
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-logo .tahouse-logo--light {
  display: block !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-logo .tahouse-logo--dark {
  display: none !important;
}
html.dark-mode #header.is-scrolled .tahouse-logo .tahouse-logo--light,
html.th-dark #header.is-scrolled .tahouse-logo .tahouse-logo--light {
  display: none !important;
}
html.dark-mode #header.is-scrolled .tahouse-logo .tahouse-logo--dark,
html.th-dark #header.is-scrolled .tahouse-logo .tahouse-logo--dark {
  display: block !important;
}

/* 3. Light Mode Scrolled Header: Crisp Charcoal/Black Contrast */
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-hamburger-btn .btn-stroke {
  stroke: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled #tahouse-theme-btn svg {
  color: #1b1b1b !important;
  stroke: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled #tahouse-theme-btn svg path,
html:not(.dark-mode):not(.th-dark) #header.is-scrolled #tahouse-theme-btn svg circle {
  stroke: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-search-trigger {
  color: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-search-trigger svg {
  stroke: #1b1b1b !important;
  color: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-search-trigger svg circle,
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-search-trigger svg line,
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-search-trigger svg path {
  stroke: #1b1b1b !important;
}
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-lang-switch,
html:not(.dark-mode):not(.th-dark) #header.is-scrolled .tahouse-lang-switch span {
  color: #1b1b1b !important;
}

/* 4. Dark Mode Header (Top & Scrolled): Crisp Light Contrast */
html.dark-mode #header .tahouse-hamburger-btn .btn-rect,
html.th-dark #header .tahouse-hamburger-btn .btn-rect {
  fill: rgba(255, 255, 255, 0.12) !important;
}
html.dark-mode #header .tahouse-hamburger-btn .btn-stroke,
html.th-dark #header .tahouse-hamburger-btn .btn-stroke {
  stroke: #efece6 !important;
}
html.dark-mode #header #tahouse-theme-btn svg,
html.th-dark #header #tahouse-theme-btn svg {
  color: #efece6 !important;
  stroke: #efece6 !important;
}
html.dark-mode #header #tahouse-theme-btn svg circle,
html.dark-mode #header #tahouse-theme-btn svg path,
html.th-dark #header #tahouse-theme-btn svg circle,
html.th-dark #header #tahouse-theme-btn svg path {
  stroke: #efece6 !important;
}
html.dark-mode #header .tahouse-search-trigger,
html.th-dark #header .tahouse-search-trigger {
  color: #efece6 !important;
}
html.dark-mode #header .tahouse-search-trigger svg,
html.th-dark #header .tahouse-search-trigger svg {
  stroke: #efece6 !important;
  color: #efece6 !important;
}
html.dark-mode #header .tahouse-search-trigger svg circle,
html.dark-mode #header .tahouse-search-trigger svg line,
html.th-dark #header .tahouse-search-trigger svg circle,
html.th-dark #header .tahouse-search-trigger svg line {
  stroke: #efece6 !important;
}
html.dark-mode #header .tahouse-lang-switch,
html.dark-mode #header .tahouse-lang-switch span,
html.th-dark #header .tahouse-lang-switch,
html.th-dark #header .tahouse-lang-switch span {
  color: #efece6 !important;
}

/* 5. Mobile Header & Full-Width Search (< 850px) */
@media (max-width: 849px) {
  #header .hide-for-medium {
    display: none !important;
  }

  #header .tahouse-header-left {
    flex: 0 0 auto !important;
  }

  #header .tahouse-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html.dark-mode #header:not(.is-scrolled) .tahouse-hamburger-btn .btn-rect,
  html.th-dark #header:not(.is-scrolled) .tahouse-hamburger-btn .btn-rect {
    fill: transparent !important;
  }

  #header.is-scrolled .tahouse-header,
  html.dark-mode #header.is-scrolled .tahouse-header,
  html.th-dark #header.is-scrolled .tahouse-header {
    height: 58px !important;
    padding: 0 !important;
  }

  #header.is-scrolled .tahouse-logo img {
    width: 100px !important;
    height: 25px !important;
  }

  .tahouse-search-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 58px !important;
    margin: 0 !important;
    transform: translateY(-10px) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    padding: 0 16px !important;
    z-index: 1002 !important;
  }

  #header.search-open .tahouse-search-panel {
    transform: translateY(0) !important;
    top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* =========================================================
   Archive Layouts, Card Excerpt Rules, Liên hệ Title & Footer Copyright Spacing
   ========================================================= */

/* 1. Footer copyright bottom spacing (Figma: 24px bottom desktop, 16px mobile) */
.tahouse-footer-bottom,
.tahouse-footer-bottom.section {
  padding: 0 100px 24px !important;
}
@media (max-width: 849px) {
  .tahouse-footer-bottom,
  .tahouse-footer-bottom.section {
    padding: 16px 16px !important;
    height: 52px !important;
  }
}

/* 2. Liên hệ (/lien-he/): align "Đặt lịch tư vấn" heading flush with .wpcf7 (max-width: 660px; margin-inline: auto) */
.lh-contact .lh-form .th-form-title,
.lh-contact .lh-form .lh-form-title {
  max-width: 660px !important;
  margin: 0 auto 24px !important;
}

/* 3. Dự án (/du-an/) & Thiết kế (/thiet-ke/): hide .th-card__desc & .from_the_blog_excerpt on ALL items */
.da-archive .th-projects-grid .th-card__desc,
.da-archive .th-projects-grid .from_the_blog_excerpt,
.tk-archive .th-projects-grid .th-card__desc,
.tk-archive .th-projects-grid .from_the_blog_excerpt {
  display: none !important;
}
.da-archive .th-projects-grid > .post-item:nth-child(1) .th-meta,
.tk-archive .th-projects-grid > .post-item:nth-child(1) .th-meta {
  margin-top: 24px !important;
}

/* 4. Thi công (/thi-cong/): hàng 1,2 (item 1-6) hiện mô tả; hàng 3,4... (hàng có 4 cột, item 7+) ẩn mô tả */
.tc-archive .th-projects-grid > .post-item:nth-child(-n+6) .th-card__desc,
.tc-archive .th-projects-grid > .post-item:nth-child(1) .th-card__desc {
  display: block !important;
}
.tc-archive .th-projects-grid > .post-item:nth-child(n+7) .th-card__desc,
.tc-archive .th-projects-grid > .post-item:nth-child(n+7) .from_the_blog_excerpt {
  display: none !important;
}
.tc-archive .th-projects-grid .from_the_blog_excerpt:not(.th-card__desc) {
  display: none !important;
}
.tc-archive .th-projects-grid > .post-item:nth-child(1) .th-meta {
  margin-top: 24px !important;
}
.tc-archive .th-projects-grid > .post-item:nth-child(6) .th-card__desc {
  max-width: none !important;
}

/* 4b. Phong cách (/phong-cach/): hiện mô tả trên tất cả các item (gồm cả item 1 và các item 7+) */
.pc-list .th-projects-grid > .post-item .th-card__desc,
.pc-list .th-projects-grid > .post-item:nth-child(1) .th-card__desc,
.pc-list .th-projects-grid > .post-item:nth-child(n+7) .th-card__desc {
  display: block !important;
}
.pc-list .th-projects-grid .from_the_blog_excerpt:not(.th-card__desc) {
  display: none !important;
}
.pc-list .th-projects-grid > .post-item:nth-child(1) .th-meta {
  margin-top: 24px !important;
}
.pc-list .th-projects-grid > .post-item:nth-child(6) .th-card__desc {
  max-width: none !important;
}

/* 5. Phong cách (/phong-cach/): 2 equal columns (50% / 50%) Desktop, 1 column (100%) Mobile — matches Figma */
.pc-list .th-projects-grid > .post-item,
.pc-list .th-projects-grid > .post-item:nth-child(1),
.pc-list .th-projects-grid > .post-item:nth-child(6) {
  max-width: 50% !important;
  flex-basis: 50% !important;
}
.pc-list .th-projects-grid > .post-item .image-cover,
.pc-list .th-projects-grid > .post-item:nth-child(1) .image-cover,
.pc-list .th-projects-grid > .post-item:nth-child(6) .image-cover {
  padding-top: 66.509% !important;
}

@media (max-width: 849px) {
  .da-archive .th-projects-grid > .post-item:nth-child(1) .th-meta,
  .tk-archive .th-projects-grid > .post-item:nth-child(1) .th-meta,
  .tc-archive .th-projects-grid > .post-item:nth-child(1) .th-meta,
  .pc-list .th-projects-grid > .post-item:nth-child(1) .th-meta {
    margin-top: 12px !important;
  }

  .pc-list .th-projects-grid > .post-item,
  .pc-list .th-projects-grid > .post-item:nth-child(1),
  .pc-list .th-projects-grid > .post-item:nth-child(6) {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
  .pc-list .th-projects-grid > .post-item .image-cover,
  .pc-list .th-projects-grid > .post-item:nth-child(1) .image-cover,
  .pc-list .th-projects-grid > .post-item:nth-child(6) .image-cover {
    padding-top: 66.583% !important;
  }
  .pc-list .th-projects-grid > .post-item .th-desc-tail {
    display: inline !important;
  }
}

/* 6. Pre-pagination CSS guard: never show extra rows before JS runs or when reduced-motion is active */
.da-archive .th-projects-grid:not(.is-paged) > .post-item:nth-child(n+15),
.tk-archive .th-projects-grid:not(.is-paged) > .post-item:nth-child(n+15),
.tc-archive .th-projects-grid:not(.is-paged) > .post-item:nth-child(n+15),
.pc-list .th-projects-grid:not(.is-paged) > .post-item:nth-child(n+5) {
  display: none !important;
}

/* 7. Off-canvas drawer menu: lock to full viewport above sticky header & FAB + disable Flatsome stuckMoveDown transform */
.sticky-jump .stuck:not(.ux-no-animation),
.sticky-fade .stuck:not(.ux-no-animation),
#header .header-wrapper,
#header .header-wrapper.stuck {
  animation: none !important;
  transform: none !important;
}
#tahouse-offcanvas.tahouse-offcanvas-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 1000001 !important;
}
#tahouse-offcanvas.tahouse-offcanvas-menu.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}


