/* Styling cho Wrapper & Loading State */
.shinhan-author-posts-wrapper {
    position: relative;
    transition: opacity 0.3s ease;
}

.shinhan-author-posts-wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Post Card Container */
.shinhan-post-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee3cb;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(197, 155, 39, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shinhan-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(197, 155, 39, 0.15);
    border-color: #c59b27;
}

/* Card Thumbnail */
.card-media {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background-color: #f7f7f7;
}

.card-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shinhan-post-card:hover .card-img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Card Content Body */
.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.meta-date, .meta-verified {
    display: flex;
    /*align-items: center;*/
    gap: 4px;
}

.meta-date svg {
    display: flex;
}

.meta-verified {
    color: #c59b27;
    font-weight: 600;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.card-title a {
    color: #1f1f1f;
    text-decoration: none;
}

.card-title a:hover {
    color: #c59b27;
}

.card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-footer {
    border-top: 1px dashed #f0e6d2;
    padding-top: 10px;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #c59b27;
    text-decoration: none;
}

/* Pagination Styling UI chuẩn Flatsome Luxury */
.shinhan-pagination-container {
    margin-top: 35px;
    text-align: center;
}

.shinhan-pagination-container ul.page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.shinhan-pagination-container .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2d3b2;
    background: #fff;
    color: #1f1f1f;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.shinhan-pagination-container .page-number:hover,
.shinhan-pagination-container .page-number.current {
    background: #c59b27;
    color: #ffffff;
    border-color: #c59b27;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}