/* ceo.html 전용 스타일 */
html, body {
    height: 100vh;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer {
    flex-shrink: 0;
}

.page-title-container {
    display: grid;
    align-items: center;
    justify-content: center;
    height: 320px;
    background: linear-gradient(rgba(0, 0, 0,0.5), rgba(0, 0, 0,0.5)), 
    url('https://images.unsplash.com/photo-1462206092226-f46025ffe607?q=80&w=1748&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    text-align: center;
    padding-bottom: 0;
    box-shadow: none;
}
.title-content .subtitle {
  color: #67c2ff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 8px 0;
}
.page-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  margin-bottom: 0;
}
.content-container {
    display: grid;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,80,180,0.06);
    padding: 50px 30px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.content-title {
  color: #1976b6;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0px;
}

.p-content-title {
  color: #123746;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.p-content {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: left;
}

.ceo-flex {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 60px 20px;
    flex-wrap: wrap;
}
.ceo-left {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}
.ceo-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ceo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #1976b6;
  border-radius: 50%;
  margin-right: 4px;
}
.ceo-main-message {
  font-size: 2.1rem;
  font-weight: 800;
  color: #222;
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -1px;
}
.ceo-right {
  flex: 2 1 400px;
  min-width: 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.ceo-greeting-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.5;
}
.ceo-greeting-body {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.ceo-sign {
  color: #222;
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 18px;
  align-self: flex-end;
}
.ceo-photo-wrap {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 0;
}
.ceo-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(30,80,180,0.10);
  object-fit: cover;
}
@media (max-width: 900px) {
    .ceo-flex {
        flex-direction: column;
        gap: 32px;
        padding: 24px 20px 40px 20px;
        align-items: center;
    }
    .ceo-left, .ceo-right, .ceo-photo-wrap {
        max-width: 100%;
        min-width: 0;
    }
    .ceo-main-message {
        font-size: 1.4rem;
    }
    .ceo-photo {
        max-width: 100%;
        border-radius: 16px;
    }
}

/* 편집 가능한 요소 스타일 */
.editable {
    position: relative;
}

/* 관리자 전용 편집 UI 스타일 */
.admin-editable {
    transition: background-color 0.2s;
}

.admin-editable:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.admin-editable[contenteditable="true"] {
    outline: 2px solid #1976d2;
    padding: 5px;
    border-radius: 4px;
    background-color: rgba(25, 118, 210, 0.05);
}

/* 편집 컨트롤 스타일 */
.edit-controls {
    position: absolute;
    top: -40px;
    right: 0;
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.edit-controls button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.edit-controls button i {
    font-size: 14px;
}

.edit-controls .save-btn {
    background-color: #1976d2;
    color: white;
}

.edit-controls .save-btn:hover {
    background-color: #1565c0;
}

.edit-controls .cancel-btn {
    background-color: #f5f5f5;
    color: #333;
}

.edit-controls .cancel-btn:hover {
    background-color: #e0e0e0;
}

/* CEO 사진 편집 스타일 */
.ceo-photo-container {
    position: relative;
}

.admin-editable.ceo-photo-container {
    cursor: pointer;
}

.ceo-photo-container .upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-editable.ceo-photo-container:hover .upload-overlay {
    opacity: 1;
}

.ceo-photo-container .upload-overlay i {
    color: white;
    font-size: 24px;
}

/* 알림 스타일 */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInOut 3s ease-in-out;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
} 