@import 'styles.css';

.category-container {
    padding-block: 2rem;
}

.category-header {
    padding-block-end: 2rem;
    
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.title {
    font-family: var(--heading-ff);
    font-size: 2.75rem;
    line-height: 2.75rem;
}

.category-title {
    display: flex;
    align-items: end;
    
    text-align: left;
}

.dropdown {
    font-weight: bold;
    cursor: pointer;
    
    width: max-content;
    
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.dropdown-select {
    all: unset;
    
    padding: 0 1rem;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    height: 3rem;
    background-color: var(--light-grey);
}

.category-result-container {
    padding-block: 1rem;
}

.category-result-title a {
    font-family: var(--heading-ff);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.875rem;
}

.category-result-date, .category-result-content {
    margin-block-start: 0.5rem;
    font-family: var(--text-ff);
    color: var(--grey20);
    line-height: 1.275rem;
}

.category-result-none {
    padding-block: 2rem;
    
    font-family: var(--heading-ff);
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.875rem;
}

.pagination {
    margin-block-start: 2rem;
    margin-inline: auto;
    
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    
    width: max-content;
    
    font-size: 1.15rem;
    color: var(--black);
}

.pagination a, .pagination a:visited {
    color: var(--black);
}

.pagination-control {
    height: 100%;
}
