
/* =========================================
   1. 레이아웃 & 본문 (기존 적용 사항)
   ========================================= */

/* [1] 최상위 레이아웃 컨테이너: 무조건 화면 꽉 채우기 */
.content-wrapper,
.container-fluid,
.container-limited,
.wiki-overview {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 !important;
}

/* [2] 위키 본문 영역 확장 */
.wiki-page-details {
    flex-grow: 1 !important;
    flex-basis: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
}

/* [3] 제목 헤더 강제 확장 */
.wiki-page-header,
.js-wiki-page-header,
.detail-page-header,
.wiki-page-header header {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
}

/* [4] 위키 수정 모드 에디터 확장 */
.wiki-form .form-holder,
.wiki-form .row,
.wiki-form .col-md-9,
.wiki-form .gl-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}

/* [5] 사이드바 보정 */
.wiki-sidebar {
    flex-shrink: 0 !important;
}

/* [6] 상단 여백 제거 */
.layout-page {
    padding-top: 0 !important;
}

/* =========================================
   2. 댓글(Comments) & 에디터 영역 (강력 확장)
   ========================================= */

/* [7] 댓글 전체 컨테이너 확장 */
.wiki-comments,
.wiki-comments .gl-flex {
    max-width: 100% !important;
/*    width: 100% !important; */
}



/* [8] 타임라인(댓글 목록) 부모 컨테이너 확장 */
.notes,
.notes.timeline,
.timeline-entry,
.timeline-entry-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* [9] 에디터가 들어있는 콘텐츠 영역 (왼쪽 쏠림 해결 핵심) */
.timeline-content,
.timeline-content-form,
.note-form {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important; /* 왼쪽 여백 제거 */
    margin-right: 0 !important;
    padding-left: 0 !important;
}

/* [10] 실제 입력 폼(Form) 및 에디터 래퍼 확장 */
.new-note, 
.common-note-form,
.js-main-target-form,
.js-editor,
.md-area-wrapper,
.md-area,
.note-textarea {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    float: none !important;
}

/* [11] 에디터 툴바 및 내부 요소 확장 (제공해주신 소스 대응) */
.gl-w-full,
.editor-textarea,
div[data-testid="formatting-toolbar"],
div[data-testid="content-editor"] {
/*  width: 100% !important;
    max-width: 100% !important; */
}

/* [12] 아바타 영역 때문에 밀리는 현상 방지 (선택사항) */
.timeline-icon {
    display: none !important; /* 에디터 옆 아이콘 숨겨서 공간 확보 */
}
