/**
 * Theme Name:   HomeDecor Astra
 * Description:  Wise Finds 家居联盟营销子主题 — 暖色调定制版
 * Author:       Wise Finds
 * Template:     astra
 * Version:      1.0.0
 * Text Domain:  homedecor-astra
 */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ===== Warm Palette ===== */
:root {
    --primary:       #C0754B;
    --primary-dark:  #9E5D3A;
    --primary-light: #FDF3EC;
    --dark:          #2D2420;
    --text:          #4A4036;
    --muted:         #8B7E74;
    --bg:            #F5F0EB;
    --bg-white:      #FFFFFF;
    --border:        #E5DDD5;
    --radius:        12px;
    --radius-sm:     6px;
    --shadow-sm:     0 2px 8px rgba(45,36,32,0.06);
    --shadow-md:     0 4px 20px rgba(45,36,32,0.10);
    --max-w:         1200px;
    --transition:    0.25s ease;
}

/* ===== Base Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--dark);
    line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ===== Utility ===== */
.container { max-width:var(--max-w); margin:0 auto; padding:0 24px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer;
    transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(192,117,75,0.35); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-sale { background: #FEE2E2; color: #DC2626; }

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 60px 0 24px;
    font-size: 14px;
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}
.site-footer h3 {
    color: #fff; font-family: 'Playfair Display', serif;
    font-size: 20px; margin-bottom: 12px;
}
.site-footer h4 {
    color: #fff; font-size: 11px; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 18px;
    font-family: 'Inter', sans-serif; font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: rgba(255,255,255,0.5); }
.site-footer ul li a:hover { color: var(--primary); }
.site-footer .affiliate-note {
    font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6;
}
.site-footer .footer-bottom {
    text-align: center; font-size: 12px; color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (max-width: 480px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Affiliate Disclosure Bar ===== */
.affiliate-bar {
    background: var(--primary-light);
    color: var(--primary-dark);
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.2px;
}
.affiliate-bar a { color: var(--primary-dark); text-decoration: underline; font-weight: 600; }

/* ===== Sidebar Control ===== */
/* 首页：隐藏侧边栏，内容区全宽 */
.home #secondary,
.home .ast-sidebar-container,
.home .widget-area {
    display: none !important;
}
.home #primary,
.home .ast-article-post,
.home .content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* 单篇文章页：保留侧边栏（不清除，维持 Astra 默认） */

/* ============================================================
 *  产品推荐卡片 (product_card)
 * ============================================================ */
.product-card {
    position: relative;
    background: #FDF3EC;
    border: 1px solid #E5DDD5;
    border-radius: 12px;
    overflow: hidden;
    margin: 32px 0;
    transition: box-shadow 0.3s ease;
}
.product-card:hover {
    box-shadow: 0 8px 30px rgba(45,36,32,0.10);
}

/* ——— Badge 徽章（丝带风格）——— */
.pc-badge {
    position: absolute;
    top: 16px;
    left: -6px;
    z-index: 3;
    display: inline-block;
    background: #C0754B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px 6px 14px;
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}
.pc-badge::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-top: 5px solid #9E5D3A;
}
.pc-badge::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 10px solid #C0754B;
}

/* ——— 产品图片 ——— */
.pc-image {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    background: #fff;
}
.pc-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ——— 内容区 ——— */
.pc-body {
    padding: 24px;
}

.pc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #2D2420;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pc-desc {
    font-size: 15px;
    color: #4A4036;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ——— 价格 ——— */
.pc-price {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #9E5D3A;
    margin-bottom: 14px;
}

/* ——— 评分星星 ——— */
.star-rating {
    display: inline-flex;
    gap: 1px;
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}
.star {
    color: #E5DDD5;
    position: relative;
    display: inline-block;
    width: 1em;
    text-align: center;
}
.star.filled { color: #E8A317; }
.star.half {
    color: transparent;
    background: linear-gradient(to right, #E8A317 50%, #E5DDD5 50%);
    -webkit-background-clip: text;
    background-clip: text;
}
.star-num {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4A4036;
    margin-left: 6px;
    vertical-align: middle;
}
.pc-rating {
    margin-bottom: 10px;
}

/* ——— Pros / Cons ——— */
.pc-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.pc-pros, .pc-cons {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pc-pros li, .pc-cons li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 14px;
    line-height: 1.6;
    color: #4A4036;
}
.pc-pros li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    background: #D4EDDA;
    border-radius: 50%;
}
.pc-pros li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #2D8A4E;
}
.pc-cons li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    background: #FEE2E2;
    border-radius: 50%;
}
.pc-cons li::after {
    content: '✕';
    position: absolute;
    left: 3px;
    top: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #DC3545;
}

/* ——— CTA 按钮 ——— */
.pc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #C0754B;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    text-align: center;
}
.pc-cta:hover {
    background: #9E5D3A;
    transform: scale(1.02);
    box-shadow: 0 6px 22px rgba(192,117,75,0.4);
    color: #fff !important;
}

/* ============================================================
 *  响应式对比表格 (product_table)
 * ============================================================ */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0;
    border-radius: 12px;
    border: 1px solid #E5DDD5;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    min-width: 700px;
}

.compare-table thead th {
    background: #2D2420;
    color: #fff;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    white-space: nowrap;
}

.compare-table tbody tr {
    border-bottom: 1px solid #E5DDD5;
    transition: background 0.2s;
}
.compare-table tbody tr:nth-child(even) {
    background: #FDF3EC;
}
.compare-table tbody tr:nth-child(odd) {
    background: #FFFFFF;
}
.compare-table tbody tr:hover {
    background: #F5F0EB;
}

.compare-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

/* 产品列 */
.ct-product {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ct-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #F5F0EB;
}
.ct-name {
    font-weight: 600;
    color: #2D2420;
    font-size: 15px;
}

/* 评分列 */
.ct-rating .star-rating { font-size: 16px; }
.ct-rating .star-num { font-size: 12px; }

/* 价格列 */
.ct-price {
    font-weight: 700;
    color: #9E5D3A;
    font-size: 16px;
    white-space: nowrap;
}

/* 亮点标签列 */
.ct-highlights {
    max-width: 220px;
}
.ct-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 2px 4px 2px 0;
    white-space: nowrap;
}
.ct-tag-pro { background: #D4EDDA; color: #2D8A4E; }
.ct-tag-con { background: #FEE2E2; color: #DC3545; }

/* 购买按钮列 */
.ct-btn {
    display: inline-block;
    background: #C0754B;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-align: center;
}
.ct-btn:hover {
    background: #9E5D3A;
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(192,117,75,0.35);
    color: #fff !important;
}

/* ============================================================
 *  卡片 + 表格 — 移动端响应式
 * ============================================================ */
@media (max-width: 768px) {
    /* 产品卡片 */
    .pc-proscons {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .pc-body { padding: 18px; }
    .pc-title { font-size: 19px; }
    .pc-price { font-size: 19px; }
    .pc-cta { font-size: 15px; padding: 14px 20px; }

    /* 表格：保持横向滑动模式 */
    .compare-table-wrap {
        border-radius: 8px;
    }
    .compare-table tbody td {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .pc-badge {
        font-size: 10px;
        padding: 4px 12px 4px 10px;
        top: 10px;
    }
    .pc-badge::after {
        right: -8px;
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 8px;
    }
    .star-rating { font-size: 17px; }
}

/* ============================================================
 *  通用静态页面样式
 *  适用于：Default 模板、Privacy、Terms、Disclosure、Best of 2026
 * ============================================================ */

/* 页面标题区域（代替被隐藏的 Astra header 内的标题） */
.page .entry-header,
.page .ast-container .entry-header {
    padding: 50px 0 10px;
    text-align: center;
}
.page .entry-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #2D2420;
    margin-bottom: 8px;
}

/* 内容区 */
.page .entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    font-size: 16px;
    line-height: 1.85;
    color: #4A4036;
}
.page .entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #2D2420;
    margin: 36px 0 14px;
}
.page .entry-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #2D2420;
    margin: 28px 0 10px;
}
.page .entry-content p {
    margin-bottom: 18px;
}
.page .entry-content ul, .page .entry-content ol {
    margin: 0 0 20px 22px;
}
.page .entry-content li {
    margin-bottom: 8px;
}

/* 通用页面 CTA 按钮 */
.page .entry-content .wp-block-button__link,
.page .entry-content a.button {
    display: inline-block;
    background: #C0754B;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.page .entry-content .wp-block-button__link:hover,
.page .entry-content a.button:hover {
    background: #9E5D3A;
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(192,117,75,0.35);
}

/* 法律/Disclosure 页面的提醒框 */
.page .legal-note {
    background: #FDF3EC;
    border: 1px solid #E5DDD5;
    border-left: 4px solid #C0754B;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 14px;
}
.page .legal-note strong {
    color: #2D2420;
}

/* 隐私/条款链接样式 */
.page .entry-content a {
    color: #C0754B;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.page .entry-content a:hover {
    color: #9E5D3A;
}

/* 移动端 */
@media (max-width: 768px) {
    .page .entry-title { font-size: 28px; }
    .page .entry-content { font-size: 15px; padding: 16px 20px 40px; }
    .page .entry-content h2 { font-size: 22px; }
}

/* ============================================================
 *  单篇文章模板
 * ============================================================ */

/* ——— 面包屑 ——— */
.single .ast-breadcrumbs-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 24px 0;
    font-size: 13px;
    color: #8B7E74;
}
.single .ast-breadcrumbs-wrapper a {
    color: #8B7E74;
    text-decoration: none;
}
.single .ast-breadcrumbs-wrapper a:hover {
    color: #C0754B;
}

/* ——— 文章头部 ——— */
.single .entry-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px 0;
    text-align: center;
}
.single .entry-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 700;
    color: #2D2420;
    line-height: 1.25;
    margin-bottom: 16px;
}

/* 文章元信息 */
.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8B7E74;
    margin-bottom: 24px;
}
.post-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-meta-row .meta-sep {
    color: #D4C5B9;
}
.post-meta-row a {
    color: #C0754B;
    font-weight: 600;
    text-decoration: none;
}

/* ——— 特色图片 ——— */
.single .post-thumbnail-wrap {
    max-width: 900px;
    margin: 0 auto 32px;
    border-radius: 12px;
    overflow: hidden;
}
.single .post-thumbnail-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ——— 文章正文 ——— */
.single .entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.9;
    color: #4A4036;
}
.single .entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #2D2420;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0EBE6;
}
.single .entry-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    color: #2D2420;
    margin: 30px 0 12px;
}
.single .entry-content p {
    margin-bottom: 20px;
}
.single .entry-content ul,
.single .entry-content ol {
    margin: 0 0 22px 24px;
}
.single .entry-content li {
    margin-bottom: 8px;
}
.single .entry-content a {
    color: #C0754B;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.single .entry-content a:hover {
    color: #9E5D3A;
}
.single .entry-content blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    background: #FDF3EC;
    border-left: 4px solid #C0754B;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #6B5E56;
}
.single .entry-content img {
    border-radius: 8px;
    margin: 24px auto;
}
.single .entry-content figure {
    margin: 28px 0;
}
.single .entry-content figcaption {
    text-align: center;
    font-size: 13px;
    color: #8B7E74;
    margin-top: 8px;
}

/* ——— 文章目录 TOC ——— */
.post-toc {
    background: #FDF3EC;
    border: 1px solid #E5DDD5;
    border-radius: 10px;
    margin: 32px 0 36px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    overflow: hidden;
}
.single .entry-content .post-toc {
    /* 在 content 区域内靠左 */
    margin-left: 0;
    margin-right: 0;
}
.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #E5DDD5;
}
.toc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #2D2420;
}
.toc-toggle {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: #8B7E74;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.toc-toggle:hover {
    background: #F0EBE6;
}
.post-toc.collapsed .toc-list {
    display: none;
}
.post-toc.collapsed .toc-toggle {
    transform: rotate(45deg);
}
.toc-list {
    list-style: none;
    padding: 16px 22px;
    margin: 0;
}
.toc-list li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.toc-list li:last-child {
    margin-bottom: 0;
}
.toc-h3 {
    padding-left: 18px;
}
.toc-list a {
    color: #4A4036 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.toc-list a:hover {
    color: #C0754B !important;
}

/* ——— 作者介绍 ——— */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 780px;
    margin: 48px auto 0;
    padding: 28px;
    background: #FDF3EC;
    border: 1px solid #E5DDD5;
    border-radius: 12px;
}
.author-avatar {
    flex-shrink: 0;
}
.author-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #C0754B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #C0754B;
}
.author-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #2D2420;
    margin-bottom: 6px;
}
.author-bio {
    font-size: 14px;
    color: #4A4036;
    line-height: 1.7;
    margin-bottom: 8px;
}
.author-link {
    font-size: 13px;
    font-weight: 600;
    color: #C0754B;
    text-decoration: none;
}
.author-link:hover {
    color: #9E5D3A;
}

/* ——— 相关文章 ——— */
.related-posts {
    max-width: 780px;
    margin: 48px auto 0;
}
.related-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #2D2420;
    margin-bottom: 20px;
    text-align: center;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    background: #FFFFFF;
    border: 1px solid #E5DDD5;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(45,36,32,0.08);
}
.related-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F5F0EB;
}
.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.placeholder-thumb {
    background: linear-gradient(135deg, #F5F0EB, #E8DDD4);
}
.related-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: #2D2420;
    padding: 14px 16px 18px;
    margin: 0;
    line-height: 1.35;
}
.related-card a {
    text-decoration: none;
    color: inherit;
}
.related-card a:hover .related-card-title {
    color: #C0754B;
}

/* ——— 文章内图片并排（WordPress gallery） ——— */
.single .wp-block-gallery {
    gap: 16px;
    margin: 28px 0;
}
.single .wp-block-gallery img {
    border-radius: 8px;
}

/* ——— 移动端 ——— */
@media (max-width: 768px) {
    .single .entry-title {
        font-size: 24px;
    }
    .single .entry-content {
        font-size: 16px;
        padding: 0 20px;
    }
    .single .entry-content h2 {
        font-size: 22px;
    }
    .single .entry-content h3 {
        font-size: 18px;
    }
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .post-meta-row {
        font-size: 12px;
        gap: 10px;
    }
    .post-toc {
        margin: 24px 0;
    }
}