:root {
    --blog-navy: #061f3b;
    --blog-blue: #0c4f8d;
    --blog-sky: #eaf6ff;
    --blog-line: rgba(109, 176, 232, .36);
    --blog-orange: #ff7a1a;
    --blog-muted: #59728e;
    --blog-card: #ffffff;
}

.blog-page {
    color: var(--blog-navy);
    background:
        linear-gradient(rgba(108, 178, 233, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 178, 233, .14) 1px, transparent 1px),
        #f7fbff;
    background-size: 80px 80px;
    overflow: hidden;
}

.blog-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-hero {
    position: relative;
    padding: 92px 0 78px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 122, 26, .24), transparent 34%),
        radial-gradient(circle at 20% 84%, rgba(69, 168, 255, .24), transparent 35%),
        linear-gradient(135deg, #051b34 0%, #0a3a70 55%, #0d5b99 100%);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(181, 222, 255, .11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(181, 222, 255, .11) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.blog-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
    gap: 58px;
    align-items: center;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blog-blue);
    font-weight: 800;
    letter-spacing: 0;
}

.blog-hero .blog-eyebrow,
.blog-cta-card .blog-eyebrow {
    color: #cfeaff;
}

.blog-eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--blog-orange);
}

.blog-hero h1,
.blog-section h2,
.blog-cta-card h2 {
    margin: 18px 0 0;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.blog-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 5.2vw, 76px);
    color: #ffffff;
    text-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

.blog-hero-copy p {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(224, 243, 255, .94);
    font-size: 19px;
    line-height: 1.8;
}

.blog-hero-actions,
.blog-cta-card {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-hero-actions {
    margin-top: 34px;
}

.blog-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 24px;
    border: 1px solid rgba(255, 122, 26, .42);
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.blog-btn-primary {
    background: linear-gradient(135deg, #ff7617, #ff962f);
    color: #fff;
    box-shadow: 0 18px 36px rgba(255, 122, 26, .26);
}

.blog-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .32);
}

.blog-hero-visual {
    position: relative;
}

.blog-hero-robot {
    display: flex;
    min-height: 520px;
    align-items: center;
    justify-content: center;
}

.blog-hero-robot::before {
    position: absolute;
    inset: 5% 0 0 10%;
    content: "";
    border-radius: 38px;
    background:
        radial-gradient(circle at 24% 14%, rgba(255, 122, 26, .18), transparent 30%),
        radial-gradient(circle at 74% 76%, rgba(67, 166, 255, .24), transparent 38%),
        rgba(255, 255, 255, .08);
    border: 1px solid rgba(205, 233, 255, .3);
    box-shadow: 0 34px 84px rgba(0, 0, 0, .2);
}

.blog-robot-card {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    overflow: hidden;
    border: 1px solid rgba(205, 233, 255, .42);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .25);
    backdrop-filter: blur(14px);
}

.blog-robot-frame {
    position: relative;
    margin: 18px 18px 0;
    overflow: hidden;
    border-radius: 26px;
    background: #dcefff;
    aspect-ratio: 4 / 5;
}

.blog-robot-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 42%),
        radial-gradient(circle at 50% 88%, rgba(6, 41, 79, .18), transparent 42%);
}

.blog-robot-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-robot-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px 20px;
    color: #fff;
}

.blog-robot-caption span {
    color: #ffb270;
    font-weight: 900;
}

.blog-robot-caption strong {
    font-size: 15px;
    line-height: 1.4;
}

.blog-section {
    padding: 78px 0;
}

.blog-section-head {
    max-width: 800px;
    margin-bottom: 30px;
}

.blog-section-head-row {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
}

.blog-section h2,
.blog-cta-card h2 {
    font-size: clamp(32px, 4vw, 54px);
}

.blog-section-head p {
    max-width: 420px;
    color: var(--blog-muted);
    line-height: 1.7;
}

.blog-type-grid,
.blog-recommend-grid,
.blog-post-grid,
.blog-topic-grid {
    display: grid;
    gap: 22px;
}

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

.blog-type-card,
.blog-post-card,
.blog-topic-card,
.blog-video-card,
.blog-workflow-step {
    border: 1px solid var(--blog-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 20px 54px rgba(20, 82, 139, .08);
}

.blog-type-card {
    padding: 34px;
}

.blog-type-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    background: var(--blog-blue);
    font-weight: 900;
}

.blog-type-card-video .blog-type-icon {
    background: var(--blog-orange);
}

.blog-type-card h3 {
    margin: 22px 0 12px;
    font-size: 30px;
}

.blog-type-card p,
.blog-topic-card p,
.blog-workflow-step p,
.blog-card-body p,
.blog-video-body p {
    color: var(--blog-muted);
    line-height: 1.7;
}

.blog-fit-tags,
.blog-card-tags,
.blog-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-fit-tags span,
.blog-card-tags span,
.blog-filter-chip {
    border-radius: 999px;
    padding: 8px 13px;
    background: #fff;
    border: 1px solid var(--blog-line);
    color: var(--blog-blue);
    font-weight: 800;
    font-size: 14px;
}

.blog-filter-section {
    padding: 36px 0;
    background: rgba(255, 255, 255, .66);
    border-block: 1px solid rgba(109, 176, 232, .22);
}

.blog-filter-section h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.blog-filter-chip {
    cursor: pointer;
}

.blog-filter-chip.is-active {
    color: #fff;
    border-color: var(--blog-orange);
    background: var(--blog-orange);
}

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

.blog-post-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 66px rgba(20, 82, 139, .14);
}

.blog-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--blog-sky);
}

.blog-card-image img,
.blog-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: #718aa4;
    font-size: 13px;
    font-weight: 750;
}

.blog-type-badge {
    color: #fff;
    background: var(--blog-orange);
    border-radius: 999px;
    padding: 5px 10px;
}

.blog-card-body h3,
.blog-video-body h3 {
    margin: 15px 0 10px;
    font-size: 23px;
    line-height: 1.32;
}

.blog-card-body h3 a,
.blog-read-link {
    color: var(--blog-navy);
    text-decoration: none;
}

.blog-card-author {
    margin-top: 14px;
    color: #6c8299;
    font-size: 14px;
}

.blog-read-link {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 900;
}

.blog-play-mark {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--blog-orange);
    box-shadow: 0 14px 28px rgba(255, 122, 26, .32);
}

.blog-play-mark::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 16px;
    border-left: 17px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.blog-duration {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(6, 31, 59, .78);
    color: #fff;
    font-weight: 900;
}

.blog-video-section {
    background: linear-gradient(180deg, rgba(231, 244, 255, .8), rgba(255, 255, 255, .28));
}

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

.blog-video-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    overflow: hidden;
}

.blog-video-cover {
    position: relative;
    display: block;
    min-height: 260px;
    background: var(--blog-navy);
}

.blog-video-body {
    padding: 26px;
}

.blog-video-body ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.blog-video-body li {
    color: var(--blog-navy);
    font-weight: 800;
}

.blog-video-body li::before {
    content: "•";
    color: var(--blog-orange);
    margin-right: 8px;
}

.blog-workflow-section {
    background: #06294f;
    color: #fff;
}

.blog-workflow-section h2,
.blog-workflow-section .blog-workflow-step h3,
.blog-cta-card h2 {
    color: #fff;
}

.blog-workflow-section .blog-eyebrow,
.blog-workflow-section .blog-workflow-step p {
    color: #d7ecff;
}

.blog-workflow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.blog-workflow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 18%;
    top: 42px;
    height: 2px;
    background: linear-gradient(90deg, var(--blog-orange), #7ec8ff);
    opacity: .6;
}

.blog-workflow-step {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(190, 226, 255, .24);
    backdrop-filter: blur(10px);
}

.blog-workflow-step span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blog-orange);
    font-weight: 900;
}

.blog-workflow-step h3 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.blog-workflow img {
    position: absolute;
    right: -12px;
    bottom: -86px;
    width: 170px;
    opacity: .78;
    pointer-events: none;
}

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

.blog-topic-card {
    padding: 26px;
}

.blog-topic-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.blog-cta-section {
    padding: 80px 0 94px;
}

.blog-cta-card {
    justify-content: space-between;
    padding: 42px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #06294f, #0e578f);
    box-shadow: 0 28px 80px rgba(6, 41, 79, .24);
}

.blog-cta-card div {
    max-width: 760px;
}

.blog-cta-card p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.7;
}

.blog-empty {
    display: none !important;
}

@media (max-width: 980px) {
    .blog-hero-grid,
    .blog-type-grid,
    .blog-recommend-grid,
    .blog-post-grid,
    .blog-video-grid,
    .blog-topic-grid,
    .blog-workflow {
        grid-template-columns: 1fr;
    }

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

    .blog-section-head-row {
        display: block;
    }

    .blog-workflow::before,
    .blog-workflow img {
        display: none;
    }
}

@media (max-width: 640px) {
    .blog-shell {
        width: min(100% - 28px, 1180px);
    }

    .blog-hero {
        padding: 64px 0 52px;
    }

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

    .blog-hero-copy p {
        font-size: 16px;
    }

    .blog-hero-robot {
        min-height: 430px;
    }

    .blog-hero-robot::before {
        inset: 8% 6% 0;
    }

    .blog-robot-card {
        width: min(100%, 340px);
    }

    .blog-robot-frame {
        margin: 14px 14px 0;
        border-radius: 22px;
    }

    .blog-robot-caption {
        display: block;
        padding: 14px 16px 18px;
    }

    .blog-robot-caption strong {
        display: block;
        margin-top: 5px;
    }

    .blog-section {
        padding: 54px 0;
    }

    .blog-section h2,
    .blog-cta-card h2 {
        font-size: 32px;
    }

    .blog-filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .blog-filter-chip {
        flex: 0 0 auto;
    }

    .blog-type-card,
    .blog-cta-card {
        padding: 24px;
    }

    .blog-btn {
        width: 100%;
    }
}
