/*!* 글로벌 시니어를 위한 접근성 설정 *!*/
/*body {*/
/*    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;*/
/*    font-size: 16px;*/
/*    line-height: 1.6;*/
/*    color: #333;*/
/*}*/

/*.community-title {*/
/*    font-size: 2rem;*/
/*    font-weight: bold;*/
/*    color: #2c3e50;*/
/*}*/

/*!* 목록 아이템 *!*/
/*.community-item {*/
/*    padding: 1.5rem;*/
/*    margin-bottom: 1rem;*/
/*    border-radius: 8px;*/
/*    transition: all 0.3s ease;*/
/*    font-size: 16px;*/
/*}*/

/*.community-item:hover {*/
/*    background-color: #f8f9fa;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.community-item h5 {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 600;*/
/*    color: #2c3e50;*/
/*    margin-bottom: 0.5rem;*/
/*}*/

/*.community-meta {*/
/*    font-size: 0.9rem;*/
/*    color: #6c757d;*/
/*}*/

/*.community-meta i {*/
/*    margin-right: 0.25rem;*/
/*}*/

/*!* 본문 내용 *!*/
/*.community-content {*/
/*    font-size: 17px;*/
/*    line-height: 1.8;*/
/*    color: #333;*/
/*    min-height: 200px;*/
/*}*/

/*.community-content img {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    border-radius: 8px;*/
/*    margin: 1rem 0;*/
/*}*/

/*.community-content p {*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.community-content h1,*/
/*.community-content h2,*/
/*.community-content h3 {*/
/*    margin-top: 1.5rem;*/
/*    margin-bottom: 1rem;*/
/*    font-weight: 600;*/
/*}*/

/*!* 댓글 영역 *!*/
/*.comment-item {*/
/*    padding: 1rem;*/
/*    border-bottom: 1px solid #e9ecef;*/
/*    margin-left: 0;*/
/*    transition: background-color 0.2s;*/
/*}*/

/*.comment-item:hover {*/
/*    background-color: #f8f9fa;*/
/*}*/

/*.comment-item[data-depth="1"] {*/
/*    margin-left: 2rem;*/
/*    border-left: 3px solid #e9ecef;*/
/*}*/

/*.comment-item[data-depth="2"] {*/
/*    margin-left: 4rem;*/
/*    border-left: 3px solid #dee2e6;*/
/*}*/

/*.comment-item[data-depth="3"] {*/
/*    margin-left: 6rem;*/
/*    border-left: 3px solid #ced4da;*/
/*}*/

/*.comment-item.deleted {*/
/*    opacity: 0.6;*/
/*    background-color: #f8f9fa;*/
/*}*/

/*.comment-header {*/
/*    font-size: 0.95rem;*/
/*    margin-bottom: 0.5rem;*/
/*}*/

/*.comment-body {*/
/*    font-size: 16px;*/
/*    line-height: 1.6;*/
/*}*/

/*.comment-actions {*/
/*    margin-top: 0.5rem;*/
/*}*/

/*.comment-actions button {*/
/*    padding: 0.25rem 0.5rem;*/
/*    font-size: 0.875rem;*/
/*}*/

/*.reply-form {*/
/*    margin-top: 1rem;*/
/*    padding: 1rem;*/
/*    background-color: #f8f9fa;*/
/*    border-radius: 8px;*/
/*}*/

/*.replies {*/
/*    margin-top: 0.5rem;*/
/*}*/

/*!* 폼 요소 *!*/
/*.form-label {*/
/*    font-weight: 600;*/
/*    font-size: 1rem;*/
/*    margin-bottom: 0.5rem;*/
/*}*/

/*.form-control,*/
/*.form-select {*/
/*    font-size: 16px;*/
/*    padding: 0.75rem 1rem;*/
/*    border-radius: 8px;*/
/*}*/

/*.btn {*/
/*    font-size: 16px;*/
/*    padding: 0.75rem 1.5rem;*/
/*    border-radius: 8px;*/
/*    font-weight: 500;*/
/*}*/

/*.btn-lg {*/
/*    font-size: 18px;*/
/*    padding: 1rem 2rem;*/
/*}*/

/*!* 페이지네이션 *!*/
/*.pagination {*/
/*    font-size: 16px;*/
/*}*/

/*.page-link {*/
/*    padding: 0.75rem 1rem;*/
/*    color: #2c3e50;*/
/*}*/

/*.page-item.active .page-link {*/
/*    background-color: #2c3e50;*/
/*    border-color: #2c3e50;*/
/*}*/

/*!* 카드 스타일 *!*/
/*.card {*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);*/
/*    border: none;*/
/*}*/

/*.card-header {*/
/*    border-top-left-radius: 12px;*/
/*    border-top-right-radius: 12px;*/
/*    font-size: 1.1rem;*/
/*    padding: 1.25rem;*/
/*}*/

/*!* 알림 메시지 *!*/
/*.alert {*/
/*    font-size: 16px;*/
/*    border-radius: 8px;*/
/*}*/

/*!* SunEditor 커스터마이징 *!*/
/*.sun-editor {*/
/*    border-radius: 8px;*/
/*}*/

/*.sun-editor .se-toolbar {*/
/*    background-color: #f8f9fa;*/
/*    border-top-left-radius: 8px;*/
/*    border-top-right-radius: 8px;*/
/*}*/

/*!* 반응형 디자인 *!*/
/*@media (max-width: 768px) {*/
/*    body {*/
/*        font-size: 18px;*/
/*    }*/

/*    .community-title {*/
/*        font-size: 1.75rem;*/
/*    }*/

/*    .community-item h5 {*/
/*        font-size: 1.1rem;*/
/*    }*/

/*    .community-content {*/
/*        font-size: 18px;*/
/*    }*/

/*    .comment-item[data-depth="1"] {*/
/*        margin-left: 1rem;*/
/*    }*/

/*    .comment-item[data-depth="2"] {*/
/*        margin-left: 2rem;*/
/*    }*/

/*    .comment-item[data-depth="3"] {*/
/*        margin-left: 3rem;*/
/*    }*/

/*    .btn {*/
/*        font-size: 18px;*/
/*    }*/
/*}*/

/*!* 접근성 개선 *!*/
/*a:focus,*/
/*button:focus,*/
/*input:focus,*/
/*textarea:focus {*/
/*    outline: 3px solid #0d6efd;*/
/*    outline-offset: 2px;*/
/*}*/

/*!* 고대비 모드 지원 *!*/
/*@media (prefers-contrast: high) {*/
/*    .community-item {*/
/*        border: 2px solid #000;*/
/*    }*/

/*    .comment-item {*/
/*        border-bottom: 2px solid #000;*/
/*    }*/
/*}*/

/*!* 관리자 페이지 스타일 *!*/
/*.table th {*/
/*    font-weight: 600;*/
/*    font-size: 0.95rem;*/
/*}*/

/*.table-secondary {*/
/*    opacity: 0.7;*/
/*}*/

/*.btn-group-sm .btn {*/
/*    padding: 0.25rem 0.5rem;*/
/*    font-size: 0.875rem;*/
/*}*/

/*!* 댓글 트리 구조 개선 *!*/
/*.comment-tree {*/
/*    border-bottom: 1px solid #e9ecef;*/
/*}*/

/*.comment-tree:last-child {*/
/*    border-bottom: none;*/
/*}*/

/*.comment-item {*/
/*    padding: 1.25rem;*/
/*    transition: background-color 0.2s;*/
/*}*/

/*.comment-item:hover {*/
/*    background-color: #f8f9fa;*/
/*}*/

/*.comment-item[data-depth="1"] {*/
/*    margin-left: 2.5rem;*/
/*    border-left: 3px solid #dee2e6;*/
/*    padding-left: 1rem;*/
/*}*/

/*.comment-item[data-depth="2"] {*/
/*    margin-left: 5rem;*/
/*    border-left: 3px solid #ced4da;*/
/*    padding-left: 1rem;*/
/*}*/

/*.comment-item[data-depth="3"] {*/
/*    margin-left: 7.5rem;*/
/*    border-left: 3px solid #adb5bd;*/
/*    padding-left: 1rem;*/
/*}*/

/*.comment-item.deleted {*/
/*    background-color: #f8f9fa;*/
/*    opacity: 0.6;*/
/*}*/

/*.comment-author {*/
/*    font-size: 1rem;*/
/*    color: #2c3e50;*/
/*}*/

/*.comment-date {*/
/*    font-size: 0.875rem;*/
/*}*/

/*.comment-text {*/
/*    font-size: 16px;*/
/*    line-height: 1.7;*/
/*    color: #333;*/
/*    word-wrap: break-word;*/
/*}*/

/*.comment-actions {*/
/*    font-size: 0.875rem;*/
/*}*/

/*.comment-actions button {*/
/*    font-size: 0.875rem;*/
/*    padding: 0.25rem 0;*/
/*}*/

/*.reply-form {*/
/*    margin-left: 1rem;*/
/*}*/

/*!* 반응형 댓글 *!*/
/*@media (max-width: 768px) {*/
/*    .comment-item[data-depth="1"] {*/
/*        margin-left: 1.5rem;*/
/*    }*/

/*    .comment-item[data-depth="2"] {*/
/*        margin-left: 3rem;*/
/*    }*/

/*    .comment-item[data-depth="3"] {*/
/*        margin-left: 4.5rem;*/
/*    }*/

/*    .comment-text {*/
/*        font-size: 17px;*/
/*    }*/
/*}*/

/* view - 이미지 크기 제한 (우선순위 강화) */
.community-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.community-content img,
.community-content figure img,
.community-content .se-component img,
.community-content .se-image-container img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 1rem 0 !important;
}

.community-content figure,
.community-content .se-component,
.community-content .se-image-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 1rem 0 !important;
}

.community-content .se-component.se-image-container {
    max-width: 100% !important;
    overflow: hidden !important;
}

.community-content table {
    max-width: 100% !important;
    overflow-x: auto !important;
    display: block !important;
}

/* 추가: card-body도 overflow 제한 */
.card-body {
    overflow-x: hidden;
}

.card-body .community-content {
    max-width: 100%;
    overflow-x: hidden;
}