/* ==========================================================
   DANO 정보 매거진 — Airbnb Design Language 적용
   ========================================================== */

/* ── 디자인 토큰 ─────────────────────────────────────────── */
:root {
  /* Brand */
  --color-primary:          #ff385c;
  --color-primary-active:   #e00b41;
  --color-primary-disabled: #ffd1da;
  --color-primary-soft:     #fff0f3;

  /* Surface */
  --color-canvas:           #ffffff;
  --color-surface-soft:     #f7f7f7;
  --color-surface-strong:   #f2f2f2;

  /* Border */
  --color-hairline:         #dddddd;
  --color-hairline-soft:    #ebebeb;

  /* Text */
  --color-ink:              #222222;
  --color-body:             #3f3f3f;
  --color-muted:            #6a6a6a;
  --color-on-primary:       #ffffff;

  /* Shape */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadow — 단 1티어 */
  --shadow-card: rgba(0,0,0,.02) 0 0 0 1px,
                 rgba(0,0,0,.04) 0 2px 6px 0,
                 rgba(0,0,0,.10) 0 4px 8px 0;

  /* Spacing */
  --sp-xs:      4px;
  --sp-sm:      8px;
  --sp-md:      12px;
  --sp-base:    16px;
  --sp-lg:      24px;
  --sp-xl:      32px;
  --sp-section: 64px;

  /* Layout */
  --max-width: 1280px;
  --font: 'Inter', 'Nanum Gothic', -apple-system, system-ui, 'Helvetica Neue', sans-serif;
}

/* ── 리셋 ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-canvas);
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-ink); text-decoration: none; }
a:hover { color: var(--color-primary); }

img { max-width: 100%; height: auto; display: block; }

/* Astra 기본 요소 제거 */
.ast-container, .ast-flex-1-1, .ast-row, #ast-fixed-footer { display: none !important; }

/* ── 페이지 래퍼 ─────────────────────────────────────────── */
.dano-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-canvas);
}

/* =========================================================
   헤더 — 흰 캔버스 + 잉크 텍스트 (Airbnb 스타일)
   ========================================================= */
.dano-header {
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.dano-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

/* 로고 — Rausch 강조 */
.dano-logo { flex-shrink: 0; }

.dano-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #1E3932;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.dano-logo-text:hover { color: #00754A; text-decoration: none; }

/* 햄버거 버튼 — 데스크탑에서 완전 숨김 */
.dano-menu-toggle { display: none; }

/* 모바일에서만 활성화 (별도 미디어쿼리에서 선언) */

/* 햄버거 3선 */
.dano-hamburger {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: background .2s;
}
.dano-hamburger::before,
.dano-hamburger::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform .25s, top .25s;
}
.dano-hamburger::before { top: -7px; }
.dano-hamburger::after  { top:  7px; }

/* 열림 → X 변환 */
.dano-menu-toggle[aria-expanded="true"] .dano-hamburger { background: transparent; }
.dano-menu-toggle[aria-expanded="true"] .dano-hamburger::before { top: 0; transform: rotate(45deg); }
.dano-menu-toggle[aria-expanded="true"] .dano-hamburger::after  { top: 0; transform: rotate(-45deg); }

/* 네비게이션 */
.dano-nav { margin-left: auto; }

.dano-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.dano-menu a {
  display: block;
  padding: 8px var(--sp-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.dano-menu a:hover {
  background: var(--color-surface-soft);
  color: var(--color-primary);
  text-decoration: none;
}
.dano-menu .current-menu-item > a {
  color: var(--color-primary);
  position: relative;
}
.dano-menu .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--sp-md);
  right: var(--sp-md);
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* =========================================================
   메인 레이아웃
   ========================================================= */
.dano-home-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-lg);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg);
  align-items: start;
}

/* =========================================================
   카테고리 섹션 카드
   ========================================================= */
.dano-cat-section {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-base);
  overflow: hidden;
  transition: box-shadow .2s;
}
.dano-cat-section:hover { box-shadow: var(--shadow-card); }

.dano-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-base);
  background: var(--color-surface-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
  border-left: 3px solid var(--color-primary);  /* Rausch 강조선 */
}

.dano-cat-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.dano-cat-title a { color: var(--color-ink); }
.dano-cat-title a:hover { color: var(--color-primary); text-decoration: none; }

.dano-cat-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-full);
  transition: border-color .15s, color .15s;
}
.dano-cat-more:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* =========================================================
   글 목록
   ========================================================= */
.dano-post-list { list-style: none; }

.dano-post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px var(--sp-base);
  border-bottom: 1px solid var(--color-hairline-soft);
  gap: var(--sp-md);
  transition: background .12s;
}
.dano-post-item:last-child { border-bottom: none; }
.dano-post-item:hover { background: var(--color-surface-soft); }

.dano-post-link {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .12s;
}
.dano-post-link:hover { color: var(--color-primary); text-decoration: none; }

.dano-post-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.dano-post-comments {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* =========================================================
   페이지네이션
   ========================================================= */
.dano-pagination {
  padding: var(--sp-sm) var(--sp-base);
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-hairline-soft);
}

.dano-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.dano-pagination .nav-links,
.dano-pagination .pagination,
.dano-pagination .wp-pagenavi,
.dano-pagination .posts-navigation .nav-links,
.dano-cat-section .navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.dano-pagination ul li a,
.dano-pagination ul li span,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 var(--sp-sm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  background: var(--color-canvas);
  transition: border-color .15s, color .15s;
}
.page-numbers:hover { border-color: var(--color-ink); }

.page-numbers.current,
.dano-pagination .current {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

/* =========================================================
   사이드바
   ========================================================= */
.dano-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-base);
  position: sticky;
  top: calc(72px + var(--sp-base));  /* 헤더 높이 + 여백 */
}

.dano-widget {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.dano-widget:hover { box-shadow: var(--shadow-card); }

.dano-widget-title {
  margin: 0;
  padding: 10px var(--sp-base);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: #1E3932;
  letter-spacing: 0.1px;
}

/* 인기글 */
.dano-popular-list { list-style: none; }

.dano-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px var(--sp-base);
  border-bottom: 1px solid var(--color-hairline-soft);
  transition: background .12s;
}
.dano-popular-item:last-child { border-bottom: none; }
.dano-popular-item:hover { background: var(--color-surface-soft); }

.dano-popular-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.dano-popular-info { flex: 1; min-width: 0; }

.dano-popular-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-body);
  line-height: 1.4;
}
.dano-popular-link:hover { color: var(--color-primary); text-decoration: none; }

.dano-popular-date {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 3px;
}

/* 달력 위젯 */
.dano-widget-calendar .wp-calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dano-widget-calendar .wp-calendar-table caption {
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  background: var(--color-surface-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.dano-widget-calendar .wp-calendar-table th {
  text-align: center;
  padding: 6px 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.dano-widget-calendar .wp-calendar-table td {
  text-align: center;
  padding: 4px 2px;
}
.dano-widget-calendar .wp-calendar-table a { color: var(--color-primary); font-weight: 600; }
.dano-widget-calendar #today {
  background: var(--color-primary-soft);
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--color-primary);
}
.wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  padding: 6px var(--sp-sm);
  font-size: 12px;
  border-top: 1px solid var(--color-hairline-soft);
}
.wp-calendar-nav a { color: var(--color-primary); font-weight: 500; }

/* 카테고리 목록 */
.dano-cat-list { list-style: none; }
.dano-cat-list li { border-bottom: 1px solid var(--color-hairline-soft); }
.dano-cat-list li:last-child { border-bottom: none; }
.dano-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px var(--sp-base);
  font-size: 14px;
  color: var(--color-body);
  transition: background .12s, color .12s;
}
.dano-cat-list a:hover {
  background: var(--color-surface-soft);
  color: var(--color-primary);
  text-decoration: none;
}
.dano-cat-list .cat-item-count {
  color: var(--color-muted);
  font-size: 12px;
  background: var(--color-surface-strong);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* =========================================================
   싱글 포스트
   ========================================================= */
.dano-single-article {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-base);
}

.dano-single-header {
  padding: var(--sp-xl) var(--sp-xl) var(--sp-base);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.dano-single-cat a {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-sm);
  text-decoration: none;
  letter-spacing: 0.1px;
}
.dano-single-cat a:hover { background: var(--color-primary); color: var(--color-on-primary); }

.dano-single-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 var(--sp-md);
  color: var(--color-ink);
  letter-spacing: -0.3px;
}

.dano-single-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-base);
  font-size: 13px;
  color: var(--color-muted);
}

.dano-single-thumbnail { overflow: hidden; max-height: 440px; }
.dano-feat-img { width: 100%; height: 100%; object-fit: cover; }

.dano-single-content {
  padding: var(--sp-xl);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-body);
}
.dano-single-content p { margin-bottom: 1.1em; }
.dano-single-content h2,
.dano-single-content h3 {
  margin: 1.6em 0 .6em;
  color: var(--color-ink);
  font-weight: 700;
}
.dano-single-content a { color: var(--color-primary); text-decoration: underline; }

/* 태그 */
.dano-single-tags {
  padding: var(--sp-md) var(--sp-xl) var(--sp-base);
  border-top: 1px solid var(--color-hairline-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.dano-tag {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 13px;
  color: var(--color-muted);
  transition: border-color .15s, color .15s;
}
.dano-tag:hover { color: var(--color-primary); border-color: var(--color-primary); text-decoration: none; }

/* 이전/다음 글 */
.dano-post-nav {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-xl);
  border-top: 1px solid var(--color-hairline-soft);
  background: var(--color-surface-soft);
  font-size: 13px;
  gap: var(--sp-base);
}
.dano-prev-post, .dano-next-post { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dano-next-post { text-align: right; }
.dano-post-nav a { color: var(--color-body); font-weight: 500; }
.dano-post-nav a:hover { color: var(--color-primary); text-decoration: none; }

/* =========================================================
   아카이브
   ========================================================= */
.dano-archive-header {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-base) var(--sp-xl);
  margin-bottom: var(--sp-base);
  border-left: 3px solid var(--color-primary);
}
.dano-archive-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.2px;
}
.dano-archive-desc { margin-top: 6px; font-size: 14px; color: var(--color-muted); }
.dano-no-posts {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  color: var(--color-muted);
}

/* =========================================================
   최신글 — 에펨코리아 스타일
   ========================================================= */

/* 외부 컨테이너 */
.dano-latest-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg) var(--sp-xl);
}

/* 섹션 박스 */
.dano-latest-posts {
  background: var(--color-canvas);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* 헤더 타이틀 바 */
.dano-latest-header {
  background: #1E3932;
  color: #ffffff;
  padding: 10px var(--sp-base);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* 목록 */
.dano-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 각 행 */
.dano-latest-item {
  display: flex;
  align-items: center;
  padding: 7px var(--sp-base);
  border-bottom: 1px solid #f0f0f0;
  gap: var(--sp-sm);
  transition: background .1s;
  min-width: 0;
}
.dano-latest-item:last-child { border-bottom: none; }
.dano-latest-item:hover { background: #f5f5f5; }

/* 현재 글 강조 */
.dano-latest-item.is-current { background: #f0f7f4; }
.dano-latest-item.is-current .dano-latest-title {
  color: #1E3932;
  font-weight: 700;
}

/* 카테고리 배지 */
.dano-latest-cat {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #00754A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 68px;
  min-width: 68px;
  display: inline-block;
}
.dano-latest-cat:hover { color: #1E3932; text-decoration: none; }

/* 구분선 */
.dano-latest-cat::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #ddd;
  margin-left: 8px;
  vertical-align: middle;
}

/* 제목 */
.dano-latest-title {
  flex: 1;
  font-size: 14px;
  color: var(--color-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.4;
}
.dano-latest-title:hover { color: #1E3932; text-decoration: none; }

/* 새 글 뱃지 (현재 보는 글) */
.dano-latest-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #ff385c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* 댓글수 [숫자] */
.dano-latest-comments {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
  min-width: 28px;
  text-align: right;
}
.dano-latest-comments--zero {
  color: var(--color-muted);
  font-weight: 400;
}

/* 작성시간 */
.dano-latest-time {
  flex-shrink: 0;
  font-size: 12px;
  color: #888888;
  white-space: nowrap;
  min-width: 52px;
  text-align: right;
}

/* =========================================================
   푸터 — 흰 캔버스 (Airbnb 스타일)
   ========================================================= */
.dano-footer {
  background: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
  margin-top: auto;
}

.dano-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-base) var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-base);
  font-size: 13px;
  color: var(--color-muted);
}

.dano-footer-copy a { color: var(--color-muted); }
.dano-footer-copy a:hover { color: var(--color-primary); text-decoration: none; }

.dano-rss-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-muted);
  padding: 6px 14px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.dano-rss-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* =========================================================
   반응형 — 태블릿 (1024px 이하)
   ========================================================= */
@media (max-width: 1024px) {
  .dano-home-layout {
    grid-template-columns: 1fr 260px;
    gap: var(--sp-base);
    padding: var(--sp-base);
  }
  .dano-sidebar { top: calc(72px + var(--sp-base)); }
}

/* =========================================================
   반응형 — 모바일 (768px 이하)
   ========================================================= */
@media (max-width: 768px) {

  /* 헤더 */
  .dano-header-inner { height: 56px; padding: 0 var(--sp-base); gap: var(--sp-base); }
  .dano-logo-text { font-size: 16px; }

  /* 햄버거 버튼 — 모바일 전용 표시 */
  .dano-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  /* 드롭다운 메뉴 */
  .dano-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-canvas);
    border-top: 1px solid var(--color-hairline);
    border-bottom: 1px solid var(--color-hairline);
    box-shadow: var(--shadow-card);
    z-index: 999;
    padding: var(--sp-sm) 0;
  }
  .dano-nav.is-open { display: block; }

  .dano-menu { flex-direction: column; gap: 0; }
  .dano-menu a {
    padding: 14px var(--sp-lg);
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid var(--color-hairline-soft);
    color: var(--color-ink);
  }
  .dano-menu li:last-child a { border-bottom: none; }
  .dano-menu .current-menu-item > a::after { display: none; }

  /* 레이아웃 — 1컬럼, 본문 100% */
  .dano-home-layout { display: block; padding: var(--sp-sm); }
  .dano-main { width: 100%; }

  /* 사이드바 모바일 완전 숨김 */
  .dano-sidebar { display: none !important; }

  /* 카드 */
  .dano-cat-section { margin-bottom: var(--sp-sm); border-radius: var(--radius-sm); }
  .dano-cat-section:hover { box-shadow: none; }
  .dano-cat-header { padding: 10px var(--sp-md); }
  .dano-cat-title { font-size: 14px; }

  /* 글 목록 */
  .dano-post-item { padding: 10px var(--sp-md); gap: var(--sp-sm); }
  .dano-post-link { font-size: 13px; }
  .dano-post-meta { font-size: 11px; gap: 5px; }

  /* 싱글 */
  .dano-single-header { padding: var(--sp-base); }
  .dano-single-title { font-size: 18px; }
  .dano-single-content { padding: var(--sp-base); font-size: 15px; }
  .dano-single-meta { font-size: 11px; gap: var(--sp-sm); flex-wrap: wrap; }
  .dano-single-tags { padding: var(--sp-sm) var(--sp-base); }
  .dano-post-nav { padding: var(--sp-sm) var(--sp-base); font-size: 12px; }
  .dano-prev-post, .dano-next-post { max-width: 100%; }

  /* 아카이브 */
  .dano-archive-header { padding: var(--sp-md); border-radius: var(--radius-sm); }
  .dano-archive-title { font-size: 17px; }

  /* 페이징 */
  .dano-pagination { padding: var(--sp-sm) var(--sp-md); }

  /* 푸터 */
  .dano-footer-inner { flex-direction: column; text-align: center; gap: var(--sp-sm); padding: var(--sp-base); }

  /* 최신글 모바일 */
  .dano-latest-wrap { padding: 0 var(--sp-sm) var(--sp-base); }
  .dano-latest-item { padding: 8px var(--sp-md); gap: 6px; }
  .dano-latest-cat {
    width: 52px;
    min-width: 52px;
    font-size: 11px;
  }
  .dano-latest-title { font-size: 13px; }
  .dano-latest-comments { font-size: 12px; min-width: 24px; }
  .dano-latest-time { font-size: 11px; min-width: 44px; }
}

/* =========================================================
   반응형 — 소형 모바일 (480px 이하)
   ========================================================= */
@media (max-width: 480px) {

  .dano-header-inner { height: 52px; padding: 0 var(--sp-md); }
  .dano-logo-text { font-size: 15px; }
  .dano-nav { top: 52px; }

  .dano-post-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px var(--sp-md);
  }
  .dano-post-link {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .dano-single-title { font-size: 16px; }
  .dano-single-content { font-size: 14px; padding: var(--sp-md); }

  body { font-size: 14px; }
}
/* DANO V2 mobile information magazine */
:root {
  --dano-bg: #ffffff;
  --dano-text: #080808;
  --dano-blue: #146EF5;
  --dano-border: #D8D8D8;
  --dano-muted: #6b7280;
  --dano-soft: #f6f8fb;
  --dano-purple: #7A3DFF;
  --dano-radius: 8px;
  --dano-shadow: 0 30px 18px rgba(0,0,0,0.04), 0 13px 13px rgba(0,0,0,0.08), 0 3px 7px rgba(0,0,0,0.09);
}

html,
body {
  background: var(--dano-bg) !important;
  color: var(--dano-text) !important;
  font-family: "Pretendard", Arial, sans-serif !important;
  letter-spacing: 0;
}

.dano-page-wrapper,
.dano-content-wrapper,
.ast-container,
.site-content {
  background: #fff !important;
}

.dano-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--dano-border);
  box-shadow: none;
}

.dano-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.dano-logo-text {
  color: var(--dano-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.dano-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dano-header-actions__subscribe,
.dano-subscribe-button,
.dano-search-form button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--dano-radius);
  background: var(--dano-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease;
}

.dano-header-actions__subscribe:hover,
.dano-subscribe-button:hover,
.dano-search-form button:hover {
  color: #fff;
  transform: translateY(-2px);
}

.dano-menu-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--dano-border);
  border-radius: var(--dano-radius);
  background: #fff;
}

.dano-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--dano-text);
}

.dano-nav {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 12px;
  overflow-x: auto;
}

.dano-nav.is-open {
  display: block;
}

.dano-menu {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dano-menu a {
  display: inline-flex;
  border: 1px solid var(--dano-border);
  border-radius: 999px;
  color: var(--dano-text);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.dano-mobile-home,
.dano-single-v2 {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px 92px;
  background: #fff;
}

.dano-category-pills,
.dano-latest-feed,
.dano-article-head,
.dano-main-media,
.dano-article-layout,
.dano-comments {
  margin-bottom: 24px;
}

.dano-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 2px;
  scrollbar-width: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.dano-category-pills::-webkit-scrollbar {
  display: none;
}

.dano-category-pills a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 1px solid #D8D8D8;
  border-radius: 999px;
  padding: 0 14px;
  color: #080808;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}

.dano-category-pills a.is-active {
  border-color: #146EF5;
  background: #146EF5;
  color: #FFFFFF;
}

.dano-search-form {
  display: flex;
  gap: 8px;
}

.dano-search-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--dano-border);
  border-radius: var(--dano-radius);
  padding: 0 14px;
  color: var(--dano-text);
  background: #fff;
}

.dano-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dano-section-heading p,
.dano-ai-briefing__eyebrow,
.dano-author-box p {
  margin: 0;
  color: var(--dano-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dano-section-heading h2,
.dano-ai-briefing h2 {
  margin: 0;
  color: var(--dano-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.dano-live-top {
  border: 1px solid var(--dano-border);
  border-radius: var(--dano-radius);
  padding: 16px;
}

.dano-live-top__list {
  display: grid;
  gap: 8px;
}

.dano-live-item a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--dano-text);
  text-decoration: none;
}

.dano-live-item__rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--dano-blue);
  color: #fff;
  font-weight: 800;
}

.dano-live-item__title,
.dano-feed-item h3 {
  min-width: 0;
  margin: 0;
  color: var(--dano-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.dano-feed-item h3 a {
  color: inherit;
  text-decoration: none;
}

.dano-comment-badge {
  min-width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--dano-blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dano-ai-briefing {
  border-radius: var(--dano-radius);
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--dano-blue), var(--dano-purple));
  box-shadow: var(--dano-shadow);
}

.dano-ai-briefing h2,
.dano-ai-briefing__eyebrow {
  color: #fff;
}

.dano-ai-briefing ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.dano-ai-briefing li {
  list-style: none;
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.dano-ai-briefing li::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  top: .75em;
  left: 0;
  border-radius: 999px;
  background: #fff;
}

.dano-ai-briefing a {
  color: #fff;
  text-decoration: none;
}

.dano-feed-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--dano-border);
  transition: border-color .16s ease;
}

.dano-feed-item:hover {
  border-color: var(--dano-blue);
}

.dano-feed-item__thumb {
  width: 86px;
  aspect-ratio: 1 / 1;
  border-radius: var(--dano-radius);
  overflow: hidden;
  background: var(--dano-soft);
}

.dano-feed-item__thumb img,
.dano-feed-item__thumb span {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dano-feed-item__body {
  min-width: 0;
}

.dano-feed-item__category {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--dano-blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dano-feed-item__meta,
.dano-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--dano-muted);
  font-size: 13px;
  line-height: 1.4;
}

.dano-article-head__category {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--dano-blue);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dano-article-head__title {
  color: var(--dano-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 10px;
}

.dano-article-head__subtitle {
  color: #343434;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.dano-article-meta a {
  color: var(--dano-text);
  font-weight: 700;
  text-decoration: none;
}

.dano-subscribe-button {
  margin-top: 14px;
}

.dano-main-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--dano-radius);
  background: var(--dano-soft);
}

.dano-main-media img,
.dano-main-media iframe,
.dano-main-media video,
.dano-main-media__embed {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.dano-article-layout {
  display: grid;
  gap: 20px;
}

.dano-article-content {
  color: var(--dano-text);
  font-size: 16px;
  line-height: 1.7;
}

.dano-article-content p {
  margin: 0 0 24px;
}

.dano-article-content h2,
.dano-article-content h3 {
  color: var(--dano-text);
  line-height: 1.3;
  margin: 32px 0 14px;
}

.dano-article-content blockquote {
  margin: 28px 0;
  padding: 16px;
  border-left: 4px solid var(--dano-blue);
  border-radius: var(--dano-radius);
  background: var(--dano-soft);
  color: var(--dano-text);
}

.dano-article-content img {
  border-radius: var(--dano-radius);
}

.dano-tag-list,
.dano-reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.dano-tag-list a,
.dano-reaction-bar a {
  border: 1px solid var(--dano-border);
  border-radius: 999px;
  color: var(--dano-text);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}

.dano-tag-list a:hover,
.dano-reaction-bar a:hover {
  border-color: var(--dano-blue);
  transform: translateY(-2px);
}

.dano-author-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--dano-border);
  border-radius: var(--dano-radius);
  background: #fff;
}

.dano-author-box__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.dano-author-box strong,
.dano-author-box span {
  display: block;
}

.dano-author-box span {
  margin-top: 4px;
  color: var(--dano-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dano-comments {
  border-top: 1px solid var(--dano-border);
  padding-top: 18px;
}

.dano-comments textarea,
.dano-comments input[type="text"],
.dano-comments input[type="email"],
.dano-comments input[type="url"] {
  width: 100%;
  border: 1px solid var(--dano-border);
  border-radius: var(--dano-radius);
  padding: 12px;
}

.dano-comments input[type="submit"],
.dano-comments button {
  border-radius: var(--dano-radius);
  background: var(--dano-blue);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
}

.dano-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 62px;
  padding: 6px 6px max(6px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--dano-border);
  background: #fff;
}

.dano-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: var(--dano-radius);
  color: var(--dano-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}

.dano-bottom-nav span {
  color: inherit;
  font-size: 20px;
  line-height: 1;
}

.dano-bottom-nav em {
  font-style: normal;
}

.dano-bottom-nav a.is-active,
.dano-bottom-nav a:hover {
  color: var(--dano-blue);
  background: #eef4ff;
}

.dano-footer {
  background: #fff;
  color: var(--dano-muted);
  border-top: 1px solid var(--dano-border);
  padding: 28px 16px 92px;
}

.dano-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.dano-footer strong {
  color: var(--dano-text);
  font-size: 18px;
}

@media (min-width: 768px) {
  .dano-menu-toggle {
    display: none;
  }

  .dano-nav {
    display: block;
  }

  .dano-mobile-home {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .dano-latest-feed__list {
    max-width: 760px;
  }

  .dano-article-layout {
    display: block;
    width: 100%;
  }

  .dano-bottom-nav {
    display: none;
  }

  .dano-footer {
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .dano-mobile-home,
  .dano-single-v2 {
    padding-bottom: 32px;
  }

  .dano-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
    white-space: normal;
  }

  .dano-category-pills a {
    min-height: 36px;
    height: auto;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .dano-bottom-nav {
    display: none !important;
  }

  .dano-footer {
    padding-bottom: 32px;
  }

  .dano-single-v2 {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 479px) {
  .dano-mobile-home,
  .dano-single-v2 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dano-logo-text {
    font-size: 28px;
  }

  .dano-feed-item {
    grid-template-columns: 78px 1fr auto;
  }

  .dano-feed-item__thumb {
    width: 78px;
  }

  .dano-article-head__title {
    font-size: 26px;
  }
}

/* D blog header and news-list direction */
.dano-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
}

.dano-topbar {
  min-height: 64px;
  height: 64px;
  justify-content: flex-start;
  max-width: 1120px;
  padding: 0 20px;
}

.dano-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.dano-brand:hover {
  color: #111;
  opacity: 1;
  text-decoration: none;
}

.dano-blog-logo__mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.dano-blog-logo__text {
  display: inline-block;
  color: #111;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.dano-header-actions,
.dano-menu-toggle,
.dano-nav {
  display: none !important;
}

@media (min-width: 922px) {
  #dano-header.dano-header {
    min-height: 0;
  }

  #dano-header .dano-topbar {
    min-height: 58px !important;
    height: 58px !important;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  #dano-header .dano-topbar > .dano-brand {
    margin-left: 170px !important;
    margin-top: 0;
    transform: translateY(-2px) !important;
  }

  #dano-header .dano-brand > .dano-blog-logo__mark,
  #dano-header .dano-brand > .dano-blog-logo__text {
    vertical-align: middle;
  }
}

.dano-mobile-home {
  max-width: 720px;
  padding-top: 18px;
}

.dano-home-search,
.dano-category-pills,
.dano-live-top,
.dano-ai-briefing,
.dano-latest-feed {
  margin-bottom: 20px;
}

.dano-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.dano-search-form input {
  height: 46px;
  border-color: #d8d8d8;
  border-radius: 8px;
  font-size: 15px;
}

.dano-search-form button {
  height: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #146ef5;
  color: #fff;
}

.dano-category-pills {
  padding-bottom: 4px;
}

.dano-live-top {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.dano-live-item a {
  min-height: 46px;
}

.dano-ai-briefing {
  border-radius: 8px;
}

.dano-feed-item {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  min-height: 110px;
}

.dano-feed-item__thumb {
  width: 86px;
  height: 86px;
}

.dano-feed-item h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Naver News-style latest list */
body,
button,
input,
select,
textarea {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.dano-mobile-home {
  max-width: 760px;
  padding-left: 16px;
  padding-right: 16px;
}

.dano-latest-feed {
  margin-bottom: 28px;
}

.dano-latest-feed .dano-section-heading {
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #202124;
}

.dano-latest-feed .dano-section-heading p {
  display: none;
}

.dano-latest-feed .dano-section-heading h2 {
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.dano-latest-feed__list {
  width: 100%;
  max-width: none;
}

.dano-feed-item {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 142px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e8eb;
  background: #fff;
}

.dano-feed-item:hover {
  border-color: #d9dee3;
}

.dano-feed-item__thumb {
  width: 178px;
  height: 118px;
  aspect-ratio: 178 / 118;
  border-radius: 8px;
  background: #f2f4f7;
}

.dano-feed-item__body {
  align-self: center;
  min-width: 0;
}

.dano-feed-item__category {
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.dano-feed-item h3 {
  margin: 0;
  color: #1f2933;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0;
}

.dano-feed-item h3 a:hover {
  color: #146ef5;
  text-decoration: none;
}

.dano-feed-item__meta {
  margin-top: 8px;
  gap: 4px 0;
  color: #8a949e;
  font-size: 12px;
  line-height: 1.45;
}

.dano-feed-item__meta > * {
  display: inline-flex;
  align-items: center;
}

.dano-feed-item__meta > * + *::before {
  content: "";
  width: 1px;
  height: 10px;
  margin: 0 7px;
  background: #d7dce1;
}

.dano-feed-item__badges {
  display: grid;
  gap: 6px;
  justify-items: end;
  align-self: center;
}

.dano-comment-badge {
  min-width: 44px;
  height: 24px;
  gap: 3px;
  border: 1px solid #d9e6ff;
  border-radius: 999px;
  background: #eef5ff;
  color: #146ef5;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.dano-comment-badge span {
  color: #5f8fde;
  font-size: 10px;
  font-weight: 700;
}

.dano-comment-badge--views {
  background: #f7fbff;
}

/* ── 네이버 뉴스 스타일 페이지네이션 ─────────────────────── */
.dano-latest-pagination {
  margin-top: 24px;
  padding-bottom: 8px;
}

.dano-latest-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dano-latest-pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid transparent;
  background: #fff;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}

.dano-latest-pagination .page-numbers:hover {
  background: #f4f6f8;
  color: #111;
}

.dano-latest-pagination .page-numbers.current {
  border-color: #5a5f66;
  color: #111;
  font-weight: 700;
  background: #fff;
}

.dano-latest-pagination .page-numbers.prev,
.dano-latest-pagination .page-numbers.next {
  color: #888;
  font-size: 14px;
  min-width: 52px;
}

.dano-latest-pagination .page-numbers.prev:hover,
.dano-latest-pagination .page-numbers.next:hover {
  color: #111;
  background: #f4f6f8;
}

.dano-latest-pagination .page-numbers.dots {
  color: #aaa;
  pointer-events: none;
  min-width: 28px;
}

@media (min-width: 768px) {
  .dano-latest-feed__list {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .dano-mobile-home {
    padding-left: 12px;
    padding-right: 12px;
  }

  .dano-latest-feed .dano-section-heading h2 {
    font-size: 18px;
  }

  .dano-feed-item {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 88px;
    padding: 10px 0;
  }

  .dano-feed-item__thumb {
    width: 106px;
    height: 70px;
    aspect-ratio: 106 / 70;
  }

  .dano-feed-item__category {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .dano-feed-item h3 {
    font-size: 14px;
    line-height: 1.35;
  }

  .dano-feed-item__meta {
    margin-top: 6px;
    font-size: 11px;
  }

  .dano-feed-item__badges {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 4px;
  }

  .dano-comment-badge {
    min-width: 34px;
    height: 21px;
    padding: 0 6px;
    font-size: 11px;
  }

  .dano-comment-badge span {
    display: none;
  }
}

@media (min-width: 768px) {
  .dano-mobile-home {
    max-width: 720px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 479px) {
  .dano-topbar {
    min-height: 58px;
    height: 58px;
    padding: 0 16px;
  }

  .dano-brand {
    gap: 7px;
    font-size: 28px;
  }

  .dano-blog-logo__mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 21px;
  }

  .dano-blog-logo__text {
    font-size: 28px;
  }

  .dano-search-form {
    grid-template-columns: 1fr;
  }

  .dano-search-form button {
    width: 100%;
  }
}

/* Final latest-feed guard against earlier responsive overrides. */
@media (min-width: 768px) {
  .dano-mobile-home {
    width: 100%;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
  }

  .dano-latest-feed__list {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .dano-feed-item {
    grid-template-columns: 193px minmax(0, 1fr);
    min-height: 150px;
  }

  .dano-feed-item__thumb {
    width: 193px;
    height: 130px;
    aspect-ratio: 193 / 130;
  }
}

/* Latest list compact news layout */
.dano-feed-item {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 11px 0;
  border-bottom: 0;
}

.dano-feed-item__thumb {
  width: 150px;
  height: 100px;
  aspect-ratio: 3 / 2;
}

.dano-feed-item__body {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding-bottom: 11px;
  border-bottom: 1px solid #e5e8eb;
}

.dano-feed-item:hover .dano-feed-item__body {
  border-bottom-color: #d9dee3;
}

.dano-feed-item__badges {
  display: none;
}

.dano-feed-item__category {
  display: none;
}

.dano-feed-item h3 {
  font-size: 18px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

.dano-feed-item__meta {
  margin-top: 7px;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .dano-feed-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    min-height: 88px;
    padding: 9px 0;
  }

  .dano-feed-item__thumb {
    width: 112px;
    height: 75px;
    aspect-ratio: 112 / 75;
  }

  .dano-feed-item__body {
    min-height: 75px;
    align-self: stretch;
    padding-bottom: 9px;
  }

  .dano-feed-item h3 {
    font-size: 15px;
    line-height: 1.36;
  }

  .dano-feed-item__meta {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Desktop home layout with right ad slot */
.dano-home-layout {
  width: 100%;
}

.dano-home-primary {
  min-width: 0;
}

.dano-desktop-ad {
  display: none;
}

@media (min-width: 1024px) {
  .dano-mobile-home {
    width: 100%;
    max-width: 1365px;
    margin-left: auto;
    margin-right: auto;
  }

  .dano-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    align-items: start;
  }

  .dano-desktop-ad {
    display: block;
    width: 200px;
    margin-top: 62px;
    position: sticky;
    top: 88px;
  }

  .dano-single-outer .dano-desktop-ad {
    margin-top: 88px;
  }

  .dano-desktop-ad__placeholder {
    width: 200px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dee3;
    border-radius: 8px;
    background: #f3f4f6;
    color: #8a949e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
  }
}

@media (min-width: 1365px) {
  .dano-home-layout {
    grid-template-columns: 1045px 200px;
  }
}

/* Collapsible Naver-style breaking news box */
.dano-latest-feed > .dano-section-heading {
  display: none;
}

.dano-breaking-news {
  position: relative;
  margin: 0 0 10px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.dano-breaking-news__rows {
  display: grid;
}

.dano-breaking-news__row {
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 42px 0 12px;
  border-top: 1px solid #edf0f3;
}

.dano-breaking-news__row.is-first,
.dano-breaking-news.is-expanded .dano-breaking-news__row {
  display: grid;
}

.dano-breaking-news__row:first-child {
  border-top: 0;
}

.dano-breaking-news__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 20px;
  border-radius: 4px;
  background: #f03e3e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.dano-breaking-news__title {
  min-width: 0;
  overflow: hidden;
  color: #1f2933;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.dano-breaking-news__title:hover {
  color: #146ef5;
  text-decoration: none;
}

.dano-breaking-news__source {
  max-width: 82px;
  overflow: hidden;
  color: #8a949e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-breaking-news__toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 42px;
  min-height: 0;
  border: 0;
  border-left: 1px solid #edf0f3;
  border-radius: 0;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
}

.dano-breaking-news__toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dano-breaking-news.is-expanded .dano-breaking-news__toggle::before {
  transform: rotate(225deg) translate(-2px, -1px);
}

@media (min-width: 768px) {
  .dano-breaking-news {
    margin-bottom: 12px;
  }

  .dano-breaking-news__row {
    min-height: 44px;
    padding-left: 14px;
    gap: 10px;
  }

  .dano-breaking-news__toggle {
    height: 44px;
  }
}

/* Home top text ad replacing search */
.dano-home-ad-slot {
  display: block;
  margin-bottom: 12px;
}

.dano-home-ad {
  min-width: 0;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.dano-home-ad--desktop {
  display: none;
}

.dano-home-ad--mobile {
  display: block;
}

.dano-home-ad__label {
  display: block;
  margin-bottom: 4px;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.dano-home-ad__title {
  display: block;
  overflow: hidden;
  color: #146ef5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-home-ad__title:hover {
  color: #0b57d0;
  text-decoration: underline;
}

.dano-home-ad p {
  overflow: hidden;
  margin: 3px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-home-ad__url {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #8a949e;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .dano-home-ad-slot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .dano-home-ad {
    min-height: 74px;
    padding: 10px 12px;
  }

  .dano-home-ad--desktop {
    display: block;
  }

  .dano-home-ad--mobile {
    display: none;
  }
}

/* Refined latest news box motion and spacing */
.dano-breaking-news {
  border-color: #e4e7eb;
  border-radius: 9px;
  box-shadow: none;
}

.dano-breaking-news__rows {
  max-height: 38px;
  overflow: hidden;
  transition: max-height .24s ease;
  will-change: max-height;
}

.dano-breaking-news__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 38px;
  padding: 0 40px 0 10px;
  border-top: 1px solid #eef1f4;
}

.dano-breaking-news__row:first-child {
  border-top: 0;
}

.dano-breaking-news__row.is-first,
.dano-breaking-news.is-expanded .dano-breaking-news__row {
  display: grid;
}

.dano-breaking-news__badge {
  min-width: 32px;
  height: 19px;
  border-radius: 4px;
  background: #f04438;
  font-size: 11px;
  font-weight: 800;
}

.dano-breaking-news__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.dano-breaking-news__source {
  max-width: 74px;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 500;
}

.dano-breaking-news__toggle {
  width: 38px;
  height: 38px;
  transition: color .18s ease;
}

.dano-breaking-news__toggle::before {
  transition: transform .22s ease;
}

.dano-breaking-news.is-expanded .dano-breaking-news__toggle::before {
  transform: rotate(225deg) translate(-2px, -1px);
}

@media (min-width: 768px) {
  .dano-breaking-news__rows {
    max-height: 40px;
  }

  .dano-breaking-news__row {
    min-height: 40px;
    padding-left: 12px;
  }

  .dano-breaking-news__toggle {
    height: 40px;
  }
}

/* Latest box final polish */
.dano-breaking-news__row:not(.is-first) .dano-breaking-news__badge {
  visibility: hidden;
}

.dano-breaking-news__toggle:hover,
.dano-breaking-news__toggle:focus,
.dano-breaking-news__toggle:active {
  background: #fff;
  color: #6b7280;
  box-shadow: none;
  outline: none;
}

/* =========================================================
   단일 포스트 상단 광고 슬롯 (나중에 애드센스 교체 가능)
   ========================================================= */
.dano-single-ad-slot {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dano-single-ad {
  min-width: 0;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.dano-single-ad__label {
  display: block;
  margin-bottom: 4px;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.dano-single-ad__title {
  display: block;
  overflow: hidden;
  color: #146ef5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-single-ad__title:hover {
  color: #0b57d0;
  text-decoration: underline;
}

.dano-single-ad p {
  overflow: hidden;
  margin: 3px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-single-ad__url {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #8a949e;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dano-single-outer .dano-single-ad-slot + .dano-single-v2 {
  margin-top: 24px;
}

.single .dano-single-outer .dano-home-primary > .dano-single-ad-slot + article.dano-single-v2 {
  margin-top: 20px !important;
  padding-top: 0;
}

@media (min-width: 768px) {
  .dano-single-ad-slot {
    max-width: 720px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .dano-single-ad-slot {
    max-width: 1365px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .dano-single-ad-slot {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 479px) {
  .dano-single-ad-slot {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================================
   작성자 카드 하단 광고 슬롯 (after-author ads)
   모바일: 가로형 배너 1개 / 데스크탑: 2열 와이드 카드
   ========================================================= */
.dano-after-author-ads {
  margin-bottom: 24px;
}

.dano-aaa-label {
  font-size: 11px;
  font-weight: 600;
  color: #9aa3ad;
  letter-spacing: 0.2px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* 모바일 배너 — 기본 표시 */
.dano-aaa-mobile {
  display: block;
}

.dano-aaa-banner {
  width: 100%;
  aspect-ratio: 16 / 5;
  background: #f2f4f7;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 데스크탑 2열 그리드 — 기본 숨김 */
.dano-aaa-desktop {
  display: none;
}

@media (min-width: 768px) {
  .dano-aaa-mobile {
    display: none;
  }

  .dano-aaa-desktop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .dano-aaa-card {
    aspect-ratio: 4 / 1;
    background: #f2f4f7;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* =========================================================
   싱글 포스트 — 데스크탑 2열 레이아웃 (본문 + 우측 200px AD)
   ========================================================= */

/* 싱글 페이지 카테고리 네비 wrapper */
.dano-single-top-nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 0;
}

@media (min-width: 768px) {
  .dano-single-top-nav {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .dano-single-top-nav {
    padding-top: 16px;
  }
}

@media (max-width: 479px) {
  .dano-single-top-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.dano-single-page-wrap {
  max-width: 1320px;
  margin: 0 auto;
}

/* 사이드바: 모바일에서는 숨김 */
.dano-single-page-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .dano-single-page-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    align-items: start;
    padding: 0 24px;
  }

  .dano-single-page-main {
    min-width: 0;
  }

  /* 그리드 안에서는 개별 max-width 해제 */
  .dano-single-page-main .dano-single-v2 {
    max-width: none;
  }

  .dano-single-page-main .dano-single-ad-slot {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  /* 우측 사이드바 */
  .dano-single-page-sidebar {
    display: block;
    position: sticky;
    top: 80px;
  }

  .dano-single-page-sidebar__ad {
    width: 200px;
    min-height: 600px;
    background: #f2f4f7;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa3ad;
    font-size: 12px;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  }
}

/* =========================================================
   Single 페이지 외부 wrapper — dano-mobile-home과 동일한
   max-width / padding / grid 구조로 메인페이지 기준선 일치
   ========================================================= */
.dano-single-outer {
  width: 100%;
  box-sizing: border-box;
}

/* 768px+: dano-mobile-home final-guard 값과 동일 (max-width: 1060px) */
@media (min-width: 768px) {
  .dano-single-outer {
    width: 100%;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 1024px+: dano-mobile-home 과 동일한 max-width + padding(24px 좌우)
   → 그리드 컬럼 폭·gap·AD 위치가 메인페이지와 정확히 일치 */
@media (min-width: 1024px) {
  .dano-single-outer {
    max-width: 1365px;
    padding-left: 24px;
    padding-right: 24px;
  }
  /* 그리드 컬럼 안 — inner 요소 self-centering 제거 */
  .dano-single-outer .dano-single-v2,
  .dano-single-outer .dano-single-ad-slot,
  .dano-single-outer .dano-single-top-nav {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  /* outer 24px padding이 side spacing을 담당하므로 inner left/right padding 제거 */
  .dano-single-outer .dano-single-v2 {
    padding-left: 0;
    padding-right: 0;
  }
  .dano-single-outer .dano-single-ad-slot,
  .dano-single-outer .dano-single-top-nav {
    padding-left: 0;
    padding-right: 0;
  }
  .dano-single-outer .dano-article-layout {
    display: block;
    width: 100%;
  }
}

/* Final pagination alignment guard for the rendered WordPress markup. */
.dano-latest-pagination,
.dano-pagination,
.dano-cat-section .navigation.pagination,
.dano-cat-section .dano-post-list,
.dano-single-v2 .dano-latest-feed,
.dano-single-v2 .dano-latest-feed__list {
  width: 100%;
}

.dano-latest-pagination ul.page-numbers,
.dano-latest-pagination > ul,
.dano-pagination .nav-links,
.dano-cat-section .navigation.pagination .nav-links,
.dano-single-v2 .dano-latest-pagination ul.page-numbers,
.dano-single-v2 .dano-latest-pagination > ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Desktop content grid width guard: 737px content + 24px gap + 200px ad. */
@media (min-width: 1024px) {
  .dano-mobile-home,
  .dano-single-outer {
    max-width: 1009px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .dano-mobile-home > .dano-home-layout,
  .dano-single-outer .dano-home-layout {
    grid-template-columns: minmax(0, 737px) 200px;
    justify-content: center;
    max-width: 961px;
    padding-left: 0;
    padding-right: 0;
  }

  .dano-mobile-home > .dano-home-layout > .dano-home-primary,
  .dano-single-outer .dano-home-primary {
    width: 100%;
    max-width: 737px;
  }

  .dano-desktop-ad,
.dano-desktop-ad__placeholder {
    width: 200px;
  }
}

.dano-inline-list-ad {
  width: 100%;
  min-height: 96px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f6f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a94a6;
  font-weight: 700;
  margin: 16px 0;
  box-sizing: border-box;
}

.dano-inline-list-ad-wrap {
  list-style: none;
}

.dano-bottom-list-ad {
  display: none !important;
}

@media (min-width: 1024px) {
  .dano-bottom-list-ad {
    width: 100%;
    min-height: 110px;
    margin: 20px auto 0;
    border: 1px solid #e5e7eb;
    background: #f6f8fb;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #8a94a6;
    font-weight: 700;
    box-sizing: border-box;
  }
}

.dano-left-floating-ad {
  display: none !important;
}

@media (min-width: 1280px) {
  .dano-mobile-home,
  .dano-single-outer {
    max-width: 1188px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .dano-mobile-home > .dano-home-layout,
  .dano-single-outer .dano-home-layout {
    grid-template-columns: 159px 20px minmax(0, 737px) 24px 200px;
    column-gap: 0;
    max-width: 1140px;
    position: relative;
  }

  .dano-left-floating-ad {
    position: sticky;
    grid-column: 1;
    align-self: flex-start;
    flex: 0 0 159px;
    margin-bottom: 0;
    top: 140px;
    width: 159px;
    height: 599px;
    background: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    z-index: 20;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #8a94a6;
    font-weight: 700;
    box-sizing: border-box;
  }

  .dano-mobile-home > .dano-home-layout > .dano-home-primary,
  .dano-single-outer .dano-home-primary {
    grid-column: 3;
  }

  .dano-mobile-home > .dano-home-layout > .dano-desktop-ad,
  .dano-single-outer .dano-desktop-ad {
    grid-column: 5;
  }

}

/* Single article typography tuned toward Naver-style article reading. */
body.single .dano-article-meta {
  color: #8a94a6;
  font-size: 13px;
  line-height: 1.45;
}

body.single .dano-article-meta a {
  color: #8a94a6;
  font-weight: 600;
}

@media (min-width: 1024px) {
  body.single .dano-article-head__title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 12px;
  }

  body.single .dano-article-content {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.85;
  }

  body.single .dano-article-content p {
    margin-bottom: 26px;
  }
}

@media (max-width: 768px) {
  body.single .dano-article-head__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
    margin-bottom: 10px;
  }

  body.single .dano-article-content {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
  }

  body.single .dano-article-content p {
    margin-bottom: 24px;
  }
}

@media (max-width: 479px) {
  body.single .dano-article-head__title {
    font-size: 25px;
  }

  body.single .dano-article-content {
    font-size: 16px;
  }
}

body.single[data-dano-font-size="small"] .dano-article-content {
  font-size: 17px;
}

body.single[data-dano-font-size="large"] .dano-article-content {
  font-size: 20px;
}

body.single[data-dano-font-size="xlarge"] .dano-article-content {
  font-size: 21px;
}

body.single[data-dano-font-size="max"] .dano-article-content {
  font-size: 22px;
}

body.single .dano-article-actionbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 10px;
  padding-bottom: 6px;
}

body.single .dano-article-actionbar button,
body.single .dano-article-actionbar a {
  font: inherit;
  color: #111827;
  text-decoration: none;
}

body.single .dano-article-actionbar__left,
body.single .dano-article-actionbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.single .dano-reaction-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

body.single .dano-reaction-summary__emojis {
  letter-spacing: -5px;
  padding-right: 5px;
  font-size: 22px;
  line-height: 1;
}

body.single .dano-article-actionbar__right button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

body.single .dano-article-actionbar__right button[data-dano-toggle="font"] {
  width: 42px;
  font-size: 16px;
  font-weight: 700;
}

body.single .dano-reaction-panel,
body.single .dano-font-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(17, 24, 39, .12);
}

body.single .dano-reaction-panel[hidden],
body.single .dano-font-panel[hidden] {
  display: none !important;
}

body.single .dano-reaction-panel {
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 10px;
  width: min(100%, 430px);
  padding: 18px 16px 14px;
}

body.single .dano-reaction-panel__item {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  padding: 6px 4px;
  text-align: center;
}

body.single .dano-reaction-panel__item:hover,
body.single .dano-reaction-panel__item.is-selected {
  background: #f3f7ff;
}

body.single .dano-reaction-panel__item.is-selected {
  color: #146ef5;
}

body.single .dano-reaction-panel__item span {
  font-size: 28px;
  line-height: 1;
}

body.single .dano-reaction-panel__item em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
  white-space: nowrap;
}

body.single .dano-reaction-panel__item strong {
  font-size: 18px;
  line-height: 1.1;
}

body.single .dano-font-panel {
  right: 0;
  width: min(100%, 420px);
  padding: 18px 20px 22px;
}

body.single .dano-font-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #111827;
}

body.single .dano-font-panel__head strong {
  font-size: 20px;
  font-weight: 800;
}

body.single .dano-font-panel__head button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

body.single .dano-font-panel__options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  position: relative;
}

body.single .dano-font-panel__options::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 6px;
  border-radius: 999px;
  background: #f0f2f5;
}

body.single .dano-font-panel__options button {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #6b7280;
}

body.single .dano-font-panel__options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #eef0f3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
  color: #6b7280;
  font-size: 18px;
  font-weight: 700;
}

body.single .dano-font-panel__options button:nth-child(3) span {
  font-size: 22px;
}

body.single .dano-font-panel__options button:nth-child(4) span {
  font-size: 25px;
}

body.single .dano-font-panel__options button:nth-child(5) span {
  font-size: 28px;
}

body.single .dano-font-panel__options em {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

body.single .dano-font-panel__options button.is-active {
  color: #146ef5;
}

body.single .dano-font-panel__options button.is-active span {
  border-color: #146ef5;
  background: #146ef5;
  color: #fff;
}

@media (max-width: 768px) {
  body.single[data-dano-font-size="small"] .dano-article-content {
    font-size: 15px;
  }

  body.single[data-dano-font-size="large"] .dano-article-content {
    font-size: 18px;
  }

  body.single[data-dano-font-size="xlarge"] .dano-article-content {
    font-size: 19px;
  }

  body.single[data-dano-font-size="max"] .dano-article-content {
    font-size: 20px;
  }

  body.single .dano-article-actionbar {
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }

  body.single .dano-article-actionbar__right {
    gap: 8px;
  }

  body.single .dano-article-actionbar__right button {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  body.single .dano-article-actionbar__right button[data-dano-toggle="font"] {
    width: 38px;
    font-size: 15px;
  }

  body.single .dano-reaction-panel {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    gap: 7px;
    padding: 14px 10px 12px;
  }

  body.single .dano-reaction-panel__item span {
    font-size: 24px;
  }

  body.single .dano-reaction-panel__item em {
    font-size: 11px;
  }

  body.single .dano-reaction-panel__item strong {
    font-size: 16px;
  }

  body.single .dano-font-panel {
    padding: 16px 14px 18px;
  }

  body.single .dano-font-panel__options {
    gap: 6px;
  }

  body.single .dano-font-panel__options span {
    width: 38px;
    height: 38px;
  }

  body.single .dano-font-panel__options em {
    font-size: 11px;
  }
}

@media (max-width: 479px) {
  body.single .dano-article-actionbar {
    flex-wrap: wrap;
  }

  body.single .dano-article-actionbar__right {
    margin-left: auto;
  }
}

/* Mobile single article overflow guard: keep text/media inside the viewport. */
@media (max-width: 768px) {
  body.single .entry-content,
  body.single .post-content,
  body.single .dano-post-content,
  body.single article,
  body.single .dano-single-content,
  body.single .dano-article-content {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  body.single .entry-content p,
  body.single .post-content p,
  body.single .dano-post-content p,
  body.single .dano-single-content p,
  body.single .dano-article-content p {
    max-width: 100%;
    box-sizing: border-box;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
  }

  body.single .entry-content img,
  body.single .entry-content iframe,
  body.single .entry-content video,
  body.single .post-content img,
  body.single .post-content iframe,
  body.single .post-content video,
  body.single .dano-post-content img,
  body.single .dano-post-content iframe,
  body.single .dano-post-content video,
  body.single .dano-single-content img,
  body.single .dano-single-content iframe,
  body.single .dano-single-content video,
  body.single .dano-article-content img,
  body.single .dano-article-content iframe,
  body.single .dano-article-content video {
    max-width: 100%;
    height: auto;
  }
}

/* DANO BLOG footer. */
.dano-site-footer {
  margin-top: 56px;
  background: radial-gradient(circle at 20% 0%, #1f2933 0%, #101418 42%, #080b0f 100%);
  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.dano-site-footer__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 46px;
}

.dano-site-footer__brand {
  max-width: 620px;
}

.dano-site-footer__logo {
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.dano-site-footer__logo-main {
  color: #fff;
}

.dano-site-footer__logo-accent {
  color: #ef4444;
  margin-left: 8px;
}

.dano-site-footer__desc {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}

.dano-site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.dano-site-footer__links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.dano-site-footer__links a:last-child {
  border-right: 0;
}

.dano-site-footer__links a:hover,
.dano-site-footer__links a:focus {
  color: #ef4444;
}

.dano-site-footer__copy {
  margin-top: 34px;
  text-align: center;
  color: rgba(255, 255, 255, .56);
  font-size: 15px;
  line-height: 1.65;
}

.dano-site-footer__copy p {
  margin: 4px 0;
}

@media (max-width: 768px) {
  .dano-site-footer {
    margin-top: 36px;
  }

  .dano-site-footer__inner {
    padding: 42px 18px 38px;
  }

  .dano-site-footer__logo {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .dano-site-footer__desc {
    font-size: 15px;
    line-height: 1.65;
  }

  .dano-site-footer__links {
    margin-top: 34px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    text-align: center;
  }

  .dano-site-footer__links a {
    border-right: 0;
    padding: 10px 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, .045);
    border-radius: 8px;
  }

  .dano-site-footer__copy {
    margin-top: 28px;
    font-size: 13px;
  }
}
