/*
Theme Name: CybroHost Blog
Theme URI: https://cybrohost.com/
Author: CybroHost
Author URI: https://cybrohost.com/
Description: Custom WordPress blog theme for CybroHost.
Version: 1.0
Text Domain: cybrohost-blog
*/

/* =========================================================
   1. Root Variables
========================================================= */
:root {
    --cybro-primary: #2f2fe4;
    --cybro-accent: #d2741d;
    --cybro-dark: #0f172a;
    --cybro-text: #334155;
    --cybro-light-text: #64748b;
    --cybro-bg: #f8fafc;
    --cybro-white: #ffffff;
    --cybro-border: #e2e8f0;
    --cybro-radius: 18px;
    --cybro-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --cybro-transition: all 0.25s ease;
}

/* =========================================================
   2. Base Reset / Global Styles
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    background: var(--cybro-bg);
    color: var(--cybro-text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--cybro-primary);
    text-decoration: none;
    transition: var(--cybro-transition);
}

a:hover {
    color: var(--cybro-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--cybro-dark);
    line-height: 1.2;
}

p {
    margin-top: 0;
}

ul,
ol {
    margin-top: 0;
}

.site-main {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   3. Layout Helpers
========================================================= */
.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow-container {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 47, 228, 0.1);
    color: var(--cybro-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: 38px;
    margin-bottom: 0;
}

/* =========================================================
   4. Buttons
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--cybro-transition);
}

.btn-primary {
    background: var(--cybro-primary);
    color: var(--cybro-white);
}

.btn-primary:hover {
    background: var(--cybro-accent);
    color: var(--cybro-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--cybro-white);
    color: var(--cybro-dark);
    border: 1px solid var(--cybro-border);
}

.btn-secondary:hover {
    border-color: var(--cybro-primary);
    color: var(--cybro-primary);
    transform: translateY(-2px);
}

/* =========================================================
   5. Top Bar / Shared Header Helpers
========================================================= */
.cyb-topbar {
    background: #084bb6;
    color: #ffffff;
    padding: 10px 0;
}

.cyb-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cyb-topbar__promo {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.cyb-topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cyb-topbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.cyb-topbar__links a:hover {
    color: #ffffff;
    opacity: 0.9;
}

.cyb-site-logo {
    max-width: 210px;
    height: auto;
    display: block;
}

.cyb-site-logo--mobile,
.cyb-site-logo--mobile-drawer {
    max-width: 170px;
}

.cyb-site-logo--footer {
    max-width: 220px;
}

.cyb-logo-fallback {
    display: inline-block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.cyb-desk-header-wrap {
    display: none;
}

.cyb-mobile-header {
    display: block;
}

.cyb-mobile-menu__intro h3 {
    color: #ffffff;
}

.cybro-footer-unified__social i {
    font-size: 18px;
    line-height: 1;
}

/* =========================================================
   6. CYBROHOST DESKTOP HEADER
========================================================= */
@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 {
        display: block;
        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;
    }

    .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;
    }

    .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;
    }

    .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.2);
        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;
    }

    .cyb-mobile-header,
    .cyb-mobile-menu,
    .cyb-mobile-menu-overlay {
        display: none !important;
    }
}

/* =========================================================
   7. 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;
}

/* =========================================================
   8. Mobile 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;
}

/* =========================================================
   9. Mobile 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;
}

.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);
}

.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);
}

/* =========================================================
   10. Mobile 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.1);
    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;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.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);
    color: #0f172a;
}

.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;
}

/* =========================================================
   11. Mobile 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;
}

/* =========================================================
   12. Mobile 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);
    color: inherit;
}

/* =========================================================
   13. Hero Section Styles
========================================================= */
.hero-section {
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(47, 47, 228, 0.15), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.hero-content {
    max-width: 820px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 18px;
    color: var(--cybro-light-text);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
   14. Category Section Styles
========================================================= */
.category-section {
    padding: 30px 0 25px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: var(--cybro-radius);
    padding: 26px 22px;
    box-shadow: var(--cybro-shadow);
    transition: var(--cybro-transition);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 47, 228, 0.25);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.category-card p {
    color: var(--cybro-light-text);
    margin-bottom: 12px;
}

.category-card span {
    color: var(--cybro-primary);
    font-weight: 700;
}

/* =========================================================
   15. Post Grid / Card Styles
========================================================= */
.featured-section,
.archive-posts,
.related-posts-section {
    padding: 65px 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.post-card {
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--cybro-shadow);
    transition: var(--cybro-transition);
}

.post-card:hover {
    transform: translateY(-6px);
}

.post-card-image {
    display: block;
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.12));
}

.post-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.18));
}

.post-card-content {
    padding: 24px;
}

.post-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 47, 228, 0.1);
    color: var(--cybro-primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.post-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.post-card h3 a {
    color: var(--cybro-dark);
}

.post-card h3 a:hover {
    color: var(--cybro-primary);
}

.post-card p {
    color: var(--cybro-light-text);
    margin-bottom: 18px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--cybro-light-text);
}

.post-card-meta a {
    font-weight: 700;
}

/* =========================================================
   16. CTA Section Styles
========================================================= */
.cta-section {
    padding: 10px 0 70px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--cybro-primary), #5454ff);
    color: var(--cybro-white);
    box-shadow: var(--cybro-shadow);
}

.cta-box h2 {
    color: var(--cybro-white);
    margin-bottom: 10px;
    font-size: 34px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-box .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cybro-white);
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-box .btn-secondary:hover {
    background: var(--cybro-white);
    color: var(--cybro-primary);
}

/* =========================================================
   17. Archive Hero Styles
========================================================= */
.archive-hero,
.single-hero {
    padding: 70px 0 30px;
    background:
        radial-gradient(circle at top left, rgba(47, 47, 228, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.archive-hero h1,
.single-hero h1 {
    font-size: 48px;
    margin-bottom: 14px;
}

.archive-hero p,
.single-hero p {
    color: var(--cybro-light-text);
    font-size: 18px;
}

/* =========================================================
   18. Single Post Styles
========================================================= */
.single-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.single-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--cybro-light-text);
    font-size: 15px;
}

.single-content-section {
    padding: 26px 0 40px;
}

.single-featured-image {
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--cybro-shadow);
}

.single-content {
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--cybro-shadow);
    margin-bottom: 28px;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    margin-top: 28px;
    margin-bottom: 14px;
}

.single-content ul,
.single-content ol {
    padding-left: 22px;
}

.single-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--cybro-primary);
    background: rgba(47, 47, 228, 0.05);
    border-radius: 0 16px 16px 0;
}

.post-cta-box {
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.08), rgba(210, 116, 29, 0.1));
    border: 1px solid rgba(47, 47, 228, 0.12);
}

.post-cta-box h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.post-cta-box p {
    color: var(--cybro-light-text);
    margin-bottom: 18px;
}

/* =========================================================
   19. Pagination Styles
========================================================= */
.pagination-wrap {
    margin-top: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    color: var(--cybro-dark);
    font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--cybro-primary);
    color: var(--cybro-white);
    border-color: var(--cybro-primary);
}

/* =========================================================
   20. CYBROHOST FOOTER
========================================================= */
.cybro-footer-unified {
    position: relative;
    padding: 60px 0 34px;
    overflow: hidden;
    background: #00296b;
}

.cybro-footer-unified::before,
.cybro-footer-unified::after {
    content: none;
}

.cybro-footer-unified__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.cybro-footer-unified__top {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 40px 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);
    max-width: 1180px;
    margin: 0 auto;
}

.cybro-footer-unified__col h4 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cybro-footer-unified__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cybro-footer-unified__col li + li {
    margin-top: 13px;
}

.cybro-footer-unified__col a {
    display: inline-block;
    text-decoration: none;
    color: rgba(236, 244, 255, 0.92);
    font-size: 15px;
    line-height: 1.55;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cybro-footer-unified__col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.cybro-footer-unified__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: calc(100% + 140px);
    margin-left: -70px;
    padding: 34px 0 24px;
    margin-top: 18px;
    border-bottom: 1px solid rgba(20, 71, 151, 0.08);
}

.cybro-footer-unified__left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: max-content;
    max-width: 55%;
}

.cybro-footer-unified__logo {
    display: inline-block;
}

.cybro-footer-unified__logo img {
    max-width: 220px;
    height: auto;
}

.cybro-footer-unified__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 640px;
}

.cybro-footer-unified__payments img {
    height: 40px;
    width: auto;
    object-fit: contain;
    padding: 6px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(20, 71, 151, 0.08);
    box-shadow: 0 6px 14px rgba(30, 76, 150, 0.05);
}

.cybro-footer-unified__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 18px;
    width: max-content;
    max-width: 40%;
    margin-left: auto;
}

.cybro-footer-unified__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cybro-footer-unified__social a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    color: #1f56b5;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(20, 71, 151, 0.1);
    box-shadow: 0 8px 18px rgba(30, 76, 150, 0.06);
    transition: all 0.25s ease;
}

.cybro-footer-unified__social a:hover {
    background: linear-gradient(135deg, #1267f3 0%, #2eb5ff 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

.cybro-footer-unified__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

.cybro-footer-unified__legal a {
    text-decoration: none;
    color: #b2bed1;
    font-size: 15px;
    transition: color 0.25s ease;
}

.cybro-footer-unified__legal a:hover {
    color: #0f67f2;
}

.cybro-footer-unified__copyright {
    width: calc(100% + 140px);
    margin-left: -70px;
    padding: 20px 0 0;
}

.cybro-footer-unified__copyright p {
    margin: 0;
    color: #b2bed1;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   21. Responsive Styles
========================================================= */
@media (max-width: 1199.98px) {
    .cyb-topbar__promo {
        width: 100%;
    }

    .cybro-footer-unified__top {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .cybro-footer-unified__bottom {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .cybro-footer-unified__left,
    .cybro-footer-unified__right {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .cybro-footer-unified__right {
        align-items: flex-start;
        text-align: left;
    }

    .cybro-footer-unified__legal {
        justify-content: flex-start;
    }

    .cybro-footer-unified__copyright {
        width: 100%;
        margin-left: 0;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .archive-hero h1,
    .single-hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 767.98px) {
    .cyb-topbar {
        padding: 8px 0;
    }

    .cyb-topbar__inner {
        align-items: flex-start;
    }

    .cyb-topbar__links {
        gap: 14px;
    }

    .cyb-topbar__promo,
    .cyb-topbar__links a {
        font-size: 13px;
    }

    .cybro-footer-unified {
        padding: 58px 0 24px;
    }

    .cybro-footer-unified__top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .cybro-footer-unified__logo img {
        max-width: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .category-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 70px 0 54px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .single-content {
        padding: 24px;
    }

    .post-cta-box {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .cyb-mobile-header__row {
        min-height: 70px;
    }

    .cyb-mobile-logo img {
        max-width: 150px;
    }

    .cyb-mobile-menu {
        width: 100%;
    }

    .cybro-footer-unified__payments img {
        height: 28px;
        padding: 5px 8px;
    }

    .cybro-footer-unified__social a {
        width: 44px;
        height: 44px;
    }
}

















/* =========================================================
   23. Desktop Header Logo Final Fix
========================================================= */
@media (min-width: 1200px) {
    .cyb-desk-header__logo {
        flex: 0 0 220px !important;
        max-width: 220px !important;
    }

    .cyb-desk-logo img,
    .cyb-desk-logo .custom-logo,
    .cyb-desk-logo .cyb-site-logo {
        display: block !important;
        width: auto !important;
        max-width: 220px !important;
        max-height: 56px !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

















/* =========================================================
   24. Modern Homepage / Archive / Single Enhancements
========================================================= */

.section-heading--left {
    text-align: left;
}

.section-badge--light {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

.hero-section--editorial {
    padding-top: 96px;
    padding-bottom: 54px;
}

.home-stats-strip {
    padding: 0 0 28px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-stat-card {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(47, 47, 228, 0.08);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--cybro-shadow);
}

.home-stat-card strong {
    display: block;
    font-size: 24px;
    color: var(--cybro-dark);
    line-height: 1.2;
}

.home-stat-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cybro-light-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-featured-editorial {
    padding: 34px 0 60px;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.editorial-feature-card,
.editorial-mini-card {
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 26px;
    box-shadow: var(--cybro-shadow);
    overflow: hidden;
}

.editorial-feature-card__image img,
.image-placeholder--large {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.image-placeholder--large {
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.18));
}

.editorial-feature-card__content {
    padding: 28px;
}

.editorial-feature-card__content h3 {
    font-size: 34px;
    margin-bottom: 14px;
}

.editorial-feature-card__content p {
    color: var(--cybro-light-text);
    font-size: 16px;
    margin-bottom: 20px;
}

.editorial-feature-card__meta,
.editorial-mini-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--cybro-light-text);
}

.editorial-feature-card__meta a,
.editorial-mini-card__meta a {
    font-weight: 700;
}

.editorial-side {
    display: grid;
    gap: 18px;
}

.editorial-mini-card__content {
    padding: 22px;
}

.editorial-mini-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.editorial-mini-card p {
    color: var(--cybro-light-text);
    margin-bottom: 16px;
}

.category-section--modern {
    padding-top: 8px;
    padding-bottom: 34px;
}

.category-grid--modern {
    grid-template-columns: repeat(3, 1fr);
}

.category-card--modern {
    position: relative;
    padding: 28px 24px;
    border-radius: 24px;
    overflow: hidden;
}

.category-card--modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(47, 47, 228, 0.08), transparent 45%);
    pointer-events: none;
}

.category-card__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.category-card__count {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(47, 47, 228, 0.08);
    color: var(--cybro-primary);
    font-size: 12px;
    font-weight: 700;
}

.category-card__link {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 700;
}

.post-card--modern {
    border-radius: 24px;
}

.archive-hero--modern {
    padding-bottom: 42px;
}

.archive-hero__inner {
    max-width: 820px;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cybro-primary), var(--cybro-accent));
    z-index: 999999;
}

.single-hero--modern {
    padding-bottom: 26px;
}

.single-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--cybro-light-text);
    font-size: 14px;
}

.single-breadcrumbs a {
    color: var(--cybro-light-text);
}

.single-meta--modern {
    gap: 20px;
}

.single-meta--modern i {
    color: var(--cybro-primary);
    margin-right: 6px;
}

.single-featured-image--modern {
    margin-bottom: 32px;
}

.single-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}

.single-sidebar {
    position: sticky;
    top: 120px;
}

.single-sidebar-card {
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--cybro-shadow);
}

.single-sidebar-card h4 {
    margin-bottom: 14px;
    font-size: 18px;
}

.single-sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.single-sidebar-card li + li {
    margin-top: 10px;
}

.single-copy-link {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--cybro-primary);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--cybro-transition);
}

.single-copy-link:hover {
    background: var(--cybro-accent);
}

.single-content--modern {
    font-size: 17px;
    line-height: 1.8;
}

.single-content--modern h2 {
    font-size: 32px;
}

.single-content--modern h3 {
    font-size: 26px;
}

.single-content--modern p,
.single-content--modern li {
    color: #334155;
}

.post-cta-box--modern {
    margin-bottom: 28px;
}

.single-author-box {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    align-items: center;
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--cybro-shadow);
    margin-bottom: 28px;
}

.single-author-box__avatar img {
    border-radius: 50%;
}

.single-author-box__content h3 {
    margin-bottom: 8px;
}

.single-author-box__content p {
    color: var(--cybro-light-text);
    margin-bottom: 0;
}

.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.single-post-nav__item a {
    display: block;
    padding: 22px;
    background: var(--cybro-white);
    border: 1px solid var(--cybro-border);
    border-radius: 22px;
    box-shadow: var(--cybro-shadow);
    height: 100%;
}

.single-post-nav__item span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cybro-light-text);
    margin-bottom: 10px;
}

.single-post-nav__item strong {
    color: var(--cybro-dark);
    line-height: 1.5;
}

.related-posts-section--modern {
    padding-top: 44px;
}

@media (max-width: 1199.98px) {
    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .editorial-layout {
        grid-template-columns: 1fr;
    }

    .category-grid--modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .home-stats-grid,
    .category-grid--modern,
    .single-post-nav {
        grid-template-columns: 1fr;
    }

    .editorial-feature-card__image img,
    .image-placeholder--large {
        height: 280px;
    }

    .editorial-feature-card__content h3 {
        font-size: 28px;
    }

    .single-author-box {
        grid-template-columns: 1fr;
        text-align: left;
    }
}













/* =========================================================
   Blog Subnav - Match Main Website Color
========================================================= */
.cyb-blog-subnav {
    background: #084BB6;
    border-top: 0;
    border-bottom: 0;
    padding: 0;
}

.cyb-blog-subnav__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

.cyb-blog-subnav__inner a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: 0.25s ease;
}

.cyb-blog-subnav__inner a:hover {
    color: rgba(255, 255, 255, 0.82);
}

.cyb-blog-subnav__search {
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .cyb-blog-subnav__inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 24px;
        padding: 0 4px;
        scrollbar-width: none;
    }

    .cyb-blog-subnav__inner::-webkit-scrollbar {
        display: none;
    }

    .cyb-blog-subnav__inner a {
        white-space: nowrap;
    }
}

/* =========================================================
   27. Featured Top Layout
========================================================= */
.home-featured-top {
    padding: 34px 0 50px;
}

.featured-top-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 420px;
    gap: 28px;
    align-items: start;
}

.featured-top-main,
.featured-top-side {
    min-width: 0;
}

.featured-main-card,
.featured-side-card {
    background: #ffffff;
    border: 1px solid var(--cybro-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--cybro-shadow);
}

.featured-main-card__image img,
.image-placeholder--large {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.image-placeholder--large {
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.18));
}

.featured-main-card__content {
    padding: 28px;
}

.featured-main-card__content h3 {
    font-size: 40px;
    line-height: 1.18;
    margin-bottom: 24px;
}

.featured-main-card__content h3 a {
    color: var(--cybro-dark);
}

.featured-main-card__content h3 a:hover {
    color: var(--cybro-primary);
}

.featured-top-side {
    display: grid;
    gap: 20px;
}

.featured-side-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: stretch;
}

.featured-side-card__image img,
.image-placeholder--side {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.image-placeholder--side {
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.18));
}

.featured-side-card__content {
    padding: 18px 18px 16px;
}

.featured-side-card__content h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 16px;
}

.featured-side-card__content h3 a {
    color: var(--cybro-dark);
}

.featured-side-card__content h3 a:hover {
    color: var(--cybro-primary);
}

/* remove old top sections */
.hero-section--compact,
.hero-section--editorial,
.home-stats-strip,
.category-section--modern {
    display: none;
}

@media (max-width: 1199.98px) {
    .featured-top-layout {
        grid-template-columns: 1fr;
    }

    .featured-main-card__image img,
    .image-placeholder--large {
        height: 380px;
    }
}

@media (max-width: 767.98px) {
    .home-featured-top {
        padding: 26px 0 36px;
    }

    .featured-main-card__image img,
    .image-placeholder--large {
        height: 260px;
    }

    .featured-main-card__content {
        padding: 22px 20px;
    }

    .featured-main-card__content h3 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .featured-side-card {
        grid-template-columns: 1fr;
    }

    .featured-side-card__image img,
    .image-placeholder--side {
        min-height: 180px;
        height: 180px;
    }

    .featured-side-card__content {
        padding: 18px;
    }

    .featured-side-card__content h3 {
        font-size: 19px;
    }
}

.hero-section,
.home-stats-strip,
.category-section {
    display: none !important;
}


















/* =========================================================
   28. Main Site Header Width Match
========================================================= */

/* Make top bar and header feel full-width like live site */
.cyb-topbar .container,
.cyb-desk-header .container,
.cyb-mobile-header .container {
    width: calc(100% - 80px) !important;
    max-width: 1920px !important;
}

/* Slightly better spacing on large screens */
@media (min-width: 1200px) {
    .cyb-desk-header__row {
        min-height: 84px;
    }

    .cyb-desk-header__right {
        gap: 42px;
    }

    .cyb-desk-menu {
        gap: 34px;
    }
}

/* Mobile padding */
@media (max-width: 991.98px) {
    .cyb-topbar .container,
    .cyb-mobile-header .container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }
}







/* Simple category title section - remove blue shadow */
.archive-hero,
.archive-hero--modern {
    background: #F8FAFC !important;
}

/* Optional: make spacing a little cleaner */
.archive-hero--modern {
    padding-top: 48px !important;
    padding-bottom: 28px !important;
}





/* =========================================================
   29. Homepage Category Sections Like Hostinger Style
========================================================= */
.home-category-block {
    padding: 24px 0 40px;
}

.home-category-block__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.home-category-block__heading h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.home-category-block__heading p {
    margin-bottom: 0;
    color: var(--cybro-light-text);
    font-size: 17px;
    max-width: 780px;
}

.home-category-block__viewall {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--cybro-border);
    background: var(--cybro-white);
    color: var(--cybro-dark);
    font-weight: 700;
}

.home-category-block__viewall:hover {
    color: var(--cybro-primary);
    border-color: rgba(47, 47, 228, 0.2);
}

.home-category-block__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card--clean p {
    display: block;
    color: var(--cybro-light-text);
    margin-bottom: 18px;
}

@media (max-width: 1199.98px) {
    .home-category-block__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .home-category-block__heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-category-block__heading h2 {
        font-size: 30px;
    }

    .home-category-block__heading p {
        font-size: 15px;
    }

    .home-category-block__grid {
        grid-template-columns: 1fr;
    }
}
















/* =========================================================
   31. Final Front Page Layout
========================================================= */
.home-front__section {
    padding: 34px 0;
}

.home-section-head {
    margin-bottom: 26px;
}

.home-section-head h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
    color: #111827;
}

.home-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #2f2fe4;
    text-transform: uppercase;
}

.home-meta-line span:not(:last-child)::after {
    content: "•";
    margin-left: 6px;
}

.home-featured__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 380px;
    gap: 26px;
    align-items: start;
}

.home-featured__main,
.home-featured__side-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.home-featured__side {
    display: grid;
    gap: 18px;
}

.home-featured__image {
    display: block;
}

.home-featured__image--main img,
.image-placeholder--featured {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.home-featured__image--side img,
.image-placeholder--side {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.image-placeholder--featured,
.image-placeholder--side {
    background: linear-gradient(135deg, rgba(47, 47, 228, 0.12), rgba(210, 116, 29, 0.18));
}

.home-featured__content--main {
    padding: 28px;
}

.home-featured__content--main h3 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
}

.home-featured__content--main h3 a {
    color: #111827;
}

.home-featured__content--main p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

.home-featured__content--side {
    padding: 18px 18px 20px;
}

.home-featured__content--side h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
}

.home-featured__content--side h3 a {
    color: #111827;
}

.home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.home-post-card__image img,
.home-editorial-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-post-card__body,
.home-editorial-card__body {
    padding: 22px;
}

.home-post-card h3,
.home-editorial-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.35;
}

.home-post-card h3 a,
.home-editorial-card h3 a {
    color: #111827;
}

.home-post-card p,
.home-editorial-card p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.home-category-editorial__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.home-category-editorial__head h2 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
    color: #111827;
}

.home-category-editorial__head p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
}

.home-category-editorial__viewall {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #dbe1ea;
    background: #ffffff;
    color: #084BB6;
    font-weight: 700;
}

.home-category-editorial__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-editorial-card {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-editorial-card__image {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
}

@media (max-width: 1199.98px) {
    .home-featured__grid,
    .home-post-grid,
    .home-category-editorial__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-featured__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .home-front__section {
        padding: 24px 0;
    }

    .home-section-head h2,
    .home-category-editorial__head h2 {
        font-size: 28px;
    }

    .home-post-grid,
    .home-category-editorial__grid {
        grid-template-columns: 1fr;
    }

    .home-category-editorial__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-featured__image--main img,
    .image-placeholder--featured {
        height: 260px;
    }

    .home-featured__image--side img,
    .image-placeholder--side,
    .home-post-card__image img,
    .home-editorial-card__image img {
        height: 210px;
    }

    .home-featured__content--main {
        padding: 22px;
    }

    .home-featured__content--main h3 {
        font-size: 26px;
    }

    .home-post-card h3,
    .home-editorial-card h3 {
        font-size: 21px;
    }
}







/* =========================================================
   32. Smaller Images + Smaller Fonts
========================================================= */

/* Section headings a little smaller */
.home-section-head h2,
.home-category-editorial__head h2 {
    font-size: 32px !important;
}

/* Featured section tighter like editorial layout */
.home-featured__grid {
    grid-template-columns: minmax(0, 1.35fr) 340px !important;
    gap: 22px !important;
}

.home-featured__side {
    gap: 16px !important;
}


/* Featured main content smaller */
.home-featured__content--main {
    padding: 22px !important;
}

.home-featured__content--main h3 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

.home-featured__content--main p {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Featured side content smaller */
.home-featured__content--side {
    padding: 14px 16px 16px !important;
}

.home-featured__content--side h3 {
    font-size: 17px !important;
    line-height: 1.35 !important;
}

/* Recent posts grid stays 3 columns but more compact */
.home-post-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
}

/* Category sections also 3 compact cards */
.home-category-editorial__grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
}


/* Smaller card body */
.home-post-card__body,
.home-editorial-card__body {
    padding: 18px !important;
}

/* Smaller meta line */
.home-meta-line {
    font-size: 12px !important;
    margin-bottom: 10px !important;
}

/* Smaller card titles */
.home-post-card h3,
.home-editorial-card h3 {
    font-size: 19px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
}

/* Smaller card excerpt */
.home-post-card p,
.home-editorial-card p {
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* View all button smaller */
.home-category-editorial__viewall {
    min-height: 42px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
}

/* Section spacing tighter */
.home-front__section {
    padding: 26px 0 !important;
}

.home-section-head,
.home-category-editorial__head {
    margin-bottom: 20px !important;
}

/* Tablet */
@media (max-width: 1199.98px) {
    .home-featured__grid {
        grid-template-columns: 1fr !important;
    }

    .home-post-grid,
    .home-category-editorial__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .home-section-head h2,
    .home-category-editorial__head h2 {
        font-size: 26px !important;
    }

    .home-post-grid,
    .home-category-editorial__grid {
        grid-template-columns: 1fr !important;
    }


    .home-featured__content--main h3 {
        font-size: 23px !important;
    }

    .home-post-card h3,
    .home-editorial-card h3,
    .home-featured__content--side h3 {
        font-size: 18px !important;
    }
}


.home-category-editorial__head p,
.home-section-head p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}


.home-category-editorial__viewall:hover {
    background: #084BB6 !important;
    border-color: #084BB6 !important;
    color: #ffffff !important;
}













/* =========================================================
   35. Final Single Page Layout
========================================================= */
.single-post-wrap {
    width: min(820px, calc(100% - 32px));
    margin: 0 auto;
}

.single-hero--clean,
.single-content-section--clean {
    padding-top: 34px !important;
    padding-bottom: 18px !important;
}

.single-hero--clean h1 {
    font-size: 40px !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
}

.single-meta--clean {
    gap: 18px;
}

.single-social-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.single-social-row__label {
    font-size: 13px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-social-row__icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-social-row__icons a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.single-social-row__icons a:hover {
    color: #084BB6;
    border-color: #084BB6;
    background: #f8fbff;
    transform: translateY(-1px);
}

.single-social-row__icons svg {
    width: 16px;
    height: 16px;
    display: block;
}

.single-featured-image--compact {
    margin-bottom: 22px !important;
}

.single-featured-image--compact img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.single-content--clean {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
    padding: 28px 30px !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
}

.single-content--clean h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
}

.single-content--clean h3 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

.single-content--clean p,
.single-content--clean li {
    color: #374151;
}

.single-content--clean img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 20px auto;
    display: block;
}

.single-author-box--clean {
    margin-top: 28px;
}

.related-posts-section .single-post-wrap {
    width: min(820px, calc(100% - 32px));
}

@media (max-width: 991.98px) {
    .single-post-wrap,
    .related-posts-section .single-post-wrap {
        width: calc(100% - 28px);
    }

    .single-hero--clean h1 {
        font-size: 32px !important;
    }

    .single-content--clean {
        padding: 24px 20px !important;
        font-size: 15px !important;
    }

    .single-content--clean h2 {
        font-size: 26px !important;
    }

    .single-content--clean h3 {
        font-size: 22px !important;
    }
}

@media (max-width: 767.98px) {
    .single-post-wrap,
    .related-posts-section .single-post-wrap {
        width: calc(100% - 24px);
    }

    .single-hero--clean h1 {
        font-size: 28px !important;
    }

    .single-featured-image--compact img {
        max-height: 240px;
    }

    .single-social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .single-content--clean {
        padding: 20px 16px !important;
    }
}

/* Softer divider lines inside blog content */
.single-content hr,
.single-content--clean hr,
.single-content--modern hr,
.single-content--equal hr,
.single-content .wp-block-separator,
.single-content--clean .wp-block-separator,
.single-content--modern .wp-block-separator,
.single-content--equal .wp-block-separator {
    border: 0 !important;
    height: 1px !important;
    background: #e5e7eb !important;
    margin: 28px 0 !important;
}



/* =========================================================
   36. Prevent Blog Images From Cropping
========================================================= */

/* Card image wrappers */
.home-featured__image--main,
.home-featured__image--side,
.home-post-card__image,
.home-editorial-card__image,
.featured-main-card__image,
.featured-side-card__image,
.post-card-image {
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    overflow: hidden;
    border-radius: 18px;
}

/* Make images fit fully instead of cropping */
.home-featured__image--main img,
.home-featured__image--side img,
.home-post-card__image img,
.home-editorial-card__image img,
.featured-main-card__image img,
.featured-side-card__image img,
.post-card-image img {
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}

/* Single post featured image */
.single-featured-image--compact,
.single-featured-image--modern {
    background: #f8fafc;
    border-radius: 22px;
    overflow: hidden;
}

.single-featured-image--compact img,
.single-featured-image--modern img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
}


body,
button,
input,
textarea,
select {
    font-family: "Poppins", Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.cyb-desk-menu__link,
.cyb-blog-subnav__inner a,
.btn,
.home-section-head h2,
.home-category-editorial__head h2,
.single-hero h1 {
    font-family: "Poppins", Arial, sans-serif !important;
}

body,
button,
input,
textarea,
select {
    font-family: "Inter", Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.cyb-desk-menu__link,
.cyb-blog-subnav__inner a,
.btn,
.home-section-head h2,
.home-category-editorial__head h2,
.single-hero h1 {
    font-family: "Inter", Arial, sans-serif !important;
}
/* =========================================================
   37. FINAL HOMEPAGE FIXES
   Keep header/menu/subnav/featured section same
   Fix Recent Added Articles and editorial cards
========================================================= */

/* Keep featured images as currently shown */
.home-featured__image--main,
.home-featured__image--side {
    aspect-ratio: 16 / 9 !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

.home-featured__image--main img,
.home-featured__image--side img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* Fix Recent Added Articles white gaps */
.home-post-card__image,
.home-editorial-card__image,
.related-posts-section .home-editorial-card__image,
.home-category-editorial .home-editorial-card__image {
    display: block !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
}

.home-post-card__image img,
.home-editorial-card__image img,
.related-posts-section .home-editorial-card__image img,
.home-category-editorial .home-editorial-card__image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    background: transparent !important;
}

/* Placeholder cards match image height */
.home-post-card .image-placeholder,
.home-editorial-card .image-placeholder,
.related-posts-section .image-placeholder,
.home-category-editorial .image-placeholder {
    width: 100% !important;
    height: 220px !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Card box cleanup */
.home-post-card,
.related-posts-section .home-editorial-card,
.home-category-editorial .home-editorial-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05) !important;
}

.home-post-card__body,
.home-category-editorial .home-editorial-card__body,
.related-posts-section .home-editorial-card__body {
    padding: 20px !important;
}

.home-post-card h3,
.home-category-editorial .home-editorial-card h3,
.related-posts-section .home-editorial-card h3 {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
}

.home-post-card p,
.home-category-editorial .home-editorial-card p,
.related-posts-section .home-editorial-card p {
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

/* Category and related cards should also feel finished */
.home-category-editorial__grid,
.related-posts-section .home-category-editorial__grid {
    gap: 24px !important;
}

/* View all button */
.home-category-editorial__viewall {
    color: #084BB6 !important;
    border-color: #dbe1ea !important;
    background: #ffffff !important;
}

.home-category-editorial__viewall:hover {
    background: #084BB6 !important;
    border-color: #084BB6 !important;
    color: #ffffff !important;
}

/* Mobile */
@media (max-width: 767.98px) {
    .home-post-card__image img,
    .home-editorial-card__image img,
    .related-posts-section .home-editorial-card__image img,
    .home-category-editorial .home-editorial-card__image img,
    .home-post-card .image-placeholder,
    .home-editorial-card .image-placeholder,
    .related-posts-section .image-placeholder,
    .home-category-editorial .image-placeholder {
        height: 190px !important;
    }

    .home-post-card__body,
    .home-category-editorial .home-editorial-card__body,
    .related-posts-section .home-editorial-card__body {
        padding: 18px !important;
    }

    .home-post-card h3,
    .home-category-editorial .home-editorial-card h3,
    .related-posts-section .home-editorial-card h3 {
        font-size: 18px !important;
    }
}
