/* ============================================
   Ewha Online Judge - Custom Styles
   ============================================ */

/* === 상단 흰 여백 === */
html {
    background: #ffffff !important;
}
body {
    padding-top: 16px !important;
    background-color: #ffffff !important;
}

/* === 상단 네비게이션 바 === */
#navigation,
#nav-list,
#nav-container {
    background: #2c2c2c !important;
}

#navigation {
    border-bottom: 1px solid #1B5E3A !important;
}

#nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    position: relative !important;
}

#nav-list {
    padding-left: 0 !important;
    text-align: center !important;
    display: block !important;
}

#nav-list > li.home-nav-element:nth-of-type(1) {
    position: absolute !important;
    left: 12px !important;
    top: 0 !important;
    margin: 0 !important;
}

#nav-list > li.home-nav-element:nth-of-type(2) {
    display: none !important;
}

#nav-list > li:not(.home-nav-element) {
    display: inline-block !important;
    float: none !important;
}

.ewha-logo-text {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 44px !important;
    padding: 0 4px !important;
    white-space: nowrap !important;
}

#nav-list > li > a {
    color: #FFD54F !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

#nav-list > li.home-nav-element > a {
    color: #ffffff !important;
}
#nav-list > li.home-nav-element > a:hover {
    background: transparent !important;
}

#nav-list > li:not(.home-nav-element) > a:hover,
#nav-list > li > a.active,
#nav-list > li:not(.home-nav-element):hover > a {
    background: #1B5E3A !important;
    color: #ffffff !important;
}

#user-links,
#user-links > ul {
    background: #2c2c2c !important;
}
#user-links a {
    color: #ffffff !important;
    font-weight: 700 !important;
}
#user-links a:hover {
    background: #1B5E3A !important;
    color: #ffffff !important;
}

#navicon {
    color: #ffffff !important;
}

#nav-list ul {
    background: #ffffff !important;
}
#nav-list ul li a {
    color: #333333 !important;
    background: #ffffff !important;
    font-weight: 400 !important;
}
#nav-list ul li a:hover {
    background: #1B5E3A !important;
    color: #ffffff !important;
}

/* ============================================
   댓글 영역 - 깔끔하게
   ============================================ */

/* 페이스북/트위터 공유 버튼 숨김 */
.share,
.share-buttons,
.fb_iframe_widget,
.twitter-share-button,
[class*="facebook"],
[class*="twitter"],
iframe[src*="facebook"],
iframe[src*="twitter"] {
    display: none !important;
}

/* 댓글 에디터: Ace 에디터 본체만 줄임 */
.section-martor .ace_editor {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
}

.section-martor .martor-preview {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
}

/* === 댓글 큰 아바타 숨김 === */
.comment-display .info .gravatar-main,
.comment-display .info .user-gravatar {
    display: none !important;
}

/* 아바타 빠지면서 vote 영역만 남도록 info 영역 정렬 조정 */
.comment-display .info {
    width: auto !important;
    min-width: 40px !important;
}

/* 댓글 헤더의 모바일용 작은 아바타도 숨김 (있을 경우) */
.comment-display .gravatar-mobile {
    display: none !important;
}

/* === 메인 페이지 Comment stream 사이드바 박스 숨김 === */
.blog-sidebar .blog-sidebox:has(h3 .fa-comments) {
    display: none !important;
}
