@charset "UTF-8";

/* ==========================================================================
   [GREEN AUTO RENEWAL 2026 - MOBILE STYLESHEET]
   * Description: 모바일 전용 반응형 스타일 (Max-Width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    
    /* [기본 레이아웃 보정] */
    body.gr-body { padding-top: 0; overflow-x: hidden; } 
    .gr-inner { width: 100%; padding: 0 20px; }

    /* [섹션 타이틀 공통] */
    .gr-section-title {
        font-size: 28px !important;
        white-space: nowrap;
        letter-spacing: -1px;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
        width: 100%;
        text-align: center;
    }
    .gr-section-desc {
        font-size: 15px !important;
        margin-bottom: 40px !important;
        padding: 0 20px;
        word-break: keep-all;
        line-height: 1.5 !important;
    }

    /* 1. 상단 배너 */
    .gr-top-banner { height: auto; padding: 10px 0; position: relative; }
    .gr-banner-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; padding: 0 5px; }
    .gr-bn-left { width: 100%; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 8px; }
    .gr-bn-title { text-align: center; font-size: 13px; margin: 0; font-weight: 500; word-break: keep-all; color: #fff; opacity: 1; }
    .gr-bn-row { display: flex; align-items: center; gap: 4px; transform: scale(0.9); }
    .gr-timer-group { width: auto; justify-content: center; margin: 0; margin-right: 8px; align-items: center; gap: 2px; }
    .gr-d-day-label { font-size: 16px; font-weight: 800; margin-right: 4px; color: #fff; }
    .gr-time-box { width: 30px; height: 30px; font-size: 14px; font-weight: 700; line-height: 30px; border-radius: 6px; box-shadow: none; color: #333; }
    .gr-unit, .gr-colon { font-size: 12px; margin: 0 2px; color: #fff; font-weight: bold; }
    .gr-bn-right { width: auto; justify-content: center; margin: 0; }
    .gr-btn-apply { font-size: 14px; font-weight: 700; padding: 0 20px; height: 34px; line-height: 34px; border-radius: 17px; box-shadow: none; }
    .gr-btn-close { position: absolute; top: 10px; right: 10px; font-size: 20px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #fff; }
    
    /* 2. 헤더 & GNB */
    .gr-header { height: 70px; position: relative; z-index: 4000 !important; background: #fff; }
    .gr-header-top { height: 70px; border-bottom: none; }
    .gr-header-inner { padding: 0 5px; display: flex; justify-content: space-between; align-items: center; position: relative; height: 100%; }
    .gr-util-area { display: none !important; } /* PC 유틸 숨김 */
    
    .gr-logo-area { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; display: flex; align-items: center; height: 100%; }
    .gr-logo-img { height: 54px; width: auto; }

    .gr-mobile-call-btn { display: block !important; width: 40px; height: 40px; background-image: url('../images/icon_call.svg'); background-repeat: no-repeat; background-position: center center; background-size: 24px 24px; background-color: transparent; border: none; padding: 0; }
    .gr-mobile-menu-btn { display: block !important; width: 40px; height: 40px; background-image: url('../images/icon_menu.svg'); background-repeat: no-repeat; background-position: center center; background-size: 20px 20px; background-color: transparent; border: none; padding: 0; cursor: pointer; }

    /* 슬라이드 메뉴 */
    .gr-gnb-wrap { display: block !important; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 9999; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
    .gr-gnb-wrap.active { visibility: visible; opacity: 1; }
    .gr-gnb-wrap .gr-inner { position: absolute; top: 0; right: 0; width: 80% !important; height: 100%; background: #fff; box-shadow: -5px 0 20px rgba(0,0,0,0.2); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; padding: 0; margin: 0; }
    .gr-gnb-wrap.active .gr-inner { transform: translateX(0); } 
    .gr-gnb-close-btn { display: flex !important; align-items: center; justify-content: center; position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background-color: #f5f5f5; border-radius: 50%; border: none; font-size: 24px; color: #333; z-index: 10; cursor: pointer; transition: 0.2s; }
    
    /* 모바일 유틸리티 */
    .gr-mobile-util-container { display: block !important; margin-top: 70px; background-color: #f9faff; border-bottom: 1px solid #ebf0f5; padding: 20px 0; }
    .gr-mobile-util-list { display: flex; justify-content: center; gap: 20px; width: 100%; }
    .gr-mobile-util-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #333; font-size: 13px; font-weight: 500; }
    .gr-mobile-util-icon { width: 24px; height: 24px; display: block; object-fit: contain; }

    /* 메뉴 리스트 */
    .gr-gnb-list { flex-direction: column; justify-content: flex-start; padding-top: 10px; overflow-y: auto; height: 100%; }
    .gr-gnb-item { width: 100%; display: block; border-bottom: 1px solid #f5f5f5; height: auto; }
    .gr-gnb-item::after { display: none; }
    .gr-gnb-link { padding: 18px 25px; text-align: left; display: block; width: 100%; font-size: 16px; font-weight: bold; color: #222; }
    
    /* 서브메뉴: 항상 노출 */
    .gr-submenu { display: block; position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: #f9f9f9; padding: 10px 0; }
    .gr-submenu li a { padding: 12px 30px; text-align: left; border-bottom: 1px solid #eee; font-size: 14px; color: #666; }

    /* 3. 메인 비주얼 */
    .gr-main-visual { height: 500px !important; }
    .gr-slide-item { height: 100%; }
    .gr-slide-item.class-01 { background-image: url('../images/main_visual_01_mobile.jpg') !important; }
    .gr-slide-item.class-02 { background-image: url('../images/main_visual_02_mobile.jpg') !important; }
    
    .gr-main-visual .gr-slide-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 30px; padding: 5px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: auto; min-width: 200px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
    .gr-ctrl-btn, .gr-autoplay-btn { display: flex !important; align-items: center; justify-content: center; width: 24px; height: 24px; background: transparent !important; border: none !important; padding: 0; cursor: pointer; }
    .gr-ctrl-btn span { font-size: 22px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
    .gr-main-visual .swiper-pagination { position: static !important; width: auto !important; display: flex; align-items: center; gap: 6px; }
    .gr-main-visual .swiper-pagination-bullet { width: 6px !important; height: 6px !important; background: #fff !important; opacity: 0.5 !important; margin: 0 !important; }
    .gr-main-visual .swiper-pagination-bullet-active { opacity: 1 !important; width: 8px !important; height: 8px !important; }

    /* 4. 퀵 메뉴 (리퀴드 글래스) */
    .gr-quick-menu { position: relative; z-index: 10; margin-top: 0; width: 100%; padding: 40px 0; background: linear-gradient(145deg, #f0f8ff 0%, #fdf4ff 100%) !important; border-top: 1px solid #fff; border-bottom: 1px solid #eee; }
    .gr-quick-box { width: 100%; padding: 0; border: none; background: transparent !important; box-shadow: none !important; }
    .gr-quick-left { display: none !important; }
    .gr-quick-list { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 30px; padding: 0; width: 100%; }
    .gr-quick-list li { text-align: center; overflow: visible; }
    
    .gr-icon-circle { width: 65px; height: 65px; margin: 0 auto; position: relative; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.4); border-top: 1px solid rgba(255, 255, 255, 0.9); border-left: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 5px 5px 15px rgba(0, 176, 255, 0.15); }
    .gr-icon-circle img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1)); }
    .gr-icon-circle span { display: none; }
    .gr-menu-name { font-size: 13px; font-weight: 600; color: #444; margin-top: 8px; line-height: 1; display: block; word-break: keep-all; }
    .gr-badge-red { position: absolute; top: -5px; right: -10px; display: flex; justify-content: center; align-items: center; font-size: 11px; font-weight: bold; padding: 3px 10px; min-width: 45px; width: auto !important; height: 22px; border-radius: 20px; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,0.15); z-index: 5; pointer-events: none; }

    /* 5. 통계 섹션 (2x2) */
    .gr-stats-section { height: auto; padding: 60px 0 80px 0; margin-top: 0; }
    .gr-stats-title { font-size: 32px; font-weight: 900; margin-bottom: 40px; padding: 0 20px; word-break: keep-all; line-height: 1.3; }
    .gr-stats-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; width: 100%; box-sizing: border-box; }
    .gr-stat-item { width: auto; min-height: 130px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 20px 5px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .gr-stat-item::after { display: none; }
    .gr-stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; letter-spacing: -0.5px; }
    .gr-stat-number { font-size: 23px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; height: 28px; display: block; white-space: nowrap; }

    /* 6. 모집과정 (1열 스택) */
    .gr-course-section { padding: 60px 0; background-color: #f9f9f9; }
    .gr-course-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 0 20px; }
    .gr-course-card { width: 100%; height: 260px; border-radius: 16px; margin-bottom: 0; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
    .gr-course-card.active { opacity: 1; transform: translateY(0); }
    .gr-course-card:nth-child(1) { transition-delay: 0.1s; } 
    .gr-course-card:nth-child(2) { transition-delay: 0.2s; } 
    .gr-course-card:nth-child(3) { transition-delay: 0.3s; } 
    .gr-course-card:nth-child(4) { transition-delay: 0.4s; }
    .gr-card-bg { transform: scale(1); }
    .gr-card-tags { top: 15px; left: 15px; }
    .gr-tag { font-size: 11px; padding: 4px 10px; }
    .gr-card-content { padding: 20px 15px; background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.6) 50%, transparent 100%); }
    .gr-card-title { font-size: 18px; line-height: 1.35; margin-bottom: 6px; transform: none !important; }
    .gr-card-hidden { max-height: 100px; opacity: 1; transform: none; margin-top: 5px; }
    .gr-card-period { font-size: 13px; color: rgba(255,255,255,0.9); }

    /* 7. 취업현황 */
    .gr-job-section { padding: 60px 0; overflow: hidden; }
    .gr-blob { opacity: 0.3; transform: scale(0.7); }
    .gr-job-tabs { display: flex; gap: 10px; padding: 5px 20px 15px 20px; margin-bottom: 20px; }
    .gr-job-tab-btn { flex: 1; font-size: 0 !important; padding: 8px 0; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6); box-sizing: border-box; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; }
    .gr-job-tab-btn:nth-child(1)::before { content: "🚗 자동차"; font-size: 15px; font-weight: bold; }
    .gr-job-tab-btn:nth-child(2)::before { content: "⚡ 전기"; font-size: 15px; font-weight: bold; }
    .gr-job-tab-btn.active { background: rgba(255, 255, 255, 0.15); color: #fff; background-color: #ff1493; box-shadow: 0 0 10px rgba(255, 20, 147, 0.5); }
    .gr-job-tab-btn.active::before { color: #fff; }
    
    .gr-job-window { height: 400px; margin: 0 20px; width: auto; background: rgba(20, 30, 50, 0.6); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
    .gr-job-item { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto auto; column-gap: 15px; row-gap: 4px; height: auto; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); align-items: center; }
    .gr-job-logo-box { grid-column: 1; grid-row: 1 / 4; width: 60px; height: 60px; padding: 0 !important; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: none; }
    .gr-job-logo-img { width: 80%; height: auto; object-fit: contain; padding: 0; box-shadow: none; }
    .gr-job-company { grid-column: 2; grid-row: 1; width: 100%; font-size: 18px; font-weight: 800; color: #fff; text-align: left; border: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gr-job-course { display: block; grid-column: 2; grid-row: 2; font-size: 14px; color: #00b0ff; text-align: left; border: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gr-job-name { grid-column: 2; grid-row: 3; width: auto; font-size: 13px; color: #94a3b8; text-align: left; border: none; padding: 0; display: inline-block; white-space: nowrap; }
    .gr-job-date { grid-column: 2; grid-row: 3; width: auto; font-size: 12px; color: rgba(255,255,255,0.4); border: none; padding: 0; text-align: right; justify-self: end; white-space: nowrap; }
    .gr-btn-view-all { font-size: 15px; padding: 12px 30px; width: 80%; max-width: 300px; }

    /* 8. 뉴스 섹션 (3D 덱 + 알약 인디케이터) */
    .gr-news-section { padding: 60px 0; overflow: hidden; }
    .gr-deck-container { height: 460px; perspective: 1000px; }
    .gr-deck-slider .swiper-slide { width: 280px !important; height: 400px !important; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); background: #000; cursor: pointer; }
    .gr-slide-image-area { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
    .gr-slide-bg-img { width: 100%; height: 100%; object-fit: cover; }
    .gr-slide-text-box { position: absolute; top: auto !important; bottom: 0 !important; left: 0 !important; width: 100% !important; height: 35% !important; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.15); border-left: none; padding: 20px; z-index: 10; display: flex; flex-direction: column; justify-content: center; }
    .gr-news-badge { font-size: 12px; margin-bottom: 6px; color: #ff1493; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
    .gr-news-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gr-news-desc { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0; }
    .gr-btn-more-circle { display: none !important; }
    
    .gr-deck-controls { display: flex !important; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: auto; z-index: 20; gap: 0; pointer-events: none; }
    .gr-btn-prev, .gr-btn-next { display: none !important; }
    .gr-pagination { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 800; color: #555; background: rgba(255, 255, 255, 0.8); padding: 6px 16px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); backdrop-filter: blur(5px); }
    .gr-pagination .swiper-pagination-current { color: #ff1493; font-size: 16px; }

    /* 9. 시설 섹션 (70vw + Flat White 알약) */
    .gr-facility-section { padding: 30px 0 60px 0; background: #f5f7fa; overflow: hidden; }
    .gr-facility-slider-wrap { position: relative; width: 100%; height: auto; padding-bottom: 60px; }
    .gr-facility-track { display: flex; align-items: center; height: 420px; padding: 0; margin: 0; }
    .gr-facility-item { min-width: 70vw !important; height: 400px; margin: 0 10px; border-radius: 20px; overflow: hidden; transform: scale(0.9) !important; opacity: 0.5 !important; filter: brightness(0.6) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 1; transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease; }
    .gr-facility-item.active { transform: scale(1) !important; opacity: 1 !important; filter: brightness(1) !important; z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
    .gr-fac-content { position: absolute; bottom: 0; left: 0; width: 100%; min-height: 140px; padding: 25px 20px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: opacity 0.3s ease; }
    .gr-facility-item.active .gr-fac-content { opacity: 1; }
    .gr-fac-badge { background: #00b0ff; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; margin-bottom: 8px; align-self: flex-start; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    .gr-fac-content h3 { font-size: 24px; color: #fff; font-weight: 800; margin-bottom: 6px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
    .gr-fac-content p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    
    /* 시설 인디케이터 */
    .gr-fac-controls { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: auto; display: flex; justify-content: center; z-index: 20; }
    .gr-fac-btn { display: none !important; }
    .gr-fac-counter { background: rgba(255, 255, 255, 0.95); padding: 8px 24px; border-radius: 50px; box-shadow: none !important; text-shadow: none !important; border: 1px solid rgba(0,0,0,0.05); font-family: 'Montserrat', sans-serif; display: flex; align-items: baseline; gap: 6px; }
    .gr-current { font-size: 18px; font-weight: 800; color: #ff1493; line-height: 1; text-shadow: none !important; }
    .gr-divider { font-size: 14px; color: #ccc; font-weight: 400; margin: 0 2px; text-shadow: none !important; }
    .gr-total { font-size: 15px; font-weight: 700; color: #333; text-shadow: none !important; }

    /* 10-1. 유튜브 섹션 (흐름 배치 + 마젠타 화살표) */
.gr-youtube-section { padding: 60px 0; background: #fff; position: relative; }

    /* [영상 스택 컨테이너] */
    .gr-youtube-grid {
        display: block; position: relative; width: 100%;
        padding-top: 56.25%; height: 0 !important; margin: 0; z-index: 1;
    }

    /* [개별 영상 아이템] - 기본 투명(opacity: 0) */
    .gr-youtube-item {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        opacity: 0; z-index: 0; pointer-events: none; transition: opacity 0.4s ease;
    }
    /* JS가 실행되면 active가 붙어서 보임 */
    .gr-youtube-item.active { opacity: 1; z-index: 10; pointer-events: auto; }

    .gr-youtube-item iframe {
        width: 100%; height: 100%; border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15); display: block;
    }

    /* [컨트롤러 - 영상 아래 배치] */
    .gr-yt-controls {
        position: static; width: 100%; margin-top: 25px;
        display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 20;
    }

    /* [화살표 버튼] */
    .gr-yt-btn {
        width: 40px; height: 40px; background: #fff; border: 1px solid #eee;
        border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        display: flex; justify-content: center; align-items: center; cursor: pointer;
    }
    .gr-yt-btn span { font-size: 24px; color: #ff1493; font-weight: 700; }

    /* [인디케이터] */
    .gr-yt-pagination {
        background: #fff; padding: 8px 24px; border-radius: 50px;
        border: 1px solid rgba(0,0,0,0.1); display: flex; align-items: baseline; gap: 6px;
        font-family: 'Montserrat', sans-serif; font-size: 16px; color: rgba(0,0,0,0.4); font-weight: 600;
    }
    .gr-yt-current { font-size: 18px; font-weight: 800; color: #ff1493; line-height: 1; }
    .gr-yt-divider { margin: 0 2px; color: #ccc; font-weight: 400; }
    .gr-yt-total { font-weight: 700; color: #333; font-size: 15px; }

    /* 11. 트로피 및 푸터, 모달 */
    .gr-award-section { padding: 40px 0; }
    .gr-trophy-wrapper { margin-top: 30px; }
    .gr-trophy-track { display: flex; width: max-content; animation: grRollingLeft 40s linear infinite; padding-top: 80px; }
    .gr-trophy-track:hover { animation-play-state: paused; }
    .gr-trophy-item { flex: 0 0 180px; margin-right: 20px; }
    .gr-trophy-img-area { width: 90px; height: 90px; top: -45px; }
    .gr-trophy-content { padding: 60px 15px 20px; }
    .gr-award-title { font-size: 16px; }
    @keyframes grRollingMobile { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-180px * 8)); } }

    .gr-footer-top { flex-direction: column; gap: 20px; text-align: center; }
    .gr-footer-links { flex-direction: column; gap: 15px; }
    .gr-footer-bottom { flex-direction: column; gap: 20px; align-items: center; text-align: center; }

/* =========================================
   13. MODAL POPUP (Mobile Optimized)
   Updated: Responsive Width & Scroll
   ========================================= */

    /* [공통] 모달 박스 리사이징 */
    .gr-modal-box { 
        width: 90% !important;      /* 화면의 90%만 차지 */
        max-width: none !important; /* PC용 고정폭(800px) 해제 */
        max-height: 85vh;           /* 화면 높이의 85%까지만 */
        display: flex;
        flex-direction: column;     /* 헤더/바디 분리 (스크롤 용이) */
        border-radius: 16px;
    }

    /* [헤더] 컴팩트하게 조정 */
    .gr-modal-header {
        padding: 15px 20px;
        flex-shrink: 0; /* 헤더 크기 고정 */
    }
    
    .gr-modal-title-area {
        width: 85%; /* 닫기 버튼 공간 확보 */
        gap: 10px;
    }
    
    .gr-modal-status-badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .gr-modal-title {
        font-size: 16px; /* 제목 크기 축소 */
        line-height: 1.3;
    }

    .gr-modal-close-btn span { font-size: 24px; } /* X 버튼 크기 조정 */

    /* [본문] 스크롤 영역 설정 */
    .gr-modal-body { 
        padding: 20px; 
        overflow-y: auto;       /* 내용이 길면 내부 스크롤 */
        -webkit-overflow-scrolling: touch; /* 부드러운 스크롤 */
    }

    .gr-modal-subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }

    /* 과정 리스트 아이템 */
    .gr-curriculum-list {
        max-height: none; /* 높이 제한 해제 (박스 전체 스크롤 따름) */
    }
    
    .gr-modal-course-link {
        padding: 12px 15px;
        margin-bottom: 8px;
    }
    
    .gr-sub-title { font-size: 14px; }
    
    .gr-status-badge { font-size: 11px; padding: 2px 6px; }

    /* 모바일에서는 패딩을 조금 줄임 */
    .gr-modal-course-link {
        padding: 15px;
        gap: 6px;
    }

    /* 윗줄: 뱃지와 제목 */
    .gr-course-info-top {
        flex-wrap: wrap; /* 제목이 길면 줄바꿈 허용 */
        gap: 8px;
    }
    
    .gr-status-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .gr-sub-title {
        font-size: 15px;
        white-space: normal; /* 줄바꿈 허용 */
        line-height: 1.3;
    }

    /* 아랫줄: 날짜 */
    .gr-course-info-bot {
        font-size: 13px;
        margin-top: 2px;
    }
    
    .icon-cal { font-size: 15px; }


    /* [뉴스 확대 모달] - 화면에 꽉 차는 갤러리 느낌 */
    .gr-news-zoom-box {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        border-radius: 0;
        background: #000; /* 배경을 검게 */
        display: flex;
        flex-direction: column;
    }

    /* 헤더도 검은색 테마로 변경 */
    .gr-news-header {
        background: rgba(0,0,0,0.8);
        border-bottom: 1px solid #333;
        padding: 15px;
        position: absolute; /* 이미지 위에 띄움 */
        top: 0; left: 0; width: 100%;
        z-index: 10;
    }
    
    .gr-news-header .gr-modal-title { color: #fff; font-size: 15px; }
    .gr-news-header .gr-modal-close-btn { color: #fff; }

    /* 이미지 영역 중앙 정렬 */
    .gr-news-zoom-body {
        padding: 0;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #000;
        position: relative;
    }
    
    .gr-zoom-full-img {
        width: 100%;
        height: auto;
        max-height: 80vh; /* 위아래 여백 확보 */
        object-fit: contain; /* 비율 유지하며 다 보여주기 */
        border-radius: 0;
    }
}