/* SEO topic page: final route-specific layer loaded after the shared UI system. */
body.sb-template-seo-hub .seo-v2-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

body.sb-template-seo-hub .seo-live-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(var(--theme-primary-rgb), .2);
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fcfa 0%, #eef7f2 100%);
    box-sizing: border-box;
}

body.sb-template-seo-hub .seo-live-actions-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    color: #183b31;
}

body.sb-template-seo-hub .seo-live-actions-title span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 900;
}

body.sb-template-seo-hub .seo-live-actions-title span i {
    color: var(--theme-primary);
    font-size: 16px;
}

body.sb-template-seo-hub .seo-live-actions-title em {
    color: #71837c;
    font-size: 11px;
    font-style: normal;
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 12px !important;
    overflow: hidden;
    color: var(--theme-primary-hover) !important;
    border: 1px solid rgba(var(--theme-primary-rgb), .3) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    box-sizing: border-box;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--theme-primary) !important;
    background: rgba(var(--theme-primary-rgb), .09);
    font-size: 15px;
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn:first-of-type {
    color: #fff !important;
    border-color: var(--theme-primary) !important;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-hover)) !important;
    box-shadow: 0 9px 22px rgba(var(--theme-primary-rgb), .22) !important;
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn:first-of-type i,
body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn:hover i {
    color: #fff !important;
    background: rgba(255,255,255,.18);
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn:hover {
    color: #fff !important;
    border-color: var(--theme-primary-hover) !important;
    background: var(--theme-primary-hover) !important;
    box-shadow: 0 9px 20px rgba(var(--theme-primary-rgb), .16) !important;
    transform: translateY(-2px);
}

body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn .x-mask-txt {
    color: inherit !important;
    line-height: inherit !important;
}

body.sb-template-seo-hub .seo-today-news {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

body.sb-template-seo-hub .seo-today-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
}

body.sb-template-seo-hub .seo-today-news-item {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e7eee9;
}

body.sb-template-seo-hub .seo-today-news-thumb {
    display: block;
    width: 124px;
    height: 82px;
    overflow: hidden;
    border-radius: 9px;
    background: #eaf2ee;
}

body.sb-template-seo-hub .seo-today-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

body.sb-template-seo-hub .seo-today-news-item:hover .seo-today-news-thumb img {
    transform: scale(1.04);
}

body.sb-template-seo-hub .seo-today-news-copy {
    min-width: 0;
}

body.sb-template-seo-hub .seo-today-news-copy time {
    color: var(--theme-primary);
    font-size: 11px;
    font-weight: 800;
}

body.sb-template-seo-hub .seo-today-news-copy h3 {
    margin: 5px 0 6px;
    font-size: 15px;
    line-height: 1.45;
}

body.sb-template-seo-hub .seo-today-news-copy h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #242d39;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.sb-template-seo-hub .seo-today-news-copy h3 a:hover {
    color: var(--theme-primary-hover);
}

body.sb-template-seo-hub .seo-today-news-copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #6a7973;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 768px) {
    body.sb-template-seo-hub .seo-live-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        padding: 9px;
    }

    body.sb-template-seo-hub .seo-live-actions-title {
        padding: 0 2px 2px;
    }

    body.sb-template-seo-hub .seo-live-actions-title span {
        font-size: 13px;
    }

    body.sb-template-seo-hub .seo-live-actions-title em {
        font-size: 10px;
    }

    body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn {
        width: 100% !important;
        min-height: 46px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

    body.sb-template-seo-hub .seo-live-actions a.seo-jzt-live-btn i {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    body.sb-template-seo-hub .seo-today-news {
        margin-right: 8px;
        margin-left: 8px;
    }

    body.sb-template-seo-hub .seo-today-news-grid {
        grid-template-columns: 1fr;
    }

    body.sb-template-seo-hub .seo-today-news-item {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 11px;
        padding: 12px 0;
    }

    body.sb-template-seo-hub .seo-today-news-thumb {
        width: 104px;
        height: 72px;
    }

    body.sb-template-seo-hub .seo-today-news-copy h3 {
        margin-top: 3px;
        font-size: 14px;
    }

    body.sb-template-seo-hub .seo-today-news-copy p {
        display: none;
    }
}
