.search-overlay {
    position: relative;
    margin-top: -50px;
    margin-bottom: 50px;
    z-index: 1;
    padding: 0 20px;
}

.featured-thumbnail img {
    width: 100% !important;
}

.search-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    width: 100%;
    margin-bottom: 15px;
}

.search-input-wrapper {
    position: relative;
    padding: 10px;
    font-size: 20px !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 30px !important;
    border: none;
    border-radius: 5px;
    font-size: 20px !important;
    background: transparent;
}

.search-input-wrapper .search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border: none !important;
    border-radius: 50%;
    background: transparent !important;
    color: #999 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.search-input-wrapper .search-clear-btn.is-visible {
    display: flex !important;
}

.search-input-wrapper .search-clear-btn:hover {
    color: #333 !important;
    background-color: #f0f0f0 !important;
}

.filter-group {
    display: flex;
    gap: 15px;
}

.filter-select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    color: #333;
}

#typing-effect {
    font-size: 24px;
    color: #555c63;
    font-family: 'Courier New', Courier, monospace;
}

.filter-dropdown select {
    width: 100%;
    padding: 10px;
    border: 1px solid #555c63;
    border-radius: 5px;
    color: #555c63;
    background-color: white;
    cursor: pointer;
}

@media (max-width: 991px) {
    .filter-group {
        flex-direction: column;
    }

    .featured-imagebox-portfolio.style2 {
        padding: 40px !important;
    }

    .featured-imagebox-portfolio.style2 .featured-content {
        padding: 25px 10px 15px !important;
    }
}
