/* ============================================================
   Hobzo Theme – hobzo-single.css
   Страница на хоби (TemplateHobby) и текстът на хобита и статии (Prose).
   ============================================================ */

/* ── Път (трохи) – само визия, разметката е от inc/breadcrumbs.php ── */
.hz-hobby-crumbs, .hz-crumbs-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 24px 0; box-sizing: border-box; }
.hz-hobby-crumbs .hobzo-breadcrumbs ol, .hz-crumbs-wrap .hobzo-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hz-hobby-crumbs .hobzo-breadcrumbs a, .hz-crumbs-wrap .hobzo-breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.hz-hobby-crumbs .hobzo-breadcrumbs a:hover, .hz-crumbs-wrap .hobzo-breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.hz-hobby-crumbs .hobzo-breadcrumbs__item-separator, .hz-crumbs-wrap .hobzo-breadcrumbs__item-separator { font-size: 0; display: flex; }
.hz-hobby-crumbs .hobzo-breadcrumbs__item-separator::before, .hz-crumbs-wrap .hobzo-breadcrumbs__item-separator::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.hz-hobby-crumbs .hobzo-breadcrumbs__item--active, .hz-crumbs-wrap .hobzo-breadcrumbs__item--active { color: var(--ink); font-weight: 700; }

/* ── Dashboard ──────────────────────────────────────────── */
.hz-hobby-stripe { height: 12px; background: var(--hb-cat); }
.hz-hobby-top { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 20px 24px 56px; box-sizing: border-box; }
.hz-hobby-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hz-hobby-head { display: flex; flex-direction: column; gap: 10px; }
.hz-hobby-title { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hz-hobby-lead { margin: 0; max-width: 640px; font-size: 19px; line-height: 30px; font-weight: 500; color: var(--ink-muted); }
.hz-hobby-img { display: flex; height: 440px; overflow: hidden; border-radius: var(--radius-lg); }
.hz-hobby-img-spine { width: 14px; flex-shrink: 0; background: var(--hb-cat); }
.hz-hobby-img-ph { position: relative; flex-grow: 1; overflow: hidden; background: var(--surface-sunken); }
.hz-hobby-img-ph::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 64px solid #EADDCD; right: -120px; bottom: -220px; box-sizing: border-box; }
.hz-hobby-img-ph img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .hz-hobby-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
    .hz-hobby-title { font-size: 28px; line-height: 36px; }
    .hz-hobby-lead { font-size: 17px; line-height: 28px; }
    .hz-hobby-img { height: 240px; }
}

/* ── Основна информация + Какво ще развиеш? ─────────────── */
.hz-ip { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 14px 36px rgba(36,23,13,.12); }
.hz-ip-head { padding: 20px 24px; background: var(--ink); }
.hz-ip-head h2 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--inverse-ink); }
.hz-ip-extra { margin: 6px 0 0; font-size: 13px; color: var(--inverse-ink-muted); }
.hz-ip-extra a { color: var(--inverse-ink); font-weight: 700; text-decoration: none; }
.hz-ip-extra a:hover { text-decoration: underline; }
.hz-ip-list { margin: 0; padding: 6px 24px 10px; }
.hz-ip-row { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid #EFE5D8; }
.hz-ip-row:last-child { border-bottom: 0; }
.hz-ip-row dt { display: flex; align-items: center; gap: 12px; flex-grow: 1; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.hz-ip-row dt .hz-icon { color: var(--brand-text); }
.hz-ip-row dd { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); text-align: right; }
.hz-ip-row dd a { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); text-decoration: none; }
.hz-ip-row dd a:hover { text-decoration: underline; }
.hz-ip-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--hb-cat, var(--line-strong)); vertical-align: middle; }
.hz-ip-row dd .hz-ip-dot { margin-right: 0; }
.hz-ip-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.hz-ip-bars i { width: 4px; border-radius: 1px; background: var(--line); }
.hz-ip-bars i:nth-child(1) { height: 6px; }
.hz-ip-bars i:nth-child(2) { height: 10px; }
.hz-ip-bars i:nth-child(3) { height: 14px; }
.hz-ip-bars i.on { background: var(--brand); }
.hz-ip-skills { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; background: var(--hb-cat); }
.hz-ip-skills::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255,246,236,.07); right: -70px; bottom: -110px; box-sizing: border-box; }
.hz-ip-skills h3 { position: relative; margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--inverse-ink); }
.hz-ip-skills ul { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hz-ip-skills li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--inverse-ink); }
.hz-ip-em img.emoji { display: block; width: 18px !important; height: 18px !important; margin: 0 !important; }
.hz-ip-em { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--inverse-ink); color: var(--ink); font-size: 17px; }

/* ── Текст (Prose, variant="article") ────────────────────── */
.hz-prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; padding: 8px 24px 64px; box-sizing: border-box; font-size: 17px; line-height: 28px; color: var(--ink); }
.hz-prose > * { margin: 0; }
.hz-prose h2 { margin-top: 24px; font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 600; color: var(--ink); }
.hz-prose > h2:first-child { margin-top: 0; }
.hz-prose.is-article h2 { padding-bottom: 10px; border-bottom: 2px solid var(--brand); color: var(--ink); }
.hz-prose h3 { margin-top: 16px; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.hz-prose a { color: var(--brand-text); font-weight: 600; text-decoration: underline; }
.hz-prose a:hover { color: var(--ink); }
.hz-prose ul, .hz-prose ol { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; }
.hz-prose li::marker { color: var(--brand-text); font-weight: 700; }
.hz-prose blockquote { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; padding: 22px 26px; border: 0; border-radius: 16px; background: var(--surface-sunken); }
.hz-prose blockquote p { margin: 0; font-size: 19px; line-height: 30px; font-weight: 600; }
.hz-prose cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.hz-prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.hz-prose figcaption { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.hz-prose table { width: 100%; border-collapse: collapse; }
.hz-prose > table { border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.hz-prose .wp-block-table, .hz-prose .hz-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.hz-prose th { padding: 12px 16px; background: var(--surface-sunken); font-size: 14px; font-weight: 800; text-align: left; }
.hz-prose td { padding: 12px 16px; border-top: 1px solid #EFE5D8; font-size: 15px; line-height: 24px; }
@media (max-width: 640px) { .hz-prose h2 { font-size: 24px; line-height: 32px; } }

/* ── Често задавани въпроси ─────────────────────────────── */
.hz-faq-band { background: var(--surface-sunken); }
.hz-faq-in { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin: 0 auto; padding: 56px 24px 64px; box-sizing: border-box; }
.hz-faq-title { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--brand); font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 600; color: var(--ink); }
.hz-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hz-faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.hz-faq-item[open] { border-color: var(--brand); }
.hz-faq-item summary { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 18px 14px 22px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; color: var(--ink); box-sizing: border-box; transition: background-color 150ms ease; }
.hz-faq-item summary::-webkit-details-marker { display: none; }
.hz-faq-item summary:hover { background-color: #FBF3EA; }
.hz-faq-item summary > span:first-child { flex-grow: 1; }
.hz-faq-plus { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-sunken); color: var(--ink); transition: transform 200ms ease; }
.hz-faq-item[open] .hz-faq-plus { background: var(--brand); color: var(--on-brand); transform: rotate(45deg); }
.hz-faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 24px; color: #4A3A2E; }
.hz-faq-a p { margin: 0; }
@media (max-width: 640px) { .hz-faq-title { font-size: 24px; line-height: 32px; } }

/* ── Свързано съдържание ────────────────────────────────── */
.hz-hobby-articles { padding-top: 64px; padding-bottom: 24px; }
.hz-hobby .hz-section-last { padding-top: 40px; padding-bottom: 80px; }

/* ============================================================
   БЛОГ (home.php)
   ============================================================ */
.hz-blog { display: flex; flex-direction: column; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 24px 24px 72px; box-sizing: border-box; }
.hz-blog-crumbs .hobzo-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hz-blog-crumbs .hobzo-breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.hz-blog-crumbs .hobzo-breadcrumbs__item--active { color: var(--ink); font-weight: 700; }
.hz-blog-head { display: flex; flex-direction: column; gap: 8px; }
.hz-blog-title { margin: 0; font-family: var(--font-display); font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hz-blog-lead { margin: 0; font-size: 19px; line-height: 30px; font-weight: 500; color: var(--ink-muted); }
.hz-feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: box-shadow 150ms ease; }
.hz-feat:hover { box-shadow: var(--shadow-pop); color: var(--ink); }
.hz-feat-img, .hz-post-img { position: relative; display: block; overflow: hidden; background: var(--surface-sunken); }
.hz-feat-img { min-height: 280px; height: 100%; border-radius: 16px; }
.hz-feat-img::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 44px solid #EADDCD; right: -80px; bottom: -150px; box-sizing: border-box; }
.hz-feat-img img, .hz-post-img img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.hz-feat-img img { position: absolute; inset: 0; }
.hz-feat-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 16px 0; }
.hz-feat-kicker { align-self: flex-start; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hz-feat-title { font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 600; }
.hz-feat-text { font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.hz-feat-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-muted); }
.hz-read { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); }
.hz-posts { gap: 40px 24px; }
.hz-post { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; transition: transform 150ms ease; }
.hz-post:hover { transform: translateY(-2px); color: var(--ink); }
.hz-post-img { height: 140px; border-radius: 14px; }
.hz-post-img::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 17px solid #EADDCD; right: -30px; bottom: -60px; box-sizing: border-box; }
.hz-post-meta { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.hz-post-title { font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; transition: color 150ms ease; }
.hz-post:hover .hz-post-title { color: var(--brand-text); }
@media (max-width: 860px) { .hz-feat { grid-template-columns: minmax(0, 1fr); } .hz-feat-img { min-height: 200px; } .hz-feat-body { padding: 4px 12px 12px; } }
@media (max-width: 640px) { .hz-blog-title { font-size: 32px; line-height: 40px; } .hz-blog-lead { font-size: 17px; line-height: 28px; } .hz-feat-title { font-size: 28px; line-height: 36px; } }

/* Страници (paginate_links) */
.hz-pages { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.hz-pages .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; box-sizing: border-box; }
.hz-pages .page-numbers.prev, .hz-pages .page-numbers.next { gap: 6px; padding: 0 16px; border-radius: var(--radius-pill); font-weight: 700; }
.hz-pages .page-numbers.current { border-color: var(--ink); background: var(--ink); color: var(--inverse-ink); }
.hz-pages .page-numbers.dots { border: 0; }
.hz-pages a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* ============================================================
   СТАТИЯ (single.php)
   ============================================================ */
.hz-arthead { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; padding: 24px 24px 40px; box-sizing: border-box; }
.hz-arthead .hz-crumbs-wrap, .hz-blog .hz-crumbs-wrap { padding: 0; max-width: none; margin: 0; }
.hz-crumbs-wrap .hobzo-breadcrumbs, .hz-hobby-crumbs .hobzo-breadcrumbs { margin: 0; padding: 0; text-align: left; }
.hz-crumbs-wrap .hobzo-breadcrumbs ol, .hz-hobby-crumbs .hobzo-breadcrumbs ol { justify-content: flex-start; }
.hz-arthead-title { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 600; color: var(--ink); }
.hz-arthead-lead { margin: 0; font-size: 19px; line-height: 30px; font-weight: 500; color: var(--ink-muted); }
.hz-arthead-byline { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.hz-arthead-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); }
.hz-arthead-who { display: flex; flex-direction: column; gap: 2px; }
.hz-arthead-author { font-size: 15px; line-height: 20px; font-weight: 800; }
.hz-arthead-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hz-arthead-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hz-arthead-img { position: relative; margin-top: 8px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.hz-arthead-img::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 56px solid #EADDCD; right: -100px; bottom: -200px; box-sizing: border-box; }
.hz-arthead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hz-article-page .hz-prose { padding-bottom: 48px; }
.hz-quiz-band { padding: 48px 0; background: var(--surface-sunken); }
.hz-article-page .hz-section-last, .hz-article-page section:last-child .hz-section { padding-bottom: 72px; }
@media (max-width: 640px) { .hz-arthead-title { font-size: 28px; line-height: 36px; } .hz-arthead-lead { font-size: 17px; line-height: 28px; } }

/* ============================================================
   ОБИКНОВЕНИ СТРАНИЦИ, „ЗА НАС“, 404, ТЕСТ
   ============================================================ */
.hz-page-crumbs { max-width: 1200px; }
.hz-page { display: flex; flex-direction: column; gap: 32px; max-width: 760px; margin: 0 auto; padding: 16px 24px 64px; box-sizing: border-box; }
.hz-page-title { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 600; color: var(--ink); }
.hz-page .hz-page-prose { padding: 0; max-width: none; margin: 0; }
.hz-page-prose h2 { margin-top: 16px; }
.hz-page-lead { font-size: 19px !important; line-height: 30px !important; font-weight: 500; }
.hz-about-quiz { padding-top: 48px; padding-bottom: 72px; }
@media (max-width: 640px) { .hz-page-title { font-size: 28px; line-height: 36px; } }

.hz-btn-ghost { background: transparent; border-color: transparent; color: var(--brand-text); }
.hz-btn-ghost:hover { background: var(--brand-soft); color: var(--ink); }
.hz-404 { padding: 72px 24px 96px; gap: 12px; }
.hz-404-title { font-size: 26px; line-height: 34px; }
.hz-404-search { width: 100%; max-width: 560px; margin-top: 12px; padding: 4px 4px 4px 24px; border-width: 2px; box-sizing: border-box; }
.hz-404-search input { font-size: 17px; line-height: 28px; }
.hz-404 .hz-empty-actions { margin-top: 12px; }
.hz-soon { min-height: 40vh; justify-content: center; }
