.blog-body {
    background: #fff;
    color: #111827;
    animation: none;
}

.blog-page {
    width: min(1780px, calc(100% - 64px));
    margin: 0 auto;
    padding: 118px 0 72px;
}

.blog-hero {
    margin: 0 0 42px;
}

.blog-hero-copy {
    max-width: 960px;
}

.blog-hero h1,
.blog-article h1,
.blog-empty h1 {
    margin: 0;
    color: #111827;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.blog-hero h1 {
    max-width: 900px;
    font-size: clamp(24px, 3.2vw, 52px);
}

.blog-hero p {
    max-width: 780px;
    margin: 22px 0 0;
    color: #4b5563;
    font-size: 21px;
    line-height: 1.55;
}

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

.blog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.62 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 900;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.025);
}

.blog-card-image > span:not(.blog-card-badge) {
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 14px;
    padding: 10px 14px;
}

.blog-card-badge {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 16px;
    background: rgba(255,255,255,.92);
    color: #374151;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(17,24,39,.14);
}

.blog-card-body {
    padding: 22px 0 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.blog-card h2 {
    margin: 0;
    color: #111827;
    font-family: Arial, sans-serif;
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.blog-card h2 a {
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #5b4ee8;
}

.blog-card p {
    margin: 28px 0 0;
    color: #374151;
    font-size: 23px;
    line-height: 1.45;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1;
}

.blog-author-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc84d;
    color: #5b4ee8;
    font-weight: 900;
    flex-shrink: 0;
}

.blog-author {
    color: #111827;
    font-weight: 900;
}

.blog-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6b7280;
    flex-shrink: 0;
}

.blog-date {
    color: #6b7280;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-back,
.blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    border: 1px solid #d8d4ff;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: #5b4ee8;
    text-decoration: none;
    font-weight: 900;
}

.blog-article {
    max-width: 1060px;
    margin: 0 auto 64px;
}

.blog-article-head {
    max-width: 900px;
    margin: 0 auto 28px;
}

.blog-article h1 {
    font-size: clamp(36px, 5vw, 70px);
    margin-top: 18px;
}

.blog-lead {
    margin: 24px 0 0;
    color: #374151;
    font-size: 23px;
    line-height: 1.5;
}

.blog-cover {
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
}

.blog-cover img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
}

.blog-content {
    max-width: 900px;
    margin: 0 auto;
    color: #111827;
    font-size: 19px;
    line-height: 1.75;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin: 38px 0 14px;
    color: #111827;
    font-family: Arial, sans-serif;
    font-weight: 900;
    line-height: 1.18;
}

.blog-content h2 { font-size: 34px; }
.blog-content h3 { font-size: 27px; }

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote,
.blog-content table {
    margin: 0 0 20px;
}

.blog-content a {
    color: #5b4ee8;
    font-weight: 800;
}

.blog-content blockquote {
    border-left: 4px solid #5b4ee8;
    padding: 12px 0 12px 18px;
    color: #3c3489;
    background: #f8f7fe;
}

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

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: auto;
}

.blog-content th,
.blog-content td {
    border: 1px solid #e5e3f5;
    padding: 10px;
    text-align: left;
}

.blog-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #4b5563;
}

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

.blog-empty p {
    font-size: 19px;
    line-height: 1.6;
}

.updates-page {
    max-width: 1120px;
}

.updates-hero {
    padding-bottom: 18px;
}

.updates-timeline {
    display: grid;
    gap: 18px;
}

.update-card {
    position: relative;
    overflow: hidden;
    border: 1.5px solid #cecbf6;
    border-radius: 20px;
    background: linear-gradient(135deg, #eeedfe, #fff 58%);
    padding: 24px 28px;
}

.update-card::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 68px;
    bottom: 22px;
    width: 2px;
    border-radius: 999px;
    background: #cecbf6;
}

.update-date {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #5b4ee8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.update-date::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #5b4ee8;
    box-shadow: 0 0 0 1px #cecbf6;
}

.update-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.update-image {
    overflow: hidden;
    border: 1px solid #e5e3f5;
    border-radius: 16px;
    background: #fff;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a99b5;
    font-weight: 900;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.update-image-button {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
}

.update-image-button:focus-visible {
    outline: 3px solid rgba(91, 78, 232, .38);
    outline-offset: -3px;
}

.update-text {
    color: #1a1730;
    font-size: 16px;
    line-height: 1.75;
}

.update-text > :first-child {
    margin-top: 0;
}

.update-text > :last-child {
    margin-bottom: 0;
}

.update-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 54px 18px;
    background: rgba(15, 23, 42, .88);
}

.update-photo-modal.is-open {
    display: flex;
}

.update-photo-modal img {
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.update-photo-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

body.update-photo-modal-open {
    overflow: hidden;
}

@media(max-width: 1180px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 900px) {
    .blog-page {
        width: min(100% - 28px, 1780px);
        padding-top: 92px;
    }
}

@media(max-width: 760px) {
    .blog-grid {
        grid-template-columns: 1fr;
        row-gap: 38px;
    }

    .blog-card h2 {
        font-size: 26px;
    }

    .blog-card p {
        margin-top: 18px;
        font-size: 18px;
    }

    .blog-card-meta {
        margin-top: 24px;
        font-size: 15px;
    }

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

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

    .update-card {
        padding: 20px;
    }

    .update-card::before {
        display: none;
    }

    .update-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
