/* MeetOS 1.1.0 integration only. The original MeetOS V4 design remains in combined.css. */
:root { --meetos-native-text:#151515; --meetos-native-secondary:#666; --meetos-native-bg:#eeeeec; }
.meetos-wp-theme,.meetos-wp-theme input,.meetos-wp-theme textarea,.meetos-wp-theme select,.meetos-wp-theme button {font-family:"Plus Jakarta One","Plus Jakarta Sans",Arial,sans-serif !important;}
.meetos-wp-theme .brand .meetos-brand-name{line-height:1.1;white-space:nowrap}
.meetos-wp-theme .meetos-site-logo{max-width:182px;max-height:60px;width:auto;height:auto;object-fit:contain;display:block}
.meetos-wp-theme .footer-logo{display:inline-flex;align-items:center;gap:12px;max-width:100%}
.meetos-wp-theme .footer-logo .brand-symbol{width:26px;height:26px}
.meetos-wp-theme .footer-logo .meetos-site-logo{max-width:190px;max-height:65px}
.meetos-wp-theme .desktop-nav{flex:1;justify-content:flex-end;margin-left:35px;margin-right:43px}
.meetos-wp-theme .meetos-nav-list{display:flex;align-items:center;gap:35px;list-style:none;margin:0;padding:0}
.meetos-wp-theme .meetos-nav-list > li {position:relative;list-style:none;margin:0;padding:0}
.meetos-wp-theme .desktop-nav .meetos-nav-list a{font-size:14px;font-weight:400;color:#2f2f2f}
.meetos-wp-theme .desktop-nav .current-menu-item>a,.meetos-wp-theme .desktop-nav .current_page_item>a,.meetos-wp-theme .desktop-nav [aria-current="page"],.meetos-wp-theme .desktop-nav a:hover{color:#151515}
.meetos-wp-theme .desktop-nav .current-menu-item>a::after,.meetos-wp-theme .desktop-nav .current_page_item>a::after{right:0}
.meetos-wp-theme .desktop-nav .sub-menu{display:none;position:absolute;left:0;top:100%;width:max-content;min-width:210px;max-width:320px;padding:15px;background:#fff;box-shadow:0 8px 22px rgba(21,21,21,.12);border-radius:14px;z-index:200;list-style:none}
.meetos-wp-theme .desktop-nav li:hover>.sub-menu,.meetos-wp-theme .desktop-nav li:focus-within>.sub-menu{display:grid;gap:13px}
.meetos-wp-theme .mobile-menu>.meetos-nav-list{display:flex;flex-direction:column;align-items:stretch;gap:15px}
.meetos-wp-theme .mobile-menu li{padding:0}
.meetos-wp-theme .mobile-menu .sub-menu{display:grid;gap:12px;margin:14px 0 4px;padding:0 0 0 18px;list-style:none;border-left:1px solid #ddd}
.meetos-wp-theme .mobile-menu .sub-menu a{font-size:17px}
.meetos-wp-theme .mobile-menu .meetos-mobile-cta{display:inline-flex;margin-top:10px;font-size:16px;padding:11px 16px;width:max-content;border-radius:30px;background:#151515;color:#fff}
.meetos-wp-theme .mobile-menu[inert]{pointer-events:none}
.meetos-wp-theme .footer-links ul.meetos-nav-list{display:flex;flex-direction:column;gap:8px;align-items:start}
.meetos-wp-theme .footer-links .sub-menu{margin-left:12px;display:grid;gap:6px;list-style:none}
.meetos-wp-theme .footer-brand>p{max-width:340px}
.meetos-wp-theme .footer-bottom span:nth-child(2){max-width:360px;white-space:normal}
.meetos-native-heading{padding-top:90px;padding-bottom:50px}
.meetos-native-heading>.eyebrow{margin-bottom:22px}
.meetos-wp-theme .meetos-page-h1{font-size:clamp(42px,5.3vw,74px);font-weight:500;line-height:1.12;letter-spacing:-.047em;max-width:940px;margin:0 0 24px;color:#151515}
.meetos-native-heading>p{font-size:18px;line-height:1.6;max-width:680px;color:#666}
.meetos-native-cover{height:clamp(300px,42vw,590px);overflow:hidden;border-radius:24px;margin-bottom:72px}
.meetos-native-cover img{width:100%;height:100%;object-fit:cover}
.meetos-native-content{max-width:890px;margin:0 auto 115px;font-size:17px;line-height:1.8}
.meetos-native-content :is(p,ul,ol,blockquote,figure,table){margin-bottom:26px}
.meetos-native-content :is(h2,h3,h4){font-weight:500;line-height:1.22;letter-spacing:-.025em;margin-top:45px;margin-bottom:22px}
.meetos-native-content h2{font-size:clamp(29px,3vw,39px)}
.meetos-native-content h3{font-size:clamp(24px,2.3vw,30px)}
.meetos-native-content a:not(.button){text-decoration:underline;text-underline-offset:3px}
.meetos-native-content img{max-width:100%;height:auto;border-radius:16px}
.meetos-native-content blockquote{border-left:3px solid #7c5836;padding:20px 25px;background:#fff;border-radius:0 14px 14px 0}
.meetos-native-content table{width:100%;border-collapse:collapse}
.meetos-native-content :is(th,td){border:1px solid #ddd;padding:12px;text-align:left}
.meetos-native-content .wp-block-columns{gap:25px}
.meetos-post-tail{margin-bottom:80px;font-size:14px;color:#666}
.meetos-post-tail a{text-decoration:underline;text-underline-offset:3px}
.meetos-post-tags{margin-top:12px}
.meetos-article-meta{display:flex;align-items:center;gap:20px;color:#666;font-size:14px;margin-bottom:25px}
.meetos-archive-list{padding-bottom:115px}
.meetos-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.meetos-post-card{min-width:0;background:#fff;border-radius:24px;overflow:hidden;transition:transform .3s,box-shadow .3s}
.meetos-post-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px rgba(21,21,21,.1)}
.meetos-post-image{display:block;aspect-ratio:1.3;background:#bcaea0;overflow:hidden}
.meetos-post-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s}
.meetos-post-card:hover .meetos-post-image img{transform:scale(1.035)}
.meetos-post-card-body{padding:24px 24px 29px}
.meetos-post-meta{font-size:12px;color:#777;margin-bottom:12px}
.meetos-post-card-body h2{font-size:clamp(21px,2vw,26px);font-weight:500;line-height:1.25;margin:0 0 13px;letter-spacing:-.025em}
.meetos-post-card-body p{font-size:14px;line-height:1.6;color:#666;margin-bottom:25px}
.meetos-read-more{border-bottom:1px solid #151515;padding-bottom:4px;font-size:14px}
.meetos-wp-theme .navigation.pagination{margin:55px 0}
.meetos-wp-theme .nav-links{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.meetos-wp-theme .page-numbers{padding:9px 14px;min-width:42px;text-align:center;border:1px solid #d7d7d7;border-radius:8px}
.meetos-wp-theme .page-numbers.current{background:#151515;color:#fff;border-color:#151515}
.meetos-search-form{display:grid;gap:12px;max-width:540px;margin:28px 0 55px}
.meetos-search-row{display:flex;gap:10px}
.meetos-search-row input{flex:1;min-width:0;padding:15px 18px;border:1px solid #d0d0d0;background:#fff;border-radius:32px}
.meetos-search-row button{padding:13px 23px;background:#151515;color:#fff;border:0;border-radius:32px;cursor:pointer}
.meetos-error-search{margin-top:55px}
.meetos-error-search .meetos-search-form{margin:0}
/* Do not style imported grids at all: RED controls their fixed column counts. */
@media(max-width:1100px){.meetos-wp-theme .desktop-nav .meetos-nav-list{gap:20px}.meetos-wp-theme .desktop-nav{margin:0 23px}}
@media(max-width:900px){.meetos-wp-theme .desktop-nav{display:none}.meetos-wp-theme .mobile-menu{max-height:calc(100dvh - 70px);overflow-y:auto}.meetos-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.meetos-wp-theme .meetos-post-grid{grid-template-columns:1fr}.meetos-native-heading{padding-top:65px;padding-bottom:30px}.meetos-native-heading>p{font-size:16px}.meetos-native-cover{height:280px;border-radius:16px;margin-bottom:40px}.meetos-native-content{font-size:16px;margin-bottom:80px}.meetos-search-row{flex-direction:column}.meetos-search-row button{min-height:44px}.meetos-wp-theme .footer-bottom span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.meetos-post-card,.meetos-post-image img{transition:none!important}}

/* MeetOS Theme 1.2: accessible 3-tier desktop/mobile menu and mobile navigation. */
.meetos-wp-theme .desktop-nav{min-width:0}
.meetos-wp-theme .desktop-nav .meetos-nav-list{gap:clamp(12px,2vw,30px)}
.meetos-wp-theme .desktop-nav .meetos-nav-list>li{display:flex;align-items:center;gap:4px;position:relative;padding:12px 0}
.meetos-wp-theme .desktop-nav .meetos-nav-list li.menu-item-has-children{position:relative}
.meetos-wp-theme .meetos-submenu-toggle{appearance:none;border:0;box-shadow:none;background:transparent;color:#151515;width:22px;height:28px;padding:0;cursor:pointer;display:inline-grid;place-items:center;font-size:17px;line-height:1;border-radius:5px;flex:0 0 auto}
.meetos-wp-theme .meetos-submenu-toggle:focus-visible{outline:2px solid #151515;outline-offset:2px}
.meetos-wp-theme .desktop-nav .sub-menu{display:none;visibility:hidden;opacity:0;position:absolute;left:0;top:calc(100% - 2px);min-width:210px;width:max-content;max-width:300px;padding:12px;gap:0;background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 12px 28px rgba(21,21,21,.14);z-index:250;list-style:none;transform:none;pointer-events:auto}
.meetos-wp-theme .desktop-nav li:hover>.sub-menu,.meetos-wp-theme .desktop-nav li:focus-within>.sub-menu,.meetos-wp-theme .desktop-nav li.is-expanded>.sub-menu{display:block;visibility:visible;opacity:1}
.meetos-wp-theme .desktop-nav .sub-menu li{position:relative;display:flex;align-items:center;justify-content:space-between;min-width:0;padding:0;margin:0}
.meetos-wp-theme .desktop-nav .sub-menu a{display:block;flex:1;min-width:0;padding:10px 9px;white-space:normal;font-size:14px;line-height:1.4;border-radius:6px}
.meetos-wp-theme .desktop-nav .sub-menu a::after{display:none}
.meetos-wp-theme .desktop-nav .sub-menu li:hover>a,.meetos-wp-theme .desktop-nav .sub-menu li:focus-within>a{background:#f4f4f2}
.meetos-wp-theme .desktop-nav .sub-menu .sub-menu{left:calc(100% - 3px);top:-12px}
.meetos-wp-theme .desktop-nav .sub-menu .meetos-submenu-toggle{margin-right:5px}
.meetos-header-search{display:none}
.meetos-wp-theme .meetos-mobile-bottom{display:none}
.meetos-wp-theme .meetos-zalo-float{position:fixed;right:20px;bottom:22px;z-index:220;display:flex;gap:7px;align-items:center;padding:10px 13px;border-radius:999px;background:#0068ff;color:white;font-size:13px;font-weight:600;box-shadow:0 8px 22px rgba(0,55,155,.22);text-decoration:none}
.meetos-wp-theme .meetos-zalo-float span:first-child{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff;color:#0068ff;font-weight:700}
@media(max-width:900px){
 .meetos-wp-theme{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}
 .meetos-wp-theme .site-header .header-inner{display:flex;align-items:center;gap:10px}
 .meetos-wp-theme .site-header .brand{margin-right:auto;flex:0 1 auto;min-width:0}
 .meetos-wp-theme .header-inner>.nav-cta{display:none}
 .meetos-wp-theme .meetos-header-search{display:block;flex:1 1 140px;min-width:92px;max-width:250px;margin-left:auto}
 .meetos-wp-theme .meetos-header-search input{width:100%;height:38px;border:1px solid #d2d2cf;background:#fff;border-radius:25px;padding:0 13px;font-size:13px;color:#151515;outline-offset:2px}
 .meetos-wp-theme .menu-toggle{flex:none;margin:0;border-radius:9px;width:39px;height:39px}
 .meetos-wp-theme .mobile-menu{z-index:210;max-height:calc(100dvh - 144px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;padding:18px 24px 27px}
 .meetos-wp-theme .mobile-menu>.meetos-nav-list{display:block;list-style:none;padding:0;margin:0}
 .meetos-wp-theme .mobile-menu .meetos-nav-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #dededb;padding:7px 0}
 .meetos-wp-theme .mobile-menu .meetos-nav-list li>a{font-size:17px;letter-spacing:0;flex:1;padding:7px 3px}
 .meetos-wp-theme .mobile-menu .meetos-submenu-toggle{width:44px;height:44px;font-size:22px;transition:transform .2s}
 .meetos-wp-theme .mobile-menu li.is-expanded>.meetos-submenu-toggle{transform:rotate(45deg)}
 .meetos-wp-theme .mobile-menu .sub-menu{display:none;flex:0 0 100%;width:100%;border-left:2px solid #dededb;padding:0 0 0 15px;margin:3px 0 9px}
 .meetos-wp-theme .mobile-menu li.is-expanded>.sub-menu{display:block}
 .meetos-wp-theme .mobile-menu .sub-menu li:last-child{border-bottom:0}
 .meetos-wp-theme .mobile-menu .sub-menu a{font-size:15px;line-height:1.4}
 .meetos-wp-theme .meetos-mobile-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:205;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);box-shadow:0 -4px 17px rgba(0,0,0,.08);border-top:1px solid #e8e8e6;height:calc(62px + env(safe-area-inset-bottom,0px));padding:4px 5px env(safe-area-inset-bottom,0px)}
 .meetos-wp-theme .meetos-bottom-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:500;color:#343434;line-height:1.15;border-radius:8px;padding:3px 0;text-decoration:none}
 .meetos-wp-theme .meetos-bottom-link svg{width:22px;height:22px;display:block}
 .meetos-wp-theme .meetos-bottom-link.is-current{color:#ff0000}
 .meetos-wp-theme .meetos-zalo-float{bottom:calc(76px + env(safe-area-inset-bottom,0px));right:12px;z-index:206;padding:9px 11px}
 .meetos-wp-theme .motion-panel{bottom:calc(80px + env(safe-area-inset-bottom,0px));right:100px}
}
@media(max-width:480px){
 .meetos-wp-theme .site-header .brand .meetos-brand-name{font-size:19px}
 .meetos-wp-theme .site-header .brand-symbol{width:22px;height:22px}
 .meetos-wp-theme .site-header .meetos-site-logo{max-width:112px;max-height:40px}
 .meetos-wp-theme .meetos-header-search input{height:35px;font-size:12px;padding:0 11px}
 .meetos-wp-theme .header-inner{gap:8px}
}


/* 1.2.1 — H1 belongs to WordPress Page title but must NEVER add a section,
   padding, visible row or margin ahead of the first Builder Section. */
.meetos-wp-theme .meetos-seo-h1,
.red-builder-output > .meetos-seo-h1,
#main > .meetos-seo-h1 {
  position:absolute !important;
  width:1px !important;height:1px !important;
  margin:0 !important;padding:0 !important;border:0 !important;
  overflow:hidden !important;white-space:nowrap !important;
  clip:rect(0,0,0,0) !important;clip-path:inset(50%) !important;
  left:-9999px !important;top:0 !important;line-height:0 !important;
}
/* Safe fallback for *truly* empty placeholder Sections only. Real content,
   background-media and edit-mode dropzones are never changed here. */
.red-builder-output:not(.bvb-edit-mode) > section[data-bvb-section]:empty,
.red-builder-output:not(.bvb-edit-mode) > .red-section:empty {display:none !important;}


/* 1.2.1 — readable dark CTA text/icons (normal + hover + keyboard focus).
   Only target explicit dark/filled controls; keep the source design untouched. */
.meetos-wp-theme :is(.nav-cta,.button-dark,.plan-btn,.meetos-mobile-cta,.meetos-search-row button,.category-tabs a.selected),
.red-builder-output :is(a.button-dark,button.button-dark,.plan-btn,.nav-cta,.meetos-mobile-cta,.category-tabs a.selected),
.red-builder-output :is(a.button-line,button.button-line):hover,
#bvb-canvas :is(a.button-dark,button.button-dark,.plan-btn,.nav-cta,.category-tabs a.selected),
#bvb-canvas :is(a.button-line,button.button-line):hover {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.meetos-wp-theme :is(.nav-cta,.button-dark,.plan-btn,.meetos-mobile-cta,.meetos-search-row button,.category-tabs a.selected) :is(span,strong,small,i,b,svg),
.red-builder-output :is(.nav-cta,.button-dark,.plan-btn,.meetos-mobile-cta,.category-tabs a.selected,.button-line:hover) :is(span,strong,small,i,b,svg),
#bvb-canvas :is(.nav-cta,.button-dark,.plan-btn,.category-tabs a.selected,.button-line:hover) :is(span,strong,small,i,b,svg){color:inherit !important;-webkit-text-fill-color:inherit !important;}
.meetos-wp-theme :is(.nav-cta,.button-dark,.plan-btn,.meetos-mobile-cta):hover,
.meetos-wp-theme :is(.nav-cta,.button-dark,.plan-btn,.meetos-mobile-cta):focus-visible,
.red-builder-output :is(.nav-cta,.button-dark,.plan-btn):is(:hover,:focus-visible),
#bvb-canvas :is(.nav-cta,.button-dark,.plan-btn):is(:hover,:focus-visible){color:#fff !important;-webkit-text-fill-color:#fff !important;}
/* On the dark end-banner the outline CTA reverses to white with DARK text. */
.meetos-wp-theme .end-banner .button-line:hover,
.red-builder-output .end-banner .button-line:hover,
#bvb-canvas .end-banner .button-line:hover {color:#151515 !important;-webkit-text-fill-color:#151515 !important;}
.meetos-wp-theme .end-banner .button-line:hover :is(span,strong,i,svg),
.red-builder-output .end-banner .button-line:hover :is(span,strong,i,svg),
#bvb-canvas .end-banner .button-line:hover :is(span,strong,i,svg){color:#151515 !important;-webkit-text-fill-color:#151515 !important;}

/* v1.2.2: no extra layout row outside the first actual Builder section.
   Flow-root prevents a first child's margin from collapsing through <main>.
   Does not reset intentional padding *inside* the original Hero/Section. */
.meetos-wp-theme main.red-builder-full-canvas,
.meetos-wp-theme main.rvb-frontend-canvas {
  display:flow-root;
  padding-block-start:0;
  margin-block-start:0;
}
/* Older imported Pages can carry margin on their first top-level Section.
   Remove ONLY that external margin, never the Section's internal hero padding. */
.meetos-wp-theme main.red-builder-full-canvas > section:first-of-type,
.meetos-wp-theme main.red-builder-full-canvas > div[data-bvb-section]:first-of-type,
.meetos-wp-theme main.rvb-frontend-canvas > section:first-of-type,
.meetos-wp-theme main.rvb-frontend-canvas > div[data-bvb-section]:first-of-type {
  margin-block-start:0 !important;
}
