.jSearch {
    &--form {
        padding: 20px 0;
        display: flex;
        justify-content: center;
    }

    &--input {
        border: 1px solid var(--jaguar-border-color);
        color: var(--jaguar-text-light);
        padding: 10px 25px;
        border-radius: var(--jaguar-border-radius);
        width: 80%;
        max-width: 450px;
    }

    &--submit {
        display: none;
    }
}

.jArchive {
    &--list {
        @include jaguar-border;
        margin-bottom: 20px;
        border-radius: var(--jaguar-border-radius-small);
    }

    &--item {
        padding: 15px;
        border-bottom: 1px solid var(--jaguar-border-color-light);
        display: flex;

        &:last-child {
            border-bottom: none;
        }
    }

    &--title {
        font-size: 16px;
        flex: 1 1 auto;
        color: var(--jaguar-text-light);

        &:hover {
            color: var(--jaguar-hover-color);
        }
    }

    &--meta {
        font-size: 14px;
        color: var(--jaguar-text-gray-lightest);
        flex: 0 0 auto;
        font-style: normal;
    }

    &--monthly {
        font-size: 22px;
        color: var(--jaguar-text-gray);
        margin-bottom: 10px;
    }

    &--year {
    }
}

.jCategory {
    &--list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 12px;
        padding-top: 20px;
        position: relative;

        @media (max-width: 920px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: 480px) {
            grid-template-columns: repeat(1, 1fr);
        }
    }

    &--item {
        transition: 0.5s;
        padding: 8px;
        @include jaguar-border;
        border-radius: var(--jaguar-border-radius-small);
        position: relative;
        overflow: hidden;

        &:hover {
            .collectionCard--title {
                color: var(--jaguar-hover-color);
                text-decoration: underline;
            }
        }

        &::after {
            position: absolute;
            content: attr(data-count);
            opacity: 0.15;
            bottom: -8px;
            right: -5px;
            color: var(--jaguar-text-gray-lightest);
            font-size: 60px;
            font-style: italic;
            font-weight: bold;
            line-height: 1;
        }
    }

    &--image {
        height: 100px;
        width: 100%;
        object-fit: cover;
        border-radius: var(--jaguar-border-radius-small);
    }

    &--meta {
        padding: 5px;
    }

    &--title {
        font-weight: 500;
        line-height: 1;
        margin-bottom: 8px;
    }

    &--description {
        font-size: 12px;
        color: var(--jaguar-text-gray);
        line-height: 1.2;
        height: 2.4em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    &--count {
        font-size: 12px;
        color: var(--jaguar-text-gray);
    }

    @media (max-width: 920px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 480px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.good {
    &--list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        padding: 30px 0 20px;

        @media screen {
            @media (max-width: 920px) {
                grid-template-columns: repeat(2, 1fr);
            }

            @media (max-width: 480px) {
                grid-template-columns: repeat(1, 1fr);
            }
        }
    }

    &--item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        @include jaguar-border;
        border-radius: var(--jaguar-border-radius-small);
        padding: 30px 0 0;
        flex-direction: column;

        .img-spacer {
            width: 50%;
            position: relative;
            transition: 0.5s;
        }

        &:hover {
            .img-spacer {
                transform: translate3d(0, -5px, 0);
            }

            .good--actions,
            .good--review {
                display: flex;
            }
        }
    }
    &--name {
        font-size: 14px;
        padding-bottom: 10px;
        color: var(--jaguar-text-color);
        margin-top: 10px;
        line-height: 1.4;
        width: 92%;

        .brand {
            color: var(--jaguar-text-gray-lightest);
        }
    }
}

.archive--tagList {
    display: flex;
    flex-wrap: wrap;
}

.archive--tagItem {
    margin: 10px;
    @include jaguar-border;
    padding: 3px 12px;
    border-radius: var(--jaguar-border-radius-tiny);
    font-size: 14px;
    color: var(--jaguar-text-gray-light);
}

.jError--header {
    display: flex;
    padding: 50px 0;
    justify-content: center;

    a {
        background-color: #000;
        color: #fff;
        border-radius: 999rem;
        font-size: 14px;
        padding: 5px 25px;
    }
}
