/* StrDexInt 사이트 CSS - g6가 테마 CSS 뒤에 불러온다 (lib/site_assets.py)
   레이아웃, 글꼴 크기, 글 본문 모양, 목차, 배너 스킨은 g6 basic 테마의 기본값이다.
   여기에는 이 사이트만의 색, 배경, 첫 화면 배치, 회원가입 숨김만 둔다. */

/* 사이트 색 (g6 default.css 맨 위 주석의 변수): 파비콘과 같은 남색 + 금색 */
:root {
    --hdBg: linear-gradient(180deg, #2A3658, #1C2541);
    --hdAccent: #C9A227;
    --hdShadow: 0 4px 14px rgba(0, 0, 0, .25);
    --ftBg: linear-gradient(180deg, #1C2541, #131A2E);
    --ftAccent: #C9A227;
    --ftLinkColor: #D5DBEA;
    --ftLinkHover: #E6C35C;
    --ftCopyBarBg: #0E1424;
    --ftCopyColor: #8A94AE;
    --accentColor: #4F94F7;
}

/* 배경: WoW 포에버 시네마틱 스틸을 흐리게 해 화면에 고정 (그림은 brand/make_background.py로 만든다)
   반투명하게 깔아 아래의 페이지 배경색(--bodyBg)이 비치므로 밝은·어두운 모드 모두 차분하게 보인다. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: url("/static/site/bg.jpg?v=1") center / cover no-repeat;
    opacity: .55;
}

/* 메인 화면 최신글: 와우 정보(넓게)와 공지사항 두 칸 (templates/index.html) */
.sdi_main_boards .lt_wr.lt_wow { width: 66%; }
.sdi_main_boards .lt_wr.lt_notice { width: 32%; margin-left: 2%; }
@media (max-width: 1100px) {
    .sdi_main_boards .lt_wr.lt_wow,
    .sdi_main_boards .lt_wr.lt_notice { width: 100%; margin-left: 0; }
}
/* 첫 화면 본문 아래쪽 가운데에 WoW 포에버 시네마틱 스틸 5를 바탕으로 (가장자리 블러·투명은 그림에 미리, brand/make_main_art.py) */
#container:has(.sdi_main_boards) {
    background: url("/static/site/main-art.webp?v=2") center bottom 20px / min(70%, 770px) auto no-repeat, var(--contBg);
}

/* 회원가입을 받지 않으므로 손님에게 로그인·회원가입 UI를 보이지 않는다. 관리자는 /bbs/login으로 직접 들어간다.
   머리말 프로필 메뉴(templates/bbs/profile_menu.html)와 사이드 로그인 상자(templates/bbs/outlogin_before.html)는
   템플릿에서 뺐고, 여기서는 로그인 페이지 등에 남은 회원가입 링크만 숨긴다. */
a[href="/bbs/register"] { display: none !important; }

/* 글 본문: 첫 번째 h2 바로 뒤 목록(wow-article 글의 "세 줄 요약")은 상자로 */
.bo_view #article_contents.ckeditor4 h2:first-of-type + ul {
    padding: 14px 20px 14px 38px; border-radius: 8px; background: rgba(79, 148, 247, .08); border: 1px solid rgba(79, 148, 247, .25);
}
