/* =========================================================
   OSP 411 Section
========================================================= */

section[data-cattype="411"] {
    position: relative;
    width: 100%;
    padding: 70px 0;
    overflow: hidden;

    background-color: #FFFFFF;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

[data-cattype="411"] * {
    box-sizing: border-box;
}


/* =========================================================
   Main Container
========================================================= */

[data-cattype="411"] .section-411 {
    width: calc(100% - 80px);
    max-width: 1450px;
    margin: 0 auto;
}


/* =========================================================
   Section Title
========================================================= */

[data-cattype="411"] .section-411-title {
    position: relative;

    margin: 0 0 45px;
    padding: 0;

    color: #0D0E23;

    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
}


/* =========================================================
   Grid
========================================================= */

[data-cattype="411"] .section-411-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 35px 38px;

    width: 100%;
}


/* =========================================================
   General Card
========================================================= */

[data-cattype="411"] .section-411-card {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background-color: #FFFFFF;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}


/* =========================================================
   CATEGORY LISTING CARD
   Clickable
========================================================= */

[data-cattype="411"][data-view="category"]
.section-411-category-card {
    cursor: pointer;
}


[data-cattype="411"]
.section-411-category-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    min-height: 285px;

    padding: 20px;

    color: #000000;

    text-decoration: none;

    cursor: pointer;
}


[data-cattype="411"]
.section-411-category-link:link,
[data-cattype="411"]
.section-411-category-link:visited,
[data-cattype="411"]
.section-411-category-link:hover,
[data-cattype="411"]
.section-411-category-link:focus {
    color: inherit;

    text-decoration: none;
}


/* Category Hover */
[data-cattype="411"][data-view="category"]
.section-411-category-card:hover {
    background-color: #CC0B14;

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, 0.12);
}


/* Category Hover Text */
[data-cattype="411"][data-view="category"]
.section-411-category-card:hover
.section-411-card-title,

[data-cattype="411"][data-view="category"]
.section-411-category-card:hover
.section-411-card-description,

[data-cattype="411"][data-view="category"]
.section-411-category-card:hover
.section-411-card-description p {
    color: #FFFFFF;
}


/* =========================================================
   DETAIL CARD
   Not Clickable
========================================================= */

[data-cattype="411"][data-view="detail"]
.section-411-detail-card {
    display: flex;
    flex-direction: column;

    min-height: 285px;

    padding: 22px 20px 20px;

    cursor: default;
}


/* Detail card only gets subtle hover */
[data-cattype="411"][data-view="detail"]
.section-411-detail-card:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.09);
}


/* =========================================================
   Image Box
========================================================= */

[data-cattype="411"]
.section-411-image-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 190px;

    overflow: hidden;

    background-color: #FFFFFF;

    border-radius: 8px;
}


/* =========================================================
   Image
========================================================= */

[data-cattype="411"]
.section-411-image-box img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}


/* =========================================================
   Placeholder
========================================================= */

[data-cattype="411"]
.section-411-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #D5D5D5;

    font-size: 44px;
    font-weight: 400;

    text-align: center;
}


/* =========================================================
   Card Title
========================================================= */

[data-cattype="411"]
.section-411-card-title {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 46px;

    margin: 15px 0 0;
    padding: 0;

    color: #000000;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;

    text-align: center;

    transition:
        color 0.3s ease;
}


/* =========================================================
   Detail Title Above Image
========================================================= */

[data-cattype="411"][data-view="detail"]
.section-411-card-title {
    order: 1;

    margin:
        0 0 14px;
}


/* Detail image after title */
[data-cattype="411"][data-view="detail"]
.section-411-image-box {
    order: 2;
}


/* Detail description */
[data-cattype="411"][data-view="detail"]
.section-411-card-description {
    order: 3;
}


/* =========================================================
   Description
========================================================= */

[data-cattype="411"]
.section-411-card-description {
    width: 100%;

    margin-top: 14px;

    color: #000000;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;

    text-align: center;

    transition:
        color 0.3s ease;
}


[data-cattype="411"]
.section-411-card-description p {
    margin:
        0 0 5px;

    color: inherit;

    font-size: inherit;
    line-height: inherit;
}


[data-cattype="411"]
.section-411-card-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Hidden Pagination Item
========================================================= */

[data-cattype="411"]
.section-411-card.is-hidden {
    display: none !important;
}


/* =========================================================
   Empty Result
========================================================= */

[data-cattype="411"]
.section-411-empty {
    width: 100%;

    padding: 40px 20px;

    color: #777777;

    font-size: 16px;

    text-align: center;
}


/* =========================================================
   Pagination
========================================================= */

[data-cattype="411"]
.section-411-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    width: 100%;

    margin-top: 40px;
}


/* =========================================================
   Pagination Button
========================================================= */

[data-cattype="411"]
.section-411-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 36px;
    height: 36px;

    margin: 0;
    padding: 0 10px;

    border: 0;
    border-radius: 5px;

    outline: none;

    background-color: transparent;

    color: #333333;

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease;
}


/* Pagination Hover */
[data-cattype="411"]
.section-411-pagination button:hover:not(:disabled) {
    color: #E70012;
}


/* Active Page */
[data-cattype="411"]
.section-411-pagination-number.active {
    background-color: #E70012;

    color: #FFFFFF !important;
}


/* Previous / Next */
[data-cattype="411"]
.section-411-pagination-prev,

[data-cattype="411"]
.section-411-pagination-next {
    min-width: auto !important;

    padding-left: 12px !important;
    padding-right: 12px !important;
}


/* Disabled */
[data-cattype="411"]
.section-411-pagination button:disabled {
    opacity: 0.35;

    cursor: default;
}


/* =========================================================
   Tablet
========================================================= */

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

    section[data-cattype="411"] {
        padding:
            60px 0;
    }


    [data-cattype="411"]
    .section-411 {
        width:
            calc(100% - 40px);
    }


    [data-cattype="411"]
    .section-411-title {
        margin-bottom:
            35px;

        font-size:
            34px;
    }


    [data-cattype="411"]
    .section-411-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            24px;
    }

}


/* =========================================================
   Mobile
========================================================= */

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

    section[data-cattype="411"] {
        padding:
            50px 0;
    }


    [data-cattype="411"]
    .section-411 {
        width:
            calc(100% - 30px);
    }


    [data-cattype="411"]
    .section-411-title {
        margin-bottom:
            30px;

        font-size:
            30px;
    }


    [data-cattype="411"]
    .section-411-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            14px;
    }


    [data-cattype="411"]
    .section-411-category-link,

    [data-cattype="411"][data-view="detail"]
    .section-411-detail-card {
        min-height:
            215px;

        padding:
            12px;
    }


    [data-cattype="411"]
    .section-411-image-box {
        height:
            135px;
    }


    [data-cattype="411"]
    .section-411-card-title {
        min-height:
            38px;

        margin-top:
            10px;

        font-size:
            15px;
    }


    [data-cattype="411"][data-view="detail"]
    .section-411-card-title {
        margin:
            0 0 10px;
    }


    [data-cattype="411"]
    .section-411-card-description {
        margin-top:
            10px;

        font-size:
            13px;
    }


    [data-cattype="411"]
    .section-411-pagination {
        margin-top:
            30px;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

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

    [data-cattype="411"]
    .section-411 {
        width:
            calc(100% - 24px);
    }


    [data-cattype="411"]
    .section-411-grid {
        gap:
            10px;
    }


    [data-cattype="411"]
    .section-411-category-link,

    [data-cattype="411"][data-view="detail"]
    .section-411-detail-card {
        min-height:
            190px;

        padding:
            10px;
    }


    [data-cattype="411"]
    .section-411-image-box {
        height:
            118px;
    }


    [data-cattype="411"]
    .section-411-card-title {
        font-size:
            14px;
    }


    [data-cattype="411"]
    .section-411-card-description {
        font-size:
            12px;
    }

}