/* ============================================
   메인 페이지 인라인 스타일 분리 CSS
   ============================================ */

/* Glocal 플로팅 메뉴 (우측 중앙 고정) */
.glocal-floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    transition: all 0.3s ease;
}

.glocal-floating-link {
    display: block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.glocal-floating-link:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.glocal-floating-image {
    width: 90px;
    height: auto;
    display: block;
    max-width: 100%;
}

/* 반응형: 모바일에서 크기 조정 */
@media (max-width: 768px) {
    .glocal-floating-menu {
        right: 10px;
    }
    
    .glocal-floating-image {
        width: 80px;
    }
    
    .glocal-floating-link {
        padding: 8px;
    }
}

/* 태블릿 크기 조정 */
@media (max-width: 992px) and (min-width: 769px) {
    .glocal-floating-image {
        width: 100px;
    }
}

/* 패널 컨테이너 중앙 정렬 */
.icon-visual .col-xs-12.col-sm-12.col-md-6.col-lg-3 {
    display: flex;
    justify-content: center;
}

/* 글로벌 협력 섹션 배경 - 원래 인라인 스타일 그대로 */
.global-collaboration-section {
    background: linear-gradient(90deg, #2262C6 0%, #1C57EF 100%) !important;
    padding: 54px 0 48px 0 !important;
    box-shadow: 0 8px 32px rgba(34, 98, 198, 0.13) !important;
}

/* 글로벌 협력 섹션 내부 컨테이너 */
.global-collaboration-section .row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

.global-collaboration-section .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.global-collaboration-section .text-center {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 글로벌 협력 제목 - 원래 인라인 스타일 그대로 적용 */
.global-collaboration-section h2.gscnu-title.global-collaboration-title,
.global-collaboration-section .global-collaboration-title,
.global-collaboration-section h2.global-collaboration-title {
    color: #fff !important;
    letter-spacing: 2px !important;
    font-weight: 800 !important;
    font-size: 2.7rem !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 10px rgba(28, 87, 239, 0.25) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -moz-hyphens: auto !important;
}

/* 글로벌 협력 부제목 - 원래 인라인 스타일 그대로 적용 */
.global-collaboration-section h2.gscnu-title-sub.global-collaboration-subtitle,
.global-collaboration-section .global-collaboration-subtitle,
.global-collaboration-section h2.global-collaboration-subtitle {
    color: #fff !important;
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.6 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
    margin-top: 0 !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -moz-hyphens: auto !important;
}

/* 뉴스 버튼 컨테이너 */
.news-btn-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 뉴스 버튼 텍스트가 잘리지 않도록 수정 */
.news-btn {
    width: auto !important;
    min-width: 183px !important;
    height: auto !important;
    min-height: 52px !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* 반응형 디자인 - 텍스트가 잘리지 않도록 */
@media (max-width: 1200px) {
    .global-collaboration-section h2.gscnu-title.global-collaboration-title,
    .global-collaboration-section .global-collaboration-title,
    .global-collaboration-section h2.global-collaboration-title {
        font-size: 2.2rem !important;
        padding: 0 15px !important;
    }
    
    .global-collaboration-section h2.gscnu-title-sub.global-collaboration-subtitle,
    .global-collaboration-section .global-collaboration-subtitle,
    .global-collaboration-section h2.global-collaboration-subtitle {
        font-size: 20px !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 768px) {
    .global-collaboration-section {
        padding: 40px 0 35px 0 !important;
        margin-bottom: 40px !important;
    }
    
    .global-collaboration-section h2.gscnu-title.global-collaboration-title,
    .global-collaboration-section .global-collaboration-title,
    .global-collaboration-section h2.global-collaboration-title {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 10px !important;
        padding: 0 15px !important;
    }
    
    .global-collaboration-section h2.gscnu-title-sub.global-collaboration-subtitle,
    .global-collaboration-section .global-collaboration-subtitle,
    .global-collaboration-section h2.global-collaboration-subtitle {
        font-size: 16px !important;
        letter-spacing: 0.3px !important;
        padding: 0 15px !important;
        line-height: 1.5 !important;
    }
    
    .icon-visual .col-xs-12.col-sm-12.col-md-6.col-lg-3 {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .news-btn {
        min-width: 190px !important;
        min-height: 55px !important;
        padding: 12px 20px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .global-collaboration-section {
        padding: 30px 0 25px 0 !important;
        margin-bottom: 30px !important;
    }
    
    .global-collaboration-section h2.gscnu-title.global-collaboration-title,
    .global-collaboration-section .global-collaboration-title,
    .global-collaboration-section h2.global-collaboration-title {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 8px !important;
        padding: 0 10px !important;
    }
    
    .global-collaboration-section h2.gscnu-title-sub.global-collaboration-subtitle,
    .global-collaboration-section .global-collaboration-subtitle,
    .global-collaboration-section h2.global-collaboration-subtitle {
        font-size: 14px !important;
        letter-spacing: 0.2px !important;
        padding: 0 10px !important;
        line-height: 1.4 !important;
    }
    
    .news-btn-container {
        align-items: center;
        width: 100%;
    }
    
    .news-btn {
        min-width: 160px !important;
        min-height: 40px !important;
        padding: 10px 15px !important;
        font-size: 16px !important;
    }
}

/* ============================================
   기업지원공고 섹션 스타일
   ============================================ */
.corporate-support-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.corporate-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.corporate-support-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.corporate-support-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}

.corporate-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.corporate-support-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 24px;
}

.corporate-support-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.corporate-support-card-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.corporate-support-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 3em;
}

.corporate-support-new-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
}

.corporate-support-card-title-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.corporate-support-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.corporate-support-card-department,
.corporate-support-card-date,
.corporate-support-card-write-date {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.department-label,
.date-label,
.write-date-label {
    font-weight: 600;
    color: #666;
    margin-right: 8px;
    min-width: 80px;
    flex-shrink: 0;
}

.department-value,
.date-value,
.write-date-value {
    color: #333;
    flex: 1;
    word-break: break-word;
}

.corporate-support-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .corporate-support-section {
        padding: 40px 0;
    }
    
    .corporate-support-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .corporate-support-card {
        margin-bottom: 20px;
    }
    
    .corporate-support-card-title {
        font-size: 1.1rem;
    }
    
    .department-label,
    .date-label,
    .write-date-label {
        min-width: 70px;
        font-size: 13px;
    }
    
    .department-value,
    .date-value,
    .write-date-value {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .corporate-support-section {
        padding: 30px 0;
    }
    
    .corporate-support-card-link {
        padding: 20px;
    }
    
    .corporate-support-card-title {
        font-size: 1rem;
        min-height: 2.5em;
    }
    
    .department-label,
    .date-label,
    .write-date-label {
        min-width: 60px;
        font-size: 12px;
    }
    
    .department-value,
    .date-value,
    .write-date-value {
        font-size: 12px;
    }
}

