.rel-post {
	text-align: center;
	margin-top: 10px;
	border-bottom: 1px solid black;
	padding-bottom: 10px;
}

.relp-li {
	max-width: 150px;
	width: 100%;
	padding: 5px;
}

ul.related-posts-advanced-widget {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid black;
}

#pd-rp {
	padding-top: 5px;
}

.viev-rig {
	display: flex;
	justify-content: start;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 1px solid black;
}

.pdd-rig {
	padding-right: 5px;
}

/* Latest Posts Widget */
.latest-posts-widget {
	display: flex;
	flex-direction: column;
}

.latest-posts-widget li a img {
	max-width: 100px;
	float: left;
	padding: 10px 10px 10px 0;
}

li.flex-li {
	display: flex;
	justify-content: start;
	border-bottom: 1px solid black;
}

h5.htitle {
	padding-top: 10px;
}

/* Posts Navigation */
.pst-nav {
	margin-top: 15px;
	padding: 5px;
	border-bottom: 1px solid black;
}

.next-post,
.prev-post {
	max-width: 75px;
	height: auto;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.thumbnail-container {
    position: relative;
    overflow: hidden;
    border: 2px solid azure;
    transition: border-color 0.3s ease-in-out;
}

.thumbnail-container:hover {
    border-color: aliceblue; 
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail-container:hover .overlay {
    opacity: 1; 
}

.text {
    color: #fff; 
    font-size: 16px; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail-container:hover .text {
    opacity: 1; 
}

.thumbnail-container img {
    width: 100%;
    height: auto; 
}

/* /Navigation */
