/* donald 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:rgba(245,132,40,.18)}
img,video,svg,iframe{max-width:100%;height:auto}
#outer-wrap,#wrap{max-width:100%!important;width:100%!important;margin:0!important;box-shadow:none!important;overflow-x:hidden}
#site-header{background:#f58428;color:#fff}
#site-header a{color:#fff;text-decoration:none}
/* App dropdown: white panel needs dark text (do not inherit header white) */
#site-header .sub-menu{
  background:#fff!important;
  border-top:3px solid #f58428;
  min-width:180px;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  z-index:10000;
}
#site-header .sub-menu a,
#site-header .sub-menu a .text-wrap{
  color:#1f2937!important;
}
#site-header .sub-menu a.menu-link{
  display:block;
  padding:12px 16px;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  white-space:nowrap;
}
#site-header .sub-menu a:hover,
#site-header .sub-menu a:hover .text-wrap{
  color:#d32f2f!important;
  background:#f8fafc;
}
#site-logo img{max-height:48px;max-width:min(220px,55vw);width:auto;height:auto;object-fit:contain}
.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}
#donald-soft-article,#donald-faq .donald-faq-inner,#donald-inline-links{max-width:1140px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;box-sizing:border-box}
#donald-faq{background:#f8fafc;padding:40px 0}

/* 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}
/* Mobile fluency: readable type, stacked CTA, safe areas */
@media (max-width:768px){
  #site-header-inner.container,#site-header .container{padding-left:12px;padding-right:12px;box-sizing:border-box}
  .elementor-heading-title,.elementor-widget-heading h1,.elementor-widget-heading h2{line-height:1.25;word-break:break-word}
  h1.elementor-heading-title{font-size:clamp(1.35rem,5.2vw,1.85rem)!important}
  h2.elementor-heading-title,#donald-soft-article h2{font-size:clamp(1.2rem,4.4vw,1.55rem)!important}
  #donald-soft-article{margin:20px 12px!important;padding:16px 14px!important;line-height:1.7!important;font-size:15px!important}
  .elementor-button-wrapper{width:100%}
  .elementor-button{width:100%;max-width:100%;box-sizing:border-box}
  .elementor-image-carousel-wrapper,.swiper{border-radius:0;aspect-ratio:16/9}
  body.blog #content-wrap{flex-direction:column;gap:16px}
  body.blog #right-sidebar{flex:1 1 auto;width:100%;max-width:100%}
  body.blog .cms-post-content{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
  body.blog .cms-post-content h2{font-size:1.2rem;margin:1.25em 0 .55em;line-height:1.3}
  body.blog .cms-post-content h3{font-size:1.05rem;margin:1.1em 0 .45em}
  body.blog .cms-post-content p,body.blog .cms-post-content li{margin:0 0 .75em}
  body.blog .cms-download-btn{flex:1 1 100%;justify-content:center}
  #mobile-dropdown{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12)}
  #mobile-dropdown .menu a{display:block;min-height:44px;padding:12px 16px;color:#111!important;border-bottom:1px solid #f1f1f1;font-weight:600}
  #mobile-dropdown .sub-menu a{padding-left:28px;font-weight:500;color:#374151!important;background:#fafafa}
  body.mobile-menu-open{overflow:hidden}
  body.blog .cms-download-sticky{
    padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));
    padding-left:calc(10px + env(safe-area-inset-left,0px));
    padding-right:calc(10px + env(safe-area-inset-right,0px))
  }
}

/* Soft article + below-fold perf (moved off inline) */
#donald-soft-article{max-width:1140px;margin:40px auto;padding:24px 15px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;line-height:1.9;color:#1f2937;font-size:16px;box-sizing:border-box}
#donald-soft-article>h2{font-size:clamp(1.25rem,4vw,1.75rem);margin:0 0 16px;color:#111827;line-height:1.3}
#donald-faq,#donald-blog-guides,#donald-inline-links{content-visibility:auto;contain-intrinsic-size:1px 480px}
.seo-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0}
.seo-table-wrap table{width:100%;max-width:100%;border-collapse:collapse}
@media (max-width:768px){
  #donald-soft-article{margin:20px 12px;padding:16px 14px;font-size:15px;line-height:1.7}
  .elementor-button-wrapper+.elementor-button-wrapper,.elementor-button-success.down{width:100%}
}
/* Extra mobile fluency pass */
a,button,.elementor-button,.cms-download-btn,.mobile-menu{touch-action:manipulation}
input,select,textarea,.mobile-searchform .field{font-size:16px!important}
#donald-faq .donald-faq-item{padding:12px 0;border-bottom:1px solid #e5e7eb}
#donald-faq .donald-faq-item h3{margin:0 0 6px;font-size:1.05rem;line-height:1.35}
#donald-faq .donald-faq-item p{margin:0;color:#374151}
#scroll-top{min-width:44px;min-height:44px}
@media (max-width:768px){
  #donald-faq{padding:28px 0}
  #donald-faq .donald-faq-inner{padding-left:14px;padding-right:14px}
  .elementor-button-success.down{width:100%}
  .elementor-button-success.down .elementor-button{width:100%}
}