/*
Theme Name: Fast Wuzz
Theme URI: https://xmith.id
Author: Rifki
Author URI: https://xmith.id
Description: Tema WordPress cepat dan ringan dari xmith.id
Version: 2.4.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fast-wuzz
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --bg: #f2f3f5;
    --surface: #ffffff;
    --text: #1f1f1f;
    --muted: #666666;
    --accent: #c41e3a;
    --nav-bg: #8b1c31;
    --nav-text: #ffffff;
    --border: #e8eaed;
    --title: #c41e3a;
    --shadow: 0 4px 14px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}

/* Header branding */
.header-branding {
    background: transparent;
    padding: 26px 0 20px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 32px;
    font-weight: 900;
    color: #0b8f8f;
    letter-spacing: -0.5px;
}

.site-title:hover { text-decoration: none; }

.logo-icon {
    color: #f6b100;
    font-size: 34px;
    line-height: 1;
}

.site-tagline {
    margin: 4px 0 0;
    font-size: 13px;
    font-style: italic;
    color: var(--muted);
}

/* Navigation bar - width follows container */
.site-nav-bar {
    background: transparent;
    margin-bottom: 28px;
}

.site-nav-bar > .container {
    background: var(--nav-bg);
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--nav-text);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background .15s ease;
}

.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a,
.nav-menu > .current_page_item > a {
    background: rgba(0,0,0,.18);
    text-decoration: none;
}

/* Sub-menu */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--nav-bg);
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    border-radius: var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 50;
    overflow: hidden;
}

.nav-menu li:hover > .sub-menu { display: block; }

.nav-menu .sub-menu a {
    display: block;
    padding: 9px 16px;
    color: var(--nav-text);
    font-size: 13px;
}

.nav-menu .sub-menu a:hover {
    background: rgba(0,0,0,.18);
    text-decoration: none;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover { background: rgba(0,0,0,.18); }

.mobile-menu-toggle { display: none; }

/* Search panel */
.header-search-panel {
    background: var(--nav-bg);
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.header-search-panel[hidden] { display: none; }

.header-search-panel .search-form {
    display: flex;
    max-width: 520px;
    gap: 10px;
}

.header-search-panel .search-form input[type="search"] {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
}

.header-search-panel .search-form button {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.header-search-panel .search-form button:hover { background: #9a1830; }

/* Page header */
.page-header-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px;
    margin: 24px auto 28px;
    max-width: var(--max);
}

.page-header-bar .page-title {
    font-size: 28px;
    margin: 0;
    color: var(--text);
}

/* Layout */
.content-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding-bottom: 40px;
}

.content-wrap { min-width: 0; }

/* Post list */
.post-list { margin-bottom: 24px; }

.post-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 18px;
    align-items: start;
    transition: transform .18s ease, box-shadow .18s ease;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.post-thumb {
    display: block;
    overflow: hidden;
    background: #eef3fb;
    border-radius: var(--radius-sm);
}

.post-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .25s ease;
    border-radius: var(--radius-sm);
}

.post-item:hover .post-thumb img { transform: scale(1.04); }

.post-body { padding: 4px 8px 4px 0; }

.entry-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.entry-title a {
    color: var(--title);
    font-weight: 700;
}

.entry-title a:hover { color: #9a1830; text-decoration: underline; }

.entry-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--accent); }

.entry-summary {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.entry-summary p { margin: 0; }

/* Category labels */
.entry-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.entry-cats.cats-under-title { margin-bottom: 10px; }
.cat-link {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(196,30,58,.10);
    color: var(--accent) !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.cat-link:hover { background: var(--accent); color: #fff !important; text-decoration: none; }

/* Single post category under title */
.entry-single .entry-cats {
    justify-content: flex-start;
}
.entry-single .entry-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.entry-single h1.entry-title { margin-bottom: 10px; }

/* Tags removed — category replaces footer tags */
.entry-cats-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.entry-cats-footer .entry-cats {
    margin-bottom: 0;
}

/* Feature: related posts grid */
.related-posts {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px;
}

.related-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #eef3fb;
}

.related-thumb img,
.related-thumb .post-thumb-placeholder {
    width: 90px;
    height: 70px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
}

.related-thumb .post-thumb-placeholder { background: linear-gradient(135deg,#eef3fb,#dfe8f7); }

.related-title {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 4px;
}

.related-title a { color: var(--text); font-weight: 700; }
.related-title a:hover { color: var(--accent); }

.related-meta {
    font-size: 12px;
    color: var(--muted);
}

/* Feature: social share */
.entry-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.share-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    transition: transform .15s ease, opacity .15s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
    text-decoration: none;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #0f1419; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }

/* Feature: prev/next navigation */
.post-navigation {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.post-navigation:only-child { justify-content: flex-end; }

.post-nav-link {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: inherit;
}

.post-nav-link:hover { text-decoration: none; }

.post-nav-next {
    margin-left: auto;
    justify-content: flex-end;
    text-align: right;
}

.post-nav-arrow {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.post-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-nav-link:hover .post-nav-title { color: var(--accent); }

/* Feature: 404 page */
.error-404 {
    padding: 60px 16px;
    display: flex;
    justify-content: center;
    min-height: 70vh;
    align-items: center;
}

.error-card {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 48px;
    max-width: 560px;
    width: 100%;
}

.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--accent);
}

.error-digit {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
}

.error-face {
    color: var(--accent);
    opacity: .85;
}

.error-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text);
}

.error-subtitle {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 28px;
    line-height: 1.6;
}

.error-suggestions {
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    margin-bottom: 24px;
}

.error-suggestions h2 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text);
}

.error-suggestions ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.error-suggestions li { margin-bottom: 4px; }

.error-search form { justify-content: center; }

.error-search input[type="search"] {
    min-width: 220px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.error-btn:hover { background: #9a1830; text-decoration: none; color: #fff; }

.error-btn svg { width: 18px; height: 18px; }

.error-btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.error-btn-ghost:hover { background: var(--accent); color: #fff; }

.error-help {
    margin: 22px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.error-help a {
    color: var(--accent);
    font-weight: 700;
}

.error-help a:hover { text-decoration: underline; }

/* Responsive adjustments for new features */
@media (max-width: 640px) {
    .related-grid { grid-template-columns: 1fr; }
    .error-card { padding: 32px 22px; }
    .error-digit { font-size: 72px; }
    .error-title { font-size: 20px; }
    .error-actions { flex-direction: column; }
    .error-btn { width: 100%; justify-content: center; }
}

/* Read more link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}
.read-more:hover { text-decoration: underline; }
.hero-read { margin-top: 14px; }

/* Thumbnail placeholder */
.post-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    font-size: 48px;
    font-weight: 900;
    color: #0b63ce;
    background: linear-gradient(135deg,#eef3fb,#dfe8f7);
    border-radius: var(--radius-sm);
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.page-numbers,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.page-numbers.current,
.nav-links span.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.page-numbers:hover,
.nav-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* Sidebar */
.widget-area { align-self: start; }

.widget {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 18px;
}

.widget-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    text-transform: uppercase;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.widget li:last-child { border-bottom: none; }

.widget a { color: var(--text); font-weight: 600; }
.widget a:hover { color: var(--accent); }

/* Widget search */
.widget_search form,
.wp-block-search__button-outside {
    display: flex;
    gap: 8px;
}

.widget_search input[type="search"],
.wp-block-search__input {
    flex: 1;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    background: #f9fafb;
}

.widget_search button,
.wp-block-search__button {
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.widget_search button:hover,
.wp-block-search__button:hover { background: #9a1830; }

/* Hero section */
.hero-section { margin-bottom: 26px; }
.hero-inner { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: 16px; }
.hero-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: center; }
.hero-image { display: block; overflow: hidden; background: #eef3fb; border-radius: var(--radius); }
.hero-image img { width: 100%; height: 340px; object-fit: cover; display: block; border-radius: var(--radius); }
.hero-placeholder { display: flex; align-items: center; justify-content: center; height: 340px; font-size: 48px; font-weight: 900; color: var(--accent); background: #eef3fb; border-radius: var(--radius); }
.hero-body { padding: 8px 12px; }
.hero-post-title { font-size: 26px; line-height: 1.25; margin: 0 0 10px; }
.hero-post-title a { color: var(--title); font-weight: 800; }
.hero-post-title a:hover { color: #9a1830; }
.hero-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.hero-excerpt { font-size: 14.5px; color: #444; line-height: 1.65; }
.section-head { font-size: 20px; font-weight: 800; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); text-transform: uppercase; }

/* Single post / page content */
.entry-single,
.entry-page {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px;
}

.entry-page { margin-bottom: 20px; }

.entry-single .entry-hero,
.entry-page .entry-hero {
    margin: -20px -20px 20px -20px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.entry-single .entry-hero img,
.entry-page .entry-hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 0;
}

.entry-single .entry-header,
.entry-page .entry-header {
    margin-bottom: 16px;
}

.entry-single h1.entry-title,
.entry-page h1.entry-title {
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--title);
    font-weight: 800;
}

.entry-single .entry-content,
.entry-page .entry-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: #222;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; padding-left: 24px; }
.entry-content img { border-radius: var(--radius); margin: 12px 0; }
.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 14px 20px;
    margin: 18px 0;
    background: #f7f8fa;
    color: #333;
    border-radius: var(--radius);
}

/* Tags */
.entry-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.tag-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-links span { font-size: 13px; font-weight: 700; color: var(--text); }
.tag-links a {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    background: #f2f3f5;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}
.tag-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

.page-links { margin: 20px 0; }
.page-links a,
.page-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    margin-right: 6px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
}
.page-links span { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Comments */
.comments-area {
    margin-top: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px;
}

.comments-title {
    font-size: 20px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list > li { margin-bottom: 18px; }
.comment-list .children { list-style: none; margin: 14px 0 0 24px; padding: 0; }

.comment-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.comment-avatar .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-meta {
    flex: 1;
    min-width: 0;
}

.comment-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.comment-author-name a { color: var(--text); }
.comment-author-name a:hover { color: var(--accent); }

.comment-metadata {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.comment-metadata a { color: var(--muted); }
.comment-metadata a:hover { color: var(--accent); }

.comment-content {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
}

.comment-content p { margin: 0 0 10px; }

.reply { margin-top: 8px; }
.reply a {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}
.reply a:hover { text-decoration: underline; }

/* Comment form */
.comment-respond { margin-top: 24px; }
.comment-reply-title {
    font-size: 18px;
    margin: 0 0 14px;
    font-weight: 800;
}

#commentform {
    display: grid;
    gap: 12px;
}

#commentform label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fafafa;
}

#commentform textarea { min-height: 120px; resize: vertical; }

#commentform input:focus,
#commentform textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(196,30,58,.10);
}

#commentform .form-submit { margin: 0; }

#commentform input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

#commentform input[type="submit"]:hover { background: #9a1830; }

#cancel-comment-reply-link { font-size: 12px; color: var(--accent); margin-left: 8px; }

/* Author box (optional) */
.author-box {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 18px;
    background: #f7f8fa;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; }
.author-box h4 { margin: 0 0 6px; font-size: 16px; }
.author-box p { margin: 0; font-size: 14px; color: #444; }

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 32px 0 24px;
    margin-top: 20px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.footer-menu a { color: #ddd; font-size: 14px; }
.footer-menu a:hover { color: #fff; }

.footer-copy {
    margin: 0;
    font-size: 13px;
    color: #777;
    text-align: center;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover { transform: translateY(-2px); background: #9a1830; }

/* Responsive */
@media (max-width: 960px) {
    .content-area { grid-template-columns: 1fr; }
    .post-item { grid-template-columns: 220px 1fr; }
    .site-title { font-size: 26px; }
    .hero-card { grid-template-columns: 1fr; gap: 16px; }
    .hero-image img, .hero-placeholder { height: 260px; }
}

@media (max-width: 640px) {
    .post-item { grid-template-columns: 1fr; }
    .post-thumb img { height: 200px; }
    .nav-inner { flex-wrap: wrap; }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
        background: var(--nav-bg);
        padding: 8px;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { padding: 10px 14px; }
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 18px;
        background: rgba(0,0,0,.12);
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 32px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        background: var(--nav-text);
        border-radius: 2px;
    }
    .search-toggle { margin-left: auto; margin-right: 12px; }
    .widget-area { margin-top: 8px; }
    .site-nav-bar > .container { border-radius: 0; }
}
