/* Post Header Search */
.post-header-search {
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.search-form {
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 40px;
}

.search-icon {
    display: none;
    /* Removed from HTML, keeping class for safety or future use */
}

.search-input {
    flex: 1;
    border: none;
    padding: 0px 20px;
    font-size: 15px;
    outline: none;
    min-width: 0;
    /* Prevents input from pushing out the button */
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    background: #337ab7;
    color: #fff;
    border: none;
    padding: 0 32px;
    height: 52px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevents button from being squished */
}

.search-btn:hover {
    background: #222;
}

.search-btn .btn-icon {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .search-box {
        border-radius: 12px;
    }

    .search-btn {
        padding: 0 22px;
    }
}

@media (max-width: 450px) {
    .search-input {
        padding-left: 15px;
        font-size: 14px;
    }

    .search-btn {
        padding: 0 15px;
    }

    .search-btn .btn-text {
        display: none;
    }

    .search-btn .btn-icon {
        display: inline-block;
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .search-input {
        padding-left: 12px;
        padding-right: 8px;
    }

    .search-btn {
        padding: 0 12px;
    }

    .header .logo img {
        height: 40px !important;
    }
}

@media (max-width: 255px) {
    .search-input {
        padding: 0 8px;
        font-size: 13px;
    }

    .search-btn {
        padding: 0 10px;
    }
}