/* BLOG HERO SECTION */
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 55px 20px 40px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef4fa 100%);
}

.blog-hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.38;
    pointer-events: none;
}

.blog-hero-blur.blur-one {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -60px;
    background: rgba(108, 99, 255, 0.14);
}

.blog-hero-blur.blur-two {
    width: 240px;
    height: 240px;
    right: -70px;
    bottom: -90px;
    background: rgba(249, 115, 22, 0.12);
}

.blog-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: #0f172a;
    margin-bottom: 10px;
}

.blog-hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #6c63ff 0%, #a855f7 35%, #ec4899 68%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-description {
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #566477;
}

/* TABLET */
@media (max-width: 992px) {
    .blog-hero {
        padding: 48px 20px 34px;
    }

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

/* MOBILE */
@media (max-width: 768px) {
    .blog-hero {
        padding: 42px 20px 30px;
    }

    .blog-hero-content h1 {
        font-size: 30px;
        line-height: 1.1;
        letter-spacing: -0.8px;
    }

    .blog-hero-description {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .blog-hero {
        padding: 36px 16px 26px;
    }

    .blog-hero-content h1 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .blog-hero-description {
        font-size: 13.5px;
    }
}

/* BREADCRUMB */
.breadcrumb-bar {
    background: #f3f3f3;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    padding: 16px 20px;
}

.breadcrumb-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.4;
}

.breadcrumb-container a {
    color: #7c66f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #5f49d6;
}

.breadcrumb-container span {
    color: #8d8d8d;
}

.breadcrumb-container .current {
    color: #111111;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-bar {
        padding: 13px 16px;
    }

    .breadcrumb-container {
        font-size: 14px;
        gap: 8px;
    }
}

/* BLOG LISTING SECTION */
.blog-listing-section {
    padding: 70px 20px 90px;
    background: #ffffff;
}

.blog-listing-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 38px;
    align-items: start;
}

/* FILTER */
.blog-filter-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.blog-filter-box {
    background: #f7f7f7;
    border: 1px solid #e4e4e4;
    padding: 22px 18px;
}

.blog-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dddddd;
}

.blog-filter-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.blog-filter-header span {
    font-size: 18px;
    color: #111111;
    line-height: 1;
}

.blog-filter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 210px;
    overflow-y: auto;
    padding-right: 6px;
}

.blog-filter-list::-webkit-scrollbar {
    width: 6px;
}

.blog-filter-list::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 20px;
}

.blog-filter-list::-webkit-scrollbar-track {
    background: transparent;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #222222;
    cursor: pointer;
}

.filter-option input {
    width: 15px;
    height: 15px;
    accent-color: #7c66f1;
    cursor: pointer;
}

.filter-option span {
    line-height: 1.4;
}

/* BLOG GRID */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: stretch;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 102, 241, 0.20);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

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

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

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

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.blog-card-date {
    font-size: 12px;
    color: #7b8494;
    font-weight: 500;
    line-height: 1.2;
}

.blog-card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(124, 102, 241, 0.10);
    color: #7c66f1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.blog-card-body h3 {
    font-size: 20px;
    line-height: 1.4;
    color: #111111;
    font-weight: 600;
    margin: 0 0 12px;
    min-height: auto;
    overflow: visible;
    display: block;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.blog-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0 0 18px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 150px;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #7b5cff 0%, #ff8b5b 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px rgba(123, 92, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    margin-inline: auto;
}

.blog-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(123, 92, 255, 0.24);
    background: linear-gradient(90deg, #6d4ff5 0%, #ff7c49 100%);
}

/* PAGINATION */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.blog-pagination a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    background: #f3f6fb;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination a:hover,
.blog-pagination a.active {
    background: #7c66f1;
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .blog-listing-container {
        grid-template-columns: 230px 1fr;
        gap: 28px;
    }

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

@media (max-width: 768px) {
    .blog-listing-section {
        padding: 50px 16px 70px;
    }

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

    .blog-filter-sidebar {
        position: static;
    }

    .blog-filter-box {
        padding: 18px 16px;
    }

    .blog-filter-list {
        max-height: 190px;
    }

    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-card-image img {
        height: 210px;
    }

    .blog-card-body h3 {
        font-size: 18px;
    }
}
.blog-filter-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-action-btn {
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #222222;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-action-btn:hover {
    border-color: #7c66f1;
    color: #7c66f1;
}

.filter-action-btn.active {
    background: #7c66f1;
    border-color: #7c66f1;
    color: #ffffff;
}

.filter-action-btn.clear-btn {
    background: #f7f7f7;
}
.blog-empty-state {
    display: none;
    min-height: 280px;
    border: 1px dashed #ddddea;
    border-radius: 18px;
    background: #fafafe;
    padding: 32px 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
}

.blog-empty-state h3 {
    font-size: 24px;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-empty-state p {
    font-size: 15px;
    line-height: 1.7;
    color: #666666;
    max-width: 420px;
    margin: 0 auto;
}