@charset "utf-8";

/* 전체 래퍼 (1400px 중앙 정렬 적용) */
.shorts-lat-wrap {
    position: relative;
    width: 100%;
    max-width: 1400px; /* 가로폭 제한 */
    margin: 0 auto;    /* 중앙 정렬 */
    padding: 70px 0px 20px; /* 상하 여백 + 좌우 화살표 공간 확보 */
    box-sizing: border-box;
    overflow: visible; /* 화살표가 밖으로 나가도 보이게 처리 */
}

/* 1. 헤더 스타일 */
.lat-header {
    text-align: center;
    margin-bottom: 40px;
}

.lat-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a2432;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.lat-desc {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* 상단 타이틀 */
.lat-title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
    border-bottom: 2px solid #1a2432; /* 타이틀 하단 장식 선 추가 */
    padding-bottom: 15px;
}
.lat-title a {
    font-size: 24px;
    font-weight: 900;
    color: #1a2432;
    text-decoration: none;
}
.lat-more a {
    font-size: 14px;
    color: #888;
    text-decoration: none;
    font-weight: 500;
}

/* --- 슬라이더 영역 --- */
.shorts-slider {
    position: relative;
    /* padding: 0 60px; -> 래퍼에서 처리했으므로 제거 */
}

/* 슬라이더 아이템 간격 */
.slick-list {
    margin: 0 -10px; /* 아이템 사이 간격 보정 */
}
.shorts-item {
    padding: 0 10px; /* 아이템 좌우 여백 */
    box-sizing: border-box;
}

/* 링크 및 호버 효과 */
.shorts-link {
    display: block;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s;
}
.shorts-link:hover {
    transform: translateY(-5px);
}

/* 이미지 프레임 (9:16 비율) */
.img-frame {
    position: relative;
    width: 100%;
    padding-top: 60%; 
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.img-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.shorts-link:hover .img-frame img {
    transform: scale(1.05);
}


/* 텍스트 영역 */
.txt-box {
    padding: 15px 5px 0;
}
.st-subj {
    font-size: 16px;
    font-weight: 700;
    color: #1a2432;
    margin: 0 0 5px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.5em;
}
.st-info {
    font-size: 13px;
    color: #888;
    margin: 0;
}


/* --- 화살표 버튼 스타일 (좌우 끝 배치) --- */
.slick-prev, .slick-next {
    position: absolute;
    top: 40%; /* 썸네일 중앙 높이 */
    transform: translateY(-50%);
    width: 40px; 
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    z-index: 100;
    font-size: 0;
    outline: none;
}

/* 위치 지정: 1400px 박스의 padding 영역(60px) 안으로 배치 */
.slick-prev { left: -50px; }
.slick-next { right: -50px; }

/* 화살표 아이콘 */
.slick-prev:before, .slick-next:before {
    content: '';
    display: block;
    width: 20px; 
    height: 20px;
    border-top: 4px solid #1a2432; /* 조금 더 두껍게 */
    border-right: 4px solid #1a2432;
    opacity: 1;
    transition: all 0.3s;
    margin: 0 auto;
}

.slick-prev:before { transform: rotate(-135deg); }
.slick-next:before { transform: rotate(45deg); }

.slick-prev:hover:before, .slick-next:hover:before {
    border-color: #e66e2c;
}

/* --- 모바일 반응형 (768px 이하) --- */
@media (max-width: 768px) {
	.lat-title { font-size: 24px; }
    .shorts-lat-wrap {
        padding: 30px 10px; /* 모바일에서는 좌우 여백 축소 */
        max-width: 100%;
		border-left: 0px solid #13384f;
    border-right: 0px solid #13384f;
    }

    /* 슬라이더 아이템 간격 축소 (3개를 보여주기 위해) */
    .slick-list { margin: 0 -5px; }
    .shorts-item { padding: 0 5px; }

    /* 화살표 숨김 (스와이프 사용) */
    .slick-prev, .slick-next { display: none !important; }
    
    /* 폰트 사이즈 조정 */
    .lat-title a { font-size: 20px; }
    .st-subj { font-size: 14px; }
}