/* LivaGoo: clear language control + one calm content frame on subpages */
.site-header .language-switcher{
  height:46px;
  min-width:142px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 10px 0 12px;
  border:1px solid #d8e7f2;
  border-radius:14px;
  background:#f7fbfe;
  color:#0b2e5a;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(18,83,130,.05);
  white-space:nowrap;
}
.site-header .language-switcher:hover,
.site-header .language-switcher:focus-within{
  border-color:#27b8d4;
  background:#fff;
  box-shadow:0 0 0 4px rgba(31,188,209,.10);
}
.site-header .language-icon{font-size:17px;line-height:1}
.site-header .language-label{font-size:12px;font-weight:800;letter-spacing:.01em}
.site-header .language-switcher .lang-select{
  flex:0 0 auto!important;
  width:48px!important;
  min-width:48px!important;
  height:34px!important;
  padding:0 19px 0 5px!important;
  border:0!important;
  border-left:1px solid #d8e7f2!important;
  border-radius:0!important;
  background-color:transparent!important;
  color:#082f5f!important;
  font-size:12px!important;
  font-weight:900!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.site-header .header-actions{width:300px!important}
.site-header .header-row{grid-template-columns:190px minmax(0,1fr) 300px!important}

/* One main outer frame instead of many large separated frames */
body.unified-page main#main{
  width:min(1300px,calc(100% - 32px));
  margin:28px auto 54px;
  background:#fff;
  border:1px solid #d7e8f3;
  border-radius:28px;
  box-shadow:0 18px 55px rgba(10,66,112,.08);
  overflow:hidden;
}
body.unified-page main#main > section,
body.unified-page main#main > .section,
body.unified-page main#main > div{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.unified-page main#main > section + section,
body.unified-page main#main > .section + .section{
  border-top:1px solid #e4eef5!important;
}
/* Remove only the oversized outer section borders; keep useful inner cards/phone mockups */
body.unified-page .ip-hero,
body.unified-page .ip-before,
body.unified-page .ip-guide,
body.unified-page .ip-after,
body.unified-page .ip-support,
body.unified-page .ip-faq-mini,
body.unified-page .help-hero,
body.unified-page .help-section,
body.unified-page .device-hero,
body.unified-page .device-check,
body.unified-page .faq-hero,
body.unified-page .faq-section,
body.unified-page .reference-hero,
body.unified-page .reference-section{
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}
body.unified-page .site-footer{margin-top:0!important}

@media(max-width:1100px){
  .site-header .header-row{grid-template-columns:auto 1fr auto!important}
  .site-header .header-actions{width:auto!important}
  .site-header .language-switcher{min-width:126px;height:42px;padding-left:9px}
  .site-header .language-label{font-size:11px}
}
@media(max-width:700px){
  body.unified-page main#main{width:calc(100% - 16px);margin:14px auto 32px;border-radius:20px}
  .site-header .language-switcher{display:flex!important;min-width:48px;width:48px;padding:0;justify-content:center;border-radius:12px}
  .site-header .language-label{display:none}
  .site-header .language-switcher .lang-select{position:absolute;inset:0;width:48px!important;height:42px!important;opacity:0;cursor:pointer}
  .site-header .language-icon{font-size:19px}
}

/* Footer cleanup 2026-07-16 */
.site-footer .footer-grid.footer-grid-clean{
  display:grid;
  grid-template-columns:minmax(260px,1.25fr) minmax(180px,.75fr) minmax(190px,.75fr);
  gap:clamp(28px,5vw,72px);
  align-items:start;
}
.site-footer .footer-grid-clean .footer-brand{max-width:390px}
.site-footer .footer-grid-clean .footer-brand p{margin:14px 0 0;max-width:360px}
.site-footer .footer-grid-clean .footer-col{gap:0!important}
.site-footer .footer-grid-clean .footer-col b{display:block;margin:0 0 12px;font-size:1rem}
.site-footer .footer-grid-clean .footer-col a,
.site-footer .footer-grid-clean .footer-link-button{
  display:block;
  margin:0;
  padding:6px 0;
  line-height:1.25;
}
.site-footer .footer-grid-clean .footer-link-button{text-align:left}
@media (max-width:850px){
 .site-footer .footer-grid.footer-grid-clean{grid-template-columns:1fr 1fr;gap:28px}
 .site-footer .footer-grid-clean .footer-brand{grid-column:1/-1;max-width:none}
}
@media (max-width:560px){
 .site-footer .footer-grid.footer-grid-clean{grid-template-columns:1fr;gap:22px}
 .site-footer .footer-grid-clean .footer-brand{grid-column:auto}
}
