/* (01-Core.css) */
body {
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* 전체 컨테이너: max-width를 1280으로 제한하고 가운데 정렬 */
#divContainer.clsContainer {
    width: 100%;
    height: auto;
    max-width: 1280px;
    margin: 0 auto;
    /*border: 1px solid red;*/
    /* 약간그림자 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05), 0 0 6px rgba(0, 0, 0, 0.03);
    /* 미세한 배경색 차이 */
    background-color: #ffffff;
    border-radius: 8px;
}

/*****************************************
divMain 콘텐츠 CSS
 *****************************************/

/*****************************************
 * 섹션1 스타일
 *****************************************/
#divSection1.clsSection.clsCoreSection1 {
    margin: 0 auto;
    /*padding-top: 150px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', sans-serif;
    margin-bottom: 30px; /* 섹션2와의 간격 */
}

/* 헤더 섹션 스타일 */
.clsCoreSection1Header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.clsCoreGreenBar {
    width: 50px;
    height: 6px;
    background-color: #4CD964;
    margin: 0 auto 15px;
}

.clsCoreSection1Subtitle {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
}

.clsCoreSection1Title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* 대화형 섹션 스타일 - 컨테이너 */
.clsCoreDialogueContainer {
    /*width: 100%;*/
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* 각 대화 행 */
.clsCoreDialogueRow {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

/* 흐리게 표시할 행 */
.clsCoreFaded {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* 캐릭터 이미지 스타일 */
.clsCoreCharacterLeft, .clsCoreCharacterRight {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #4CD964;
    flex-shrink: 0;
}

    .clsCoreCharacterLeft img, .clsCoreCharacterRight img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 메시지 스타일 */
.clsCoreMessageLeft, .clsCoreMessageRight {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 18px 27px;
    max-width: 80%;
}

.clsCoreMessageLeft {
    margin-left: 15px;
}

.clsCoreMessageRight {
    margin-right: 15px;
}

    .clsCoreMessageLeft p, .clsCoreMessageRight p {
        margin: 0;
        font-size: 15px;
        color: #333;
        line-height: 1.4;
    }

/* 섹션 1 반응형 */
@media (max-width: 768px) {
    .clsCoreSection1Title {
        font-size: 24px;
    }
}

/*****************************************
 * 섹션2 스타일
 *****************************************/
#divSection2.clsSection.clsCoreSection2 {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*padding: 80px 20px;*/
    font-family: 'Inter', sans-serif;
}

.clsCoreSection2Container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.clsCoreSection2Content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.clsCoreSection2TextColumn {
    flex: 1;
    max-width: 550px;
}

.clsCoreSection2GraphColumn {
    flex: 1;
    max-width: 250px;
    display: flex;
    justify-content: center;
}

.clsCoreSection2Title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.clsCoreSection2Graph {
    width: 100%;
    position: relative;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.clsCoreGraphLabel {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #4CD964;
    color: white;
    padding: 8px 15px;
    border-radius: 0 10px 0 10px;
    font-size: 14px;
    font-weight: 600;
}

.clsCoreGraphImage {
    width: 100%;
    height: auto;
    display: block;
}

.clsCoreSection2Text {
    width: 100%;
}

.clsCoreSection2Paragraph {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

    .clsCoreSection2Paragraph .clsCoreHighlight {
        font-weight: 700;
        color: #4CD964;
    }

/* 섹션2의 반응형 스타일 - 태블릿 및 모바일에서 사용됨 */
@media (max-width: 1024px) {
    .clsCoreSection2Content {
        gap: 30px;
    }

    .clsCoreSection2Title {
        font-size: 26px;
    }

    .clsCoreSection2Paragraph {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .clsCoreSection2Content {
        flex-direction: column;
        gap: 30px;
    }

    .clsCoreSection2TextColumn {
        order: 1;
        max-width: 100%;
        text-align: center;
    }

    .clsCoreSection2GraphColumn {
        order: 0;
        max-width: 100%;
        width: 100%;
    }

    .clsCoreSection2Title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    .clsCoreSection2Graph {
        max-width: 450px;
        margin: 0 auto;
    }

    .clsCoreSection2Text {
        text-align: center;
    }

    .clsCoreSection2Paragraph {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .clsCoreSection2Graph {
        max-width: 100%;
    }

    .clsCoreGraphLabel {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/*****************************************
 * 섹션3 스타일
 *****************************************/
#divSection3.clsSection.clsCoreSection3 {
    position: relative;
    margin: 60px auto 0;
    padding: 80px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #000000 70%, #004c03 100%);
    color: white;
    overflow: hidden;
}

    /* 배경 그라데이션 효과 추가 */
    #divSection3.clsSection.clsCoreSection3::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%;
        background: radial-gradient(ellipse at bottom, rgba(76, 217, 100, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
        pointer-events: none;
        z-index: 1;
    }

.clsCoreQuestion {
    margin-bottom: 0px;
}

    .clsCoreQuestion p {
        font-size: 18px;
        color: #ccc;
        margin: 0;
    }

.clsCoreAnswer {
    margin-bottom: 25px;
}

    .clsCoreAnswer h2 {
        font-size: 32px;
        font-weight: 700;
        color: #4CD964;
        margin: 0;
    }

.clsCoreImgContainer {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 60px;
    z-index: 2;
}

.clsCoreImg {
    width: 100%;
    height: auto;
    display: block;
}

.clsCoreButtonContainer {
    position: relative;
    z-index: 2;
}

/* 섹션3의 반응형 스타일 */
@media (max-width: 1024px) {
    .clsCoreAnswer h2 {
        font-size: 28px;
    }

    .clsCoreImgContainer {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    #divSection3.clsSection.clsCoreSection3 {
        padding: 60px 20px 10px;
    }

    .clsCoreQuestion p {
        font-size: 16px;
    }

    .clsCoreAnswer h2 {
        font-size: 24px;
    }

    .clsCoreImgContainer {
        max-width: 500px;
    }

    .clsCoreButtonContainer .btn {
        font-size: 15px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    #divSection3.clsSection.clsCoreSection3 {
        padding: 50px 15px 70px;
    }

    .clsCoreQuestion p {
        font-size: 15px;
    }

    .clsCoreAnswer h2 {
        font-size: 22px;
    }

    .clsCoreImgContainer {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .clsCoreButtonContainer .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/*****************************************
 * 섹션4 스타일
 *****************************************/
#divSection4.clsSection.clsCoreSection4 {
    margin: 80px auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}

.clsCoreSection4Container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.clsCoreSection4ImageColumn {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clsCoreSection4Image {
    max-width: 100%;
    height: auto;
}

.clsCoreSection4TextColumn {
    flex: 0 0 60%;
}

.clsCoreSection4Header {
    margin-bottom: 25px;
}

.clsCoreSection4Question {
    font-size: 18px;
    color: #666;
    margin: 0 0 10px 0;
}

.clsCoreSection4Title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

    .clsCoreSection4Title .clsCoreHighlight {
        color: #4CD964;
        font-weight: 700;
    }

.clsCoreSection4Description p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* 섹션4의 반응형 스타일 */
@media screen and (max-width: 1024px) {
    .clsCoreSection4Container {
        gap: 40px;
    }

    .clsCoreSection4Title {
        font-size: 26px;
    }

    .clsCoreSection4Question {
        font-size: 17px;
    }

    .clsCoreSection4Description p {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    #divSection4.clsSection.clsCoreSection4 {
        margin: 60px auto;
        padding: 30px 20px;
    }

    .clsCoreSection4Container {
        flex-direction: column;
        gap: 30px;
    }

    .clsCoreSection4ImageColumn {
        flex: 0 0 100%;
        order: 0;
    }

    .clsCoreSection4TextColumn {
        flex: 0 0 100%;
        order: 1;
        text-align: center;
    }

    .clsCoreSection4Image {
        max-width: 70%;
    }

    .clsCoreSection4Title {
        font-size: 24px;
    }

    .clsCoreSection4Question {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    #divSection4.clsSection.clsCoreSection4 {
        margin: 50px auto;
        padding: 20px 15px;
    }

    .clsCoreSection4Image {
        max-width: 90%;
    }

    .clsCoreSection4Title {
        font-size: 22px;
    }

    .clsCoreSection4Question {
        font-size: 15px;
    }

    .clsCoreSection4Description p {
        font-size: 14px;
    }
}

/*****************************************
 * 섹션5 스타일
 *****************************************/
#divSection5.clsSection.clsCoreSection5 {
    background-color: #002514;
    padding: 80px 20px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.clsCoreSection5Container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clsCoreSection5Header {
    text-align: center;
    margin-bottom: 50px;
}

.clsCoreSection5SubTitle {
    font-size: 18px;
    color: #cccccc;
    margin: 0 0 15px 0;
}

.clsCoreSection5Title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

    .clsCoreSection5Title .clsCoreHighlight {
        color: #4CD964;
        font-weight: 700;
    }

.clsCoreSection5Content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.clsCoreSection5Image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* 섹션5의 반응형 스타일 */
@media screen and (max-width: 1024px) {
    #divSection5.clsSection.clsCoreSection5 {
        padding: 70px 20px;
    }

    .clsCoreSection5SubTitle {
        font-size: 17px;
    }

    .clsCoreSection5Title {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    #divSection5.clsSection.clsCoreSection5 {
        padding: 60px 20px;
    }

    .clsCoreSection5Header {
        margin-bottom: 40px;
    }

    .clsCoreSection5SubTitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .clsCoreSection5Title {
        font-size: 26px;
    }
}

@media screen and (max-width: 480px) {
    #divSection5.clsSection.clsCoreSection5 {
        padding: 50px 15px;
    }

    .clsCoreSection5Header {
        margin-bottom: 30px;
    }

    .clsCoreSection5SubTitle {
        font-size: 15px;
    }

    .clsCoreSection5Title {
        font-size: 24px;
    }

    .clsCoreSection5Image {
        border-radius: 6px;
    }
}

/*****************************************
 * 섹션6 스타일
 *****************************************/
#divSection6.clsSection.clsCoreSection6 {
    background-color: #f8f8f8;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

.clsCoreSection6Container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clsCoreSection6Header {
    text-align: center;
    margin-bottom: 50px;
}

.clsCoreSection6Title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

    .clsCoreSection6Title .clsCoreHighlight {
        color: #4CD964;
        font-weight: 700;
    }

.clsCoreVideoGrid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
}

.clsCoreVideoItem {
    width: calc(50% - 15px);
    max-width: 450px;
}

.clsCoreVideoThumbnail {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .clsCoreVideoThumbnail:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

        .clsCoreVideoThumbnail:hover .clsCorePlayButton svg circle {
            fill-opacity: 1;
        }

.clsCoreVideoImg {
    width: 100%;
    height: auto;
    display: block;
}

.clsCorePlayButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.clsCoreVideoTitle {
    font-size: 16px;
    color: #333;
    margin: 15px 0 0 0;
    text-align: center;
}

.clsCoreMoreButtonContainer {
    margin-top: 30px;
    text-align: center;
}

.clsCoreMoreButton {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

    .clsCoreMoreButton:hover {
        transform: translateY(-3px);
    }

.clsCoreMoreIcon {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

.clsCoreMoreButton span {
    font-size: 16px;
    color: #333;
}

/* 비디오 모달 스타일 */
.clsCoreVideoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
}

.clsCoreModalContent {
    background-color: white;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.clsCoreModalHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

    .clsCoreModalHeader h3 {
        font-size: 24px;
        color: #333;
        margin: 0;
    }

.clsCoreCloseModal {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .clsCoreCloseModal:hover {
        color: #4CD964;
    }

.clsCoreModalBody {
    padding: 10px 0;
}

.clsCoreModalVideoGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.clsCoreModalVideoItem {
    width: 100%;
}

/* 커스텀 비디오 플레이어 모달 수정 */
.clsCoreVideoPlayerModal {
    display: none; /* 초기에는 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
}

    /* 모달이 표시될 때 적용할 스타일 */
    .clsCoreVideoPlayerModal.active {
        display: flex !important; /* !important 추가하여 다른 스타일 덮어쓰기 */
        align-items: center !important;
        justify-content: center !important;
    }


.clsCoreVideoPlayerContainer {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.clsCoreCloseVideoPlayer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

    .clsCoreCloseVideoPlayer:hover {
        background-color: rgba(255, 255, 255, 0.2); /* Standardized hover */
    }

.clsCoreCustomVideoPlayer {
    position: relative;
    width: 100%;
}

.clsCoreVideoElement {
    width: 100%;
    display: block;
}

.clsCoreVideoControls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    opacity: 0; /* Initially hidden */
}

.clsCorePlayPauseBtn {
    width: 36px;
    height: 36px;
    background-color: rgba(76, 217, 100, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

    .clsCorePlayPauseBtn:hover {
        background-color: rgba(76, 217, 100, 1);
    }

.clsCorePauseIcon {
    display: none;
}

.clsCoreProgressBarContainer {
    flex: 1;
    margin: 0 15px;
}

.clsCoreProgressBar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.clsCoreProgress {
    height: 100%;
    background-color: #4CD964;
    border-radius: 3px;
    width: 0;
}

.clsCoreTimeDisplay {
    color: white;
    font-size: 14px;
    margin: 0 15px;
    min-width: 90px;
    text-align: center;
}

.clsCoreVolumeContainer {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.clsCoreVolumeBtn {
    cursor: pointer;
    margin-right: 10px;
}

.clsCoreVolumeSlider {
    width: 60px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.clsCoreVolumeProgress {
    height: 100%;
    background-color: #4CD964;
    border-radius: 3px;
    width: 100%;
}

.clsCoreFullscreenBtn {
    cursor: pointer;
}

/* 반응형 스타일 */
@media screen and (max-width: 1024px) {
    #divSection6.clsSection.clsCoreSection6 {
        padding: 70px 20px;
    }

    .clsCoreVideoGrid {
        gap: 20px;
    }

    .clsCoreVideoTitle {
        font-size: 15px;
    }

    .clsCoreModalVideoGrid {
        gap: 20px;
    }

    .clsCorePlayPauseBtn {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .clsCoreTimeDisplay {
        font-size: 13px;
        min-width: 80px;
    }

    .clsCoreVolumeSlider {
        width: 50px;
    }
}

@media screen and (max-width: 768px) {
    #divSection6.clsSection.clsCoreSection6 {
        padding: 60px 20px;
    }

    .clsCoreSection6Title {
        font-size: 24px;
    }

    .clsCoreVideoGrid {
        flex-direction: column;
        align-items: center;
    }

    .clsCoreVideoItem {
        width: 90%;
        max-width: 450px;
    }

    .clsCoreModalVideoGrid {
        grid-template-columns: 1fr;
    }

    .clsCoreModalHeader h3 {
        font-size: 20px;
    }

    .clsCorePlayPauseBtn {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .clsCoreTimeDisplay {
        font-size: 12px;
        min-width: 70px;
        margin: 0 8px;
    }

    .clsCoreVolumeContainer {
        margin-right: 8px;
    }

    .clsCoreVolumeSlider {
        width: 40px;
    }
}

@media screen and (max-width: 480px) {
    #divSection6.clsSection.clsCoreSection6 {
        padding: 50px 15px;
    }

    .clsCoreSection6Title {
        font-size: 22px;
    }

    .clsCoreVideoTitle {
        font-size: 14px;
    }

    .clsCoreMoreIcon {
        width: 30px;
    }

    .clsCoreMoreButton span {
        font-size: 14px;
    }

    .clsCoreModalContent {
        margin: 30px auto;
        padding: 15px;
    }

    .clsCorePlayPauseBtn {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }

    .clsCoreProgressBarContainer {
        margin: 0 8px;
    }

    .clsCoreTimeDisplay {
        font-size: 11px;
        min-width: 60px;
        margin: 0 6px;
    }

    .clsCoreVolumeContainer {
        display: none;
    }
}

