@font-face{font-family:'Carter One';src:url('/uploads/fonts/carter-one-v18-latin-regular-9c155e73.woff2') format('woff2');font-display:swap;}
:root{
  --bg: #ffffff;
  --fg: #414149;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --accent: #2563eb;
  --max-width: 1100px;
  --header-height: 80vh;
  --header-bg: #ffffff;
  --main-bg: transparent;
  --footer-bg: transparent;
  --logo-height: 48px;
  --font-heading: 'Carter One', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --title-font: 'Carter One', system-ui, sans-serif;
  --title-size: 1.5rem;
  --title-color: var(--fg);
  --subtitle-font: 'Carter One', system-ui, sans-serif;
  --subtitle-size: 1rem;
  --subtitle-color: var(--fg);
  --nav-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-size: 0.95rem;
  --nav-color: var(--fg);
  --nav-color-hover: var(--link-hover);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);line-height:1.2;margin:0 0 .6em}
h1{font-size:clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)}
p{margin:0 0 1em}
a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--link-hover)}

.site-nav{
  border-bottom:1px solid color-mix(in oklab, var(--fg) 15%, transparent);
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}
.site-nav .inner{
  max-width: var(--max-width, 1100px); margin:0 auto;
  display:flex; flex-wrap:wrap; align-items:center; gap:1rem;
  padding: .9rem 1rem;
}
.layout-fullwidth .site-nav .inner{ max-width:none; }

.site-nav .brand-block{ display:flex; align-items:center; gap:.75rem; }
.site-nav .brand-logo{ flex:none; }
.site-nav .brand-logo img{
  height: var(--logo-height, 48px);
  width: auto;
  max-width: none;
  display:block;
}
.site-nav .brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.site-nav .brand-title{
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--title-color);
  font-weight: 700;
  text-decoration: none;
}
.site-nav .brand-title:hover{ text-decoration: none; }
.site-nav .brand-subtitle{
  font-family: var(--subtitle-font);
  font-size: var(--subtitle-size);
  color: var(--subtitle-color);
  opacity: .85;
  font-weight: 400;
  margin-top: .15rem;
}

.site-nav ul{ list-style:none; display:flex; gap:1.2rem; margin:0; padding:0; flex-wrap:wrap; margin-left:auto; }
.site-nav ul a{
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  color: var(--nav-color);
  text-decoration:none;
}
.site-nav ul a:hover{ color: var(--nav-color-hover); text-decoration: underline; }

/* Mobile: hide logo, center title/subtitle/nav */
@media (max-width: 768px) {
  .site-nav .inner{
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center;
  }
  .site-nav .brand-logo{ display: none; }
  .site-nav .brand-block{ justify-content: center; }
  .site-nav .brand-text{ align-items: center; }
  .site-nav ul{
    margin-left: 0;
    justify-content: center;
  }
  .site-footer .inner div{
	  display:block;
	  text-align: center;
  }
  .site-footer .inner div.links{
	  margin-left: auto; margin-right: auto;
	  
  }
  .site-footer .inner div.links a:first-child {
    margin-left: 0;
}
}

.site-header-img{
  width:100%;
  height: var(--header-height, 320px);
  background-size:cover;
  background-position:center;
}
.site-header-img.boxed{
  max-width: var(--max-width, 1100px);
  margin:0 auto;
}

main{
  background: var(--main-bg);
  position: relative;
  z-index: 0;
}

.site-section{padding:3rem 1rem}
.site-section .inner{max-width: var(--max-width, 1100px); margin:0 auto}
.layout-fullwidth .site-section .inner{max-width:none}

.site-page{padding:3rem 1rem}
.site-page .inner{max-width: var(--max-width, 1100px); margin:0 auto}
.layout-fullwidth .site-page .inner{max-width:none}

.site-footer{
  border-top:1px solid color-mix(in oklab, var(--fg) 15%, transparent);
  padding:1.5rem 1rem; 
  font-size:.92rem;
  background: var(--footer-bg);
}
.site-footer .inner{
  max-width: var(--max-width, 1100px); margin:0 auto;
  display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; align-items:center; justify-content:space-between;
}
.layout-fullwidth .site-footer .inner{ max-width:none; }
.site-footer .links a{margin-left:1rem}

.content img{border-radius:.4rem}
.content table{border-collapse:collapse; width:100%}
.content th,.content td{border:1px solid color-mix(in oklab, var(--fg) 20%, transparent); padding:.5rem .7rem; text-align:left}
.content blockquote{border-left:3px solid var(--accent); padding-left:1rem; margin:1rem 0; color:color-mix(in oklab, var(--fg) 75%, transparent)}

@media (max-width: 640px) {
  .site-header-img { height: 70vh; }
}

/* Galerie */
.lc-gallery--grid img,
.lc-gallery--masonry img{
  width:100%; height:auto; display:block; border-radius:.4rem;
}
.lc-gallery--masonry .lc-gal-item{
  display:block; break-inside:avoid; margin-bottom:var(--lc-gal-gap, .5rem);
}
.lc-gal-item{ display:block; }
a.lc-gal-item{ text-decoration:none; }
a.lc-gal-item:hover img{ filter:brightness(.95); }

/* Lightbox */
.lc-lightbox{
  position:fixed; inset:0; z-index:9999; display:none;
  align-items:center; justify-content:center;
}
.lc-lightbox.is-open{ display:flex; }
.lc-lb-backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.85);
}
.lc-lb-figure{
  position:relative; z-index:1; margin:0;
  max-width:92vw; max-height:92vh;
  display:flex; flex-direction:column; align-items:center;
}
.lc-lb-figure img{
  max-width:92vw; max-height:84vh; object-fit:contain;
  background:#000; border-radius:4px;
}
.lc-lb-figure figcaption{
  color:#fff; font-size:.9rem; margin-top:.6rem; text-align:center;
  text-shadow:0 1px 2px rgba(0,0,0,.6);
  max-width:92vw;
}
.lc-lb-close, .lc-lb-prev, .lc-lb-next{
  position:absolute; z-index:2; background:rgba(0,0,0,.4);
  color:#fff; border:0; cursor:pointer;
  width:44px; height:44px; border-radius:50%;
  font-size:1.6rem; line-height:1;
}
.lc-lb-close:hover, .lc-lb-prev:hover, .lc-lb-next:hover{ background:rgba(0,0,0,.7); }
.lc-lb-close{ top:1rem; right:1rem; }
.lc-lb-prev { top:50%; left:1rem;  transform:translateY(-50%); }
.lc-lb-next { top:50%; right:1rem; transform:translateY(-50%); }
h1{font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color:#4d6f49}
h2{font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color:#4d6f49}
h3{font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color:#4d6f49}
h4{font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}
