/* Zenith Publications Blogs */

.zenith-blog-wrapper {
    width: 100%;
}

.zenith-blog-list {
    width: 100%;
}

.zenith-blog-col {
    display: flex;
}

.zenith-blog-item {
    width: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.zenith-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #dddddd;
}

.zenith-blog-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f5f5f5;
}

.zenith-blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.zenith-blog-content {
    padding: 12px 22px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.zenith-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #777777;
    font-size: 12px;
    line-height: 1.4;
}

.zenith-blog-author,
.zenith-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.zenith-blog-meta i {
    font-size: 11px;
    color: #777777;
}

/* Category pill labels */
.zenith-blog-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 11px;
}

.zenith-blog-category-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #dfe4ee;
    border-radius: 50px;
    background: #f7f8fb;
    color: #0e2258;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.zenith-blog-category-label:hover,
.zenith-blog-category-label:focus {
    background: #0e2258;
    border-color: #0e2258;
    color: #ffffff;
    text-decoration: none;
}

.zenith-blog-title {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 10px;
}

.zenith-blog-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zenith-blog-title a:hover {
    color: #0e2258;
}

.zenith-blog-excerpt {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.zenith-blog-read-more {
    margin-top: auto;
}

.zenith-blog-read-more .read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0e2258;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zenith-blog-read-more .read-more i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.zenith-blog-read-more .read-more:hover {
    color: #231f20;
}

.zenith-blog-read-more .read-more:hover i {
    transform: translateX(4px);
}

/* Load More */
.zenith-load-more-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
}

.zenith-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 46px;
    padding: 12px 28px;
    border: 1px solid #0e2258;
    border-radius: 5px;
    background: #0e2258;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zenith-load-more-btn:hover {
    background: #231f20;
    border-color: #231f20;
}

.zenith-load-more-btn:focus-visible {
    outline: 2px solid #0e2258;
    outline-offset: 3px;
}

.zenith-load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.zenith-load-more-spinner {
    font-size: 14px;
}

.zenith-load-more-error {
    margin-top: 10px;
    color: #b42318;
    font-size: 13px;
}

.zenith-no-posts {
    text-align: center;
    padding: 50px 20px;
}

@media (max-width: 991px) {
    .zenith-blog-image {
        height: 220px;
    }

    .zenith-blog-title {
        font-size: 19px;
    }
}

@media (max-width: 575px) {
    .zenith-blog-content {
        padding: 18px 18px 20px;
    }

    .zenith-blog-image {
        height: 210px;
    }

    .zenith-blog-title {
        font-size: 18px;
    }

    .zenith-blog-meta {
        font-size: 11px;
    }

    .zenith-load-more-btn {
        width: 100%;
        max-width: 220px;
    }
}
/* =========================================================
   ZENITH BLOG - CATEGORY BUTTONS
========================================================= */

.zenith-blog-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
}

.zenith-blog-category-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border: 1px solid #d9dfeb;
    border-radius: 50px;
    background: #f6f8fc;
    color: #0e2258;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.zenith-blog-category-label:hover {
    background: #0e2258;
    border-color: #0e2258;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   ZENITH BLOG - LEARN MORE BUTTON
========================================================= */

.zenith-blog-read-more {
    margin-top: auto;
    padding-top: 5px;
}

.zenith-blog-read-more .read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 16px;

    background: #0e2258;
    border: 1px solid #0e2258;
    border-radius: 5px;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.zenith-blog-read-more .read-more i {
    font-size: 11px;
    color: #ffffff;
    transition: transform 0.25s ease;
}

.zenith-blog-read-more .read-more:hover {
    background: #231f20;
    border-color: #231f20;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(14, 34, 88, 0.18);
}

.zenith-blog-read-more .read-more:hover i {
    color: #ffffff;
    transform: translateX(4px);
}


/* =========================================================
   ZENITH BLOG - LOAD MORE BUTTON
========================================================= */

.zenith-load-more-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 25px;
    padding-top: 10px;
}

.zenith-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 190px;
    min-height: 46px;

    padding: 12px 25px;

    background: #0e2258;
    border: 1px solid #0e2258;
    border-radius: 5px;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-align: center;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.zenith-load-more-btn:hover {
    background: #231f20;
    border-color: #231f20;
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(14, 34, 88, 0.18);
}

.zenith-load-more-btn:focus {
    outline: none;
    color: #ffffff !important;
}

.zenith-load-more-btn:focus-visible {
    outline: 2px solid #0e2258;
    outline-offset: 3px;
}

.zenith-load-more-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* =========================================================
   LOAD MORE - LOADING STATE
========================================================= */

.zenith-load-more-btn.loading,
.zenith-load-more-btn[aria-busy="true"] {
    cursor: wait;
}

.zenith-load-more-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   OPTIONAL - VIEW ALL BLOGS BUTTON
========================================================= */

.zenith-view-all-blogs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 22px;

    background: #0e2258;
    border: 1px solid #0e2258;
    border-radius: 5px;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;

    transition: all 0.25s ease;
}

.zenith-view-all-blogs:hover {
    background: #231f20;
    border-color: #231f20;
    color: #ffffff !important;

    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 34, 88, 0.18);
}

.zenith-view-all-blogs i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.zenith-view-all-blogs:hover i {
    transform: translateX(4px);
}


/* =========================================================
   MOBILE BUTTONS
========================================================= */

@media (max-width: 575px) {

    .zenith-blog-category-label {
        padding: 4px 9px;
        font-size: 10px;
    }

    .zenith-blog-read-more .read-more {
        padding: 8px 14px;
        font-size: 12px;
    }

    .zenith-load-more-btn {
        width: 100%;
        max-width: 230px;
        min-height: 44px;
        padding: 11px 20px;
        font-size: 13px;
    }

}