/**
 * [한글 주석] Zyss 테마의 핵심 레이아웃과 디자인 시스템을 정의하는 CSS 파일입니다.
 * - 색상, 간격, 폰트 등을 변수로 관리하며, BEM 방식을 사용하여 클래스 간 간섭을 최소화합니다.
 * - 위치: /theme/assets/css/main.css
 */

/* [한글 주석] 테마 전체에서 사용하는 색상 및 간격 변수입니다. */
:root {
  --zyss-font-size-base: 17px;
  --zyss-font-family-default: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", "Nanum Gothic", "나눔고딕", Tahoma, Verdana, sans-serif;
  --zyss-font-family-malgun: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", Tahoma, Verdana, sans-serif;
  --zyss-font-family-nanum: "Nanum Gothic", "나눔고딕", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", Tahoma, Verdana, sans-serif;
  --zyss-font-family-base: var(--zyss-font-family-default);
  --zyss-color-background: #f4f6fb;
  --zyss-color-surface: rgba(255, 255, 255, 0.84);
  --zyss-color-surface-strong: #ffffff;
  --zyss-color-text: #1d2433;
  --zyss-color-text-muted: #5b6577;
  --zyss-color-border: rgba(25, 35, 55, 0.12);
  --zyss-color-accent: #ffffff;
  --zyss-shadow-soft: 0 18px 40px rgba(26, 39, 73, 0.08);
  --zyss-radius-large: 24px;
  --zyss-radius-medium: 16px;
  --zyss-content-width: 1280px;
}

body.zyss-theme-body {
  margin: 0;
  background: var(--zyss-color-background);
  color: var(--zyss-color-text);
  font-family: var(--zyss-font-family-base);
  font-size: var(--zyss-font-size-base);
  line-height: 1.7;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.zyss-theme,
.zyss-theme * {
  box-sizing: border-box;
}

.zyss-theme a {
  color: inherit;
  text-decoration: none;
}

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

.zyss-theme__skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.zyss-theme__skip-link:focus {
  left: 24px;
  top: 24px;
  z-index: 999;
  background: var(--zyss-color-surface-strong);
  border-radius: 999px;
  padding: 10px 14px;
}

.zyss-theme__header,
.zyss-theme__main,
.zyss-theme__footer {
  width: 100%;
}

.zyss-theme__header-inner,
.zyss-theme__footer-inner,
.zyss-theme__main {
  width: min(calc(100% - 32px), var(--zyss-content-width));
  margin: 0 auto;
}

.zyss-theme__header {
  position: sticky;
  top: 0;
  z-index: 180;
  backdrop-filter: blur(18px);
  background: var(--zyss-color-surface);
  border-bottom: 1px solid var(--zyss-color-border);
  overflow: visible;
}

.zyss-theme__header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding-right: 228px;
  overflow: visible;
}

.zyss-theme__branding {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.zyss-theme__site-text,
.zyss-theme__nav {
  min-width: 0;
}

.zyss-theme__nav {
  position: relative;
  overflow: visible;
}

.zyss-theme__site-title {
  display: inline-block;
  font-weight: 700;
  font-size: 1.28rem;
}

.zyss-theme__site-description,
.zyss-theme__meta,
.zyss-theme__font-status,
.zyss-theme__footer-text {
  color: var(--zyss-color-text-muted);
}

.zyss-theme__nav-list,
.zyss-theme__footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

.zyss-theme__nav-link,
.zyss-theme__footer-nav-list a,
.zyss-theme__primary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* 상단 1depth 메뉴: 라인 호버 스타일 */
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link {
  border-radius: 6px;
  position: relative;
}
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--zyss-color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link:hover::after,
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link.is-current::after,
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link.is-current-branch::after {
  transform: scaleX(1);
}

/* 서브메뉴 항목은 박스 스타일 유지 */
.zyss-theme__nav-submenu .zyss-theme__nav-link {
  border-radius: 8px;
}

/* 상단 1depth 호버: 배경 없이 라인만 */
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link:hover {
  background: none;
}

/* 서브메뉴 호버: 배경 박스 */
.zyss-theme__nav-submenu .zyss-theme__nav-link:hover,
.zyss-theme__footer-nav-list a:hover,
.zyss-theme__primary-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* 상단 1depth 현재 페이지: 배경 없이 라인 + 강조색 */
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link.is-current,
.zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link.is-current-branch {
  background: none;
  color: var(--zyss-color-accent);
  font-weight: 700;
}

/* 사이드 메뉴 현재 페이지: 배경 박스 유지 */
.zyss-theme__side-nav-link.is-current,
.zyss-theme__side-nav-link.is-current-branch {
  background: rgba(255, 255, 255, 0.14);
  color: var(--zyss-color-accent);
  font-weight: 700;
}

.zyss-theme__nav-item {
  position: relative;
}

.zyss-theme__nav-caret,
.zyss-theme__side-nav-caret {
  font-size: 0.72rem;
  color: var(--zyss-color-text-muted);
  flex-shrink: 0;
}

.zyss-theme__nav-submenu,
.zyss-theme__side-nav-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zyss-theme__nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 220;
  display: grid;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--zyss-color-border);
  border-radius: 18px;
  background: var(--zyss-color-surface-strong);
  box-shadow: 0 18px 36px rgba(26, 39, 73, 0.12);
  gap: 8px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.zyss-theme__nav-submenu--depth-3 {
  top: 0;
  left: calc(100% - 2px);
}

.zyss-theme__nav-item--has-children {
  position: relative;
}

.zyss-theme__nav-item--has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.zyss-theme__nav-item--has-children:hover > .zyss-theme__nav-submenu,
.zyss-theme__nav-item--has-children:focus-within > .zyss-theme__nav-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.zyss-theme__nav-submenu .zyss-theme__nav-link {
  width: 100%;
  justify-content: space-between;
  border-radius: 14px;
}

.zyss-theme__main {
  padding: 40px 0 80px;
}

.zyss-theme__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.zyss-theme__layout-sidebar {
  position: sticky;
  top: 112px;
}

.zyss-theme__layout-content {
  display: grid;
  gap: 24px;
}

.zyss-theme__hero-card,
.zyss-theme__board-hero {
  padding: 28px;
  border-radius: var(--zyss-radius-large);
  border: 1px solid var(--zyss-color-border);
  background: var(--zyss-color-surface);
  box-shadow: var(--zyss-shadow-soft);
}

.zyss-theme__page-topbar {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--zyss-color-border);
  background: transparent;
  box-shadow: none;
}

.zyss-theme__page-topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 10px 0 16px;
}

.zyss-theme__page-topbar-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.zyss-theme__page-topbar-toggle,
.zyss-theme__page-topbar-home {
  display: inline-grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--zyss-color-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--zyss-color-text);
  font-size: 1.22rem;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.zyss-theme__page-topbar-toggle {
  cursor: pointer;
}

.zyss-theme__page-topbar-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.zyss-theme__page-topbar-toggle:hover,
.zyss-theme__page-topbar-home:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.zyss-theme__page-topbar-toggle[aria-expanded="true"]:hover {
  transform: rotate(180deg) translateY(-1px);
}

.zyss-theme__page-topbar-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 1px;
}

.zyss-theme__page-topbar-eyebrow {
  margin: 0;
  color: var(--zyss-color-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zyss-theme__page-topbar-title {
  margin: 0;
  color: var(--zyss-color-text);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
}

.zyss-theme__page-topbar-description {
  margin: 0;
  color: var(--zyss-color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.zyss-theme__eyebrow {
  margin: 0 0 8px;
  color: var(--zyss-color-accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zyss-theme__section-title,
.zyss-theme__section-subtitle {
  margin: 0 0 12px;
  line-height: 1.3;
}

.zyss-theme__section-description {
  margin: 0;
  color: var(--zyss-color-text-muted);
}

.zyss-theme__board-shell,
.zyss-theme__recent-posts {
  display: grid;
  gap: 20px;
}

.zyss-theme__content-grid--board-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.zyss-theme__card--board-post {
  border-radius: 16px;
}

.zyss-theme__card--board-post .zyss-theme__card-body {
  padding: 16px 18px;
}

.zyss-theme__card--board-post .zyss-theme__card-title {
  margin: 4px 0 6px;
  font-size: 1rem;
}

.zyss-theme__side-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.zyss-theme__side-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(120, 128, 146, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.zyss-theme__side-nav-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.zyss-theme__side-nav-submenu {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-left: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    margin-top 0.22s ease;
}

.zyss-theme__side-nav-submenu--depth-3 {
  padding-left: 18px;
}

.zyss-theme__side-nav-link--depth-2,
.zyss-theme__side-nav-link--depth-3 {
  background: rgba(120, 128, 146, 0.05);
}

.zyss-theme__side-nav-item--has-children > .zyss-theme__side-nav-link {
  cursor: pointer;
}

.zyss-theme__side-nav-caret {
  transition: transform 0.2s ease;
}

.zyss-theme__side-nav-item--has-children.is-expanded > .zyss-theme__side-nav-link .zyss-theme__side-nav-caret {
  transform: rotate(180deg);
}

.zyss-theme__side-nav-item--has-children.is-expanded > .zyss-theme__side-nav-submenu {
  margin-top: 8px;
  max-height: 480px;
  opacity: 1;
  transform: translateY(0);
}

.zyss-theme__content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.zyss-theme__content-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zyss-theme__content-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zyss-theme__content-grid--recent-rich {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.zyss-theme__recent-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.zyss-theme__recent-home-card {
  height: auto;
  align-self: start;
}

.zyss-theme__recent-home-card--album {
  margin-top: 24px;
}

.zyss-theme__recent-home-card--album > .zyss-theme__card-body {
  gap: 18px;
}

.zyss-theme__content-grid--recent-album {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zyss-theme__content-grid--home-sections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.zyss-theme__home-section-card {
  height: auto;
}

.zyss-theme__home-section-card > .zyss-theme__card-body {
  display: grid;
  gap: 16px;
  height: auto;
  align-content: start;
}

.zyss-theme__home-section-posts {
  grid-template-columns: 1fr;
  gap: 14px;
}

.zyss-theme__card,
.zyss-theme__single,
.zyss-theme__sidebar,
.zyss-theme__widget {
  background: var(--zyss-color-surface);
  border: 1px solid var(--zyss-color-border);
  border-radius: var(--zyss-radius-large);
  box-shadow: var(--zyss-shadow-soft);
}

.zyss-theme__card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zyss-theme__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(26, 39, 73, 0.12);
}

.zyss-theme__card-body,
.zyss-theme__single,
.zyss-theme__widget {
  padding: 24px;
}

.zyss-theme__card-title,
.zyss-theme__single-title {
  margin: 8px 0 12px;
  line-height: 1.35;
}

.zyss-theme__card-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.zyss-theme__card-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zyss-theme__single-thumbnail {
  overflow: hidden;
  border-radius: var(--zyss-radius-medium);
  margin: 0 24px 24px;
}

.zyss-theme__single-content {
  color: var(--zyss-color-text);
}

.zyss-theme__comments {
  margin-top: 32px;
}

.zyss-theme__comments-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--zyss-radius-large);
  border: 1px solid var(--zyss-color-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--zyss-shadow-soft);
}

.zyss-theme__comments-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.zyss-theme__comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.zyss-theme__comment-list .children {
  list-style: none;
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 16px;
}

.zyss-theme__comment-list .comment-body {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.zyss-theme__comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
}

.zyss-theme__comment-list .comment-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.zyss-theme__comment-list .fn {
  color: var(--zyss-color-text);
  font-weight: 700;
  text-decoration: none;
}

.zyss-theme__comment-list .says {
  display: none;
}

.zyss-theme__comment-list .comment-metadata,
.zyss-theme__comment-list .comment-metadata a {
  color: var(--zyss-color-text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.zyss-theme__comment-list .comment-content {
  color: var(--zyss-color-text);
  line-height: 1.75;
}

.zyss-theme__comment-list .comment-content > :first-child {
  margin-top: 0;
}

.zyss-theme__comment-list .comment-content > :last-child {
  margin-bottom: 0;
}

.zyss-theme__comment-list .reply a,
.zyss-theme__comment-list .comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--zyss-color-text);
  font-size: 0.84rem;
  text-decoration: none;
}

.zyss-theme__comment-form-section {
  display: grid;
  gap: 16px;
}

.zyss-theme__comments-reply-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zyss-theme__comment-cancel-reply a {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.6;
  text-decoration: none;
}

.zyss-theme__comment-loggedin {
  margin: 0;
  font-size: 0.9rem;
  color: var(--zyss-color-text-muted);
}

.zyss-theme__comment-submit-row {
  margin: 0;
}

.zyss-theme__comment-form {
  display: grid;
  gap: 18px;
}

.zyss-theme__comment-form .comment-notes,
.zyss-theme__comment-form .logged-in-as,
.zyss-theme__comments-closed {
  margin: 0;
  color: var(--zyss-color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.zyss-theme__comment-form .logged-in-as a {
  color: var(--zyss-color-text);
}

.zyss-theme__comment-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.zyss-theme__comment-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.zyss-theme__comment-field--full,
.zyss-theme__comment-form .comment-form-cookies-consent {
  grid-column: 1 / -1;
}

.zyss-theme__comment-field label,
.zyss-theme__comment-form .comment-form-cookies-consent label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--zyss-color-text);
}

.zyss-theme__comment-form input[type="text"],
.zyss-theme__comment-form input[type="email"],
.zyss-theme__comment-form input[type="url"],
.zyss-theme__comment-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--zyss-color-text);
  font-size: 1rem;
  box-sizing: border-box;
}

.zyss-theme__comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

.zyss-theme__comment-form input[type="text"]:focus,
.zyss-theme__comment-form input[type="email"]:focus,
.zyss-theme__comment-form input[type="url"]:focus,
.zyss-theme__comment-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.zyss-theme__comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.zyss-theme__comment-form .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #111111;
  flex-shrink: 0;
}

.zyss-theme__comment-submit {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.94);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
}

.zyss-theme__comment-submit:hover {
  background: #000000;
}

.zyss-theme__comments-card .form-submit {
  margin: 0;
}

.zyss-theme__single--centered {
  text-align: center;
  padding: 48px 24px;
}

.zyss-theme__card--board .zyss-theme__card-body {
  min-height: 180px;
}

.zyss-theme__footer {
  padding: 32px 0 56px;
}

.zyss-theme__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── 좌측 사이드바 게시판 타입 배지 ──────────────────────────────── */
.zyss-theme__side-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zyss-theme__side-nav-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--zyss-color-accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ── 로그인/사용자 상단 메뉴 ─────────────────────────────────────── */
/* ── 게시판 허브 카드 스킨 아이콘 ────────────────────────────────── */
.zyss-theme__card-skin-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zyss-theme__card-skin-badge--list    { background: rgba(52, 199, 89, 0.14);  color: #18a44b; }
.zyss-theme__card-skin-badge--webzine { background: rgba(255, 159, 10, 0.14); color: #d4820a; }
.zyss-theme__card-skin-badge--album   { background: rgba(90, 200, 250, 0.14); color: #0a84a8; }

/* ── 이동 경로(Breadcrumb) ───────────────────────────────────────── */
.zyss-theme__breadcrumb {
  font-size: 0.85rem;
  color: var(--zyss-color-text-muted);
}

.zyss-theme__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zyss-theme__breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.zyss-theme__breadcrumb-link:hover {
  color: var(--zyss-color-accent);
  text-decoration: underline;
}

.zyss-theme__breadcrumb-current {
  color: var(--zyss-color-text-muted);
}

.zyss-theme__breadcrumb-separator {
  color: var(--zyss-color-border);
}

.zyss-theme__widget-title {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zyss-color-text-muted);
}

/* [한글 주석] 커뮤니티 통계 위젯 스타일 */
.zyss-theme__widget--stats {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--zyss-color-border);
  border-radius: 16px;
  padding: 20px;
}

.zyss-theme__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.zyss-theme__stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zyss-theme__stats-label {
  font-size: 0.75rem;
  color: var(--zyss-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zyss-theme__stats-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zyss-color-text);
}

/* [한글 주석] 메인 페이지 최근 게시물 제목 리스트 스타일 */
.zyss-theme__latest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.zyss-theme__latest-item {
  position: relative;
  padding: 12px 14px 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.zyss-theme__latest-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--zyss-color-text-muted);
  border-radius: 50%;
  opacity: 0.5;
}

.zyss-theme__latest-title {
  font-size: 0.95rem;
  color: var(--zyss-color-text);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.zyss-theme__latest-title:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .zyss-theme__recent-home-grid,
  .zyss-theme__content-grid--home-sections {
    grid-template-columns: 1fr;
  }

  .zyss-theme__content-grid--recent-album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .zyss-theme__content-grid--recent-album {
    grid-template-columns: 1fr;
  }
}

/* [한글 주석] 메인 페이지 맞춤형 레이아웃 스타일 */
.zyss-theme__home-upper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .zyss-theme__home-upper-grid {
    grid-template-columns: 1fr;
  }
}

.zyss-theme__home-section-card {
  height: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--zyss-color-border);
}

/* 웹진 컴팩트 스타일 */
.zyss-theme__home-section-posts--webzine-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zyss-theme__card--webzine-mini .zyss-theme__card-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zyss-theme__card--webzine-mini .zyss-theme__card-thumbnail {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.zyss-theme__card--webzine-mini .zyss-theme__card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zyss-theme__card--webzine-mini .zyss-theme__card-title {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

/* 하단 앨범 가로 레이아웃 */
.zyss-theme__content-grid--album-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

@media (max-width: 1200px) {
  .zyss-theme__content-grid--album-horizontal { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .zyss-theme__content-grid--album-horizontal { grid-template-columns: repeat(2, 1fr); }
}

.zyss-theme__card--album-item .zyss-theme__card-thumbnail {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.zyss-theme__card--album-item .zyss-theme__card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.zyss-theme__card--album-item:hover img {
  transform: scale(1.05);
}

.zyss-theme__card--album-item .zyss-theme__card-title {
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

/* [한글 주석] 사이드바 메뉴 순서 개편에 따른 스타일 보정 */
.zyss-theme__sidebar .zyss-theme__widget {
  margin-bottom: 30px;
}

.zyss-theme__sidebar .zyss-theme__widget-title {
  font-size: 0.75rem;
  color: var(--zyss-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding-left: 4px;
  border-left: 2px solid var(--zyss-color-primary);
}

.zyss-theme__side-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zyss-theme__side-nav-item {
  margin-bottom: 4px;
}

.zyss-theme__side-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--zyss-color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.03);
}

.zyss-theme__side-nav-link:hover,
.zyss-theme__side-nav-link.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.zyss-theme__side-nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--zyss-color-text-muted);
}

/* [한글 주석] 사이드바 서브메뉴 토글 버튼 스타일 */
.zyss-theme__side-nav-caret {
  background: none;
  border: none;
  padding: 4px;
  color: var(--zyss-color-text-muted);
  cursor: pointer;
  transition: transform 0.2s;
}

.zyss-theme__side-nav-item.is-expanded > .zyss-theme__side-nav-link .zyss-theme__side-nav-caret {
  transform: rotate(180deg);
  color: var(--zyss-color-primary);
}

.zyss-theme__side-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* [한글 주석] 블로그 댓글 디자인 - 게시판 스타일과 일체화 */
.zyss-theme__comments-card.zyss-board__comments {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.zyss-theme__comments-card .zyss-board__detail-section-title {
  margin-bottom: 18px;
}

.zyss-theme__comments-card .zyss-board__comment-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: #fff !important;
  margin-bottom: 12px;
}

.zyss-theme__comments-card .zyss-board__comment-guest-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.zyss-theme__comments-card .zyss-board__comment-guest-fields input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  height: 38px;
  padding: 0 12px;
  color: #fff;
  font-size: 0.88rem;
}

.zyss-theme__comments-card .zyss-board__comment-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.zyss-theme__comments-card .zyss-board__comment-item {
  list-style: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.zyss-theme__comments-card .zyss-board__comment-item + .zyss-board__comment-item {
  margin-top: 12px;
}

.zyss-theme__comments-card .zyss-board__comment-item--reply {
  margin-left: 30px;
}

.zyss-theme__comments-card .zyss-theme__comment-article {
  display: flex;
  gap: 16px;
}

.zyss-theme__comments-card .zyss-theme__comment-avatar {
  flex: 0 0 56px;
}

.zyss-theme__comments-card .zyss-theme__comment-avatar .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.zyss-theme__comments-card .zyss-theme__comment-main {
  flex: 1;
  min-width: 0;
}

.zyss-theme__comments-card .zyss-board__comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: var(--zyss-color-text-muted);
}

.zyss-theme__comments-card .zyss-board__comment-author {
  color: #fff;
  font-weight: 600;
}

.zyss-theme__comments-card .zyss-board__comment-date {
  color: var(--zyss-color-text-muted);
}

.zyss-theme__comments-card .zyss-board__comment-body {
  margin-top: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.zyss-theme__comments-card .zyss-board__comment-body p:first-child {
  margin-top: 0;
}

.zyss-theme__comments-card .zyss-board__comment-body p:last-child {
  margin-bottom: 0;
}

.zyss-theme__comments-card .zyss-theme__comment-actions,
.zyss-theme__comments-card .reply {
  margin-top: 12px;
}

.zyss-theme__comments-card .comment-reply-link,
.zyss-theme__comments-card .zyss-board__btn,
.zyss-theme__comments-card .zyss-board__comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111111;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.zyss-theme__comments-card .comment-reply-link:hover,
.zyss-theme__comments-card .zyss-board__btn:hover,
.zyss-theme__comments-card .zyss-board__comment-submit:hover {
  background: #000000;
  transform: translateY(-1px);
}

.zyss-theme__comments-card .comment-reply-link {
  min-width: 72px;
}

.zyss-theme__comments-card .children {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.zyss-theme__comments-card .comment-form label {
  display: block;
  margin-bottom: 8px;
}

.zyss-theme__comments-card .zyss-theme__comment-awaiting {
  margin: 0 0 10px;
  color: var(--zyss-color-text-muted);
  font-size: 0.82rem;
}

/* [한글 주석] 모바일 헤더 메뉴 하위 항목 아코디언 스타일 */
@media (max-width: 900px) {
  .zyss-theme__nav-submenu {
    position: static;
    left: auto;
    top: auto;
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 6px;
    max-height: 0;
    margin-top: 0 !important;
    padding: 0 0 0 14px !important;
    overflow: hidden;
    visibility: visible !important;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-6px);
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transition:
      max-height 0.28s ease,
      opacity 0.22s ease,
      transform 0.22s ease,
      margin-top 0.22s ease;
  }
  
  .zyss-theme__nav-item.is-expanded > .zyss-theme__nav-submenu {
    max-height: 480px;
    margin-top: 6px !important;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .zyss-theme__nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .zyss-theme__nav-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 4px;
    font-size: 0.82rem;
    transition: transform 0.22s ease, color 0.22s ease, opacity 0.22s ease;
    opacity: 0.62;
  }

  .zyss-theme__nav-item.is-expanded > .zyss-theme__nav-link .zyss-theme__nav-caret {
    transform: rotate(180deg);
    color: var(--zyss-color-primary);
    opacity: 1;
  }

  .zyss-theme__nav-submenu .zyss-theme__nav-link {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
    line-height: 1.45;
    word-break: keep-all;
  }

  .zyss-theme__nav-submenu .zyss-theme__nav-label {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
  }

  .zyss-theme__nav-submenu--depth-3 {
    padding-left: 12px !important;
  }

  /* 모바일에서 라인 ::after 비활성화 */
  .zyss-theme__nav-list > .zyss-theme__nav-item > .zyss-theme__nav-link::after {
    display: none;
  }

  /* 모바일에서는 실제 caret span만 사용하고 가상 caret은 숨깁니다. */
  .zyss-theme__nav-item--has-children > .zyss-theme__nav-link::after {
    content: none;
    display: none;
  }
}
