/* Recent Articles Container */
.er-recent-articles-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

/* Top Section Header */
.er-recent-articles-header {
    color: #002136;
    opacity: 0.7;
    font-family: inherit !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    padding: 0;
}

/* Articles List */
.er-recent-articles-list {
    display: flex;
    flex-direction: column;
}

/* Individual Article Item */
.er-recent-article-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e8e5dd;
}

.er-recent-article-item:last-child {
    border-bottom: none;
}

/* Left Content Column */
.er-recent-article-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Article Title */
.er-recent-article-title {
    margin: 0 0 8px 0;
    padding: 0;
    font-family: inherit !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.er-recent-article-title a {
    color: #002136;
    font-family: inherit !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.er-recent-article-title a:hover {
    color: #f06800;
}

/* Article Meta & Date */
.er-recent-article-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.er-recent-article-date {
    color: #002136;
    opacity: 0.65;
    font-family: inherit !important;
    font-size: 13px;
    font-weight: 400;
}

/* Right Column Thumbnail */
.er-recent-article-thumb-wrapper {
    flex-shrink: 0;
}

.er-recent-article-thumb-link {
    display: block;
    width: 75px;
    height: 75px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e8e5dd;
}

.er-recent-article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.er-recent-article-thumb-link:hover .er-recent-article-thumb-img {
    opacity: 0.88;
    transform: scale(1.04);
}

/* Responsive adjust */
@media (max-width: 480px) {
    .er-recent-article-thumb-link {
        width: 65px;
        height: 65px;
        border-radius: 10px;
    }
    .er-recent-article-thumb-img {
        border-radius: 10px;
    }
    .er-recent-article-title {
        font-size: 15px;
    }
}
