/* default.asp 전용 CSS */

/* 환영 메시지 스타일 - 여백은 header.asp에서 통일 관리 */
.welcome-message-line {
    text-align: left;
    background: transparent;
    border-bottom: none;
}

.welcome-line1 {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.5;
}

.welcome-line2 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.5;
}

.welcome-line3 {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.6;
    word-break: keep-all;
}

.welcome-line4 {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 안내 레이어 스타일 */
.notice-layer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 40px;
    z-index: 10;
    position: relative;
}

.notice-content {
    background-color: #ffffff;
    border: 2px solid #d2e1fc;
    border-radius: 12px;
    padding: 30px 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notice-title {
    display: block;
    width: 100%;
}

.notice-body {
    display: block;
    width: 100%;
}

.notice-item {
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 16px;
    color: #333333;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-item p {
    margin: 0;
    padding: 0;
    word-break: keep-all;
    line-height: 1.4;
}

.notice-sub {
    margin-top: 8px !important;
    padding-left: 20px !important;
    font-size: 15px !important;
    color: #555555 !important;
}

.notice-link {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 3px;
    background-color: #17479e;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #17479e;
    transition: all 0.3s ease;
    vertical-align: baseline;
    line-height: 1.2;
}

.notice-link:hover {
    background-color: #0d3a7a;
    border-color: #0d3a7a;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notice-warning {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid #ffd700;
}

.notice-warning p {
    color: #d9534f;
    font-weight: 600;
}

/* 메인 메뉴 그리드 (2x2) */
.main-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 50px; /* 간격 넓힘: 30px -> 50px */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 100px 20px; /* 하단 패딩 추가: 60px -> 100px (40px 더 증가) */
}

/* default.asp 전용 컨테이너 여백 조정 - 콘텐츠 높이에 맞춰 풋터가 바로 붙도록 */
.default-page .main-content {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 70px !important; /* 헤더 높이만큼만 (노란 구역 제거) */
    margin-bottom: 0 !important;
}

.menu-button-wrapper {
    width: 100%;
    height: auto;
}

.main-menu-button {
    width: 100%;
    height: auto;
    min-height: 200px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border: 3px solid #d2e1fc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-menu-button:hover {
    background: linear-gradient(135deg, #17479e 0%, #0d3a7a 100%);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(23, 71, 158, 0.3);
    border-color: #0d3a7a;
}

.button-icon {
    font-size: 48px;
    margin-bottom: 15px;
    filter: grayscale(100%); /* 흑백 필터 */
}

.button-text {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    /* .welcome-message-line 여백은 header.asp에서 통일 관리 */
    
    .welcome-line1 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .welcome-line2 {
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .welcome-line3 {
        font-size: 16px;
        margin-bottom: 14px;
    }
    
    .welcome-line4 {
        font-size: 18px;
    }
    
    .notice-layer {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .notice-content {
        padding: 20px 20px;
    }
    
    .notice-item {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .notice-sub {
        font-size: 13px !important;
        padding-left: 15px !important;
    }
    
    .main-menu-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 20px;
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .main-menu-button {
        height: auto;
        min-height: 150px;
        padding: 30px 20px;
    }
    
    .button-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .button-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    /* .welcome-message-line 여백은 header.asp에서 통일 관리 */
    
    .welcome-line1 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .welcome-line2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .welcome-line3 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .welcome-line4 {
        font-size: 16px;
    }
    
    .notice-layer {
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .notice-content {
        padding: 18px 15px;
    }
    
    .notice-item {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .notice-sub {
        font-size: 12px !important;
        padding-left: 12px !important;
    }
    
    .main-menu-button {
        height: auto;
        min-height: 120px;
        padding: 25px 15px;
    }
    
    .button-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .button-text {
        font-size: 16px;
    }
}

