/* case_list.blade.php — page-scoped styles (pattern mirrors news_list-2024.css) */

#caselist .section_inner {
    background: transparent url(https://storage-asset.msi.com/event/msi_ipc/images/section_bg_1.jpg) center top no-repeat;
    -webkit-background-size: cover;
    background-attachment: fixed;
}

/* header */
#caselist .page_header {
    position: relative;
    background: url("https://storage-asset.msi.com/event/msi_ipc/images/newslist_header_bg.jpg") right top no-repeat;
    background-size: cover;
    color: #fff;
    height: 100px;
    margin-top: 60px;
}
@media (min-width: 996px) {
    #caselist .page_header {
        margin-top: 0;
        height: 150px;
    }
}
@media (min-width: 1600px) {
    #caselist .page_header {
        height: 200px;
    }
}
#caselist .page_header .top_head {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#caselist .page_header .topTitle {
    text-align: center;
    padding: 0 25px;
}
#caselist .page_header h1.h2 {
    line-height: 1.1;
    font-size: 24px;
}
@media (min-width: 996px) {
    #caselist .page_header h1.h2 {
        font-size: 36px;
    }
}

#caselist .content_body {
    width: 100%;
    max-width: 1330px;
    margin: 0 auto;
    z-index: 4;
    padding: 40px 25px;
}
@media (min-width: 1930px) {
    #caselist .content_body {
        max-width: 1600px;
        padding: 40px 0;
    }
}

/* filter */
#caselist .case_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}
#caselist .case_filter_label {
    font-weight: 600;
    color: #212530;
}
#caselist .case_filter select {
    height: 40px;
    padding: 0 15px;
    border: var(--color-gray-300, #dbdbdb) 1px solid;
    border-radius: 4px;
    color: #212530;
    background-color: #fff;
    min-width: 220px;
}

/* card grid */
#caselist .case_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
}
#caselist .case_card {
    width: calc(25% - 15px);
}
@media (max-width: 1200px) {
    #caselist .case_card {
        width: calc(33.333% - 14px);
    }
}
@media (max-width: 900px) {
    #caselist .case_card {
        width: calc(50% - 10px);
    }
}
@media (max-width: 560px) {
    #caselist .case_card {
        width: 100%;
    }
}
#caselist .case_card.hide {
    display: none;
}
#caselist .case_card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
#caselist .case_card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
#caselist .case_card .img_inner {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background-color: #f2f5f7;
}
#caselist .case_card .img_inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#caselist .case_infor {
    padding: 16px;
}
#caselist .case_title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: #212530;
    margin-bottom: 12px;
}
#caselist .case_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
#caselist .case_tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background-color: #2E98E5;
    color: #fff;
    font-size: 13px;
}
#caselist .case_location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #2E98E5;
    margin-bottom: 0;
}
#caselist .case_location .icon-msi-pin {
    font-size: 15px;
}

/* pageNavBar */
#caselist .pageNavBar {
    padding-bottom: 50px;
}
@media (min-width: 996px) {
    #caselist .pageNavBar {
        padding-bottom: 80px;
    }
}
#caselist .pageNavBar ul {
    display: flex;
    align-items: center;
    justify-content: center;
}
#caselist .pageNavBar ul li {
    margin: 0 10px;
}
@media (min-width: 996px) {
    #caselist .pageNavBar ul li {
        margin: 0 15px;
    }
}
#caselist .pageNavBar ul li a {
    color: var(--color-gray-400);
    display: inline-flex;
    align-items: center;
    height: 40px;
}
#caselist .pageNavBar ul li a:hover {
    color: #2E98E5;
}
#caselist .pageNavBar ul li a.active {
    color: #2E98E5;
    border-bottom: #2E98E5 1px solid;
}
#caselist .pageNavBar ul li.prev a,
#caselist .pageNavBar ul li.next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: var(--color-gray-300) 1px solid;
    width: 40px;
    height: 40px;
    color: #2E98E5;
    font-size: 20px;
}
#caselist .pageNavBar ul li.prev a::before {
    font-family: "msi-icons";
    content: "\ea10";
}
#caselist .pageNavBar ul li.next a::before {
    font-family: "msi-icons";
    content: "\ea09";
}
#caselist .pageNavBar ul li.prev a:hover,
#caselist .pageNavBar ul li.next a:hover {
    border-color: #2E98E5;
}
