/* 합의한 브랜드 차이(참조 시안과 다르게 두기로 한 것, docs/research/parity-2026-11-05/report.md §6).
   여기 있는 규칙만 참조와 다르다. 새 차이를 만들 때는 이 파일에 이유와 함께 적는다. */

/* 1. 하위 사이트 헤더 = 작은 청약신문 로고 + 슬로건 + 큰 사이트 이름(참조는 단지 로고 그림 한 장). */
.brand.cs-site { flex: 0 1 auto; width: auto; min-width: 0; }
.cs-tlogo { display: flex; flex-direction: column; justify-content: center; min-width: 0; height: 74px; overflow: hidden; color: var(--color-text); }
.cs-tl1 { display: flex; align-items: center; gap: 10px; font-size: var(--font-small); font-weight: var(--weight-body); line-height: 1.3; white-space: nowrap; }
.cs-tl1 img { display: block; flex: 0 0 auto; width: auto; height: 18px; }
.cs-tl1 i { display: block; width: 44px; height: 1px; background: #949494; }
.cs-tl2 { overflow: hidden; font-size: 42px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; white-space: nowrap; text-overflow: ellipsis; }
/* 2. 허브 = 청약신문 공식 로고(참조 단지 로고 자리). */
.brand.cs-hub .brand-logo { width: 176px; height: 49px; object-fit: contain; object-position: left center; }
.brand, .brand img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* 모바일: 위 줄(참조 신문 로고 자리)에 작은 로고 + 슬로건, 아래 줄에 큰 사이트 이름. 고정 헤더가 그만큼 높다(합의). */
.cs-mast { display: flex; align-items: center; gap: 8px; min-width: 0; height: 20px; color: var(--color-text); font-size: 13px; white-space: nowrap; }
.cs-mast img { display: block; flex: 0 0 auto; width: auto; height: 18px; }
.cs-mast i { display: block; flex: 0 0 auto; width: 24px; height: 1px; background: #949494; }
.cs-mast span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cs-mast b { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 800; text-overflow: ellipsis; }
@media (max-width: 767px) {
  body .mobile-paper-brand.cs-mast { display: flex; width: calc(100% - 102px); aspect-ratio: auto; height: 48px; padding-bottom: 6px; align-items: flex-end; }
  body .mobile-paper-brand.cs-mast img { width: auto; height: 18px; }
  body .mobile-paper-brand.cs-mast i { margin-bottom: 9px; }
  body .brand.cs-site .mobile-brand, body .brand.cs-hub .mobile-brand { width: auto; height: auto; overflow: hidden; }
  body .brand.cs-site .mobile-brand-text { display: block; overflow: hidden; color: var(--color-text); font-size: 26px; font-weight: 800; letter-spacing: -.5px; line-height: 32px; white-space: nowrap; text-overflow: ellipsis; }
  body .brand.cs-hub .mobile-brand-image { width: auto; height: 32px; transform: none; }
}

/* 태블릿 폭(768~1024px): 참조는 로고 그림을 228px 칸에 넣는다. 우리 하위 사이트 로고는 글자라 이름이 잘리지 않게 칸을 글자 길이에 맞춘다. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.cs-ref .brand.cs-site { width: auto; max-width: 100%; }
}

/* 3. 알림 칸 4(빨간 칸) 그림은 관리자 설정이 있을 때만(참조는 휴대폰 그림 고정). 그림이 없으면 오른쪽 여백을 줄인다. */
.notice-bar .notice-banner:not(:has(.notice-art)) { padding-right: 20px; }

/* 4. 로그인 상태 표시(참조에 없는 기능): 로그인/로그아웃/마이페이지 전환과 알림 배지. */
[data-cs-auth][hidden], [data-cs-noti][hidden] { display: none !important; }
.cs-noti { display: inline-block; min-width: 16px; margin-left: 4px; padding: 0 4px; border-radius: 8px; background: var(--main-color1); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; line-height: 16px; text-align: center; vertical-align: 1px; }
