.blog-header {
    margin-bottom: 30px;
    position: relative;
}

.blog-header img.master-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.blog-header .image-caption {
    text-align: left;
    margin-top: 10px;
    color: #555;
    font-size: 13px;
}

.blog-header .heading {
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.blog-header .overview {
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-style: italic;
}
.blog-header .subheading {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #2877c5;
}

.blog-header .description {
    font-size: 15px;
    margin-top: 10px;
    color: #666;
}

.blog-header .meta-info {
    font-size: 13px;
    color: #888;
}
.blog-header .meta-info strong {
    font-size: 14px;
}

.blog-posts .blog-post {
    margin-bottom: 30px;
}

.blog-posts .blog-post h2 {
    font-size: 1.75rem;
    color: #333;
}

.blog-posts .blog-post p {
    font-size: 1.1rem;
    color: #666;
}
.recent {
    font-size: 20px;
}
.related-posts .post-item {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 0.5px solid #d7d1d1; /* Black bottom border */
    box-shadow: 0 1px 2px rgba(155, 155, 155, 0.1); /* Slight shadow effect */
}
.sidebar {
    padding: 15px;
}

.search-container {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    padding: 10px;
    border-radius: 25px 0 0 25px;
    border: 1px solid #ddd;
}

.search-submit {
    padding: 10px 15px;
    border-radius: 0 25px 25px 0;
    border: 1px solid #ddd;
    background-color: #2E77C5;
    color: white;
    border-left: none;
    cursor: pointer;
    font-size: 1rem;
}

.search-submit:hover {
    background-color: #013165;
}

.related-posts h3 {
    margin-bottom: 15px;
    color: #333;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts ul li {
    margin-bottom: 10px;
}

.related-posts ul li a {
    text-decoration: none;
    color: #2E77C5;
    font-size: 18px;
    font-weight: 600; /* Semi-bold font weight */

}

.related-posts ul li a:hover {
    /* text-decoration: underline; */
    color: #013165;
}

.no-posts {
    font-size: 1.2rem;
    color: #888;
}

.no-results {
    font-size: 1rem;
    color: #888;
}


.meta-info strong {
    color: #2877c5; /* Blue color for labels */
    font-weight: 600; 
    font-size: 8px;

}
/* Container for the share button and icons */
.share-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align the button and icons to the left */
    gap: 5px; /* Space between the share button and the icons */
}

/* Style for the Share button */
#customShareButton {
    color: #ffffff;
    background-color: #2E77C5;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 0; /* Align to the left */
}
/* Hover effect for the Share button */
#customShareButton:hover {
    background-color: #0056b3; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}

/* Focus effect for the Share button */
#customShareButton:focus {
    outline: none; 
    box-shadow: none;
}

/* Style for the share dialog */
#shareDialog {
    display: none; /* Initially hidden */
    gap: 10px; /* Space between icons */
    align-items: center; /* Center icons vertically */
    margin-top: 0; /* Align icons with the Share button */
    margin-left: 0; /* Align with the Share button */
    margin-bottom: 10px;
    justify-content: flex-end; /* Align icons to the left */ 
}


/* Style for each icon link */
#shareDialog a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    text-decoration: none;
    transition: transform 0.3s;
}


/* Hover effect for icons */
#shareDialog a:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Icon color */
#shareDialog i, #shareDialog svg {
    font-size: 18px;
    color: #fff; /* White icon color for contrast */
}

/* Individual background colors */
#shareDialog a[href*="mailto"] {
    background-color: #5959c3; /* Red for email */
}

#shareDialog a[href*="x.com"] {
    background-image: linear-gradient( rgb(89, 88, 88), black)  /* Black for X (Twitter) */
}
#shareDialog a[href*="x.com"] svg {
    fill: white; /* White color for the icon */
}
#shareDialog a[href*="facebook"] {
    background-color: #375899; /* Blue for Facebook */
}

#shareDialog a[href*="whatsapp"] {
    background-color: #25D366; /* Green for WhatsApp */
}

#shareDialog a[href*="pinterest"] {
    background-color: #E60023; /* Red for Pinterest */
}
#shareDialog a[href*="linkedin"]{
    background-color: #0263cb;
}
#copyLinkButton i {
    color: grey;
}

/* Show the share dialog when the share button is clicked */
#customShareButton.active + #shareDialog {
    display: flex;
}
.pagination {
    display: flex;
    justify-content: center; /* Center align the pagination */
    margin-top: 20px; /* Add some space above the pagination */
}

.pagination .step-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination .step-links a,
.pagination .step-links .current {
    padding: 4px 8px; /* Padding around the buttons */
    margin: 0 4px; /* Space between buttons */
    background-color: transparent; /* Background color for buttons */
    color: rgb(16, 15, 15); /* Text color for buttons */
    text-decoration: none; /* Remove underline from links */
    border: 1px solid #ddd; /* Light border for buttons */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
}

.pagination .step-links .current {
    background-color: #f18e1d; /* Highlight color for the current page */
    color: white; /* Text color for the current page */
    cursor: default; /* No pointer cursor on the current page */
    border: 1px solid #f18e1d; /* Border color for the current page */
}

.pagination .step-links a:hover,
.pagination .step-links a:focus {
    background-color: #f18e1d; /* Background color on hover and focus */
    color: white; /* Text color on hover and focus */
    border-color: #f18e1d; /* Border color on hover and focus */
    outline: none; /* Remove default outline */
}

.pagination .step-links a[disabled],
.pagination .step-links a[disabled]:hover {
    background-color: #ccc; /* Disabled button color */
    color: #3b3a3a; /* Disabled text color */
    cursor: not-allowed; /* Change cursor to not-allowed */
    border: 1px solid #ccc; /* Border color for disabled buttons */
}

/* Media Queries */

/* Small screens (e.g., mobile devices) */
@media (max-width: 576px) {
    .pagination {
        margin-top: 10px; /* Reduce space above pagination */
    }
    
    .pagination .step-links {
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        justify-content: center; /* Center align items */
    }
    
    .pagination .step-links a,
    .pagination .step-links .current {
        padding: 6px 12px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Reduce font size for smaller screens */
        margin: 2px; /* Reduce margin between buttons */
    }
}

/* Extra small screens (e.g., very small mobile devices) */
@media (max-width: 400px) {
    .pagination .step-links a,
    .pagination .step-links .current {
        padding: 4px 8px; /* Further reduce padding */
        font-size: 12px; /* Further reduce font size */
        margin: 1px; /* Further reduce margin between buttons */
    }
}