.blog-hero {
    padding: 120px 15px 60px;
    text-align: center;
    background: linear-gradient(90deg, #2044EE 0%, #A135AD);
    color: #fff;
    max-height: 70vh;
    min-height: 400px;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blog-hero h1 {
    margin-bottom: 10px;
    font-size: 48px;
    font-family: 'Arimo';
    font-weight: 700;
}
.blog-hero form{
    width: 100%;
    max-width: 345px;
}
.blog-hero form div{
    border-radius: 50px;
    display: flex;
}
.blog-hero form div input{
    margin: 0 !important;
    padding: 5px 10px;
    width: 70%;
}
.blog-hero form div #searchsubmit{
    width: 30%;
    min-width: 80px;
}
.blog-hero form div *{
    border: 0;
    height: 50px;
    padding: 10px;
}
.blog-hero p {
    margin-bottom: 25px;
    color: #cbd5f5;
}
.blog-hero .search-form {
    max-width: 600px;
    margin: 0 auto;
}
.blog-hero .search-field {
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
}

.blog-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 10px;
}
.blog-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.blog-section-title h2 {
    font-size: 38px;
    font-family: 'Arimo';
    font-weight: 500;
    margin: 0;
}
.blog-section-title a {
    font-size: 14px;
    text-decoration: none;
    color: #9637b2;
}

.posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.posts-grid.cols-4 .post-item,
.posts-grid.cols-3 .post-item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    width: calc( 33.33% - 14px );
}
.post-item-thumb {
    position: relative;
    overflow: hidden;
}
.post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.post-item:hover .post-item-thumb img {
    transform: scale(1.05);
}
.post-item-body {
    padding: 14px 16px 16px;
}
.post-item-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}
.post-item-title {
    font-size: 16px;
    margin: 0;
}
.post-item-title a {
    text-decoration: none;
    color: #111827;
}
.blog-categories {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.blog-categories .category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.blog-categories .category-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.blog-categories .category-btn .cat-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
.post-item-meta .post-cats a {
    color: #9637b2;
    text-decoration: none;
}
.post-item-meta .post-cats a:hover {
    text-decoration: underline;
}
/* NEW: Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.blog-pagination a {
    color: #2563eb;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.blog-pagination a:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.blog-pagination .current {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
/* Breadcrumbs */
.blog-breadcrumbs {
    margin-bottom: 20px;
}
.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #cbd5f5;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-item a {
    color: #cbd5f5;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}
.featured-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.featured-main {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15,23,42,0.14);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: calc( 45% - 10px );
    height: auto;
}
.featured-side-list{
    width: calc( 55% - 10px );
}
.featured-main-thumb {
    position: relative;
    overflow: hidden;
    max-height: 350px;
}
.featured-main-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.featured-main:hover .featured-main-thumb img {
    transform: scale(1.04);
}
.featured-main-body {
    padding: 18px 20px 20px;
}
.featured-main-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}
.featured-main-meta .post-cats a {
    color: #9637b2;
    text-decoration: none;
}
.featured-main-meta .post-cats a:hover {
    text-decoration: underline;
}
.featured-main-title {
    font-size: 22px;
    margin: 0 0 8px;
}
.featured-main-title a {
    color: #111827;
    text-decoration: none;
}
.featured-main-excerpt {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
}

.featured-side-list .posts-grid{
    flex-direction: column;
    height: 100%;
}

.featured-side-list .posts-grid .post-item {
    flex-direction: row;
    width: 100%;
    flex-grow: 1;
}

.featured-side-list .posts-grid .post-item .post-item-thumb {
    width: 40%;
}

.featured-side-list .posts-grid .post-item .post-item-body {
    width: 60%;
}
.trending-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0 0 20px;
}
.trending-slider-track {
    display: flex;
    gap: 20px;
}
.trending-slide {
    min-width: 280px;
    flex-shrink: 0;
}
.trending-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 20px;
    color: #374151;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}
.trending-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.trending-arrow.prev-trending {
    left: 12px;
}
.trending-arrow.next-trending {
    right: 12px;
}
.trending-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.trending-slider .slick-initialized .slick-slide {
    display: flex !important;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}
.trending-slider .slick-initialized .post-item-thumb img{
    height: 400px;
}

@media (max-width: 1024px) {
    .blog-hero h1{
        font-size: 38px;
    }
    .blog-section-title h2{
        font-size: 28px;
    }
    .featured-main-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .featured-grid{
        flex-direction: column;
    }
    .featured-main,
    .featured-side-list{
        width: 100%;
    }
}

@media (max-width: 767px) {
    .breadcrumb-list {
        font-size: 13px;
        gap: 6px;
    }
    .blog-hero h1{
        font-size: 30px;
    }
    .blog-section-title h2{
        font-size: 20px;
    }
    .blog-categories {
        gap: 8px;
    }
    .blog-categories .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .posts-grid.cols-4 .post-item, .posts-grid.cols-3 .post-item{
        width: 100%;
    }
    .blog-hero form div *{
        height: 35px;
    }
    .blog-categories{
        margin-top: 15px;
    }
    .blog-categories .category-btn{
        padding: 4px 8px;
    }
    .trending-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .blog-hero{
        padding: 80px 15px 40px;
    }
}

@media (max-width: 479px) {

}