/* Shared public layout repair: full wordmark, compact navigation and article TOC. */
@media (max-width:1199px) {
  body .site-header:is(.restored-header,.lc-header) {
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    align-items:center; height:auto; min-height:0;
    padding:16px 24px 12px; gap:12px 20px;
  }
  body .site-header:is(.restored-header,.lc-header) .logo {
    grid-column:1; grid-row:1; justify-self:start;
    display:block; width:156px; max-width:100%; height:auto;
    padding:0; margin:0; line-height:0;
  }
  body .site-header:is(.restored-header,.lc-header) .logo img {
    display:block; width:100%; max-width:100%; height:auto;
    max-height:36px; aspect-ratio:auto; object-fit:contain;
  }
  body .site-header:is(.restored-header,.lc-header) .header-actions {
    grid-column:2; grid-row:1; justify-self:end;
    margin:0; gap:12px; min-width:0;
  }
  body .site-header:is(.restored-header,.lc-header) .header-contact {display:none}
  body .site-header:is(.restored-header,.lc-header) nav {
    position:static; inset:auto; transform:none; order:initial;
    grid-column:1/-1; grid-row:2; display:flex!important;
    align-items:stretch; justify-content:center!important;
    width:100%; height:auto; min-width:0; margin:0; padding:0;
    overflow:visible; gap:8px 20px!important;
  }
  body .site-header:is(.restored-header,.lc-header) nav a {
    display:flex!important; align-items:center; justify-content:center;
    justify-self:stretch; min-width:0; max-width:none;
    min-height:40px; margin:0; padding:10px 16px;
    font-size:12px; line-height:1.35; text-align:center;
    white-space:normal; text-wrap:balance;
  }
}
@media (max-width:760px) {
  body .site-header:is(.restored-header,.lc-header) {padding:16px 18px 12px; gap:12px 14px}
  body .site-header:is(.restored-header,.lc-header) .logo {width:140px}
  body .site-header:is(.restored-header,.lc-header) nav {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 12px!important;
  }
  body .site-header:is(.restored-header,.lc-header) nav a {padding:9px 8px; min-height:40px; font-size:12px}
  body .site-header:is(.restored-header,.lc-header) .header-actions {gap:8px}
  body .site-header:is(.restored-header,.lc-header) .nav-search {width:36px;height:36px;flex-shrink:0}
  body .site-header:is(.restored-header,.lc-header) .language-menu {right:0;left:auto;max-width:calc(100vw - 36px)}
  body .site-header:is(.restored-header,.lc-header) .lc-lang>div {right:0;left:auto;max-width:calc(100vw - 36px)}
}
/* Article headers scroll away: a 20px inset is enough, with no empty header slot. */
@media (min-width:761px) {
  .article-sidebar>.toc-scroll {top:20px;max-height:calc(100dvh - 40px)}
  .lc-guide-page .lc-guide-sidebar {top:20px;max-height:calc(100dvh - 40px)}
}
/* Keep the original blog registration component visible on every article. */
.bottom-signup>.signup-banner {opacity:1;transform:none}
/* The supplied square affiliate product image has its own clear purchase action. */
.editorial-oct28 .ed-lovense-product {padding:16px;background:#fff;border:1px solid #f0d8e7;border-radius:20px}
.editorial-oct28 .ed-lovense-product>a:first-child {display:block}
.editorial-oct28 .ed-lovense-product>[hidden] {display:none}
.editorial-oct28 .ed-product-fallback {font-weight:800;text-align:center;font-size:18px;padding:12px 0;display:block}
.editorial-oct28 .ed-lovense-product img {display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border:0;box-shadow:none}
.editorial-oct28 .ed-lovense-product .ed-buy-button {
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:48px;margin:14px 0 0;padding:13px 14px;
  background:#f0008b;color:#fff;border:1px solid #d7007b;border-radius:24px;
  box-shadow:0 5px 16px #e9008024;text-decoration:none;
  font:800 14px/1.4 Manrope,Arial,sans-serif;text-align:center;text-wrap:balance;
}
.editorial-oct28 .ed-lovense-product .ed-buy-button:hover {background:#cb0076}
.editorial-oct28 .ed-lovense-product a:focus-visible {outline:3px solid #af0066;outline-offset:4px}
@media(max-width:760px) {
  .editorial-oct28 .ed-lovense-product {float:none;width:min(100%,340px);margin:20px auto 26px}
}
