/*
Theme Name: kmufd
Author: 42mxm
Description: kookminuniv fashiondesign
Version: 1.0.0
*/
:root {
    --content-margin-top: 150px;
    --content-margin-side: 40px;
    --content-margin-bottom: 50px;
    --content-margin-top-mobile: 120px;
    --content-margin-side-mobile: 20px;
    --main-font-size: 18px;
    --main-font-size-mobile: 14px;
}

/* 폰트 설정 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 기본 스타일 초기화 */
body, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 기본 텍스트 설정 */
a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: var(--point-color);
    transition: background-color 1s ease;
    font-family: "pretendard", sans-serif;
    font-weight: 550;
    font-style: normal;
    margin-right: 0;
    overflow-x: hidden;
    font-size: 18px;  /* 기본 폰트 크기 설정 */
}

@media screen and (max-width: 930px) {
    body {
        font-size: 14px;
    }
}

/* 컨텐츠 영역 기본 폰트 크기 */
.content {
    font-size: 16px;
    line-height: 1.5;
}

.container{
    max-width: 1800px;
    margin: 0 auto;  
    margin-bottom: var(--content-margin-bottom);
}

/* 컨테이너 기본 스타일 */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in-out;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    z-index: 1000;
}

/* 메뉴 공통 스타일 */
.menu-left, .menu-right {
    display: flex;
    font-weight: 700;
}

.menu-right > li {
    margin-right: 8px;
}

.menu-left li {
    margin: 0 5px;
}

/* 좌측 메뉴 스타일 */
.menu-left li a {
    line-height: 1.3;
    font-size: 14px;
    padding: 0 3px;
    text-align: left;
    display: block;
}

/* 우측 메뉴 스타일 */
.menu-right li a {
    font-size: 15px;
    padding: 5px;
}

/* 하이라이트 링크 효과 */
.highlight-link {
    position: relative;
    color: black;
    font-size: 18px;
    padding: 2px;
}

.highlight-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.5s ease;
}

.highlight-link:hover::before {
    width: 100%;
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown-content,
.nested-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 100%;
    z-index: 1001;
}

.dropdown-content {
    top: 100%;
    left: 0;
}

.nested-dropdown-content {
    left: 100%;
    top: 80%;
}

.dropdown:hover > .dropdown-content,
.nested-dropdown:hover > .nested-dropdown-content {
    display: block;
}

/* 드롭다운 링크 스타일 */
.dropdown-content li,
.nested-dropdown-content li {
    margin-right: 0;
}

.dropdown-content a,
.nested-dropdown-content a {
    position: relative;
    padding: 12px 16px;
    display: block;
    white-space: nowrap;
    color: black;
}

.dropdown-content a::before,
.nested-dropdown-content a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.5s ease;
}

.dropdown-content a:hover::before,
.nested-dropdown-content a:hover::before {
    width: 100%;
}

/* 섹션 스타일 */
.section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-text {
    position: absolute;
    top: 100px;
    left: 15px;
    font-size: 100px;
    line-height: 0;
    letter-spacing: -0.05em;
    opacity: 0;
    transform: translateX(-150px);
    transition: transform 1s ease, opacity 2s ease;
}

.section-text.visible {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 930px) {
    .section-text {
        top: 75px; 
        left: 9px;
        font-size: 60px;
    }
}

/* 이미지 컨테이너 스타일 */
.image-container {
    position: absolute;
    left: 10%;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    gap: 10px;
    width: auto;
    height: 50%;
    top: 25%;
    transform: translateY(-50%);
}

.image-container:hover {
    animation-play-state: paused;  /* 호버시 애니메이션 일시정지 */
}

.image-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.image-box {
    flex: 0 0 50%;
    height: 100%;
    background-color: #cce5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.image-box img {
    height: 100%;
}

/* 푸터 스타일 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding-bottom: 2px;
    width: 100%;
    background-color: #f1f1f1;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 991000;
}

.footer-menu-left,
.footer-menu-right {
    display: flex;
}

.footer-menu-left li,
.footer-menu-right li {
    margin-right: 10px;
}

.footer-menu-left li a,
.footer-menu-right li a {
    font-size: 12px;
    padding: 0 5px;
}

/* 스크롤바 스타일링 */
html {
    overflow-y: scroll;  /* 항상 스크롤바 표시 */
}

/* 웹킷 기반 브라우저(Chrome, Safari 등)의 스크롤바 스타일링 */
::-webkit-scrollbar {
    width: 10px;  /* 스크롤바 너비 */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;  /* 스크롤바 트랙 배경색 */
}

::-webkit-scrollbar-thumb {
    background: #888;  /* 스크롤바 색상 */
    border-radius: 5px;  /* 스크롤바 모서리 둥글게 */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;  /* 스크롤바 호버 시 색상 */
}

/* Firefox의 스크롤바 스타일링 */
* {
    scrollbar-width: thin;  /* 스크롤바 너비 */
    scrollbar-color: #888 #f1f1f1;  /* 스크롤바 색상 (thumb track) */
}

/* 모바일 메뉴 버튼 기본 스타일 */
.mobile-menu-button {
    display: none;  /* 기본적으로 숨김 */
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    color: black;
}

/* 모바일 환경 스타일 */
@media screen and (max-width: 930px) {
    /* 모바일 메뉴 버튼 표시 */
    .mobile-menu-button {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* 기존 메뉴 숨기기 */
    .menu-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 10px 0;
    }

    /* 모바일에서 메뉴 표시 방식 변경 */
    .menu-right.active {
        display: block;
    }

    /* 모바일에서 메뉴 아이템 스타일 조정 */
    .menu-right li {
        display: block;
        margin: 0;
        padding: 0;
    }

    .menu-right li a {
        padding: 12px 20px;
        display: block;
    }

    /* 드롭다운 메뉴 스타일 수정 */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }

    .nested-dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }

    /* 모바일에서 드롭다운 표시 방식 */
    .dropdown-content,
    .nested-dropdown-content {
        display: none;
    }

    .dropdown.active > .dropdown-content,
    .nested-dropdown.active > .nested-dropdown-content {
        display: block;
    }

    /* 모바일 환경에서 Footer 숨기기 */
    .footer {
        display: none;
    }
}

/* 고정 페이지 제목 스타일 */
.fixed-page-title {
    position: absolute;
    left: 40px;
    top: 80px;
    font-weight: 700;
    font-size: 18px;
    z-index: 100;
}

@media screen and (max-width: 930px) {
    .fixed-page-title {
        left: 20px;
        font-size: var(--main-font-size-mobile);
    }
}

/* Contact 페이지 레이아웃 */
.contact-layout {
    display: flex;
    gap: 20px;
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    margin-top: var(--content-margin-top);
    min-height: calc(100vh - 200px);
}

.map-section {
    flex: 2;  /* 2/3 비율 차지 */
    min-height: 500px;
}

.content-section {
    flex: 1;  /* 1/3 비율 차지 */
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .contact-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }

    .map-section {
        width: 100%;
        min-height: 450px;
    }

    .content-section {
        width: 100%;
    }
}

/* 기존 contact-content 스타일 수정 */
.contact-content {
    height: 100%;
    overflow-y: auto;
}

/* 모든 p 태그의 기본 행간 설정 */
p {
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

/* Contact 페이지 내용의 p 태그 스타일은 기존 설정 유지 */
.content-section p {
    margin: 0;
    padding: 0;
}

/* After KMU 페이지 전용 스타일 */
.section-afterkmu {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

.afterkmu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.afterkmu-item {
    width: 100%;
}

.afterkmu-thumbnail {
    width: 100%;
    overflow: hidden;
}

.afterkmu-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.afterkmu-thumbnail:hover img {
    transform: scale(1.05);
}

.afterkmu-content {
    margin-top: 3px;
}

/* 모바일 반응형 - 930px 이하에서 2열로 고정 */
@media screen and (max-width: 930px) {
    .section-afterkmu {
        margin-top: 120px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .afterkmu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0px;
    }
}

/* 학과소개 페이지 레이아웃 */
.intro-layout {
    display: flex;
    gap: 20px;
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    line-height: 1.6;
}

.intro-left,
.intro-right {
    flex: 1;
}

.intro-content {
    height: 100%;
    width: 90%;
    word-break: keep-all;
}

.history-content a {
    text-decoration: underline;
}

/* 모든 p 태그에 동일한 line-height와 word-break 적용 */
.intro-left p,
.intro-right p {
    line-height: 1.5;
}

/* 모바일 레이아웃은 그대로 유지 */
@media screen and (max-width: 930px) {
    .intro-layout {
        flex-direction: column;
        padding: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .intro-left,
    .intro-right {
        width: 100%;
    }

    .intro-content {
        height: 100%;
        width: 100%;
    }
}

/* 학과연혁 페이지 레이아웃 */
.history-layout {
    display: flex;
    gap: 20px;
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

.history-left,
.history-right {
    flex: 1;
}

.history-title {
    position: relative;  /* 추가: absolute 포지셔닝의 기준점 */
    text-decoration: underline;
    margin-bottom: 30px;
    font-size: var(--main-font-size);
}

.toggle-arrow {
    display: inline-block;
    position: absolute;
    right: 20px;
}

.history-content {
    height: 100%;
}

.history-content table td,
.history-content table th {
    vertical-align: top;  /* 위쪽 정렬 */
    padding: 5px 0;  /* 위아래 간격 5px */
}

.history-left p,
.history-right p {
    line-height: 1.5;
    word-break: keep-all;
    word-wrap: break-word;
}

/* 폰트 상속 안될경우 */
.history-content p,
.history-content p span,
.history-content span {
    font-family: inherit !important;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .history-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }

    .history-left,
    .history-right {
        width: 100%;
    }

    .toggle-arrow {
        display: inline-block;  /* 모바일에서만 화살표 표시 */
        position: absolute;
        right: 20px;
    }
    
    .history-content table td,
    .history-content table th {
        vertical-align: top;  /* 위쪽 정렬 */
        padding: 3px 0;  /* 위아래 간격 5px */
    }

    .history-title {
        font-size: var(--main-font-size-mobile);
    }
}

/* 학부 페이지 레이아웃 */
.department-layout {
    margin-top: 120px;
    margin-left: 40px;
    margin-right: 40px;
}

.department-title {
    text-decoration: underline;
    margin-bottom: 30px;
    font-size: 18px;
    position: relative;
    cursor: pointer;
}

.toggle-arrow {
    position: absolute;
    right: 0;
}

.department-content {
    display: none;  /* 초기 상태는 숨김 */
    margin-bottom: 60px;
}

.department-content p {
    line-height: 1.5;
    word-break: keep-all;
    word-wrap: break-word;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .department-layout {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* 학부 교육과정 레이아웃 */
.curriculum-layout {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

@media screen and (max-width: 930px) {
    .curriculum-layout {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.curriculum-module {
    display: flex;
    flex-direction: column;  /* 세로 방향으로 변경 */
    margin-bottom: 40px;
}

.year-column {
    width: 100%;
}

.semester-column {
    width: 100%;
    display: flex;
    flex-direction: row;  /* 가로 방향으로 변경 */
}

.content-column {
    width: 100%;
    display: flex;
    flex-direction: row;  /* 가로 방향으로 변경 */
}

.year-cell {
    text-align: left;  /* 중앙정렬에서 왼쪽정렬로 변경 */
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 10px 0;
    margin: 0 5px;
}

.semester-cell {
    flex: 1;
    text-align: left;  /* 중앙정렬에서 왼쪽정렬로 변경 */
    margin: 0px 5px 0px 20px;
    border-bottom: 2px solid #000;
    padding: 10px 0px 10px 0px;
}

.content-cell {
    flex: 1;
}

.curriculum-title {
    font-size: var(--main-font-size);
    position: relative;
    cursor: pointer;
    padding: 5px 0px 5px 20px;
}

@media screen and (max-width: 930px) {
    .curriculum-title {
        font-size: var(--main-font-size-mobile);
    }
}

.curriculum-arrow {
    position: absolute;
    right: 5px;
    display: inline-block;  /* 항상 표시 */
}

.toggle-arrow {
    display: none;  /* 모바일에서만 표시 */
}

.curriculum-content {
    display: none;
    padding: 0px 30px;
}

.curriculum-content p {
    line-height: 1.5;
    word-break: keep-all;
    word-wrap: break-word;
    color: #6b6b6b;
}

/* 페이드인 애니메이션 정의 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* container 클래스에 애니메이션 적용 */
.container {
    animation: fadeIn 0.8s ease-in-out;
}

/* 홈페이지 배경색 */
.home-page {
    background-color: var(--point-color);  /* 기존 배경색 유지 */
    transition: background-color 1s ease;
}

/* 서브페이지 배경색 */
.sub-page {
    background-color: var(--main-color);  /* 또는 원하는 다른 색상 */
    transition: background-color 1s ease;
}

/* 일반대학원 페이지 레이아웃 */
.graduate-layout {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    display: flex;
    gap: 40px;
}

.graduate-left,
.graduate-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.graduate-section-top {
    flex: 2;  /* 상단 영역이 더 큰 비중 차지 */
}

.graduate-section-bottom {
    flex: 1;  /* 하단 영역이 더 작은 비중 차지 */
}

.graduate-content {
    width: 100%;
    line-height: 1.6;
    word-break: keep-all;
}

.graduate-content a {
    text-decoration: underline;
}

.graduate-content p {
    padding: 10px 0px;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .graduate-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 30px;
    }

    .graduate-left,
    .graduate-right {
        gap: 20px;
    }
}

/* 테이블 스타일 */
.graduate-content table {
    width: 100%;
    border-collapse: collapse;
}

.graduate-content table tr {
    border: none;  /* 모든 테두리 제거 */
    border-bottom: 1.5px solid #000;  /* 가로선만 추가 */
}

.graduate-content table td,
.graduate-content table th {
    padding: 10px;
    border: none;
    vertical-align: top;  /* 셀 내용 위쪽 정렬 */
}

/* Work 아카이브 페이지 레이아웃 */
.work-layout {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    display: flex;
    gap: 60px;
    height: 100vh;
}

/* 왼쪽 이미지 그리드 */
.work-images {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.work-images-scroll {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow-y: auto;
    align-content: start;
    grid-auto-rows: min-content;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}

.work-images-scroll::-webkit-scrollbar {
    display: none;
}

.work-image-item {
    width: 100%;
    overflow: hidden;
    height: fit-content;
}

.work-image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.work-image-item:hover img {
    transform: scale(1.05);
}

/* 오른쪽 제목 리스트 */
.work-info {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}

.work-info::-webkit-scrollbar {
    display: none;
}

.work-info-item:first-child {
    padding-top: 10px;
    border-top: 2px solid #000000;
}

.work-info-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
}

.work-title {
    position: relative;
    color: black;
    display: inline-block;
    font-weight: 700;
}

.work-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.5s ease;
}

/* 호버 효과 추가 */
.work-title:hover::before {
    width: 100%;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .work-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 40px;
        height: auto;  /* 자동 높이로 변경 */
    }

    .work-images {
        height: 60vh;  /* 이미지 영역 높이 */
    }

    .work-images-scroll {
        grid-template-columns: repeat(2, 1fr);  /* 모바일에서 2단 그리드 */
    }

    .work-title {
        font-size: var(--main-font-size-mobile);
    }
}

/* Work 단일 포스트 페이지 레이아웃 */
.work-single-layout {
    margin-top: 120px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    gap: 60px;
}

/* 왼쪽 텍스트 영역 */
.work-single-text {
    flex: 2;  /* 2/5 비율 */
}

.work-single-year {
    color: #666;
    margin-bottom: 10px;
}

.work-single-title {
    font-size: var(--main-font-size);
    margin-bottom: 40px;
    text-decoration: underline;
    font-weight: 700;
}

.work-single-content {
    line-height: 1.6;
    margin-top: 40px;
}

/* 테이블 셀 위쪽 정렬 추가 */
.work-single-content table td,
.work-single-content table th {
    vertical-align: top;  /* 셀 내용 위쪽 정렬 */
}

@media screen and (max-width: 930px) {
    .work-single-title {
        font-size: var(--main-font-size-mobile);
        margin-bottom: 10px;
    }
    .work-single-content{
        margin-top: 10px;
    }
    .work-single-layout{
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 40px;
    }
}

/* 오른쪽 이미지 영역 */
.work-single-images {
    flex: 3;
    position: relative;
    width: 100%;
    overflow: hidden; /* 슬라이더가 넘어가는 부분 숨김 */
}

.work-slider-container {
    display: flex;
    transition: transform 0.3s ease;
    height: 80%;
    width: 100%;
}

.work-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
}

.work-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 슬라이드 네비게이션 버튼 */
.work-slide-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #000;
    z-index: 10;
    font-family: inherit;
}

.work-prev-slide {
    left: 20px;
}

.work-next-slide {
    right: 20px;
}

/* 모달 스타일 */
.work-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
}

.work-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    overflow: hidden; /* 슬라이더가 넘어가는 부분 숨김 */
}

.work-modal-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.work-modal-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-modal-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 모달 네비게이션 버튼 */
.work-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color:black;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    font-family: inherit;
}

.work-modal-prev {
    left: 20px;
}

.work-modal-next {
    right: 20px;
}

.work-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: black;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    font-family: inherit;
}

/* 슬라이드 이미지 커서 스타일 */
.work-slide-image {
    cursor: pointer;
}

/* Award Winner 아카이브 페이지 레이아웃 */
.awardwinner-layout {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    display: flex;
    gap: 60px;
    height: 100vh;
}

/* 왼쪽 이미지 그리드 - 3단에서 2단으로 변경 */
.awardwinner-images {
    flex: 1;
    display: flex;  /* 내부 scroll 영역을 세로로 쌓기 위함 */
    flex-direction: column;
}

.awardwinner-images-scroll {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-y: auto;
    align-content: start;
    grid-auto-rows: min-content; /* <-- 핵심 */
    /* 스크롤 동작은 유지하면서 스크롤바는 숨김 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}

.awardwinner-images-scroll::-webkit-scrollbar {
    display: none;
}

.awardwinner-image-item {
    width: 100%;
    overflow: hidden;
    height: fit-content;
}

.awardwinner-image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.awardwinner-image-item:hover img {
    transform: scale(1.05);
}

/* 오른쪽 제목 리스트 */
.awardwinner-info {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}

.awardwinner-info::-webkit-scrollbar {
    display: none;
}

.awardwinner-info-item:first-child {
    padding-top: 10px;
    border-top: 2px solid #000000;
}

.awardwinner-info-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
}

.awardwinner-info-item > * {
    align-self: flex-start;
}

.awardwinner-year {
    color: #000000;
}

.awardwinner-field {
    color: #000000;
    white-space: nowrap;  /* 줄바꿈 방지 */
    width: fit-content;  /* 내용 길이만큼만 너비 설정 */
}

.awardwinner-title {
    position: relative;
    color: black;
    display: inline-block;
    font-weight: 700;
}

.awardwinner-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.5s ease;
}

/* 호버 효과 추가 */
.awardwinner-title:hover::before {
    width: 100%;
}

/* Award Winner 단일 포스트 페이지 레이아웃 */
.awardwinner-single-layout {
    margin-top: 120px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    gap: 60px;
}

/* 왼쪽 텍스트 영역 */
.awardwinner-single-text {
    flex: 2;
}

.awardwinner-single-year {
    color: #666;
    margin-bottom: 10px;
}

.awardwinner-single-title {
    font-size: var(--main-font-size);
    margin-bottom: 40px;
    text-decoration: underline;
    font-weight: 700;
}

@media screen and (max-width: 930px) {
    .awardwinner-single-title {
        font-size: var(--main-font-size-mobile);
    }
}

.awardwinner-single-content {
    line-height: 1.6;
}

.awardwinner-single-content table td,
.awardwinner-single-content table th {
    vertical-align: top;
}

/* 오른쪽 이미지 영역 */
.awardwinner-single-images {
    flex: 3;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.awardwinner-slider-container {
    display: flex;
    transition: transform 0.3s ease;
    height: 80%;
    width: 100%;
}

.awardwinner-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
}

.awardwinner-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.awardwinner-slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .awardwinner-single-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 40px;
    }
}

/* 모달 스타일 */
.awardwinner-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);  /* 배경색 변경 */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.awardwinner-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.awardwinner-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    overflow: hidden;
}

.awardwinner-modal-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.awardwinner-modal-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.awardwinner-modal-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 모달 네비게이션 버튼 */
.awardwinner-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    font-family: inherit;
}

.awardwinner-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: black;
    font-size: 30px;
    cursor: pointer;
}

/* 모바일 레이아웃 */
@media screen and (max-width: 930px) {
    .awardwinner-layout {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 40px;
        height: auto;  /* 자동 높이로 변경 */
    }

    .awardwinner-images {
        height: 60vh;  /* 이미지 영역 높이 */
    }

    .awardwinner-info {
        height: 40vh;  /* 정보 영역 높이 */
    }

    .awardwinner-images-scroll {
        grid-template-columns: repeat(2, 1fr);  /* 모바일에서 2단 그리드 */
    }
}

/* Award Winner 슬라이더 네비게이션 버튼 */
.awardwinner-slide-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    background: none;
    border: none;
    color:black;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    font-family: inherit;
}

.awardwinner-prev-slide {
    left: 20px;
}

.awardwinner-next-slide {
    right: 20px;
}

/* Award Winner 모달 네비게이션 버튼 */
.awardwinner-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.awardwinner-modal-prev {
    left: 20px;
}

.awardwinner-modal-next {
    right: 20px;
}

.awardwinner-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: black;   
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

/* Interview 아카이브 페이지 스타일 */
.interview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2단 그리드 */
    gap: 20px;
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

.interview-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.interview-thumbnail {
    display: block;
    overflow: hidden;  /* 이미지가 커질 때 넘치는 부분 숨김 */
}

.interview-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;  /* 부드러운 확대 효과를 위한 트랜지션 */
}

.interview-thumbnail:hover img {
    transform: scale(1.05);  /* 호버 시 5% 확대 */
}

.interview-title {
    font-size: var(--main-font-size);
    color: black;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 930px) {
    .interview-title {
        font-size: var(--main-font-size-mobile);
    }
}

.interview-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.interview-title:hover::before {
    width: 100%;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .interview-grid {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
        gap: 30px;
    }
}

/* Interview 단일 페이지 스타일 */
.interview-single-layout {
    margin-top: var(--content-margin-top);
    margin-left: 120px;
    margin-right: 120px;
}

.interview-single-title {
    font-size: var(--main-font-size);
    margin-bottom: 40px;
}

@media screen and (max-width: 930px) {
    .interview-single-title {
        font-size: var(--main-font-size-mobile);
    }
}

.interview-single-content {
    line-height: 1.8;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 100px;
}

.interview-single-content img {
    max-height: 800px;
    width: auto;
    display: block;
    margin: 20px auto;
}

.interview-single-content p {
    line-height: 1.6;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .interview-single-layout {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* Show Year 아카이브 페이지 레이아웃 */
.show-year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3단 그리드 */
    gap: 20px;
    margin-top: var(--content-margin-top);
    max-width: 1300px;
    margin: var(--content-margin-top) auto 50px auto;
    padding-left: var(--content-margin-side);
    padding-right: var(--content-margin-side);
}

.show-year-item {
    display: flex;
    flex-direction: column;
    align-items: center;  /* 가운데 정렬 */
    gap: 5px;
}

.show-year-thumbnail {
    width: 100%;
    overflow: hidden;
    display: block;
}

.show-year-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.show-year-thumbnail:hover img {
    transform: scale(1.05);
}

.show-year-year {
    font-size: var(--main-font-size);
    color: black;
    text-decoration: none;
    text-align: center;
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 930px) {
    .show-year-year {
        font-size: var(--main-font-size-mobile);
    }
}

.show-year-year::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.show-year-year:hover::before {
    width: 100%;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .show-year-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2단으로 변경 */
        margin-left: 20px;
        margin-right: 20px;
        gap: 20px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Show Year Single 페이지 레이아웃 */
.show-year-single-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);  /* 6단 그리드 */
    gap: 10px;
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
    margin-bottom: 140px;
}

.show-year-single-item {
    display: flex;
    flex-direction: column;
    align-items: center;  /* 가운데 정렬 */
    gap: 5px;
}

.show-year-single-thumbnail {
    width: 100%;
    overflow: hidden;
    display: block;
}

.show-year-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.show-year-single-thumbnail:hover img {
    transform: scale(1.05);
}

.show-year-single-title {
    font-size: var(--main-font-size);
    color: black;
    text-decoration: none;
    text-align: center;
    position: relative;
    display: inline-block;
}

.show-year-single-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--point-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.show-year-single-title:hover::before {
    width: 100%;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .show-year-single-grid {
        grid-template-columns: repeat(3, 1fr);  /* 2단으로 변경 */
        margin-left: 20px;
        margin-right: 20px;
        gap: 5px;
    }

    .show-year-single-title {
        font-size: var(--main-font-size-mobile);  /* 모바일에서 폰트 사이즈 변경 */
    }
}

/* Show Year Single 하단 고정 텍스트 */
.show-year-single-fixed-text {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background-color: var(--point-color);
    padding: 10px 20px 100px 20px;
    z-index: 1000;
    transform: translateY(+85vh);
    transition: transform 0.3s ease;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.show-year-single-fixed-text::-webkit-scrollbar {
    display: none;
}

.show-year-single-fixed-text.active {
    transform: translateY(0px);
}

.show-year-single-fixed-text-inner::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

.show-year-single-fixed-text-inner h1 {
    font-size: var(--main-font-size);
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
}

@media screen and (max-width: 930px) {
    .show-year-single-fixed-text {
        transform: translateY(+90vh);
    }
}

/* 토글 버튼 */
.show-year-single-fixed-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
}

/* 스크롤바 스타일링은 동일 */

/* Single Show People 레이아웃 */
.single-show-people-layout {
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

/* 슬라이더 스타일 */
.single-show-people-images {
    position: relative;
    height: 70vh;
    margin-bottom: 10px;
    overflow: hidden;
}

.single-show-people-slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.single-show-people-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
}

.single-show-people-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.single-show-people-slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 슬라이더 네비게이션 */
.single-show-people-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    font-family: inherit;
    cursor: pointer;
    padding: 30px;
    color: #000;
}

.single-show-people-prev-slide {
    left: 20px;
}

.single-show-people-next-slide {
    right: 20px;
}

/* 모달 스타일 */
.single-show-people-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.single-show-people-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.single-show-people-modal-slider {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.single-show-people-modal-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-show-people-modal-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 모달 네비게이션 */
.single-show-people-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: black;
    cursor: pointer;
    font-family: inherit;
    padding: 30px;
}

.single-show-people-modal-prev {
    left: 20px;
}

.single-show-people-modal-next {
    right: 20px;
}

.single-show-people-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: black;
    cursor: pointer;
}

/* 텍스트 콘텐츠 */
.single-show-people-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .single-show-people-layout {
        margin-left: 20px;
        margin-right: 20px;
    }

    .single-show-people-images {
        margin-bottom: 40px;
    }
}

.show-year-single-fixed-toggle-external {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding-bottom: 35px;
    padding-top: 10px;
    background-color: var(--point-color);
    border: none;
    font-size: var(--main-font-size);
    cursor: pointer;
    color: black;
    font-family: inherit;
    font-weight: 700;
    z-index: 99999;
}

@media screen and (max-width: 930px) {
    .show-year-single-fixed-toggle-external {
        bottom: 0px;
        padding-bottom: 10px;
        padding-top: 10px;  
    }
}

.show-year-single-fixed-text table {
    width: 100%;
    height: auto !important;
}

.show-year-single-fixed-text table td,
.show-year-single-fixed-text table th {
    vertical-align: top;  /* 셀 내용 위쪽 정렬 */
    padding: 0;  /* 위아래 간격 추가 */
    height: 100% !important;
    min-height: 0 !important; /* 혹시 최소 높이가 강제되어 있다면 초기화 */
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.show-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.show-image-container {
    position: absolute;
    left: 10%;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    gap: 10px;
    width: auto;
    height: 50%;
    top: 28%;
    transform: translateY(-50%);
}

.show-image-wrapper {
    position: relative;
    height: 100%;
}

.show-image-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.show-image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    width: 100%;
    padding: 10px;
    z-index: 2;
}

.show-image-wrapper:hover img {
    filter: blur(5px);
}

.show-image-wrapper:hover .show-image-title {
    opacity: 1;
}

/* 모든 섹션 이미지 컨테이너 공통 스타일 */
.show-image-container,
.work-image-container,
.award-image-container,
.interview-image-container,
.after-image-container {
    position: absolute;
    left: 10%;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    gap: 10px;
    width: auto;
    height: 50%;
    top: 28%;
    transform: translateY(-50%);
}

.show-image-wrapper,
.work-image-wrapper,
.award-image-wrapper,
.interview-image-wrapper,
.after-image-wrapper {
    position: relative;
    height: 100%;
}

.show-image-wrapper img,
.work-image-wrapper img,
.award-image-wrapper img,
.interview-image-wrapper img,
.after-image-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.show-image-title,
.work-image-title,
.award-image-title,
.interview-image-title,
.after-image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    width: 100%;
    padding: 10px;
    z-index: 2;
}

.show-image-wrapper:hover img,
.work-image-wrapper:hover img,
.award-image-wrapper:hover img,
.interview-image-wrapper:hover img,
.after-image-wrapper:hover img {
    filter: blur(3px) brightness(50%) grayscale(30%);
}

.show-image-wrapper:hover .show-image-title,
.work-image-wrapper:hover .work-image-title,
.award-image-wrapper:hover .award-image-title,
.interview-image-wrapper:hover .interview-image-title,
.after-image-wrapper:hover .after-image-title {
    opacity: 1;
}

/* Work, Award Winner, Interview 섹션 공통 스타일 */
.work-section,
.award-section,
.interview-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.work-image-container img,
.award-image-container img,
.interview-image-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* After KMU 섹션 스타일 */
.after-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.after-image-container {
    position: absolute;
    left: 10%;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    gap: 10px;
    width: auto;
    height: 50%;
    top: 28%;
    transform: translateY(-50%);
}

.after-image-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* 메인 비디오 iframe 스타일 */
.main-video {
    max-width: 1280px;
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;  /* 16:9 비율 유지 */
}

/* 학과활동 페이지 레이아웃 */
.activity-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: var(--content-margin-top);
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

.activity-left {
    flex: 1;
}

.activity-right {
    flex: 1;
}

.activity-content {
    width: calc(50% - 20px);
    line-height: 1.6;
}

.activity-title {
    font-size: var(--main-font-size);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #000;
}

/* 모바일 반응형 */
@media screen and (max-width: 930px) {
    .activity-layout {
        margin-top: var(--content-margin-top-mobile);
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 20px;
    }

    .activity-content {
        width: 100%;
    }

    .activity-title {
        font-size: var(--main-font-size-mobile);
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1.5px solid #000;
    }
}

/* 교수진 페이지 스타일 */
.professor-section {
    margin-bottom: 20px;
    margin-left: var(--content-margin-side);
    margin-right: var(--content-margin-side);
}

.professor-section:first-child {
    margin-top: var(--content-margin-top);
}

.section-title {
    font-size: var(--main-font-size);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    font-weight: 700;
}

/* 전임교수 스타일 */
.professor-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.professor-left {
    flex: 1;
}
.professor-left img{
    max-width: 300px;
}

.professor-right {
    flex: 4;
}

.professor-right p {
    line-height: 1.5;
    word-break: keep-all;
}

.professor-image {
    margin-bottom: 5px;
}

.professor-image img {
    width: 100%;
    height: auto;
}

.professor-name {
    font-size: var(--main-font-size);
    margin-bottom: 3px;
}

.professor-info h3 {
    margin-top: 5px;
    font-size: var(--main-font-size);
}

.professor-field {
    margin-bottom: 5px;
}

/* 명예교수 스타일 */
.emeritus-professor-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.emeritus-item {
    margin-bottom: 30px;
}

/* 겸임교수 & 시간강사 스타일 */
.dual-section {
    display: flex;
    gap: 40px;
}

.half-section {
    flex: 1;
}

.adjunct-item,
.lecturer-item {
    margin-bottom: 30px;
}

/* 반응형 스타일 */
@media screen and (max-width: 930px) {
    .professor-section {
        margin-bottom: 20px;
        margin-left: var(--content-margin-side-mobile);
        margin-right: var(--content-margin-side-mobile);
    }
    
    .professor-section:first-child {
        margin-top: var(--content-margin-top-mobile);
    }

    .professor-item {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    .professor-item:last-child {
        margin-bottom: 60px;
    }
    .professor-left {
        display: flex;
        gap: 20px;
        align-items: flex-start;  /* 상단 정렬 */
    }
    .professor-image {
        flex: 1;
        margin-bottom: 0;  /* 기존 마진 제거 */
    }
    .professor-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .emeritus-professor-content {
        grid-template-columns: repeat(3, 1fr);
    }
    .dual-section {
        flex-direction: column;
    }
    .half-section {
        width: 100%;
    }
    .professor-section h2, h3 {
        margin-top: 0px;
        font-size: var(--main-font-size-mobile);
    }
    .professor-name {
        font-size: var(--main-font-size-mobile);
    }
    .professor-info h3 {
        font-size: var(--main-font-size-mobile);
    }
}


