@charset "UTF-8";
/* 상세 전체 레이아웃 */
.sub_contbox {
    padding: 48px 0 80px;
}

.news_detail {
    max-width: 960px;
    margin: 0 auto;
}

/* 상단 정보 영역 */
.news_info {
    margin-bottom: 24px;
}

/* 카테고리 뱃지 (리스트와 공통 사용) */
.press-category {
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    color: #b70000;
    background: #FFF4EE;
    border: 1px solid rgba(183, 0, 0, 0.3);
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 제목 */
.news_info .tit {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

/* 서브 타이틀(요약) */
.news_info .sub_tit {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 날짜 */
.news_info .date {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

/* 본문 영역 */
.news_cont,
.news_con {
    margin: 0 0 32px;
    padding: 16px 0 0;      /* 위 16px 정도만 줘서 제목/본문 간격 부드럽게 */
    font-size: 1.05rem;
    line-height: 1.8;
}

/* CKEditor 내용이 너무 꽉 차 보이지 않게 */
.news_cont .ck-content p,
.news_con .ck-content p {
    margin: 0 0 1em;
}

/* 대표 이미지 */
.news_visual {
    margin: 0 0 32px;
}

.news_visual img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 10px;
}

/* 목록 버튼 영역 */
.c_btn {
    text-align: center;
    margin-top: 8px;
}

.c_btn .btn02 {
    display: inline-block;
    min-width: 160px;
    height: 46px;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid #313131;
    background-color: #fff;
    color: #313131;
    font-size: 0.95rem;
    line-height: 24px;
    box-sizing: border-box;
}

.c_btn .btn02 span {
    display: inline-block;
}

/* 필요하면 hover */
.c_btn .btn02:hover {
    background-color: #313131;
    color: #fff;
}

/* =========================
   모바일 조정
   ========================= */
@media (max-width: 768px) {

    .sub_contbox {
        padding: 16px 0 48px;
    }

    .news_detail {
        padding: 0 16px;
    }

    .news_info {
        margin-bottom: 16px;
        text-align: left !important;
    }

    .news_info .press-category {
        margin-bottom: 6px;
    }
    
    .news_info .tit {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .news_info .sub_tit {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .news_cont {
        margin-bottom: 24px;
        padding-top: 10px;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .news_visual {
        margin-bottom: 24px;
    }

    .news_visual img {
        max-height: 320px;
        border-radius: 8px;
    }

    .c_btn {
        margin-top: 4px;
    }

    .c_btn .btn02 {
        width: 100%;
        max-width: 260px;
        height: 44px;
        font-size: 0.9rem;
    }
}



/* =========================
   유튜브 영상 영역
   ========================= */
/* 동영상 전체 래퍼: 본문과 이미지 사이에 자연스럽게 들어가도록 */
.video_wrap {
    margin: 24px 0 32px;   /* 위/아래 여백 */
}

/* 16:9 반응형 비디오 박스 */
.video_container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;        /* 16:9 비율 */
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;     /* 로딩 전에는 검은 배경 */
}

/* 16:9 비율 유지용 패딩 트릭 */
.video_container::before {
    content: "";
    display: block;
    padding-top: 56.25%;   /* 9 / 16 * 100 */
}


.video_container iframe {
    position: absolute;
    inset: 0;                   /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    /* ... 네가 이미 쓰고 있는 모바일 스타일들 ... */
    .news_video {
        margin-bottom: 24px;    /* 모바일은 살짝 더 컴팩트하게 */
    }

    .video_container {
        border-radius: 8px;
    }
}