/* 데스크탑과 태블릿에서는 br 숨김 (한 줄) */
.mobile_br {
    display: none;
}

/* ===== 지노블 사람들 메인 섹션 ===== */
.people_main_section {
    position: relative;
    width: 100%;
    height: 580px; /* 데스크탑 기본 높이 */
    margin-top: 70px; /* top_banner 높이만큼 여백 - 기본값 */
    background-image: url('/theme/gnoble/images/about/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.people_main_container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.people_main_content {
    text-align: center;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.people_main_title {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.people_navigation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.people_nav_item {
    flex: 1;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(72, 67, 60, 0.8);
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.people_nav_item:last-child {
    border-right: none;
}

.people_nav_item span {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    display: block;
}

.people_nav_item.active span {
    color: #D4AF5F;
    font-weight: 600;
}

.people_nav_item:hover span {
    color: #D4AF5F;
}

.people_nav_item:hover {
    background: rgba(72, 67, 60, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.people_nav_item:focus {
    outline: 2px solid #D4AF5F;
    outline-offset: 2px;
}

.people_nav_item:active {
    transform: translateY(0);
}

/* ===== 반응형 디자인 ===== */

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .people_main_section {
        height: 580px;
        margin-top: 70px; /* 데스크탑 top_banner 높이 */
    }
    
    .people_main_title {
        font-size: 40px; /* 데스크탑 */
        margin-bottom: 60px;
    }
    
    .people_navigation {
        max-width: 1200px;
    }
    
    .people_nav_item {
        padding: 20px 0;
    }
    
    .people_nav_item span {
        font-size: 18px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .people_main_section {
        height: 520px; /* 태블릿 중간값 */
        margin-top: 60px; /* 태블릿 top_banner 높이 */
    }
    
    .people_main_title {
        font-size: 35px; /* 태블릿 중간값 */
        margin-bottom: 50px;
    }
    
    .people_navigation {
        max-width: 100%;
    }
    
    .people_nav_item {
        padding: 18px 0;
    }
    
    .people_nav_item span {
        font-size: 16px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .people_main_section {
        height: 480px; /* 모바일 중간값 */
        margin-top: 55px; /* 모바일 top_banner 높이 */
    }
    
    .people_main_container {
        padding: 0 15px;
    }
    
    .people_main_title {
        font-size: 32px; /* 모바일 중간값 */
        margin-bottom: 40px;
    }
    
    .people_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
    }
    
    .people_nav_item {
        padding: 15px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .people_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .people_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .people_nav_item span {
        font-size: 15px; /* 모바일 중간값 */
    }
    
    /* 모바일에서는 br 표시 (두 줄) */
    .mobile_br {
        display: block;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .people_main_section {
        height: 435px; /* 작은 모바일 */
        margin-top: 55px; /* 작은 모바일 top_banner 높이 */
    }
    
    .people_main_container {
        max-width: 100% !important;
        padding: 0 15px;
    }
    
    .people_main_title {
        font-size: 30px; /* 작은 모바일 */
        margin-bottom: 35px;
    }
    
    .people_navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
    }
    
    .people_nav_item {
        padding: 12px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .people_nav_item:nth-child(2n) {
        border-right: none;
    }
    
    .people_nav_item:nth-child(n+3) {
        border-bottom: none;
    }
    
    .people_nav_item span {
        font-size: 13px; /* 작은 모바일 */
    }
    
    /* 작은 모바일에서도 br 표시 (두 줄) */
    .mobile_br {
        display: block;
    }
}

/* ===== 사람들 타이틀 섹션 ===== */
.people_title_section {
    background-color: #FFFFFF;
    padding: 100px 0 40px 0; /* 데스크탑 기본값 */
}

.people_title_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.people_title {
    font-size: 40px; /* 데스크탑 기본값 */
    font-weight: 700;
    color: #333333;
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .people_title_section {
        padding: 100px 0 40px 0; /* 데스크탑 */
    }
    
    .people_title {
        font-size: 40px; /* 데스크탑 */
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .people_title_section {
        padding: 87px 0 35px 0; /* 태블릿 중간값 */
    }
    
    .people_title {
        font-size: 35px; /* 태블릿 중간값 */
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .people_title_section {
        padding: 81px 0 32px 0; /* 모바일 중간값 */
    }
    
    .people_title_container {
        padding: 0 15px;
    }
    
    .people_title {
        font-size: 32px; /* 모바일 중간값 */
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .people_title_section {
        padding: 75px 0 30px 0; /* 작은 모바일 */
    }
    
    .people_title_container {
        max-width: 100% !important;
        padding: 0 15px;
    }
    
    .people_title {
        font-size: 30px; /* 작은 모바일 */
    }
}

/* ===== 사람들 섹션1 ===== */
.people_section1 {
    background-color: #FFFFFF;
    padding: 0 0 100px 0; /* 데스크탑 기본값 - 상단 0, 하단 100 */
}

.people_section1_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.people_section1_content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 대표 소개 섹션 */
.people_intro_section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.people_intro_image {
    flex: 0 0 auto;
    text-align: center;
}

.people_intro_image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.people_intro_name {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.people_name_text {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

.people_title_text {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

/* 대표 소개 텍스트 */
.people_intro_text {
    flex: 1;
    text-align: left;
}

.people_intro_text p {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.people_intro_text p:last-child {
    margin-bottom: 0;
}

/* 텍스트 파트 구분 */
.people_text_part1 {
    margin-bottom: 40px;
    font-weight: 700;
}

.people_text_part2 {
    margin-top: 40px;
}

.people_text_part2 p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.people_text_part2 p:last-child {
    margin-bottom: 0;
}

/* 하이라이트 텍스트 (배경 없음) */
.people_highlight_text {
    margin: 40px 0;
    text-align: left;
}

.people_highlight_text .people_highlight_title {
    font-family: 'Noto Serif KR', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* 미디어 출연 이미지 그리드 */
.people_media_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.people_media_item {
    text-align: center;
}

.people_media_image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 270/222;
}

.people_media_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.people_media_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.people_overlay_text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: 2px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.people_media_caption {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
    text-align: center;
}

/* 1. 데스크탑 (1200px 이상) - 기본 스타일 */
@media (min-width: 1200px) {
    .people_section1 {
        padding: 0 0 100px 0; /* 데스크탑 - 상단 0, 하단 100 */
    }
    
    .people_section1_content {
        gap: 80px;
    }
    
    .people_intro_section {
        gap: 60px;
    }
    
    .people_intro_image img {
        max-width: 500px;
    }
    
    .people_name_text {
        font-size: 40px;
    }
    
    .people_title_text {
        font-size: 30px;
    }
    
    .people_intro_text p {
        font-family: 'Noto Serif KR', serif;
        font-size: 20px;
    }
    
    .people_highlight_text .people_highlight_title {
        font-size: 40px !important;
        font-weight: 700 !important;
    }
    
    .people_media_grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .people_media_caption {
        font-size: 16px;
    }
    
    .people_text_part1 {
        margin-bottom: 50px;
        font-size: 18px;
        font-weight: 700;
    }
    
    .people_text_part2 {
        margin-top: 50px;
    }
    
    .people_text_part2 p {
        font-size: 18px !important;
    }
}

/* 2. 태블릿 (768px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .people_section1 {
        padding: 0 0 80px 0; /* 태블릿 중간값 - 상단 0, 하단 80 */
    }
    
    .people_section1_content {
        gap: 60px;
    }
    
    .people_intro_section {
        gap: 40px;
    }
    
    .people_intro_image img {
        max-width: 400px;
    }
    
    .people_name_text {
        font-size: 35px;
    }
    
    .people_title_text {
        font-size: 26px;
    }
    
    .people_intro_text p {
        font-family: 'Noto Serif KR', serif;
        font-size: 18px;
    }
    
    .people_highlight_text .people_highlight_title {
        font-size: 35px !important;
        font-weight: 700 !important;
    }
    
    .people_media_grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .people_media_caption {
        font-size: 15px;
    }
    
    .people_text_part1 {
        margin-bottom: 40px;
        font-size: 16px;
        font-weight: 700;
    }
    
    .people_text_part2 {
        margin-top: 40px;
    }
    
    .people_text_part2 p {
        font-size: 16px !important;
    }
}

/* 3. 모바일 (480px ~ 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .people_section1 {
        padding: 0 0 60px 0; /* 모바일 중간값 - 상단 0, 하단 60 */
    }
    
    .people_section1_container {
        padding: 0 15px;
    }
    
    .people_section1_content {
        gap: 40px;
    }
    
    .people_intro_section {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .people_intro_image img {
        max-width: 350px;
    }
    
    .people_name_text {
        font-size: 32px;
    }
    
    .people_title_text {
        font-size: 24px;
    }
    
    .people_intro_text {
        text-align: left;
    }
    
    .people_intro_text p {
        font-family: 'Noto Serif KR', serif;
        font-size: 16px;
    }
    
    .people_highlight_text {
        text-align: left;
    }
    
    .people_highlight_text .people_highlight_title {
        font-size: 32px !important;
        font-weight: 700 !important;
    }
    
    .people_media_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .people_media_caption {
        font-size: 14px;
    }
    
    .people_text_part1 {
        margin-bottom: 35px;
        font-size: 15px;
        font-weight: 700;
    }
    
    .people_text_part2 {
        margin-top: 35px;
    }
    
    .people_text_part2 p {
        font-size: 15px !important;
    }
}

/* 4. 작은 모바일 (480px 이하) */
@media (max-width: 479px) {
    .people_section1 {
        padding: 0 0 50px 0; /* 작은 모바일 - 상단 0, 하단 50 */
    }
    
    .people_section1_container {
        max-width: 100% !important;
        padding: 0 10px;
    }
    
    .people_section1_content {
        gap: 30px;
    }
    
    .people_intro_section {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .people_intro_image img {
        max-width: 280px;
    }
    
    .people_name_text {
        font-size: 30px;
    }
    
    .people_title_text {
        font-size: 22px;
    }
    
    .people_intro_text {
        text-align: left;
    }
    
    .people_intro_text p {
        font-family: 'Noto Serif KR', serif;
        font-size: 14px;
    }
    
    .people_highlight_text {
        text-align: left;
    }
    
    .people_highlight_text .people_highlight_title {
        font-size: 29px !important;
        font-weight: 700 !important;
    }
    
    .people_media_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .people_media_caption {
        font-size: 13px;
    }
    
    .people_text_part1 {
        margin-bottom: 30px;
        font-size: 13px;
        font-weight: 700;
    }
    
    .people_text_part2 {
        margin-top: 30px;
    }
    
    .people_text_part2 p {
        font-size: 13px !important;
    }
}
