@charset "utf-8";

/* 새글 스킨 (latest) */
.lat {
    position: relative;
    margin-bottom: 20px;
    background: #fff
}

.lat .lat_title {
    display: block;
    line-height: 45px;
    font-size: 1.2em;
    color: #253dbe
}

.lat .lat_title a {
    position: relative;
    color: #000;
    display: inline-block
}

.lat ul {
    padding: 10px 0
}

.lat li {
    position: relative;
    line-height: 18px;
    border-bottom: 1px solid #e5ecee;
    margin-bottom: 10px
}

.lat li a {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 20px;
    vertical-align: middle
}

.lat li a:hover {
    color: #3a8afd
}

.lat li .fa-heart {
    color: #ff0000
}

.lat li .fa-lock {
    display: inline-block;
    line-height: 14px;
    width: 16px;
    font-size: 0.833em;
    color: #4f818c;
    background: #cbe3e8;
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid #cbe3e8;
    vertical-align: middle
}

.lat li .new_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #23db79;
    background: #b9ffda;
    text-align: center;
    border-radius: 2px;
    margin-left: 2px;
    font-weight: bold;
    vertical-align: middle
}

.lat li .hot_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #ff0000;
    background: #ffb9b9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle
}

.lat li .fa-caret-right {
    color: #bbb
}

.lat li .fa-download {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #daae37;
    background: #ffefb9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle
}

.lat li .fa-link {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #b451fd;
    background: #edd3fd;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle
}

.lat .profile_img img {
    border-radius: 50%
}

.lt_info {
    padding: 10px 0
}

.lt_info .lt_nick {}

.lt_info .lt_date {
    color: #888
}

.lat .empty_li {
    line-height: 145px;
    color: #666;
    text-align: center;
    padding: 0
}

.lat .empty_li:before {
    background: none;
    padding: 0
}

.lat .lt_cmt {
    background: #e9eff5;
    color: #3a8afd;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    border-radius: 3px;
    vertical-align: middle
}

.lat .lt_more {
    position: absolute;
    top: 11px;
    right: 0;
    display: block;
    width: 40px;
    line-height: 25px;
    color: #3a8afd;
    border-radius: 3px;
    text-align: center
}

.lat .lt_more:hover {
    color: #777
}

.li_float_list {
    padding: 2.5rem 0;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 2rem;
    /* gap: 2rem; */
}

.li_float_list li {
    display: flex;
    /* padding: 0 1rem; */
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 1px dashed #ddd; */
}

.li_float_list li:last-child {
    border: 0
}

.li_float_list li .lt_txt {
    width: 80%;
    /* display: -webkit-box; */
    /* -webkit-box-orient: vertical; */
    /* -webkit-line-clamp: 1; */
    /* text-overflow: ellipsis; */
}

.li_float_list li .lt_date {}

.li_float_list li p {
    display: none;
    font-size: 18px;
    color: #515151;
}

.li_float_list li h4 {
    font-size: 18px;
    font-weight: 300;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1rem;
    line-height: 2;
    overflow-y: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    /* border-bottom: 1px dashed #ddd; */
}

.li_float_list li h4:before {
    content: "";
    position: absolute;
    background-color: var(--color-main);
    width: 6px;
    height: 6px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 2px;
}

.lt_date {
    font-size: 16px;
}

.lt_txt h5 {
    font-size: 18px;
    font-weight: 400;
}

.first_li {
    border: 10px solid #ECF5FC;
    border-radius: 20px;
    /* padding: 1.5rem; */
    width: 40%;
    height: 100%;
    overflow: hidden;
}

.first_li .li_inner {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.first_li .lt_txt {
    height: 92%;
    overflow: hidden;
}

.first_li .lt_txt h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    height: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.5;
}

.first_li .lt_txt a {
    display: block;
    width: 100%;
    height: 100%;
}

.first_li .lt_date {}

.first_li .lt_date {}

.first_li .lt_date p {
    color: var(--color-main)
}

.li_float_list li+li {}

.li_float_list .lt_txt h5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: keep-all;
}

.ct_box {
    /* height: 227px; */
    position: relative;
    overflow: hidden;
    height: 100%;
}

.ct_box img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    object-position: center;
}

.no_image {
    display: none
}

@media only screen and (min-width:1025px) and (max-width: 1500px) {
    .li_float_list li h4 {
        font-size: 18px
    }

    .li_float_list li:first-of-type .lt_date {
        width: 80px;
        height: 80px;
    }
}

@media only screen and (max-width:1024px) {

    .li_float_list {
        padding: 1rem 0;
        width: 100%;
        margin-left: 0;
        height: 55%;
    }

    .li_float_list li .lt_date {
        display: none
    }

    .li_float_list li {
        margin-left: 0;
        margin-top: .5rem;
    }

    .li_float_list li .lt_txt {
        width: 100%
    }

    .li_float_list li:first-of-type .lt_date {
        /* width: 80px; */
        /* height: 100%; */
    }

    .li_float_list li:last-of-type {
        display: none;
    }

    .li_float_list li:nth-last-child(2) {
        border-bottom: unset;
    }

    .li_float_list li h4 {
        padding: .3rem;
        padding-left: 1rem;
    }

    .first_li {
        width: 100%;
        height: 45%;
        border: 5px solid #ecf5fc;
    }

    .first_li .li_inner {
        padding: 1rem
    }

    .first_li .lt_txt h5 {
        height: auto;
        margin-bottom: .5rem;
    }

    .ct_box {
        height: auto;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        text-overflow: ellipsis;
    }
}

@media only screen and (max-width:767px) {

    .li_float_list li {
        font-size: clamp(.9rem, 4vw, 1rem);
        margin-top: .8rem;
    }

    .li_float_list li:first-of-type {
        display: flex;
        flex-wrap: wrap;
    }

    .li_float_list li h4 {
        padding: .2rem;
        font-size: clamp(.9rem, 4vw, 1rem);
        padding-left: 1rem;
    }

}