/* =====================================================
   BLOG HERO
===================================================== */

.blog-hero {
    min-height: 570px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    padding:
        130px 0 80px;

    color: #fff;

    background:
        linear-gradient(135deg,
            rgba(6, 23, 37, .68),
            rgba(11, 48, 69, .38)),
            url("../img/5.jpg") center / cover no-repeat;
}


.blog-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at 50% 45%,
            rgba(8, 164, 239, .15),
            transparent 34%);
}


.blog-hero-glow {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .07);
}


.blog-glow-one {
    width: 500px;
    height: 500px;

    right: -220px;
    top: -220px;
}


.blog-glow-two {
    width: 280px;
    height: 280px;

    left: -150px;
    bottom: -170px;
}


.blog-hero .container {
    z-index: 2;
}


.blog-hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        8px 14px;

    border-radius: 50px;

    color: var(--primary);

    background:
        rgba(8, 164, 239, .08);

    border:
        1px solid rgba(8, 164, 239, .2);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.blog-hero h1 {
    font-family:
        var(--heading-font,
            "Outfit",
            sans-serif);

    font-size:
        clamp(42px, 6vw, 70px);

    line-height: 1.05;

    margin:
        24px 0 18px;
}


.blog-hero h1 span {
    display: block;

    color: var(--primary);
}


.blog-hero p {
    max-width: 720px;

    margin:
        0 auto;

    color:
        rgba(255, 255, 255, .58);

    font-size: 13px;

    line-height: 1.85;
}


/* =====================================================
   SEARCH
===================================================== */

.blog-search-wrap {
    position: relative;

    max-width: 650px;

    margin:
        35px auto 0;
}


.blog-search-wrap>i {
    position: absolute;

    left: 20px;
    top: 50%;

    transform:
        translateY(-50%);

    color: var(--primary);

    font-size: 16px;
}


.blog-search-wrap input {
    width: 100%;

    height: 58px;

    padding:
        0 55px;

    outline: none;

    border:
        1px solid rgba(255, 255, 255, .12);

    border-radius: 14px;

    color: #fff;

    background:
        rgba(255, 255, 255, .07);

    backdrop-filter:
        blur(15px);

    font-size: 11px;

    transition: .3s ease;
}


.blog-search-wrap input::placeholder {
    color:
        rgba(255, 255, 255, .35);
}


.blog-search-wrap input:focus {
    border-color:
        rgba(8, 164, 239, .5);

    background:
        rgba(255, 255, 255, .09);

    box-shadow:
        0 0 0 4px rgba(8, 164, 239, .07);
}


.blog-search-wrap button {
    position: absolute;

    right: 15px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 8px;

    color:
        rgba(255, 255, 255, .5);

    background:
        rgba(255, 255, 255, .06);

    opacity: 0;

    pointer-events: none;

    transition: .3s ease;
}


.blog-search-wrap.has-value button {
    opacity: 1;

    pointer-events: auto;
}


/* =====================================================
   BLOG SECTION
===================================================== */

.blog-section {
    padding:
        100px 0;

    background: #f7fbfd;
}


.blog-result-info {
    max-width: 420px;

    margin:
        0 0 0 auto;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.8;
}


/* =====================================================
   FILTER
===================================================== */

.blog-toolbar {
    margin:
        25px 0 35px;

    padding:
        10px;

    border:
        1px solid #e1ebef;

    border-radius: 14px;

    background: #fff;
}


.blog-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.blog-filter {
    padding:
        9px 15px;

    border: 0;

    border-radius: 8px;

    color: var(--muted);

    background: transparent;

    font-family:
        "Inter",
        sans-serif;

    font-size: 10px;

    font-weight: 600;

    transition: .3s ease;
}


.blog-filter:hover {
    color: var(--primary);

    background:
        rgba(8, 164, 239, .06);
}


.blog-filter.active {
    color: #fff;

    background:
        var(--primary);

    box-shadow:
        0 7px 18px rgba(8, 164, 239, .16);
}


/* =====================================================
   BLOG CARD
===================================================== */

.blog-card {
    display: block;

    height: 100%;

    overflow: hidden;

    color: inherit;

    text-decoration: none;

    border:
        1px solid #e1ebef;

    border-radius: 19px;

    background: #fff;

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;
}


.blog-card:hover {
    color: inherit;

    transform:
        translateY(-8px);

    border-color:
        rgba(8, 164, 239, .22);

    box-shadow:
        0 22px 50px rgba(7, 24, 39, .09);
}


.blog-card-image {
    height: 215px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #dcecf2,
            #eef7fa);
}


.blog-card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 50%,
            rgba(0, 0, 0, .3));

    pointer-events: none;
}


.blog-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2, .8, .2, 1);
}


.blog-card:hover .blog-card-image img {
    transform:
        scale(1.07);
}


.blog-card-number {
    position: absolute;

    z-index: 2;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color: #fff;

    background:
        rgba(7, 24, 39, .75);

    backdrop-filter:
        blur(8px);

    font-family:
        "Outfit",
        sans-serif;

    font-size: 10px;

    font-weight: 700;
}


.blog-card-content {
    padding:
        24px;
}


.blog-card-category {
    color: var(--primary);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.2px;
}


.blog-card-content h2 {
    color: var(--dark);

    font-family:
        var(--heading-font,
            "Outfit",
            sans-serif);

    font-size: 19px;

    line-height: 1.35;

    margin:
        9px 0 10px;

    transition: .3s ease;
}


.blog-card:hover .blog-card-content h2 {
    color: var(--primary);
}


.blog-card-content p {
    min-height: 45px;

    margin: 0;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.75;
}


.blog-read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 19px;

    color: var(--dark);

    font-size: 9px;

    font-weight: 700;

    transition: .3s ease;
}


.blog-read-more i {
    color: var(--primary);

    transition: .3s ease;
}


.blog-card:hover .blog-read-more {
    color: var(--primary);
}


.blog-card:hover .blog-read-more i {
    transform:
        translate(3px, -3px);
}


/* =====================================================
   NO RESULT
===================================================== */

.blog-no-result {
    display: none;

    padding:
        70px 20px;

    text-align: center;
}


.blog-no-result.show {
    display: block;
}


.blog-no-result>div {
    width: 60px;
    height: 60px;

    display: grid;

    place-items: center;

    margin:
        0 auto 15px;

    border-radius: 50%;

    color: var(--primary);

    background:
        rgba(8, 164, 239, .08);

    font-size: 20px;
}


.blog-no-result h3 {
    color: var(--dark);

    font-family:
        "Outfit",
        sans-serif;

    font-size: 21px;
}


.blog-no-result p {
    color: var(--muted);

    font-size: 11px;
}


/* =====================================================
   CTA
===================================================== */

.blog-cta {
    padding:
        0 0 100px;

    background: #f7fbfd;
}


.blog-cta-inner {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding:
        50px;

    border-radius: 25px;

    color: #fff;

    background:
        linear-gradient(135deg,
            #071827,
            #0b3045);
}


.blog-cta-inner::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .07);
}


.blog-cta-inner>div {
    position: relative;

    z-index: 2;
}


.blog-cta-inner span {
    color: var(--primary);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.blog-cta-inner h2 {
    max-width: 600px;

    margin:
        10px 0;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(25px, 3vw, 36px);
}


.blog-cta-inner p {
    margin: 0;

    color:
        rgba(255, 255, 255, .52);

    font-size: 11px;
}


.blog-cta-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.blog-cta-primary,
.blog-cta-outline {
    padding:
        12px 17px;

    border-radius: 9px;

    font-size: 10px;

    font-weight: 600;
}


.blog-cta-primary {
    color: #fff;

    background:
        var(--primary);
}


.blog-cta-primary:hover {
    color: #fff;

    transform:
        translateY(-2px);
}


.blog-cta-outline {
    color: #fff;

    border:
        1px solid rgba(255, 255, 255, .15);
}


.blog-cta-outline:hover {
    color: #fff;

    border-color:
        var(--primary);
}


/* =====================================================
   ARTICLE PAGE
===================================================== */

.blog-article-hero[hidden],
.blog-article-section[hidden],
.blog-section[hidden],
.blog-cta[hidden],
body > .blog-hero[hidden] {
    display: none !important;
}

.blog-article-hero {
    min-height: 445px;
    padding: 150px 0 75px;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(6, 23, 37, .88), rgba(11, 48, 69, .56)),
        url("../img/16.jpg") center / cover no-repeat;
}

.blog-article-hero .container {
    max-width: 960px;
}

.blog-article-back {
    position: absolute;
    top: -55px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.blog-article-back:hover {
    color: #fff;
}

.blog-article-hero h1 {
    max-width: 900px;
    margin: 22px auto 16px;
}

.blog-article-hero p {
    max-width: 720px;
}

.blog-article-section {
    padding: 85px 0 95px;
    background: #f7fbfd;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 55px;
}

.blog-article-main {
    min-width: 0;
    color: var(--dark);
}

.blog-article-image {
    overflow: hidden;
    margin: 0 0 38px;
    aspect-ratio: 16 / 8.5;
    background: #e4eef2;
}

.blog-article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-copy,
.blog-article-faq {
    margin-top: 34px;
}

.blog-content-heading {
    margin: 0 0 12px;
    color: var(--dark);
    font-family: var(--heading-font, "Outfit", sans-serif);
    font-size: 23px;
    line-height: 1.3;
}

.blog-article-copy p,
.blog-faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.blog-article-aside {
    position: sticky;
    top: 110px;
    padding-left: 26px;
    border-left: 1px solid #dce8ed;
}

.blog-article-aside-block + .blog-article-aside-block {
    margin-top: 34px;
}

.blog-article-aside .blog-content-heading {
    font-size: 18px;
}

.blog-highlight-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.blog-highlight-list i {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 15px;
}

.blog-related-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #dce8ed;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.blog-related-link:hover {
    color: var(--primary);
}

.blog-related-link i {
    flex: 0 0 auto;
    color: var(--primary);
}

.blog-faq-item {
    border-top: 1px solid #dce8ed;
}

.blog-faq-item:last-child {
    border-bottom: 1px solid #dce8ed;
}

.blog-faq-item summary {
    padding: 16px 0;
    color: var(--dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.blog-faq-item p {
    padding: 0 0 17px;
    font-size: 13px;
}

.blog-article-cta {
    margin-top: 65px;
}

.blog-article-cta .blog-cta-inner {
    border-radius: 12px;
}

.blog-article-error {
    color: var(--muted);
    font-size: 15px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .blog-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .blog-article-aside {
        position: static;
        padding: 30px 0 0;
        border-top: 1px solid #dce8ed;
        border-left: 0;
    }

    .blog-result-info {
        margin-top: 15px;
        margin-left: 0;
    }

    .blog-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 767px) {

    .blog-article-hero {
        min-height: 430px;
    }

    .blog-article-back {
        top: -48px;
    }

    .blog-article-section {
        padding: 65px 0 75px;
    }

    .blog-article-image {
        margin-bottom: 28px;
        aspect-ratio: 4 / 3;
    }

    .blog-hero {
        min-height: 520px;

        padding:
            120px 0 70px;
    }

    .blog-hero h1 {
        font-size: 42px;
    }

    .blog-section {
        padding:
            75px 0;
    }

    .blog-toolbar {
        overflow-x: auto;
    }

    .blog-filters {
        flex-wrap: nowrap;

        min-width: max-content;
    }

    .blog-cta {
        padding-bottom: 75px;
    }

    .blog-cta-inner {
        padding: 35px 25px;
    }

}


@media (max-width: 575px) {

    .blog-article-hero {
        min-height: 410px;
        padding-bottom: 60px;
    }

    .blog-article-hero h1 {
        font-size: 36px;
    }

    .blog-content-heading {
        font-size: 21px;
    }

    .blog-article-cta .blog-cta-inner {
        padding: 30px 22px;
    }

    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        font-size: 12px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .blog-cta-buttons .btn {
        width: 100%;
    }

}