

:root {
  --bg: #0a0a0f;
  --bg2: #111119;
  --bg3: #1b1b26;
  --border: rgba(255,255,255,0.08);
  --text: #eaeaf5;
  --text2: #8888a8;
  --accent: #00c9a7;
  --accent2: #0096c7;
  --glow: rgba(0,201,167,0.12);
  --r: 14px;
}

html, body, #page, .site, .site-content, #content,
#primary, #secondary, .widget-area, main,
.site-main, .content-area {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── 헤더 ── */
#masthead, .site-header, header.site-header {
  background: rgba(10,10,15,0.97) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(24px) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  box-shadow: none !important;
}

.site-branding { padding: 1rem 2rem !important; }

.site-title, .site-title a {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  letter-spacing: -0.03em !important;
  font-family: 'Pretendard', sans-serif !important;
}

.site-title a::after {
  content: " 🌙";
  font-size: 1rem;
}

.site-description {
  color: var(--text2) !important;
  font-size: 0.78rem !important;
  margin: 0 !important;
  font-family: 'Pretendard', sans-serif !important;
}

/* ── 네비게이션 ── */
#site-navigation, .main-navigation,
.main-navigation > div, .main-navigation .menu-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.main-navigation ul, .main-navigation ul li {
  background: transparent !important;
  border: none !important;
}

.main-navigation ul li a {
  color: var(--text2) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 20px !important;
  transition: all 0.2s !important;
  font-family: 'Pretendard', sans-serif !important;
  background: transparent !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--accent) !important;
  background: var(--glow) !important;
}

/* ── 레이아웃 ── */
.site-content { padding: 2rem !important; }
#content { max-width: 1200px !important; margin: 0 auto !important; }

/* ── 포스트 카드 ── */
.post, article, .hentry,
.post-inner, .post-wrapper {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
  overflow: hidden !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
  margin-bottom: 1.5rem !important;
  box-shadow: none !important;
}

article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(0,201,167,0.12) !important;
  border-color: rgba(0,201,167,0.3) !important;
}

/* 썸네일 */
.post-thumbnail img, .post-thumb img,
.wp-post-image, article img.wp-post-image {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s !important;
}

article:hover .wp-post-image { transform: scale(1.04) !important; }

/* 카드 내용 영역 */
.entry-header, .post-content, .entry-content,
.post-header, .post-body {
  background: var(--bg2) !important;
  padding: 1.4rem 1.6rem !important;
}

/* 제목 */
.entry-title, .entry-title a,
h1.entry-title, h2.entry-title, h3.entry-title {
  color: var(--text) !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
  font-family: 'Pretendard', sans-serif !important;
  margin: 0 0 0.7rem !important;
}

.entry-title a:hover { color: var(--accent) !important; }

/* 메타 */
.entry-meta, .post-meta, .posted-on, .byline,
.cat-links, .tags-links, .post-categories {
  color: var(--text2) !important;
  font-size: 0.78rem !important;
  background: transparent !important;
  font-family: 'Pretendard', sans-serif !important;
}

.entry-meta a, .post-meta a { color: var(--text2) !important; text-decoration: none !important; }

.cat-links a, .post-categories a {
  background: var(--glow) !important;
  color: var(--accent) !important;
  padding: 0.18rem 0.65rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
}

/* 요약 */
.entry-summary p, .entry-summary, .post-excerpt {
  color: var(--text2) !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
  font-family: 'Pretendard', sans-serif !important;
}

/* Read more */
.more-link, .read-more, a.more-link {
  display: inline-block !important;
  margin-top: 0.8rem !important;
  color: var(--accent) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0,201,167,0.3) !important;
  padding: 0.3rem 0.8rem !important;
  border-radius: 20px !important;
  background: transparent !important;
  transition: all 0.2s !important;
}
.more-link:hover { background: var(--glow) !important; }

/* ── 단일 포스트 ── */
.single-post .entry-title, .single .entry-title {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--text) !important;
  line-height: 1.35 !important;
}

.single .entry-content p, .page .entry-content p {
  color: var(--text) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  font-family: 'Pretendard', sans-serif !important;
}

.single .entry-content h3, .entry-content h3 {
  color: var(--accent) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding-left: 0.8rem !important;
  border-left: 3px solid var(--accent) !important;
  margin: 1.8rem 0 0.7rem !important;
  font-family: 'Pretendard', sans-serif !important;
}

.single .entry-content h2, .entry-content h2 {
  color: var(--text) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  margin: 2rem 0 1rem !important;
  letter-spacing: -0.02em !important;
  font-family: 'Pretendard', sans-serif !important;
}

.entry-content strong {
  color: var(--text) !important;
  font-weight: 700 !important;
}

/* 해시태그 */
.entry-content p:last-of-type {
  background: var(--bg3) !important;
  padding: 1rem 1.2rem !important;
  border-radius: 10px !important;
  color: var(--text2) !important;
  font-size: 0.85rem !important;
  line-height: 2 !important;
}

/* ── 사이드바 ── */
.widget, aside.widget {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  padding: 1.4rem !important;
  margin-bottom: 1.2rem !important;
  box-shadow: none !important;
  color: var(--text) !important;
}

.widget-title, .widget .widget-title {
  color: var(--text) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 0.6rem !important;
  margin-bottom: 1rem !important;
  font-family: 'Pretendard', sans-serif !important;
}

.widget ul li {
  color: var(--text2) !important;
  font-size: 0.86rem !important;
  padding: 0.3rem 0 !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
  font-family: 'Pretendard', sans-serif !important;
}

.widget ul li a {
  color: var(--text2) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.widget ul li a:hover { color: var(--accent) !important; }

/* 검색 */
.search-form input[type="search"],
.widget input[type="text"],
.widget input[type="search"] {
  background: var(--bg3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 0.55rem 1rem !important;
  font-family: 'Pretendard', sans-serif !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.search-form input::placeholder { color: var(--text2) !important; }

.search-submit, .search-form button,
.widget input[type="submit"] {
  background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.55rem 1.2rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 0.5rem !important;
  width: 100% !important;
  font-family: 'Pretendard', sans-serif !important;
  font-size: 0.88rem !important;
}

/* ── 푸터 ── */
#colophon, .site-footer, footer.site-footer {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text2) !important;
  padding: 2rem !important;
  text-align: center !important;
  font-size: 0.82rem !important;
  font-family: 'Pretendard', sans-serif !important;
}

.site-footer a { color: var(--accent) !important; }

/* ── 페이지네이션 ── */
.pagination, .nav-links, .posts-navigation {
  background: transparent !important;
  text-align: center !important;
  padding: 2rem 0 !important;
}

.page-numbers, .pagination a {
  background: var(--bg2) !important;
  color: var(--text2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.2rem !important;
  text-decoration: none !important;
  font-family: 'Pretendard', sans-serif !important;
}

.page-numbers.current, .page-numbers:hover {
  background: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
}

/* ── 일반 링크 ── */
a { color: var(--accent) !important; }
a:visited { color: var(--text2) !important; }
a:hover { color: var(--accent2) !important; }

/* ── 입력 폼 ── */
input, textarea, select {
  background: var(--bg3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-family: 'Pretendard', sans-serif !important;
  border-radius: 8px !important;
}

/* 스크롤바 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* 반응형 */
@media (max-width: 768px) {
  .site-branding { padding: 0.8rem 1rem !important; }
  .site-content { padding: 1rem !important; }
  .single .entry-title { font-size: 1.4rem !important; }
  .entry-header, .post-content { padding: 1rem !important; }
}

/* ── 테마 고유 흰 박스 강제 다크 ── */
.adore-header-wrapper,
.adore-header-inner,
.navigation-search-form,
.post-item, .post-list, .post-item.post-list,
.read-time-comment,
.post-thumbnail-wrapper,
.post-content-wrapper,
.post-meta-wrapper,
.post-category-wrapper,
.glowing-blog-scroll-to-top,
.adore-footer-wrapper,
.adore-sidebar-widget,
.widget_block,
.wp-block-group,
.wp-block-search__inside-wrapper {
  background: var(--bg2) !important;
  background-color: var(--bg2) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.post-item, .post-list {
  border-radius: var(--r) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden !important;
  margin-bottom: 1.5rem !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}

.post-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(0,201,167,0.1) !important;
  border-color: rgba(0,201,167,0.25) !important;
}

.read-time-comment {
  background: var(--bg3) !important;
  border-top: 1px solid var(--border) !important;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.78rem !important;
  color: var(--text2) !important;
}

.read-time-comment a,
.read-time-comment span {
  color: var(--text2) !important;
}

.adore-header-wrapper {
  background: rgba(10,10,15,0.97) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(20px) !important;
}

.navigation-search-form input {
  background: var(--bg3) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

/* 스크롤 버튼 */
.glowing-blog-scroll-to-top {
  background: var(--accent) !important;
  color: #000 !important;
  border-radius: 50% !important;
  border: none !important;
}
