/* Shrink the header to a single compact strip */

/* Remove top bar */
.top-bar {
    display: none !important;
}

/* Main header styling */
.site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #ddd !important;
    position: sticky !important;
    top: 0;
    z-index: 9999;
}

/* Logo size */
.custom-logo-link img, .site-logo img {
    max-height: 65px !important;
    width: auto !important;
}

/* Navigation menu styling */
.main-navigation {
    display: flex !important;
    align-items: center !important;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex !important;
    gap: 15px; /* space between menu items */
}

.main-navigation ul li a {
    padding: 4px 10px !important;
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 600;
    color: #222 !important;
}

/* Remove extra margin below header */
.site-header + .site-content {
    margin-top: 10px !important;
}

/* Optional: add subtle hover effect on menu items */
.main-navigation ul li a:hover {
    color: #0073e6 !important; /* change this to your brand color */
    text-decoration: underline;
}

/* Mobile menu fix - ensure header stays compact */
@media (max-width: 768px) {
    .site-header {
        flex-wrap: wrap !important;
        padding: 10px 15px !important;
    }
    .main-navigation ul {
        flex-direction: column !important;
        gap: 10px;
    }
    .main-navigation ul li a {
        font-size: 16px !important;
        padding: 8px 0 !important;
    }
    .custom-logo-link img, .site-logo img {
        max-height: 40px !important;
        margin-bottom: 10px;
    }
}

/* Make slideshow images fill the width and have consistent height */
.wp-block-jetpack-slideshow_container {
  max-width: 100% !important;
  overflow: hidden;
  position: relative;
  height: 500px; /* Adjust height as needed */
}

.wp-block-jetpack-slideshow_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover ensures images fill container without distortion */
}

/* Center the slideshow navigation buttons vertically */
.wp-block-jetpack-slideshow_button-prev,
.wp-block-jetpack-slideshow_button-next {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Optional: style the pagination dots */
.wp-block-jetpack-slideshow_pagination {
  bottom: 10px !important;
}

/* Optional: ensure slideshow container doesn’t add extra margin */
.wp-block-jetpack-slideshow {
  margin: 0 auto;
  max-width: 100%;
}
/* Adjust header logo position */
header .site-logo {
    margin-left: 40px; /* Increase or decrease to your liking */
}
}