/* Base styles for the body */
body {
    /* Inherit font-family and line-height */
}

/* Main container for the post */
#post-main-body-container {
    max-width: 1440px; /* Limit overall container width */
    margin: 0 auto; /* Center the container on the page */
	padding-left: 20px;
	padding-right: 20px;
}
/* Header image for Features */
.entry-header {
    width: 100%;
    height: 630px; /* Set your desired height */
    position: relative;
    background: linear-gradient(180deg, #28537D, #0297A6); /* Default gradient background */
	border-bottom: solid;
    border-bottom-color: #ffffff;
    border-width: 2px;
}

.entry-header-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position-y: center;
    background-position-x: center;    
    background-repeat: no-repeat;
	/*background-attachment: fixed;*/
}

.fixed-background {
 	background-attachment: fixed;
}

/* Styles for the breadcrumbs */
.breadcrumbs {
    margin: 20px 0; /* Margin for spacing */
}
.breadcrumbs a {
	color:#c3c3c3;
}
/* Post container styles */
.post-container {
    /* Default styles */
}

/* Styles for post title */
h1 {
    font-size: 40px !important;
    font-family: 'DM Serif Text', serif;
    font-weight: 600 !important;
}
/* Styles for post excerpt */
h2 {
    font-size: 1.5em; /* Set font size for the excerpt */
    margin: 10px 0; /* Margin for spacing */
}
h2 p {
    font-size: 27px;
    line-height: 38px;
    font-family: 'DM Serif Text';
}

/* Left-align the post content */
#post-main-body-container .post-content {
    max-width: 806px; /* Limit content width */
    margin: 0px 0px; /* Center container in parent but not the text */
    text-align: left; /* Ensure text is left-aligned */
}
.featured-content {/* center the content for Features */
    margin: 0px auto !important;
}
.video-content{
	background-color:#22ad7a3d;
	border-radius: 10px;
	padding: 50px;
}
.post-date{
	color: #444444;
	font-size: 14px;
}

/* Styles for metadata section */
.post-meta {
    margin: 20px 0;
    background-color: #e7e7e785;
    padding: 20px;
    border-radius: 10px;
    max-width: 806px;
	width: 100%;
	font-size: 18px;
}
.PostMetaLabel{
	color:#595a6c;
	font-size: 20px;
}

/* Styles for the related articles section */
.related-articles {
    margin: 20px 0; /* Margin for spacing */
}

/* Styles for horizontal separator line with dotted style */
.dotted-hr {
    border: 0; /* Remove default border */
    height: 1px; /* Set height */
    background: transparent; /* Set background to transparent */
    border-top: 5px dotted #e7e7e785; /* Set gray dotted border */
    margin: 20px 0; /* Margin for spacing */
}

/* style the related content section */
#RelatedContentContainer {
    width: 100%;
    display: flex;
    justify-content: center;
}
#RelatedContentSection {
    max-width: 1371px;
    width: 100%;
	transition: margin 0.5s ease; /* Smooth transition for margin changes */
}
.related-posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

 #RelatedContentSection .related-post {
    background: #e7e7e785;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    width: calc(33.333% - 20px); /* Adjust the width and margin accordingly */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
}

#RelatedContentSection .related-post-image {
    width: 100%;
    height: 200px; /* Set a fixed height for the image container */
    overflow: hidden;
}

#RelatedContentSection .related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container while preserving aspect ratio */
    object-position: top; /* Align the image to the top */
    display: block;
	padding: 0px !important;
	float:none;
}

#RelatedContentSection .related-post-title {
    font-size: 20px;
    margin-bottom: 10px;    
}
#RelatedContentSection .related-post-title h4 {
    font-size: 20px;
	font-weight: bold;
}
#RelatedContentSection .related-post-title h4 a {
    color: #5088C6;
}
#RelatedContentSection .related-post-title h4 a:hover {
    color: #E86933;
}

#RelatedContentSection .related-post-meta {
    font-size: 0.9em;
    color: #777;
	display: flex;
}

#RelatedContentSection .related-post-date {
	margin-bottom: 5px;    
	margin-left: 10px;
}

#RelatedContentSection .related-post-category{
	margin-bottom: 5px;
	background-color: #dddddd;
    width: fit-content;
    padding-left: 4px;
    padding-right: 4px;
	border-radius: 4px;
}
#view-more-btn{
	float: right;
	font-size: 14px;
    background-color: #e7e7e785;
    border-width: 1px;
    border-color: #e7e7e7;
}
#post-main-body-container hr{
    height: 1px;
    width: 100%;
    border-bottom: 5px;
    border-style: dotted;
    border-color: #e7e7e785;
    border-top: none;
    border-left: none;
    border-right: none;
}
/* end of styling the related content section */

/* styling the photo credit popup */
.photo-credit {
	position: relative; /* Needed for absolute positioning of the icon */
}

.info-icon {
	position: absolute;
	right: 20px; /* Distance from the right edge */
	top: -40px; /* Distance from the top edge */
	font-size: 30px; /* Size of the icon */
	color: white; /* Icon color */
	cursor: pointer; /* Pointer cursor for the icon */
	transform: translateY(-20%); /* Float the icon above the header */
	background-color: #3d3d3d82; /* Dark gray background */
	border-radius: 50%; /* Make the background circular */
	padding: 0px; /* Add padding to create a circle effect */
	display: inline-flex; /* Allow centering */
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
}
.popup {
	position: absolute;
	right: 60px; /* Align popup to the right */
	top: -60px; /* Position above the icon */
	background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	display: none; /* Start hidden */
	opacity: 0; /* Start hidden */
	transition: opacity 0.6s ease; /* Transition for fading */
	z-index: 10; /* Ensure it appears above other content */
}
.popup.show {
	display: block; /* Show the popup */
	opacity: 1; /* Fade in */
}


@media only screen and (max-width: 768px) {
    /* For mobile phones: */
	#RelatedContentSection {    	
    	width: 70%;
	}
	.popup{
		top: -16vh; /* Position above the icon */
	}
}
