:root{
  --bg:#0f0f12;
  --panel:#16161b;
  --panel2:#1b1b22;
  --fg:#f2f2f6;
  --muted:#b8b8c7;
  --border:#2a2a33;
  --accent: rgba(255,255,255,0.09);
  --sidebarW: 280px;
  --radius: 16px;
}

:root{
  --brand-title-font: "Cinzel Decorative", serif;
  --brand-ui-font: "Cinzel", serif;
}

.stlb {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.stlb.is-open { display: block; }

.stlb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}

.stlb__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, calc(100vw - 32px));
  height: min(720px, calc(100vh - 32px));
  background: rgba(18,18,22,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.6);
  overflow: hidden;
  color: rgba(255,255,255,0.9);
}

.stlb__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.stlb__body {
  height: 100%;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
}

@media (max-width: 900px) {
  .stlb__body { grid-template-columns: 1fr; grid-template-rows: 1.2fr 0.8fr; }
}

.stlb__viewer {
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 10px;
}

.stlb__stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
}

#stlb-img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: 0 0;
  cursor: grab;
  will-change: transform;
}

#stlb-img:active { cursor: grabbing; }

.stlb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
}
.stlb__prev { left: 22px; }
.stlb__next { right: 22px; }

.stlb__tools {
  display: flex;
  gap: 8px;
}
.stlb__tools button {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.stlb__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.stlb__thumbs img {
  height: 58px;
  width: auto;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.9;
}
.stlb__thumbs img.is-active {
  border-color: rgba(255,255,255,0.75);
  opacity: 1;
}

.stlb__meta {
  padding: 18px 18px 18px 10px;
  overflow: auto;
  border-left: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .stlb__meta { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 16px; }
}

.stlb__title { margin: 6px 0 10px; font-size: 22px; }
.stlb__desc { margin: 0 0 10px; line-height: 1.45; color: rgba(255,255,255,0.82); }
.stlb__tags { margin: 0 0 14px; color: rgba(255,255,255,0.65); }
.stlb__open { color: rgba(255,255,255,0.9); text-decoration: underline; }

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--fg);
  line-height:1.5;
}

a{ color:inherit; }
a:hover{ opacity:0.92; }


.mobile-header{ display:none; }


.overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  background: rgba(0,0,0,0.55);
}
.overlay[hidden]{ display:none; }


.layout{
  display:flex;
  min-height:100vh;
}


.sidebar{
  position:fixed;
  top:0; left:0; bottom:0;
  width:var(--sidebarW);
  padding:22px 18px;
  overflow:auto;
  overflow-x:hidden;
  border-right:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.0));
}

/* brand */
.brand.brand-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  width:100%;
  margin-bottom:18px;
}

.logo{
  border:1px solid var(--border);
  background: var(--panel);
  object-fit:cover;
}

.logo-big{
  width:120px;
  height:120px;
  border-radius:999px;
}

.site-title{
  width:100%;
  margin:0;
  padding: 0 10px;
  text-align:center;
  font-family: "Cinzel Decorative", system-ui, serif;
  font-size:22px;
  line-height:1.15;
  letter-spacing:0.6px;
  word-break: break-word;
}

/* nav */
.nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:14px 0 18px;
}

.nav-link{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  background:transparent;
}
.nav-link:hover{ background:var(--accent); }

.nav-link.active{
  background: rgba(255,255,255,0.07);
  border:1px solid var(--border);
}

.nav-group summary{
  list-style:none;
  cursor:pointer;
}
.nav-group summary::-webkit-details-marker{ display:none; }

.nav-sub{
  margin:8px 0 0 10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.nav-sublink{
  text-decoration:none;
  color:var(--muted);
  padding:6px 10px;
  border-radius:10px;
}
.nav-sublink:hover{
  background:var(--accent);
  color:var(--fg);
}


.search{
  margin-top:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: rgba(255,255,255,0.03);
}
.search-label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.search-input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--fg);
  outline:none;
}
.search-input:focus{
  border-color: rgba(255,255,255,0.25);
}

/* main */
.main{
  margin-left:var(--sidebarW);
  width: calc(100% - var(--sidebarW));
}
.main-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px;
}

.card{
  break-inside: avoid;
  margin: 0 0 16px 0;
}


.thumb{
  width:100%;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor: zoom-in;
  display:block;
}

.thumb img{
  width:100%;
  height:auto;             
  border-radius: 14px;
  background: var(--panel2);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.thumb:hover img{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.no-results{
  margin-top:18px;
  color:var(--muted);
  font-size:14px;
}


.lightbox::backdrop{ background: rgba(0,0,0,0.75); }

.lightbox{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:0;
  background: var(--panel);
  max-width: min(92vw, 980px);
}

.lightbox figure{ margin:0; }
.lightbox img{ width:100%; height:auto; display:block; }

.lightbox figcaption{
  padding:12px 14px;
  color:var(--muted);
  font-size: 14px;
}

.lightbox figcaption .cap-title{
  display:block;
  color: var(--fg);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lightbox figcaption .cap-tags{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.95;
}

.close{
  position:absolute;
  top:10px; right:10px;
  border:1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color:var(--fg);
  border-radius:999px;
  padding:8px 10px;
  cursor:pointer;
}

.lb-wrap{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 14px;
}

.lb-media{ min-width: 0; }


.lb-nav{
  display: none !important;
}

.lb-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lb-thumb{
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

.lb-thumb img{
  display:block;
  width: 90px;
  height: 70px;
  object-fit: cover;
  background: var(--panel2);
}

.lb-thumb.active{
  outline: 2px solid rgba(255,255,255,0.35);
}

.lb-caption{
  color: var(--muted);
  font-size: 14px;
}

.lb-caption .cap-title{
  color: var(--fg);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.lb-caption .cap-details{ margin-bottom: 10px; }
.lb-caption .cap-desc{ white-space: pre-wrap; margin-top: 8px; }
.lb-caption .cap-tags{ margin-top: 12px; font-size: 13px; opacity: 0.95; }

.zoom-hint{ margin-top: 12px; font-size: 12px; opacity: 0.9; }

@media (max-width: 860px){
  .lb-wrap{ grid-template-columns: 1fr; }
  #lightboxImg{ max-height: 65vh; }
}
.cap-desc, .cap-desc a { pointer-events: auto; }
.cap-desc a { text-decoration: underline; }




.nav-link{ color: var(--fg); }

button.nav-link{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--fg);
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
button.nav-link:hover{ background: var(--accent); }

.nav-link,
button.nav-link{
  font-family: "Cinzel", system-ui, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-sublink{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing: 0;
  text-transform: none;
}


.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99998;
}
.modal.is-open{ display:block; }

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}

.modal-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100vw - 32px));
  background: rgba(18,18,22,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.6);
  padding: 18px 18px 16px;
  color: var(--fg);
}

.modal-close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
  font-size: 22px;
  cursor: pointer;
}

.nl-beetle{
  display:block;
  width: 72px;
  height: auto;
  margin: 4px auto 10px;
  opacity: 0.95;
}

#newsletterModal #nlTitle{
  font-family: "Cinzel", system-ui, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 2px 0 8px;
}

#newsletterModal .modal-panel,
#newsletterModal input,
#newsletterModal button,
#newsletterModal p,
#newsletterModal small,
#newsletterModal label{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

#newsletterModal #nlTitle{
  font-family: "Cinzel", system-ui, serif;
}

.modal-sub{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
  text-align: center;
}

.newsletter-embed{
  padding-top: 6px;
}

.nl-form{
  display: flex;
  gap: 10px;
}

.nl-input{
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  color: var(--fg);
}

.nl-input::placeholder{
  color: rgba(255,255,255,0.55);
}

.nl-btn{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: var(--fg);
  cursor: pointer;
}

.nl-btn:hover{ background: rgba(255,255,255,0.14); }

.modal-fineprint{
  display:block;
  margin-top: 10px;
  color: rgba(255,255,255,0.65);
  text-align:center;
  font-size: 12px;
}


#newsletterModal .modal-panel{
  text-align: left !important;
}


#newsletterModal .nl-head{
  display: block;
  margin-bottom: 10px;
}


#newsletterModal .nl-beetle{
  display: block;
  width: clamp(150px, 28vw, 240px);
  height: auto;
  margin: 0 auto 10px;
}


#newsletterModal #nlTitle{
  margin: 0;
  text-align: left;
  line-height: 1.15;
}


#newsletterModal .modal-sub,
#newsletterModal .newsletter-embed,
#newsletterModal .modal-fineprint{
  text-align: left !important;
}



details.nav-gallery:not([open]) .nav-sub { display: none !important; }
details.nav-gallery[open] .nav-sub { display: flex !important; }


.sidebar .nav a.nav-link{
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;                
  text-decoration: none;      
  font: inherit;              
  letter-spacing: inherit;
  text-transform: inherit;
}


.sidebar .nav a.nav-link:hover{
  background: transparent;
  text-decoration: none;
  opacity: 0.9;
}

.sidebar .nav a.nav-link.active{
  background: transparent;
  border: 0;
  text-decoration: none;
  font-weight: inherit;
}


.sidebar .nav a.nav-link:focus{
  outline: none;
}
.sidebar .nav a.nav-link:focus-visible{
  outline: 2px solid rgba(255,255,255,0.25);
  outline-offset: 3px;
  border-radius: 6px;
}


.sidebar .nav a.nav-link,
.sidebar .nav summary.nav-link{
  font-family: "Cinzel", system-ui, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--sidebar-link-size);

  display: block;
  padding: 8px 0;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  text-decoration: none !important;
  color: inherit;
}


.sidebar .nav a.nav-link:hover,
.sidebar .nav summary.nav-link:hover{
  background: transparent !important;
  text-decoration: none !important;
  opacity: 0.9;
}


.sidebar .nav a.nav-link.active{
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
  opacity: 1;
}


.sidebar .nav a.nav-link:focus-visible,
.sidebar .nav summary.nav-link:focus-visible{
  outline: 2px solid rgba(255,255,255,0.25);
  outline-offset: 4px;
  border-radius: 6px;
}
.contact-image{
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.brand-home{
  display: block;
  color: inherit;
  text-decoration: none;
}

.brand-home:hover{
  opacity: 0.92;
}
.lang-switch{
  display:flex;
  gap:8px;
  justify-content:flex-start;
  align-items:center;
  margin: 0 0 10px;
}


.lang-panel{ display:none !important; }
.lang-panel.is-active{ display:block !important; }


.sidebar-drop__summary{
  font-family: var(--brand-ui-font);
  font-weight: 400;         
  letter-spacing: 0.16em;   
  text-transform: uppercase;
  font-size: 0.92rem;
}

.mailing-btn,
.join-mailing,
.sidebar .mailing-btn{
  font-family: var(--brand-ui-font);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}


.sidebar-drop__summary{
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 0;
  cursor: pointer;
  user-select: none;

  list-style: none;
}
.sidebar-drop__summary::-webkit-details-marker{ display:none; }
.sidebar-drop__summary::marker{ content:""; }

.sidebar-drop__summary::after{
  content: "▾";
  opacity: 0.75;
  transform: rotate(-90deg); 
  transition: transform 160ms ease, opacity 160ms ease;
}
.sidebar-drop[open] .sidebar-drop__summary::after{
  transform: rotate(0deg);  
  opacity: 0.95;
}


.sidebar .nav-newsletter{
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.86rem;
}


:root{
  --sidebar-special-font: "Cormorant Garamond", serif;
}

.sidebar-drop__summary,
.nav-newsletter{
  font-family: var(--sidebar-special-font);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.sidebar-drop__summary{ font-size: 0.95rem; padding: 10px 12px; }
.nav-newsletter{ font-size: 0.92rem; }


.sidebar-drop__summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-drop__summary::-webkit-details-marker{ display:none; }
.sidebar-drop__summary::marker{ content:""; }

.sidebar-drop__summary::after{
  content: "▸";
  opacity: 0.75;
}
.sidebar-drop[open] .sidebar-drop__summary::after{
  content: "▾";
  opacity: 0.95;
}


.sidebar{
  display:flex;
  flex-direction:column;
}

.nav{
  margin:14px 0 0; 
}

.sidebar-bottom{
  margin-top:auto;           
  padding-top:22px;         
  display:flex;
  flex-direction:column;
  gap:14px;
}

.sidebar-bottom .search{ margin-top:0; }


:root{
  --sidebar-bottom-font: ui-serif, Georgia, "Times New Roman", serif;
}

.sidebar-drop__summary,
.nav-newsletter{
  font-family: var(--sidebar-bottom-font);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
}


.nav-newsletter{
  background: transparent;
  border: 0;
  padding: 10px 12px;
  text-align:left;
  cursor:pointer;
}


.sidebar-drop__summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
}
.sidebar-drop__summary::-webkit-details-marker{ display:none; }
.sidebar-drop__summary::marker{ content:""; }

.sidebar-drop__summary::after{ content:"▸"; opacity:0.75; }
.sidebar-drop[open] .sidebar-drop__summary::after{ content:"▾"; opacity:0.95; }


.sidebar-events{ margin: 8px 0 0; padding-left: 18px; }
.sidebar-events li{ margin: 10px 0; line-height: 1.4; }


.sep{
  margin:18px 0;
  opacity:0.65;
  letter-spacing:2px;
}


.sidebar{
  overflow-y: auto;
  scrollbar-gutter: stable; 
}
@supports not (scrollbar-gutter: stable){
  .sidebar{ overflow-y: scroll; } 
}


.sidebar .sidebar-drop__summary{
  font-family: ui-serif, Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;

  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.sidebar button.nav-link.nav-newsletter{
  font-family: "Cinzel", system-ui, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;

 
  border: 1px solid var(--border) !important;
  background: rgba(255,255,255,0.03) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
}
.sidebar button.nav-link.nav-newsletter:hover{
  background: var(--accent) !important;
}

.sidebar .sidebar-drop__summary{
  font-size: 0.84rem !important;     
  white-space: nowrap !important;    
}

.sidebar-copyright{
  margin: 6px 0 0;
  font: 12px/1.2 Arial, sans-serif;
  opacity: 0.55;
  letter-spacing: 0.02em;
}


.press-clip{
  margin: 14px 0 18px;
  max-width: 320px;
}

.press-clip__btn{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.press-clip__btn img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.press-clip figcaption{
  margin-top: 8px;
  font: 12px/1.2 Arial, sans-serif;
  opacity: 0.7;
}


.press-clip{
  max-width: 240px;   
}

.press-clip__btn{
  padding: 6px;
}

.press-clip__btn img{
  border-radius: 10px;
}

.press-clip{ max-width: 220px; }     

.lightbox.is-article-only .lb-caption{ display: none !important; }
.lightbox.is-article-only .lb-wrap{ grid-template-columns: 1fr !important; }

.masonry{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-auto-rows: 10px;
  align-items: start;
}

@media (min-width: 700px){
  .masonry{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1050px){
  .masonry{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1400px){
  .masonry{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.masonry .card{
  margin: 0;
  break-inside: auto;
}


.lb-post-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color: var(--fg);
  border-radius: 999px;
  width: 56px;
  height: 56px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  z-index: 20;
}

.shop-page { text-align: left !important; }

.shop-banner-wrap{
  width: 100%;
  display: flex !important;
  justify-content: flex-start !important;
}

.shop-banner-link{
  display: block;
  width: 800px;
  max-width: 100%;
  margin: 0 !important;
}

.shop-banner{
  display: block;
  width: 100%;
  height: auto;
}

.muted a {
  color: inherit;
}

.muted,
.muted a {
  color: #8fa1b3;
}

:root{
  --sidebar-font-size: 14px;
  --sidebar-link-size: 14px;     
  --sidebar-sublink-size: 13px;  
}

.sidebar{
  font-size: var(--sidebar-font-size);
}

.sidebar .nav a.nav-link,
.sidebar .nav summary.nav-link,
.sidebar .nav button.nav-link{
  font-size: var(--sidebar-link-size) !important;
  line-height: 1.2;
}

.sidebar .nav-sublink{
  font-size: var(--sidebar-sublink-size) !important;
  line-height: 1.2;
}


.lightbox{
  position: relative;
  width: min(96vw, 1600px);
  max-width: none;
  padding: 18px;
  overflow: visible;
}

.lightbox .lb-wrap{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.lightbox .lb-media{
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.lightbox .lb-figure{
  width: auto;
  min-height: clamp(420px, 72vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox #lightboxImg{
  display: block;
  max-width: min(100%, 1100px);
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox .lb-thumbs{
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  padding: 0 6px 6px;
  
}
.lightbox .lb-thumb{
  flex: 0 0 auto;
}

.lightbox .lb-thumb img{
  height: 78px;
  width: auto;
  object-fit: cover;
}

.lightbox .lb-caption{
  flex: 0 0 auto;
  width: min(300px, 26vw);
  max-width: 300px;
  min-width: 220px;
  padding-right: 18px;
}


.lightbox .lb-post-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-post-prev{
  left: 12px;
}

.lightbox .lb-post-next{
  right: 12px;
}

@media (max-width: 860px){
  .lightbox{
    width: min(98vw, 980px);
    padding: 14px;
  }

  .lightbox .lb-wrap{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .lightbox .lb-media{
    align-items: center;
  }

  .lightbox .lb-figure{
    min-height: clamp(280px, 52vh, 620px);
  }

  .lightbox #lightboxImg{
    max-height: 52vh;
    max-width: 100%;
  }

  .lightbox .lb-caption{
    width: auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
  }


}


.lightbox .lb-figure{
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  touch-action: none;
}

.lightbox .lb-figure.zoomed{
  cursor: grab;
}

.lightbox .lb-figure.zoomed.dragging{
  cursor: grabbing;
}

.lightbox #lightboxImg{
  transform-origin: center center;
  will-change: transform;
}

@media (min-width: 861px) {
  .site-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .brand.brand-stack.brand-home {
    margin-bottom: 10px;
    overflow: visible;
  }

  .nav {
    margin-top: 0;
    padding-top: 0;
  }

  #logoFly,
  .logo-big {
    width: 270px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0 8px 14px;
    box-sizing: border-box;
    object-fit: contain;
    transform: translateX(-14px);
  }
}

