*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: var(--font);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-lh);
  color: var(--body-color);
}
img{ max-width:100%; height:auto; }

.container{
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.site-main .container{ max-width: var(--container-content-cap); }
.woocommerce .container{ max-width: var(--container-shop-cap); }

.is-full-width .site-main .container{ max-width: none !important; }

a{ color: var(--accent); }
a:hover{ opacity:.9; }

.site-header{
  border-bottom: 1px solid #eee;
  background: #fff;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height: var(--header-height);
  gap: 16px;
}
.site-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
  font-weight:700;
}
.custom-logo{ height:34px; width:auto; display:block; }

.site-nav .menu,
.footer-nav .menu{
  list-style:none;
  display:flex;
  gap: 14px;
  padding:0;
  margin:0;
}
.site-nav a,
.footer-nav a{
  text-decoration:none;
  color:inherit;
}

.nav-toggle{ display:none; padding:10px 12px; border-radius: var(--radius); border: 1px solid #ddd; background:#fff; cursor:pointer; }
.mobile-nav{ border-top:1px solid #eee; padding: 10px 0; }
.mobile-menu{ list-style:none; margin:0; padding:0; display:grid; gap: 10px; }

.has-sticky-header .site-header{
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-layout-center .header-inner{
  flex-direction: column;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.content{ padding: 28px 0; }

.entry-title{ margin: 0 0 10px; font-size: clamp(22px, 3vw, 34px); }
.entry-excerpt{ margin-bottom: var(--s-4); }

.site-footer{
  border-top: 1px solid #eee;
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px){
  .site-nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
}


p{ margin: 0 0 var(--s-3); }




p{ margin: 0 0 var(--s-3); }


h1{
  font-family: var(--h1-font);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-lh);
  color: var(--h1-color);
  margin: 0 0 var(--s-3);
}
h2{
  font-family: var(--h2-font);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-lh);
  color: var(--h2-color);
  margin: 0 0 var(--s-2);
}
h3{
  font-family: var(--h3-font);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-lh);
  color: var(--h3-color);
  margin: 0 0 var(--s-2);
}
h4{
  font-family: var(--h4-font);
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  line-height: var(--h4-lh);
  color: var(--h4-color);
  margin: 0 0 var(--s-2);
}
p{ margin: 0 0 var(--s-3); }


/* Headings are often links (post titles). Force them to use heading color. */
h1 a, h2 a, h3 a, h4 a{ color: inherit; text-decoration: inherit; }


/* Hide page title (only pages) */
.page .entry-title{ display:none !important; }


/* Buttons (theme) */
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.button{
  font-family: var(--btn-font, var(--font));
  font-size: var(--btn-font-size, 15px);
  font-weight: var(--btn-font-weight, 600);
  background: var(--btn-bg, var(--accent));
  color: var(--btn-color, #fff);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius));
  padding: var(--btn-pad-y, 12px) var(--btn-pad-x, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  min-width: calc(var(--btn-minw, 0px));
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
a.button:hover{
  background: var(--btn-hover-bg, var(--btn-bg));
  color: var(--btn-hover-color, var(--btn-color));
  text-decoration: none;
}

.button:active,
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
a.button:active{
  transform: translateY(1px);
}

.button:focus-visible,
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a.button:focus-visible{
  outline: 2px solid rgba(26,115,232,.35);
  outline-offset: 2px;
}



/* SiteOrigin Page Builder – sane defaults (theme controlled)
   Doel: geen "mystery" bovenruimte, maar wél padding die je zelf in SiteOrigin instelt.
*/
.entry-content .panel-layout h1:first-child,
.entry-content .panel-layout h2:first-child,
.entry-content .panel-layout h3:first-child,
.entry-content .panel-layout h4:first-child{
  margin-top: 0;
}

/* Als een widget het eerste element in een cel is: geen extra top space */
.entry-content .panel-layout .panel-grid-cell > .so-panel:first-child{
  margin-top: 0 !important;
}

/* Sommige SiteOrigin styles plaatsen een pseudo element voor widgets */
.entry-content .panel-layout .panel-widget-style:before{
  display: none !important;
  content: none !important;
}

/* Alleen als SiteOrigin geen vertical padding zet: default 0 (inline row padding blijft leidend) */
.entry-content .panel-layout .panel-row-style{
  padding-top: 0;
  padding-bottom: 0;
}
