/*
Theme Name: webmix
Author: webmix
Author URI: https://www.webmix.nl
Description: Webmix Custom Theme 
*/
/* Reset Stylesheet */
/* Box-sizing: make sure padding and border are included in element width */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Remove default padding and margin from body */
body, h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
/* Remove list styles on lists */
ul, ol {
  list-style: none;
}
/* Remove quotes from blockquote */
blockquote::before, blockquote::after, q::before, q::after {
  content: "";
}
/* Remove default table spacing */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* Reset links */
a {
  text-decoration: none;
  color: inherit;
}
/* Remove focus outlines but keep accessibility */
button, input, textarea, select {
  font: inherit;
  /* Inherit fonts */
  border: none;
  /* Remove borders */
  outline: none;
  background: none;
  padding: 0;
}
/* Normalize images and media */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Set a base font size and smooth scrolling */
html {
  font-size: 100%;
  /* 16px default */
  line-height: 1.5;
  scroll-behavior: smooth;
}
/* Make body inherit base font-family */
body {
  font-family: sans-serif;
  /* Set your preferred default font-family */
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}
/* Remove focus outline for mouse users but keep it for keyboard users */
:focus:not(:focus-visible) {
  outline: none;
}
body {
  font-family: "Open Sans", sans-serif;
}
body h1 {
  font-size: 2rem;
  /* 32px */
}
body h2 {
  font-size: 1.75rem;
  /* 28px */
}
body h3 {
  font-size: 1.5rem;
  /* 24px */
}
body h4 {
  font-size: 1.25rem;
  /* 20px */
}
body h5 {
  font-size: 1.125rem;
  /* 18px */
}
body h6 {
  font-size: 1rem;
  /* 16px */
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  margin-bottom: 15px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}
body p, body span, body time, body datetime {
  color: #5D5D5D;
  font-family: "Open Sans", sans-serif;
  line-height: 1.65;
  font-size: 0.95rem;
}
body a, body li {
  font-family: "Open Sans", sans-serif;
}
body header {
  background: #8B8000;
  height: 100px;
  position: sticky;
  width: 100%;
  z-index: 2;
  color: white;
  /* Basic styling for the menu */
}
body header ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
body header ul li {
  position: relative;
}
body header ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
}
body header ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0.5rem);
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
body header ul li ul li {
  padding: 0.5rem 1rem;
  width: max-content;
}
body header ul li ul li:hover {
  background-color: #f0f0f0;
}
body header ul li ul li a {
  padding-left: 0;
  color: #000;
  font-weight: 300;
}
body header ul li:hover > ul {
  display: block;
}
body header ul.main-menu > li a {
  margin-right: 30px;
}
body header ul.main-menu > li:last-of-type {
  margin-right: 0;
}
body header ul.main-menu > li:last-of-type a {
  margin-right: 0;
  padding-right: 0;
}
body header ul.sub-menu li {
  margin-right: 0;
}
body section {
  padding: 3rem 0;
}
body section a {
  color: #C2A83E;
}
body section *:last-child {
  margin-bottom: 0;
}
body section .card {
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
body section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.12);
}
body section .card datetime {
  color: #8F8F8F;
  display: inline-block;
  margin-bottom: 5px;
}
body section .card .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Optional for visual ellipsis */
}
body section.bg-image {
  position: relative;
  color: white;
  padding: 12rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body section.bg-image:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 992px) {
  body section.bg-image {
    padding: 6rem 0;
  }
}
body section.bg-image p {
  color: #fff;
}
body section.bg-image * {
  z-index: 2;
}
body section.content h1, body section.content h2, body section.content h3, body section.content h4, body section.content h5, body section.content h6 {
  color: #C2A83E;
}
body footer {
  position: sticky;
  top: 100vh;
}
body footer .footer-top {
  background: #8B8000;
  color: #fff;
  padding: 3rem 0;
}
body footer .footer-bottom {
  padding: 0.75rem 0;
}
body .footer-menu {
  padding-left: 0;
}
body .footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
body .footer-menu li {
  margin-bottom: 5px;
}
body .sub-footer-menu a {
  color: #000;
  font-size: 0.9rem;
  text-decoration: none;
  margin-left: 1rem;
}
body .sub-footer-menu a:last-child {
  margin-right: 0;
}
.btn.btn-primary {
  background: #8B8000;
  border-color: #8B8000;
}
.btn.btn-primary:hover {
  background: #C2A83E;
  border-color: #C2A83E;
}
.btn.btn-white {
  background: #fff;
  border-color: #fff;
  color: #8B8000;
}
.btn.btn-white:hover {
  background: #8F8F8F;
  color: #fff;
}
.wp-element-button {
  border-radius: 5px;
  padding: 5px 12.5px;
  font-size: 14px;
  background: #8B8000;
  border-color: #8B8000;
}
.wp-element-button:hover {
  background: #C2A83E;
  border-color: #C2A83E;
}
.pagination li {
  width: 30px;
  margin: 0 5px;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s all ease;
  position: relative;
}
.pagination li:not(.dots):hover {
  background: #C2A83E;
  border-radius: 100%;
  aspect-ratio: 1;
}
.pagination li:not(.dots):hover * {
  color: #fff;
}
.pagination li.current {
  color: #fff;
  background: #C2A83E;
  border-radius: 100%;
  aspect-ratio: 1;
}
.pagination li a {
  text-decoration: none;
  color: #5D5D5D;
}
.pagination li a, .pagination li span {
  transform: translateY(-1px);
}
.pagination li .fas {
  font-size: 0.75rem;
  transform: translateY(1px);
}
.hamburger-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
}
.hamburger-icon .bar {
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 10px;
}
/* Mobile - Hide menu by default and show hamburger icon */
@media (max-width: 768px) {
  /* Hamburger Icon */
  /* Main Menu (Initially hidden on mobile) */
  /* When the menu is open */
  /* Hamburger Icon and Menu should stay on top */
  /* Ensure the menu stays on top when scrolling */
  .hamburger-icon {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
  }
  .hamburger-icon .bar {
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 10px;
  }
  .main-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Ensure full width */
    height: 100vh;
    /* Full screen height */
    background-color: rgba(0, 0, 0, 0.9);
    /* Dark background for full-screen effect */
    color: #fff;
    /* Text color for better contrast */
    justify-content: center;
    align-items: center;
    z-index: 4;
    /* Ensure it's on top of all content */
    opacity: 0;
    /* Start as hidden */
    transform: translateX(100%);
    /* Initially off-screen */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Smooth transition */
  }
  .main-menu.open {
    display: flex;
    opacity: 1;
    /* Make it visible */
    transform: translateX(0);
    /* Slide in from the left */
  }
  .main-menu li {
    list-style: none;
    margin: 20px 0;
    text-align: center;
  }
  .main-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
  }
  .main-menu li a:hover {
    color: #f39c12;
    /* Change color on hover */
  }
  .hamburger-icon, .main-menu.open {
    position: relative;
    z-index: 5;
    /* Ensure it appears above other content */
  }
  .main-menu.open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100vh;
    /* Full screen height */
    background-color: rgba(0, 0, 0, 0.9);
  }
  .hamburger-icon {
    z-index: 6;
    /* Ensure the hamburger icon stays clickable on top */
  }
  .hamburger-icon.open .bar {
    background: white;
  }
}
.search-filter-label {
  background: #f5f5f5 !important;
  padding: 0.75rem !important;
  font-size: 1.1rem !important;
}
.search-filter-base span {
  font-size: 1rem;
}
.break-line {
  width: 80%;
  background: white;
  height: 1px;
  margin-bottom: 15px;
}

.main-menu.open li a {
  margin-right: 0px;
}
.main-menu.open li ul.sub-menu {
  display: none;
}