:root {
    --primary-color: #7a1717;
    --primary-dark: #5a1212;
    --secondary-color: #efefef;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --header-height: 72px;
    --border-color: #ddd;
    --shadow-light: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-strong: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;  /* IE, Edge */
    scrollbar-width: none;  /* Firefox */
}

*::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fafafa;
    word-break: normal;
    overflow-wrap: break-word;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    -ms-overflow-style: none;  /* IE, Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 강제로 모든 스크롤바 숨기기 */
::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

html::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

html, body {
    max-width: 100vw;
    position: relative;
    height: auto;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* 헤더 스타일은 header.css에서 관리됩니다 */

/* 메인 콘텐츠 */
.main-content {
    min-height: calc(100vh - 90px); /* 헤더 높이만큼 빼기 */
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 100%);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(122,23,23,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(122,23,23,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 30px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* 퀵 메뉴 섹션 */
.quick-menu-section {
    padding: 30px 0;
    background: white;
}

/* 화재 안전 알림 버튼 */
.fire-safety-notice {
    margin-bottom: 15px;
}

.fire-safety-btn {
    display: block;
    width: 100%;
    background: #c8e6c9;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: #2e7d32;
    transition: all 0.3s ease;
    border: 2px solid #a5d6a7;
    text-align: center;
}

.fire-safety-btn:hover {
    background: #a5d6a7;
    color: #1b5e20;
    text-decoration: none;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 40px;
    margin-top: -40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.quick-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* 병원 메뉴 스타일 */
.hospital-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hospital-menu .quick-menu-item {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    border: 1px solid #f0f0f0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hospital-menu .quick-menu-item::-webkit-scrollbar {
    display: none;
}

.hospital-menu .quick-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-decoration: none;
    color: var(--text-dark);
}

.hospital-menu .quick-menu-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hospital-menu .quick-menu-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.hospital-menu .quick-menu-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* 캘린더 섹션 */
.calendar-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.nav-btn:hover {
    background: #f1f3f4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.today-btn {
    font-weight: 500;
    color: #1a73e8;
}

.calendar-title {
    font-size: 20px;
    font-weight: 500;
    color: #3c4043;
    margin: 0;
    margin-left: 10px;
}

.view-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    color: #5f6368;
    font-size: 16px;
}

.view-btn:hover {
    background: #f1f3f4;
}

.calendar-grid {
    padding: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}

.weekday {
    padding: 12px 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #70757a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 500px;
}

.calendar-day {
    min-height: 120px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.calendar-day:hover {
    background-color: #f8f9fa;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.day-number {
    font-size: 12px;
    color: #3c4043;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.calendar-day.other-month .day-number {
    color: #9aa0a6;
}

.calendar-day.today {
    background-color: #e8f0fe;
}

.calendar-day.today .day-number {
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.event {
    background: #4285f4;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 2px;
    line-height: 1.3;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.event:hover {
    opacity: 0.8;
}

.event-multi {
    background: #9c27b0;
}

.calendar-footer {
    padding: 15px 30px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

.calendar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #70757a;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.powered-by:hover {
    opacity: 0.7;
}

/* 반응형 캘린더 */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .calendar-nav {
        order: 2;
    }
    
    .calendar-title {
        order: 1;
        margin-left: 0;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }
    
    .day-number {
        font-size: 11px;
    }
    
    .event {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .calendar-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.quick-menu-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    border: 1px solid #f0f0f0;
}

.quick-menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.quick-menu-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.quick-menu-item:hover .quick-menu-icon {
    transform: scale(1.1);
}

.quick-menu-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.quick-menu-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

.quick-menu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

/* 익명으로 제안하기 섹션 */
.suggestion-section {
    padding: 80px 0;
    background: white;  
}

.suggestion-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.opinion-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.suggestion-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.suggestion-title {
    font-size: 28px;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 3px dotted #ddd;
    padding-bottom: 15px;
}

.suggestion-items {
    margin-bottom: 40px;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.suggestion-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.suggestion-icon img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
}

.suggestion-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
}

.suggestion-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.hospital-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.hospital-info p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.suggestion-form-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    min-height: 400px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.suggestion-form .form-group {
    margin-bottom: 18px;
}

.suggestion-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #d32f2f;
}

.suggestion-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
}

.suggestion-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 23, 23, 0.1);
}

.suggestion-form select.form-control {
    cursor: pointer;
}

.suggestion-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
    max-height: 150px;
    font-family: inherit;
}

.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: inline-block;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    text-align: center;
    width: 100%;
}

.file-label:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.submit-btn {
    background: #333;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
    min-width: 80px;
}

.submit-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 최근 활동 섹션 */
.recent-activity {
    padding: 80px 0;
    background: #f8f9fa;
}

.activity-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    height: 100%;
}

.activity-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.activity-list {
    margin-bottom: 20px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: padding-left 0.3s;
}

.activity-item:hover {
    padding-left: 10px;
}

.activity-title {
    font-weight: 500;
    color: var(--text-dark);
}

.activity-date {
    font-size: 12px;
    color: var(--text-muted);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
}

/* 알림 슬라이드 메뉴 */
.alarm-slide {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s;
    overflow-y: auto;
}

.alarm-slide.active {
    right: 0;
}

.alarm-header {
    padding: 20px;
    background: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.alarm-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-dark);
}

.alarm-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.alarm-close:hover {
    background-color: rgba(0,0,0,0.1);
}

.alarm-list {
    padding: 20px;
}

.alarm-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
}

.alarm-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.alarm-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #ebebeb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alarm-content h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alarm-content p {
    margin: 0 0 5px 0;
    color: var(--text-light);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alarm-content small {
    color: var(--text-muted);
}

.alarm-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000000;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.alarm-item:hover .alarm-delete {
    opacity: 1;
}

.alarm-delete:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* 푸터 — 메인페이지(v2)와 동일한 미니멀 스타일 */
.main-footer {
    background-color: #FFFFFF;
    margin-top: 60px;
    border-top: 1px solid #E5E7EB;
}

.main-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 30px;
    font-size: 12px;
    color: #9CA3AF;
    text-align: left;
}

/* 오버레이 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* PDF 모달 스타일 */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.pdf-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.pdf-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.pdf-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    line-height: 1;
}

.pdf-close:hover {
    color: #000;
}

.pdf-viewer {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .pdf-modal-content {
        margin: 5% auto;
        width: 95%;
        height: 80vh;
    }
    
    .pdf-modal-header {
        padding: 12px 15px;
    }
    
    .pdf-modal-header h3 {
        font-size: 16px;
    }
    
    .pdf-close {
        font-size: 24px;
    }
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .quick-menu {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .hospital-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 44px !important;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .quick-menu {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hospital-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* 모바일에서 hover 효과 제거 - 터치시 움직임 방지 */
    .hospital-menu .quick-menu-item:hover {
        transform: none;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

    .quick-menu-section,
    .recent-activity,
    .suggestion-section {
        padding: 40px 0;
    }

    .suggestion-image-card {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .opinion-image {
        max-width: 100%;
    }

    .alarm-slide {
        width: 100%;
        right: -100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .quick-menu-item {
        padding: 25px 20px;
    }
    
    .activity-card {
        padding: 20px;
    }
}

/* 병원장 면담 섹션 */
.director-interview-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.director-interview-card {
    padding: 40px;
}

.director-interview-card h2 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 13px;
}

.director-interview-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.director-interview-form-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.director-interview-form .form-group {
    margin-bottom: 17px;
}

.director-interview-form label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.director-interview-form .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.director-interview-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 23, 23, 0.1);
}

.director-interview-form textarea.form-control {
    resize: vertical;
    height: 90px;
    max-height: 150px;
}

.director-interview-form .required {
    color: var(--primary-color);
}

.director-interview-form .text-end {
    text-align: right;
}

/* 3대 핵심가치 섹션 */
.core-values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a90a4, #5aa3b7);
    color: white;
}

.core-values-header {
    text-align: center;
    margin-bottom: 60px;
}

.core-values-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
    line-height: 1.3;
}

.core-value-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.core-value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.core-value-card.highlighted {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.core-value-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.core-value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .core-values-header h2 {
        font-size: 28px;
    }
    
    .core-value-card {
        margin-bottom: 30px;
        padding: 30px 25px;
    }
}

/* 온라인 서비스 | 자향 블로그 섹션 */
.online-service-section {
    padding: 80px 0;
    background: rgb(198, 209, 204);
}

.online-service-content {
    padding: 40px;
    text-align: center;
}

.online-service-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 1px;
    word-spacing: 5px;
}

.online-service-content h2 .gray-text {
    color: #666;
}

.online-service-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.online-service-content .subtitle {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-top: 30px;
}

.blog-previews {
    padding: 20px;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blog-preview-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-preview-image {
    position: relative;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    color: white;
}

.blog-info .blog-category {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 8px;
}

.blog-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.blog-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.blog-title {
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .online-service-section {
        padding: 60px 0;
    }
    
    .online-service-content {
        padding: 30px 20px;
        text-align: center;
    }
    
    .online-service-content h2 {
        font-size: 24px;
        letter-spacing: 0;
        word-spacing: normal;
        white-space: normal;
    }
    
    .blog-previews {
        margin-top: 30px;
        padding: 10px;
    }
    
    /* 모바일에서 텍스트 세로 표시 방지 */
    p, h1, h2, h3, h4, h5, h6, span, div, td, th {
        word-break: keep-all !important;
        white-space: nowrap;
        overflow-x: auto;
    }
    
    /* 페이지 제목들 작게 */
    .page-title, .section-title, h1, h2 {
        font-size: 16px !important;
    }
    
    /* 탭 메뉴들 작게 */
    .nav-tabs .nav-link, .btn {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }
    
    /* 검색바와 버튼들 한 줄에 맞추기 */
    .search-container, .form-inline {
        display: flex !important;
        gap: 5px;
        align-items: center;
    }
    
    .search-container input[type="text"], 
    .form-inline input[type="text"] {
        flex: 1;
        max-width: 50% !important;
        font-size: 12px !important;
        padding: 6px 8px !important;
    }
    
    .search-container .btn, 
    .form-inline .btn {
        flex-shrink: 0;
        min-width: 60px;
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    /* 컨테이너들이 가로 스크롤 가능하도록 */
    .container, .main-content {
        overflow-x: auto;
        width: 100%;
    }
    
    /* 테이블 전체 가로 스크롤 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        width: 100%;
        font-size: 12px;
    }
    
    table td, table th {
        padding: 8px 4px !important;
        font-size: 11px;
        line-height: 1.2;
    }
    
    /* 첫 번째 컬럼(No)는 작게 */
    table td:first-child, table th:first-child {
        width: 15%;
        min-width: 30px;
    }
    
    /* 제목 컬럼은 적당히 */
    table td:nth-child(2), table th:nth-child(2) {
        width: 85%;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .blog-preview-image {
        height: 160px;
    }
}

/* 작은 모바일 화면에서 히어로 타이틀 조정 */
@media (max-width: 576px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
}

/* 메인 페이지 자산 편집 버튼 */
.asset-edit-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(54, 54, 54, 0.6);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.asset-edit-btn:hover {
    background: rgba(54, 54, 54, 1);
}

