/* 김호중 이비인후과의원 홈페이지 디자인 규칙 */
body {
    font-family: 'Pretendard', sans-serif;
    word-break: keep-all;
}
.hero-bg {
    background-color: #0f172a;
    background-image: linear-gradient(115deg, rgba(15, 23, 42, 0.90) 0%, rgba(23, 37, 84, 0.82) 52%, rgba(13, 148, 136, 0.72) 100%),
                      url('../images/waiting_room.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.card-hover {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}
/* 모달 hidden/flex 충돌 방지 (Tailwind 클래스 순서와 무관하게 항상 숨김) */
#main-popup-modal.hidden, #post-detail-modal.hidden { display: none !important; }
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
/* 협력병원 마크: 파일이 없으면 이름 글자로 대신 표시 */
.partner-logo { display: flex; align-items: center; }
.partner-logo-fallback { display: none; }
.partner-logo.is-missing .partner-logo-fallback {
    display: inline-block; padding: 6px 12px; border: 1px dashed #94A3B8; border-radius: 8px;
    color: #475569; font-size: 12px; font-weight: 700; white-space: nowrap;
}
