﻿/* blog-author-list.css */

.mhg-author-blog {
    background: #f7f8fa;
}

.mhg-author-back {
    color: #ed1c24;
    font-weight: 700;
    text-decoration: none;
}

.mhg-author-title {
    color: #001f46;
    font-weight: 800;
    font-size: 2rem;
}

.mhg-author-name {
    display: inline-block;
    color: #001f46;
    border-bottom: 3px solid #ed1c24;
    padding-bottom: 4px;
    margin-top: 8px;
}

.mhg-blog-card {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
}

.mhg-blog-image-link {
    display: block;
    text-decoration: none;
}

.mhg-blog-card-image {
    width: 100%;
    height: 348px;
    object-fit: cover;
    display: block;
}

.mhg-blog-card-body {
    padding: 28px 30px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mhg-blog-meta {
    display: flex;
    gap: 14px;
    color: #6b7a90;
    font-size: .95rem;
    margin-bottom: 16px;
}

    .mhg-blog-meta i {
        margin-right: 5px;
    }

.mhg-blog-card-title {
    font-size: 1.2rem;
    line-height: 1.45;
    font-weight: 800;
    margin-bottom: 16px;
}

    .mhg-blog-card-title a {
        color: #001f46;
        text-decoration: none;
    }

        .mhg-blog-card-title a:hover {
            color: #ed1c24;
        }

.mhg-blog-card-summary {
    color: #001f46;
    line-height: 1.65;
    margin-bottom: 28px;
}

.mhg-blog-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mhg-blog-author {
    color: #001f46;
    font-size: .95rem;
}

    .mhg-blog-author i {
        margin-right: 6px;
    }

.mhg-blog-read-more {
    color: #ed1c24;
    font-weight: 700;
    text-decoration: none;
}

    .mhg-blog-read-more:hover {
        color: #001f46;
    }

/* Author List Pagination - Match Blog Page */

.mhg-blog-pagination {
    margin-top: 3rem;
}

    .mhg-blog-pagination .pagination {
        gap: 8px;
    }

    .mhg-blog-pagination .page-item .page-link {
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        border: 1px solid #d5dde8;
        border-radius: 7px;
        color: #001f46;
        background-color: #ffffff;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

        .mhg-blog-pagination .page-item .page-link:hover {
            color: #ed1c24;
            background-color: #ffffff;
            border-color: #ed1c24;
        }

    .mhg-blog-pagination .page-item.active .page-link {
        background-color: #ed1c24;
        border-color: #ed1c24;
        color: #ffffff;
    }

    .mhg-blog-pagination .page-item.disabled .page-link {
        color: #9aa5b1;
        background-color: #ffffff;
        border-color: #d5dde8;
        opacity: 1;
    }

@media (max-width: 767px) {

    .mhg-blog-card-image {
        height: 260px;
    }

    .mhg-blog-card-body {
        padding: 24px;
    }

    .mhg-blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
