/* Minimal search box styles */
.input-group .form-control {
    border-right: none; /* Seamless integration with icon button */
}

.input-group .btn {
    border-left: none; /* Remove left border for a cleaner look */
}

.input-group .btn:hover {
    background-color: var(--bs-primary); /* Optional: Hover effect; adjust to your theme variables */
    color: white;
}

/* Ensure icon size fits well */
.bi-search {
    font-size: 1.2rem;
}

/* Scroll-up Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar.scroll-hide {
    transform: translateY(-100%);
}

.navbar.scroll-show {
    transform: translateY(0);
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 76px; /* Adjust based on your navbar height */
}

/* Ensure smooth scrolling experience */
html {
    scroll-behavior: smooth;
}

/* Article content image styles */
.content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
}

.content figure {
    max-width: 100%;
    margin: 1.5rem auto;
}

.content figure img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* Ensure images in article content divs are constrained */
.content .mt-5 img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}
