/* Set the entire page background color to black */
body {
    background-color: #000; /* Black background */
    color: #fff; /* Ensure text is visible against black background */
}

/* Style for the entire slider section */
.featured-section {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px; /* Reduced padding to move slider closer to the buttons */
    padding-left: 15px; /* Slightly reduced padding on the left */
    padding-right: 15px; /* Slightly reduced padding on the right */
}

/* Custom styles for post items */
.post-item {
    background-color: #fff; /* White background */
    position: relative;
    text-align: center;
    padding: 0;
    margin-bottom: 10px;
}

.post-image {
    position: relative;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #4b0082; /* Dark purple background for the tag button */
    color: #fff; /* White text */
    border: none;
    padding: 5px 10px;
    font-size: 12px; /* Smaller font size for the tag button */
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure the button is on top of other elements */
}

.post-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    text-shadow: 1px 1px 2px #000; /* Dark black outline around the text */
}

.post-details h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px #000; /* Dark black outline around the text */
}

/* Style for the custom navigation buttons */
.custom-nav {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000; /* Ensure buttons are on top */
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Space out text and buttons */
    width: calc(100% - 30px); /* Slightly reduced width to match padding */
    padding: 0 15px; /* Slightly reduced padding to match section */
}

.custom-nav .button-group {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between; /* Space between text and buttons */
}

.custom-nav .button-group .label {
    font-weight: bold;
    color: #fff; /* Text color to match the page background */
    font-size: 24px; /* Larger font size to resemble a heading */
    line-height: 32px; /* Match button height */
    display: flex; /* Use Flexbox for vertical alignment */
    align-items: center; /* Center text vertically */
    margin-right: auto; /* Push text to the left */
    position: relative; /* For the pseudo-element */
    padding-left: 15px; /* Space for the vertical line */
}

.custom-nav .button-group .label::before {
    content: ''; /* Empty content for the pseudo-element */
    position: absolute;
    left: 0; /* Position the line on the left */
    top: 0;
    bottom: 0;
    width: 5px; /* Width of the vertical line */
    background-color: #4b0082; /* Dark purple color for the line */
}

.custom-nav .button-group button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 6px 12px; /* Adjust padding to decrease button size */
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px; /* Font size for the buttons */
}

.custom-nav .button-group button:hover {
    background-color: #555;
}

.custom-nav .button-group .prev_action i {
    transform: rotate(180deg); /* Rotate icon to face left */
}
