/*
Theme Name: Castella Child
Theme URI: https://castella.qodeinteractive.com
Description: A child theme of Castella
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: castella
Template: castella
*/
#qodef-content-bottom {
    border-top-color: #e5dacf;
    border-top-width: 1px;
    border-top-style: solid;
    display: none !important;
}



/* This class will be added by our JavaScript when the user scrolls */
#qodef-page-header.is-sticky {
  position: fixed; /* The magic that makes it stick! */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Ensures it stays on top of other content */
  
  /* Optional: Add some nice styling for the sticky state */
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}
#qodef-page-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    height: 50px;
}
/* Optional: Add a placeholder to prevent content from jumping up when the header becomes fixed */
/* This is only needed if your header is in the normal document flow initially *
body.admin-bar #site-header.is-sticky {
  top: 32px; /* Adjusts for the WordPress admin bar when logged in *
}*/