/* R7 critical above-fold (mobile-first) — keep tiny */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111;background:#fff;overflow-x:clip;-webkit-tap-highlight-color:rgba(245,132,40,.18)}
img,video{max-width:100%;height:auto}
a,button{touch-action:manipulation}
#outer-wrap,#wrap{max-width:100%!important;width:100%!important;margin:0!important;box-shadow:none!important;overflow-x:clip}
#site-header{background:#f58428;color:#fff;position:sticky;top:0;z-index:1000;transition:box-shadow .2s ease}
#site-header.is-sticky{box-shadow:0 2px 12px rgba(0,0,0,.14)}
#site-header a{color:#fff;text-decoration:none}
/* Desktop App dropdown: white panel needs dark text (override #site-header a) */
#site-navigation .sub-menu{
  position:absolute;left:0;top:100%;z-index:1001;min-width:180px;margin:0;padding:6px 0;
  list-style:none;background:#fff!important;border:1px solid #e5e7eb;border-radius:8px;
  box-shadow:0 8px 24px rgba(0,0,0,.12)
}
#site-navigation .sub-menu li{display:block;width:100%}
#site-navigation .sub-menu a,
#site-navigation .sub-menu a .text-wrap{
  display:block!important;color:#111!important;padding:10px 16px;min-height:40px;line-height:1.3;font-weight:600
}
#site-navigation .sub-menu a:hover,
#site-navigation .sub-menu a:hover .text-wrap{color:#f58428!important;background:#fff7ed}
#site-navigation .menu-item-has-children{position:relative}
#site-logo img{max-height:48px;width:auto;height:auto}
.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}
.hamburger{display:inline-block;cursor:pointer;background:transparent;border:0;padding:0;margin:0}
.hamburger-inner,.hamburger-inner::before,.hamburger-inner::after{
  width:22px;height:2px;background:#fff;border-radius:2px;position:absolute;transition:transform .2s ease,top .2s ease,bottom .2s ease,background .2s ease
}
.hamburger-inner{display:block;top:50%;margin-top:-1px;left:0}
.hamburger-inner::before,.hamburger-inner::after{content:"";display:block;left:0}
.hamburger-inner::before{top:-7px}
.hamburger-inner::after{bottom:-7px}
.hamburger.is-active .hamburger-inner{background:transparent}
.hamburger.is-active .hamburger-inner::before{top:0;transform:rotate(45deg)}
.hamburger.is-active .hamburger-inner::after{bottom:0;transform:rotate(-45deg)}
/* Dead search UI (no backend) — keep header clean on mobile */
#site-header .search-toggle-li,.mobile-searchform{display:none!important}
/* Mobile-first: hide desktop nav before deferred CSS loads (avoids FOUC) */
@media (max-width:1023px){
  #site-navigation-wrap{display:none!important}
  .oceanwp-mobile-menu-icon{display:block}
}
@media (min-width:1024px){
  .oceanwp-mobile-menu-icon{display:none!important}
}
#mobile-dropdown{display:none;background:#fff;color:#111;border-bottom:1px solid #e5e7eb}
#mobile-dropdown .menu{list-style:none;margin:0;padding:8px 0}
#mobile-dropdown .menu > li > a{
  display:flex;align-items:center;min-height:48px;padding:12px 18px;color:#111!important;font-weight:600;border-bottom:1px solid #f3f4f6
}
#mobile-dropdown .sub-menu{list-style:none;margin:0;padding:0 0 0 12px;background:#fafafa}
#mobile-dropdown .sub-menu a{display:flex;min-height:44px;padding:10px 18px;color:#333!important}
body.mobile-menu-open{overflow:hidden;touch-action:none}
.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;content-visibility:auto;contain-intrinsic-size:640px 360px}
.elementor-image-carousel img,.swiper-slide img,.swiper-slide picture{width:100%;height:100%;display:block}
.swiper-slide picture{line-height:0}
.elementor-image-carousel img,.swiper-slide img{object-fit:cover;background:#e5e7eb}
.elementor-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:8px;background:#f58428;color:#fff!important;font-weight:700;text-decoration:none;width:100%;max-width:320px;box-sizing:border-box}
.elementor-button-wrapper{display:flex;justify-content:center;margin:6px 0}
#r7-soft-article,#r7-faq .r7-faq-inner,#r7-inline-links{max-width:1140px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;box-sizing:border-box}
#r7-soft-article{font-size:16px;line-height:1.75}
#r7-soft-article h2{font-size:clamp(1.25rem,4.5vw,1.75rem)!important;line-height:1.3;margin-bottom:12px!important}
#r7-faq{background:#f8fafc;padding:32px 0;content-visibility:auto;contain-intrinsic-size:800px 600px}
#r7-faq .r7-faq-item{margin:0 0 14px;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:10px}
#r7-faq h3{font-size:1.05rem;margin:0 0 8px;line-height:1.35}
@media (max-width:767px){
  #site-header-inner.container{padding:0 12px}
  .elementor-16 .elementor-element-4a12004 .e-con-inner{padding:8px 12px}
  #r7-soft-article{margin:24px 12px!important;padding:18px 14px!important}
  .elementor-button{max-width:100%}
}

/* 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;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border-radius:8px;background:#f58428;color:#fff!important;font-weight:700;text-decoration:none;flex:1 1 100%}
@media (max-width:991px){
  body.blog #primary,body.blog #right-sidebar{flex:1 1 100%;max-width:100%;width:100%;padding-right:0}
  body.blog .blog-entries{grid-template-columns:1fr;gap:16px}
}
