@charset "utf-8";

/* 전체 래퍼 */
.wiz-latest-wrapper {
    display: flex;
    align-items: stretch;
    background: #fdfdfd;
    overflow: hidden;
    width: 100%;
    
    /* 🛠️ 추가: 가로 너비 1400px 및 센터 정렬 */
    max-width: 1400px;
    margin: 0 auto 40px auto; 
}

/* 좌측 정보 영역 */
.wiz-latest-info {
    background-color: #12284c !important; /* 다크 블루 고정 */
    padding: 60px 40px 40px 40px;
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* 좌측 글자들을 강제로 흰색으로 고정 */
.wiz-latest-info * {
    color: #ffffff !important; 
}

.wiz-latest-title {
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 0 30px 0 !important;
    letter-spacing: -0.5px !important;
}

.wiz-latest-more {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wiz-latest-more i {
    font-weight: 300;
}

.wiz-latest-controls {
    margin-top: 80px;
}

.wiz-latest-divider {
    border: 0;
    height: 2px !important;
    background: #ffffff !important;
    width: 100%;
    margin: 0 0 20px 0;
}

.wiz-latest-nav {
    display: flex;
    gap: 8px;
}

.wiz-latest-nav button {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
}

.wiz-latest-nav button:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 우측 리스트(슬라이더) 영역 */
.wiz-latest-list {
    flex-grow: 1;
    padding: 30px 0 30px 30px;
    width: calc(100% - 320px);
    min-width: 0; /* Flexbox 내에서 Swiper가 공간을 벗어나지 않도록 방지 */
}

/* Swiper 컨테이너 오버라이드 */
.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.wiz-latest-item {
    height: auto; 
}

.item-inner {
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
}



.item-link {
    text-decoration: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-desc {
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.6 !important;
    margin: 0 0 30px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.item-footer {
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.item-viewmore {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    
    /* 🛠️ 추가: 애니메이션 준비 */
    display: inline-block; /* transform 효과를 위해 필수 */
    transition: transform 0.3s ease;
}

/* 🛠️ 추가: VIEW MORE 호버 시 텍스트 확대 */
.item-viewmore:hover {
    transform: scale(1.05);
}

.item-plusbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dddddd;
    border-radius: 50%;
    color: #666666 !important;
    text-decoration: none;
    
    /* 🛠️ 수정: 회전 애니메이션 속성 추가 */
    transition: background-color 0.3s, border-color 0.3s, transform 0.4s ease;
}

.item-plusbtn:hover {
    background: #12284c !important;
    color: #ffffff !important;
    border-color: #12284c;
    
    /* 🛠️ 추가: + 표시 회전 */
    transform: rotate(90deg);
}

.wiz-latest-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999999 !important;
    font-size: 15px;
}

/* 반응형 처리 (모바일) */
@media (max-width: 1160px) { /* 1400px + 패딩 여유값 */
    .wiz-latest-wrapper {
        max-width: 100%;
        margin: 0 auto 20px auto;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .wiz-latest-wrapper {
        flex-direction: column;
    }
    .wiz-latest-info {
        width: 100%;
        padding: 40px 20px;
    }
    .wiz-latest-list {
        width: 100%;
        padding: 20px;
    }
    .wiz-latest-controls {
        margin-top: 40px;
    }
}