/* Looks Studio 0.9.5 — sticky header + automatic SEO directory footer.
   One stylesheet after v0.9.4; existing theme, account and editor logic unchanged. */

/* overflow:hidden on the page shell used to create a hidden scrolling ancestor,
   preventing position:sticky from following the viewport. "clip" clips the
   decorative glows without creating a scroll container. */
.lsm-site-shell { overflow: clip; }
.lsm-site-shell .lsm-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 15, 28, .94);
  border-bottom: 1px solid rgba(209, 151, 219, .22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 22px rgba(7, 4, 12, .13);
}
.lsm-site-shell[data-theme="light"] .lsm-site-header {
  background: rgba(255, 250, 255, .96);
  border-bottom-color: rgba(120, 78, 131, .18);
  box-shadow: 0 5px 24px rgba(82, 40, 97, .10);
}
/* WordPress admin toolbar is fixed on desktop/tablet, but not on small phones. */
body.admin-bar .lsm-site-shell .lsm-site-header {top: 32px;}
@media(max-width:782px) {
  body.admin-bar .lsm-site-shell .lsm-site-header {top: 46px;}
}
@media(max-width:600px) {
  body.admin-bar .lsm-site-shell .lsm-site-header {top: 0;}
}
/* Prevent section headings from getting hidden behind the sticky bar. */
.lsm-site-shell :is(#studio, #features, #examples, #how-it-works, #faq, #related, #styles, #tools, #tips, #about, #limits, #start-creating) {
  scroll-margin-top: 105px;
}
@media(max-width:720px) {
  .lsm-site-shell :is(#studio, #features, #examples, #how-it-works, #faq, #related, #styles, #tools, #tips, #about, #limits, #start-creating) {scroll-margin-top: 85px;}
}

/* SEO footer — a compact multi-column text directory, not an image-card grid. */
.lsm-site-shell {
  --lsm-footer-rule: rgba(210, 166, 221, .21);
  --lsm-footer-title: #f5e8f7;
  --lsm-footer-copy: #c1b3c7;
  --lsm-footer-link: #d8cedd;
  --lsm-footer-hover: #f7b7eb;
}
.lsm-site-shell[data-theme="light"] {
  --lsm-footer-rule: #e6d6e6;
  --lsm-footer-title: #3b2442;
  --lsm-footer-copy: #6a5770;
  --lsm-footer-link: #594663;
  --lsm-footer-hover: #84317a;
}
.lsm-site-shell .lsm-site-footer {
  display: block;
  width: min(1290px, calc(100% - 36px));
  margin: 52px auto 0;
  padding: 30px 0 22px;
  border-top: 1px solid var(--lsm-footer-rule);
  color: var(--lsm-footer-copy);
  text-align: left;
  font-size: 12px;
}
.lsm-site-shell .lsm-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.lsm-site-shell .lsm-site-footer .lsm-brand { color: var(--lsm-footer-title); font-size: 17px; }
.lsm-site-shell .lsm-footer-note {margin: 0; color:var(--lsm-footer-copy);font-size:12px;line-height:1.5;}
.lsm-site-shell .lsm-footer-directory {
  display: block;
  border-top: 1px solid var(--lsm-footer-rule);
  border-bottom: 1px solid var(--lsm-footer-rule);
  margin: 26px 0 18px;
  padding: 24px 0 28px;
}
.lsm-site-shell .lsm-footer-directory-heading h2 {
  color: var(--lsm-footer-title);
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 750;
  letter-spacing: -.15px;
}
.lsm-site-shell .lsm-footer-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 26px 36px;
}
.lsm-site-shell .lsm-footer-group { min-width: 0; }
.lsm-site-shell .lsm-footer-group h3 {
  color: var(--lsm-footer-title);
  font-size: 12px;
  font-weight: 750;
  margin: 0 0 13px;
  line-height: 1.45;
}
.lsm-site-shell .lsm-footer-group ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lsm-site-shell .lsm-footer-group li {margin:0; padding:0; min-width:0;}
.lsm-site-shell .lsm-footer-group a {
  display: inline-block;
  max-width: 100%;
  color: var(--lsm-footer-link);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color .16s ease;
}
.lsm-site-shell .lsm-footer-group a:is(:hover, :focus-visible) {
  color: var(--lsm-footer-hover);
  text-decoration: underline;
}
.lsm-site-shell .lsm-footer-group a[aria-current="page"] {
  color: var(--lsm-footer-title);
  font-weight: 750;
}
.lsm-site-shell .lsm-footer-bottom {display:flex;justify-content:space-between;gap:10px;color:var(--lsm-footer-copy);font-size:11px;}
@media(max-width:720px) {
  .lsm-site-shell .lsm-site-footer {
    width: calc(100% - 30px);
    margin-top: 34px;
    padding: 24px 0 18px;
    text-align: left;
  }
  .lsm-site-shell .lsm-footer-top {align-items: flex-start;flex-direction: column;gap:10px;}
  .lsm-site-shell .lsm-footer-note {font-size:11px;}
  .lsm-site-shell .lsm-footer-directory {margin:18px 0 15px;padding:20px 0 22px;}
  .lsm-site-shell .lsm-footer-directory-heading h2 {font-size:15px;margin-bottom:18px;}
  .lsm-site-shell .lsm-footer-groups {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;}
  .lsm-site-shell .lsm-footer-group a {font-size:12px;}
}
@media(max-width:390px) {
  .lsm-site-shell .lsm-footer-groups {grid-template-columns:1fr;gap:22px;}
}
@media(prefers-reduced-motion:reduce) {
  .lsm-site-shell .lsm-footer-group a {transition:none;}
}
