
/* =========================================================
   VIRTUALFLEX BLOG
   ========================================================= */

.blog-page {
    background: #f4fafc;
    color: #29485d;
}

.blog-container {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

.blog-hero,
.blog-detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 42%, rgba(25,181,230,.18), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(11,95,138,.18), transparent 34%),
        linear-gradient(135deg, #041c2c 0%, #06283d 55%, #082d46 100%);
    border-bottom: 1px solid rgba(142,220,242,.12);
}

.blog-hero::before,
.blog-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(142,220,242,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142,220,242,.04) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: .4;
    mask-image: linear-gradient(to right, black, transparent 88%);
}

.blog-hero {
    padding: 105px 0 75px;
}

.blog-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #8edcf2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.blog-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #19b5e6;
}

.blog-breadcrumb {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    color: #86a5b8;
    font-size: 12px;
}

.blog-breadcrumb span {
    margin: 0 9px;
    color: #19b5e6;
}

.blog-breadcrumb a {
    color: #a8c0ce;
    text-decoration: none;
}

.blog-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
}

.blog-hero h1 {
    max-width: 760px;
    margin: 25px 0 0;
    font-size: clamp(54px, 6vw, 84px);
    line-height: .96;
    letter-spacing: -.055em;
}

.blog-hero h1 em {
    color: #19b5e6;
    font-style: normal;
}

.blog-hero-grid > div:first-child p {
    max-width: 680px;
    margin: 28px 0 0;
    color: #c9dce7;
    font-size: 18px;
    line-height: 1.7;
}

.blog-hero-orbit {
    position: relative;
    width: 410px;
    height: 410px;
    margin: 0 auto;
    border: 1px solid rgba(142,220,242,.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(25,181,230,.02),
        0 0 0 90px rgba(25,181,230,.015);
}

.blog-hero-orbit::before {
    content: "";
    position: absolute;
    inset: 70px;
    border: 1px dashed rgba(25,181,230,.25);
    border-radius: 50%;
}

.blog-hero-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 135px;
    height: 135px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #06263a;
    border: 1px solid rgba(142,220,242,.3);
    color: #19b5e6;
    font-weight: 900;
    box-shadow: 0 0 0 16px rgba(25,181,230,.035);
}

.blog-hero-orbit__node {
    position: absolute;
    padding: 10px 15px;
    border-radius: 9px;
    background: #fff;
    color: #082d46;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

.blog-hero-orbit__node--one { top: 30px; left: 50%; transform: translateX(-50%); }
.blog-hero-orbit__node--two { right: 4px; top: 50%; transform: translateY(-50%); }
.blog-hero-orbit__node--three { bottom: 30px; left: 50%; transform: translateX(-50%); }

.blog-list-section {
    padding: 90px 0 110px;
}

.blog-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
}

.blog-section-heading span {
    color: #0b5f8a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.blog-section-heading h2 {
    margin: 10px 0 0;
    color: #082d46;
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.04em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #d9e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(4,28,44,.045);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(4,28,44,.10);
}

.blog-card__image {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden;
    background: #082d46;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(25,181,230,.25), transparent 55%),
        #041c2c;
}

.blog-card__placeholder span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #19b5e6;
    color: #041c2c;
    font-size: 20px;
    font-weight: 900;
}

.blog-card__featured {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #19b5e6;
    color: #041c2c;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-card__body {
    padding: 25px;
}

.blog-card__meta,
.blog-detail-meta {
    display: flex;
    gap: 14px;
    color: #7a8d9b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.blog-card h3 {
    margin: 12px 0 0;
    font-size: 22px;
    line-height: 1.16;
}

.blog-card h3 a {
    color: #082d46;
    text-decoration: none;
}

.blog-card p {
    margin: 12px 0 0;
    color: #617789;
    font-size: 14px;
    line-height: 1.6;
}

.blog-card__read {
    display: inline-flex;
    gap: 12px;
    margin-top: 20px;
    color: #0b5f8a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.blog-card__read span {
    transition: transform .2s ease;
}

.blog-card:hover .blog-card__read span {
    transform: translateX(3px);
}

.blog-pagination {
    margin-top: 45px;
}

.blog-pagination nav {
    display: flex;
    justify-content: center;
}

.blog-pagination svg {
    width: 16px;
    height: 16px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    border: 1px solid #d9e8ef;
    border-radius: 8px;
    background: #fff;
    color: #29485d;
    font-size: 12px;
    text-decoration: none;
}

.blog-pagination span[aria-current="page"] span {
    border-color: #19b5e6;
    background: #19b5e6;
    color: #041c2c;
}

.blog-empty {
    padding: 80px 20px;
    text-align: center;
    border: 1px dashed #cbdfe8;
    border-radius: 20px;
}

.blog-empty > span {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 14px;
    background: #082d46;
    color: #19b5e6;
    font-weight: 900;
}

.blog-empty h3 {
    margin: 20px 0 0;
    color: #082d46;
}

.blog-empty p {
    color: #617789;
}


/* Detail */

.blog-detail-hero {
    padding: 105px 0 70px;
}

.blog-detail-hero .blog-breadcrumb {
    margin-top: 0;
}

.blog-detail-hero__grid {
    position: relative;
    z-index: 2;
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 60px;
}

.blog-detail-hero h1 {
    max-width: 780px;
    margin: 20px 0 0;
    color: #fff;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -.045em;
}

.blog-detail-meta {
    margin-top: 22px;
    color: #8edcf2;
}

.blog-detail-hero__grid > div:first-child > p {
    max-width: 700px;
    margin-top: 25px;
    color: #c9dce7;
    font-size: 17px;
    line-height: 1.65;
}

.blog-detail-hero__media {
    min-height: 350px;
    overflow: hidden;
    border: 1px solid rgba(142,220,242,.2);
    border-radius: 20px;
    background: #082d46;
    box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.blog-detail-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: block;
    object-fit: cover;
}

.blog-detail-hero__placeholder {
    min-height: 350px;
    display: grid;
    place-items: center;
    color: #19b5e6;
    font-size: 60px;
    font-weight: 900;
    background: radial-gradient(circle, #0b5f8a, #041c2c 70%);
}

.blog-detail-content {
    padding: 85px 0 110px;
    background: #fff;
}

.blog-detail-layout {
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 75px;
    align-items: start;
}

.blog-article {
    color: #405e72;
    font-size: 17px;
    line-height: 1.8;
}

.blog-article h2 {
    margin: 45px 0 15px;
    color: #082d46;
    font-size: 32px;
    line-height: 1.15;
}

.blog-article h3 {
    margin: 32px 0 12px;
    color: #082d46;
    font-size: 24px;
}

.blog-article p {
    margin: 0 0 20px;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.blog-article a {
    color: #0b5f8a;
}

.blog-article blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 3px solid #19b5e6;
    background: #f4fafc;
    color: #29485d;
}

.blog-related {
    position: sticky;
    top: 30px;
    padding: 25px;
    border: 1px solid #d9e8ef;
    border-radius: 16px;
    background: #f4fafc;
}

.blog-related > span {
    color: #0b5f8a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.blog-related h2 {
    margin: 10px 0 20px;
    color: #082d46;
    font-size: 27px;
    line-height: 1.05;
}

.blog-related__item {
    display: block;
    padding: 16px 0;
    border-top: 1px solid #d9e8ef;
    color: #29485d;
    text-decoration: none;
}

.blog-related__item strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
}

.blog-related__item small {
    display: block;
    margin-top: 6px;
    color: #7a8d9b;
    font-size: 9px;
}


/* responsive */

@media (max-width: 1050px) {
    .blog-hero-grid,
    .blog-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-orbit {
        margin-top: 20px;
    }

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

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-related {
        position: static;
    }
}

@media (max-width: 700px) {
    .blog-container {
        width: min(100% - 36px, 1320px);
    }

    .blog-hero,
    .blog-detail-hero {
        padding-top: 105px;
    }

    .blog-hero h1 {
        font-size: 48px;
    }

    .blog-hero-orbit {
        width: 300px;
        height: 300px;
    }

    .blog-hero-orbit::before {
        inset: 52px;
    }

    .blog-hero-orbit__core {
        width: 105px;
        height: 105px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-hero__media {
        min-height: 260px;
    }

    .blog-detail-hero__media img,
    .blog-detail-hero__placeholder {
        min-height: 260px;
    }

    .blog-detail-layout {
        width: min(100% - 36px, 1160px);
    }
}

@media (max-width: 480px) {
    .blog-container {
        width: min(100% - 28px, 1320px);
    }

    .blog-hero h1 {
        font-size: 42px;
    }

    .blog-detail-hero h1 {
        font-size: 40px;
    }
}

.contact-form-success {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #c8ead8;
    border-radius: 9px;
    background: #eaf8f1;
    color: #17663d;
    font-size: 12px;
    line-height: 1.5;
}
