
/* ========================================
   自定义样式 - 干净版本
   ======================================== */

/* 覆盖全局a:hover透明度 */
a:hover {
    opacity: 1 !important;
}

/* 分割导航栏样式已移除，使用默认布局 */

/* 两列布局（第四部分：编辑推荐 + 温故知新） */
.gh-two-cols { margin-top: 64px; }
.gh-two-cols .gh-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}
.gh-two-cols .gh-feed {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
}
.gh-two-cols .gh-card-link {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 24px;
}
.gh-two-cols .gh-card-image {
    width: 40%;
    flex-shrink: 0;
}
.gh-two-cols .gh-card+.gh-card::before {
    position: absolute;
    top: calc(var(--grid-gap) / -2);
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}

/* Magazine右侧垂直列表（第一部分右侧5条） */
.gh-header.is-magazine .gh-header-right .gh-featured-feed {
    display: flex;
    flex-direction: column;
}
.gh-header.is-magazine .gh-header-right .gh-featured-feed .gh-card-title {
    font-size: clamp(1.4rem, .23vw + 1.31rem, 1.6rem);
}
/* 覆盖原始CSS：显示Magazine左右两侧最后一个卡片的图片 */
.gh-header.is-magazine .gh-header-left .gh-card:last-child .gh-card-image,
.gh-header.is-magazine .gh-header-right .gh-card:last-child .gh-card-image {
    display: block !important;
}
/* Magazine中间大卡片标题字号 */
.gh-header.is-magazine .gh-header-inner > .gh-card .gh-card-title {
    font-size: 3rem !important;
}


/* ========================================
   第五部分：三列内容区域（最新发布 + 不妨一读 + 过往头条）
   ======================================== */

/* PC端三列布局 (min-width: 1200px) */
@media (min-width: 1200px) {
    /* 覆盖原始highlight布局 */
    .gh-header.is-highlight.is-content-section .gh-header-inner {
        display: grid !important;
        grid-template-columns: 4fr 8fr 4fr !important;
        gap: var(--grid-gap) !important;
    }
    
    /* sidebar在PC端使用contents让子元素参与grid */
    .gh-header.is-highlight.is-content-section .gh-header-sidebar {
        display: contents !important;
    }

    /* 过往头条（左列）- 第一列 */
    .gh-header.is-highlight.is-content-section .gh-header-left {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-left .gh-card .gh-card-title {
        font-size: calc(1.9rem * var(--factor, 1));
        font-weight: 725;
        letter-spacing: -.014em;
        line-height: 1.3;
    }
    .gh-header.is-highlight.is-content-section .gh-header-left .gh-card .gh-card-excerpt {
        display: none !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-left .gh-card .gh-card-image {
        aspect-ratio: 16/9 !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-left .gh-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* 最新发布（中列）- 第二列 */
    .gh-header.is-highlight.is-content-section .gh-header-middle {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-middle .gh-featured-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--grid-gap) !important;
        grid-template-columns: none !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-middle .gh-card-link {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-middle .gh-card-image {
        width: 220px !important;
        flex-shrink: 0 !important;
        aspect-ratio: 16/9 !important;
        display: block !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-middle .gh-card-excerpt {
        display: -webkit-box !important;
    }
    .gh-header.is-highlight.is-content-section .gh-header-middle .gh-card+.gh-card::before {
        position: absolute;
        top: calc(var(--grid-gap) / -2);
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background-color: var(--color-border);
    }

    /* 不妨一读（右列）- 第三列 */
    .gh-header.is-highlight.is-content-section .gh-header-right {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
}

/* 统一三列标题样式 */
.gh-header.is-highlight.is-content-section .gh-header-left .gh-container-title,
.gh-header.is-highlight.is-content-section .gh-header-middle .gh-container-title,
.gh-header.is-highlight.is-content-section .gh-header-right .gh-container-title {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
    padding-bottom: 12px;
}

/* 所有区块标题统一样式 */
.gh-container-title {
    font-size: 2.4rem !important;
    font-family: "Noto Serif SC", serif !important;
    font-weight: 600 !important;
    transform: scaleX(0.95);
    transform-origin: left;
    color: #878787 !important;
}

/* 隐藏第一个卡片的分隔线 */
.gh-header.is-highlight.is-content-section .gh-header-left .gh-card:first-child::before,
.gh-header.is-highlight.is-content-section .gh-header-middle .gh-card:first-child::before {
    display: none;
}


/* ========================================
   第六部分：4行3列标签区块
   ======================================== */

.gh-tag-grid {
    margin-top: 40px;
}
.gh-tag-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    margin-bottom: var(--grid-gap);
}
.gh-tag-block .gh-container-title {
    font-size: 2.4rem !important;
    font-family: "Noto Serif SC", serif !important;
    font-weight: 600 !important;
    transform: scaleX(0.95);
    transform-origin: left;
    color: #878787 !important;
    border-bottom: 2px solid var(--color-darker-gray);
    padding-bottom: 12px;
    margin-bottom: 0;
}
.gh-tag-block .gh-featured-feed.no-image {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card {
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    width: 100%;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card-link {
    flex-direction: row;
    align-items: flex-start;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card-image {
    display: none;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card-title {
    font-size: 1.5rem;
    font-weight: 400;
    white-space: normal;
    word-break: break-word;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card-wrapper {
    width: 100%;
}
.gh-tag-block .gh-featured-feed.no-image .gh-card-excerpt,
.gh-tag-block .gh-featured-feed.no-image .gh-card-meta {
    display: none;
}

/* 区块分隔线 */
.gh-section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 40px 0 0 0;
}
.gh-header.is-magazine + .gh-outer + .gh-container.is-grid {
    margin-top: 40px;
    padding-top: 0;
}
/* 第三部分紧跟分隔线 */
.gh-container.is-grid + .gh-featured {
    margin-top: 50px;
}


/* ========================================
   移动端响应式 (max-width: 767px) - 放在文件最后确保优先级
   ======================================== */


/* ========================================
   iPad响应式 (768px - 1199px)
   ======================================== */

@media (min-width: 768px) and (max-width: 1199px) {
    /* 第一部分Magazine保持三列 */
    .gh-header.is-magazine .gh-header-inner {
        grid-template-columns: repeat(16, 1fr) !important;
    }
    .gh-header.is-magazine .gh-header-left {
        display: flex !important;
        grid-column: 1/span 4 !important;
    }
    .gh-header.is-magazine .gh-header-inner > .gh-card {
        grid-column: 5/span 8 !important;
    }
    .gh-header.is-magazine .gh-header-right {
        grid-column: 13/-1 !important;
        grid-row: 1 !important;
        flex-direction: column !important;
    }

    /* 第二部分保持四列 */
    .gh-container.is-grid .gh-feed {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    /* 第三部分保持四列 */
    .gh-featured .gh-featured-feed {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .gh-featured .gh-featured-feed .gh-card:nth-child(4) {
        display: block !important;
    }
}


/* ========================================
   第五部分iPad响应式 - 两列布局
   最新发布(60%) + 侧边栏(40%)
   侧边栏内：不妨一读 + 过往头条 垂直堆叠
   ======================================== */

@media (min-width: 768px) and (max-width: 1199px) {
    /* 整体布局：flex两列 */
    .gh-header.is-content-section .gh-header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: var(--grid-gap) !important;
        align-items: flex-start !important;
    }

    /* 减少最新发布标题下方间距 */
    .gh-header.is-content-section .gh-header-middle .gh-container-title {
        margin-bottom: 12px !important;
    }

    /* 最新发布（中列）占60% */
    .gh-header.is-content-section .gh-header-middle {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        order: 1 !important;
        gap: 12px !important;
    }

    /* 最新发布内部：单列列表 */
    .gh-header.is-content-section .gh-header-middle .gh-featured-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--grid-gap) !important;
        grid-template-columns: none !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-link {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-image {
        width: 180px !important;
        aspect-ratio: 16/9 !important;
        flex-shrink: 0 !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-excerpt {
        display: -webkit-box !important;
    }

    /* 侧边栏容器占40% */
    .gh-header.is-content-section .gh-header-sidebar {
        flex: 0 0 calc(40% - var(--grid-gap)) !important;
        max-width: calc(40% - var(--grid-gap)) !important;
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    /* 不妨一读样式 */
    .gh-header.is-content-section .gh-header-right .gh-featured-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .gh-header.is-content-section .gh-header-right .gh-card-link {
        flex-direction: row-reverse !important;
        align-items: flex-start !important;
    }
    .gh-header.is-content-section .gh-header-right .gh-card-image {
        display: block !important;
        width: 72px !important;
        aspect-ratio: 1 !important;
        flex-shrink: 0 !important;
    }

    /* 过往头条样式 */
    .gh-header.is-content-section .gh-header-left .gh-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .gh-header.is-content-section .gh-header-left .gh-card-link {
        flex-direction: row-reverse !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .gh-header.is-content-section .gh-header-left .gh-card-image {
        width: 72px !important;
        aspect-ratio: 1 !important;
        flex-shrink: 0 !important;
    }
    .gh-header.is-content-section .gh-header-left .gh-card-title {
        font-size: 1.5rem !important;
    }
    .gh-header.is-content-section .gh-header-left .gh-card-excerpt,
    .gh-header.is-content-section .gh-header-left .gh-card-meta {
        display: none !important;
    }

    /* 移除分隔线 */
    .gh-header.is-content-section .gh-header-left::after,
    .gh-header.is-content-section .gh-header-middle::after {
        display: none !important;
    }
}


/* ========================================
   移动端响应式 (max-width: 767px) - 最高优先级
   ======================================== */

@media (max-width: 767px) {
    /* 编辑推荐和温故知新 */
    .gh-two-cols .gh-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }
    .gh-two-cols .gh-col {
        width: 100% !important;
    }
    .gh-two-cols .gh-card-link {
        flex-direction: column !important;
    }
    .gh-two-cols .gh-card-image {
        width: 100% !important;
    }

    /* 第五部分整体布局 */
    .gh-header.is-content-section .gh-header-inner {
        display: flex !important;
        flex-direction: column !important;
    }
    .gh-header.is-content-section .gh-header-middle {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .gh-header.is-content-section .gh-header-sidebar {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 最新发布 - 小正方形图片 */
    .gh-header.is-content-section .gh-header-middle .gh-featured-feed {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        grid-template-columns: none !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-link {
        flex-direction: row-reverse !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-image {
        width: 80px !important;
        aspect-ratio: 1 !important;
        flex-shrink: 0 !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-wrapper {
        flex: 1 !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-title {
        font-size: 1.5rem !important;
    }
    .gh-header.is-content-section .gh-header-middle .gh-card-excerpt {
        display: none !important;
    }

    /* 过往头条和不妨一读的文章标题 */
    .gh-header.is-content-section .gh-header-left .gh-card-title,
    .gh-header.is-content-section .gh-header-right .gh-card-title {
        font-size: 1.5rem !important;
    }

    /* 第六部分标签区块 - 单列 */
    .gh-tag-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }
    .gh-tag-block {
        margin-bottom: 24px !important;
    }
}


/* 文章页相关阅读区块间距 */
.post-template .gh-container {
    margin-top: 40px !important;
}


/* Footer间距 */
.gh-footer {
    margin-top: 4vw !important;
}


/* 文章头部间距 */
.gh-article-header {
    margin: clamp(13px, 1.21vw + 8.5px, 24px) 0 13px !important;
}


/* 过往头条：图片和标题间距减半 */
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-link {
    gap: 14px !important;
}
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-meta:not(:empty) {
    margin-top: 6px !important;
}


/* 标签区块标题链接保持原色 */
.gh-tag-block .gh-container-title a {
    color: inherit !important;
}
.gh-tag-block .gh-container-title a:hover {
    color: #cf4d2c !important;
}


/* 二级导航菜单 */
.gh-navigation-menu .nav > li {
    position: relative;
}
.gh-navigation-menu .nav > li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.gh-navigation-menu .nav > li.has-dropdown > a::after {
    content: '▼';
    font-size: 0.55em;
    color: #999;
    transition: transform 0.25s ease-in-out;
}
.gh-navigation-menu .nav > li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}
.gh-dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    transform: translateY(8px);
    background-color: var(--background-color, #fff);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    padding: 8px 0;
    gap: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.gh-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: transparent;
}
.gh-navigation-menu .nav > li.has-dropdown:hover .gh-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gh-dropdown-menu li {
    opacity: 0;
    animation: dropdown-item-animation 0.2s ease-out forwards;
}
.gh-dropdown-menu li:nth-child(1) { animation-delay: 0.02s; }
.gh-dropdown-menu li:nth-child(2) { animation-delay: 0.04s; }
.gh-dropdown-menu li:nth-child(3) { animation-delay: 0.06s; }
.gh-dropdown-menu li:nth-child(4) { animation-delay: 0.08s; }
.gh-dropdown-menu li:nth-child(5) { animation-delay: 0.10s; }
.gh-dropdown-menu li:nth-child(6) { animation-delay: 0.12s; }
.gh-dropdown-menu li:nth-child(7) { animation-delay: 0.14s; }
.gh-dropdown-menu li:nth-child(8) { animation-delay: 0.16s; }
.gh-dropdown-menu li:nth-child(9) { animation-delay: 0.18s; }
.gh-dropdown-menu li:nth-child(10) { animation-delay: 0.20s; }
@keyframes dropdown-item-animation {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.gh-navigation-menu .nav > li:not(:hover) .gh-dropdown-menu li {
    animation: none;
    opacity: 0;
}
.gh-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-darker-gray) !important;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}
.gh-dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: var(--ghost-accent-color) !important;
    opacity: 1 !important;
}


/* 收藏按钮 */
.gh-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-darker-gray);
    font-size: inherit;
    padding: 0;
    margin-left: 16px;
}
.gh-favorite-btn:hover {
    color: var(--ghost-accent-color);
}
.gh-favorite-btn.is-favorited {
    color: var(--ghost-accent-color);
}
.gh-favorite-btn.is-favorited svg {
    fill: var(--ghost-accent-color);
}

/* 卡片收藏按钮 */
.gh-card-favorite {
    cursor: pointer;
    color: #999;
    margin-left: 8px;
}
.gh-card-favorite:hover {
    color: var(--ghost-accent-color);
}
.gh-card-favorite.is-favorited {
    color: var(--ghost-accent-color);
}
.gh-card-favorite.is-favorited svg {
    fill: var(--ghost-accent-color);
}
.gh-card-favorite svg {
    vertical-align: middle;
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
}

/* 收藏页面 */
.gh-favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.gh-favorites-card {
    position: relative;
}
.gh-favorites-card a {
    display: block;
}
.gh-favorites-card h3 {
    font-size: 1.6rem;
    margin-top: 12px;
    line-height: 1.4;
}
.gh-favorites-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
}
.gh-favorites-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gh-favorites-card:hover .gh-favorites-image img {
    transform: scale(1.05);
}
.gh-favorites-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: var(--color-secondary-text);
    margin-top: 8px;
}
.gh-favorites-meta button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}
.gh-favorites-meta button:hover {
    color: var(--ghost-accent-color);
}
.gh-favorites-loading,
.gh-favorites-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--color-secondary-text);
}
.gh-favorites-empty,
.gh-favorites-login {
    text-align: center;
    padding: 60px 0;
}
.gh-favorites-empty p,
.gh-favorites-login p {
    margin-bottom: 16px;
    color: var(--color-secondary-text);
}

@media (max-width: 991px) {
    .gh-favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .gh-favorites-grid {
        grid-template-columns: 1fr;
    }
}


/* 收藏页面卡片固定宽度（防止少量卡片撑满） */
#favorites-container {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 991px) {
    #favorites-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    #favorites-container {
        grid-template-columns: 1fr !important;
    }
}

/* 收藏页面标题区域间距减半 */
.gh-archive {
    margin-block: 40px 12px !important;
}
.gh-archive-inner {
    padding-bottom: clamp(20px, 1.36vw + 14.5px, 32px) !important;
}
.gh-archive + .gh-container {
    margin-top: 32px !important;
}


/* 图片说明文字样式 */
figure figcaption {
    color: #999 !important;
    font-size: var(--font-size-m) !important;
    text-align: center !important;
}
figure figcaption p {
    font-size: var(--font-size-m) !important;
    text-align: center !important;
}


/* 卡片后间距减半 */
.gh-content :is(.kg-card,table)+:not(.kg-card):not(table):not([id]) {
    margin-top: calc(24px * var(--content-spacing-factor, 1)) !important;
}


/* ========================================
   手机端导航菜单 - 两列平铺布局
   ======================================== */

@media (max-width: 767px) {
    /* 导航菜单两列布局 */
    .gh-navigation-menu .nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px 48px !important;
        text-align: left !important;
        padding: 0 24px !important;
    }
    
    /* 所有菜单项样式 */
    .gh-navigation-menu .nav > li {
        justify-content: flex-start !important;
    }
    
    .gh-navigation-menu .nav > li a {
        font-size: 2rem !important;
        padding: 8px 0 !important;
    }
    
    /* 隐藏下拉箭头 */
    .gh-navigation-menu .nav > li.has-dropdown > a::after {
        display: none !important;
    }
    
    /* 隐藏下拉菜单（手机端不需要） */
    .gh-dropdown-menu {
        display: none !important;
    }
    
    /* 底部链接（如何订阅、我的收藏等） */
    .gh-navigation-actions a {
        font-size: 2rem !important;
    }
}


/* Footer版权信息样式 */
.gh-footer-copyright {
    font-weight: 300 !important;
    font-size: 14px !important;
}

/* 付费文章皇冠图标 */
.gh-card-crown {
    display: inline;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    max-height: 20px;
    max-width: 20px;
    position: relative;
    top: -2px;
    margin-right: 2px;
    border-radius: 4px;
}


/* 订阅入口卡片 */
.gh-subscribe-card {
    background: var(--ghost-accent-color);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    margin-top: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.gh-subscribe-card:hover {
    opacity: 0.95;
}
.gh-subscribe-logo {
    height: 30px;
    margin: auto;
    object-fit: contain;
    margin-bottom: 16px;
}
.gh-subscribe-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.gh-subscribe-desc {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}
.gh-subscribe-btn {
    background: #fff;
    color: var(--ghost-accent-color);
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.gh-subscribe-btn:hover {
    opacity: 0.9;
}


/* Paywall 付费墙样式 */
.gh-post-upgrade-cta {
    font-family: "Noto Sans SC", "Helvetica Neue", Arial, sans-serif !important;
    position: relative !important;
}
.gh-post-upgrade-cta::before {
    content: "" !important;
    position: absolute !important;
    top: -300px !important;
    left: 0 !important;
    right: 0 !important;
    height: 300px !important;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%) !important;
    pointer-events: none !important;
}
.gh-post-upgrade-cta-content {
    background-color: #fff !important;
    color: var(--color-darker-gray) !important;
}
.gh-post-upgrade-cta-content h2 {
    color: var(--color-darker-gray) !important;
}
.gh-post-upgrade-cta-content a.gh-btn {
    background: var(--ghost-accent-color) !important;
    color: #fff !important;
}
.gh-post-upgrade-cta-content p,
.gh-post-upgrade-cta-content p a {
    color: var(--color-darker-gray) !important;
}


/* 导航Logo尺寸 */
.gh-navigation-logo img {
    max-height: 60px !important;
}
