.custom-blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.custom-blog-grid article {
    width: calc(33.333% - 16px);
    background: #fff;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-blog-grid article:hover {
    transform: translateY(-20px);
}

.custom-image-container img {
    max-width: 100%;
    border-radius: 6px;
}
.custom-image-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.entry-title a{
    text-decoration: none !important;
    color: #15487B;
    font-size: 22px;
}

.entry-title {
    font-size: 20px;
    margin: 0 !important;
    min-height: 108px;
}
.post-content-inner{
    font-size: 16px;
    min-height: 230px;
    color: #777;
}
.post-meta {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px !important;
    color: #000000cc;;
}
.more-link {
    position: relative;
    display: inline-block;
    color: #15487B;
    font-weight: 500;
    text-decoration: none !important;
    font-size: 20px;
    overflow: hidden;
}

.more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 0;
    background-color: #15487B;
    transition: width 0.4s ease;
    transform: translateX(-50%);
}

.more-link:hover::after {
    width: 100%;
}

.more-link:hover {
    cursor: pointer;
}

.custom-pagination{
    display: flex;
    gap: 15px;
    height: 32px;
}
.custom-pagination span,.custom-pagination a {
    font-size: 22px;
    color: #15487B;
    text-decoration: none !important;
}

.custom-pagination .page-numbers.current{
    border: 1px solid #15487B;
    padding: 0 5px;
    background: #15487b24;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .custom-blog-grid article {
        width: calc(50% - 12px);
    }

    .entry-title {
        font-size: 20px;
        min-height: auto;
    }

    .post-content-inner {
        font-size: 15px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .custom-blog-grid {
        gap: 20px;
    }
    .custom-image-container{
        height: auto;
    }
    .custom-blog-grid article {
        width: 100%;
        gap: 10px;
    }

    .entry-title {
        font-size: 18px;
    }

    .post-content-inner {
        font-size: 14px;
    }

    .more-link {
        font-size: 18px;
    }

    .custom-pagination {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .custom-pagination span,
    .custom-pagination a {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 17px;
    }

    .post-content-inner {
        font-size: 13px;
    }

    .more-link {
        font-size: 16px;
    }

    .custom-pagination span,
    .custom-pagination a {
        font-size: 16px;
    }
}
