html, body {
    height: 100%; /* Ensure the body takes up the full height of the viewport */
    margin: 0; /* Remove default margin */
}


header{
   background:#4CAF50;  
       width:100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    
}


.page-wrap{
    padding: 2rem 0;
    /*height: 100px;*/
    /*position: relative;*/
    
    flex: 1; /* Allow the main content to grow and fill the available space */
    padding-bottom: 80px; /* Add padding to prevent content from being hidden behind the footer */
    display: flex;   
    
}

.container{
    font-family: tiempos, georgia, serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5em;
    
}

/* Website Title */
.site-title {
    position: absolute; /* Position the title absolutely within the header-image */
    top: 50px; /* Adjust the distance from the top */
    left: 30%; /* Position horizontally, set 50% for center */
    transform: translateX(-60%); /* Position horizontally, set -50% for center */
    color: white; /* Set text color */
    font-size: 48px; /* Set font size */
    font-family: /*Poppins,*/montserrat, sans-serif; /* Set font family */
    font-weight: bold; /* Make text bold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a text shadow for better visibility */
    z-index: 0; /* Ensure the title is hidden under the background image and menu for SOE purpose */
}


header .top-bar{
    
    position: absolute; /* Position the menu absolutely within the header-image */
    bottom: 0; /* Align to the bottom edge */
    left: 0; /* Align to the left edge */
    width: 100%; /* Full width */
    height: 60px;
    display: flex; /* Make the <ul> a flex container */
    z-index: 2; /* Ensure the menu is above the background image */
    background: rgba(103, 188, 92, 0.5); /* Optional: Add a semi-transparent background */
    padding: 20px; /* Optional: Add padding for better spacing */
    margin-bottom: 0;
    box-sizing: border-box; /* Ensure padding is included in the width */
    justify-content:center; /* Center the menu items horizontally */
}

header .container{
    
    display: flex;
    justify-content: center;
    align-items:center;
    width: 100%;
    max-width: 100% !important; /* Override Bootstrap's max-width */
    height:250px;
    position:relative;
}

/* Menu List */
header .top-bar li {
    list-style:none; /* Remove default list styling */
    margin: 0;
    padding: 0;
    
}


header .top-bar li a {
    padding: .25rem 1rem;
    color: floralwhite;
    text-decoration: none;
    font-size: 20px; /* Set font size */
    font-family: Roboto, sans-serif; /* Set font family */
}

header .top-bar li a:hover {
    
    color: #333; /* Dark text color */
}

header .top-bar li:first-child a {
    
    padding-left: 0;
    
}

header .top-bar li:last-child a {
    
    padding-right: 0;
    
}

/* Background Image */
.header-image {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size:cover;
    background-position: center;
    z-index: 1;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)); /* Default gradient 0-1, 1=full opaque, to bottom can make it verticle gradient */
    z-index: 2;
}

/* Blog Title and Home button */
.site-title a {
    color: white; /* Set link color */
    text-decoration: none; /* Remove underline */
}

.site-title a:hover {
    color: #67bc5c; /* Change link color on hover */
}

.home-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 20px; /* Adjust font size for text */
    font-family: Roboto, sans-serif; /* Set font family */
    color: floralwhite;
    text-decoration: none;
    z-index: 4;
}

.home-button:hover {
    color: #67bc5c;
}

/* Footer */
.site-footer {
    width: 100%;
    background-color: #1c4c2a; /* Set background color */
    color: white; /* Set text color */
    text-align: center; /* Center the text */
    padding: 20px 0; /* Add padding */
    /*position: absolute; /* Position the footer absolutely within the .page-wrap container */
    z-index: 10; /* Ensure the footer is above other content */
    bottom: 0;
    left:0;
}

.footer-content p {
    margin: 0; /* Remove default margin */
    font-size: 14px; /* Set font size */
    font-family: 'Arial', sans-serif; /* Set font family */
}


/* Tags */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}
.badge-success {
    color: #fff;
    background-color: #67bc5c;
}

.badge-success:hover {
    color: #fff;
    background-color: #1c4c2a;
}

/* Featured Image */

.featured-image {
    margin: 20px 0; /* Adds space above and below the image */
    text-align: center; /* Centers the image */
}

.featured-image img {
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

.featured-image-caption {
    margin-top: 10px; /* Space between image and caption */
    font-style: italic; /* Italicize the caption */
    color: #666; /* Gray color for the caption */
    font-size: 0.9em; /* Slightly smaller font size */
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center; /* Center the pagination horizontally */
}

.pagination .page-numbers {
    padding: 5px 10px;
    margin: 0 2px;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: #333;
}

.pagination .page-numbers.current {
    background-color: #1c4c2a;
    color: #fff;
    border-color: #0073aa;
}

.pagination .page-numbers:hover {
    background-color: #ddd;
}

/* Blog Content */

.blog-content{
    
    display: flex; /* Use Flexbox for layout */
    gap: 20px; /* Space between content and sidebar */
    max-width: 1200px; /* Set a max width for the container */
    margin:0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
}

.hed-heading {
    color: #111;
    text-decoration: none;
}

.hed-heading>.hed {
    font-size: 2.6em;
    font-weight: 600;
    line-height: 1.15em;
}

.hed-heading+.dek-heading {
    margin: .25em 0 1em;
}

.hed-heading+.dek-heading {
    font-family: Tiempos Headline, georgia, serif;
    font-weight: 200;
    margin-top: 1em;
}

dek-heading, .dek-heading a {
    color: #111;
    text-decoration: none;
}

.dek-heading {
    font-size: 1.1em;
    line-height: 1.25em;
}

.post-date {
    
    font-family: roboto, serif;
}


/* Blog Sidebar*/
.blog-sidebar {
    width: 300px; /* Fixed width for the sidebar */
    flex-shrink:0; /* Prevent the sidebar from shrinking */
    flex-grow: 0; /* Prevent the sidebar from growing */
    list-style: none; /* Remove bullet points */
    background-color: #f9f9f9; /* Light background */
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #ddd; /* Subtle border */
    padding-left: 10px;
    padding-right: 10px;
}

.widget_recent_entries {
    
    margin-top: 40px;
    
}

.widget_recent_entries ul {
	list-style: none; /* Remove bullet points */
	padding: 0; /* Remove default padding */
	margin: 0; /* Remove default margin */
	  
}

.widget_recent_entries ul li {
    padding-left: 0; /* Remove any leftover padding */
    border-bottom: 1px solid #ddd; /* Gray straight line */
    padding-bottom: 10px; /* Space below each entry */
    margin-bottom: 10px; /* Space between entries */
}

.widgettitle {
    
    justify-content: center;
    color: #1c4c2a;
    padding-bottom: 10px;
	  padding-top: 10px;
    
}

.wp-block-button__link {
    color: #fff;
    background-color: #1c4c2a;
    border-radius: 8px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}

.wp-block-button__link {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    word-break: break-word;
}

/* Comment */

.comment-respond {
    
    margin-top: 20px;
}

.comment-reply-title {
    
    color: #1c4c2a;
    font-family: roboto, serif;
     
}

.comment-form {
    
    font-family: roboto, serif;
}

.submit {
    
    padding: 5px 10px;
    margin: 0 2px;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: #333;   
}


.submit:hover {
    
   background-color:#ddd; 
}


#comments {
    
    margin-top: 20px;
    font-family: roboto, serif;
    font-size: 20px;
    border-top: 1px solid #ddd;
    
}


/* Post Navigation */

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px; /* Space above the navigation */
    gap: 20px; /* Space between previous and next posts */
}

.post-navigation a {
    text-decoration: none; /* Remove underline from all links inside post-navigation */
}

.post-navigation a:hover {
    text-decoration: none; /* Ensure underline doesn't reappear on hover */
}

.nav-previous, .nav-next {
    flex: 1;
    border: 1px solid #ddd; /* Subtle border */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    transition: box-shadow 0.3s ease; /* Smooth hover effect */
}

.nav-previous:hover, .nav-next:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow on hover */
}

.nav-content {
    display: flex;
    align-items: center; /* Vertically center the thumbnail and title */
    gap: 15px; /* Space between thumbnail and title */
}

.nav-thumbnail img {
    width: 300px; /* Fixed width */
    height: 200px; /* Fixed height */
    border-radius: 4px; /* Rounded corners for the image */
    object-fit: cover; /* Ensure the image covers the area without stretching */
}

.nav-text {
    display: flex;
    flex-direction: column; /* Stack label and title vertically */
    justify-content: center; /* Vertically center the text */
}

.nav-title {
    font-size: 1.1em; /* Slightly larger font size */
    font-weight: bold; /* Bold title */
    color: #333; /* Dark text color */
    flex: 1; /* Allow the title to take up remaining space */
}

.nav-label {
    font-size: 0.9em;
    color: #1c4c2a;
    margin-bottom: 5px;
}

/* About Book Page */
.about-page{
    
    /*display:block; */
    flex: 0.7 0; 
    max-width: 1000px; /* Set a max width for the container */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
    overflow: hidden; /* Clear floats */
}

.about-page .featured-image {
    float: left; /* Float the image to the left */
    margin: 10px 30px 0 10px; /* Add some margin for spacing */
    max-width: 50%; /* Adjust the width as needed */
}

.about-page .first-paragraph {
    overflow: hidden; /* Ensure the text wraps around the image */
}

.about-page .first-paragraph::first-letter {
    font-size: 3em; /* Adjust the size as needed */
    font-weight: bold; /* Make it bold if desired */
    float: left; /* Float the letter to the left */
    line-height: 1; /* Adjust line height for better alignment */
    margin-right: 5px; /* Add some spacing between the letter and the rest of the text */
    text-transform: capitalize; /* Ensure the letter is capitalized */
}