/*
Theme Name: Elentero
Theme URI: https://elentero.com
Author: Elentero
Author URI: https://elentero.com
Description: Professioneel Elentero-thema voor websites, WooCommerce, AI-integratie, automatisering en webapps. Met licht, donker en systeemthema.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: elentero
*/

.admin-bar .site-header { top: 32px; }
.wp-site-blocks { padding: 0; }
.primary-nav .sub-menu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 290px; padding: 12px; visibility: hidden; opacity: 0; border: 1px solid var(--elentero-border); border-radius: 18px; background: white; box-shadow: var(--shadow-lg); list-style: none; transform: translateY(8px); transition: .2s; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav .sub-menu a { display: block; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--elentero-primary); font-size: .88rem; font-weight: 700; }
.primary-nav { gap: 18px; }
.primary-nav > ul > li > a { white-space: nowrap; }
.entry-content > * { max-width: 820px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; }
.case-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.custom-logo-link { display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
html[data-theme="dark"] .primary-nav .sub-menu { border-color: #23364c; background: #0b1b2f; }
html[data-theme="dark"] .primary-nav .sub-menu a { color: #e7eef7; }
html[data-theme="dark"] .primary-nav .sub-menu a:hover { background: #122740; }
@media (max-width: 1040px) {
  .primary-nav .sub-menu { position: static; min-width: 0; padding: 5px 0 8px 22px; visibility: visible; opacity: 1; border: 0; background: transparent; box-shadow: none; transform: none; }
  .admin-bar .site-header { top: 32px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
