/* Smart Glossary Widget v2.0 */
.sgw-wrapper{font-family:'Inter',sans-serif;--sgw-primary:#6366f1;--sgw-primary-light:#eef2ff;--sgw-border:#e2e8f0;--sgw-text:#1e293b;--sgw-muted:#64748b;--sgw-bg:#ffffff;--sgw-radius:12px;position:relative;width:100%}

/* HEADER */
.sgw-header{margin-bottom:2rem}
.sgw-title{font-size:2.25rem;font-weight:800;color:#1a1a2e;margin:0 0 .5rem;line-height:1.2}
.sgw-description{font-size:1rem;color:var(--sgw-muted);margin:0;line-height:1.6}

/* FEATURED SPOTLIGHT */
.sgw-featured-section{background:linear-gradient(135deg,#eef2ff 0%,#f0fdf4 100%);border-radius:16px;padding:1.5rem 2rem 2rem;margin-bottom:2rem}
.sgw-featured-heading{font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--sgw-primary);margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}
.sgw-featured-heading::before{content:'★';font-size:.9em}
.sgw-featured-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}

/* SEARCH */
.sgw-search-wrap{margin-bottom:1.5rem}
.sgw-search-inner{position:relative;max-width:560px;margin:0 auto}
.sgw-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--sgw-muted);pointer-events:none;z-index:1}
.sgw-search-input{width:100%;padding:14px 48px 14px 48px;border:1.5px solid var(--sgw-border);border-radius:12px;font-size:1rem;font-family:inherit;background:#f8fafc;color:var(--sgw-text);outline:none;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}
.sgw-search-input:focus{border-color:var(--sgw-primary);box-shadow:0 0 0 3px rgba(99,102,241,.15);background:#fff}
.sgw-search-input::placeholder{color:#94a3b8}
.sgw-search-clear{position:absolute;right:14px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--sgw-muted);font-size:1.1rem;padding:4px 8px;border-radius:6px;transition:color .2s;display:none}
.sgw-search-clear:hover{color:var(--sgw-text)}
.sgw-search-count{text-align:center;margin-top:.5rem;font-size:.85rem;color:var(--sgw-muted);min-height:1.2em}

/* ALPHABET BAR */
.sgw-alpha-bar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:1.25rem;padding:1rem;background:#f8fafc;border-radius:12px}
.sgw-alpha-bar.sgw-sticky{position:sticky;top:0;z-index:20;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.sgw-alpha-btn{min-width:36px;height:36px;padding:0 6px;border:1.5px solid var(--sgw-border);background:#fff;border-radius:8px;font-size:.85rem;font-weight:600;font-family:inherit;cursor:pointer;color:var(--sgw-muted);transition:all .18s;display:flex;align-items:center;justify-content:center}
.sgw-alpha-btn:hover:not(.disabled){border-color:var(--sgw-primary);color:var(--sgw-primary);background:#f5f3ff}
.sgw-alpha-btn.active{background:var(--sgw-primary);border-color:var(--sgw-primary);color:#fff;box-shadow:0 2px 8px rgba(99,102,241,.35)}
.sgw-alpha-btn.disabled{opacity:.4;cursor:default;pointer-events:none}
/* Style variants */
.sgw-alpha-pills .sgw-alpha-btn{border-radius:999px}
.sgw-alpha-boxes .sgw-alpha-btn{border-radius:4px}
.sgw-alpha-underline .sgw-alpha-btn{border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent}
.sgw-alpha-underline .sgw-alpha-btn.active{background:transparent;color:var(--sgw-primary);border-bottom-color:var(--sgw-primary);box-shadow:none}
.sgw-alpha-minimal .sgw-alpha-btn{border:none;background:transparent}
.sgw-alpha-minimal .sgw-alpha-btn.active{background:var(--sgw-primary-light);color:var(--sgw-primary);box-shadow:none}

/* CATEGORY BAR */
.sgw-cat-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:1.5rem}
.sgw-cat-btn{padding:7px 16px;border:1.5px solid var(--sgw-border);border-radius:8px;background:#f1f5f9;font-size:.875rem;font-weight:500;font-family:inherit;cursor:pointer;color:var(--sgw-muted);transition:all .18s;white-space:nowrap}
.sgw-cat-btn:hover{border-color:var(--sgw-cat-color,var(--sgw-primary));color:var(--sgw-cat-color,var(--sgw-primary))}
.sgw-cat-btn.active{background:var(--sgw-cat-color,var(--sgw-primary));border-color:var(--sgw-cat-color,var(--sgw-primary));color:#fff;box-shadow:0 2px 8px rgba(99,102,241,.25)}
.sgw-cat-tabs .sgw-cat-btn{border-radius:0;border-bottom:2px solid transparent;background:transparent;border-top:none;border-left:none;border-right:none}
.sgw-cat-tabs .sgw-cat-btn.active{background:transparent;color:var(--sgw-primary);border-bottom-color:var(--sgw-primary);box-shadow:none}
.sgw-cat-dropdown-wrap select.sgw-cat-select{padding:9px 36px 9px 14px;border:1.5px solid var(--sgw-border);border-radius:8px;font-family:inherit;font-size:.9rem;color:var(--sgw-text);background:#fff;cursor:pointer;outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}

/* CONTENT / SIDEBAR */
.sgw-content{width:100%}
.sgw-has-sidebar{display:flex;gap:2rem;align-items:flex-start}
.sgw-sidebar{width:64px;flex-shrink:0}
.sgw-sidebar-sticky{position:sticky;top:80px}
.sgw-sidebar-nav{display:flex;flex-direction:column;gap:4px}
.sgw-sidebar-link{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;font-size:.85rem;font-weight:700;color:var(--sgw-muted);text-decoration:none;transition:all .18s}
.sgw-sidebar-link:hover,.sgw-sidebar-link.active{background:var(--sgw-primary-light);color:var(--sgw-primary)}
.sgw-main{flex:1;min-width:0}

/* LETTER HEADING */
.sgw-letter-section{margin-bottom:2.5rem}
.sgw-letter-heading{font-size:1.5rem;font-weight:800;color:var(--sgw-primary);border-bottom:2px solid var(--sgw-border);padding-bottom:.5rem;margin:0 0 1.25rem;display:flex;align-items:center;gap:.75rem}
.sgw-letter-heading span{width:42px;height:42px;background:var(--sgw-primary-light);border-radius:10px;display:flex;align-items:center;justify-content:center}

/* GRID */
.sgw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:1024px){.sgw-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.sgw-grid{grid-template-columns:1fr}}

/* CARD */
.sgw-item{display:flex;flex-direction:column;padding:24px;border:1.5px solid var(--sgw-border);border-radius:var(--sgw-radius);background:#fff;cursor:default;transition:transform .25s,box-shadow .25s,border-color .25s;text-decoration:none;color:inherit;position:relative;overflow:hidden;transition-delay:var(--sgw-delay,0s)}
.sgw-item[href]{cursor:pointer}
.sgw-item::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,var(--sgw-cat-color,var(--sgw-primary)) 0%,transparent 60%);opacity:0;transition:opacity .25s;pointer-events:none}
/* Hover animations */
.sgw-hover-lift:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(99,102,241,.15)}
.sgw-hover-scale:hover{transform:scale(1.025);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.sgw-hover-glow:hover{box-shadow:0 0 0 3px rgba(99,102,241,.25),0 8px 24px rgba(99,102,241,.15)}
/* Glassmorphism */
.sgw-glass{background:rgba(255,255,255,.65)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
/* Gradient */
.sgw-gradient{background:linear-gradient(135deg,#f0f4ff 0%,#fafafa 100%)!important}
/* Featured */
.sgw-item.sgw-featured{border-left:3px solid var(--sgw-cat-color,var(--sgw-primary))}

.sgw-item-img{margin:-24px -24px 16px;overflow:hidden;border-radius:var(--sgw-radius) var(--sgw-radius) 0 0;max-height:180px}
.sgw-item-img img{width:100%;height:180px;object-fit:cover}
.sgw-item-body{flex:1;display:flex;flex-direction:column;gap:10px}
.sgw-item-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sgw-term-icon{width:36px;height:36px;border-radius:9px;background:var(--sgw-primary-light);color:var(--sgw-primary);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem}
.sgw-term-title{font-size:1rem;font-weight:700;color:var(--sgw-text);margin:0;flex:1;line-height:1.3;transition:color .18s}
.sgw-item:hover .sgw-term-title{color:var(--sgw-primary)}
.sgw-badge{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 8px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border-radius:999px;white-space:nowrap}
.sgw-term-def{font-size:.9rem;color:var(--sgw-muted);margin:0;line-height:1.6}
.sgw-term-full{font-size:.875rem;color:var(--sgw-muted);line-height:1.65}
.sgw-term-full p{margin:.4em 0}
.sgw-item-cat{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:3px 9px;background:var(--sgw-primary-light);color:var(--sgw-primary);border-radius:999px;align-self:flex-start;margin-top:auto}
.sgw-tags{display:flex;flex-wrap:wrap;gap:5px}
.sgw-tag{font-size:.75rem;padding:2px 8px;background:#f1f5f9;color:var(--sgw-muted);border-radius:6px;border:1px solid var(--sgw-border)}
.sgw-related{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem}
.sgw-related-label{color:var(--sgw-muted);font-weight:600}
.sgw-related-term{color:var(--sgw-primary);cursor:pointer;text-decoration:underline;transition:opacity .18s}
.sgw-related-term:hover{opacity:.75}

/* COPY BUTTON */
.sgw-copy-btn{margin-left:auto;background:none;border:none;cursor:pointer;color:#94a3b8;padding:4px;border-radius:6px;display:flex;align-items:center;transition:color .18s,transform .18s}
.sgw-copy-btn:hover{color:var(--sgw-primary);transform:scale(1.15)}
.sgw-copy-btn.sgw-copied{color:#22c55e;animation:sgw-pop .3s ease}
.sgw-acc-copy-btn{position:absolute;right:54px;top:15px;z-index:2;margin-left:0}
@keyframes sgw-pop{0%{transform:scale(1)}50%{transform:scale(1.3)}100%{transform:scale(1)}}

/* HIGHLIGHT */
mark.sgw-highlight{background:rgba(99,102,241,.18);color:var(--sgw-primary);border-radius:3px;padding:0 2px;font-weight:600}

/* TOOLTIP */
.sgw-tooltip{position:absolute;z-index:100;width:280px;padding:14px 16px;background:#1e293b;color:#f1f5f9;font-size:.8rem;line-height:1.55;border-radius:10px;box-shadow:0 8px 32px rgba(0,0,0,.25);pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;left:50%;transform:translateX(-50%)}
.sgw-tooltip.sgw-tooltip-down{top:calc(100% + 10px)}
.sgw-tooltip.sgw-tooltip-up{bottom:calc(100% + 10px);top:auto}
.sgw-tooltip.sgw-tooltip-right-edge{left:auto;right:0;transform:none}
.sgw-item:hover .sgw-tooltip,.sgw-item:focus-within .sgw-tooltip{opacity:1;visibility:visible}
.sgw-tooltip p{margin:.25em 0}

/* LIST */
.sgw-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.sgw-list-wrap.sgw-two-col .sgw-list{display:grid;grid-template-columns:1fr 1fr;gap:4px}
@media(max-width:640px){.sgw-list-wrap.sgw-two-col .sgw-list{grid-template-columns:1fr}}
.sgw-list-item{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:8px;border:1px solid transparent;cursor:default;transition:background .18s,border-color .18s}
.sgw-list-item:hover{background:#f8fafc;border-color:var(--sgw-border)}
.sgw-list-item.sgw-featured{border-left:3px solid var(--sgw-cat-color,var(--sgw-primary))}
.sgw-list-content{flex:1;min-width:0}
.sgw-list-content .sgw-term-title{font-size:.95rem}
.sgw-list-content .sgw-term-def{font-size:.85rem}

/* ACCORDION */
.sgw-accordion-wrap{display:flex;flex-direction:column;gap:4px}
.sgw-acc-item{border:1.5px solid var(--sgw-border);border-radius:10px;overflow:hidden;transition:border-color .2s;position:relative}
.sgw-acc-item.active{border-color:var(--sgw-primary)}
.sgw-acc-item.sgw-featured{border-left:3px solid var(--sgw-cat-color,var(--sgw-primary))}
.sgw-acc-header{width:100%;display:flex;align-items:center;gap:12px;padding:16px 20px;background:#f8fafc;border:none;cursor:pointer;font-family:inherit;text-align:left;transition:background .18s}
.sgw-acc-header:hover{background:#f1f5f9}
.sgw-acc-item.active .sgw-acc-header{background:var(--sgw-primary-light)}
.sgw-acc-header .sgw-term-title{flex:1;font-size:.95rem}
.sgw-acc-icon{margin-left:auto;color:var(--sgw-primary);display:flex;transition:transform .25s}
.sgw-acc-item.active .sgw-acc-icon{transform:rotate(180deg)}
.sgw-acc-body{max-height:0;overflow:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1)}
.sgw-acc-inner{padding:20px;display:flex;flex-direction:column;gap:12px}
/* Plus icon */
.sgw-acc-item.active .sgw-plus-h{opacity:0}
.sgw-plus-h{transition:opacity .2s}

/* CATEGORY EXPLORER DOCS */
.sgw-layout-category-docs{--sgw-docs-primary:#4c148c;--sgw-docs-accent:#d91bbf;--sgw-docs-soft:#fdf1fb;--sgw-docs-border:#d7dce5;--sgw-docs-text:#25005b;--sgw-docs-muted:#596174}
.sgw-category-docs{display:flex;flex-direction:column;gap:44px}
.sgw-category-explorer{position:relative}
.sgw-category-explorer-title{font-size:1.6rem;font-weight:800;color:var(--sgw-docs-primary);margin:0 0 26px;line-height:1.2}
.sgw-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;min-width:0}
.sgw-category-card{min-width:0;max-width:100%;min-height:190px;text-align:left;border:1.5px solid var(--sgw-docs-border);border-radius:18px;background:#fff;color:inherit;padding:24px 20px 22px;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:13px;position:relative;overflow:hidden;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}
.sgw-category-card:hover{transform:translateY(-3px);border-color:var(--sgw-cat-color,var(--sgw-docs-accent));box-shadow:0 14px 34px rgba(50,0,90,.09)}
.sgw-category-card.active{border-color:var(--sgw-docs-primary);box-shadow:0 16px 38px rgba(50,0,90,.11)}
.sgw-category-card-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--sgw-cat-color,var(--sgw-docs-accent));background:transparent;font-size:1.3rem;flex-shrink:0}
.sgw-category-card-icon svg,.sgw-category-card-icon i{width:28px;height:28px;font-size:28px;color:inherit}
.sgw-category-card-icon svg,.sgw-category-card-icon svg *{fill:currentColor;stroke:currentColor}
.sgw-category-card-title{display:block;width:100%;min-width:0;font-size:1.08rem;font-weight:800;line-height:1.28;color:var(--sgw-docs-text);white-space:normal}
.sgw-category-card-title,.sgw-category-card-desc{max-width:100%;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}
.sgw-category-card-desc{display:block;width:100%;min-width:0;font-size:.91rem;line-height:1.55;color:#1f2a44;white-space:normal}
.sgw-category-card-count{margin-top:auto;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--sgw-cat-color,var(--sgw-docs-accent));opacity:.8}
.sgw-docs-shell{display:block}
.sgw-docs-has-sidebar{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:50px;align-items:start}
.sgw-docs-sidebar{border-radius:18px;background:#fbf7ff;padding:40px;position:sticky;top:80px;min-height:360px}
.sgw-docs-sidebar-title{font-size:1.55rem;font-weight:800;color:var(--sgw-docs-primary);margin:0 0 28px}
.sgw-docs-nav{display:flex;flex-direction:column;gap:10px}
.sgw-docs-nav-link{display:block;text-decoration:none;color:#16213b;font-size:.95rem;line-height:1.75;border-radius:5px;padding:11px 14px;transition:background .18s,color .18s,transform .18s;overflow-wrap:anywhere}
.sgw-docs-nav-link:hover{color:var(--sgw-docs-primary);background:rgba(76,20,140,.06)}
.sgw-docs-nav-link.active{background:#eaf2ff;color:#2b8cff}
.sgw-docs-main{min-width:0}
.sgw-docs-sections{display:flex;flex-direction:column;gap:56px}
.sgw-category-section{scroll-margin-top:96px;margin-bottom:0}
.sgw-category-heading{display:flex;align-items:flex-start;gap:16px;margin:0 0 26px}
.sgw-category-heading-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:var(--sgw-cat-color,var(--sgw-docs-accent));flex-shrink:0;margin-top:4px}
.sgw-category-heading-icon svg,.sgw-category-heading-icon i{width:30px;height:30px;font-size:30px;color:inherit}
.sgw-category-heading-icon svg,.sgw-category-heading-icon svg *{fill:currentColor;stroke:currentColor}
.sgw-category-heading h3{font-size:1.75rem;font-weight:800;color:var(--sgw-docs-text);margin:0 0 6px;line-height:1.2;overflow-wrap:anywhere}
.sgw-category-heading p{font-size:.98rem;line-height:1.55;color:#16213b;margin:0;overflow-wrap:anywhere}
.sgw-layout-category-docs .sgw-acc-item{border:0;border-radius:9px;overflow:hidden;background:transparent;margin-bottom:18px}
.sgw-layout-category-docs .sgw-acc-item.active{border-color:transparent}
.sgw-layout-category-docs .sgw-acc-header{min-height:56px;background:var(--sgw-docs-soft);padding:16px 18px;border-radius:inherit;color:var(--sgw-docs-text)}
.sgw-layout-category-docs .sgw-acc-header:hover{background:color-mix(in srgb,var(--sgw-docs-soft) 84%,#fff)}
.sgw-layout-category-docs .sgw-acc-symbol{width:14px;display:inline-flex;align-items:center;justify-content:center;color:var(--sgw-docs-text);font-size:1.35rem;font-weight:800;line-height:1;flex-shrink:0}
.sgw-layout-category-docs .sgw-acc-symbol::before{content:'+'}
.sgw-layout-category-docs .sgw-acc-item.active .sgw-acc-symbol::before{content:'-'}
.sgw-layout-category-docs .sgw-acc-header .sgw-term-title{font-size:1rem;font-weight:800;color:var(--sgw-docs-text);overflow-wrap:anywhere}
.sgw-layout-category-docs .sgw-acc-body{border-radius:0 0 9px 9px}
.sgw-layout-category-docs .sgw-acc-inner{padding:20px 20px 22px;color:var(--sgw-docs-muted);background:#fff}
.sgw-layout-category-docs .sgw-term-def,.sgw-layout-category-docs .sgw-term-full{overflow-wrap:anywhere}
.sgw-layout-category-docs .sgw-term-def{font-size:.96rem;color:#5f6675}
.sgw-layout-category-docs .sgw-copy-btn{position:static;margin-left:auto}

/* PAGINATION */
.sgw-pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--sgw-border)}
.sgw-page-btn{min-width:38px;height:38px;padding:0 10px;border:1.5px solid var(--sgw-border);border-radius:8px;background:#fff;font-family:inherit;font-size:.875rem;font-weight:600;cursor:pointer;color:var(--sgw-muted);transition:all .18s}
.sgw-page-btn:hover{border-color:var(--sgw-primary);color:var(--sgw-primary)}
.sgw-page-btn.active{background:var(--sgw-primary);border-color:var(--sgw-primary);color:#fff;box-shadow:0 2px 8px rgba(99,102,241,.3)}

/* NO RESULTS */
.sgw-no-results{text-align:center;padding:3rem 1rem;display:flex;flex-direction:column;align-items:center;gap:.75rem}
.sgw-no-results-icon{color:#94a3b8}
.sgw-no-results-text{font-size:1.1rem;font-weight:600;color:#64748b;margin:0}
.sgw-no-results-sub{font-size:.875rem;color:#94a3b8;margin:0}

/* BACK TO TOP */
.sgw-back-top{position:fixed;bottom:28px;right:28px;z-index:999;width:46px;height:46px;border-radius:50%;background:var(--sgw-primary);color:#fff;border:none;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(99,102,241,.45);transition:opacity .25s,transform .25s}
.sgw-back-top.visible{display:flex}
.sgw-back-top:hover{transform:translateY(-3px)}

/* ANIMATIONS */
.sgw-animate{opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .45s ease;transition-delay:var(--sgw-delay,0s)}
.sgw-animate.sgw-visible{opacity:1;transform:translateY(0)}
.elementor-editor-active .sgw-animate,.elementor-editor-preview .sgw-animate{opacity:1;transform:none}

/* FOCUS STYLES (a11y) */
.sgw-item:focus-visible,.sgw-alpha-btn:focus-visible,.sgw-cat-btn:focus-visible,.sgw-acc-header:focus-visible,.sgw-copy-btn:focus-visible,.sgw-page-btn:focus-visible{outline:2px solid var(--sgw-primary);outline-offset:2px}

/* RESPONSIVE */
@media(max-width:768px){
  .sgw-title{font-size:1.6rem}
  .sgw-has-sidebar{flex-direction:column}
  .sgw-sidebar{width:100%}
  .sgw-sidebar-nav{flex-direction:row;flex-wrap:wrap}
  .sgw-alpha-bar{gap:4px;padding:.75rem}
  .sgw-alpha-btn{min-width:30px;height:30px;font-size:.75rem}
  .sgw-item{padding:18px}
  .sgw-back-top{bottom:16px;right:16px;width:40px;height:40px}
  .sgw-featured-section{padding:1rem 1rem 1.5rem}
  .sgw-category-grid{grid-template-columns:1fr}
  .sgw-docs-has-sidebar{grid-template-columns:1fr;gap:28px}
  .sgw-docs-sidebar{position:relative;top:auto;width:100%!important;min-height:0;padding:24px}
  .sgw-docs-nav{display:grid;grid-template-columns:1fr;gap:8px}
  .sgw-category-heading h3{font-size:1.35rem}
  .sgw-category-docs{gap:30px}
}

@media(max-width:1024px) and (min-width:769px){
  .sgw-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sgw-docs-has-sidebar{grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:32px}
}
