.kadence-sticky-header {
  background-color: transparent;
}
.kadence-sticky-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.kadence-sticky-header.scrolled {
  background-color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-top: 10px;
  padding-bottom: 10px;
}

.kadence-sticky-header .menu-item a {
  transition: color 0.3s ease;
}

.kadence-sticky-header.scrolled .menu-item a {
  color: #111 !important;
}
/* Zorg voor vloeiende animatie */
.kadence-sticky-header {
  transition: all 0.4s ease;
}

/* Bij scrollen: kleinere header */
.kadence-sticky-header.scrolled {
  background-color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 0.95;
}

/* Logo kleiner maken bij scrollen */
.kadence-sticky-header.scrolled .custom-logo {
  max-height: 40px;
  transition: max-height 0.3s ease;
}

/* Standaard grootte logo */
.kadence-sticky-header .custom-logo {
  max-height: 70px;
  transition: max-height 0.3s ease;
}
/* Standaard: wit logo */
.kadence-sticky-header .custom-logo {
  content: url('https://quintadoscozinheiros.com/wp-content/uploads/2025/06/cropped-logo_white-1.png');
  transition: content 0.3s ease-in-out;
}

/* Bij scrollen: oranje logo */
.kadence-sticky-header.scrolled .custom-logo {
  content: url('https://quintadoscozinheiros.com/wp-content/uploads/2025/06/cropped-cropped-afbeelding_2025-06-17_110915766.png');
}
/* Zorg voor consistente grootte */
.custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}
.custom-logo {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}
/* Sticky logo groter maken en beter leesbaar */
.site-header.is-sticky .site-branding img.custom-logo,
.site-header.item-is-fixed .site-branding img.custom-logo {
  max-height: 75px !important;
  height: auto !important;
  width: auto !important;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}
.site-header-wrap.is-stuck {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.custom-logo {
  display: block;
  margin: 0 auto;
  vertical-align: middle;
}
.site-header-wrap.is-stuck .site-branding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.site-header-wrap.is-stuck .custom-logo {
  max-height: 85px !important;
}
.site-header-wrap.is-stuck .custom-logo.sticky-logo {
  max-height: 85px !important;
}
.site-header.is-sticky .main-navigation ul li a:hover {
  color: #de7a00; /* oranje tint */
  transition: color 0.3s ease;
}
.main-navigation .current-menu-item > a {
  color: #de7a00; /* highlight kleur */
  font-weight: bold;
}
/* HOVER effect op hoofdmenu-items in sticky header */
.kadence-sticky-header .menu-item a:hover {
  color: #de7a00 !important;
}

/* Actieve menu-item markeren (de pagina waar je bent) */
.kadence-sticky-header .current-menu-item > a,
.kadence-sticky-header .current_page_item > a {
  color: #de7a00 !important;
  font-weight: 600;
}

/* Dropdown-menu styling in sticky header */
.kadence-sticky-header .sub-menu {
  background-color: #ffffff !important;
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kadence-sticky-header .sub-menu li a {
  padding: 12px 16px;
  color: #333333 !important;
  background-color: transparent !important;
}

.kadence-sticky-header .sub-menu li a:hover {
  background-color: #f5f5f5 !important;
  color: #de7a00 !important;
}
/* Highlight actief menu-item in sticky header */
.kadence-sticky-header .main-navigation .current-menu-item > a,
.kadence-sticky-header .main-navigation .current_page_item > a {
  color: #de7a00 !important;
  font-weight: 600;
  position: relative;
}

/* Quinta journal posts: scoped editorial styling; homepage and qv2 pages untouched. */
body.single-post{background:#faf7f0!important;color:#26392f;font-family:Arial,Helvetica,sans-serif}
body.single-post #masthead,body.single-post #masthead .site-header-row-container,body.single-post #masthead .site-header-row-container-inner,body.single-post .site-header-sticky,body.single-post #mobile-header .site-header-row-container-inner{background:#18372d!important}
body.single-post #masthead .main-navigation .menu>li>a,body.single-post #masthead .dropdown-nav-toggle{color:#fff7ec!important}
body.single-post #masthead .main-navigation .menu>li>a:hover,body.single-post #masthead .main-navigation .current-menu-item>a{color:#efb88f!important}
body.single-post #masthead .header-button{background:transparent!important;border:1px solid #bf8254!important;color:#fff7ec!important;border-radius:0!important;text-transform:none!important}
body.single-post #masthead .header-button:hover{background:#a85d35!important}
body.single-post .site-content{background:#faf7f0!important}
body.single-post .content-container,body.single-post .content-wrap,body.single-post .entry-content-wrap{max-width:none!important;background:transparent!important;box-shadow:none!important}
body.single-post article.entry{background:transparent!important;box-shadow:none!important;margin:0 auto!important}
body.single-post article.entry>.entry-content-wrap{padding:0!important}
body.single-post .entry-header{box-sizing:border-box;width:100vw;max-width:100vw;margin:0 0 65px calc(50% - 50vw)!important;padding:96px max(26px,calc((100vw - 1130px)/2)) 92px!important;background:#18372d;color:#fff7ec;text-align:left}
body.single-post .entry-header:before{content:'THE RESTORATION JOURNAL  /  QUINTA DOS COZINHEIROS';display:block;color:#f0c49b;letter-spacing:.19em;font-size:11px;font-weight:700;margin-bottom:23px}
body.single-post .entry-header h1.entry-title{font:400 clamp(43px,5.5vw,83px)/1.06 Georgia,'Times New Roman',serif!important;letter-spacing:-.045em;color:#fff7ec!important;max-width:1040px;margin:0 0 27px!important}
body.single-post .entry-header .entry-taxonomies,body.single-post .entry-header .posted-by{display:none!important}
body.single-post .entry-header .entry-meta,body.single-post .entry-header .entry-meta time{color:#e3bd94!important;font-size:13px!important}
body.single-post .entry-content.single-content{max-width:830px;margin:0 auto!important;padding:0 23px 92px!important;font-size:18px;line-height:1.85;color:#304538}
body.single-post .entry-content.single-content>p{margin-bottom:1.45em}
body.single-post .entry-content.single-content h2{font:400 clamp(32px,4vw,49px)/1.16 Georgia,'Times New Roman',serif!important;color:#18372d!important;letter-spacing:-.035em;margin:1.4em 0 .45em!important}
body.single-post .entry-content.single-content h3{font:400 31px/1.2 Georgia,serif!important;color:#18372d!important}
body.single-post .entry-content.single-content img{display:block;max-width:100%;height:auto;border-radius:2px}
body.single-post .entry-content.single-content figure{margin:33px auto!important}
body.single-post .entry-content.single-content a{color:#995631;text-decoration-thickness:1px;text-underline-offset:3px}
body.single-post .entry-content.single-content hr{border:0;border-top:1px solid #d8dfd4;margin:42px 0}
body.single-post .post-navigation,body.single-post .entry-footer{max-width:830px;margin:0 auto 50px;padding:0 23px}
body.single-post #colophon,body.single-post #colophon .site-footer-row-container-inner{background:#112b23!important;color:#e5ece4!important}
body.single-post #colophon .widget-title,body.single-post #colophon h2,body.single-post #colophon h3{color:#fff7ec!important}
body.single-post #colophon a,body.single-post #colophon p{color:#e5ece4!important}
body.single-post #colophon a:hover{color:#f0c49b!important}
@media(max-width:767px){body.single-post .entry-header{padding:72px 23px 70px!important;margin-bottom:37px!important}body.single-post .entry-content.single-content{font-size:16px;padding:0 21px 65px!important}body.single-post .entry-header h1.entry-title{font-size:clamp(39px,10vw,60px)!important}}
/* Optioneel: underline of border onder actief item */
.kadence-sticky-header .main-navigation .current-menu-item > a::after,
.kadence-sticky-header .main-navigation .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #de7a00;
}