@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* FILTER POST TYPES */

.filter-post-types-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 4rem 0;
}

.filter-post-types-container a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0a6484;
    background: transparent;
    border: 1px solid #0a6484;
    text-decoration: none;
    padding: 0.75rem 3rem;
}

@media (width <= 500px) {
    .filter-post-types-container a {
        flex: 1;
    } 
}

.filter-post-types-container a.selected {
    color: #fff;
    background: #0a6484;
}

/* SEARCH FIELD */
.search-field-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.search-field-container .search-field {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #0a6484;
}

.search-field-container .search-field input {
    background: none;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1.5rem;
    width: 100%;
    color: #000;
}

.search-field-container .search-field button {
    background: none;
    border: none;
    outline: none;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-field-container .search-field button svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* POSTS */
.search-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.search-posts .search-post-card {
    position: relative;
    background: transparent;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all .1s ease;
}

.search-posts .search-post-card:hover {
    background: #0a6484;
    box-shadow: 0px 10px 10px 0px #0000000D;
}

.search-posts .search-post-card:hover h4,
.search-posts .search-post-card:hover button {
    color: #fff;
}

.search-posts .search-post-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    text-transform: uppercase;
    color: #808080;
    margin: 0;
}

.search-posts .search-post-card button {
    width: fit-content;
    background: none;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a6484;
    padding: 0;
}

.empty-search-message {
    margin-bottom: 4rem;
}

/* PAGINAÇÃO */

.search-pagination {
    margin: 2rem 0;
}