.related-articles-container {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.related-article-card {
    width: 23%;
    /*border: 1px solid #ddd;*/
	box-shadow: 5px 5px 0 rgba(19, 64, 79, .1);
    border-radius: 5px;
    overflow: hidden;
    text-align: left; /* Changed to left align content */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.related-article-card:hover {
    overflow: visible;
}

.card-image-link {
    display: block; /* Ensures the link covers the image area */
    text-decoration: none;
	overflow: hidden;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures image fits and scales properly within container */
    max-height: 200px;
	transition: transform 0.5s ease-in-out;
}
.card-image:hover {
	transform: scale(1.1);
}

.card-content {
    padding: 10px !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.related-card-category {
	border-radius: 5px;
	font-size: 14px;
	padding: 5px 10px;
	background: #c70905;
    font-size: 14px;
    color: #ffffff;
    margin: 4px 0px 2px 5px;
	align-self: flex-start;
}
.related-card-category:hover {
	color: #ffffff;
	background: #29a329;
}

.card-title {
	color: black;
    font-size: 16px;
    font-weight: bold;
    margin: 0px 0px 2px 5px;
    line-height: 1.2;
}
.card-title:hover {
    text-decoration: none;
	color: green;
}

.card-meta {
    font-size: 12px;
    color: #666;
    margin: 3px 0px 2px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-meta svg {
    width: 16px;
    height: 16px;
    fill: green;
    margin-right: -2px;
}

.card-meta .meta-row p {
    margin: 0;
    display: flex;
    align-items: center;
}

.card-meta .meta_tooltip-trigger {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.card-meta .meta_tooltip-content {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 1000; /* Increased from 1 to 1000 to ensure it appears above other elements */
    top: 100%; /* Position below the trigger */
    left: 50%;
    white-space: wrap; /* Prevent text wrapping */
}

.card-meta .meta_tooltip-trigger:hover .meta_tooltip-content {
    display: block;
}

/* Meta Row: Align icons and text properly */
.meta-row {
    display: flex;
    align-items: center;
    gap: 6px; /* Spacing between icon and text */
    margin-bottom: 0px;
    color: #333;
}

.review-meta-container .meta-row:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .related-article-card {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .related-article-card {
        width: 100%;
    }
}