/* Terra Vita Hub v382 — homepage text polish + header collision fix
   Purpose: preserve v381 canonical order, tighten copy, and stop nav/search overlap. */
body.v382-homepage-polish #tvh-header .tvh-header-inner,
body.v381-static-homepage #tvh-header .tvh-header-inner{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto auto auto;
  align-items:center !important;
  column-gap:clamp(12px,1.25vw,22px) !important;
  row-gap:10px;
}
body.v382-homepage-polish #tvh-header .tvh-logo,
body.v381-static-homepage #tvh-header .tvh-logo{
  min-width:max-content;
  white-space:nowrap;
}
body.v382-homepage-polish #tvh-header .tvh-logo-name,
body.v382-homepage-polish #tvh-header .tvh-logo-tag,
body.v381-static-homepage #tvh-header .tvh-logo-name,
body.v381-static-homepage #tvh-header .tvh-logo-tag{
  white-space:nowrap;
}
body.v382-homepage-polish #tvh-header .tvh-nav-primary,
body.v381-static-homepage #tvh-header .tvh-nav-primary{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(9px,.95vw,17px) !important;
  min-width:0 !important;
  overflow:hidden !important;
  flex-wrap:nowrap !important;
}
body.v382-homepage-polish #tvh-header .tvh-nav-primary a,
body.v381-static-homepage #tvh-header .tvh-nav-primary a{
  white-space:nowrap !important;
  flex:0 1 auto;
  min-width:0;
  font-size:clamp(11px,.72vw,13px) !important;
  letter-spacing:.01em !important;
}
body.v382-homepage-polish #tvh-header .tvh-search-trigger,
body.v381-static-homepage #tvh-header .tvh-search-trigger{
  position:static !important;
  z-index:2;
  width:132px !important;
  min-width:132px !important;
  max-width:132px !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  margin:0 !important;
  flex:0 0 auto !important;
}
body.v382-homepage-polish #tvh-header .tvh-search-trigger .label,
body.v381-static-homepage #tvh-header .tvh-search-trigger .label{
  white-space:nowrap !important;
}
body.v382-homepage-polish #tvh-header .tvh-nav-actions,
body.v381-static-homepage #tvh-header .tvh-nav-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(10px,1vw,16px) !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
body.v382-homepage-polish #tvh-header .tvh-cta-primary,
body.v381-static-homepage #tvh-header .tvh-cta-primary,
body.v382-homepage-polish #tvh-header .tvh-link-text,
body.v381-static-homepage #tvh-header .tvh-link-text{
  white-space:nowrap !important;
}
body.v382-homepage-polish .v381-section,
body.v381-static-homepage .v381-section{
  padding-block:24px;
}
body.v382-homepage-polish .v381-orientation,
body.v381-static-homepage .v381-orientation{
  padding-top:24px;
}
body.v382-homepage-polish .v381-orientation-main h1,
body.v381-static-homepage .v381-orientation-main h1{
  max-width:1050px;
}
body.v382-homepage-polish .v381-boundary-grid strong,
body.v381-static-homepage .v381-boundary-grid strong,
body.v382-homepage-polish .v381-panel p,
body.v381-static-homepage .v381-panel p,
body.v382-homepage-polish .v381-route-head p,
body.v381-static-homepage .v381-route-head p{
  line-height:1.45;
}
body.v382-homepage-polish .v381-route-step strong,
body.v381-static-homepage .v381-route-step strong{
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
@media (max-width:1380px){
  body.v382-homepage-polish #tvh-header .tvh-logo-tag,
  body.v381-static-homepage #tvh-header .tvh-logo-tag{display:none!important;}
  body.v382-homepage-polish #tvh-header .tvh-search-trigger,
  body.v381-static-homepage #tvh-header .tvh-search-trigger{width:110px!important;min-width:110px!important;max-width:110px!important;}
}
@media (max-width:1180px){
  body.v382-homepage-polish #tvh-header .tvh-nav-primary,
  body.v381-static-homepage #tvh-header .tvh-nav-primary,
  body.v382-homepage-polish #tvh-header .tvh-search-trigger,
  body.v381-static-homepage #tvh-header .tvh-search-trigger,
  body.v382-homepage-polish #tvh-header .tvh-nav-actions,
  body.v381-static-homepage #tvh-header .tvh-nav-actions{display:none!important;}
  body.v382-homepage-polish #tvh-header .tvh-header-inner,
  body.v381-static-homepage #tvh-header .tvh-header-inner{grid-template-columns:auto 1fr auto;}
  body.v382-homepage-polish #tvh-header .tvh-burger,
  body.v381-static-homepage #tvh-header .tvh-burger{display:inline-flex!important;justify-self:end;}
}
