/*
Theme Name:  HiRizzi Personal Blog
Theme URI:   https://hirizzi.com
Author:      Rizwan Elahi
Description: Custom theme for hirizzi.com - portfolio, AI services, and premium WordPress plugin sales.
Version:     1.1.0
License:     Private
Text Domain: hirizzi
*/

/* ── RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f9f9f7;
    color: #2c3440;
    overflow-x: hidden;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── CSS VARIABLES ───────────────────────────────────── */
:root {
    --navy:   #1a2d45;
    --accent: #2e86c1;
    --gold:   #d4a843;
    --light:  #f9f9f7;
    --card:   #ffffff;
    --border: #e8e8e4;
    --text:   #2c3440;
    --muted:  #7a8694;
    --max-w:  1100px;
    --post-w: 780px;
}

/* ── NAVIGATION ──────────────────────────────────────── */
.hz-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.hz-nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(16px,4vw,48px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hz-logo {
    font: 700 18px/1 Georgia, serif;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hz-logo-dot { color: var(--gold); }
.hz-logo-sub {
    font: 400 11px/1 -apple-system, sans-serif;
    color: rgba(255,255,255,.45);
    letter-spacing: .08em;
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
}
.hz-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.hz-nav-links a {
    font: 500 13px/1 -apple-system, sans-serif;
    color: rgba(255,255,255,.72);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
}
.hz-nav-links a:hover,
.hz-nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.hz-nav-links a.hz-nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
}
.hz-nav-links a.hz-nav-cta:hover { background: #2470a0; }

/* Login / Register nav buttons */
.hz-nav-links a.hz-nav-login {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
}
.hz-nav-links a.hz-nav-login:hover { background: var(--accent); color: #fff; }
.hz-nav-links a.hz-nav-register {
    background: var(--accent);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
}
.hz-nav-links a.hz-nav-register:hover { background: #2470a0; }

/* Dropdown Menu */
.hz-nav-dropdown {
    position: relative;
}
.hz-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.hz-nav-dropdown:hover .hz-dropdown-menu {
    display: block;
}
.hz-dropdown-menu li {
    list-style: none;
}
.hz-dropdown-menu a {
    display: block;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    white-space: nowrap;
}
.hz-dropdown-menu a:hover {
    background: rgba(255,255,255,.15) !important;
}

/* Hamburger */
.hz-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 8px;
    line-height: 1;
}
@media (max-width: 768px) {
    .hz-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--navy);
        padding: 12px 0;
        gap: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .hz-nav-links.open { display: flex; }
    .hz-nav-links a { padding: 12px 24px; border-radius: 0; width: 100%; }
    .hz-nav-toggle { display: block; }
    
    /* Mobile dropdown */
    .hz-dropdown-menu {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        background: rgba(255,255,255,.05);
        margin: 0;
        padding: 0;
    }
    .hz-nav-dropdown.open .hz-dropdown-menu {
        display: block;
    }
    .hz-dropdown-menu a {
        padding-left: 40px !important;
        font-size: 12px;
    }
}

/* ── HERO (Homepage) ─────────────────────────────────── */
.hz-hero {
    background: linear-gradient(135deg, #0f1e2e 0%, var(--navy) 60%, #1a3a5c 100%);
    padding: clamp(72px,9vw,120px) clamp(20px,4vw,60px);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.hz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(46,134,193,.15) 0%, transparent 65%);
    pointer-events: none;
}
.hz-hero-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.hz-hero-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--accent);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 36px/1 Georgia, serif;
    color: #fff;
    border: 3px solid rgba(255,255,255,.2);
    overflow: hidden;
}
.hz-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hz-hero-eyebrow {
    display: block;
    font: 600 11px/1 -apple-system, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.hz-hero h1 {
    font: 700 clamp(28px,4vw,48px)/1.15 Georgia, serif;
    color: #fff;
    margin-bottom: 16px;
}
.hz-hero-sub {
    font: 400 clamp(15px,1.8vw,18px)/1.7 -apple-system, sans-serif;
    color: rgba(255,255,255,.68);
    margin-bottom: 32px;
    display: block;
}
.hz-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.hz-hero-tag {
    display: inline-block;
    font: 500 12px/1 -apple-system, sans-serif;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 100px;
}

/* ── MAIN LAYOUT ─────────────────────────────────────── */
.hz-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(40px,6vw,72px) clamp(20px,4vw,48px);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .hz-main { grid-template-columns: 1fr; }
    .hz-sidebar { order: 2; }
}

/* ── POSTS FEED ──────────────────────────────────────── */
.hz-feed-label {
    font: 700 11px/1 -apple-system, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hz-feed-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Featured post card */
.hz-card-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}
.hz-card-featured:hover { box-shadow: 0 10px 36px rgba(26,45,69,.12); transform: translateY(-2px); }
.hz-card-featured-img {
    min-height: 260px;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}
.hz-card-featured-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hz-card-featured-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gold);
    color: #fff;
    font: 700 10px/1 -apple-system, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 100px;
}
.hz-card-featured-body {
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 640px) {
    .hz-card-featured { grid-template-columns: 1fr; }
    .hz-card-featured-img { min-height: 200px; }
}

/* Regular post card */
.hz-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    gap: 0;
    text-decoration: none;
    margin-bottom: 16px;
    transition: box-shadow .2s, transform .2s;
}
.hz-card:hover { box-shadow: 0 6px 24px rgba(26,45,69,.1); transform: translateY(-2px); }
.hz-card-img {
    width: 160px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    overflow: hidden;
}
.hz-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hz-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
@media (max-width: 500px) {
    .hz-card { flex-direction: column; }
    .hz-card-img { width: 100%; height: 140px; }
}

/* Shared card elements */
.hz-card-cat {
    font: 600 10px/1 -apple-system, sans-serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
    display: block;
}
.hz-card-title {
    font: 700 clamp(15px,1.6vw,18px)/1.3 Georgia, serif;
    color: var(--navy);
    margin-bottom: 8px;
}
.hz-card-featured-body .hz-card-title { font-size: clamp(18px,2vw,24px); margin-bottom: 10px; }
.hz-card-excerpt {
    font: 400 13px/1.6 -apple-system, sans-serif;
    color: var(--muted);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.hz-card-featured-body .hz-card-excerpt { -webkit-line-clamp: 3; font-size: 14px; }
.hz-card-meta {
    font: 400 11px/1 -apple-system, sans-serif;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hz-card-read { margin-left: auto; font-weight: 600; color: var(--accent); font-size: 12px; }

/* ── SIDEBAR ─────────────────────────────────────────── */
.hz-sidebar { display: flex; flex-direction: column; gap: 24px; }
.hz-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
}
.hz-widget-title {
    font: 700 12px/1 -apple-system, sans-serif;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

/* About widget */
.hz-about-widget { text-align: center; }
.hz-about-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 28px/1 Georgia, serif;
    color: #fff;
    overflow: hidden;
}
.hz-about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hz-about-name { font: 700 16px/1 Georgia, serif; color: var(--navy); margin-bottom: 6px; }
.hz-about-bio { font: 400 13px/1.6 -apple-system, sans-serif; color: var(--muted); margin-bottom: 14px; }
.hz-about-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hz-about-link {
    display: inline-block;
    font: 500 11px/1 -apple-system, sans-serif;
    color: var(--accent);
    background: rgba(46,134,193,.08);
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid rgba(46,134,193,.2);
    transition: background .2s;
}
.hz-about-link:hover { background: rgba(46,134,193,.18); }

/* Categories widget */
.hz-cat-list { display: flex; flex-direction: column; gap: 4px; }
.hz-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 7px;
    font: 500 13px/1 -apple-system, sans-serif;
    color: var(--text);
    text-decoration: none;
    transition: background .2s;
}
.hz-cat-item:hover { background: #f0f4f8; color: var(--accent); }
.hz-cat-count {
    font: 400 11px/1 -apple-system, sans-serif;
    color: #fff;
    background: var(--muted);
    padding: 2px 7px;
    border-radius: 100px;
}

/* Recent posts widget */
.hz-recent-list { display: flex; flex-direction: column; gap: 12px; }
.hz-recent-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.hz-recent-item:last-child { border-bottom: none; }
.hz-recent-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
}
.hz-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hz-recent-title { font: 600 12px/1.4 -apple-system, sans-serif; color: var(--navy); margin-bottom: 4px; }
.hz-recent-date { font: 400 11px/1 -apple-system, sans-serif; color: var(--muted); }

/* Tags widget */
.hz-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.hz-tag-cloud a {
    display: inline-block;
    font: 500 11px/1 -apple-system, sans-serif;
    color: var(--muted);
    background: #f0f4f8;
    padding: 5px 10px;
    border-radius: 100px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.hz-tag-cloud a:hover { background: var(--accent); color: #fff; }

/* Search widget */
.hz-search-form { display: flex; gap: 6px; }
.hz-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: 400 13px/1 -apple-system, sans-serif;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
}
.hz-search-input:focus { border-color: var(--accent); }
.hz-search-btn {
    padding: 10px 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background .2s;
}
.hz-search-btn:hover { background: #2470a0; }

/* ── PAGINATION ──────────────────────────────────────── */
.hz-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    font: 600 13px/1 -apple-system, sans-serif;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s;
}
.hz-pagination .page-numbers:hover,
.hz-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.hz-pagination .page-numbers.dots { background: none; border: none; }
.hz-pagination .prev, .hz-pagination .next { width: auto; padding: 0 14px; }

/* ── SINGLE POST ─────────────────────────────────────── */
.hz-post-wrap {
    max-width: var(--post-w);
    margin: 0 auto;
    padding: clamp(40px,6vw,72px) clamp(20px,4vw,48px);
}
.hz-post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 500 13px/1 -apple-system, sans-serif;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 28px;
    opacity: .85;
    transition: opacity .2s;
}
.hz-post-back:hover { opacity: 1; }
.hz-post-cat-badge {
    display: inline-block;
    background: rgba(46,134,193,.1);
    color: var(--accent);
    font: 600 11px/1 -apple-system, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-decoration: none;
}
.hz-post-title {
    font: 700 clamp(24px,3.5vw,40px)/1.2 Georgia, serif;
    color: var(--navy);
    margin-bottom: 18px;
}
.hz-post-meta-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font: 400 13px/1 -apple-system, sans-serif;
    color: var(--muted);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}
.hz-post-feat-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 32px;
    max-height: 440px;
    object-fit: cover;
}

/* Post content typography */
.hz-post-content {
    font: 400 17px/1.85 Georgia, serif;
    color: #2c3440;
}
.hz-post-content h2 {
    font: 700 26px/1.3 Georgia, serif;
    color: var(--navy);
    margin: 48px 0 14px;
    padding-top: 14px;
    border-top: 2px solid var(--border);
}
.hz-post-content h3 {
    font: 700 20px/1.3 -apple-system, sans-serif;
    color: var(--navy);
    margin: 32px 0 10px;
}
.hz-post-content p { margin: 0 0 22px; }
.hz-post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hz-post-content ul, .hz-post-content ol { margin: 0 0 22px 24px; }
.hz-post-content ul { list-style: disc; }
.hz-post-content ol { list-style: decimal; }
.hz-post-content li { margin-bottom: 8px; }
.hz-post-content strong { color: var(--navy); font-weight: 700; }
.hz-post-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    background: rgba(46,134,193,.06);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5a6a;
}
.hz-post-content img { border-radius: 8px; margin: 24px 0; }
.hz-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font: 400 14px/1.5 -apple-system, sans-serif;
}
.hz-post-content th {
    background: var(--navy);
    color: #fff;
    padding: 11px 16px;
    text-align: left;
    font-weight: 600;
}
.hz-post-content td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}
.hz-post-content tr:nth-child(even) td { background: #f5f7fa; }
.hz-post-content code {
    background: #f0f4f8;
    padding: 2px 7px;
    border-radius: 4px;
    font: 400 14px/1 monospace;
    color: #c7254e;
}
.hz-post-content pre {
    background: #1e2d3d;
    color: #e8f0f8;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font: 400 13px/1.6 monospace;
}
.hz-post-content pre code { background: none; color: inherit; padding: 0; }
.hz-post-content hr { border: none; border-top: 2px solid var(--border); margin: 40px 0; }

/* Post tags */
.hz-post-tags {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.hz-post-tags-label { font: 600 12px/1 -apple-system, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.hz-post-tags a {
    display: inline-block;
    background: #f0f4f8;
    color: #5a6472;
    font: 500 12px/1 -apple-system, sans-serif;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.hz-post-tags a:hover { background: var(--accent); color: #fff; }

/* Author box */
.hz-author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #f5f7fa;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}
.hz-author-box-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 22px/1 Georgia, serif;
    color: #fff;
    overflow: hidden;
}
.hz-author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hz-author-box-name { font: 700 15px/1 -apple-system, sans-serif; color: var(--navy); margin-bottom: 5px; }
.hz-author-box-bio { font: 400 13px/1.6 -apple-system, sans-serif; color: var(--muted); }

/* Share bar */
.hz-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0;
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.hz-share-label { font: 600 12px/1 -apple-system, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.hz-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 12px/1 -apple-system, sans-serif;
    padding: 8px 14px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s;
}
.hz-share-btn:hover { opacity: .85; }
.hz-share-twitter { background: #1da1f2; color: #fff; }
.hz-share-linkedin { background: #0077b5; color: #fff; }
.hz-share-copy { background: #f0f4f8; color: var(--text); }

/* ── COMMENTS ────────────────────────────────────────── */
.hz-comments-section {
    margin-top: 52px;
    padding-top: 36px;
    border-top: 2px solid var(--border);
}
.hz-comments-title { font: 700 22px/1.2 Georgia, serif; color: var(--navy); margin-bottom: 28px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 14px 0 0 40px; padding: 0; }
.hz-comment { margin-bottom: 20px; }
.hz-comment-body { background: #f5f7fa; border-radius: 10px; padding: 18px 20px; }
.hz-comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hz-comment-header img { border-radius: 50%; width: 38px; height: 38px; }
.hz-comment-author-name { font: 600 13px/1 -apple-system, sans-serif; color: var(--navy); }
.hz-comment-date { font: 400 11px/1 -apple-system, sans-serif; color: var(--muted); margin-top: 3px; }
.hz-comment-text { font: 400 14px/1.7 -apple-system, sans-serif; color: #3a4a5a; margin-bottom: 8px; }
.comment-reply-link { font: 500 12px/1 -apple-system, sans-serif; color: var(--accent); text-decoration: none; }
.hz-no-comments {
    background: #f5f7fa;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    font: 400 14px/1.6 -apple-system, sans-serif;
    color: var(--muted);
    margin-bottom: 32px;
}

/* Comment form */
.hz-comment-form-title { font: 700 18px/1.2 Georgia, serif; color: var(--navy); margin: 36px 0 20px; }
#commentform p { margin-bottom: 16px; }
#commentform label {
    display: block;
    font: 600 11px/1 -apple-system, sans-serif;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 7px;
}
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    font: 400 14px/1.5 -apple-system, sans-serif !important;
    color: var(--text) !important;
    background: #fff !important;
    transition: border-color .2s;
}
#commentform textarea { height: 120px !important; resize: vertical; }
#commentform input:focus, #commentform textarea:focus { outline: none !important; border-color: var(--accent) !important; }
#commentform #submit, #commentform input[type="submit"] {
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    font: 600 14px/1 -apple-system, sans-serif !important;
    cursor: pointer !important;
    transition: background .2s !important;
}
#commentform #submit:hover { background: #2470a0 !important; }
.logged-in-as, .must-log-in { font: 400 13px/1.5 -apple-system, sans-serif; color: var(--muted); margin-bottom: 14px; }
.logged-in-as a, .must-log-in a { color: var(--accent); }

/* ── PAGE TEMPLATE ───────────────────────────────────── */
.hz-page-wrap {
    max-width: var(--post-w);
    margin: 0 auto;
    padding: clamp(40px,6vw,72px) clamp(20px,4vw,48px);
}
.hz-page-title { font: 700 clamp(24px,3.5vw,40px)/1.2 Georgia, serif; color: var(--navy); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.hz-page-content { font: 400 17px/1.85 Georgia, serif; color: #2c3440; }

/* ── FOOTER ──────────────────────────────────────────── */
.hz-footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 48px clamp(20px,4vw,60px) 28px;
    color: rgba(255,255,255,.45);
    font: 400 13px/1.7 -apple-system, sans-serif;
    margin-top: auto;
}
.hz-footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.hz-footer h4 {
    font: 700 12px/1 -apple-system, sans-serif;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 14px;
}
.hz-footer a { color: rgba(255,255,255,.45); text-decoration: none; display: block; margin-bottom: 8px; transition: color .2s; }
.hz-footer a:hover { color: var(--gold); }
.hz-footer-logo { font: 700 18px/1 Georgia, serif; color: #fff; margin-bottom: 10px; }
.hz-footer-logo span { color: var(--gold); }
.hz-footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.6; }
.hz-footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}
.hz-footer-bottom-links { display: flex; gap: 16px; }
.hz-footer-bottom-links a { display: inline; margin: 0; }
@media (max-width: 680px) {
    .hz-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .hz-footer-bottom { flex-direction: column; text-align: center; }
}

/* ── 404 PAGE ────────────────────────────────────────── */
.hz-404-wrap {
    max-width: 560px;
    margin: 80px auto;
    padding: 0 24px;
    text-align: center;
}
.hz-404-code { font: 700 96px/1 Georgia, serif; color: var(--border); margin-bottom: 8px; }
.hz-404-title { font: 700 28px/1.3 Georgia, serif; color: var(--navy); margin-bottom: 12px; }
.hz-404-text { font: 400 15px/1.7 -apple-system, sans-serif; color: var(--muted); margin-bottom: 28px; }
.hz-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font: 600 14px/1 -apple-system, sans-serif;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}
.hz-btn:hover { background: #2470a0; }

/* ── UTILITIES ───────────────────────────────────────── */
.hz-no-posts { text-align: center; padding: 60px 20px; color: var(--muted); font: 400 16px/1.7 -apple-system, sans-serif; }
