/* ============================================================
   知墨老G 技术笔记 - 深色技术风主题
   Color Palette:
   --bg-primary:    #0a0a14   (最深背景)
   --bg-secondary:  #12121f   (卡片背景)
   --bg-tertiary:   #1a1a2e   (导航/边框)
   --accent:        #e94560   (强调色 - 霓虹红)
   --accent-hover:  #ff6b81
   --secondary:     #00d2ff   (次要强调 - 青色)
   --text-primary:  #e0e0e0   (主文字)
   --text-secondary:#a0a0b0   (次要文字)
   --code-bg:       #0d1117   (代码块背景)
   --border:        #2a2a3e   (边框)
   ============================================================ */

:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #12121f;
    --bg-tertiary: #1a1a2e;
    --accent: #e94560;
    --accent-hover: #ff6b81;
    --secondary: #00d2ff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --code-bg: #0d1117;
    --border: #2a2a3e;
    --success: #00e676;
    --warning: #ffab40;
    --font-mono: 'Consolas', 'Fira Code', 'Monaco', monospace;
}

/* ========= Base ========= */
* { box-sizing: border-box; }
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* ========= Navbar ========= */
.navbar {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    font-family: var(--font-mono);
}
.navbar-brand span { color: var(--accent); }
.navbar .nav-link {
    color: var(--text-secondary) !important;
    transition: color 0.2s;
    margin: 0 0.3rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--secondary) !important; }

/* ========= Hero Section ========= */
.hero-section {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.08), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 210, 255, 0.05), transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2%, 1%); }
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.hero-cta { margin-top: 2rem; }

/* ========= Buttons ========= */
.btn {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(233,69,96,0.3); }
.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}
.btn-outline:hover { background: rgba(0,210,255,0.1); transform: translateY(-1px); }
.btn-sm { padding: 0.35rem 1rem; font-size: 0.85rem; }
.btn-danger { background: var(--accent); color: #fff; }
.btn-success { background: var(--success); color: #000; }
.btn-warning { background: var(--warning); color: #000; }

/* ========= Section Title ========= */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 2rem;
    text-align: center;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* ========= Solution Cards ========= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.solution-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 8px 32px rgba(0,210,255,0.08);
}
.solution-card:hover::before { opacity: 1; }
.solution-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.solution-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.solution-price {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.price-tag {
    display: inline-block;
    background: rgba(233,69,96,0.1);
    border: 1px solid rgba(233,69,96,0.3);
    color: var(--text-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
.price-tag strong { color: var(--accent); font-size: 1.1rem; }
.price-tag.source {
    background: rgba(0,210,255,0.08);
    border-color: rgba(0,210,255,0.3);
}
.price-tag.source strong { color: var(--secondary); }

/* Pricing Cards (solution detail) */
.pricing-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.pricing-card {
    background: var(--bg-secondary);
    border: 2px solid rgba(233,69,96,0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 180px;
    transition: all 0.25s;
}
.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(233,69,96,0.15);
}
.pricing-card.source {
    border-color: rgba(0,210,255,0.3);
}
.pricing-card.source:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0,210,255,0.15);
}
.pricing-header {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.pricing-card.source .pricing-header { color: var(--secondary); }
.pricing-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.solution-features li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.25rem 0;
}
.solution-features li::before {
    content: ">";
    color: var(--secondary);
    margin-right: 0.5rem;
    font-family: var(--font-mono);
}

/* ========= Blog List ========= */
.blog-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.blog-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.25s;
}
.blog-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 16px rgba(0,210,255,0.05);
}
.blog-item .blog-category {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(0,210,255,0.1);
    color: var(--secondary);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}
.blog-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-item h3 a { color: var(--text-primary); }
.blog-item h3 a:hover { color: var(--secondary); }
.blog-item .blog-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.blog-item .blog-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========= Blog Detail ========= */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.article-detail h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.article-detail .article-meta {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.article-detail .article-content {
    font-size: 1.05rem;
    line-height: 1.9;
}
.article-detail .article-content img { max-width: 100%; border-radius: 8px; }
.article-detail .article-content pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}
.article-detail .article-content code {
    background: var(--code-bg);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.88em;
}

/* ========= About Page ========= */
.about-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}
.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin-bottom: 1.5rem;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-left: auto;
    margin-right: auto;
}
.about-name { font-size: 1.8rem; font-weight: 700; }
.about-tagline { color: var(--secondary); margin-bottom: 1.5rem; font-family: var(--font-mono); }
.about-bio { color: var(--text-secondary); line-height: 1.9; }
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.skill-tag {
    background: rgba(0,210,255,0.08);
    color: var(--secondary);
    border: 1px solid rgba(0,210,255,0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* ========= Footer ========= */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: auto;
}

/* ========= Content Wrapper ========= */
.content-wrapper {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    width: 100%;
}

/* ========= Admin Layout ========= */
.admin-body {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0;
    flex-shrink: 0;
}
.admin-sidebar .brand {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.admin-sidebar .brand span { color: var(--accent); }
.admin-sidebar .nav-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-item:hover, .admin-sidebar .nav-item.active {
    color: var(--text-primary);
    background: rgba(0,210,255,0.05);
    border-left-color: var(--secondary);
}
.admin-main {
    flex: 1;
    padding: 2rem;
    background: var(--bg-primary);
    overflow-y: auto;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.admin-header h2 { font-family: var(--font-mono); font-size: 1.5rem; }
.admin-user { color: var(--text-secondary); font-size: 0.9rem; }

/* ========= Admin Login ========= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}
.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    width: 380px;
    max-width: 90%;
}
.login-card h2 {
    text-align: center;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}
.login-card h2 span { color: var(--accent); }
.login-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.85rem;
}
.login-card .form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.login-card .form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,210,255,0.1);
}
.login-card .btn { width: 100%; margin-top: 0.5rem; }

/* ========= Tables ========= */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 2px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}
.data-table tr:hover td { background: rgba(0,210,255,0.02); }
.data-table .actions { white-space: nowrap; }
.data-table .actions a {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ========= Forms ========= */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,210,255,0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* ========= Dashboard Cards ========= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--secondary);
}
.stat-card .stat-label { color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.3rem; }

/* ========= Pagination ========= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.15s;
}
.pagination a:hover { border-color: var(--secondary); color: var(--secondary); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ========= Alerts ========= */
.alert {
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.alert-success { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3); color: var(--success); }
.alert-danger { background: rgba(233,69,96,0.1); border: 1px solid rgba(233,69,96,0.3); color: var(--accent); }

/* ========= WeChat Pay Modal ========= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 380px;
    width: 90%;
    position: relative;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute;
    top: 0.8rem; right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.modal-close:hover { color: var(--accent); }
.modal-box h3 { margin-bottom: 0.5rem; font-family: var(--font-mono); }
.modal-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1rem; }
.qr-container {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.qr-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
}
.modal-tip {
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
}

/* ========= Responsive ========= */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .solutions-grid { grid-template-columns: 1fr; padding: 0 1rem; }
    .admin-body { flex-direction: column; }
    .admin-sidebar { width: 100%; padding: 0.5rem 0; }
    .admin-sidebar .nav-item { display: inline-block; padding: 0.4rem 1rem; }
    .admin-main { padding: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========= Blog Form Layout ========= */
.blog-form-page {
    display: flex;
    flex-direction: column;
}

.blog-form-page .form-top-row {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.blog-form-page .form-top-row .form-group {
    margin-bottom: 0;
}

.blog-form-page .form-top-row .form-group:first-child {
    flex: 3;
}

.blog-form-page .form-top-row .form-group:last-child {
    flex: 2;
}

.blog-form-page .editor-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* Vditor root element — ensure full width */
.blog-form-page .editor-wrapper .vditor {
    border-radius: 6px;
    width: 100% !important;
}

.blog-form-page .form-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

.blog-form-page .form-bottom-bar .meta-fields {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.blog-form-page .form-bottom-bar .meta-fields .form-group {
    margin-bottom: 0;
}

.blog-form-page .form-bottom-bar .meta-fields .form-control {
    max-width: 180px;
}

.blog-form-page .form-bottom-bar .meta-fields select.form-control {
    max-width: 130px;
}

/* Hide the editor-wrapper label since Vditor has its own UI */
.blog-form-page .editor-wrapper > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========= Vditor Dark Theme Overrides ========= */
.vditor--dark {
    --textarea-text-color: #e0e0e0;
    --textarea-bg-color: #1a1a2e;
    --toolbar-background-color: #12121f;
    --border-color: #2a2a3e;
    --panel-background-color: #12121f;
    --second-bg-color: #0a0a14;
}

.vditor--dark .vditor-toolbar {
    background: var(--bg-secondary, #12121f);
    border-color: var(--border, #2a2a3e);
}

.vditor--dark .vditor-toolbar__item:hover,
.vditor--dark .vditor-toolbar__item--current {
    background-color: rgba(0, 210, 255, 0.1);
}

.vditor--dark .vditor-toolbar__item svg {
    fill: #a0a0b0;
}

.vditor--dark .vditor-content {
    border-color: var(--border, #2a2a3e);
}

.vditor--dark .vditor-sv {
    border-color: var(--border, #2a2a3e);
}

.vditor--dark .vditor-sv__marker {
    color: #a0a0b0;
}

.vditor--dark .vditor-sv__line-number {
    color: #505060;
}

.vditor--dark .vditor-preview {
    background: var(--bg-primary, #0a0a14);
}

.vditor--dark .vditor-reset {
    color: var(--text-primary, #e0e0e0);
    font-size: 1rem;
    line-height: 1.9;
}

.vditor--dark .vditor-reset pre {
    background: var(--code-bg, #0d1117);
    border: 1px solid var(--border, #2a2a3e);
    border-radius: 8px;
}

.vditor--dark .vditor-reset code {
    font-family: var(--font-mono, 'Consolas', 'Fira Code', Monaco, monospace);
    background: var(--code-bg, #0d1117);
}

.vditor--dark .vditor-reset blockquote {
    border-left-color: var(--accent, #e94560);
    color: #a0a0b0;
}

.vditor--dark .vditor-reset table {
    border-color: var(--border, #2a2a3e);
}

.vditor--dark .vditor-reset th,
.vditor--dark .vditor-reset td {
    border-color: var(--border, #2a2a3e);
}

.vditor--dark .vditor-reset th {
    background: var(--bg-tertiary, #1a1a2e);
}

.vditor--dark .vditor-outline {
    background: var(--bg-secondary, #12121f);
    border-left: 1px solid var(--border, #2a2a3e);
}

.vditor--dark.vditor--fullscreen {
    background: var(--bg-tertiary, #1a1a2e);
}

.vditor--dark .vditor-panel {
    background: var(--bg-secondary, #12121f);
    border-color: var(--border, #2a2a3e);
}

/* Responsive: stack top row and bottom bar on mobile */
@media (max-width: 768px) {
    .blog-form-page {
        height: auto;
        min-height: calc(100vh - 160px);
    }
    .blog-form-page .form-top-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .blog-form-page .form-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .blog-form-page .form-bottom-bar .meta-fields {
        flex-direction: column;
        width: 100%;
    }
    .blog-form-page .form-bottom-bar .meta-fields .form-control {
        max-width: 100%;
        width: 100%;
    }
}
