/* =========================================================
   SOFTLYSIS BLOG PAGE
   Dark + Light Theme
   ========================================================= */


/* =========================================================
   BLOG VARIABLES
   ========================================================= */

.blog-page {

    --blog-bg: #05070c;
    --blog-bg-soft: #090d15;

    --blog-surface: #0d121c;
    --blog-surface-2: #111827;

    --blog-border: rgba(255,255,255,.10);
    --blog-border-strong: rgba(255,255,255,.16);

    --blog-text: #f7f9ff;
    --blog-heading: #ffffff;

    --blog-muted: #94a3b8;
    --blog-muted-2: #64748b;

    --blog-blue: #6d92ff;
    --blog-blue-strong: #507cff;

    --blog-blue-soft: rgba(109,146,255,.12);

    --blog-card-shadow:
        0 25px 70px rgba(0,0,0,.28);

    background:
        radial-gradient(
            circle at 75% 8%,
            rgba(80,124,255,.10),
            transparent 30%
        ),
        var(--blog-bg);

    color: var(--blog-text);

    overflow: hidden;

}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"] .blog-page {

    --blog-bg: #f5f7fb;
    --blog-bg-soft: #eef2f7;

    --blog-surface: #ffffff;
    --blog-surface-2: #f8fafc;

    --blog-border: rgba(15,23,42,.10);
    --blog-border-strong: rgba(15,23,42,.16);

    --blog-text: #334155;
    --blog-heading: #111827;

    --blog-muted: #64748b;
    --blog-muted-2: #8a94a6;

    --blog-blue: #507cff;
    --blog-blue-strong: #426cf0;

    --blog-blue-soft: rgba(80,124,255,.10);

    --blog-card-shadow:
        0 25px 70px rgba(15,23,42,.10);

    background:
        radial-gradient(
            circle at 75% 8%,
            rgba(80,124,255,.08),
            transparent 32%
        ),
        var(--blog-bg);

    color: var(--blog-text);

}


/* =========================================================
   CONTAINER
   ========================================================= */

.blog-container {

    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin: 0 auto;

}


/* =========================================================
   BLOG HERO
   ========================================================= */

.blog-hero {

    position: relative;

    padding:
        150px 0
        100px;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(80,124,255,.13),
            transparent 30%
        );

}


.blog-hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

    align-items: center;

    gap: 80px;

}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.blog-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: var(--blog-blue);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

}


.blog-eyebrow::before {

    content: "";

    width: 28px;

    height: 1px;

    background: var(--blog-blue);

}


.blog-hero-title {

    margin: 0;

    color: var(--blog-heading);

    font-size: clamp(
        64px,
        8vw,
        112px
    );

    line-height: .91;

    letter-spacing: -.065em;

    font-weight: 700;

}


.blog-hero-title span {

    display: block;

    color: var(--blog-muted);

}


.blog-hero-title strong {

    display: block;

    color: var(--blog-blue);

    font-weight: 700;

}


.blog-hero-description {

    max-width: 650px;

    margin:
        32px 0
        0;

    color: var(--blog-muted);

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.blog-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;

}


.blog-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding:
        0 22px;

    border-radius: 12px;

    border: 1px solid transparent;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;

}


.blog-btn i {

    font-size: 16px;

    transition:
        transform .25s ease;

}


.blog-btn:hover i {

    transform:
        translate(
            2px,
            -2px
        );

}


.blog-btn-primary {

    background: var(--blog-blue);

    color: #ffffff;

    box-shadow:
        0 14px 35px
        rgba(80,124,255,.25);

}


.blog-btn-primary:hover {

    transform: translateY(-2px);

    background: var(--blog-blue-strong);

    color: #ffffff;

}


.blog-btn-secondary {

    border-color: var(--blog-border-strong);

    background: var(--blog-surface);

    color: var(--blog-heading);

}


.blog-btn-secondary:hover {

    transform: translateY(-2px);

    border-color: var(--blog-blue);

    color: var(--blog-blue);

}


/* =========================================================
   HERO META
   ========================================================= */

.blog-hero-meta {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

    max-width: 620px;

    margin-top: 55px;

}


.blog-hero-meta > div {

    padding-left: 16px;

    border-left:
        1px solid
        var(--blog-border);

}


.blog-hero-meta strong {

    display: block;

    margin-bottom: 6px;

    color: var(--blog-heading);

    font-size: 14px;

}


.blog-hero-meta span {

    display: block;

    color: var(--blog-muted);

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   HERO RIGHT FEATURE CARD
   ========================================================= */

.blog-hero-visual {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.blog-feature-card {

    position: relative;

    width: min(
        100%,
        500px
    );

    min-height: 480px;

    padding: 36px;

    border:
        1px solid
        var(--blog-border);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            var(--blog-surface),
            var(--blog-surface-2)
        );

    box-shadow:
        var(--blog-card-shadow);

    overflow: hidden;

}


.blog-feature-card::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    top: -100px;

    right: -80px;

    border-radius: 50%;

    background:
        rgba(80,124,255,.12);

    filter: blur(5px);

}


.blog-feature-top {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.blog-feature-label {

    display: inline-flex;

    padding:
        7px 11px;

    border:
        1px solid
        rgba(109,146,255,.25);

    border-radius: 100px;

    background:
        var(--blog-blue-soft);

    color: var(--blog-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .16em;

}


.blog-feature-number {

    color: var(--blog-muted-2);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .15em;

}


.blog-feature-icon {

    width: 88px;

    height: 88px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 65px;

    border-radius: 22px;

    background:
        var(--blog-blue-soft);

    color: var(--blog-blue);

    font-size: 38px;

}


.blog-feature-category {

    margin-top: 30px;

    color: var(--blog-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .16em;

}


.blog-feature-card h2 {

    position: relative;

    margin:
        15px 0
        18px;

    color: var(--blog-heading);

    font-size: 34px;

    line-height: 1.12;

    letter-spacing: -.035em;

}


.blog-feature-card p {

    position: relative;

    margin: 0;

    color: var(--blog-muted);

    font-size: 15px;

    line-height: 1.75;

}


.blog-feature-bottom {

    position: absolute;

    right: 36px;

    bottom: 32px;

    left: 36px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 20px;

    border-top:
        1px solid
        var(--blog-border);

}


.blog-feature-bottom > span {

    color: var(--blog-muted);

    font-size: 12px;

}


.blog-feature-bottom a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--blog-blue);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

}


.blog-feature-bottom a i {

    transition:
        transform .25s ease;

}


.blog-feature-bottom a:hover i {

    transform:
        translate(
            3px,
            -3px
        );

}


/* =========================================================
   FLOATING CARD
   ========================================================= */

.blog-floating-card {

    position: absolute;

    left: -35px;

    bottom: 45px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        15px 18px;

    border:
        1px solid
        var(--blog-border);

    border-radius: 15px;

    background:
        var(--blog-surface);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.18);

    z-index: 5;

}


html[data-theme="light"] .blog-floating-card {

    box-shadow:
        0 20px 50px
        rgba(15,23,42,.12);

}


.blog-floating-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background:
        var(--blog-blue-soft);

    color: var(--blog-blue);

}


.blog-floating-card strong {

    display: block;

    color: var(--blog-heading);

    font-size: 13px;

}


.blog-floating-card span {

    display: block;

    margin-top: 4px;

    color: var(--blog-muted);

    font-size: 11px;

}


/* =========================================================
   CATEGORY BAR
   ========================================================= */

.blog-categories {

    padding:
        24px 0;

    border-top:
        1px solid
        var(--blog-border);

    border-bottom:
        1px solid
        var(--blog-border);

    background:
        var(--blog-bg-soft);

}


.blog-category-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.blog-category-heading {

    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;

}


.blog-category-heading span {

    color: var(--blog-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .16em;

}


.blog-category-heading strong {

    color: var(--blog-heading);

    font-size: 15px;

}


.blog-category-links {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px;

}


.blog-category-links a {

    display: inline-flex;

    align-items: center;

    min-height: 38px;

    padding:
        0 15px;

    border:
        1px solid
        transparent;

    border-radius: 100px;

    color: var(--blog-muted);

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        .25s ease;

}


.blog-category-links a:hover {

    border-color:
        var(--blog-border);

    color: var(--blog-heading);

    background:
        var(--blog-surface);

}


.blog-category-links a.active {

    border-color:
        rgba(109,146,255,.25);

    background:
        var(--blog-blue-soft);

    color: var(--blog-blue);

}


/* =========================================================
   GENERIC SECTION HEADING
   ========================================================= */

.blog-featured,
.blog-latest {

    padding:
        110px 0;

}


.blog-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;

}


.blog-section-heading > div > span {

    display: block;

    margin-bottom: 12px;

    color: var(--blog-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;

}


.blog-section-heading h2 {

    margin: 0;

    color: var(--blog-heading);

    font-size: clamp(
        34px,
        4vw,
        58px
    );

    line-height: 1;

    letter-spacing: -.045em;

}


.blog-section-heading > p {

    max-width: 420px;

    margin: 0;

    color: var(--blog-muted);

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   VIEW ALL
   ========================================================= */

.blog-view-all {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 4px;

    border-bottom:
        1px solid
        var(--blog-border);

    color: var(--blog-heading);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

}


.blog-view-all:hover {

    color: var(--blog-blue);

}


/* =========================================================
   FEATURED ARTICLE
   ========================================================= */

.blog-featured-card {

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    min-height: 470px;

    border:
        1px solid
        var(--blog-border);

    border-radius: 26px;

    background:
        var(--blog-surface);

    overflow: hidden;

    box-shadow:
        var(--blog-card-shadow);

}


.blog-featured-image {

    min-height: 470px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(80,124,255,.18),
            rgba(80,124,255,.04)
        );

}


html[data-theme="light"] .blog-featured-image {

    background:
        linear-gradient(
            145deg,
            #e9efff,
            #f7f9fc
        );

}


.blog-image-placeholder {

    width: 100%;

    height: 100%;

    min-height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 50px;

    border:
        1px solid
        var(--blog-border);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(109,146,255,.15),
            transparent 55%
        );

    position: relative;

}


.blog-image-placeholder span {

    color: var(--blog-muted);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .2em;

}


.blog-image-placeholder strong {

    margin-top: 5px;

    color: var(--blog-blue);

    font-size: clamp(
        42px,
        6vw,
        78px
    );

    line-height: .9;

    letter-spacing: -.06em;

}


.blog-image-placeholder i {

    position: absolute;

    right: 30px;

    bottom: 30px;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        var(--blog-border);

    border-radius: 50%;

    background:
        var(--blog-surface);

    color: var(--blog-blue);

}


.blog-featured-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        55px;

}


.blog-post-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    color: var(--blog-muted);

    font-size: 11px;

    font-weight: 700;

}


.blog-post-meta span:first-child {

    color: var(--blog-blue);

}


.blog-featured-content h3 {

    max-width: 700px;

    margin:
        22px 0;

    color: var(--blog-heading);

    font-size: clamp(
        32px,
        4vw,
        52px
    );

    line-height: 1.08;

    letter-spacing: -.045em;

}


.blog-featured-content > p {

    max-width: 620px;

    margin: 0;

    color: var(--blog-muted);

    font-size: 15px;

    line-height: 1.8;

}


.blog-post-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 45px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--blog-border);

}


.blog-post-footer > span {

    color: var(--blog-muted);

    font-size: 11px;

}


.blog-post-footer a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--blog-blue);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

}


/* =========================================================
   LATEST BLOG GRID
   ========================================================= */

.blog-latest {

    background:
        var(--blog-bg-soft);

}


.blog-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.blog-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    border:
        1px solid
        var(--blog-border);

    border-radius: 22px;

    background:
        var(--blog-surface);

    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}


.blog-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(109,146,255,.30);

    box-shadow:
        var(--blog-card-shadow);

}


/* =========================================================
   BLOG CARD IMAGE
   ========================================================= */

.blog-card-image {

    position: relative;

    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(80,124,255,.16),
            rgba(80,124,255,.04)
        );

    color: var(--blog-blue);

}


html[data-theme="light"] .blog-card-image {

    background:
        linear-gradient(
            145deg,
            #e9efff,
            #f5f7fb
        );

}


.blog-card-image::before {

    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    border:
        1px solid
        rgba(109,146,255,.25);

    border-radius: 50%;

}


.blog-card-image span {

    position: absolute;

    top: 20px;

    left: 20px;

    z-index: 2;

    padding:
        7px 10px;

    border-radius: 100px;

    background:
        var(--blog-surface);

    color: var(--blog-blue);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .14em;

}


.blog-card-image i {

    position: relative;

    z-index: 2;

    font-size: 42px;

}


/* =========================================================
   BLOG CARD CONTENT
   ========================================================= */

.blog-card-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding:
        28px;

}


.blog-card-content .blog-post-meta {

    justify-content: space-between;

    margin-bottom: 18px;

}


.blog-card-content .blog-post-meta span {

    font-size: 10px;

}


.blog-card-content h3 {

    margin: 0;

    color: var(--blog-heading);

    font-size: 23px;

    line-height: 1.18;

    letter-spacing: -.025em;

}


.blog-card-content p {

    margin:
        18px 0
        25px;

    color: var(--blog-muted);

    font-size: 14px;

    line-height: 1.7;

}


.blog-card-content > a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--blog-blue);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

}


.blog-card-content > a i {

    transition:
        transform .25s ease;

}


.blog-card-content > a:hover i {

    transform:
        translate(
            3px,
            -3px
        );

}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.blog-newsletter {

    padding:
        100px 0;

}


.blog-newsletter-card {

    display: grid;

    grid-template-columns:
        1fr
        minmax(350px, .7fr);

    align-items: center;

    gap: 60px;

    padding:
        55px;

    border:
        1px solid
        var(--blog-border);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            var(--blog-surface),
            var(--blog-surface-2)
        );

    box-shadow:
        var(--blog-card-shadow);

}


.blog-newsletter-content > span {

    color: var(--blog-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;

}


.blog-newsletter-content h2 {

    max-width: 650px;

    margin:
        15px 0;

    color: var(--blog-heading);

    font-size: clamp(
        36px,
        5vw,
        60px
    );

    line-height: 1;

    letter-spacing: -.05em;

}


.blog-newsletter-content p {

    max-width: 580px;

    margin: 0;

    color: var(--blog-muted);

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   NEWSLETTER FORM
   ========================================================= */

.blog-newsletter-form {

    width: 100%;

}


.blog-newsletter-input {

    display: flex;

    align-items: stretch;

    padding: 5px;

    border:
        1px solid
        var(--blog-border-strong);

    border-radius: 14px;

    background:
        var(--blog-bg-soft);

}


.blog-newsletter-input input {

    flex: 1;

    min-width: 0;

    height: 50px;

    padding:
        0 15px;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--blog-heading);

    font-family: inherit;

    font-size: 13px;

}


.blog-newsletter-input input::placeholder {

    color:
        var(--blog-muted-2);

}


.blog-newsletter-input button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding:
        0 18px;

    border: 0;

    border-radius: 10px;

    background:
        var(--blog-blue);

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease;

}


.blog-newsletter-input button:hover {

    background:
        var(--blog-blue-strong);

}


.blog-newsletter-form small {

    display: block;

    margin-top: 12px;

    color: var(--blog-muted-2);

    font-size: 10px;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1050px) {

    .blog-hero-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .blog-hero-content {

        max-width: 800px;

    }


    .blog-hero-visual {

        max-width: 620px;

        width: 100%;

        margin: 0 auto;

    }


    .blog-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .blog-newsletter-card {

        grid-template-columns:
            1fr;

    }

}


@media (max-width: 800px) {

    .blog-container {

        width:
            min(
                100% - 32px,
                700px
            );

    }


    .blog-hero {

        padding:
            110px 0
            70px;

    }


    .blog-hero-title {

        font-size:
            clamp(
                55px,
                15vw,
                90px
            );

    }


    .blog-hero-meta {

        grid-template-columns:
            1fr;

        gap: 16px;

    }


    .blog-category-inner {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .blog-category-links {

        justify-content:
            flex-start;

    }


    .blog-section-heading {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .blog-featured-card {

        grid-template-columns:
            1fr;

    }


    .blog-featured-image {

        min-height:
            360px;

    }


    .blog-image-placeholder {

        min-height:
            290px;

    }


    .blog-featured-content {

        padding:
            35px;

    }


    .blog-grid {

        grid-template-columns:
            1fr;

    }


    .blog-newsletter-card {

        padding:
            35px;

    }

}


@media (max-width: 600px) {

    .blog-container {

        width:
            calc(100% - 28px);

    }


    .blog-hero {

        padding:
            90px 0
            55px;

    }


    .blog-hero-title {

        font-size:
            58px;

    }


    .blog-hero-description {

        font-size:
            15px;

        line-height:
            1.7;

    }


    .blog-hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .blog-btn {

        width: 100%;

    }


    .blog-hero-visual {

        min-height:
            430px;

    }


    .blog-feature-card {

        min-height:
            410px;

        padding:
            25px;

        border-radius:
            22px;

    }


    .blog-feature-icon {

        margin-top:
            45px;

    }


    .blog-feature-card h2 {

        font-size:
            28px;

    }


    .blog-feature-bottom {

        right:
            25px;

        bottom:
            24px;

        left:
            25px;

    }


    .blog-floating-card {

        left:
            10px;

        bottom:
            15px;

    }


    .blog-floating-card span {

        font-size:
            10px;

    }


    .blog-featured,
    .blog-latest {

        padding:
            75px 0;

    }


    .blog-featured-content {

        padding:
            28px;

    }


    .blog-featured-content h3 {

        font-size:
            34px;

    }


    .blog-post-footer {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            15px;

    }


    .blog-card-image {

        height:
            190px;

    }


    .blog-newsletter {

        padding:
            70px 0;

    }


    .blog-newsletter-card {

        padding:
            28px 22px;

        border-radius:
            22px;

    }


    .blog-newsletter-input {

        flex-direction:
            column;

        gap:
            5px;

        padding:
            5px;

    }


    .blog-newsletter-input input {

        width:
            100%;

    }


    .blog-newsletter-input button {

        width:
            100%;

        min-height:
            48px;

    }

}



/* =========================================================
   BLOG CATEGORIES
   ========================================================= */

.blog-categories {
    position: relative;
    width: 100%;
    z-index: 100;
}


/* =========================================================
   STICKY BAR
   ========================================================= */

.blog-category-sticky {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 9999;

    background: var(--blog-cat-bg);

    border-top: 1px solid var(--blog-cat-border);

    border-bottom: 1px solid var(--blog-cat-border);

    box-shadow: 0 8px 25px var(--blog-cat-shadow);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   DARK THEME
   ========================================================= */

html:not([data-theme="light"]) {

    --blog-cat-bg: rgba(7, 13, 24, 0.97);

    --blog-cat-border: rgba(255, 255, 255, 0.08);

    --blog-cat-shadow: rgba(0, 0, 0, 0.25);

    --blog-cat-heading: #ffffff;

    --blog-cat-muted: #8d99ad;

    --blog-cat-link: #aeb8ca;

    --blog-cat-hover-bg: rgba(255, 255, 255, 0.07);

    --blog-cat-hover-text: #ffffff;

    --blog-cat-active-bg: #ffffff;

    --blog-cat-active-text: #07101d;
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"] {

    --blog-cat-bg: rgba(255, 255, 255, 0.98);

    --blog-cat-border: rgba(15, 23, 42, 0.08);

    --blog-cat-shadow: rgba(15, 23, 42, 0.08);

    --blog-cat-heading: #0f172a;

    --blog-cat-muted: #64748b;

    --blog-cat-link: #475569;

    --blog-cat-hover-bg: rgba(15, 23, 42, 0.06);

    --blog-cat-hover-text: #0f172a;

    --blog-cat-active-bg: #0f172a;

    --blog-cat-active-text: #ffffff;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.blog-category-sticky .blog-container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 24px;
}


/* =========================================================
   INNER
   ========================================================= */

.blog-category-inner {

    min-height: 74px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   HEADING
   ========================================================= */

.blog-category-heading {

    display: flex;

    align-items: baseline;

    gap: 8px;

    flex-shrink: 0;
}


.blog-category-heading span {

    color: var(--blog-cat-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.14em;
}


.blog-category-heading strong {

    color: var(--blog-cat-heading);

    font-size: 18px;

    font-weight: 700;
}


/* =========================================================
   LINKS
   ========================================================= */

.blog-category-links {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;
}


.blog-category-links a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 38px;

    padding: 8px 15px;

    border-radius: 999px;

    color: var(--blog-cat-link);

    background: transparent;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}


.blog-category-links a:hover {

    color: var(--blog-cat-hover-text);

    background: var(--blog-cat-hover-bg);

    transform: translateY(-1px);
}


.blog-category-links a.active {

    color: var(--blog-cat-active-text);

    background: var(--blog-cat-active-bg);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .blog-category-inner {

        min-height: 68px;

    }


    .blog-category-links {

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }


    .blog-category-links::-webkit-scrollbar {

        display: none;
    }


    .blog-category-links a {

        flex-shrink: 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .blog-category-sticky .blog-container {

        padding: 0 15px;
    }


    .blog-category-inner {

        display: block;

        padding: 12px 0;

        min-height: auto;
    }


    .blog-category-heading {

        margin-bottom: 10px;
    }


    .blog-category-heading strong {

        font-size: 16px;
    }


    .blog-category-links {

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        gap: 7px;

        scrollbar-width: none;
    }


    .blog-category-links::-webkit-scrollbar {

        display: none;
    }


    .blog-category-links a {

        min-height: 34px;

        padding: 7px 13px;

        font-size: 12px;

        flex-shrink: 0;
    }

}


/* =========================================================
   DARK THEME
   ========================================================= */

html:not([data-theme="light"]) .blog-categories {

    --blog-category-bg: rgba(7, 13, 24, 0.96);

    --blog-category-border: rgba(255, 255, 255, 0.08);

    --blog-category-heading: #ffffff;

    --blog-category-muted: #8995aa;

    --blog-category-link: #aeb8ca;

    --blog-category-hover-bg: rgba(255, 255, 255, 0.07);

    --blog-category-hover-text: #ffffff;

    --blog-category-active-bg: #ffffff;

    --blog-category-active-text: #080d18;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"] .blog-categories {

    --blog-category-bg: rgba(255, 255, 255, 0.97);

    --blog-category-border: rgba(15, 23, 42, 0.08);

    --blog-category-heading: #0f172a;

    --blog-category-muted: #64748b;

    --blog-category-link: #475569;

    --blog-category-hover-bg: rgba(15, 23, 42, 0.06);

    --blog-category-hover-text: #0f172a;

    --blog-category-active-bg: #0f172a;

    --blog-category-active-text: #ffffff;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.07);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.blog-categories .blog-container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   INNER
   ========================================================= */

.blog-category-inner {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   HEADING
   ========================================================= */

.blog-category-heading {

    display: flex;

    align-items: baseline;

    gap: 8px;

    flex-shrink: 0;
}


.blog-category-heading span {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.14em;

    color: var(--blog-category-muted);
}


.blog-category-heading strong {

    font-size: 18px;

    font-weight: 700;

    letter-spacing: -0.02em;

    color: var(--blog-category-heading);
}


/* =========================================================
   CATEGORY LINKS
   ========================================================= */

.blog-category-links {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 7px;

    flex-wrap: wrap;
}


/* =========================================================
   CATEGORY LINK
   ========================================================= */

.blog-category-links a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 38px;

    padding: 8px 15px;

    border-radius: 999px;

    color: var(--blog-category-link);

    background: transparent;

    border: 1px solid transparent;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.blog-category-links a:hover {

    color: var(--blog-category-hover-text);

    background: var(--blog-category-hover-bg);

    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE
   ========================================================= */

.blog-category-links a.active {

    color: var(--blog-category-active-text);

    background: var(--blog-category-active-bg);

    border-color: var(--blog-category-active-bg);
}


/* =========================================================
   ACTIVE HOVER
   ========================================================= */

.blog-category-links a.active:hover {

    transform: translateY(-1px);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .blog-category-inner {

        min-height: 70px;

        gap: 20px;

    }


    .blog-category-links {

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

    }


    .blog-category-links::-webkit-scrollbar {

        display: none;

    }


    .blog-category-links a {

        flex-shrink: 0;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .blog-categories {

        top: 0;

    }


    .blog-categories .blog-container {

        padding-left: 15px;

        padding-right: 15px;

    }


    .blog-category-inner {

        min-height: auto;

        padding: 12px 0;

        display: block;

    }


    .blog-category-heading {

        margin-bottom: 10px;

    }


    .blog-category-heading span {

        font-size: 10px;

    }


    .blog-category-heading strong {

        font-size: 16px;

    }


    .blog-category-links {

        width: 100%;

        display: flex;

        overflow-x: auto;

        flex-wrap: nowrap;

        gap: 7px;

        padding-bottom: 2px;

        scrollbar-width: none;

    }


    .blog-category-links::-webkit-scrollbar {

        display: none;

    }


    .blog-category-links a {

        min-height: 34px;

        padding: 7px 13px;

        font-size: 12px;

        flex-shrink: 0;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .blog-category-heading {

        padding-left: 2px;

    }


    .blog-category-links a {

        font-size: 11px;

        padding: 6px 12px;

    }

}







