.header-nav .header-cta{margin-left:10px}
/* Main navigation bar: teal (#39bac0) background & pinned flush to very top */
:root{--mbws-nav-bg:#39bac0}
#top-bar,.header-top{display:none!important;padding:0!important;margin:0!important;height:0!important;min-height:0!important;border:0!important}
#header,.header-wrapper{margin-top:0!important;padding-top:0!important;top:0}
.header-main,#masthead,.header-main .header-inner,.header-main .header-bg-color,.header-main .header-bg-container,.stuck .header-main,.stuck .header-main .header-bg-color,.stuck .header-main .header-bg-container,.header-wrapper.stuck,.stuck .header-wrapper,.stuck #masthead,.header.stuck,#header.stuck,.header-wrapper.stuck .header-main{background-color:#39bac0!important;background:#39bac0!important;margin-top:0!important}
.mbws-cta-btn{display:inline-block;background:#fff;color:#104040!important;font-weight:700;font-size:15px;line-height:1;padding:13px 22px;border-radius:99px;white-space:nowrap;text-transform:none;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:.2s}
.mbws-cta-btn:hover{background:#104040;color:#fff!important}
.header-main .header-nav .mbws-cta-btn{text-transform:none!important;font-size:14px;letter-spacing:0;padding:12px 20px;min-height:0}

/* Desktop horizontal nav: fluid spacing, strictly single-row (never wraps) */
@media(min-width:1280px){
  .header-main .header-inner{padding-left:clamp(20px,3vw,90px)!important;padding-right:clamp(20px,3vw,90px)!important;flex-wrap:nowrap!important}
  .header-main .header-inner #logo{width:clamp(72px,7.5vw,150px)!important;margin-right:clamp(14px,1.8vw,30px)!important;flex-shrink:0}
  .header-main .header-inner .header-nav-main{flex-wrap:nowrap!important}
  .header-main .header-inner .header-nav-main.nav-left .menu-item{margin-left:clamp(6px,calc(6px + (100vw - 1280px) * 0.028),22px)!important;margin-right:clamp(6px,calc(6px + (100vw - 1280px) * 0.028),22px)!important;white-space:nowrap}
  .header-main .header-inner .header-nav-main.nav-left .menu-item a{font-size:15px!important;white-space:nowrap}
  .header-main .header-inner>.flex-col.flex-left.flex-grow{min-width:0}
}

/* Switch to 3-line hamburger menu whenever horizontal space is insufficient */
@media(max-width:1279px){
  #masthead{margin-top:0!important}
  #masthead .hide-for-medium{display:none!important}
  #masthead .show-for-medium{display:block!important}
  #masthead .header-inner{justify-content:space-between;padding-left:16px!important;padding-right:16px!important;border-radius:0!important}
  #masthead .header-inner .mobile-nav.nav-left{display:flex}
  #masthead .header-inner>.show-for-medium.flex-left{order:1;flex:1 1 0}
  #masthead .header-inner>.logo,#masthead #logo{order:2;width:auto!important;margin:0 auto!important;flex:0 0 auto}
  #masthead #logo img{margin:0 auto}
  #masthead .header-inner>.show-for-medium.flex-right{order:3;flex:1 1 0}
  #top-bar,.header-top{display:none!important;padding-top:0!important;padding-bottom:0!important}
}
html.mbws-burger #masthead{margin-top:0!important}
html.mbws-burger #masthead .hide-for-medium{display:none!important}
html.mbws-burger #masthead .show-for-medium{display:block!important}
html.mbws-burger #masthead .header-inner{justify-content:space-between;padding-left:16px!important;padding-right:16px!important;border-radius:0!important}
html.mbws-burger #masthead .header-inner .mobile-nav.nav-left{display:flex}
html.mbws-burger #masthead .header-inner>.show-for-medium.flex-left{order:1;flex:1 1 0}
html.mbws-burger #masthead .header-inner>.logo,html.mbws-burger #masthead #logo{order:2;width:auto!important;margin:0 auto!important;flex:0 0 auto}
html.mbws-burger #masthead #logo img{margin:0 auto}
html.mbws-burger #masthead .header-inner>.show-for-medium.flex-right{order:3;flex:1 1 0}
html.mbws-burger #top-bar,html.mbws-burger .header-top{display:none!important;padding-top:0!important;padding-bottom:0!important}

/* CTA button inside 3-line drawer */
#main-menu .mobile-cta{padding:16px 20px!important;border-top:1px solid rgba(0,0,0,.07)}
#main-menu .mobile-cta .mbws-cta-btn{display:block;width:100%;box-sizing:border-box;text-align:center;background:#7a9c59!important;color:#fff!important;font-size:14px;padding:13px 18px}
#main-menu .mobile-cta .mbws-cta-btn:hover{background:#6a8a4c!important}

/* footer: social + map */
.mbws-social{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 14px}
.mbws-social a{display:inline-flex;align-items:center;gap:8px;background:#7a9c59;color:#fff;padding:9px 16px;border-radius:99px;font-weight:600;font-size:14px;transition:background .2s}
.mbws-social a:hover{background:#6a8a4c;color:#fff}
.mbws-social .zalo{background:#0068ff;color:#fff;border-radius:6px;padding:1px 6px;font-size:11px;font-weight:700}
.mbws-map iframe{width:100%;height:170px;border:0;border-radius:12px;display:block}
.mbws-map a{display:inline-block;margin-top:8px;color:#cfe3dc;font-size:13px;text-decoration:underline}
.mbws-footer-connect .section-title-main{text-transform:capitalize!important;font-weight:400!important;font-size:24px!important;letter-spacing:0!important}
.mbws-footer-connect .section-title-container{margin-bottom:1em}
.mbws-social .zalo-ico{width:18px;height:18px;object-fit:contain;display:block}
.mbws-social a i{font-size:15px;color:#fff}
.mbws-social .zalo-ico{width:26px;height:26px;margin:-4px 0}
.mbws-social .zalo-ico.zb{display:none!important}
.mbws-social a:hover .zalo-ico.zw{display:block!important}
/* responsive safety for legacy (flatsome) pages */
img{max-width:100%;height:auto}
.row,.col,.col-inner,.box,.box-image,.image-cover{max-width:100%;box-sizing:border-box}
@media(max-width:768px){.footer-wrapper a,.footer-wrapper .nav>li>a{display:inline-block;padding-top:6px;padding-bottom:6px}}
/* footer on small screens: compact icon column, keep text inside the viewport */
@media(max-width:849px){
  .mbws_section-footer .section-content{padding-left:16px;padding-right:16px;box-sizing:border-box}
  .mbws_section-footer .row{margin-left:0;margin-right:0;max-width:100%!important}
  .mbws_wrap-icon{flex-wrap:nowrap!important;align-items:flex-start}
  .mbws_wrap-icon>.mbws_footer-icon{flex:0 0 36px!important;max-width:36px!important;padding:0 8px 0 0!important}
  .mbws_wrap-icon>.col.pd-0{flex:1 1 0!important;max-width:none!important;min-width:0;padding-left:0!important}
  .mbws_wrap-icon p{margin:0 0 14px;overflow-wrap:anywhere}
  .mbws_footer-logo .img{max-width:160px}
  .absolute-footer{padding:16px}
  .absolute-footer,.absolute-footer *{color:#c8d8d3!important}
}
@media(max-width:849px){.mbws_section-footer .row>.col:not(.mbws_footer-icon):not(.pd-0){padding-left:0;padding-right:0}}
h1,h2,h3,h4,h5,h6{overflow-wrap:break-word;word-wrap:break-word}

/* Avoid single-word orphans on the last line */
p,li,small,figcaption,blockquote{text-wrap:pretty}

/* Footer contact icons: refined 32px subtle badge + 16px crisp stroke icon */
.mbws_section-footer .mbws_wrap-icon{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:11px;
  margin-left:0!important;
  margin-right:0!important;
  margin-bottom:12px!important;
}
.mbws_section-footer .mbws_wrap-icon>.mbws_footer-icon{
  flex:0 0 32px!important;
  max-width:32px!important;
  width:32px!important;
  min-width:32px!important;
  padding:0!important;
  margin:0!important;
}
.mbws_section-footer .mbws_wrap-icon>.mbws_footer-icon .col-inner,
.mbws_section-footer .mbws_wrap-icon>.mbws_footer-icon .img{
  width:32px!important;
  max-width:32px!important;
  margin:0!important;
}
.mbws_section-footer .mbws_wrap-icon>.mbws_footer-icon .img-inner{
  width:32px!important;
  height:32px!important;
  border-radius:50%;
  background:#7a9c59;
  border:0;
  display:flex!important;
  align-items:center;
  justify-content:center;
  overflow:visible!important;
  padding:0!important;
}
.mbws_section-footer .mbws_wrap-icon>.mbws_footer-icon .img-inner img{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  object-fit:contain;
  opacity:.95!important;
  filter:none!important;
  display:block!important;
}
.mbws_section-footer .mbws_wrap-icon>.col.pd-0{
  flex:1 1 0!important;
  max-width:none!important;
  min-width:0;
  padding:0!important;
  margin:0!important;
}
.mbws_section-footer .mbws_wrap-icon p{
  margin:0!important;
  line-height:1.5;
  color:#fff!important;
  font-size:15px;
}

/* Site-wide button & icon color synchronization across legacy Flatsome pages */
#top-link.back-to-top{background-color:#7a9c59!important;border-color:#7a9c59!important;color:#fff!important}
#top-link.back-to-top:hover{background-color:#6a8a4c!important;border-color:#6a8a4c!important;color:#fff!important}
.page-wrapper .button:not(.is-outline):not(.is-link),.blog-wrapper .button:not(.is-outline):not(.is-link){background-color:#7a9c59!important;border-color:#7a9c59!important;color:#fff!important}
.page-wrapper .button:not(.is-outline):not(.is-link):hover,.blog-wrapper .button:not(.is-outline):not(.is-link):hover{background-color:#6a8a4c!important;border-color:#6a8a4c!important;color:#fff!important}
.page-wrapper .button.is-outline,.blog-wrapper .button.is-outline,.blog-share .social-icons .button.icon.circle{border-color:#7a9c59!important;color:#7a9c59!important}
.page-wrapper .button.is-outline:hover,.blog-wrapper .button.is-outline:hover,.blog-share .social-icons .button.icon.circle:hover{background-color:#7a9c59!important;border-color:#7a9c59!important;color:#fff!important}
