/* ONSEN WORLD — WordPress & Elementor integration */
/* Elementor wrappers around each design section: no extra spacing */
body.onsen .onsen-sec.elementor-section,body.onsen .onsen-sec > .elementor-container,body.onsen .onsen-sec .elementor-column,body.onsen .onsen-sec .elementor-column-wrap,body.onsen .onsen-sec .elementor-widget-wrap,body.onsen .onsen-sec .elementor-element-populated{padding:0!important;margin:0!important}
body.onsen .onsen-sec > .elementor-container{max-width:none!important;width:100%}
body.onsen .onsen-sec .elementor-widget,body.onsen .onsen-sec .elementor-widget-container{margin:0!important;padding:0!important}
body.onsen .onsen-sec .elementor-widget:not(:last-child){margin-block-end:0!important}
body.onsen .elementor-widget-html .elementor-widget-container > section,body.onsen .elementor-widget-html .elementor-widget-container > div{max-width:none}
/* Elementor resets images to height:auto — restore the design's cover-fit images */
body.onsen .hero__slide img,body.onsen .tile > img,body.onsen .pcard__img img,body.onsen .immersive > img,body.onsen .phero > img.bg,body.onsen .cta > img,body.onsen .intro__media img,body.onsen .collage figure img,body.onsen .rcard figure img,body.onsen .stack img,body.onsen .split figure img,body.onsen .topic figure img,body.onsen .doc__cover > img.bg,body.onsen .mega__cat img,body.onsen .imgmarq img,body.onsen .catnav img,body.onsen .qm__prod img,body.onsen .pd__main img,body.onsen .pd__thumbs img{height:100%}
body.onsen .doc__cover .lg{height:34px}
body.onsen .hdr__logo img{height:100%;width:auto}
body.onsen .elementor img{border-radius:inherit}
/* Keep the theme fonts even if an Elementor kit defines headings */
body.onsen h1,body.onsen h2,body.onsen h3,body.onsen h4{font-family:var(--font-display);font-weight:var(--dweight);letter-spacing:var(--dtrack);line-height:var(--dline)}
body.onsen .h2x,body.onsen .sigc__meta h3{font-family:var(--font-body);font-weight:700;letter-spacing:-.02em;line-height:1.1}
body.onsen .ftr h4{font-family:var(--font-body);font-weight:600;letter-spacing:.24em;line-height:1.4;font-size:.66rem}
body.onsen{font-family:var(--font-body)}
/* WordPress admin bar */
body.onsen.admin-bar .hdr{top:32px}
body.onsen.admin-bar .hdr--over{top:32px}
@media (max-width:782px){body.onsen.admin-bar .hdr,body.onsen.admin-bar .hdr--over{top:46px}}
@media (max-width:600px){html body.onsen.admin-bar #wpadminbar{position:fixed}}
/* Regular post / page content */
body.onsen .wp-prose{max-width:72ch}
body.onsen .wp-prose > * + *{margin-top:1.1em}
body.onsen .wp-prose h2,body.onsen .wp-prose h3,body.onsen .wp-prose h4{margin-top:1.6em}
body.onsen .wp-prose h3{font-family:var(--font-display);font-size:var(--step-1)}
body.onsen .wp-prose a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
body.onsen .wp-prose ul,body.onsen .wp-prose ol{padding-left:1.2em;list-style:revert}
body.onsen .wp-prose img{border-radius:var(--r-img);height:auto}
body.onsen .wp-prose blockquote{margin:1.5em 0;padding-left:1.2em;border-left:2px solid var(--accent);font-family:var(--font-display);font-size:var(--step-1)}
body.onsen .wp-prose figure{margin:1.5em 0}
body.onsen .wp-prose figcaption{font-size:.8rem;color:var(--muted)}
body.onsen .alignwide{max-width:none}body.onsen .alignfull{width:100vw;margin-left:calc(50% - 50vw)}
body.onsen .aligncenter{margin-inline:auto}
body.onsen .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body.onsen .pagination .page-numbers{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--r-chip);font-size:.8rem;transition:all .3s}
body.onsen .pagination .page-numbers.current,body.onsen .pagination .page-numbers:hover{background:var(--accent);border-color:var(--accent);color:var(--night)}
/* Block editor Custom HTML blocks render edge to edge */
body.onsen.onsen .wp-block-html{margin:0}
/* overlays start below the WordPress admin bar so their close buttons stay reachable */
body.onsen.admin-bar .drawer,body.onsen.admin-bar .qm,body.onsen.admin-bar .studio,body.onsen.admin-bar .lb{top:32px}
@media (max-width:782px){body.onsen.admin-bar .drawer,body.onsen.admin-bar .qm,body.onsen.admin-bar .studio,body.onsen.admin-bar .lb{top:46px}}
