:root {
    --ch-bg: #06101f;
    --ch-bg-soft: #0b1628;
    --ch-surface: #ffffff;
    --ch-surface-soft: #f6f8fc;
    --ch-surface-tint: #eef5ff;
    --ch-border: #dbe5f1;
    --ch-border-dark: rgba(255, 255, 255, 0.12);
    --ch-text: #111827;
    --ch-muted: #667085;
    --ch-muted-dark: #a9b6cc;
    --ch-heading: #071122;
    --ch-primary: #2563eb;
    --ch-primary-dark: #1d4ed8;
    --ch-cyan: #22d3ee;
    --ch-success: #2dd4bf;
    --ch-warning: #f59e0b;
    --ch-radius-sm: 10px;
    --ch-radius: 16px;
    --ch-radius-lg: 24px;
    --ch-shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
    --ch-shadow-strong: 0 20px 70px rgba(2, 8, 23, 0.18);
    --ch-container: 1180px;
    --ch-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ch-text);
    background: #fff;
    font-family: var(--ch-font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar .ch-site-header { top: 32px; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ch-primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 10px 14px;
    color: #fff;
    background: var(--ch-primary);
    clip: auto;
    border-radius: 8px;
}

.ch-container {
    width: min(100% - 40px, var(--ch-container));
    margin-inline: auto;
}
.ch-narrow { max-width: 860px; }

/* Header */
.ch-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 16, 31, 0.96);
    color: #fff;
    border-bottom: 1px solid var(--ch-border-dark);
    backdrop-filter: blur(16px);
}
.ch-topbar {
    border-bottom: 1px solid var(--ch-border-dark);
    font-size: 12px;
}
.ch-topbar-inner,
.ch-mainnav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.ch-topbar-inner { min-height: 36px; }
.ch-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ch-muted-dark);
    letter-spacing: 0.02em;
}
.ch-status span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--ch-success);
    box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.15);
}
.ch-top-links { display: flex; align-items: center; gap: 14px; }
.ch-top-links a { color: var(--ch-muted-dark); }
.ch-top-links a:hover { color: #fff; }
.ch-mainnav-wrap { min-height: 72px; }
.ch-brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.custom-logo-link img { max-height: 46px; width: auto; }
.ch-brand:hover { color: #fff; }
.ch-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ch-primary), var(--ch-cyan));
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}
.ch-brand-text { display: grid; line-height: 1.1; }
.ch-brand-text strong { font-size: 17px; letter-spacing: -0.02em; }
.ch-brand-text small { color: var(--ch-muted-dark); font-size: 11px; margin-top: 3px; }
.ch-primary-navigation { flex: 1; display: flex; justify-content: center; }
.ch-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ch-menu li { position: relative; }
.ch-menu a {
    display: inline-flex;
    align-items: center;
    padding: 9px 11px;
    border-radius: 10px;
    color: #d7e0ef;
    font-size: 13px;
    font-weight: 600;
}
.ch-menu a:hover,
.ch-menu .current-menu-item > a,
.ch-menu .current_page_item > a {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.ch-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--ch-border);
    border-radius: 14px;
    box-shadow: var(--ch-shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
}
.ch-menu li:hover > .sub-menu,
.ch-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ch-menu .sub-menu a { color: var(--ch-text); width: 100%; justify-content: flex-start; }
.ch-header-actions { display: flex; align-items: center; gap: 10px; }
.ch-primary-button,
.ch-secondary-button,
.ch-link-button,
.search-submit,
.ch-inline-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ch-primary-button,
.search-submit,
.ch-inline-search button {
    color: #fff;
    background: linear-gradient(135deg, var(--ch-primary), #0ea5e9);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}
.ch-primary-button:hover,
.search-submit:hover,
.ch-inline-search button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}
.ch-primary-button.full,
.ch-secondary-button.full { width: 100%; }
.ch-secondary-button {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.ch-secondary-button:hover { color: #fff; background: rgba(255,255,255,0.12); }
.ch-link-button { color: #d7e0ef; background: rgba(255, 255, 255, 0.08); }
.ch-link-button:hover { color: #fff; background: rgba(255,255,255,0.12); }
.ch-menu-toggle { display: none; }

/* Hero */
.ch-main { padding: 48px 0 64px; }
.ch-blog-home { padding-top: 0; }
.ch-hero-section {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.25), transparent 28%),
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.45), transparent 30%),
        linear-gradient(135deg, #06101f 0%, #07182e 52%, #071122 100%);
    overflow: hidden;
}
.ch-hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -45% -10%;
    height: 280px;
    background: linear-gradient(90deg, rgba(37,99,235,.18), rgba(34,211,238,.12));
    filter: blur(70px);
}
.ch-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 34px;
    align-items: center;
    min-height: 430px;
    padding: 58px 0;
}
.ch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ch-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.ch-hero-section .ch-eyebrow { color: var(--ch-cyan); }
.ch-eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.ch-hero-copy h1,
.ch-page-header h1,
.ch-single-header h1 {
    margin: 10px 0 12px;
    color: inherit;
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.ch-hero-copy h1 { max-width: 620px; font-size: clamp(34px, 5vw, 58px); }
.ch-hero-copy p { max-width: 570px; margin: 0; color: var(--ch-muted-dark); font-size: 16px; }
.ch-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ch-featured-article {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--ch-border-dark);
    border-radius: var(--ch-radius-lg);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(2, 8, 23, 0.35);
    backdrop-filter: blur(18px);
}
.ch-featured-media {
    min-height: 315px;
    background: linear-gradient(145deg, rgba(37,99,235,.6), rgba(34,211,238,.2));
}
.ch-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.ch-featured-content { padding: 26px; align-self: center; }
.ch-featured-content h2 { margin: 12px 0 10px; font-size: 26px; line-height: 1.18; letter-spacing: -0.03em; }
.ch-featured-content p { color: var(--ch-muted-dark); margin: 0 0 16px; }
.ch-featured-content .ch-read-link { color: #fff; }

.ch-topic-strip {
    background: #fff;
    border-bottom: 1px solid var(--ch-border);
}
.ch-topic-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    overflow-x: auto;
}
.ch-topic-inner span {
    color: var(--ch-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.ch-topic-inner a {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--ch-border);
    border-radius: 999px;
    color: var(--ch-text);
    background: var(--ch-surface-soft);
    font-size: 13px;
    font-weight: 700;
}
.ch-topic-inner a:hover { color: var(--ch-primary); border-color: rgba(37,99,235,.45); background: var(--ch-surface-tint); }

/* Layout */
.ch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}
.ch-content-area { min-width: 0; }
.ch-page-header {
    padding: 34px;
    margin: 0 0 24px;
    color: #fff;
    border-radius: var(--ch-radius-lg);
    background:
        radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.24), transparent 30%),
        linear-gradient(135deg, #071122, #0b1c36);
    box-shadow: var(--ch-shadow-soft);
}
.ch-page-header.compact h1 { max-width: 780px; font-size: clamp(30px, 4vw, 46px); }
.ch-page-header p { max-width: 720px; margin: 0; color: var(--ch-muted-dark); }
.archive-description p { margin: 0; }
.ch-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 42px 0 18px;
}
.ch-section-header h2 { margin: 6px 0 0; font-size: 25px; line-height: 1.18; letter-spacing: -0.03em; color: var(--ch-heading); }
.ch-inline-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 320px;
    padding: 6px;
    border: 1px solid var(--ch-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.ch-inline-search input {
    min-width: 0;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
}
.ch-inline-search button { min-height: 34px; padding-inline: 13px; }

/* Cards */
.ch-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.ch-post-card {
    overflow: hidden;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    background: var(--ch-surface);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ch-post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: var(--ch-shadow-soft);
}
.ch-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #071122, #1e40af 55%, #0ea5e9);
    overflow: hidden;
}
.ch-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.ch-post-card:hover .ch-card-media img { transform: scale(1.04); }
.ch-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 190px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ch-image-placeholder.large { min-height: 360px; }
.ch-card-body { padding: 18px; }
.ch-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ch-muted);
    font-size: 12px;
    font-weight: 700;
}
.ch-featured-content .ch-meta-row,
.ch-single-hero .ch-meta-row { color: var(--ch-muted-dark); }
.ch-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--ch-primary);
    background: var(--ch-surface-tint);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ch-featured-content .ch-pill,
.ch-single-hero .ch-pill { color: #fff; background: rgba(255,255,255,.12); }
.ch-card-title { margin: 11px 0 8px; font-size: 19px; line-height: 1.28; letter-spacing: -0.025em; color: var(--ch-heading); }
.ch-card-title a:hover { color: var(--ch-primary); }
.ch-card-body p { margin: 0; color: var(--ch-muted); font-size: 14px; }
.ch-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--ch-border);
    color: var(--ch-muted);
    font-size: 12px;
    font-weight: 700;
}
.ch-read-link { color: var(--ch-primary); font-weight: 800; }

/* Sidebar */
.ch-sidebar { position: sticky; top: 124px; }
.ch-widget {
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
}
.ch-service-widget {
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.3), transparent 30%),
        linear-gradient(135deg, #071122, #0b1c36);
}
.ch-service-widget .ch-eyebrow { color: var(--ch-cyan); }
.ch-service-widget p { color: var(--ch-muted-dark); }
.ch-widget-title { margin: 0 0 12px; color: inherit; font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }
.ch-search-form { display: flex; gap: 8px; }
.ch-search-form label { flex: 1; min-width: 0; }
.ch-search-form input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ch-border);
    border-radius: 999px;
    outline: 0;
    background: var(--ch-surface-soft);
}
.ch-search-form input:focus { border-color: var(--ch-primary); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.ch-search-form button { min-height: 40px; }
.ch-category-list,
.ch-widget ul { list-style: none; padding: 0; margin: 0; }
.ch-category-list li,
.ch-widget li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ch-border);
    color: var(--ch-muted);
    font-size: 13px;
    font-weight: 700;
}
.ch-category-list li:last-child,
.ch-widget li:last-child { border-bottom: 0; }
.ch-category-list a,
.ch-widget li a { color: var(--ch-text); }
.ch-category-list a:hover,
.ch-widget li a:hover { color: var(--ch-primary); }

/* Single article */
.ch-single-main { padding-top: 0; }
.ch-single-hero {
    color: #fff;
    background:
        radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.23), transparent 25%),
        linear-gradient(135deg, #06101f, #0a1b33 54%, #071122);
}
.ch-single-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: center;
    padding: 58px 0;
}
.ch-single-header h1 { font-size: clamp(34px, 5vw, 56px); }
.ch-single-header p { max-width: 760px; margin: 0; color: var(--ch-muted-dark); font-size: 17px; }
.ch-author-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    color: var(--ch-muted-dark);
    font-size: 13px;
    font-weight: 700;
}
.ch-author-line a { color: #fff; }
.ch-single-media {
    overflow: hidden;
    border: 1px solid var(--ch-border-dark);
    border-radius: var(--ch-radius-lg);
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
    box-shadow: 0 24px 80px rgba(2,8,23,.35);
}
.ch-single-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ch-article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 820px);
    gap: 44px;
    align-items: start;
    margin-top: 42px;
}
.ch-article-aside { position: sticky; top: 126px; }
.ch-sticky-card {
    padding: 18px;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    background: #fff;
    box-shadow: 0 8px 26px rgba(15,23,42,.04);
}
.ch-sticky-card h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: -0.01em; }
.ch-toc { display: grid; gap: 8px; margin-bottom: 16px; }
.ch-toc a {
    color: var(--ch-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.ch-toc a:hover { color: var(--ch-primary); }
.ch-toc:empty::before { content: "Key sections will appear here."; color: var(--ch-muted); font-size: 12px; }
.ch-entry-wrap { min-width: 0; }
.ch-entry-content {
    color: #233044;
    font-size: 16px;
    line-height: 1.8;
}
.ch-entry-content > *:first-child { margin-top: 0; }
.ch-entry-content h2,
.ch-entry-content h3,
.ch-entry-content h4 {
    color: var(--ch-heading);
    letter-spacing: -0.03em;
    line-height: 1.22;
    scroll-margin-top: 130px;
}
.ch-entry-content h2 { margin: 38px 0 12px; font-size: 30px; }
.ch-entry-content h3 { margin: 30px 0 10px; font-size: 23px; }
.ch-entry-content h4 { margin: 24px 0 10px; font-size: 19px; }
.ch-entry-content p { margin: 0 0 20px; }
.ch-entry-content a { color: var(--ch-primary); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch-entry-content ul,
.ch-entry-content ol { padding-left: 1.3rem; margin: 0 0 22px; }
.ch-entry-content li { margin-bottom: 8px; }
.ch-entry-content blockquote {
    margin: 30px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--ch-primary);
    border-radius: 0 var(--ch-radius) var(--ch-radius) 0;
    background: var(--ch-surface-soft);
    color: var(--ch-heading);
    font-size: 18px;
    font-weight: 700;
}
.ch-entry-content pre,
.ch-entry-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.ch-entry-content pre {
    overflow: auto;
    padding: 18px;
    border-radius: var(--ch-radius);
    color: #dbeafe;
    background: #071122;
}
.ch-entry-content code {
    padding: 2px 5px;
    border-radius: 6px;
    background: var(--ch-surface-tint);
    color: #1e3a8a;
}
.ch-entry-content pre code { padding: 0; background: transparent; color: inherit; }
.ch-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 14px;
}
.ch-entry-content th,
.ch-entry-content td {
    padding: 12px;
    border: 1px solid var(--ch-border);
    text-align: left;
}
.ch-entry-content th { background: var(--ch-surface-soft); color: var(--ch-heading); }
.ch-entry-content .wp-block-image img,
.ch-entry-content .wp-block-cover,
.ch-entry-content .wp-block-gallery { border-radius: var(--ch-radius); }
.ch-entry-footer { margin-top: 32px; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ch-tags span { color: var(--ch-muted); font-size: 13px; font-weight: 800; }
.ch-tags a {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ch-surface-soft);
    color: var(--ch-text);
    font-size: 12px;
    font-weight: 800;
}
.ch-author-box {
    display: flex;
    gap: 16px;
    padding: 22px;
    margin-top: 32px;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius);
    background: var(--ch-surface-soft);
}
.ch-author-avatar img { border-radius: 999px; }
.ch-author-box h2 { margin: 0 0 4px; font-size: 18px; }
.ch-author-box p { margin: 0; color: var(--ch-muted); }

/* Navigation, comments, states */
.navigation.pagination,
.post-navigation {
    margin-top: 28px;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    justify-content: space-between;
}
.pagination .nav-links { justify-content: center; }
.page-numbers,
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--ch-border);
    border-radius: 999px;
    background: #fff;
    color: var(--ch-text);
    font-size: 13px;
    font-weight: 800;
}
.page-numbers.current,
.page-numbers:hover { color: #fff; background: var(--ch-primary); border-color: var(--ch-primary); }
.post-navigation .nav-previous,
.post-navigation .nav-next { flex: 1 1 280px; }
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: grid;
    justify-content: stretch;
    min-height: 74px;
    border-radius: var(--ch-radius);
}
.nav-subtitle { color: var(--ch-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.nav-title { color: var(--ch-heading); }
.ch-empty-state,
.ch-error-page {
    padding: 44px;
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-lg);
    background: var(--ch-surface-soft);
    text-align: center;
}
.ch-empty-state h2,
.ch-error-page h1 { margin: 8px 0 8px; color: var(--ch-heading); letter-spacing: -0.03em; }
.ch-error-page .ch-search-form { max-width: 520px; margin: 22px auto; }
.ch-comments { margin-top: 40px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment { padding: 18px; margin-bottom: 14px; border: 1px solid var(--ch-border); border-radius: var(--ch-radius); background: #fff; }
.comment-form input:not([type="submit"]),
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ch-border);
    border-radius: 12px;
    background: var(--ch-surface-soft);
}
.form-submit .submit {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ch-primary);
    font-weight: 800;
    cursor: pointer;
}

/* Footer */
.ch-site-footer {
    color: #d7e0ef;
    background: #06101f;
    border-top: 1px solid var(--ch-border-dark);
}
.ch-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transform: translateY(-34px);
    margin-bottom: -10px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--ch-radius-lg);
    background:
        radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.24), transparent 28%),
        linear-gradient(135deg, #0b1c36, #071122);
    box-shadow: 0 20px 70px rgba(2,8,23,.35);
}
.ch-footer-cta h2 { margin: 6px 0 6px; color: #fff; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
.ch-footer-cta p { margin: 0; max-width: 680px; color: var(--ch-muted-dark); }
.ch-footer-newsletter { margin-bottom: 26px; }
.ch-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 22px 0 32px;
}
.ch-footer-col { display: grid; align-content: start; gap: 7px; }
.ch-footer-col h3 { margin: 0 0 6px; color: #fff; font-size: 14px; }
.ch-footer-col a,
.ch-footer-menu a { color: var(--ch-muted-dark); font-size: 13px; }
.ch-footer-col a:hover,
.ch-footer-menu a:hover { color: #fff; }
.ch-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ch-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--ch-border-dark);
    color: var(--ch-muted-dark);
    font-size: 12px;
}
.ch-back-top { color: #fff; font-weight: 800; }

/* WordPress alignment helpers */
.alignwide { margin-left: -40px; margin-right: -40px; max-width: calc(100% + 80px); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { color: var(--ch-muted); font-size: 13px; margin-top: 8px; }
.bypostauthor { outline: 0; }
.sticky .ch-card-title::before { content: "Featured · "; color: var(--ch-primary); }

@media (max-width: 1080px) {
    .ch-header-actions { display: none; }
    .ch-hero-grid,
    .ch-single-header-grid { grid-template-columns: 1fr; }
    .ch-featured-article { max-width: 760px; }
    .ch-layout { grid-template-columns: 1fr; }
    .ch-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .ch-sidebar .ch-widget { margin-bottom: 0; }
    .ch-article-layout { grid-template-columns: 1fr; }
    .ch-article-aside { position: static; order: 2; }
}

@media (max-width: 860px) {
    body.admin-bar .ch-site-header { top: 46px; }
    .ch-container { width: min(100% - 28px, var(--ch-container)); }
    .ch-mainnav-wrap { min-height: 64px; }
    .ch-menu-toggle {
        display: inline-grid;
        gap: 4px;
        width: 40px;
        height: 40px;
        padding: 10px;
        border: 1px solid var(--ch-border-dark);
        border-radius: 12px;
        background: rgba(255,255,255,.08);
    }
    .ch-menu-toggle span:not(.screen-reader-text) {
        display: block;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }
    .ch-primary-navigation {
        position: absolute;
        top: 100%;
        left: 14px;
        right: 14px;
        display: none;
        padding: 10px;
        border: 1px solid var(--ch-border-dark);
        border-radius: 16px;
        background: #071122;
        box-shadow: var(--ch-shadow-strong);
    }
    .ch-primary-navigation.is-open { display: block; }
    .ch-menu { display: grid; justify-content: stretch; }
    .ch-menu a { width: 100%; justify-content: flex-start; }
    .ch-menu .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; margin-left: 10px; background: rgba(255,255,255,.06); border-color: var(--ch-border-dark); box-shadow: none; }
    .ch-menu li:hover > .sub-menu,
    .ch-menu li:focus-within > .sub-menu { display: grid; }
    .ch-menu .sub-menu a { color: #d7e0ef; }
    .ch-hero-grid { padding: 42px 0; }
    .ch-featured-article { grid-template-columns: 1fr; }
    .ch-featured-media { min-height: 220px; }
    .ch-card-grid { grid-template-columns: 1fr; }
    .ch-section-header { align-items: stretch; flex-direction: column; }
    .ch-inline-search { min-width: 0; width: 100%; }
    .ch-sidebar { grid-template-columns: 1fr; }
    .ch-footer-grid { grid-template-columns: 1fr 1fr; }
    .ch-footer-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .ch-top-links { display: none; }
    .ch-brand-text small { display: none; }
    .ch-hero-copy h1 { font-size: 34px; }
    .ch-page-header { padding: 24px; }
    .ch-featured-content { padding: 20px; }
    .ch-featured-content h2 { font-size: 22px; }
    .ch-topic-inner { min-height: 58px; }
    .ch-single-header-grid { padding: 42px 0; }
    .ch-single-header h1 { font-size: 34px; }
    .ch-entry-content h2 { font-size: 25px; }
    .ch-footer-grid { grid-template-columns: 1fr; }
    .ch-footer-bottom { align-items: flex-start; flex-direction: column; }
    .ch-search-form { flex-direction: column; }
    .ch-search-form button { width: 100%; }
}

/* v1.1: AWS-inspired compact article hero and home latest post strip */
.ch-blog-home {
    background: #fff;
}

.ch-home-latest {
    padding: 48px 0 42px;
    background: #fff;
    border-bottom: 1px solid #e7edf5;
}

.ch-latest-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.ch-latest-copy {
    max-width: 650px;
}

.ch-latest-copy .ch-meta-row {
    margin-bottom: 14px;
}

.ch-latest-copy h1 {
    margin: 0 0 26px;
    color: #06101f;
    font-size: clamp(32px, 4.15vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 760;
}

.ch-latest-copy h1 a:hover {
    color: var(--ch-primary);
}

.ch-latest-copy p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #172033;
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.52;
}

.ch-underlined-link {
    display: inline-flex;
    color: #4f46e5;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.ch-underlined-link:hover {
    color: var(--ch-primary-dark);
}

.ch-latest-media,
.ch-single-media {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #071122, #1e40af 58%, #0ea5e9);
    box-shadow: none;
}

.ch-latest-media {
    min-height: 330px;
    aspect-ratio: 16 / 9;
}

.ch-latest-media img,
.ch-single-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-topic-strip {
    background: #fff;
    border-bottom: 1px solid #e7edf5;
}

.ch-topic-inner {
    min-height: 58px;
}

.ch-section-header {
    margin-top: 34px;
}

.ch-card-grid {
    gap: 16px;
}

/* Single page hero */
.ch-single-main {
    padding-top: 0;
}

.ch-single-hero {
    color: #06101f;
    background: #fff;
    border-bottom: 1px solid #e7edf5;
}

.ch-single-header-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
    padding: 48px 0 42px;
}

.ch-blog-label {
    display: inline-flex;
    margin-bottom: 16px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ch-blog-label:hover {
    color: var(--ch-primary-dark);
}

.ch-single-header h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #06101f;
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 760;
}

.ch-single-header p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #172033;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.58;
}

.ch-single-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: #526075;
    font-size: 13px;
    font-weight: 650;
}

.ch-single-meta-line a:not(.ch-pill) {
    color: #06101f;
    font-weight: 750;
}

.ch-single-meta-line a:not(.ch-pill):hover {
    color: var(--ch-primary);
}

.ch-single-hero .ch-pill,
.ch-latest-feature .ch-pill {
    color: #2563eb;
    background: #eef5ff;
}

.ch-single-media {
    min-height: 330px;
    aspect-ratio: 16 / 9;
    border: 0;
}

.ch-article-layout {
    margin-top: 42px;
}

.ch-sticky-card .ch-secondary-button.full {
    color: #fff;
    background: linear-gradient(135deg, var(--ch-primary), #0ea5e9);
    border-color: transparent;
}

@media (max-width: 1080px) {
    .ch-latest-feature,
    .ch-single-header-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ch-latest-copy,
    .ch-single-header {
        max-width: 820px;
    }

    .ch-latest-media,
    .ch-single-media {
        min-height: 260px;
    }
}

@media (max-width: 620px) {
    .ch-home-latest {
        padding: 34px 0 30px;
    }

    .ch-latest-copy h1,
    .ch-single-header h1 {
        font-size: 32px;
    }

    .ch-latest-copy p,
    .ch-single-header p {
        font-size: 16px;
    }

    .ch-latest-media,
    .ch-single-media {
        min-height: 210px;
        border-radius: 8px;
    }

    .ch-single-header-grid {
        padding: 34px 0 30px;
    }
}


/* v1.2: tighter hero titles and compact single-post article arrows */
.ch-latest-feature,
.ch-single-header-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
    gap: clamp(30px, 4vw, 58px);
}

.ch-latest-copy,
.ch-single-header {
    max-width: 760px;
}

.ch-latest-copy h1 {
    max-width: 760px;
    font-size: clamp(30px, 3.25vw, 42px);
    line-height: 1.13;
    letter-spacing: -0.032em;
    margin-bottom: 20px;
}

.ch-single-header h1 {
    max-width: 780px;
    font-size: clamp(32px, 3.45vw, 44px);
    line-height: 1.13;
    letter-spacing: -0.032em;
    margin-bottom: 20px;
}

.ch-latest-copy p,
.ch-single-header p {
    max-width: 700px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
}

.ch-latest-media,
.ch-single-media {
    min-height: 300px;
}

.ch-compact-post-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.ch-article-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe5f1;
    border-radius: 999px;
    color: #06101f;
    background: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ch-article-arrow:hover,
.ch-article-arrow:focus {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

@media (min-width: 1280px) {
    .ch-container {
        --ch-container: 1260px;
    }

    .ch-latest-copy h1,
    .ch-single-header h1 {
        max-width: 820px;
    }
}

@media (max-width: 1080px) {
    .ch-latest-feature,
    .ch-single-header-grid {
        grid-template-columns: 1fr;
    }

    .ch-latest-copy,
    .ch-single-header,
    .ch-latest-copy h1,
    .ch-single-header h1 {
        max-width: 840px;
    }
}

@media (max-width: 620px) {
    .ch-latest-copy h1,
    .ch-single-header h1 {
        font-size: 30px;
        line-height: 1.16;
    }

    .ch-compact-post-nav {
        margin-top: 24px;
    }

    .ch-article-arrow {
        width: 40px;
        height: 40px;
    }
}

/* v1.3: reusable topic strip across blog home, archives, search, and single posts */
.ch-topic-inner a.is-active {
    color: #fff;
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.ch-topic-inner a.is-active:hover {
    color: #fff;
    border-color: #1d4ed8;
    background: #1d4ed8;
}



/* =========================================================
   CybroHost supplied header/footer integration - v1.5
========================================================= */


/* =========================================================
   01. Theme Tokens
========================================================= */
:root {
    --cybro-blue: #084bb6;
    --cybro-blue-light: #1da1f2;
    --cybro-indigo: #2f2fe4;
    --cybro-accent: #d2741d;
    --cybro-dark: #0f172a;
    --cybro-text: #334155;
    --cybro-text-soft: #64748b;
    --cybro-bg: #f8fafc;
    --cybro-white: #ffffff;
    --cybro-border: #e2e8f0;
    --cybro-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    --cybro-radius-lg: 24px;
    --cybro-radius-md: 18px;
    --cybro-radius-sm: 14px;
    --cybro-transition: all 0.25s ease;
}

/* =========================================================
   03. Layout Helpers
========================================================= */
.site-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading--left {
    text-align: left;
}

.section-heading h2 {
    font-size: 34px;
}

.cybro-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 47, 228, 0.1);
    color: var(--cybro-indigo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.cybro-chip--light {
    color: var(--cybro-white);
    background: rgba(255, 255, 255, 0.14);
}

/* =========================================================
   04. Buttons
========================================================= */
.cybro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: var(--cybro-transition);
}

.cybro-button--full {
    width: 100%;
}

.cybro-button--primary {
    background: linear-gradient(180deg, var(--cybro-blue) 0%, var(--cybro-blue-light) 100%);
    color: var(--cybro-white);
    box-shadow: 0 14px 28px rgba(8, 75, 182, 0.18);
}

.cybro-button--primary:hover {
    color: var(--cybro-white);
    transform: translateY(-1px);
}

.cybro-button--ghost,
.cybro-button--secondary {
    background: var(--cybro-white);
    color: var(--cybro-dark);
    border-color: rgba(8, 75, 182, 0.18);
}

.cybro-button--ghost:hover,
.cybro-button--secondary:hover {
    color: var(--cybro-blue);
    border-color: var(--cybro-blue);
    background: #f8fbff;
}

.cybro-button--secondary-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cybro-white);
    border-color: rgba(255, 255, 255, 0.18);
}

.cybro-button--secondary-light:hover {
    color: var(--cybro-blue);
    background: var(--cybro-white);
    border-color: var(--cybro-white);
}

/* =========================================================
   05. Topbar
========================================================= */
.cybro-topbar {
    background: var(--cybro-blue);
    color: var(--cybro-white);
    padding: 10px 0;
}

.cybro-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cybro-topbar__text {
    font-size: 14px;
    font-weight: 500;
}

.cybro-topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cybro-topbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cybro-white);
}

.cybro-topbar__links a:hover {
    color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   06. Header
========================================================= */
.cybro-header--desktop {
    display: block;
    background: #f8fbff;
}

.cybro-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}

.cybro-logo {
    display: inline-flex;
    align-items: center;
}

.cybro-logo__image {
    width: auto;
    max-width: 220px;
    max-height: 58px;
    object-fit: contain;
}

.cybro-logo__image--mobile {
    max-width: 170px;
    max-height: 48px;
}

.cybro-logo__image--footer {
    max-width: 220px;
    max-height: 60px;
}

.cybro-logo-fallback {
    display: inline-block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--cybro-dark);
}

.cybro-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.cybro-nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cybro-nav__list > li {
    position: relative;
}

.cybro-nav__list > li > a,
.cybro-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--cybro-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.cybro-nav__list > li > a:hover,
.cybro-nav__toggle:hover {
    color: var(--cybro-blue);
}

.cybro-nav__dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 20px;
    box-shadow: var(--cybro-shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--cybro-transition);
    z-index: 1000;
}

.cybro-nav__dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--cybro-dark);
    font-weight: 700;
}

.cybro-nav__dropdown a:hover {
    background: #f3f7ff;
    color: var(--cybro-blue);
}

.cybro-nav__item--dropdown:hover .cybro-nav__dropdown,
.cybro-nav__item--dropdown:focus-within .cybro-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cybro-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================================================
   07. Mobile Header + Drawer
========================================================= */
.cybro-header--mobile {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.cybro-mobile-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cybro-mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cybro-mobile-header__icon,
.cybro-mobile-header__menu {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 75, 182, 0.14);
    background: var(--cybro-white);
    color: var(--cybro-dark);
}

.cybro-mobile-header__menu {
    flex-direction: column;
    gap: 4px;
}

.cybro-mobile-header__menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cybro-dark);
}

.cybro-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: var(--cybro-transition);
    z-index: 1298;
}

.cybro-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.cybro-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100vh;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,255,0.98) 100%);
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.16);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1299;
    overflow-y: auto;
    padding: 20px 18px 24px;
}

.cybro-mobile-drawer.is-active {
    transform: translateX(0);
}

.cybro-mobile-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.cybro-mobile-drawer__close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--cybro-white);
    color: var(--cybro-dark);
    border-radius: 12px;
}

.cybro-mobile-drawer__intro {
    background: linear-gradient(135deg, #0f4fd6 0%, #2563eb 45%, #60a5fa 100%);
    color: var(--cybro-white);
    border-radius: 22px;
    padding: 20px 18px;
    margin-bottom: 20px;
}

.cybro-mobile-drawer__intro h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--cybro-white);
}

.cybro-mobile-drawer__intro p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
}

.cybro-mobile-nav {
    display: grid;
    gap: 12px;
}

.cybro-mobile-nav > a,
.cybro-mobile-nav__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: var(--cybro-dark);
    font-size: 15px;
    font-weight: 700;
}

.cybro-mobile-nav__toggle {
    cursor: pointer;
}

.cybro-mobile-nav__submenu {
    display: none;
    padding: 10px 10px 4px;
    margin-top: 8px;
    border-radius: 18px;
    background: rgba(240, 247, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.cybro-mobile-nav__submenu a {
    display: block;
    padding: 12px;
    border-radius: 12px;
    color: var(--cybro-text);
    font-size: 14px;
    font-weight: 600;
}

.cybro-mobile-nav__submenu a:hover {
    background: var(--cybro-white);
    color: var(--cybro-blue);
}

.cybro-mobile-nav__group.is-open .cybro-mobile-nav__submenu {
    display: block;
}

.cybro-mobile-drawer__actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

/* =========================================================
   08. Blog Category Subnav
========================================================= */
.cybro-subnav {
    background: var(--cybro-blue);
}

.cybro-subnav__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cybro-subnav__inner a {
    color: var(--cybro-white);
    font-size: 15px;
    font-weight: 700;
}

.cybro-subnav__inner a:hover {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   09. Footer
========================================================= */
.cybro-footer {
    padding: 60px 0 24px;
    background: #00296b;
    color: rgba(255, 255, 255, 0.82);
}

.cybro-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    padding: 38px 42px;
    border-radius: 30px;
    background: #00296b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(5, 24, 74, 0.16);
}

.cybro-footer__column h4 {
    margin-bottom: 16px;
    color: var(--cybro-white);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cybro-footer__column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cybro-footer__column li + li {
    margin-top: 12px;
}

.cybro-footer__column a {
    color: rgba(236, 244, 255, 0.92);
    font-size: 15px;
}

.cybro-footer__column a:hover {
    color: var(--cybro-white);
}

.cybro-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    padding: 28px 0 18px;
}

.cybro-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 60%;
}

.cybro-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cybro-footer__payments img {
    height: 40px;
    width: auto;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--cybro-white);
    border: 1px solid rgba(20, 71, 151, 0.08);
}

.cybro-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
}

.cybro-footer__social {
    display: flex;
    gap: 12px;
}

.cybro-footer__social a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #1f56b5;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(20, 71, 151, 0.1);
}

.cybro-footer__social a:hover {
    color: var(--cybro-white);
    background: linear-gradient(135deg, #1267f3 0%, #2eb5ff 100%);
}

.cybro-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}

.cybro-footer__legal-links a,
.cybro-footer__copyright p {
    color: #b2bed1;
    font-size: 14px;
}

.cybro-footer__legal-links a:hover {
    color: #0f67f2;
}

.cybro-footer__copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cybro-footer__copyright p {
    margin: 0;
}

/* =========================================================
   14. Responsive
========================================================= */
@media (max-width: 1199.98px) {
    .cybro-header--desktop {
        display: none;
    }

    .cybro-header--mobile {
        display: block;
    }

    .cybro-topbar__inner {
        flex-wrap: wrap;
    }

    .cybro-topbar__text {
        width: 100%;
    }

    .cybro-subnav__inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 22px;
        padding: 0 4px;
        scrollbar-width: none;
    }

    .cybro-subnav__inner::-webkit-scrollbar {
        display: none;
    }

    .cybro-subnav__inner a {
        white-space: nowrap;
    }

    .cybro-footer__grid,
    .editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-featured-grid,
    .cta-box {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-side-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        display: grid;
    }

    .featured-side-card {
        grid-template-columns: 1fr;
    }

    .single-post-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-container,
    .single-layout-wrap {
        width: calc(100% - 24px);
    }

    .cybro-topbar {
        padding: 8px 0;
    }

    .cybro-topbar__text,
    .cybro-topbar__links a {
        font-size: 13px;
    }

    .cybro-footer__grid,
    .cybro-footer__bottom,
    .editorial-grid,
    .featured-side-list,
    .single-author-box {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .cybro-footer__meta {
        align-items: flex-start;
    }

    .cybro-footer__legal-links {
        justify-content: flex-start;
    }

    .section-heading h2,
    .category-section__header h2,
    .archive-hero h1 {
        font-size: 28px;
    }

    .featured-hero-card__body h3,
    .single-hero h1 {
        font-size: 28px;
    }

    .editorial-card__body h3,
    .featured-side-card__body h3,
    .single-article-content h2 {
        font-size: 22px;
    }

    .single-article-content h3 {
        font-size: 20px;
    }

    .single-social-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-article-content,
    .single-cta-box {
        padding: 22px 18px;
    }

    .single-featured-media,
    .editorial-card__media,
    .featured-hero-card__media,
    .featured-side-card__media {
        aspect-ratio: 16 / 10;
    }
}


/* v1.6: keep the white Browse by Topic pills and suppress the supplied blue submenu */
.cybro-subnav {
    display: none !important;
}

.ch-topic-strip {
    display: block;
}

/* v1.7: make the supplied CybroHost header match the main website spacing and full-width menu shell */
.cybro-topbar .site-container,
.cybro-header--desktop .site-container,
.cybro-header--mobile .site-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(20px, 3.2vw, 64px);
    padding-right: clamp(20px, 3.2vw, 64px);
}

.cybro-header__inner {
    min-height: 84px;
}

.cybro-logo {
    flex: 0 0 auto;
}

.cybro-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}

.cybro-nav__list {
    gap: clamp(24px, 2.15vw, 40px);
}

.cybro-header__actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.cybro-header__actions .cybro-button,
.cybro-nav__list > li > a,
.cybro-nav__toggle {
    white-space: nowrap;
}

@media (max-width: 1380px) {
    .cybro-topbar .site-container,
    .cybro-header--desktop .site-container,
    .cybro-header--mobile .site-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .cybro-nav__list {
        gap: 24px;
    }

    .cybro-logo__image {
        max-width: 200px;
    }

    .cybro-button {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 1199.98px) {
    .cybro-topbar .site-container,
    .cybro-header--mobile .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* v1.8: closer match to CybroHost main-site header/dropdowns/buttons */
.cybro-topbar {
    display: block;
    height: 6px;
    min-height: 6px;
    padding: 0 !important;
    background: #064da8;
}

.cybro-header--desktop {
    position: relative;
    z-index: 1100;
    width: 100%;
    background: #f8fbff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.cybro-header--desktop .site-container,
.cybro-header--mobile .site-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 3.65vw, 70px);
    padding-right: clamp(28px, 3.65vw, 70px);
}

.cybro-header__inner {
    min-height: 116px;
    gap: clamp(24px, 3vw, 58px);
}

.cybro-logo__image {
    max-width: 232px;
    max-height: 64px;
}

.cybro-nav {
    justify-content: flex-end;
    padding-left: clamp(20px, 6vw, 180px);
}

.cybro-nav__list {
    gap: clamp(28px, 2.05vw, 42px);
}

.cybro-nav__list > li > a,
.cybro-nav__toggle {
    padding: 36px 0;
    color: #020817;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.cybro-nav__list > li > a:hover,
.cybro-nav__toggle:hover,
.cybro-nav__item--dropdown:hover > .cybro-nav__toggle,
.cybro-nav__item--dropdown:focus-within > .cybro-nav__toggle {
    color: #2563eb;
}

.cybro-nav__toggle i {
    margin-left: 2px;
    color: #55708f;
    font-size: 16px;
    transition: transform 0.22s ease, color 0.22s ease;
}

.cybro-nav__item--dropdown:hover .cybro-nav__toggle i,
.cybro-nav__item--dropdown:focus-within .cybro-nav__toggle i {
    color: #2563eb;
    transform: rotate(180deg);
}

.cybro-nav__dropdown {
    top: calc(100% - 14px);
    left: 50%;
    min-width: 368px;
    padding: 12px;
    border: 1px solid #dfe8f6;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.cybro-nav__dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 22px;
    height: 22px;
    background: #fff;
    border-left: 1px solid #dfe8f6;
    border-top: 1px solid #dfe8f6;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 4px 0 0 0;
}

.cybro-nav__dropdown a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.cybro-nav__dropdown a i {
    width: 22px;
    color: #2563eb;
    font-size: 19px;
    text-align: center;
}

.cybro-nav__dropdown a:hover,
.cybro-nav__dropdown a:focus {
    color: #2563eb;
    background: #f1f6ff;
}

.cybro-header__actions {
    gap: 14px;
    margin-left: clamp(18px, 2.2vw, 36px);
}

.cybro-header__actions .cybro-button {
    min-height: 58px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    gap: 10px;
}

.cybro-button--ghost {
    color: #2563eb;
    background: #fff;
    border-color: #cfe0ff;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.06);
}

.cybro-button--ghost i {
    color: #2563eb;
}

.cybro-button--ghost:hover {
    color: #fff;
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
}

.cybro-button--ghost:hover i {
    color: #fff;
}

.cybro-button--primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.26);
}

.cybro-button--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
    box-shadow: 0 22px 52px rgba(37, 99, 235, 0.33);
}

.cybro-mobile-header__icon {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

@media (max-width: 1520px) {
    .cybro-header__inner {
        gap: 28px;
    }

    .cybro-nav {
        padding-left: clamp(12px, 3vw, 70px);
    }

    .cybro-nav__list {
        gap: 26px;
    }

    .cybro-nav__list > li > a,
    .cybro-nav__toggle,
    .cybro-header__actions .cybro-button {
        font-size: 17px;
    }

    .cybro-header__actions .cybro-button {
        padding-left: 21px;
        padding-right: 21px;
    }
}

@media (max-width: 1320px) {
    .cybro-header__inner {
        min-height: 104px;
        gap: 20px;
    }

    .cybro-logo__image {
        max-width: 205px;
    }

    .cybro-nav {
        padding-left: 10px;
    }

    .cybro-nav__list {
        gap: 20px;
    }

    .cybro-nav__list > li > a,
    .cybro-nav__toggle,
    .cybro-header__actions .cybro-button {
        font-size: 15px;
    }

    .cybro-header__actions .cybro-button {
        min-height: 52px;
        padding-left: 17px;
        padding-right: 17px;
        border-radius: 16px;
    }

    .cybro-nav__dropdown {
        min-width: 320px;
    }
}

@media (max-width: 1199.98px) {
    .cybro-header--mobile {
        background: #f8fbff;
    }

    .cybro-mobile-header__inner {
        min-height: 82px;
    }

    .cybro-logo__image--mobile {
        max-width: 182px;
    }
}

/* v1.9: live CybroHost header imported from main website code */
.top-bar,
.top-bar *,
.cyb-desk-header-wrap,
.cyb-desk-header-wrap *,
.cyb-mobile-header,
.cyb-mobile-header *,
.cyb-mobile-menu,
.cyb-mobile-menu * {
    box-sizing: border-box;
}

.top-bar {
    background-color: #084bb6;
    color: #ffffff;
    position: relative;
    z-index: 1300;
    font-family: "Poppins", "Plus Jakarta Sans", Arial, sans-serif;
}

.top-bar .container,
.cyb-desk-header .container,
.cyb-mobile-header .container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 3.65vw, 70px);
    padding-right: clamp(24px, 3.65vw, 70px);
}

.py-2 { padding-top: 8px; padding-bottom: 8px; }
.text-white { color: #ffffff !important; }
.d-flex { display: flex; }
.d-none { display: none !important; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }

.promo-text {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding-left: 15px;
    line-height: 1.45;
}

.support-item {
    flex-wrap: wrap;
    justify-content: center;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.topbar-link:hover,
.topbar-link:focus {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

@media (min-width: 576px) {
    .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
    .flex-md-row { flex-direction: row; }
}

@media (min-width: 1200px) {
    .d-xl-block { display: block !important; }
    .d-xl-none { display: none !important; }
}

@media (max-width: 1199.98px) {
    .d-xl-none { display: block !important; }
}

.cyb-desk-logo__image,
.cyb-mobile-logo__image,
.cyb-mobile-menu__brand-image {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cyb-desk-logo__image {
    max-width: 200px;
    max-height: 60px;
}

.cyb-mobile-logo__image {
    max-width: 170px;
    max-height: 48px;
}

.cyb-mobile-menu__brand-image {
    max-width: 165px;
    max-height: 46px;
}
/* =========================================================
   CYBROHOST DESKTOP HEADER
   Automatic hover dropdown
   Desktop only
========================================================= */

@media (min-width: 1200px) {
  .cyb-desk-header-wrap,
  .cyb-desk-header-wrap *,
  .cyb-desk-header-wrap *::before,
  .cyb-desk-header-wrap *::after {
    box-sizing: border-box;
  }

  .cyb-desk-header-wrap {
    position: relative;
    z-index: 99999;
    width: 100%;
    font-family: "Plus Jakarta Sans", sans-serif;
  }

  .cyb-desk-header {
    width: 100%;
    padding: 8px 0;
    background: #f8fbff;
    position: relative;
    z-index: 100;
  }

  .cyb-desk-header,
  .cyb-desk-header .container,
  .cyb-desk-header__row,
  .cyb-desk-header__right,
  .cyb-desk-nav,
  .cyb-desk-menu,
  .cyb-desk-menu__item,
  .cyb-has-dropdown {
    overflow: visible !important;
  }

  .cyb-desk-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
    position: relative;
    z-index: 101;
  }

  .cyb-desk-header__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 102;
  }

  .cyb-desk-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .cyb-desk-logo img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .cyb-desk-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 103;
  }

  .cyb-desk-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 104;
  }

  .cyb-desk-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 104;
  }

  .cyb-desk-menu__item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .cyb-desk-menu__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-radius: 0;
    border: 0;
    text-decoration: none !important;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #0f172a;
    background: transparent !important;
    box-shadow: none !important;
    transition: color 0.25s ease;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    z-index: 105;
  }

  .cyb-desk-menu__link:hover,
  .cyb-desk-menu__link:focus,
  .cyb-has-dropdown:hover > .cyb-desk-menu__link,
  .cyb-has-dropdown:focus-within > .cyb-desk-menu__link {
    color: #2563eb;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none;
  }

  .cyb-desk-menu__link::before,
  .cyb-desk-menu__link::after,
  .cyb-desk-menu__item::before,
  .cyb-desk-menu__item::after {
    content: none !important;
    display: none !important;
  }

  .cyb-desk-menu__toggle i {
    font-size: 18px;
    color: #64748b;
    transition: transform 0.25s ease, color 0.25s ease;
    position: relative;
    top: 1px;
    line-height: 1;
  }

  .cyb-has-dropdown:hover > .cyb-desk-menu__link i,
  .cyb-has-dropdown:focus-within > .cyb-desk-menu__link i {
    transform: rotate(180deg);
    color: #2563eb;
  }

  /* Strong hover support */
  .cyb-has-dropdown {
    position: relative;
  }

  .cyb-has-dropdown::after {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 100%;
    height: 18px;
    background: transparent;
    z-index: 120;
    display: block !important;
  }

  /* Dropdown wrapper - no real gap */
  .cyb-desk-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 295px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
  }

  /* Visual box */
  .cyb-desk-dropdown__inner {
    margin-top: 10px;
    padding: 10px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e7edf7;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    position: relative;
  }

  .cyb-desk-dropdown__inner::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-top: 1px solid #e7edf7;
    border-left: 1px solid #e7edf7;
    transform: translateX(-50%) rotate(45deg);
  }

  .cyb-has-dropdown:hover > .cyb-desk-dropdown,
  .cyb-has-dropdown:focus-within > .cyb-desk-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .cyb-desk-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    padding: 13px 14px;
    border-radius: 14px;
    background: transparent;
    transition: background 0.22s ease, transform 0.22s ease;
    position: relative;
    z-index: 2;
  }

  .cyb-desk-dropdown__item + .cyb-desk-dropdown__item {
    margin-top: 4px;
  }

  .cyb-desk-dropdown__item:hover {
    background: #f3f7ff;
    transform: translateX(2px);
    text-decoration: none !important;
  }

  .cyb-desk-dropdown__item::before,
  .cyb-desk-dropdown__item::after {
    content: none !important;
    display: none !important;
  }

  .cyb-desk-dropdown__icon {
    width: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
  }

  .cyb-desk-dropdown__icon i {
    font-size: 15px;
    line-height: 1;
    width: 1em;
    text-align: center;
    display: inline-block;
  }

  .cyb-desk-dropdown__title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
    white-space: nowrap;
  }

  .cyb-desk-dropdown__item:hover .cyb-desk-dropdown__title {
    color: #2563eb;
  }

  .cyb-desk-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    position: relative;
    z-index: 104;
  }

  .cyb-desk-livechat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.20);
    background: transparent;
    color: #2563eb;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: none;
    outline: none;
  }

  .cyb-desk-livechat-btn:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.32);
    color: #1d4ed8;
  }

  .cyb-desk-livechat-btn i {
    font-size: 15px;
    line-height: 1;
  }

  .cyb-desk-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none !important;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #ffffff !important;
    background: linear-gradient(#2563eb, #1da1f2);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    border: 0;
    outline: none;
  }

  .cyb-desk-account-btn:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.24);
    text-decoration: none !important;
  }

  .cyb-desk-account-btn i {
    font-size: 14px;
    line-height: 1;
  }

  .cyb-desk-header-wrap .cyb-desk-menu__link,
  .cyb-desk-header-wrap .cyb-desk-menu__link:hover,
  .cyb-desk-header-wrap .cyb-desk-menu__link:focus,
  .cyb-desk-header-wrap .cyb-has-dropdown:hover > .cyb-desk-menu__link,
  .cyb-desk-header-wrap .cyb-has-dropdown:focus-within > .cyb-desk-menu__link {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }
}

/* =========================
   Mobile Header
========================= */
.cyb-mobile-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cyb-mobile-header__row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cyb-mobile-logo img {
  max-width: 170px;
  height: auto;
}

.cyb-mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cyb-mobile-header__account {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  transition: 0.3s ease;
}

.cyb-mobile-header__account:hover {
  color: #2563eb;
  transform: translateY(-1px);
}

.cyb-mobile-header__toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  cursor: pointer;
}

.cyb-mobile-header__toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 999px;
  background: #ffffff;
}

/* =========================
   Overlay
========================= */
.cyb-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 1298;
}

.cyb-mobile-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   Drawer
========================= */
.cyb-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,255,0.98) 100%);
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.16);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1299;
  overflow-y: auto;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cyb-mobile-menu.is-active {
  transform: translateX(0);
}

.cyb-mobile-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 24px;
}

/* =========================
   Top
========================= */
.cyb-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cyb-mobile-menu__brand img {
  max-width: 165px;
  height: auto;
}

.cyb-mobile-menu__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* =========================
   Intro Card
========================= */
.cyb-mobile-menu__intro {
  position: relative;
  background: linear-gradient(135deg, #0f4fd6 0%, #2563eb 45%, #60a5fa 100%);
  color: #fff;
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.28);
  margin-bottom: 20px;
  overflow: hidden;
}

.cyb-mobile-menu__intro::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.cyb-mobile-menu__badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  margin-bottom: 12px;
}

.cyb-mobile-menu__intro h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.cyb-mobile-menu__intro p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

/* =========================
   Navigation
========================= */
.cyb-mobile-nav {
  flex: 1 1 auto;
}

.cyb-mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cyb-mobile-nav__item {
  margin-bottom: 12px;
}

.cyb-mobile-nav__link,
.cyb-mobile-nav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.10);
  background: rgba(255,255,255,0.82);
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  transition: 0.3s ease;
}

.cyb-mobile-nav__toggle {
  cursor: pointer;
}

.cyb-mobile-nav__link span,
.cyb-mobile-nav__toggle span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cyb-mobile-nav__link i:first-child,
.cyb-mobile-nav__toggle i:first-child {
  color: #2563eb;
  width: 18px;
  text-align: center;
}

.cyb-mobile-nav__link:hover,
.cyb-mobile-nav__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.18);
}

.cyb-mobile-nav__item--has-sub.active .cyb-mobile-nav__toggle {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.cyb-mobile-nav__item--has-sub.active .cyb-mobile-nav__toggle .fa-angle-down {
  transform: rotate(180deg);
}

.cyb-mobile-nav__toggle .fa-angle-down {
  transition: 0.3s ease;
}

/* =========================
   Submenu
========================= */
.cyb-mobile-submenu {
  display: none;
  padding: 10px 10px 4px;
  margin-top: 8px;
  border-radius: 18px;
  background: rgba(240, 247, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.cyb-mobile-nav__item--has-sub.active .cyb-mobile-submenu {
  display: block;
}

.cyb-mobile-submenu a {
  display: block;
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.cyb-mobile-submenu a:hover {
  background: #ffffff;
  color: #2563eb;
}

/* =========================
   Bottom CTA
========================= */
.cyb-mobile-menu__bottom {
  padding-top: 18px;
  margin-top: 8px;
  display: grid;
  gap: 12px;
}

.cyb-mobile-livechat-btn,
.cyb-mobile-client-btn {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: 0.3s ease;
}

.cyb-mobile-livechat-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.cyb-mobile-client-btn {
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.cyb-mobile-livechat-btn:hover,
.cyb-mobile-client-btn:hover {
  transform: translateY(-1px);
}

/* =========================
   Small devices
========================= */
@media (max-width: 575.98px) {
  .cyb-mobile-header__row {
    min-height: 70px;
  }

  .cyb-mobile-logo img {
    max-width: 150px;
  }

  .cyb-mobile-menu {
    width: 100%;
  }
}


/* v1.9: final integration safeguards */
.cyb-desk-header-wrap {
    background: #f8fbff;
}

.cyb-desk-header-wrap a,
.cyb-mobile-header a,
.cyb-mobile-menu a {
    text-decoration: none;
}

.cyb-desk-livechat-btn,
.cyb-mobile-livechat-btn,
.cyb-mobile-header__toggle,
.cyb-mobile-menu__close,
.cyb-mobile-nav__toggle {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.cyb-desk-account-btn {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.26) !important;
}

.cyb-desk-livechat-btn {
    background: #ffffff !important;
}

.cyb-desk-livechat-btn:hover {
    color: #ffffff !important;
    border-color: #2563eb !important;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22) !important;
}

.cyb-desk-livechat-btn:hover i {
    color: #ffffff !important;
}

.cyb-mobile-client-btn {
    color: #ffffff !important;
    border: 0 !important;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24) !important;
}

.cyb-mobile-livechat-btn {
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.16) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06) !important;
}

.cyb-mobile-livechat-btn:hover {
    color: #ffffff !important;
    border-color: #2563eb !important;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
}

@media (min-width: 1200px) {
    .cyb-desk-header {
        padding: 8px 0 !important;
    }

    .cyb-desk-header__row {
        min-height: 76px !important;
    }

    .cyb-desk-header__right {
        gap: clamp(24px, 2.15vw, 42px) !important;
    }

    .cyb-desk-menu {
        gap: clamp(24px, 1.75vw, 34px) !important;
    }
}

@media (max-width: 767.98px) {
    .top-bar .container,
    .cyb-desk-header .container,
    .cyb-mobile-header .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .promo-text {
        padding-left: 0;
        text-align: center;
        font-size: 13px;
    }
}


/* v1.10: light theme archive/header background and labelled single post navigation */
body,
.site-main,
.ch-main {
    background: #f8fbff;
}

.ch-blog-home,
.ch-home-latest,
.ch-single-hero,
.ch-single-main,
.ch-article-layout,
.ch-content-area,
.ch-layout {
    background: #f8fbff;
}

.ch-topic-strip {
    background: #ffffff;
}

.ch-page-header {
    padding: 28px 0 20px;
    margin: 0 0 24px;
    color: #0f172a;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.ch-page-header .ch-eyebrow {
    color: #2563eb;
    letter-spacing: 0.08em;
}

.ch-page-header.compact h1 {
    max-width: 880px;
    margin: 8px 0 10px;
    color: #0f172a;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.ch-page-header p,
.archive-description p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.ch-compact-post-nav {
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 8px;
}

.ch-article-arrow {
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    gap: 9px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    color: #0f172a;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.ch-article-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 17px;
    line-height: 1;
}

.ch-article-arrow-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.ch-article-arrow:hover,
.ch-article-arrow:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.ch-article-arrow:hover .ch-article-arrow-icon,
.ch-article-arrow:focus .ch-article-arrow-icon {
    color: #ffffff;
}

@media (max-width: 620px) {
    .ch-page-header {
        padding: 24px 0 18px;
    }

    .ch-page-header.compact h1 {
        font-size: 30px;
    }

    .ch-compact-post-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ch-article-arrow {
        height: 42px;
        padding: 0 14px;
    }
}

/* v1.11: remove divider lines and match the light CybroHost header background */
body,
.site-main,
.ch-main,
.ch-blog-home,
.ch-home-latest,
.ch-single-main,
.ch-single-hero,
.ch-article-layout,
.ch-content-area,
.ch-layout,
.ch-topic-strip {
    background: #f8fbff !important;
}

.ch-topic-strip,
.ch-topic-strip .ch-container,
.ch-topic-inner,
.ch-home-latest,
.ch-single-hero,
.ch-blog-home,
.ch-main,
.ch-layout,
.ch-content-area,
.ch-section-header,
.ch-page-header {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.ch-topic-strip {
    margin: 0 !important;
}

.ch-topic-inner {
    min-height: 58px;
}

.ch-home-latest {
    padding-bottom: 48px;
}

.ch-layout {
    padding-top: 32px;
}

.ch-blog-home .ch-layout {
    padding-top: 40px;
}

.ch-single-main .ch-article-layout {
    margin-top: 36px;
}

/* v1.12: mobile stability and drawer fixes */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.cyb-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}

img,
video,
iframe,
embed,
object {
    max-width: 100%;
}

.cyb-mobile-menu-overlay {
    z-index: 20000 !important;
    pointer-events: none;
}

.cyb-mobile-menu-overlay.is-active {
    pointer-events: auto;
}

.cyb-mobile-menu {
    z-index: 20001 !important;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cyb-mobile-header {
    z-index: 1500;
}

.cyb-mobile-nav__toggle[aria-expanded="true"] .fa-angle-down {
    transform: rotate(180deg);
}

.ch-topic-inner {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ch-topic-inner::-webkit-scrollbar {
    display: none;
}

@media (max-width: 782px) {
    body.admin-bar .cyb-mobile-header {
        top: 46px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        z-index: 1400;
    }

    .top-bar .container,
    .cyb-desk-header .container,
    .cyb-mobile-header .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .top-bar .d-flex {
        gap: 8px;
    }

    .promo-text {
        max-width: 100%;
        padding-left: 0 !important;
        text-align: center;
        font-size: 12.5px !important;
        line-height: 1.35;
    }

    .support-item {
        width: 100%;
        justify-content: center;
        gap: 12px !important;
    }

    .topbar-link {
        font-size: 13px;
    }

    .cyb-mobile-header__row {
        min-height: 68px;
        gap: 10px;
    }

    .cyb-mobile-logo img,
    .cyb-mobile-logo__image {
        max-width: 145px !important;
    }

    .cyb-mobile-header__account {
        width: 40px;
        height: 40px;
    }

    .cyb-mobile-header__toggle {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .ch-container {
        width: min(100% - 28px, var(--ch-container));
    }

    .ch-layout,
    .ch-blog-home .ch-layout {
        padding-top: 24px;
    }

    .ch-section-header {
        margin-top: 28px;
        align-items: stretch;
        flex-direction: column;
    }

    .ch-inline-search {
        width: 100%;
        min-width: 0;
    }

    .ch-meta-row,
    .ch-card-footer,
    .ch-author-line {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .cyb-mobile-menu {
        width: 100% !important;
    }

    .cyb-mobile-menu__inner {
        padding: 18px 16px 22px;
    }

    .cyb-mobile-menu__intro {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .cyb-mobile-menu__intro h3 {
        font-size: 18px;
    }

    .cyb-mobile-nav__link,
    .cyb-mobile-nav__toggle {
        padding: 14px;
        border-radius: 16px;
    }

    .ch-home-latest {
        padding-top: 28px !important;
        padding-bottom: 26px !important;
    }

    .ch-latest-feature,
    .ch-single-header-grid,
    .ch-layout,
    .ch-article-layout {
        gap: 22px !important;
    }

    .ch-latest-copy h1,
    .ch-single-header h1,
    .ch-page-header.compact h1 {
        font-size: clamp(28px, 8vw, 32px) !important;
        line-height: 1.16;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .ch-card-title,
    .ch-entry-content h2,
    .ch-entry-content h3 {
        overflow-wrap: anywhere;
    }

    .ch-inline-search {
        border-radius: 16px;
    }

    .ch-inline-search button {
        min-width: 84px;
        white-space: nowrap;
    }

    .ch-compact-post-nav {
        width: min(100% - 28px, var(--ch-container));
    }
}
