@import "/WEB/CSS/common.css";
@import "/WEB/Header/header.css";
@import "/WEB/Footer/footer.css";

#oTop{ margin:0;padding:0;clear:both;border:0;background:#444; }
#oTop .box {
	position:relative;
	padding:0; margin:0 auto;
	width:1280px; max-width:100%;
}

#oTop .view {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 1280 / 150;

    /* 
       모바일에서 des가 16px로 유지되면 높이 공간이 더 필요하므로 
       #_SubView의 최소 높이도 약 110px 이하로는 줄어들지 않게 설정 
    */
    min-height: clamp(110px, 11.7vw, 150px);
    position: relative;
    overflow: hidden;

    background: #444;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* 컨테이너 쿼리 설정 */
    container-type: inline-size;
}

/* 2. 내부 콘텐츠 영역 */
#oTop .cont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    
    /* 상하좌 패딩 5px 보장, 오른쪽 여백 유연하게 설정 */
    padding: 5px 4cqw 5px 5px; 
    gap: 12px;
    box-sizing: border-box;
}

/* 3. 아이콘 영역 (정사각형 비율 유지하며 완벽 반응형) */
#oTop .icon {
    flex-shrink: 0;
    /* 모바일 최소 80px ~ 최대 140px (cqw 비율 연동) */
    width: clamp(80px, 10.9375cqw, 140px);
    height: clamp(80px, 10.9375cqw, 140px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#oTop .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* 4. 텍스트 영역 */
#oTop .tbox {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 제목 (tit) - 폰트 하한선 설정 */
#oTop .tit {
    /* 모바일 최소 18px 이상 보장 ~ 최대 28px */
    font-size: clamp(18px, 2.2cqw, 28px); 
    font-weight: bold;
    color: #eee;
    line-height: 1.25;
    margin-bottom: 4px;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 설명 (des) - 최소 16px 유지 */
#oTop .des {
    /* 모바일에서도 절대 16px 밑으로 떨어지지 않게 고정 (최대 20px) */
    font-size: clamp(16px, 1.5cqw, 20px); 
    color: #eea280;
    line-height: 1.35;
    
    /* 모바일 화면에서 잘림 방지를 위해 최대 2줄 표시 후 말줄임표 */
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

#oCont{ 
	margin:0 auto;padding:0;
	box-sizing:border-box;
	vertical-align:top;
	clear:both; 
}
