
#search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: var(--small-padding);
    overflow: visible;
    position: relative;
}

#search-form input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 24px;
    text-align: right;
}

#search-form button, #search-load-more-btn {
    padding: 10px 15px;
    background: var(--primary-red);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--box-shadow);

}

#search-load-more-btn {
    padding: 10px 15px;
    background: var(--primary-red);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 2px 24px;
}

#search-form button i.fa.fa-search {
    margin: auto;
    border: none;

}

#search-result {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

#posts {
    width: 100%;


}

.post {

    /* padding: 10px; */

    display: flex;

    flex-direction: column;

    gap: 5px;

    box-shadow: var(--box-shadow);

    border-radius: 2px 24px;

    transition: all 0.3s;

    color: black;

    height: 100%;
}


.post img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-radius: 2px 24px;
}

.post:hover {
    color: var(--primary-color);
}

.post div {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px 10px;
    height: 100%;
}

.post h1 {
    /* width: 100%; */
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: bold;
    padding: 3px;
    color: inherit;
}

.post span {
    font-size: 1.2rem;
    padding: 3px;
}

#search-load-more-btn {
    display: none;
}
