.blog-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-hero {
    position: relative;
    padding: 92px 0 60px;
    background: linear-gradient(160deg, #f6f8fc 0%, #eaf0f9 100%);
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.16), transparent 70%);
    pointer-events: none;
}

.blog-hero-breadcrumb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 22px;
    color: #94a3b8;
}

.blog-hero-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}

.blog-hero-breadcrumb a:hover {
    color: #1565C0;
}

.blog-hero-breadcrumb i {
    font-size: 9px;
    opacity: 0.6;
}

.blog-hero-inner {
    position: relative;
    max-width: 720px;
}

.blog-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.blog-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #1a202c;
}

.blog-hero p {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
    max-width: 600px;
}

[data-theme="dark"] .blog-hero {
    background: linear-gradient(160deg, #181c26 0%, #1f2430 100%);
}

[data-theme="dark"] .blog-hero-breadcrumb {
    color: #8b93a5;
}

[data-theme="dark"] .blog-hero-breadcrumb a {
    color: #a2acc0;
}

[data-theme="dark"] .blog-hero-breadcrumb a:hover {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-hero-eyebrow {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .blog-hero h1 {
    color: #e6eaf2;
}

[data-theme="dark"] .blog-hero p {
    color: #a2acc0;
}

@media (max-width: 768px) {
    .blog-wrap {
        padding: 0 20px;
    }

    .blog-hero {
        padding: 72px 0 48px;
    }

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

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

.blog-detail-hero {
    position: relative;
    padding: 80px 0 44px;
    background: linear-gradient(160deg, #f6f8fc 0%, #eaf0f9 100%);
    overflow: hidden;
}

.blog-detail-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.16), transparent 70%);
    pointer-events: none;
}

.blog-detail-breadcrumb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 24px;
    color: #94a3b8;
}

.blog-detail-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}

.blog-detail-breadcrumb a:hover {
    color: #1565C0;
}

.blog-detail-breadcrumb i {
    font-size: 9px;
    opacity: 0.6;
}

.blog-detail-breadcrumb .current {
    color: #1a202c;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-detail-head {
    position: relative;
    max-width: 840px;
}

.blog-detail-cat {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    margin-bottom: 18px;
}

.blog-detail-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 18px;
    color: #1a202c;
}

.blog-detail-excerpt {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 24px;
    max-width: 740px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.blog-detail-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.blog-detail-meta .meta-item .meta-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1565C0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.blog-detail-meta i {
    color: #1565C0;
    opacity: 0.7;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
    padding: 34px 0 90px;
}

.blog-detail-cover {
    margin: 34px 0 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    border: 1px solid #eaeef5;
}

.blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-ai-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.blog-ai-bar .ai-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
}

.blog-ai-bar .ai-label i {
    color: #1565C0;
}

.blog-ai-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #eaeef5;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.blog-ai-btn:hover {
    border-color: #cdd9ec;
    color: #1565C0;
}

.blog-ai-btn .ai-logo {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ai-logo-chatgpt {
    color: #000000;
}

.ai-logo-claude {
    color: #D97757;
}

.ai-logo-perplexity {
    color: #20808D;
}

.ai-logo-grok {
    color: #000000;
}

.ai-logo-gemini {
    color: #4285F4;
}

.blog-article {
    background: #ffffff;
    border: 1px solid #eaeef5;
    border-radius: 18px;
    padding: 38px 42px;
}

.blog-content {
    color: #334155;
    font-size: 16.5px;
    line-height: 1.8;
    word-wrap: break-word;
}

.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 36px 0 16px;
    color: #1a202c;
}

.blog-content h2 {
    font-size: 23px;
    font-weight: 700;
    margin: 34px 0 14px;
    color: #1a202c;
    scroll-margin-top: 90px;
}

.blog-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #1a202c;
    scroll-margin-top: 90px;
}

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

.blog-content a {
    color: #1565C0;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.blog-content ul,
.blog-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content li::marker {
    color: #1565C0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 26px 0;
}

.blog-content blockquote {
    margin: 28px 0;
    padding: 16px 24px;
    background: rgba(21, 101, 192, 0.05);
    border-left: 3px solid #1565C0;
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    line-height: 1.6;
    color: #1a202c;
}

.blog-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
}

.blog-content code {
    background: rgba(21, 101, 192, 0.08);
    color: #1565C0;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.9em;
}

.blog-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.blog-content iframe {
    max-width: 100%;
    border-radius: 12px;
}

.blog-content .table-responsive {
    overflow-x: auto;
    margin: 24px 0;
}

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

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

.blog-content table th {
    background: rgba(21, 101, 192, 0.05);
    font-weight: 700;
    color: #1a202c;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid #eaeef5;
}

.blog-share-label {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 4px;
}

.blog-share .button-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
    color: #475569;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-share .button-icon.icon-blue:hover {
    background: #1565C0;
    border-color: #1565C0;
    color: #fff;
}

.blog-share .button-icon.icon-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.blog-share .button-icon.icon-twitter:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.blog-share .button-icon.icon-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.blog-detail-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.content-topics {
    max-height: 60vh;
    overflow-y: auto;
}

.content-topic h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    padding: 9px 0 9px 14px;
    border-left: 2px solid #dbe3ef;
    line-height: 1.4;
}

.content-topic h2:hover {
    color: #1565C0;
    border-left-color: #1565C0;
}

.content-topic ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-topic ul li h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    padding: 7px 0 7px 28px;
    border-left: 2px solid #dbe3ef;
    line-height: 1.4;
}

.content-topic ul li h3:hover {
    color: #1565C0;
    border-left-color: #1565C0;
}

[data-theme="dark"] .blog-detail-hero {
    background: linear-gradient(160deg, #181c26 0%, #1f2430 100%);
}

[data-theme="dark"] .blog-detail-breadcrumb {
    color: #8b93a5;
}

[data-theme="dark"] .blog-detail-breadcrumb a {
    color: #a2acc0;
}

[data-theme="dark"] .blog-detail-breadcrumb a:hover {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-detail-breadcrumb .current {
    color: #e6eaf2;
}

[data-theme="dark"] .blog-detail-cat {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .blog-detail-title {
    color: #f2f5fa;
}

[data-theme="dark"] .blog-detail-excerpt {
    color: #a2acc0;
}

[data-theme="dark"] .blog-detail-meta .meta-item {
    color: #a2acc0;
}

[data-theme="dark"] .blog-detail-meta i {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-detail-cover {
    border-color: #333949;
}

[data-theme="dark"] .blog-ai-bar {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .blog-ai-bar .ai-label {
    color: #e6eaf2;
}

[data-theme="dark"] .blog-ai-bar .ai-label i {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-ai-btn {
    border-color: #333949;
    background: #1c2029;
    color: #a2acc0;
}

[data-theme="dark"] .blog-ai-btn:hover {
    border-color: #33507a;
    color: #6cb6f5;
}

[data-theme="dark"] .ai-logo-chatgpt {
    color: #e6eaf2;
}

[data-theme="dark"] .ai-logo-grok {
    color: #e6eaf2;
}

[data-theme="dark"] .blog-article {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .blog-content {
    color: #a2acc0;
}

[data-theme="dark"] .blog-content h1,
[data-theme="dark"] .blog-content h2,
[data-theme="dark"] .blog-content h3 {
    color: #f2f5fa;
}

[data-theme="dark"] .blog-content a {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-content li::marker {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-content blockquote {
    background: rgba(66, 165, 245, 0.08);
    border-left-color: #42A5F5;
    color: #e6eaf2;
}

[data-theme="dark"] .blog-content pre {
    background: #14171f;
    color: #e6eaf2;
    border: 1px solid #333949;
}

[data-theme="dark"] .blog-content code {
    background: rgba(66, 165, 245, 0.14);
    color: #6cb6f5;
}

[data-theme="dark"] .blog-content pre code {
    background: none;
    color: inherit;
}

[data-theme="dark"] .blog-content table th,
[data-theme="dark"] .blog-content table td {
    border-color: #333949;
}

[data-theme="dark"] .blog-content table th {
    background: rgba(66, 165, 245, 0.08);
    color: #e6eaf2;
}

[data-theme="dark"] .blog-share {
    border-top-color: #333949;
}

[data-theme="dark"] .blog-share-label {
    color: #8b93a5;
}

[data-theme="dark"] .blog-share .button-icon {
    background: #1c2029;
    border-color: #333949;
    color: #a2acc0;
}

[data-theme="dark"] .content-topic h2 {
    color: #a2acc0;
    border-left-color: #373d4c;
}

[data-theme="dark"] .content-topic h2:hover {
    color: #6cb6f5;
    border-left-color: #42A5F5;
}

[data-theme="dark"] .content-topic ul li h3 {
    color: #8b93a5;
    border-left-color: #373d4c;
}

[data-theme="dark"] .content-topic ul li h3:hover {
    color: #6cb6f5;
    border-left-color: #42A5F5;
}

@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-detail-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-detail-hero {
        padding: 64px 0 36px;
    }

    .blog-detail-title {
        font-size: 26px;
    }

    .blog-detail-excerpt {
        font-size: 15px;
    }

    .blog-article {
        padding: 24px 22px;
    }

    .blog-content {
        font-size: 15.5px;
    }

    .blog-detail-cover {
        aspect-ratio: 16 / 9;
    }

    .blog-detail-side {
        display: none;
    }
}

.blog-body {
    background: #ffffff;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    padding: 56px 0 90px;
}

.blog-main {
    min-width: 0;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: #f6f8fc;
    border-radius: 18px;
    border: 1px solid #eaeef5;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    border-color: #cdd9ec;
    box-shadow: 0 12px 30px rgba(21, 101, 192, 0.08);
    transform: translateY(-3px);
}

.blog-card .blog-image {
    position: relative;
}

.blog-card .blog-image a {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f8;
}

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

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

.blog-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #1565C0;
    font-size: 12px;
    font-weight: 700;
}

.blog-card .blog-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 22px 24px 24px;
}

.blog-card .blog-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card .blog-texts h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card .blog-texts h3 a {
    color: #1a202c;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-texts h3 a:hover {
    color: #1565C0;
}

.blog-card .blog-texts p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-info {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid #eaeef5;
    color: #94a3b8;
    font-size: 12.5px;
}

.blog-card .blog-info span,
.blog-card .blog-info time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .blog-info i {
    color: #1565C0;
    opacity: 0.7;
}

.blog-list:not(.blog-detail) > .blog-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-image {
    flex: 0 0 52%;
    max-width: 52%;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-image a {
    height: 100%;
    aspect-ratio: auto;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-details {
    justify-content: center;
    padding: 34px 38px;
    gap: 16px;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-texts h3 {
    font-size: 26px;
    line-height: 1.25;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-texts h3 a {
    -webkit-line-clamp: 3;
}

.blog-list:not(.blog-detail) > .blog-card:first-child .blog-texts p {
    font-size: 15.5px;
    -webkit-line-clamp: 3;
}

.blog-card.placeholder {
    pointer-events: none;
}

.blog-card.placeholder .blog-image a {
    background: #eef2f8;
}

.blog-card.placeholder .placeholder {
    display: block;
    border-radius: 6px;
    background: linear-gradient(100deg, #eef2f8 30%, #f7f9fb 50%, #eef2f8 70%);
    background-size: 200% 100%;
    animation: blogShimmer 1.3s ease-in-out infinite;
}

.blog-card.placeholder h3 .placeholder {
    height: 20px;
    width: 90%;
    margin-bottom: 6px;
}

.blog-card.placeholder p .placeholder {
    height: 13px;
    width: 100%;
}

.blog-card.placeholder .blog-info .placeholder {
    height: 12px;
    width: 70px;
}

@keyframes blogShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.pagenation {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.pagenation .c-page,
.pagenation .c-page-prev,
.pagenation .c-page-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 11px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pagenation .c-page:hover,
.pagenation .c-page-prev:hover,
.pagenation .c-page-next:hover {
    border-color: #cdd9ec;
    color: #1565C0;
}

.pagenation .c-page.active {
    background: #1565C0;
    border-color: #1565C0;
    color: #fff;
}

.pagenation .c-page-prev.disabled,
.pagenation .c-page-next.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagenation .c-page-dots {
    border: none;
    background: none;
    color: #94a3b8;
    min-width: auto;
}

.pagenation-pages {
    display: flex;
    gap: 6px;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    border-radius: 18px;
    background: #f6f8fc;
    border: 1px solid #eaeef5;
}

.blog-empty i {
    font-size: 42px;
    color: #cbd5e1;
    margin-bottom: 18px;
}

.blog-empty h3 {
    font-size: 19px;
    color: #1a202c;
    margin: 0 0 8px;
    font-weight: 700;
}

.blog-empty p {
    margin: 0;
    line-height: 1.5;
}

[data-theme="dark"] .blog-body {
    background: #181c26;
}

[data-theme="dark"] .blog-card {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .blog-card:hover {
    border-color: #33507a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .blog-card .blog-image a {
    background: #181c26;
}

[data-theme="dark"] .blog-category-badge {
    background: rgba(18, 20, 27, 0.92);
    color: #6cb6f5;
}

[data-theme="dark"] .blog-card .blog-texts h3 a {
    color: #f2f5fa;
}

[data-theme="dark"] .blog-card .blog-texts h3 a:hover {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-card .blog-texts p {
    color: #a2acc0;
}

[data-theme="dark"] .blog-card .blog-info {
    border-top-color: #333949;
    color: #8b93a5;
}

[data-theme="dark"] .blog-card .blog-info i {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-card.placeholder .blog-image a {
    background: #232833;
}

[data-theme="dark"] .blog-card.placeholder .placeholder {
    background: linear-gradient(100deg, #232833 30%, #333949 50%, #232833 70%);
    background-size: 200% 100%;
}

[data-theme="dark"] .pagenation .c-page,
[data-theme="dark"] .pagenation .c-page-prev,
[data-theme="dark"] .pagenation .c-page-next {
    background: #1f2430;
    border-color: #333949;
    color: #a2acc0;
}

[data-theme="dark"] .pagenation .c-page:hover,
[data-theme="dark"] .pagenation .c-page-prev:hover,
[data-theme="dark"] .pagenation .c-page-next:hover {
    border-color: #33507a;
    color: #6cb6f5;
}

[data-theme="dark"] .pagenation .c-page.active {
    background: #1565C0;
    border-color: #1565C0;
    color: #fff;
}

[data-theme="dark"] .pagenation .c-page-dots {
    background: none;
    color: #8b93a5;
}

[data-theme="dark"] .blog-empty {
    background: #1f2430;
    border-color: #333949;
    color: #a2acc0;
}

[data-theme="dark"] .blog-empty h3 {
    color: #e6eaf2;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        padding: 40px 0 70px;
    }

    .blog-list:not(.blog-detail) {
        grid-template-columns: 1fr;
    }

    .blog-list:not(.blog-detail) > .blog-card:first-child {
        flex-direction: column;
    }

    .blog-list:not(.blog-detail) > .blog-card:first-child .blog-image {
        flex: none;
        max-width: 100%;
    }

    .blog-list:not(.blog-detail) > .blog-card:first-child .blog-image a {
        aspect-ratio: 16 / 10;
    }

    .blog-list:not(.blog-detail) > .blog-card:first-child .blog-details {
        padding: 22px 24px 24px;
    }

    .blog-list:not(.blog-detail) > .blog-card:first-child .blog-texts h3 {
        font-size: 20px;
    }
}

.blog-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.blog-widget {
    background: #f6f8fc;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #eaeef5;
}

.blog-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-widget-title i {
    color: #1565C0;
    font-size: 15px;
}

.blog-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blog-category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eaeef5;
    color: #475569;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-category-list li a:hover {
    background: rgba(21, 101, 192, 0.06);
    border-color: #cdd9ec;
    color: #1565C0;
}

.blog-category-list .new-counter {
    flex-shrink: 0;
    background: rgba(21, 101, 192, 0.1);
    color: #1565C0;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    min-width: 26px;
    text-align: center;
}

.blog-recent {
    display: flex;
    flex-direction: column;
}

.blog-recent-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eaeef5;
}

.blog-recent-item:first-child {
    padding-top: 0;
}

.blog-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-recent-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f8;
}

.blog-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-recent-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.blog-recent-body h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.blog-recent-body h5 a {
    color: #1a202c;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-recent-body h5 a:hover {
    color: #1565C0;
}

.blog-recent-body time {
    font-size: 12px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .blog-widget {
    background: #1f2430;
    border-color: #333949;
}

[data-theme="dark"] .blog-widget-title {
    color: #f2f5fa;
}

[data-theme="dark"] .blog-widget-title i {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-category-list li a {
    background: #1c2029;
    border-color: #333949;
    color: #a2acc0;
}

[data-theme="dark"] .blog-category-list li a:hover {
    background: rgba(66, 165, 245, 0.1);
    border-color: #33507a;
    color: #6cb6f5;
}

[data-theme="dark"] .blog-category-list .new-counter {
    background: rgba(66, 165, 245, 0.12);
    color: #6cb6f5;
}

[data-theme="dark"] .blog-recent-item {
    border-bottom-color: #333949;
}

[data-theme="dark"] .blog-recent-thumb {
    background: #232833;
}

[data-theme="dark"] .blog-recent-body h5 a {
    color: #e6eaf2;
}

[data-theme="dark"] .blog-recent-body h5 a:hover {
    color: #6cb6f5;
}

[data-theme="dark"] .blog-recent-body time {
    color: #8b93a5;
}

@media (max-width: 1024px) {
    .blog-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-side {
        display: none;
    }
}
