/* rico critical above-fold (mobile-first) — keep tiny */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111;background:#fff;overflow-x:hidden;-webkit-tap-highlight-color:transparent}
#outer-wrap,#wrap{max-width:100%!important;width:100%!important;margin:0!important;box-shadow:none!important;overflow-x:hidden}
img,video,iframe{max-width:100%;height:auto}
#site-header{background:#f58428;color:#fff;position:sticky;top:0;z-index:999}
#site-header a{color:#fff;text-decoration:none}
#site-header .sub-menu a,#site-header .sub-menu .menu-link,#site-header .sub-menu .text-wrap{color:#1f2937!important;background:#fff}
#site-logo .custom-logo-link{display:inline-flex;align-items:center;background:#0d0d0d;border-radius:8px;padding:3px 10px;line-height:0}
#site-logo img{max-height:44px;width:auto;height:auto;display:block}
.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;touch-action:manipulation
}
.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;touch-action:pan-y pinch-zoom}
.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;touch-action:manipulation}
#rico-soft-article,#rico-faq .rico-faq-inner,#rico-inline-links{max-width:1140px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;box-sizing:border-box}
#rico-faq{background:#f8fafc;padding:40px 0}
.seo-table-wrap,.elementor-widget-text-editor table{overflow-x:auto;-webkit-overflow-scrolling:touch;display:block;max-width:100%}
.elementor-heading-title{line-height:1.25;word-wrap:break-word}
#rico-soft-article,#rico-faq{content-visibility:auto;contain-intrinsic-size:auto 600px}
@media (max-width:767px){
  .elementor-heading-title.elementor-size-default{font-size:clamp(1.25rem,5vw,1.75rem)}
  #site-header-inner.container{padding:0 10px}
  .elementor-button{width:100%;max-width:360px;box-sizing:border-box}
  body.mobile-menu-open{overflow:hidden}
  #mobile-dropdown{max-height:calc(100dvh - 60px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  body.blog #content-wrap{flex-direction:column}
  body.blog #right-sidebar{flex:1 1 100%;order:2}
  body.blog .blog-entries{grid-template-columns:1fr}
}

/* 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;touch-action:manipulation}

/* Scroll-to-top + compliance bars (critical — before deferred CSS) */
#scroll-top{position:fixed;right:max(12px,env(safe-area-inset-right,0));bottom:max(12px,env(safe-area-inset-bottom,0));z-index:9999;min-width:44px;min-height:44px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#f58428;border-radius:50%;box-shadow:0 4px 14px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
#scroll-top.show{opacity:1;visibility:visible;pointer-events:auto}
#scroll-top .scroll-top-icon{display:block;width:12px;height:12px;border:solid #fff;border-width:0 2px 2px 0;padding:3px;transform:rotate(-135deg);margin-top:4px}
@media (max-width:767px){
  body.has-age-bar #scroll-top{bottom:calc(56px + env(safe-area-inset-bottom,0))}
  body.has-cookie-bar #scroll-top{bottom:calc(72px + env(safe-area-inset-bottom,0))}
  body.has-cookie-bar.has-age-bar #scroll-top{bottom:calc(128px + env(safe-area-inset-bottom,0))}
}
