/*
.archive-item {
    background:teal;
}

.archive-page {
    background: red;
}

.archive-page__container {
    background: purple;
*/


.archive-page__container {
    max-width: 800px;
    margin: 0 auto;
}


.archive-page {

}

.archive-page__header {
}

.archive-page__title {
    font-size: var(--largest-text);
    font-family: var(--serif);
    font-weight: 100;
    text-wrap: balance;
    line-height: 1.1;
}

.archive-page__list {
}

.archive-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 5%;
    padding: 20px 0 20px 0;
}

.archive-item--event {
    grid-template-columns: auto 1fr auto;
}

.archive-item__thumbnail {
    display: block;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.archive-item__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-item__thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.archive-item__content {
    font-size: 16px;
}

.archive-item__title h2 {
    font-size: 26px;
    font-weight: 750;
}

.archive-item__link {
}

.archive-item__meta {
    font-weight: 550;
    font-size: 16px;
}

.archive-item__terms {
}

.archive-item__term-link {
}

.archive-page__pagination {
}

.archive-page__no-results {
}

/* Filters Form */

.filter-form {
}

.filter-form__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    align-items: end;
}

/* Inputs and selects */
input[type="text"],
.filter-form__input,
.filter-form__select {
    width: 100%;
    font-size: 18px;
    background: white;
    grid-column: span 2;
    border: 2px solid var(--gray);
    border-radius: var(--rounded-box);
    padding: 5px 10px;
}

.filter-form__select{
    padding: 11px 5px !important;
}
.filter-form__input:focus,
.filter-form__select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-form__input::placeholder {
    color: #9ca3af;
}

/* Buttons */
.filter-form__button {
    display: inline-block;
}

.filter-form__button--submit {
    background: #1f2937;
    color: white;
}

.filter-form__button--submit:hover {
    background: #111827;
}

.filter-form__button--clear {
    background: transparent;
}

.filter-form__button--clear:hover {
    background: #f3f4f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-form__grid {
        grid-template-columns: 1fr;
    }
}

/* For more control over specific layouts */
@media (min-width: 769px) {
    /* Make buttons span 1 column each on desktop */
    .filter-form__button {
        grid-column: span 1;
    }
    
    /* Or make first two inputs span full width like your screenshot */
    .filter-form__input:nth-child(1),
    .filter-form__input:nth-child(2) {
        grid-column: span 2;
    }
}




/* Book Archive */
.archive-item__rating {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.book-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    text-align: center;
}

.rating-number {
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0;
}

.rating-stars {
    font-size: 11px;
}

/* Rating color schemes */
.rating-excellent {
    background: #10b981;
    color: white;
}

.rating-good {
    background: #3b82f6;
    color: white;
}

.rating-average {
    background: #f59e0b;
    color: white;
}

.rating-low {
    background: #ef4444;
    color: white;
}

.rating-na {
    background: #e5e7eb;
    color: #6b7280;
}

.rating-na .rating-number {
    font-size: 28px;
}

.rating-na .rating-stars {
    font-size: 14px;
    font-weight:600;
}