/* --- Custom Search Input Styling --- */
#search-container .form-control {
    width: 0;
    padding: 0;
    border: none;
    opacity: 0;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
    position: absolute;
    right: 40px;
    color:white;

}
#search-container i, .blog-header--actions i {
    color: var(--paragraph-color-default);
}

/* Search expansion on desktop hover */
@media (min-width: 992px) {
    #search-container:hover .form-control {
        width: 200px;
        opacity: 1;
        padding: 3px 15px;
        border-radius: 4px;
        border: 1px solid #2d2d2d;
        position: absolute;
        right: 40px;
        background: #0d0d0d;
    }
}
#search-container .form-control::placeholder {
    color: var(--paragraph-color-default) !important;
    opacity: 1; /* Firefox adds a lower opacity by default */
}

/* For older versions of Firefox */
#search-container .form-control::-moz-placeholder {
    color: var(--paragraph-color-default) !important;
    opacity: 1;
}

/* For Internet Explorer 10-11 */
#search-container .form-control:-ms-input-placeholder {
    color: var(--paragraph-color-default) !important;
}

/* For Microsoft Edge (legacy) */
#search-container .form-control::-ms-input-placeholder {
    color: var(--paragraph-color-default) !important;
}

/* Search expansion on mobile click (toggled with JS) */
#search-container.expanded .form-control {
    width: 150px;
    opacity: 1;
    background-color: #151515;
    padding: 3px 15px;
    border-radius: 4px;
    border: 1px solid #2d2d2d;
    position: absolute;
    right: 40px;
    color:white;
}

/* --- Custom Dropdown Styling --- */
.dropdown-menu {
    border: 1px solid #2d2d2d;
    background: #0d0d0d;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

/* Dropdown opening on desktop hover */
@media (min-width: 992px) {
    .blog-header--actions .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Adjust if needed */
    }
}
.blog--header {
    max-width: 1100px;
    margin:0 auto;
    display: flex;
    justify-content: space-between;
    padding-top:100px;
    position: relative;
    margin-bottom: 40px;

}
.blog--header h1 {
    padding-top:0;
    margin-bottom: 0 !important;
}
.blog .dropdown-menu {
    left: -110px;
}
@media (max-width: 992px) {
    .blog--header {
        max-width: 90%;
    }
    .blog-header--actions .dropdown-menu {
        overflow-x: hidden;
        height: 200px;
    }
    .blog--header {
        padding-top:40px;
        margin-bottom: 40px;

    }

}

@media (min-width: 992px) {
    .blog-header--actions .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* A small adjustment for alignment */
    }
}

/* Custom styling for the button and dropdown */
.dropdown-toggle::after {
    display: none; /* Hides the default Bootstrap dropdown arrow */
}

.btn-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}
.blog-header--actions {
    display: flex;
    justify-content: flex-end;
    gap:10px;
    align-items: center;
}