.greeting-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.greeting-image {
    flex: 1;
    min-width: 300px;
}

.greeting-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.greeting-image .greeting-logo {
    text-align: center;
    margin-bottom: 20px;
}

.greeting-image .greeting-logo img {
    max-width: 120px;
    width: auto;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: inline-block;
}

.greeting-signature-img {
    margin-top: 20px;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.greeting-content {
    flex: 2;
    min-width: 300px;
}

.greeting-header {
    margin-bottom: 30px;
}

.greeting-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.greeting-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

.greeting-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.greeting-signature {
    font-size: 16px;
    color: #333;
    margin-top: 40px;
    text-align: right;
    font-weight: 500;
}

/* 태블릿 */
@media (max-width: 992px) {
    .greeting-container {
        gap: 30px;
        padding: 30px 20px;
    }
    
    .greeting-image .greeting-logo img {
        max-width: 100px;
    }
    
    .greeting-title {
        font-size: 28px;
    }
    
    .greeting-subtitle {
        font-size: 18px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .greeting-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .greeting-image,
    .greeting-content {
        min-width: 100%;
    }
    
    .greeting-header {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .greeting-image .greeting-logo {
        margin-bottom: 15px;
    }
    
    .greeting-image .greeting-logo img {
        max-width: 90px;
    }
    
    .greeting-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .greeting-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .greeting-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .greeting-signature {
        font-size: 15px;
        margin-top: 30px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .greeting-container {
        padding: 20px 10px;
    }
    
    .greeting-image .greeting-logo img {
        max-width: 80px;
    }
    
    .greeting-title {
        font-size: 20px;
    }
    
    .greeting-subtitle {
        font-size: 15px;
    }
    
    .greeting-text {
        font-size: 14px;
    }
}

/* 조직도 섹션 */
.organization-section {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.organization-header {
    text-align: center;
    margin-bottom: 50px;
}

.organization-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.organization-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* 조직도 차트 */
.org-chart {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.org-level-3 {
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.org-level-3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #333;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.org-level-5 {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
}

/* 조직도 박스 */
.org-box {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.org-box-minister {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.org-box-yellow {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.org-box-purple {
    background: #e7d5ff;
    border: 2px solid #9c27b0;
    color: #6a1b9a;
}

.org-box-yellow-bright {
    background: #fff9c4;
    border: 2px solid #fbc02d;
    color: #f57f17;
}

.org-box-blue {
    background: #1976d2;
    border: 2px solid #1565c0;
    color: #fff;
    padding: 12px 20px;
    font-size: 14px;
    min-width: 100px;
}

.org-box-chairman {
    margin-right: 20px;
}

.org-box-vice {
    margin-left: 20px;
}

/* 연결선 */
.org-line {
    position: relative;
    background: #333;
    z-index: 1;
}

.org-line-vertical {
    width: 3px;
    height: 30px;
    margin: 0 auto;
}

.org-line-vertical-small {
    width: 2px;
    height: 20px;
    margin: 0 auto 10px;
    background: #333;
}

.org-line-branch {
    width: 90%;
    height: 3px;
    margin: 0 auto 20px;
}

.org-line-horizontal-right {
    width: 30px;
    height: 3px;
    background: #333;
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}

.org-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

.org-side::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 20px;
    height: 3px;
    background: #333;
    transform: translateY(-50%);
}

.org-department {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    position: relative;
}

.org-department::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 3px;
    height: 20px;
    background: #333;
    transform: translateX(-50%);
}

.org-sub-dept {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 태블릿 - 조직도 */
@media (max-width: 992px) {
    .organization-section {
        margin-top: 60px;
        padding: 40px 20px;
    }
    
    .organization-title {
        font-size: 30px;
    }
    
    .organization-desc {
        font-size: 15px;
    }
    
    .org-level-5 {
        gap: 30px;
    }
    
    .org-box {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 100px;
    }
    
    .org-box-blue {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 80px;
    }
}

/* 모바일 - 조직도 */
@media (max-width: 768px) {
    .organization-section {
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .organization-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .organization-desc {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .org-chart {
        padding: 20px 0;
    }
    
    .org-level {
        margin-bottom: 15px;
    }
    
    .org-level-3 {
        flex-direction: column;
        gap: 15px;
    }
    
    .org-level-5 {
        flex-direction: column;
        gap: 30px;
    }
    
    .org-box {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 90px;
    }
    
    .org-box-chairman,
    .org-box-vice {
        margin: 0;
    }
    
    .org-line-horizontal-right {
        display: none;
    }
    
    .org-department {
        min-width: 100%;
    }
    
    .org-sub-dept {
        gap: 10px;
    }
    
    .org-box-blue {
        padding: 10px 15px;
        font-size: 12px;
        min-width: 70px;
    }
}

/* 작은 모바일 - 조직도 */
@media (max-width: 480px) {
    .organization-section {
        margin-top: 30px;
        padding: 20px 10px;
    }
    
    .organization-title {
        font-size: 20px;
    }
    
    .organization-desc {
        font-size: 13px;
    }
    
    .org-box {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .org-box-blue {
        padding: 8px 12px;
        font-size: 11px;
        min-width: 60px;
    }
    
    .org-sub-dept {
        flex-direction: column;
        width: 100%;
    }
}

