/* console777 critical above-fold (mobile-first) — keep tiny */
html{scroll-behavior:smooth}
html,body{margin:0;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111;background:#fff}
body.mobile-menu-open{overflow:hidden;touch-action:none}
#outer-wrap,#wrap{max-width:100%!important;width:100%!important;margin:0!important;box-shadow:none!important}
img,video,iframe,svg{max-width:100%;height:auto}
#site-header{background:#f58428;color:#fff;position:relative;z-index:100}
#site-header a{color:#fff;text-decoration:none}
#site-header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1140px;margin:0 auto;padding:8px 15px;box-sizing:border-box;gap:12px}
#site-navigation .main-menu{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;gap:4px 12px;align-items:center}
#site-navigation .main-menu>li{position:relative;list-style:none}
#site-navigation .sub-menu{display:none;position:absolute;top:100%;left:0;list-style:none;padding:8px 0;margin:0;min-width:200px;box-shadow:0 8px 24px rgba(0,0,0,.12);border-radius:8px}
.elementor-button-wrapper{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:12px 0 20px}
.elementor-heading-title{font-size:clamp(1.15rem,3.5vw,1.6rem);line-height:1.35;margin:12px 0 8px}
.elementor-widget-text-editor{font-size:16px;line-height:1.7;color:#222}
.site-footer,#footer{padding:20px 15px calc(20px + env(safe-area-inset-bottom,0px));background:#1f2937;color:#d1d5db;font-size:14px;text-align:center}
.site-footer a,#footer a{color:#fbbf24}
#console777-soft-article,#console777-faq,.elementor-element-e4738df ~ .e-con{content-visibility:auto;contain-intrinsic-size:1px 640px}
/* App dropdown: dark text on white panel (do not inherit header white) */
#site-header .sub-menu{
  background:#fff!important;
  min-width:200px;
  z-index:10000;
}
#site-header .sub-menu a,
#site-header .sub-menu a.menu-link,
#site-header .sub-menu .text-wrap{
  color:#222!important;
  background:transparent;
}
#site-header .sub-menu a:hover,
#site-header .sub-menu a.menu-link:hover,
#site-header .sub-menu a:hover .text-wrap{
  color:#f58428!important;
  background:#f8f8f8!important;
}
/* Extra specificity vs OceanWP main.css */
html body #site-header .sub-menu a,
html body #site-header #mobile-dropdown a{color:#222!important}
#site-header #mobile-dropdown{
  background:#fff;
  max-height:min(70vh,520px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
#site-header #mobile-dropdown a{
  color:#222!important;
  min-height:44px;
  display:flex;
  align-items:center;
  padding:12px 16px;
  font-size:16px;
  line-height:1.3;
}
#site-header #mobile-dropdown .sub-menu a{padding-left:28px;font-size:15px}
#site-logo img,#site-logo .custom-logo{max-height:52px;width:auto;height:auto;border-radius:8px;object-fit:contain;background:#fff}
.oceanwp-mobile-menu-icon .mobile-menu{
  min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box
}
.hamburger-box{width:22px;height:18px;display:inline-block;position:relative}
.elementor-16 .elementor-element-4a12004 .e-con-inner{max-width:1140px;margin:0 auto;padding:10px 15px;box-sizing:border-box}
.elementor-image-carousel-wrapper,.swiper{max-width:1140px;margin:0 auto;overflow:hidden;aspect-ratio:16/9;border-radius:4px}
.elementor-image-carousel img,.swiper-slide img{width:100%;height:100%;display:block;object-fit:cover;background:#e5e7eb}
.elementor-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:8px;background:#f58428;color:#fff!important;font-weight:700;text-decoration:none}
#console777-soft-article,#console777-faq .console777-faq-inner,#console777-inline-links{max-width:1140px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;box-sizing:border-box}
#console777-faq{background:#f8fafc;padding:40px 0}
#console777-soft-article h2{font-size:clamp(1.25rem,4vw,1.75rem)!important;line-height:1.3;margin-bottom:12px!important}
#console777-soft-article{font-size:16px!important;line-height:1.7!important}

/* Sticky mobile download CTA — Google BR mobile conversion */
.console777-mobile-cta{
  display:none;
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:9998;
  gap:8px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(255,255,255,.96);
  border-top:1px solid #e5e7eb;
  box-shadow:0 -4px 16px rgba(0,0,0,.08);
  backdrop-filter:blur(8px);
}
.console777-mobile-cta a{
  flex:1 1 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 12px;
  border-radius:10px;
  background:#c62828;
  color:#fff!important;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  text-align:center;
}
.console777-mobile-cta a.cta-ios{background:#1565c0}
@media (max-width:991px){
  .console777-mobile-cta{display:flex}
  body{padding-bottom:72px}
  #scroll-top.scroll-top-right{bottom:88px}
  #site-header.minimal-header #site-navigation-wrap{display:none}
  .oceanwp-mobile-menu-icon{display:block}
}

/* Blog above-fold (list + article) */
body.blog .page-header{background:#fff;border-bottom:1px solid #eee;padding:18px 0;margin-bottom:24px}
body.blog .page-header .container,body.blog #content-wrap.container{max-width:1140px;margin:0 auto;padding:0 15px;box-sizing:border-box}
body.blog .page-header-title{display:block;font-size:clamp(1.25rem,2.5vw,1.75rem);font-weight:700;margin:0 0 10px;color:#222;line-height:1.3}
body.blog #content-wrap{display:flex;flex-wrap:wrap;gap:24px}
body.blog #primary{flex:1 1 640px;min-width:0}
body.blog #right-sidebar{flex:0 1 300px}
body.blog .blog-entries{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
body.blog .blog-entry img,body.blog .thumbnail img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block;background:#e5e7eb;border-radius:4px}
body.blog .blog-entry-title{font-size:1.05rem;line-height:1.35;margin:.6rem 0 .4rem}
body.blog .blog-entry-summary{color:#444;font-size:.95rem;line-height:1.5}
body.blog .cms-download-btns{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 20px}
body.blog .cms-download-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:8px;background:#f58428;color:#fff!important;font-weight:700;text-decoration:none}
@media (max-width:640px){
  body.blog #content-wrap{flex-direction:column;gap:16px}
  body.blog #right-sidebar{flex:1 1 auto;width:100%}
  body.blog .blog-entries{grid-template-columns:1fr}
  .elementor-heading-title{word-wrap:break-word;overflow-wrap:anywhere}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}
