/* 博客样式 - Fengvi Blog */

/* ============================================================
   页面背景：覆盖 main.css 的深蓝渐变。
   博客正文直接铺在页面上，浅色背景才能保证文字清晰可读。
   ============================================================ */
body {
    background: #eef1f7;
    color: #333;
}

/* 博客页不使用固定 .site-header，抵消 main.css 对固定头部的高度补偿（桌面端 132px） */
@media (min-width: 1025px) {
    body {
        padding-top: 0;
    }
}

/* ============================================================
   页面导航（与 about 页风格统一）
   ============================================================ */
.page-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 26px 30px;
    color: white;
    border-bottom: 1px solid #0d62d9;
    background:
        linear-gradient(rgba(15, 68, 168, 0.78), rgba(13, 98, 217, 0.85)),
        url('../images/hero-fintech.jpg') center/cover no-repeat;
    background-color: #1a73e8;
}

.page-nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 780px;
    padding: 0 20px;
}

.page-nav h1,
.page-nav .brand-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.page-nav-brand p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-links {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 26px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.nav-back:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   页面内容容器
   ============================================================ */
.page-content {
    padding: 40px 30px;
    max-width: 1240px;
    margin: 0 auto;
}

/* ============================================================
   面包屑导航
   ============================================================ */
.breadcrumb {
    font-size: 13px;
    color: #5c6670;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================================
   博客列表页
   ============================================================ */
.blog-header {
    margin-bottom: 36px;
}

.blog-header h1 {
    color: #1a73e8;
    font-size: 28px;
    margin-bottom: 12px;
}

.blog-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
}

/* 博客文章仅支持英文提示（静态灰字，与 sitemap 的 sitemap-note 风格一致） */
.blog-lang-note {
    font-size: 12.5px;
    color: #80868b;
    margin: 14px 0 0;
}

/* 工具引导横幅：把博客与实时汇率工具连接起来，强化主题关键词 */
.tool-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #e8f0fe, #f7faff);
    border: 1px solid #cfe0fb;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 30px;
}

.tool-cta-banner p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #1a2a6c;
}

.tool-cta-banner a {
    color: #1a73e8;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #1a73e8;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.tool-cta-banner a:hover {
    color: #0d62d9;
    border-color: #0d62d9;
}

/* 分类区块 */
.category-block {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 59, 108, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 26px;
    border-bottom: 1px solid #eef0f3;
    border-left: 6px solid #1a73e8;
    background: linear-gradient(180deg, #f7faff, #ffffff);
}

#category-money-transfer .category-head { border-left-color: #188038; }
#category-travel-budget .category-head { border-left-color: #f9a825; }
#category-loans-emi .category-head { border-left-color: #8430ce; }
#category-unit-conversion .category-head { border-left-color: #d93025; }

.category-head-text h2 {
    font-size: 21px;
    font-weight: 700;
    color: #1a2a6c;
    margin: 0 0 4px;
}

.category-head-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

.category-count {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #1a73e8;
    background: #e8f0fe;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* 分类内文章列表 */
.category-posts {
    padding: 0 26px;
}

.post-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eef0f3;
}

.post-row:last-child {
    border-bottom: none;
}

.post-row-main {
    min-width: 0;
}

.post-row-main h3 {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 6px;
}

.post-row-main h3 a {
    color: #1a2a6c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-row-main h3 a:hover {
    color: #1a73e8;
}

.post-row-main p {
    font-size: 14px;
    line-height: 1.65;
    color: #6c757d;
    margin: 0 0 10px;
}

.post-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 13px;
    color: #8a94a6;
}

/* 首页文章简介的阅读人数 */
.post-row-reads {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #7a849c;
}

.post-row-reads::before {
    content: "";
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238893ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.85;
}

.post-row-more {
    flex-shrink: 0;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.post-row-more:hover {
    color: #0d62d9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.article-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.12);
    transform: translateY(-3px);
}

.article-card .card-tag {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h3 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-card h3 a {
    color: #1a2a6c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card h3 a:hover {
    color: #1a73e8;
}

.article-card .card-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.article-card .card-meta {
    font-size: 13px;
    color: #8a94a6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-card .read-more {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.article-card .read-more:hover {
    text-decoration: underline;
}

/* ============================================================
   文章正文页
   ============================================================ */
.article {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 40px 44px;
}

.article .article-tag {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article h1 {
    font-size: 32px;
    line-height: 1.3;
    color: #1a2a6c;
    margin-bottom: 16px;
}

.article .article-meta {
    font-size: 14px;
    color: #6c757d;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.article .article-meta span,
.article .article-meta time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 文章正文下方的阅读人数 */
.article-read-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 30px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f1f6fe;
    border: 1px solid #dbe7fa;
    color: #44506b;
    font-size: 13.5px;
}

.read-count-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.read-count-label {
    color: #66718a;
}

.read-count-number {
    color: #1a73e8;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.article h2 {
    font-size: 24px;
    color: #1a2a6c;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fe;
}

.article h3 {
    font-size: 19px;
    color: #1a2a6c;
    margin: 28px 0 12px;
}

.article p {
    font-size: 16px;
    line-height: 1.85;
    color: #3d3d3d;
    margin-bottom: 18px;
}

.article ul,
.article ol {
    margin: 0 0 18px 22px;
    font-size: 16px;
    line-height: 1.8;
    color: #3d3d3d;
}

.article li {
    margin-bottom: 8px;
}

.article blockquote {
    border-left: 4px solid #1a73e8;
    background: #e8f0fe;
    padding: 16px 22px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    color: #2c3e50;
    font-style: italic;
}

.article blockquote p {
    margin-bottom: 0;
}

/* 表格横向滑动容器：宽表格在手机上可左右滑动，避免撑破卡片 */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}

/* 宽表格（3列以上）设最小宽度，保证手机上改为横向滑动而不是文字挤成一团 */
.table-wrapper table {
    min-width: 560px;
}

.table-wrapper caption {
    caption-side: top;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    color: #5f6368;
    letter-spacing: .02em;
    padding: 0 2px 8px;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
}

.article table th,
.article table td {
    border: 1px solid #e9ecef;
    padding: 10px 14px;
    text-align: left;
}

.article table th {
    background: #e8f0fe;
    color: #1a2a6c;
    font-weight: 600;
}

.article table tr:nth-child(even) {
    background: #f1f3f5;
}

.article .callout {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 16px 22px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.article .callout p {
    margin-bottom: 0;
}

/* Callout 内的标题与列表（速查卡、错误清单等） */
.article .callout h3 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #1a2a6c;
}

.article .callout ul,
.article .callout ol {
    margin: 0;
}

.article .callout > :last-child {
    margin-bottom: 0;
}

.article .callout li:last-child {
    margin-bottom: 0;
}

/* 绿色变体：速查卡（cheat sheet） */
.article .callout.cheat-sheet {
    background: #e8f5e9;
    border-left-color: #2e7d32;
}

.article .faq-item {
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    margin: 12px 0;
    background: #fbfcfe;
    overflow: hidden;
}

.article .faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    font-size: 17px;
    font-weight: 600;
    color: #1a2a6c;
    background: #f4f8ff;
}

.article .faq-item summary::-webkit-details-marker {
    display: none;
}

.article .faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1;
    transition: transform 0.2s ease;
}

.article .faq-item[open] summary::after {
    content: "\2212";
}

.article .faq-item p {
    padding: 6px 18px 16px;
    margin: 0;
}

/* ============================================================
   文章目录（TOC）：折叠式，折叠后不占正文空间
   ============================================================ */
.article details.toc {
    border: 1px solid #dbe7fa;
    border-radius: 8px;
    margin: 4px 0 26px;
    background: #f7faff;
    overflow: hidden;
}

.article details.toc summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #1a2a6c;
    background: #e8f0fe;
    user-select: none;
}

.article details.toc summary::-webkit-details-marker {
    display: none;
}

.article details.toc[open] summary {
    border-bottom: 1px solid #dbe7fa;
}

.article details.toc ul {
    margin: 0;
    padding: 14px 20px 16px 38px;
    font-size: 15px;
    line-height: 1.8;
    color: #3d3d3d;
}

.article details.toc ul ul {
    margin: 4px 0 6px;
    padding-left: 22px;
}

.article details.toc li {
    margin-bottom: 2px;
}

.article details.toc a {
    color: #1a73e8;
    text-decoration: none;
}

.article details.toc a:hover {
    text-decoration: underline;
}

.article a {
    color: #1a73e8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article a:hover {
    color: #0d62d9;
}

/* 相关工具推荐 */
.related-tools {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid #e8f0fe;
}

.related-tools h2,
.related-tools h3 {
    font-size: 18px;
    color: #1a2a6c;
    margin: 0 0 16px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.related-tool-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 18px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.related-tool-card:hover {
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.15);
    border-color: #1a73e8;
    transform: translateY(-2px);
}

.related-tool-card strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.related-tool-card span {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

/* 页脚（复用首页风格） */
.simple-footer {
    margin-top: 40px;
    background: #1a73e8;
    color: #ffffff;
    border-top: 1px solid #0d62d9;
    padding: 40px 20px;
    text-align: center;
}

.simple-footer .footer-content {
    max-width: 1240px;
    margin: 0 auto;
}

.simple-footer .footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.simple-footer .footer-content .footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.simple-footer .footer-content .footer-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.simple-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 6px;
    line-height: 1.8;
}

.simple-footer .footer-content .copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-nav {
        /* 改成竖向布局：品牌在上，按钮在底部一行。
           副标题换行变高时整体自动增高，按钮不会盖到副标题。 */
        min-height: auto;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        padding: 26px 14px 20px;
    }

    .page-nav h1,
    .page-nav .brand-title {
        font-size: 30px;
    }

    .page-nav-brand {
        padding: 0 6px;
        gap: 8px;
    }

    .page-nav-brand p {
        font-size: 14px;
    }

    .nav-links {
        /* 由绝对定位改为普通流，作为标题栏的最后一项（行末两端对齐） */
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        gap: 12px;
    }

    .nav-back {
        font-size: 14px;
        padding: 8px 18px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .page-content {
        padding: 24px 16px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .blog-header h1 {
        font-size: 24px;
    }

    .blog-header p {
        font-size: 14px;
    }

    .article {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .article h1 {
        font-size: 23px;
    }

    .article h2 {
        font-size: 20px;
    }

    .article h3 {
        font-size: 17px;
    }

    .article p {
        font-size: 15px;
        line-height: 1.8;
    }

    .article ul,
    .article ol {
        font-size: 15px;
        line-height: 1.75;
    }

    .article .article-meta {
        font-size: 13px;
    }

    /* 宽表格由 .table-wrapper 处理横向滑动，手机上仅缩小字号 */
    .table-wrapper table {
        font-size: 14px;
    }

    .article blockquote,
    .article .callout {
        padding: 14px 16px;
    }

    .related-tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .related-tool-card {
        padding: 14px 16px;
    }

    .related-tool-card strong {
        font-size: 15px;
    }

    .related-tool-card span {
        font-size: 12px;
    }

    .simple-footer {
        padding: 32px 16px;
    }

    .simple-footer .footer-nav {
        gap: 16px;
        margin-bottom: 18px;
    }

    .simple-footer .footer-nav a {
        font-size: 14px;
    }

    .simple-footer p {
        font-size: 13px;
    }

    .category-head {
        padding: 16px 18px;
    }

    .category-head-text h2 {
        font-size: 18px;
    }

    .category-posts {
        padding: 0 18px;
    }

    .post-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .post-row-main h3 {
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* 小屏手机进一步压缩 */
@media (max-width: 400px) {
    .page-nav {
        min-height: 160px;
    }

    .page-nav h1,
    .page-nav .brand-title {
        font-size: 26px;
    }

    .page-nav-brand p {
        font-size: 13px;
    }

    .nav-back {
        font-size: 13px;
        padding: 7px 14px;
    }
}


/* ============================================================
   博客首页"关于本博客"区块
   背景：博客首页原先只有文章列表 + 相关工具，对首次访问者与内容
         审核都偏单薄。这里给出一段约 250 字的编辑性说明，并补上
         页面原本缺失的 <h1>。
   ============================================================ */
.blog-about {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 59, 108, 0.05);
    padding: 22px 24px;
    margin-bottom: 30px;
}

.blog-about h1 {
    font-size: 24px;
    line-height: 1.45;
    color: #1a2a6c;
    margin: 0 0 12px;
}

.blog-about p {
    font-size: 15px;
    line-height: 1.85;
    color: #495057;
    margin: 0 0 12px;
}

.blog-about a {
    color: #1a73e8;
    text-decoration: none;
}

.blog-about a:hover {
    text-decoration: underline;
}

.blog-about-meta {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #eef1f5;
    font-size: 13px;
    line-height: 1.8;
    color: #6c757d;
}

@media (max-width: 640px) {
    .blog-about { padding: 18px 16px; }
    .blog-about h1 { font-size: 20px; }
    .blog-about p { font-size: 14.5px; }
}

/* ============================================================
   文章页 E-E-A-T 元素：目录 / 数据来源与更新 / 免责声明 / 作者简介
   （批量为 5 篇中文指南补齐，见 zh/blog/*.html）
   ============================================================ */
.article-toc {
    background: #f7faff;
    border: 1px solid #e8f0fe;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 0 26px;
}
.article-toc-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a73e8;
}
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin: 4px 0; font-size: 14.5px; line-height: 1.7; }
.article-toc a { color: #1a2a6c; text-decoration: none; }
.article-toc a:hover { color: #1a73e8; text-decoration: underline; }
.article-sources {
    margin: 30px 0 0;
    padding: 18px 20px;
    background: #fbfdff;
    border: 1px solid #e3ecf7;
    border-radius: 10px;
}
.article-sources h2 { font-size: 17px; margin: 0 0 10px; color: #1a2a6c; }
.article-sources p { font-size: 14px; line-height: 1.8; color: #495057; margin: 0 0 10px; }
.article-updated { margin: 0; font-size: 13px; color: #6c757d; }
.article-changelog { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed #dee2e6; font-size: 13px; color: #6c757d; }
.article-disclaimer {
    margin: 18px 0 0;
    padding: 14px 18px;
    border-left: 3px solid #f0c36d;
    background: #fffaf0;
    font-size: 13.5px;
    line-height: 1.75;
    color: #6c757d;
}
.article-methodology-note {
    margin: 18px 0 0;
    padding: 14px 18px;
    border-left: 3px solid #9db8d6;
    background: #f6f9fc;
    font-size: 13.5px;
    line-height: 1.75;
    color: #6c757d;
}
.article-author {
    margin: 20px 0 0;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(26, 59, 108, 0.05);
}
.article-author-name { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: #1a2a6c; }
.article-author-role { margin: 0 0 8px; font-size: 13px; color: #1a73e8; }
.article-author p:last-child { margin: 0; font-size: 14px; line-height: 1.8; color: #495057; }
@media (max-width: 640px) {
    .article-toc, .article-sources, .article-author { padding: 14px 16px; }
}

/* ===== 文内插图（width/height 属性防 CLS） ===== */
.article figure { margin: 24px 0; }
.article figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: #fff;
}
.article figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #6c757d;
}
.article figure figcaption .img-credit {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #adb5bd;
}
/* 세로형 본문 그림(휴대폰 화면·영수증 등): 가로 100%면 너무 길어지므로 폭 제한 */
.article figure.img-portrait {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 出处列表 ===== */
.source-list {
    margin: 4px 0 10px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #495057;
}
.source-list li { margin: 2px 0; }
.source-list a { color: #1a73e8; }

/* ===== 文章底部分享按钮 ===== */
.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0 4px;
    padding-top: 18px;
    border-top: 1px solid #e9ecef;
}
.article-share .share-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a2a6c;
    margin-right: 2px;
}
.article-share button,
.article-share a {
    font: inherit;
    font-size: 13px;
    padding: 7px 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #fff;
    color: #495057;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.article-share button:hover,
.article-share a:hover { border-color: #1a73e8; color: #1a73e8; }

/* 侧栏"查看更多"链接 */
.blog-nav-more {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}
.blog-nav-more:hover { text-decoration: underline; }

/* ============================================================
   RTL（阿拉伯语文章）：本文件其余规则的方向写法都是 LTR 硬编码，
   阿语版需要镜像 —— 否则引用块与提示框的强调边、目录缩进、
   表格与来源段落的对齐都会落在错误一侧。
   ============================================================ */
[dir="rtl"] .article blockquote {
    border-left: 0;
    border-right: 4px solid #1a73e8;
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .article .callout {
    border-left: 0;
    border-right: 4px solid #f9a825;
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .article .callout.cheat-sheet {
    border-right-color: #2e7d32;
}

[dir="rtl"] .article-disclaimer {
    border-left: 0;
    border-right: 3px solid #f0c36d;
}

[dir="rtl"] .article-methodology-note {
    border-left: 0;
    border-right: 3px solid #9db8d6;
}

[dir="rtl"] .article-toc ol,
[dir="rtl"] .article details.toc ul ul {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .table-wrapper caption,
[dir="rtl"] .article table th,
[dir="rtl"] .article table td {
    text-align: right;
}

[dir="rtl"] .article-share .share-label {
    margin-right: 0;
    margin-left: 2px;
}

/* 数字与拉丁术语在 RTL 段落中保持从左到右的正常显示 */
[dir="rtl"] .article table td,
[dir="rtl"] .article .table-wrapper caption,
[dir="rtl"] .article-sources,
[dir="rtl"] .article-updated {
    unicode-bidi: plaintext;
}

/* 面包屑分隔符：全站未给 .breadcrumb-sep 定义样式（各语种都紧贴无间距），
   此处仅为 RTL 补上间距与颜色 —— 阿语读者需要分隔符才能读出层级。 */
[dir="rtl"] .breadcrumb-sep {
    display: inline-block;
    margin: 0 6px;
    color: #9aa4ae;
}

