/* NexShelfy shop media and action contrast fixes */
.ns-product-actions .cp-btn:not(.primary),
.ns-product-actions button.cp-btn {
  background: #fff !important;
  color: #171717 !important;
  border: 1px solid rgba(17, 24, 39, .18) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #171717 !important;
}
.ns-product-actions .cp-btn:not(.primary):hover,
.ns-product-actions button.cp-btn:hover {
  background: #f5f5f7 !important;
  color: #111 !important;
  border-color: rgba(17, 24, 39, .34) !important;
}
.ns-product-actions .cp-btn[aria-pressed="true"] {
  background: #f0edff !important;
  color: #4f46e5 !important;
  border-color: #c7c2ff !important;
  -webkit-text-fill-color: #4f46e5 !important;
}
.ns-product-cover-frame {
  width: min(100%, 620px);
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #eeecff, #d8d5ff);
  border: 1px solid rgba(99, 102, 241, .16);
  box-shadow: 0 30px 70px rgba(31, 41, 55, .16);
}
.ns-product-cover-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-product-cover-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 11px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(15, 15, 20, .62);
  backdrop-filter: blur(10px);
  font-weight: 700;
}
.ns-product-cover-frame.is-broken::before {
  content: "Cover image could not be loaded";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #4f46e5;
  font-weight: 700;
}
.ns-resource-cover {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}
@media (max-width: 760px) {
  .ns-product-cover-frame { border-radius: 20px; }
  .ns-product-actions .cp-btn { color: #171717 !important; }
  .ns-product-actions .cp-btn.primary { color: #fff !important; -webkit-text-fill-color: #fff !important; }
}

/* 2026-07-10: real admin-uploaded covers */
.ns-resource-cover{background:#eef2ff!important}
.ns-resource-cover .ns-cover-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;z-index:1!important}
.ns-resource-cover.has-image:before,.ns-resource-cover.has-image:after{display:none!important}
.ns-resource-cover.has-image>span,.ns-resource-cover.has-image>.ns-free-pill{z-index:4!important}
.ns-premium-resource-card .ns-resource-cover.has-image strong,.ns-premium-resource-card .ns-resource-cover.has-image em{display:none!important}
.ns-floating-card.has-image{overflow:hidden;padding-top:100px}
.ns-floating-card.has-image img{position:absolute;inset:0 0 auto;width:100%;height:90px;object-fit:cover}
.ns-blog-thumb.has-image{position:relative;overflow:hidden}
.ns-blog-thumb.has-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ns-blog-thumb.has-image span{position:relative;z-index:2}

/* 2026-07 unified public UI fixes */
[data-ns-product-save],.ns-product-meta-v3 button,.ns-card-heart{color:#111!important;background:#fff!important;border:1px solid #d9d9df!important;box-shadow:0 4px 14px rgba(17,17,17,.08)!important;opacity:1!important}
[data-ns-product-save]:hover,.ns-product-meta-v3 button:hover,.ns-card-heart:hover{background:#f4f1ff!important;border-color:#7c3aed!important;color:#5b21b6!important}
[data-ns-product-save].saved,.ns-product-meta-v3 button.saved,.ns-card-heart.saved{background:#111!important;color:#fff!important;border-color:#111!important}
.ns-home-newsletter{margin-left:auto!important;margin-right:auto!important}
.ns-premium-newsletter{width:min(1170px,calc(100% - 40px))!important}
.ns-premium-resource-card{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.ns-premium-resource-card .ns-resource-cover{height:220px!important;min-height:220px!important;aspect-ratio:16/10!important;overflow:hidden!important;flex:0 0 auto!important}
.ns-premium-resource-card .ns-resource-cover .ns-cover-photo{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;opacity:1!important}
.ns-premium-resource-card .cp-card-body{display:flex!important;flex:1!important;flex-direction:column!important}
.ns-premium-resource-card .ns-card-free-actions{margin-top:auto!important}
.ns-product-feature-mockup.has-cover{position:relative;overflow:hidden;min-height:360px;color:#fff;background:#111}
.ns-product-feature-mockup.has-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.ns-product-feature-mockup.has-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.78));z-index:1}
.ns-product-feature-mockup.has-cover>*:not(img){position:relative;z-index:2}
.ns-collections-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}.ns-collections-summary div{padding:18px;border:1px solid var(--ns-border);border-radius:18px;background:#fff}.ns-collections-summary b{display:block;font-size:26px}.ns-collection-grid-premium a{position:relative;overflow:hidden;min-height:220px}.ns-collection-count{display:inline-flex!important;width:auto!important;height:auto!important;padding:7px 10px;border-radius:999px;background:#fff!important;border:1px solid var(--ns-border);font-size:11px!important}
.ns-creator-card{position:relative;overflow:hidden}.ns-creator-card .ns-creator-status{display:inline-flex;margin-top:10px;padding:6px 9px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:11px;font-weight:850}.ns-creator-card a{display:inline-flex;margin-top:16px;font-weight:850;text-decoration:none}.ns-creator-empty{grid-column:1/-1;padding:42px;text-align:center;border:1px dashed var(--ns-border);border-radius:24px;background:#fff}
@media(max-width:800px){.ns-collections-summary{grid-template-columns:1fr}.ns-premium-resource-card .ns-resource-cover{height:190px!important;min-height:190px!important}}

/* 2026-07-17: merge duplicate footer rows on resource/product cards into one compact row */
.ns-card-footer-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px}
.ns-card-footer-row>small{color:var(--ns-readable-muted,#64748b);font-weight:750;font-size:12px}
.ns-card-footer-row>small b{color:var(--ns-theme-ink,#0f172a)}
.ns-card-footer-actions{display:flex;align-items:center;gap:8px}
.ns-mini-action.ns-icon-only{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;padding:0!important;border-radius:999px;flex:0 0 auto}
.ns-premium-resource-card .cp-card-body{padding:16px!important;min-height:0!important;gap:0}
.ns-premium-resource-card h2{margin:2px 0 6px!important;font-size:18px!important}
.ns-premium-resource-card p{margin-bottom:0!important;-webkit-line-clamp:2!important}

/* 2026-07-17 remaining public-page refinements */
.ns-resource-detail-shell{padding-top:28px;padding-bottom:64px}.ns-resource-detail-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:52px;align-items:center;padding:34px 0 54px}.ns-resource-detail-media{aspect-ratio:4/3;border-radius:28px;overflow:hidden;background:linear-gradient(145deg,#e8e7ff,#d7f6ff);display:grid;place-items:center;box-shadow:0 24px 70px rgba(15,23,42,.14)}.ns-resource-detail-media img{width:100%;height:100%;display:block;object-fit:cover}.ns-resource-detail-media>span{font-size:96px;font-weight:900;color:#5b21b6}.ns-resource-detail-copy h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:16px 0}.ns-resource-detail-copy>p{font-size:18px;line-height:1.75;color:var(--ns-readable-muted,#64748b)}.ns-resource-description{max-width:820px;margin-bottom:50px}.ns-resource-description p{font-size:18px;line-height:1.8}
.ns-creators-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:48px;align-items:start;padding:54px 0 38px}.ns-creator-apply-panel{padding:28px;border:1px solid var(--ns-border,#e5e7eb);border-radius:28px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.09)}.ns-creator-apply-panel h2{font-size:34px;margin:8px 0}.ns-inline-creator-form{display:grid;gap:12px;margin-top:20px}.ns-inline-creator-form input,.ns-inline-creator-form textarea{width:100%;border:1px solid #dfe3ea;border-radius:13px;padding:13px 14px;font:inherit;background:#fafbfc}.ns-inline-creator-form textarea{resize:vertical}.ns-inline-creator-form small{min-height:18px;color:#475569;font-weight:700}.ns-creator-card .ns-card-bottom{display:none!important}.ns-creator-avatar{background:linear-gradient(145deg,#111827,#6d28d9)!important;color:#fff!important}
.ns-sidebar-block{display:grid;gap:10px;padding-top:18px;margin-top:18px;border-top:1px solid var(--ns-border,#e5e7eb)}.ns-sidebar-block>b{font-size:13px;text-transform:uppercase;letter-spacing:.08em}.ns-sidebar-resource{display:flex;gap:10px;align-items:center;text-decoration:none;padding:10px;border-radius:13px;background:#f8fafc}.ns-sidebar-resource>span{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#ede9fe;color:#5b21b6;font-weight:900}.ns-sidebar-resource div{display:grid;gap:2px}.ns-sidebar-resource strong,.ns-sidebar-blog strong{color:#111827;font-size:13px;line-height:1.35}.ns-sidebar-resource small,.ns-sidebar-blog small{color:#64748b;font-size:11px}.ns-sidebar-blog{display:grid;gap:4px;text-decoration:none;padding:10px 0;border-bottom:1px solid #edf0f4}.ns-sidebar-blog:last-child{border-bottom:0}
@media(max-width:900px){.ns-resource-detail-hero,.ns-creators-hero{grid-template-columns:1fr;gap:28px}.ns-resource-detail-media{order:-1}.ns-creator-apply-panel{max-width:none}}

/* 2026-07-17 screenshot UI correction pass */
/* Header: compact utility action, stable horizontally-scrollable navigation */
.cp-header-inner{grid-template-columns:auto minmax(0,1fr) auto!important;gap:22px!important}
.cp-nav{justify-content:center!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important}
.cp-nav::-webkit-scrollbar{display:none!important}
.cp-header-actions{min-width:0!important}
.cp-header-actions .ns-header-btn.ns-icon-action{min-width:58px!important;width:auto!important;padding-inline:12px!important}

/* Home product grid: never overflow its shell */
.ns-clean-product-grid,.ns-premium-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:100%!important}
.ns-clean-product-grid>* ,.ns-premium-product-grid>*{min-width:0!important;max-width:100%!important}
.ns-clean-resource-card,.ns-premium-resource-card{position:relative!important;overflow:hidden!important}
.ns-clean-resource-card .ns-product-meta-v3 button,.ns-card-heart{top:auto!important;right:auto!important}
.ns-clean-resource-card .ns-product-meta-v3 button{position:static!important;flex:0 0 38px!important}
.ns-premium-resource-card>.ns-card-heart{position:absolute!important;top:calc(220px - 18px)!important;right:16px!important;transform:translateY(-50%)!important;width:38px!important;height:38px!important;border-radius:999px!important;display:grid!important;place-items:center!important}
.ns-testimonials-premium .ns-avatar{font-size:13px!important;line-height:1!important;overflow:hidden!important}

/* Newsletter: restore a real email field and balanced button */
.ns-premium-newsletter.ns-global-footer-newsletter form{min-width:0!important}
.ns-premium-newsletter.ns-global-footer-newsletter .ns-newsletter-line{padding:10px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:20px!important;background:rgba(255,255,255,.10)!important}
.ns-premium-newsletter.ns-global-footer-newsletter input{display:block!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:180px!important;background:#fff!important;color:#111827!important;border:0!important}
.ns-premium-newsletter.ns-global-footer-newsletter button{background:#fff!important;color:#111827!important;border:0!important}

/* Footer: brand stays left, both navigation columns sit at the far right */
.ns-footer-grid-three{grid-template-columns:minmax(260px,1fr) max-content max-content!important;column-gap:72px!important}
.ns-footer-grid-three>div:nth-child(2){margin-left:auto!important}
.ns-footer-grid-three>div:nth-child(2),.ns-footer-grid-three>div:nth-child(3){min-width:165px!important}

/* Shop/resources cards: one compact footer only; no injected email/like/share row */
.ns-card-free-actions{display:none!important}
.ns-mini-action[href*="free-download"]::after,.ns-free-download::after{content:none!important;display:none!important}
.ns-card-footer-row{border-top:1px solid #edf0f4!important;margin-top:14px!important;padding-top:12px!important}
.ns-card-footer-actions .ns-mini-action{font-size:15px!important}
.ns-card-footer-actions [data-ns-resource-save]{font-size:0!important}
.ns-card-footer-actions [data-ns-resource-save]::before{content:'♡';font-size:17px!important}
.ns-card-footer-actions [data-ns-resource-save].saved::before{content:'♥'}
.ns-premium-resource-card .cp-card-body>p{min-height:44px!important}

/* Shop/resources hero mockup: readable overlay and correct alignment */
.ns-product-feature-mockup.has-cover{padding:28px!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;min-height:360px!important}
.ns-product-feature-mockup.has-cover h2,.ns-product-feature-mockup.has-cover h3,.ns-product-feature-mockup.has-cover p{max-width:86%!important;margin-left:0!important;text-align:left!important}
.ns-product-feature-mockup.has-cover .ns-card-pills,.ns-product-feature-mockup.has-cover .cp-actions{justify-content:flex-start!important}

/* Blog detail: polished 2-column layout and non-colliding sidebar */
.ns-article-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 310px!important;gap:38px!important;align-items:start!important}
.ns-article-main{min-width:0!important}
.ns-article-sidebar{min-width:0!important}
.ns-sticky-panel{padding:24px!important;border-radius:24px!important;overflow:hidden!important}
.ns-sticky-panel [data-toc]{display:grid!important;gap:8px!important;margin:14px 0 0!important}
.ns-sticky-panel [data-toc] a{display:block!important;text-decoration:none!important;color:#475569!important;font-size:13px!important;line-height:1.4!important}
.ns-sidebar-block a{min-width:0!important;overflow-wrap:anywhere!important}
.ns-sidebar-resource,.ns-sidebar-blog{width:100%!important;box-sizing:border-box!important}
.ns-side-share{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:18px!important;padding-top:18px!important;border-top:1px solid #e5e7eb!important}
.ns-article-hero-premium .ns-article-actions{margin-top:20px!important}
.ns-related-resource-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.ns-related-resource-card{display:grid!important;grid-template-columns:84px minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;padding:18px!important;min-width:0!important}
.ns-related-resource-card p{margin:5px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.ns-related-resource-card>a{white-space:nowrap!important}
.ns-related-article-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.ns-related-article-grid .ns-blog-card{width:auto!important;min-width:0!important;max-width:none!important}
.ns-related-article-grid .ns-blog-card-thumb{min-height:170px!important}
.ns-related-article-grid h3,.ns-related-article-grid p{overflow-wrap:anywhere!important}

@media(max-width:980px){
 .ns-clean-product-grid,.ns-premium-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ns-article-layout{grid-template-columns:1fr!important}
 .ns-article-sidebar{order:-1!important}
 .ns-sticky-panel{position:static!important}
 .ns-related-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .cp-header-inner{gap:10px!important}
 .cp-nav{justify-content:flex-start!important}
 .ns-clean-product-grid,.ns-premium-product-grid,.ns-related-resource-grid,.ns-related-article-grid{grid-template-columns:1fr!important}
 .ns-footer-grid-three{grid-template-columns:1fr 1fr!important;column-gap:24px!important}
 .ns-footer-grid-three>div:nth-child(2){margin-left:0!important}
 .ns-premium-newsletter.ns-global-footer-newsletter input{min-width:0!important;width:100%!important}
 .ns-related-resource-card{grid-template-columns:68px minmax(0,1fr)!important}
 .ns-related-resource-card>a{grid-column:2!important}
}

/* 2026-07-17 FINAL LIVE UI PASS — exact screenshot corrections */
html,body{overflow-x:hidden}

/* Header */
.cp-site-header .cp-header-inner{display:flex!important;align-items:center!important;gap:22px!important;min-height:72px!important}
.cp-site-header .cp-brand{flex:0 0 auto!important}
.cp-site-header .cp-nav{display:flex!important;flex:1 1 auto!important;justify-content:center!important;align-items:center!important;gap:24px!important;min-width:0!important;overflow-x:auto!important;white-space:nowrap!important}
.cp-site-header .cp-header-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:8px!important;min-width:max-content!important}
.cp-site-header .ns-header-inline{margin-left:0!important;padding:3px!important;border-radius:999px!important;width:auto!important;max-width:max-content!important}
.cp-site-header .ns-header-btn.ns-icon-action{width:auto!important;min-width:56px!important;padding:0 10px!important}

/* Home featured cards */
.ns-home-section .ns-clean-product-grid,.ns-home-section .ns-premium-product-grid,.ns-shop-page .ns-premium-product-grid,.ns-unified-page #resourceGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:100%!important;overflow:visible!important}
.ns-home-section .ns-clean-product-grid>*,.ns-home-section .ns-premium-product-grid>*,.ns-shop-page .ns-premium-product-grid>*,.ns-unified-page #resourceGrid>*{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
.ns-premium-resource-card{border-radius:24px!important;overflow:hidden!important}
.ns-premium-resource-card>.ns-card-heart{top:202px!important;right:16px!important;transform:none!important;z-index:8!important}
.ns-premium-resource-card .ns-resource-cover{height:220px!important;min-height:220px!important}
.ns-premium-resource-card .cp-card-body{padding:16px!important}
.ns-premium-resource-card .ns-card-footer-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border-top:1px solid #edf0f4!important;margin-top:14px!important;padding-top:12px!important}
.ns-premium-resource-card .ns-card-footer-actions{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
.ns-premium-resource-card .ns-mini-action{width:38px!important;height:38px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* Resources page: no floating Save label, only compact bottom controls */
.ns-unified-page #resourceGrid .ns-premium-resource-card>.ns-card-heart{display:none!important}
.ns-unified-page #resourceGrid .ns-resource-cover span{left:14px!important;right:auto!important;top:14px!important;width:auto!important;max-width:calc(100% - 28px)!important}
.ns-unified-page #resourceGrid .cp-card-body>p{min-height:48px!important}
.ns-unified-page #resourceGrid .ns-card-footer-actions [data-ns-resource-save]{font-size:0!important}
.ns-unified-page #resourceGrid .ns-card-footer-actions [data-ns-resource-save]::before{content:'♡';font-size:17px!important}
.ns-unified-page #resourceGrid .ns-card-footer-actions [data-ns-resource-save].saved::before{content:'♥'}

/* Shop hero mockup */
.ns-shop-hero{grid-template-columns:minmax(0,1fr) minmax(420px,.95fr)!important;gap:36px!important}
.ns-product-feature-mockup.has-cover{min-height:360px!important;padding:28px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;border-radius:30px!important;overflow:hidden!important}
.ns-product-feature-mockup.has-cover>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.ns-product-feature-mockup.has-cover:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.78))!important}
.ns-product-feature-mockup.has-cover>*:not(img){position:relative!important;z-index:2!important;max-width:90%!important;text-align:left!important;margin-left:0!important}
.ns-product-feature-mockup.has-cover>b{font-size:30px!important;line-height:1.08!important;margin:10px 0 8px!important}
.ns-product-feature-mockup.has-cover .ns-card-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important}
.ns-product-feature-mockup.has-cover .ns-btn{width:max-content!important}

/* Testimonials avatars */
.ns-testimonials-premium .ns-creator-row{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:12px!important;align-items:center!important}
.ns-testimonials-premium .ns-avatar{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;font-size:13px!important;line-height:1!important;text-align:center!important;overflow:hidden!important}

/* Newsletter field */
.ns-premium-newsletter.ns-global-footer-newsletter form{width:100%!important;min-width:0!important}
.ns-premium-newsletter.ns-global-footer-newsletter .ns-newsletter-line{display:grid!important;grid-template-columns:minmax(0,1fr) 130px!important;gap:10px!important;width:100%!important;padding:10px!important;border-radius:20px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.18)!important}
.ns-premium-newsletter.ns-global-footer-newsletter input{display:block!important;width:100%!important;min-width:0!important;height:56px!important;padding:0 18px!important;background:#fff!important;color:#111827!important;border:0!important;border-radius:15px!important;opacity:1!important;visibility:visible!important}
.ns-premium-newsletter.ns-global-footer-newsletter button{width:100%!important;height:56px!important;background:#fff!important;color:#111827!important;border:0!important;border-radius:15px!important}

/* Footer alignment */
.ns-footer-grid-three{display:grid!important;grid-template-columns:minmax(280px,1fr) 170px 170px!important;gap:56px!important;align-items:start!important}
.ns-footer-grid-three>.ns-footer-intro{justify-self:start!important;max-width:360px!important}
.ns-footer-grid-three>div:nth-child(2),.ns-footer-grid-three>div:nth-child(3){justify-self:end!important;width:170px!important;min-width:170px!important}

/* Blog detail */
.ns-article-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:38px!important;align-items:start!important}
.ns-article-main,.ns-article-sidebar{min-width:0!important}
.ns-article-sidebar .ns-sticky-panel{position:sticky!important;top:92px!important;width:100%!important;padding:24px!important;border-radius:24px!important;overflow:hidden!important;box-sizing:border-box!important}
.ns-article-sidebar [data-toc]{display:grid!important;gap:8px!important;margin-top:14px!important}
.ns-article-sidebar [data-toc] a{display:block!important;font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important;text-decoration:none!important}
.ns-sidebar-block{display:grid!important;gap:10px!important;width:100%!important}
.ns-sidebar-resource,.ns-sidebar-blog{width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
.ns-sidebar-resource strong,.ns-sidebar-blog strong{display:block!important;overflow-wrap:anywhere!important}
.ns-side-share{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}

.ns-related-resource-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important}
.ns-related-resource-card{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;width:100%!important;min-width:0!important;padding:18px!important;box-sizing:border-box!important}
.ns-related-resource-card>.ns-resource-mini-cover{grid-row:1 / span 2!important}
.ns-related-resource-card>div:nth-child(2){min-width:0!important}
.ns-related-resource-card>div:nth-child(2) p{margin:5px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.ns-related-resource-card>a{grid-column:2!important;width:max-content!important;margin-top:6px!important}

.ns-related-article-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important}
.ns-related-article-grid .ns-blog-card{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
.ns-related-article-grid .ns-blog-card-thumb{min-height:170px!important}
.ns-related-article-grid h3,.ns-related-article-grid p{overflow-wrap:anywhere!important}

@media(max-width:1050px){
 .ns-shop-hero{grid-template-columns:1fr!important}
 .ns-article-layout{grid-template-columns:1fr!important}
 .ns-article-sidebar{order:-1!important}
 .ns-article-sidebar .ns-sticky-panel{position:static!important}
}
@media(max-width:900px){
 .ns-home-section .ns-clean-product-grid,.ns-home-section .ns-premium-product-grid,.ns-shop-page .ns-premium-product-grid,.ns-unified-page #resourceGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ns-related-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ns-related-resource-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
 .cp-site-header .cp-header-inner{flex-wrap:wrap!important;gap:10px!important;padding-block:10px!important}
 .cp-site-header .cp-nav{order:3!important;flex:1 0 100%!important;justify-content:flex-start!important;gap:14px!important;padding-bottom:3px!important}
 .ns-home-section .ns-clean-product-grid,.ns-home-section .ns-premium-product-grid,.ns-shop-page .ns-premium-product-grid,.ns-unified-page #resourceGrid,.ns-related-article-grid{grid-template-columns:1fr!important}
 .ns-premium-newsletter.ns-global-footer-newsletter .ns-newsletter-line{grid-template-columns:1fr!important}
 .ns-footer-grid-three{grid-template-columns:1fr 1fr!important;gap:28px 20px!important}
 .ns-footer-grid-three>.ns-footer-intro{grid-column:1/-1!important}
 .ns-footer-grid-three>div:nth-child(2),.ns-footer-grid-three>div:nth-child(3){justify-self:start!important;width:auto!important;min-width:0!important}
 .ns-related-resource-card{grid-template-columns:68px minmax(0,1fr)!important}
}
