/* Theme-owned native WP templates only; no selectors for Page Builder section interiors */
body.webs-theme .webs-native-page,body.webs-theme .webs-listing{padding:var(--webs-page-spacing) 0 94px;background:#fff}
body.webs-theme .webs-native-empty{padding:80px 0}
body.webs-theme :is(.webs-native-page,.webs-listing,.webs-not-found){font-family:var(--webs-font);color:var(--webs-deep)}
body.webs-theme :is(.webs-native-page,.webs-listing,.webs-not-found) h1{color:var(--webs-deep);font-size:clamp(35px,4.2vw,58px);font-weight:700;line-height:1.12;letter-spacing:-.05em;margin:0}
body.webs-theme :is(.webs-native-page,.webs-listing,.webs-not-found) h2{color:var(--webs-deep);font-size:clamp(24px,2.6vw,34px);line-height:1.2;letter-spacing:-.025em}
body.webs-theme :is(.webs-native-page,.webs-listing,.webs-not-found) p{color:var(--webs-body);line-height:1.85}
body.webs-theme .webs-article-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,270px);gap:56px;max-width:1140px}
body.webs-theme .webs-article-layout:has(>.webs-article:only-child){grid-template-columns:minmax(0,1fr);max-width:950px}
body.webs-theme .webs-page-heading{margin-bottom:42px}
body.webs-theme .webs-post-meta{color:#677da5;font-size:13px;margin-bottom:13px}
body.webs-theme .webs-entry-content{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
body.webs-theme .webs-entry-content a{color:var(--webs-blue)}
body.webs-theme .webs-entry-content :is(img,video,iframe){max-width:100%;height:auto;border-radius:12px}
body.webs-theme .webs-entry-content :is(h2,h3,h4){color:var(--webs-deep);margin:1.8em 0 .65em}
body.webs-theme .webs-entry-content :is(ul,ol){padding-left:1.5em;color:var(--webs-body)}
body.webs-theme .webs-listing-head{margin-bottom:38px}
body.webs-theme .webs-post-grid{display:grid;grid-template-columns:repeat(var(--webs-post-cols,3),minmax(0,1fr));gap:23px}
body.webs-theme .webs-post-card{border:1px solid #dce7ff;border-radius:17px;overflow:hidden;background:white;box-shadow:0 9px 30px #07246d0b}
body.webs-theme .webs-post-thumb{display:block;aspect-ratio:16/10;overflow:hidden;background:#edf4ff}
body.webs-theme .webs-post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
body.webs-theme .webs-post-thumb:hover img{transform:scale(1.035)}
body.webs-theme .webs-post-body{padding:22px}
body.webs-theme .webs-post-body h2{font-size:20px;margin:10px 0}
body.webs-theme .webs-post-body h2 a{color:var(--webs-deep);text-decoration:none}
body.webs-theme .webs-post-body h2 a:hover{color:var(--webs-blue)}
body.webs-theme .webs-post-body p{font-size:14px;line-height:1.65}
body.webs-theme .webs-read-more{display:inline-block;color:var(--webs-blue);font-weight:700;text-decoration:none;margin-top:10px;font-size:13px}
body.webs-theme .webs-single-cover{overflow:hidden;border-radius:20px;margin:30px 0}
body.webs-theme .webs-single-cover img{width:100%;height:auto;display:block}
body.webs-theme .webs-sidebar .webs-widget{border:1px solid #e2ebff;padding:23px;border-radius:16px;margin-bottom:24px}
body.webs-theme .webs-sidebar a{color:var(--webs-blue)}
body.webs-theme .webs-not-found{text-align:center;padding:110px 0 130px}
body.webs-theme .webs-not-found .webs-eyebrow{color:var(--webs-blue);font-weight:700;font-size:24px}
body.webs-theme .webs-not-found p{margin:22px auto 28px;max-width:550px}
body.webs-theme .webs-404-search{margin:30px auto;max-width:500px}
body.webs-theme .webs-comments{margin-top:65px}
body.webs-theme .navigation.pagination{margin-top:45px}
body.webs-theme .navigation.pagination .page-numbers{color:var(--webs-deep);border:1px solid #dce7ff;padding:10px 15px;border-radius:8px;margin-right:5px;text-decoration:none}
body.webs-theme .navigation.pagination .page-numbers.current{background:var(--webs-blue);color:#fff}
@media(max-width:1000px){body.webs-theme .webs-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.webs-theme .webs-article-layout{display:block}body.webs-theme .webs-sidebar{margin-top:40px}}
@media(max-width:620px){body.webs-theme .webs-post-grid{grid-template-columns:1fr}body.webs-theme .webs-native-page,body.webs-theme .webs-listing{padding:40px 0 70px}}

/* Webs.vn native WordPress Post system, deliberately namespaced outside Page Builder BODY. */
body.webs-theme .webs-blog-layout{display:grid;grid-template-columns:minmax(220px,275px) minmax(0,1fr);gap:42px;align-items:start}
body.webs-theme .webs-blog-primary{min-width:0}
body.webs-theme .webs-post-listing .webs-post-grid,
body.webs-theme .webs-related-section .webs-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.webs-theme .webs-blog-sidebar{min-width:0;align-self:start}
body.webs-theme .webs-blog-sidebar .webs-widget{margin:0 0 22px;padding:22px;background:#fff;border:1px solid #dce7ff;border-radius:16px;box-shadow:0 10px 28px rgba(1,36,240,.045)}
body.webs-theme .webs-blog-sidebar .webs-widget h2,
body.webs-theme .webs-blog-sidebar .webs-widget h3{color:var(--webs-deep);font-size:18px;line-height:1.4;letter-spacing:-.025em;margin:0 0 16px;font-weight:700}
body.webs-theme .webs-blog-category-list,
body.webs-theme .webs-blog-latest-list{padding:0;margin:0;list-style:none}
body.webs-theme .webs-blog-category-list li+li{border-top:1px solid #edf2ff}
body.webs-theme .webs-blog-category-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;color:var(--webs-deep);font-size:14px;text-decoration:none;line-height:1.5}
body.webs-theme .webs-blog-category-list a:hover,
body.webs-theme .webs-blog-category-list a[aria-current="page"]{color:var(--webs-blue)}
body.webs-theme .webs-category-count{flex:0 0 auto;color:#526f9e;background:#f1f6ff;min-width:28px;padding:3px 7px;text-align:center;border-radius:30px;font-size:12px}
body.webs-theme .webs-blog-latest-list li+li{border-top:1px solid #edf2ff}
body.webs-theme .webs-blog-latest-list a{display:flex;gap:12px;align-items:start;padding:12px 0;color:var(--webs-deep);text-decoration:none}
body.webs-theme .webs-latest-thumb{width:74px;height:62px;flex:0 0 74px;object-fit:cover;border-radius:9px}
body.webs-theme .webs-latest-copy{min-width:0;display:block;flex:1}
body.webs-theme .webs-latest-copy strong{color:var(--webs-deep);font-size:13px;line-height:1.45;display:block;font-weight:650}
body.webs-theme .webs-latest-copy small{color:#617a9d;font-size:11px;display:block;margin-top:5px}
body.webs-theme .webs-blog-latest-list a:hover strong{color:var(--webs-blue)}
body.webs-theme .webs-post-listing .webs-post-body :is(h2,h3),
body.webs-theme .webs-related-section .webs-post-body :is(h2,h3){color:var(--webs-deep);font-size:20px;line-height:1.4;font-weight:700;letter-spacing:-.025em;margin:10px 0}
body.webs-theme .webs-post-listing .webs-post-card,
body.webs-theme .webs-related-section .webs-post-card{min-width:0}
body.webs-theme .webs-post-single .webs-blog-primary{min-width:0}
body.webs-theme .webs-post-single .webs-article{max-width:100%;min-width:0}
body.webs-theme .webs-related-section{padding-top:40px;margin-top:44px;border-top:1px solid #dce7ff}
body.webs-theme .webs-related-section>h2{color:var(--webs-deep);font-size:30px;line-height:1.2;letter-spacing:-.035em;margin:0 0 25px}
body.webs-theme .webs-archive-description{max-width:870px}
body.webs-theme .webs-post-single .webs-entry-content :is(table,pre){max-width:100%;overflow-x:auto}
body.webs-theme .webs-post-single .webs-post-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:35px}
body.webs-theme .webs-post-single .webs-post-tags a{color:var(--webs-deep);background:#f1f6ff;padding:6px 12px;border-radius:20px;text-decoration:none;font-size:13px}
body.webs-theme .webs-post-single .webs-page-heading{margin-bottom:25px}
@media(max-width:1100px){body.webs-theme .webs-blog-layout{grid-template-columns:minmax(200px,245px) minmax(0,1fr);gap:25px}}
@media(max-width:800px){body.webs-theme .webs-blog-layout{grid-template-columns:minmax(0,1fr)}body.webs-theme .webs-blog-sidebar{order:1}body.webs-theme .webs-blog-primary{order:0}}
@media(max-width:620px){body.webs-theme .webs-post-listing .webs-post-grid,body.webs-theme .webs-related-section .webs-post-grid{grid-template-columns:minmax(0,1fr);gap:16px}body.webs-theme .webs-related-section>h2{font-size:26px}}


/* Webs.vn v1.0.5: Native WordPress Posts (NOT Page Builder) — stable centered grid. */
body.webs-theme .webs-post-single,
body.webs-theme .webs-post-listing{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  overflow:clip;
}
/* Avoid inherited global .container / .row rules collapsing the post content to x:0. */
body.webs-theme .webs-post-single > .webs-post-shell,
body.webs-theme .webs-post-listing > .webs-post-shell{
  display:block!important;
  float:none!important;
  position:relative;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:1250px!important;
  min-width:0!important;
  padding-inline:28px!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body.webs-theme .webs-post-single > .webs-post-shell > .webs-blog-layout,
body.webs-theme .webs-post-listing .webs-post-shell > .webs-blog-layout{
  display:grid!important;
  grid-template-columns:minmax(220px,270px) minmax(0,1fr)!important;
  gap:clamp(24px,3vw,44px)!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0;
  float:none!important;
  margin:0!important;
  align-items:start;
}
body.webs-theme .webs-post-single .webs-post-content-column,
body.webs-theme .webs-post-single .webs-blog-sidebar,
body.webs-theme .webs-post-listing .webs-blog-primary,
body.webs-theme .webs-post-listing .webs-blog-sidebar{
  position:relative;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  float:none!important;
  margin-inline:0!important;
  transform:none!important;
}
body.webs-theme .webs-post-single .webs-post-content-column > .webs-article,
body.webs-theme .webs-post-single .webs-entry-content{
  width:100%!important;
  min-width:0;
  max-width:100%!important;
  float:none!important;
  margin-inline:0!important;
}
/* Imported HTML inside the_content() of a *Post* must not create another viewport-wide layout. */
body.single-post.webs-theme .webs-entry-content .article-layout.container,
body.single-post.webs-theme .webs-entry-content .article-heading > .container,
body.single-post.webs-theme .webs-entry-content .article-cover > .container{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  left:auto!important;
  transform:none!important;
}
body.single-post.webs-theme .webs-entry-content :is(.wp-block-group,.wp-block-columns,.wp-block-column,.wp-block-image,figure,.alignfull,.alignwide){
  max-width:100%;
  min-width:0;
}
body.single-post.webs-theme .webs-entry-content .alignfull{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.webs-theme .webs-post-single .webs-related-section{width:100%;max-width:100%;margin-inline:0}
body.webs-theme .webs-post-single .webs-related-section .webs-post-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px;
  width:100%;
}
@media(max-width:850px){
  body.webs-theme .webs-post-single > .webs-post-shell > .webs-blog-layout,
  body.webs-theme .webs-post-listing .webs-post-shell > .webs-blog-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:32px!important;
  }
  body.webs-theme .webs-post-single .webs-post-content-column,
  body.webs-theme .webs-post-listing .webs-blog-primary{order:0}
  body.webs-theme .webs-post-single .webs-blog-sidebar,
  body.webs-theme .webs-post-listing .webs-blog-sidebar{order:1}
}
@media(max-width:640px){
  body.webs-theme .webs-post-single > .webs-post-shell,
  body.webs-theme .webs-post-listing > .webs-post-shell{padding-inline:18px!important}
  body.webs-theme .webs-post-single .webs-related-section .webs-post-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px;
  }
}
