/*
Theme Name:  News Magazine X Child
Theme URI:   https://hubkub.com
Description: Child theme for Hubkub — removes "Powered by" credit and allows safe customizations.
Author:      Hubkub
Author URI:  https://hubkub.com
Template:    news-magazine-x
Version:     1.0.0
Text Domain: news-magazine-x-child
*/

/* ── Inter Self-Hosted Font ─────────────────────────────────────────────── */
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/news-magazine-x-child/fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/news-magazine-x-child/fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/news-magazine-x-child/fonts/inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: optional;
}

/* ── Apply Inter to entire site ─────────────────────────────────────────── */
body, h1, h2, h3, h4, h5, h6,
p, a, span, div, li, td, th,
input, button, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── Mobile width safety / overflow guard ─────────────────────────────────── */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    #page,
    .site,
    .newsx-site-header,
    .newsx-middle-section-wrap,
    .newsx-bottom-section-wrap,
    .newsx-builder-grid-row,
    .newsx-row-inner,
    .newsx-single-wrap,
    .newsx-single-content-wrap,
    .newsx-blog-page-wrap,
    .newsx-archive-page-wrap,
    .newsx-default-page-wrap,
    .newsx-mobile-menu-container,
    .newsx-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .newsx-builder-grid-row,
    .newsx-row-inner,
    .newsx-single-wrap,
    .newsx-blog-page-wrap,
    .newsx-archive-page-wrap,
    .newsx-default-page-wrap {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    img,
    table,
    pre,
    code,
    iframe {
        max-width: 100% !important;
    }

    body.home .newsx-main-content .newsx-grid-layout,
    body.home .newsx-main-content .newsx-grid-layout-2-column,
    body.home .newsx-main-content .newsx-grid-layout-3-column,
    body.home .newsx-main-content .newsx-grid-layout-4-column {
        grid-template-columns: 1fr !important;
    }

    body.home .newsx-main-content .newsx-grid-item {
        min-width: 0;
    }

    body.home .newsx-main-content .newsx-grid-media,
    body.home .newsx-main-content .newsx-grid-media > a,
    body.home .newsx-main-content .newsx-grid-media img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.home .newsx-main-content .newsx-grid-media {
        overflow: hidden;
    }

    body.home .newsx-main-content .newsx-grid-media img {
        height: auto !important;
    }

    body.single-post #page,
    body.single-post .site,
    body.single-post .site-content,
    body.single-post .site-main,
    body.single-post main,
    body.single-post #primary,
    body.single-post .primary,
    body.single-post .newsx-single-wrap {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-post .newsx-single-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.single-post .newsx-single-inner,
    body.single-post .content-area.primary,
    body.single-post .newsx-single-content-wrap,
    body.single-post .newsx-single-content-wrap article,
    body.single-post .newsx-single-post-header,
    body.single-post .newsx-breadcrumbs,
    body.single-post .newsx-post-meta-inner,
    body.single-post .hk-toc,
    body.single-post .newsx-single-post-media {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-post .newsx-single-inner,
    body.single-post .newsx-single-content-wrap {
        display: block !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.single-post .newsx-single-post-header,
    body.single-post .hk-toc {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.single-post .newsx-sidebar.widget-area.secondary,
    body.single-post .newsx-general-sidebar,
    body.single-post .secondary.widget-area {
        display: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-top: 24px;
    }

    body.single-post .newsx-single-post-header,
    body.single-post .newsx-breadcrumbs,
    body.single-post .newsx-post-meta-inner,
    body.single-post .newsx-single-post-header h1,
    body.single-post .hk-toc a {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    body.single-post .newsx-single-post-media,
    body.single-post .newsx-single-post-media img,
    body.single-post .wp-block-image,
    body.single-post .wp-block-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    body.single-post .newsx-single-post-media,
    body.single-post .wp-block-image {
        overflow: hidden !important;
    }
}

/* ── Hubkub downloads trust / CTA blocks ─────────────────────────────────── */
body.single-post .hk-download-cta {
    margin: 28px 0;
    padding: 22px 24px;
    border: 1px solid #cfe0f5;
    border-radius: 22px;
    background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
    box-shadow: 0 12px 30px rgba(45, 104, 178, 0.08);
}

body.single-post .hk-download-cta p:first-child {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 18px;
    color: #1f3350;
}

body.single-post .hk-download-cta a.hk-download-button,
body.single-post .hk-download-cta .hk-download-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1677ff 0%, #0b5ed7 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(11, 94, 215, 0.4) !important;
    box-shadow: 0 10px 22px rgba(22, 119, 255, 0.25);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: normal;
    text-align: center;
}

body.single-post .hk-download-cta a.hk-download-button::after,
body.single-post .hk-download-cta .hk-download-button::after {
    content: ' ↗';
    font-weight: 700;
}

body.single-post .hk-download-cta a.hk-download-button:hover,
body.single-post .hk-download-cta .hk-download-button:hover,
body.single-post .hk-download-cta a.hk-download-button:focus,
body.single-post .hk-download-cta .hk-download-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.04);
    color: #ffffff !important;
}

body.single-post .hk-download-cta ul {
    margin: 18px 0 0;
    padding-left: 22px;
}

body.single-post .hk-download-cta li {
    margin-top: 8px;
}

body.single-post .entry-content code,
body.single-post .newsx-single-content-wrap code,
body.single-post article code {
    display: inline;
    max-width: 100%;
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef3f8;
    border: 1px solid #d8e2ee;
    color: #233348;
    font-size: 0.92em;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

body.single-post .hk-file-asset-list code,
body.single-post .hk-command-line,
body.single-post .hk-file-name {
    display: inline-block;
    max-width: 100%;
    margin-top: 3px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef3f8;
    border: 1px solid #d8e2ee;
    color: #233348;
    font-size: 0.92em;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 768px) {
    body.single-post .hk-download-cta {
        padding: 18px 16px;
        border-radius: 18px;
    }

    body.single-post .hk-download-cta a.hk-download-button,
    body.single-post .hk-download-cta .hk-download-button {
        display: flex !important;
        width: 100%;
    }
}

/* ── Hubkub author trust layer ───────────────────────────────────────────── */
body.author .site-content,
body.author .newsx-archive-page-wrap,
body.author .newsx-default-page-wrap {
    background: linear-gradient(180deg, #edf3fb 0%, #f7f9fd 38%, #f9fafc 100%);
}

.hubkub-author-box {
    display: none !important;
}

.hubkub-mini-author-card {
    position: relative;
    margin: 24px 0 12px;
    border-radius: 24px;
    background: rgba(252, 251, 250, 0.96);
    border: 1px solid #dce5f2;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(66, 84, 122, 0.08);
    backdrop-filter: blur(10px);
}

.hubkub-mini-author-accent,
.hubkub-author-hero-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #7fa7d9 0%, #9ab9e3 100%);
}

.hubkub-mini-author-inner {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 20px 18px 24px;
}

.hubkub-mini-author-avatar-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f7fbff;
    box-shadow: 0 6px 18px rgba(66, 84, 122, 0.12);
}

.hubkub-mini-author-eyebrow,
.hubkub-author-hero-eyebrow,
.hubkub-author-panel-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #7a91b5;
}

.hubkub-mini-author-name,
.hubkub-author-hero-name {
    margin: 0;
    color: #2f3340;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hubkub-author-hero-name {
    font-size: clamp(34px, 5vw, 52px);
}

.hubkub-mini-author-name {
    font-size: 18px;
}

.hubkub-mini-author-name a,
.hubkub-author-hero-site a,
.hubkub-mini-author-link {
    color: #2f3340;
    text-decoration: none;
}

.hubkub-mini-author-role,
.hubkub-author-hero-role {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #5b6880;
}

.hubkub-mini-author-bio,
.hubkub-author-hero-summary,
.hubkub-author-posts-header p,
.hubkub-author-panel-note {
    margin: 12px 0 0;
    color: #667085;
    line-height: 1.8;
    font-size: 16px;
}

.hubkub-mini-author-bio {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hubkub-mini-author-tags,
.hubkub-author-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hubkub-mini-author-tags span,
.hubkub-author-chip-list span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #f4f7fc;
    color: #53657f;
    border: 1px solid #dce5f2;
    font-size: 13px;
    font-weight: 600;
}

.hubkub-mini-author-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 999px;
    background: #f4f7fc;
    color: #53657f;
    border: 1px solid #dce5f2;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .18s ease;
}

.hubkub-mini-author-link:hover {
    background: #eaf1fb;
    color: #2f3340;
    transform: translateY(-1px);
}

.hubkub-author-page-wrap {
    padding-top: 30px;
    padding-bottom: 36px;
}

.hubkub-author-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.hubkub-author-hero-card {
    position: relative;
    margin-bottom: 28px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(252, 251, 250, 0.98) 0%, rgba(244, 247, 252, 0.96) 100%);
    border: 1px solid #dce5f2;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(66, 84, 122, 0.11);
}

.hubkub-author-hero-card::after {
    content: '';
    position: absolute;
    right: -110px;
    top: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 167, 217, 0.2) 0%, rgba(127, 167, 217, 0) 72%);
    pointer-events: none;
}

.hubkub-author-hero-inner {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    max-width: 1020px;
    margin: 0 auto;
    padding: 44px 36px 42px 42px;
}

.hubkub-author-hero-avatar-wrap {
    display: flex;
    justify-content: center;
}

.hubkub-author-hero-avatar {
    width: 136px;
    height: 136px;
    border-radius: 36px;
    padding: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
    box-shadow: 0 16px 36px rgba(66, 84, 122, 0.13);
}

.hubkub-author-hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    border: 1px solid rgba(220, 229, 242, 0.85);
}

.hubkub-author-hero-site {
    margin: 12px 0 0;
    font-size: 14px;
}

.hubkub-author-hero-site a {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #dce5f2;
    color: #53657f;
}

.hubkub-author-chip-list-hero {
    margin-top: 22px;
}

.hubkub-author-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
    gap: 24px;
    margin-bottom: 30px;
}

.hubkub-author-story-card,
.hubkub-author-side-stack {
    display: grid;
    gap: 22px;
}

.hubkub-author-panel {
    padding: 26px;
    border-radius: 28px;
    background: rgba(252, 251, 250, 0.96);
    box-shadow: 0 10px 30px rgba(66, 84, 122, 0.08);
    border: 1px solid #dce5f2;
}

.hubkub-author-panel-soft {
    background: linear-gradient(180deg, rgba(252, 251, 250, 0.98) 0%, rgba(247, 249, 253, 0.98) 100%);
}

.hubkub-author-panel-compact {
    padding: 24px;
}

.hubkub-author-panel h2,
.hubkub-author-posts-header h2 {
    margin: 0;
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #2f3340;
}

.hubkub-author-soft-list,
.hubkub-author-panel ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.hubkub-author-soft-list li,
.hubkub-author-panel ul li {
    position: relative;
    padding-left: 22px;
    color: #5d6b83;
    line-height: 1.8;
    margin-top: 10px;
}

.hubkub-author-soft-list li::before,
.hubkub-author-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8cb0dd;
    box-shadow: 0 0 0 5px rgba(140, 176, 221, 0.16);
}

.hubkub-author-metric-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(220, 229, 242, 0.9);
}

.hubkub-author-metric-list li:first-child {
    padding-top: 2px;
}

.hubkub-author-metric-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hubkub-author-metric-list span {
    color: #7a879d;
    font-size: 14px;
    font-weight: 600;
}

.hubkub-author-metric-list strong {
    color: #2f3340;
    font-size: 15px;
    line-height: 1.6;
    text-align: right;
    max-width: 58%;
}

.hubkub-author-posts-section {
    margin-top: 8px;
}

.hubkub-author-posts-header {
    margin-bottom: 22px;
    padding: 28px 30px;
    border-radius: 28px;
    background: rgba(252, 251, 250, 0.9);
    border: 1px solid #dce5f2;
    box-shadow: 0 10px 28px rgba(66, 84, 122, 0.07);
}

.hubkub-author-posts-header p:last-child {
    max-width: 720px;
}

body.author .hubkub-author-posts-section article,
body.author .hubkub-author-posts-section .newsx-grid-item,
body.author .hubkub-author-posts-section .newsx-list-item,
body.author .hubkub-author-posts-section .newsx-post-item {
    border-radius: 24px;
    overflow: hidden;
}

body.author .hubkub-author-posts-section img {
    border-radius: 20px;
}

@media (max-width: 980px) {
    .hubkub-author-overview-grid {
        grid-template-columns: 1fr;
    }

    .hubkub-mini-author-inner {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .hubkub-mini-author-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .hubkub-mini-author-inner,
    .hubkub-author-hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hubkub-author-hero-inner {
        padding: 34px 22px 30px 28px;
        gap: 22px;
    }

    .hubkub-author-hero-avatar-wrap,
    .hubkub-author-hero-avatar {
        justify-content: flex-start;
    }

    .hubkub-author-panel,
    .hubkub-author-posts-header {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .hubkub-mini-author-link {
        width: 100%;
    }
}

/* ── Hubkub dark mode harmonization ───────────────────────────────────────── */
body.newsx-dark-mode .hk-post-meta-box,
body.newsx-dark-mode .hk-quick-answer,
body.newsx-dark-mode .hk-toc,
body.newsx-dark-mode .hk-update-note,
body.newsx-dark-mode .hk-tldr,
body.newsx-dark-mode .hk-verification-box,
body.newsx-dark-mode .hk-download-cta,
body.newsx-dark-mode .hk-hub-pointer,
body.newsx-dark-mode .hubkub-mini-author-card,
body.newsx-dark-mode .hubkub-author-hero-card,
body.newsx-dark-mode .hubkub-author-panel,
body.newsx-dark-mode .hubkub-author-panel-soft,
body.newsx-dark-mode .hubkub-author-posts-header,
body.newsx-dark-mode #hk-trust-footer {
    background: #2b2b2b !important;
    color: #d8dee9 !important;
    border-color: #3b3b3b !important;
    box-shadow: none !important;
}

body.newsx-dark-mode .hk-toc summary,
body.newsx-dark-mode .hk-post-meta-box .hk-rt,
body.newsx-dark-mode .hubkub-mini-author-name,
body.newsx-dark-mode .hubkub-mini-author-name a,
body.newsx-dark-mode .hubkub-author-hero-name,
body.newsx-dark-mode .hubkub-author-panel h2,
body.newsx-dark-mode .hubkub-author-posts-header h2,
body.newsx-dark-mode #hk-trust-footer a {
    color: #f5f7fa !important;
}

body.newsx-dark-mode .hk-post-meta-box .hk-wc,
body.newsx-dark-mode .hubkub-mini-author-role,
body.newsx-dark-mode .hubkub-mini-author-bio,
body.newsx-dark-mode .hubkub-author-hero-role,
body.newsx-dark-mode .hubkub-author-hero-summary,
body.newsx-dark-mode .hubkub-author-panel-note,
body.newsx-dark-mode .hubkub-author-panel ul li,
body.newsx-dark-mode .hubkub-author-posts-header p,
body.newsx-dark-mode .hubkub-author-metric-list span,
body.newsx-dark-mode .hubkub-author-metric-list strong {
    color: #c7d0db !important;
}

body.newsx-dark-mode .hk-toc,
body.newsx-dark-mode .hk-update-note,
body.newsx-dark-mode .hk-tldr,
body.newsx-dark-mode .hk-verification-box,
body.newsx-dark-mode .hk-download-cta,
body.newsx-dark-mode .hk-hub-pointer,
body.newsx-dark-mode .hubkub-mini-author-card,
body.newsx-dark-mode .hubkub-author-hero-card,
body.newsx-dark-mode .hubkub-author-panel,
body.newsx-dark-mode .hubkub-author-posts-header,
body.newsx-dark-mode .hubkub-author-hero-site a,
body.newsx-dark-mode .hubkub-mini-author-link,
body.newsx-dark-mode .hubkub-mini-author-tags span,
body.newsx-dark-mode .hubkub-author-chip-list span,
body.newsx-dark-mode .hubkub-author-hero-avatar,
body.newsx-dark-mode .hubkub-author-hero-avatar img,
body.newsx-dark-mode .hubkub-author-metric-list li,
body.newsx-dark-mode #hk-trust-footer,
body.newsx-dark-mode #hk-trust-footer a {
    border-color: #454545 !important;
}

body.newsx-dark-mode .hk-quick-answer {
    background: #3a3120 !important;
    border-left-color: #f59e0b !important;
    color: #f6e7bf !important;
}

body.newsx-dark-mode .hk-quick-answer strong {
    color: #ffd37a !important;
}

body.newsx-dark-mode .hk-toc {
    background: #263241 !important;
}

body.newsx-dark-mode .hk-update-note {
    background: #233548 !important;
}

body.newsx-dark-mode .hk-tldr {
    background: #2a313a !important;
}

body.newsx-dark-mode .hk-verification-box {
    background: #20352a !important;
}

body.newsx-dark-mode .hk-download-cta,
body.newsx-dark-mode .hk-hub-pointer {
    background: #1f314a !important;
}

body.newsx-dark-mode .hk-related-reading a,
body.newsx-dark-mode .hk-toc a,
body.newsx-dark-mode .hubkub-mini-author-link,
body.newsx-dark-mode .hubkub-author-hero-site a {
    color: #9fc8ff !important;
}

body.newsx-dark-mode .hubkub-mini-author-link,
body.newsx-dark-mode .hubkub-author-hero-site a,
body.newsx-dark-mode .hubkub-mini-author-tags span,
body.newsx-dark-mode .hubkub-author-chip-list span {
    background: #313745 !important;
}

body.newsx-dark-mode .hubkub-author-hero-avatar {
    background: linear-gradient(180deg, #313846 0%, #262d39 100%) !important;
}

body.newsx-dark-mode body.author .site-content,
body.newsx-dark-mode body.author .newsx-archive-page-wrap,
body.newsx-dark-mode body.author .newsx-default-page-wrap,
body.author.newsx-dark-mode .site-content,
body.author.newsx-dark-mode .newsx-archive-page-wrap,
body.author.newsx-dark-mode .newsx-default-page-wrap {
    background: linear-gradient(180deg, #1f232b 0%, #232831 38%, #1d2128 100%) !important;
}
/* Hubkub homepage SEO section headings — safe visible H2s, added 2026-05-02 */
body.home .hubkub-home-section-heading {
    margin: 22px auto 12px;
    padding: 0 15px;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 700;
    color: inherit;
}
@media (max-width: 768px) {
    body.home .hubkub-home-section-heading {
        margin: 18px auto 10px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 1.15rem;
    }
}

/* ── AdSense trust polish: single-post focus layout + footer links ──────────
   Added 2026-05-03 after Downloads remediation visual QA found the desktop
   sidebar became a long empty column next to article content. Keep article
   pages editorial-first and make legal/trust links clearer for reviewers. */
body.single-post .newsx-single-wrap {
    justify-content: center;
}

body.single-post .newsx-single-inner {
    justify-content: center;
    width: 100%;
    max-width: 940px;
}

body.single-post .newsx-sidebar.widget-area.secondary,
body.single-post .newsx-general-sidebar,
body.single-post .secondary.widget-area {
    display: none !important;
}

body.single-post .content-area.primary {
    flex: 0 1 920px;
    width: 100%;
    max-width: 920px;
}

body.single-post .newsx-single-content-wrap {
    width: 100%;
    max-width: 920px;
}

body.single-post .newsx-single-content-wrap article {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

body.single-post .newsx-single-post-media,
body.single-post .newsx-single-post-media img,
body.single-post .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    border-radius: 18px;
}

#hk-trust-footer {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    line-height: 1.6;
}

#hk-trust-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
}

#hk-trust-footer a:hover,
#hk-trust-footer a:focus {
    background: rgba(21, 101, 192, 0.08);
    color: #1f4f8f !important;
}

@media (max-width: 768px) {
    body.single-post .content-area.primary,
    body.single-post .newsx-single-content-wrap,
    body.single-post .newsx-single-content-wrap article {
        max-width: 100%;
    }

    body.single-post .newsx-single-post-media,
    body.single-post .newsx-single-post-media img,
    body.single-post .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
        border-radius: 14px;
    }

    #hk-trust-footer {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
