/* Latest Articles List Container */
.latest-articles-list {
	background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 5px 0px 12px 0px;
    font-family: Roboto Flex, sans-serif;
	border-radius: 8px;
    box-shadow: 5px 5px 0 rgba(19, 64, 79, .1);
}

/* Individual Article Item */
.latest-article-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Article Title */
.latest-title {
    font-size: 15.6px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin: 0 0 5px 5px; /* Match card-title margin */
    line-height: 1.2;
    transition: color 0.3s ease;
}

.latest-title:hover {
    color: green; /* Match card-title hover color */
}

/* Meta Information (including hours ago) */
.latest-meta {
    font-size: 12px; /* Match card-meta font-size */
    color: #666;
    margin: 3px 0 2px 5px; /* Match card-meta margins */
    display: flex;
    align-items: center; /* Vertically center all elements */
    gap: 6px; /* Match card-meta gap */
    padding: 0; /* Ensure no extra padding interferes */
}

/* Meta Row Styling (Reviewed By + Name + Icon) */
.latest-meta .meta-row {
    display: flex;
    align-items: center; /* Align all vertically */
    gap: 6px; /* Even spacing between items */
    flex-wrap: nowrap; /* Prevent wrapping */
    margin-bottom: 0;
    color: #333;
}

/* Checkmark SVG */
.latest-meta .meta-row .svg {
    width: 16px;
    height: 16px;
    fill: #2e7d32;
    flex-shrink: 0; /* Prevent SVG from shrinking */
}
.latest-meta .meta-row p {
    margin: 0;
    display: flex;
    align-items: center;
}

/* Label (Reviewed By:) */
.latest-meta .meta-row .meta-label {
    color: #666;
    font-size: 13px;
    font-weight: normal;
    line-height: 1; /* Keep tight */
    margin: 0;
}

/* Author Name */
.latest-meta .meta-row .meta-author {
    font-size: 14px;
    color: #d32f2f;
    font-weight: bold;
    text-decoration: none;
    line-height: 1; /* Keep aligned */
}

.latest-meta .meta-row .meta-author:hover {
    text-decoration: underline;
}

/* Hours Ago Styling */
.time-ago {
	margin-top: 6px;
    font-size: 14px; /* Match latest-meta font-size */
    color: #a80000;
    margin-left: 15px; /* Separation */
    white-space: nowrap; /* Prevent wrapping */
    line-height: 1.2; /* Match meta container */
    vertical-align: middle; /* Align with text baseline */
}

/* Tooltip Trigger (from card-meta reference) */
.latest-meta .meta_tooltip-trigger {
	font-size: 12px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.latest-meta .meta-tooltip-content {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 1000;
    top: 100%; /* Position below the trigger */
    left: 50%;
    transform: translateX(-50%); /* Center the tooltip */
    white-space: normal; /* Allow text wrapping */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.latest-meta .meta-tooltip-trigger:hover .meta-tooltip-content {
    display: block;
}

.read-more-button {
    display: block;
    padding: 10px 20px;
    margin: 12px 5px 0px 0px;
    font-size: 14px;
    color: #fff;
    background-color: #c70905; /* Match related-card-category background */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.read-more-button:hover {
    background-color: #29a329; /* Match related-card-category hover */
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .latest-articles-list {
        padding: 10px;
    }

    .latest-article-item {
        padding: 10px;
    }

    .latest-title {
        font-size: 16px;
    }

    .latest-meta {
        flex-direction: column; /* Stack meta and time-ago */
        align-items: flex-start; /* Align to left on wrap */
    }
	.latest-meta .meta_tooltip-trigger {
		font-size: 14px;
	}

    .time-ago {
        margin-left: 0; /* Remove margin on small screens */
        margin-top: 5px; /* Space above time-ago */
    }
}