/* Shared templates for all pages, including pages created after installation. */
.wp-site-blocks { padding:0; }
.wp-site-blocks > .lp-site { margin:0; }
.lp-site { min-height:100vh; }
.lp-site .wp-block-template-part { margin-block:0; }
.lp-site .lp-shared-header { width:min(1248px,calc(100% - 96px)); margin-inline:auto; min-height:100px; padding-block:20px; border-bottom:1px solid var(--lp-line); display:flex; justify-content:space-between; align-items:center; gap:24px; }
.lp-site .lp-shared-brand { display:flex; align-items:center; gap:12px; }
.lp-site .lp-shared-brand .wp-block-site-title { margin:0; font-size:18px!important; line-height:1.35; font-weight:700; }
.lp-site .lp-shared-brand .wp-block-site-title a::before { content:'✳'; color:var(--lp-accent); margin-right:10px; }
.lp-site .wp-block-site-logo img { max-width:64px; max-height:64px; object-fit:contain; }
.lp-site .lp-shared-nav .wp-block-navigation__container { gap:24px; }
.lp-site .lp-shared-nav a { font-size:16px; text-decoration:none; min-height:44px; display:flex; align-items:center; }
.lp-site .lp-shared-nav a:hover,.lp-site .lp-shared-nav .current-menu-item > a { color:var(--lp-accent); }
.lp-site .lp-page-content { width:min(850px,calc(100% - 96px)); margin-inline:auto; padding:56px 0 80px; min-height:60vh; }
.lp-site .lp-page-title { margin-bottom:40px; padding-bottom:28px; border-bottom:1px solid var(--lp-line); }
.lp-site .wp-block-post-content > * { max-width:100%; }
.lp-site .wp-block-post-content { color:var(--lp-muted); }
.lp-site .wp-block-post-content > :is(h2,h3,h4,h5,h6) { margin-top:36px; }
.lp-site .wp-block-post-content :is(ul,ol) { padding-inline-start:1.4em; }
.lp-site .wp-block-post-content a:not(.wp-block-button__link) { text-underline-offset:.2em; }
.lp-site .wp-block-post-content figure img { border-radius:14px; }
.lp-site .lp-full-content { margin:0; }
.lp-legacy-page .lp-page-content { width:100%; padding:0; }
.lp-site .lp-shared-footer { width:min(1248px,calc(100% - 96px)); margin-inline:auto; border-top:1px solid var(--lp-line); padding:36px 0; }
.lp-site .lp-footer-row { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:24px; }
.lp-site .lp-shared-footer .lp-footer-note { color:var(--lp-muted); margin:24px 0 0; }
.lp-site .lp-shared-mobile { display:none; }
.lp-site .lp-hamburger { display:none; }
.lp-site .wp-block-query .wp-block-post-template { list-style:none; padding:0; }
.lp-site .wp-block-query .wp-block-post { padding-bottom:36px; margin-bottom:36px; border-bottom:1px solid var(--lp-line); }
.lp-site .wp-block-search__input { background:#152033; color:#f0f3ef; border:1px solid #536580; border-radius:8px; }
.lp-site .wp-block-search__button { background:#c4f568; color:#142019; border-radius:8px; }
.lp-site :is(table,pre) { max-width:100%; overflow:auto; }
.lp-site :is(h1,h2,h3,h4,h5,h6,p) { overflow-wrap:anywhere; }
.lp-site .wp-block-post-title { line-height:1.35; }
.lp-site .wp-block-post-content > .lp-subpage-heading { margin-top:0; }
@media(max-width:760px) {
  html { scroll-padding-top:112px; }
  .lp-site > .wp-block-template-part:first-child { position:sticky; top:0; z-index:90; background:#0b1220f5; backdrop-filter:blur(16px); }
  .lp-site .lp-shared-header { width:calc(100% - 40px); min-height:80px; gap:16px; }
  .lp-site .lp-desktop-navigation { display:none; }
  .lp-site .lp-shared-brand { min-width:0; }
  .lp-site .lp-hamburger { display:block; position:relative; flex:0 0 48px; margin:0; padding:0; border:0; z-index:80; }
  .lp-site .lp-hamburger:last-child { border:0; }
  .lp-site .lp-hamburger > summary { display:flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; margin:0; border:1px solid #40506a; border-radius:12px; background:#152033; color:var(--lp-accent); cursor:pointer; list-style:none; }
  .lp-site .lp-hamburger > summary::marker { content:''; }
  .lp-site .lp-hamburger > summary::before { content:''; display:block; width:22px; height:18px; background:linear-gradient(currentColor,currentColor) top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) bottom/100% 2px no-repeat; }
  .lp-site .lp-hamburger > summary::after { content:none; }
  .lp-site .lp-hamburger[open] > summary::after { content:none; }
  .lp-site .lp-hamburger[open] > summary::before { height:22px; background:linear-gradient(45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(-45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)); }
  .lp-site .lp-hamburger .lp-menu-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .lp-site .lp-hamburger > .wp-block-template-part { position:absolute; top:calc(100% + 12px); right:0; width:min(300px,calc(100vw - 40px)); max-height:calc(100dvh - 200px); overflow-y:auto; padding:12px; border:1px solid #40506a; border-radius:14px; background:#152033; box-shadow:0 18px 40px #0006; }
  .lp-site .lp-hamburger .wp-block-navigation { display:block; }
  .lp-site .lp-hamburger .wp-block-navigation__container { display:flex; flex-direction:column; align-items:stretch; gap:4px; width:100%; }
  .lp-site .lp-hamburger .wp-block-navigation-item { width:100%; }
  .lp-site .lp-hamburger .wp-block-navigation-item a { width:100%; padding:12px 16px; min-height:48px; border-radius:9px; font-size:18px; }
  .lp-site .lp-hamburger .current-menu-item > a { background:#c4f56816; color:var(--lp-accent); }
  .lp-site .lp-page-content { width:calc(100% - 40px); padding:36px 0 48px; }
  .lp-legacy-page .lp-page-content { width:100%; padding:0; }
  .lp-site .lp-shared-footer { width:calc(100% - 40px); }
  .lp-site .lp-shared-footer .lp-shared-nav .wp-block-navigation__container { flex-wrap:wrap; gap:8px 22px; }
  .lp-site .lp-shared-mobile { display:block; position:fixed; bottom:calc(10px + env(safe-area-inset-bottom)); left:12px; right:12px; z-index:50; padding:5px; border:1px solid #40506a; border-radius:14px; background:#152033f5; backdrop-filter:blur(16px); box-shadow:0 8px 28px #0005; }
  .lp-site .lp-shared-mobile .wp-block-navigation { display:block; }
  .lp-site .lp-shared-mobile .wp-block-navigation__container { display:flex; flex-wrap:nowrap; gap:4px; overflow-x:auto; }
  .lp-site .lp-shared-mobile .wp-block-navigation-item { flex:1 0 84px; min-width:0; }
  .lp-site .lp-shared-mobile a { justify-content:center; width:100%; min-height:58px; text-align:center; padding:8px 5px; font-size:13px; border-radius:9px; }
  .lp-site .lp-shared-mobile .current-menu-item > a { background:var(--lp-accent); color:#142019; }
  .lp-site .lp-shared-mobile .wp-block-navigation-item__label { overflow-wrap:anywhere; }
}
@media(min-width:601px) and (max-width:760px) {
  .admin-bar .lp-site > .wp-block-template-part:first-child { top:46px; }
}
/* The editor canvas shows the same reading typography without fixed overlays. */
.editor-styles-wrapper { background:#0b1220; color:#f0f3ef; font-family:Arial,Helvetica,sans-serif; }
.editor-styles-wrapper h1 { font-size:40px; }
.editor-styles-wrapper h2 { font-size:35px; }
.editor-styles-wrapper h3 { font-size:30px; }
.editor-styles-wrapper h4 { font-size:25px; }
.editor-styles-wrapper h5 { font-size:20px; }
.editor-styles-wrapper h6,.editor-styles-wrapper p { font-size:18px; }
.editor-styles-wrapper .lp-shared-mobile,.editor-styles-wrapper .lp-back-to-top { position:static!important; }
