/* ==============================
   새길 라인형 최신글 스킨
============================== */

.sg-line-latest {
    width: 100%;
}

.sg-line-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.sg-line-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.sg-line-item:last-child {
    border-bottom: 0;
}

.sg-line-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 194px;
    padding: 38px 0 38px 40px;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
}

.sg-line-text {
    width: calc(100% - 110px);
    padding-right: 40px;
    box-sizing: border-box;
}

.sg-line-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.sg-line-cate {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 5px;
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 0;
    box-sizing: border-box;
    vertical-align: middle;
    z-index: 1;
}

.sg-line-cate:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12px;
    background: #004b9b;
    z-index: -1;
}

.sg-line-date {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

.sg-line-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -1.5px;
    word-break: keep-all;
}

.sg-line-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.sg-line-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 48px;
    margin-right: 0;
    background: #004bca;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    font-weight: 300;
    border-radius: 4px 0 0 4px;
    transition: all 0.25s ease;
}

.sg-line-link:hover .sg-line-arrow {
    background: #003b9b;
}

.sg-line-link:hover .sg-line-title {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.sg-line-empty {
    padding: 60px 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* 흰 배경에서 사용할 경우 */
.sg-line-latest.is-light .sg-line-list {
    border-top-color: #ddd;
}

.sg-line-latest.is-light .sg-line-item {
    border-bottom-color: #ddd;
}

.sg-line-latest.is-light .sg-line-link,
.sg-line-latest.is-light .sg-line-title {
    color: #222;
}

.sg-line-latest.is-light .sg-line-cate {
    color: #004b9b;
}

.sg-line-latest.is-light .sg-line-date,
.sg-line-latest.is-light .sg-line-desc {
    color: #555;
}