.blog-banner h2.title {
    color: #92864E;
    font-family: "elina", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

.blog-banner .banner-max-w {
    width: 100%;
}

.blog-banner .banner-max-w .banner-mb {
    display: none;
}

.blog-banner .banner-max-w>img {
    width: 100%;
    max-width: 2400px;
    height: auto;
}

.blog-banner .history-wrap {
    display: flex;
    gap: 70px;
}

.blog-banner .history {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.blog-banner .history .history-wrap .text {
    flex: 1;
    font-size: 16px;
    word-break: break-word;
}

.blog-banner .history .history-wrap .banner-img {
    /* margin: 0 2rem; */
}

.blog-banner .history .history-wrap .banner-img>img {
    max-width: 260px;
    height: 240px;
    object-fit: cover;
    aspect-ratio: 13 / 12;
}

.blog-banner .history .history-wrap .text .text-item:has(+.text-item) {
    margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
    .sort-wrap {
        margin-top: 24px;
    }

    .original-btn {
        border: none;
        height: 35px;
        line-height: 35px;
        border-right: 1px solid #E5E5E5;
        width: 169px;
    }

    .original-btn:first-child {
        border-left: 1px solid #E5E5E5;
    }

    .original-btn.down:before {
        top: -3px;
        content: url(/images/img-renew2025/icons/arrow-down-bl.svg);
    }

    .original-btn.down:hover:before,
    .original-btn.down.active:focus:before,
    .original-btn.down.active:before {
        content: url(/images/img-renew2025/icons/arrow-down-wh.svg);
    }

    .collapse-btn.filters {
        border: none;
        height: 35px;
        line-height: 35px;
        border-left: 1px solid #E5E5E5;
        border-right: 1px solid #E5E5E5;
        width: 169px;
        background-color: unset;
        color: #000;
    }

    .collapse-btn.filters.collapsed:before,
    .collapse-btn.filters:before {
        top: -5px;
        content: url(/images/img-renew2025/icons/arrow-down-bl.svg);
    }

    .sort-btn a {
        margin-right: 0;
    }
}

@media screen and (max-width: 959px) {
    .original-btn {
        border: none;
        height: 35px;
        line-height: 35px;
        border-right: 1px solid #E5E5E5;
        width: 130px;
    }

    .btn.btn-primary.btn-set-w {
        margin-top: 0;
        /* margin-left: 5px; */
    }
}


/* Tablet-specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .blog-banner .history .history-wrap .banner-img>img {
        max-width: 200px;
        height: 180px;
    }
}

@media screen and (max-width: 768px) {

    .max-w.history,
    .university-art .max-w {
        width: 100%;
    }

    .blog-banner .history {
        margin-top: 2rem;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .blog-wrapper.search-product {
        margin: 0 1rem;
        padding-top: 1rem;
    }

    .list-works.blog-wrapper.search-product {
        padding-top: 0;
    }

    .blog-banner .history .history-wrap .text {
        font-size: 12px;
    }

    .text-small,
    .text-muted-small {
        font-size: 12px !important;
    }


    .university-art.blog-wrapper.search-product {
        background-color: #f5f5f5;
        margin: 0;
        padding-right: 15px;
        padding-left: 15px;
    }

    .history h2.title {
        font-size: 22px;
        margin-bottom: 0.5em;
    }

}

@media screen and (max-width: 767px) {

    .blog-banner .banner-max-w .banner-pc {
        display: none;
    }

    .blog-banner .banner-max-w .banner-mb {
        display: block;
    }


    .blog-banner .history .history-wrap .banner-img {
        display: none;
    }

}