﻿.home-sp {
}

    .home-sp .grid.wide {
    }

.home-sp-container {
    padding-top: 27px;
    display: flex;
}

.home-sp-left {
    flex: 1;
    padding-right: 61px;
    padding-top: 73px;
}

.home-sp-cate {
    margin: 0;
    position: relative;
    color: var(--default-color-4);
    font-weight: 100;
    font-size: 25px;
    line-height: 110%;
    width: fit-content;
    display: flex;
    align-items: center;
}

    .home-sp-cate::before {
        content: '';
        position: absolute;
        width: 33.5px;
        height: 2.48px;
        background-color: var(--default-color-4);
        border-radius: 55px;
        left: calc(100% + 10px);
    }

.home-sp-title {
    margin: 0;
    font-weight: 100;
    color: var(--default-color-2);
    font-family: 'robotoSeB';
    line-height: 140%;
    font-size: 42px;
    text-transform: capitalize;
    margin-top: 6px;
}

.home-sp-descript {
    margin: 0;
    font-weight: 100;
    color: #5F5F5F;
    font-size: 15px;
    line-height: 150%;
    margin-top: 1px;
    padding-right: 22px;
}

    .home-sp-descript strong {
        font-family: interB;
    }

.home-sp-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 26px;
    margin-top: 52px;
}

.home-sp-item {
}

    .home-sp-item .item-title {
        display: flex;
        align-items: center;
    }

        .home-sp-item .item-title img {
        }

        .home-sp-item .item-title h3 {
            margin: 0;
            line-height: 150%;
            font-weight: 100;
            color: var(--default-color-4);
            font-size: 15px;
            font-family: 'robotoSeSBI';
            margin-left: 6px;
            text-transform: capitalize;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

    .home-sp-item .item-descript {
        color: #5F5F5F;
        font-size: 12px;
        line-height: 150%;
        margin-top: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        width: 216px;
    }

.home-sp-btn {
    position: relative;
    width: 191.916px;
    height: 44.574px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

    .home-sp-btn img {
        position: absolute;
    }

    .home-sp-btn span {
        position: relative;
        z-index: 2;
        display: block;
        font-family: 'interSB';
        color: #fff;
        line-height: 150%;
        font-size: 16px;
    }

.home-sp-right {
    width: 633px;
    height: 511px;
    position: relative;
}

.home-sp-img__1 {
    width: 391px;
    height: 511px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 10px;
    z-index: 3;
    overflow: hidden;
}

.home-sp-img__2 {
    width: 410px;
    height: 313px;
    position: absolute;
    bottom: -71px;
    left: -4px;
    background-color: #fff;
    padding: 4px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 4;
}

    .home-sp-img__2 img {
        border-radius: 10px;
    }

.home-sp-decor__1 {
    position: absolute;
    bottom: -104px;
    right: -82px;
    z-index: 6;
}

.home-sp-decor__2 {
    position: absolute;
    top: -81px;
    left: -2px;
}

.home-sp-decor__3 {
    width: 402px;
    height: 405px;
    border-radius: 10px;
    border: 3px solid var(--default-color-5);
    top: 99px;
    position: absolute;
    left: 64px;
    z-index: 1;
}

.home-news {
}

    .home-news .grid.wide {
        max-width: 1239px;
    }

.home-news-container {
    padding-top: 42px;
    padding-bottom: 46px;
}

    .home-news-container .p-title {
    }

.home-news-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 25px;
    row-gap: 22px;
    margin-top: 39px;
}

.home-news-item {
    display: flex;
    border: 1px solid #D9D5D5;
    border-radius: 10px;
}

    .home-news-item:hover img {
        transform: scale(1.02);
    }

.home-news-img {
    border-radius: 10px;
    overflow: hidden;
    width: 233px;
    height: 275px;
}

    .home-news-img img {
        transition: all .3s;
    }

.home-news-content {
    flex: 1;
    padding: 0 22px;
    padding-top: 28px;
}

.home-news-options {
    display: flex;
    align-items: center;
}

    .home-news-options .options-item {
        display: flex;
        align-items: center;
        padding: 0 20px;
        position: relative;
    }

        .home-news-options .options-item:first-child {
            padding-left: 0;
        }

            .home-news-options .options-item:first-child::before {
                content: '';
                position: absolute;
                right: 0;
                background-color: #CCCCCC;
                width: 1px;
                height: 14px;
            }

        .home-news-options .options-item:last-child {
            padding-right: 0;
        }

    .home-news-options .options-item-icon {
    }

        .home-news-options .options-item-icon img {
        }

    .home-news-options .options-item span {
        margin-left: 5px;
        color: #4D4D4D;
        font-size: 14px;
        line-height: 138.7%;
    }

.home-news-title {
    margin: 0;
    color: var(--default-color-4);
    font-family: 'robotoSeSB';
    font-size: 20px;
    line-height: 128%;
    margin-top: 16px;
}

    .home-news-title span {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.home-news-descript {
    font-size: 14px;
    color: #5F5F5F;
    font-weight: 100;
    line-height: 150%;
    margin: 0;
    margin-top: 4px;
    margin-bottom: 10px;
}

    .home-news-descript span {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.home-news-btn {
    border-top: 1px solid #E8DEDE;
    padding-top: 8px;
}

    .home-news-btn span {
        font-family: 'interB';
        color: var(--default-color-4);
        font-size: 15px;
        font-weight: 100;
        line-height: 128%;
    }

.home-news-item:nth-child(1) {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
}

    .home-news-item:nth-child(1) .home-news-img {
        height: 379px;
        width: 100%;
    }

    .home-news-item:nth-child(1) .home-news-content {
        border: 1px solid var(--default-color-4);
        border-radius: 10px;
        background-color: #fff;
        position: absolute;
        bottom: 0;
        width: calc(100% - 80px);
        padding: 0 30px;
        padding-bottom: 16px;
        padding-top: 20px;
    }

    .home-news-item:nth-child(1) .home-news-options {
    }

        .home-news-item:nth-child(1) .home-news-options .options-item {
        }

        .home-news-item:nth-child(1) .home-news-options .options-item-icon {
        }

    .home-news-item:nth-child(1) .home-news-title {
    }

        .home-news-item:nth-child(1) .home-news-title span {
        }

    .home-news-item:nth-child(1) .home-news-descript {
    }

        .home-news-item:nth-child(1) .home-news-descript span {
        }

    .home-news-item:nth-child(1) .home-news-btn {
    }

        .home-news-item:nth-child(1) .home-news-btn span {
        }

    .home-news-item:nth-child(1) .home-news-options .options-item span {
    }
/* Mobile & tablet */
@media (max-width: 1023px) {
    .no-display-mobile-tablet {
        display: none !important;
    }

    .home-news-options {
        display: none;
    }

    .home-sp-right {
        display: none;
    }

    .home-sp-container {
        padding: 45px 0;
    }

    .home-sp-left {
        width: 100%;
        padding: 0;
    }

    .home-sp-title {
    }

    .home-news-container {
        padding-top: 0;
    }

    .home-news-item:nth-child(1) .home-news-img {
        height: 274px;
    }

    .home-news-img {
        height: 150px;
        width: 160px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .home-news-item {
        flex-direction: row;
    }

    .home-news-content {
        padding: 0;
        padding: 6px 12px;
    }

    .home-news-item:nth-child(1) .home-news-content {
        padding: 14px;
    }

    .home-news-title {
        font-size: 15px;
        margin-top: 0;
    }

    .home-news-descript {
        font-size: 13px;
        margin: 5px 0;
    }

        .home-news-descript span {
            -webkit-line-clamp: 3;
        }

    .home-sp-item .item-descript {
        width: 100%;
    }
}

/* Tablet */
@media (min-width: 740px) and (max-width: 1023px) {
    .no-display-tablet {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 739px) {
    .no-display-mobile {
        display: none !important;
    }

    .home-sp-container {
        padding: 25px 0;
    }

    .home-sp-title {
        font-size: 23px;
    }

    .home-sp-cate {
        font-size: 20px;
    }

    .home-sp-descript {
        padding-right: 0;
        text-align: justify;
    }

    .home-sp-list {
        margin-top: 18px;
        row-gap: 10px;
        column-gap: 10px;
    }

    .home-sp-item .item-title h3 {
        font-size: 12px;
    }

    .home-sp-btn span {
        font-size: 13px;
    }

    .home-sp-btn {
        margin-top: 15px;
    }

    .home-news-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
        margin-top: 20px;
    }

    .home-news-item:nth-child(1) .home-news-content {
        position: relative;
        width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .home-news-item:nth-child(1) .home-news-img {
        height: 215px;
        border-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .home-news-container {
        padding-bottom: 25px;
    }

    .p-title.hav-border::before {
        width: 71px;
    }
}