/* General body styling */
body {
    background-image: url('/images/blue-skies.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light grey text for readability */
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
}

/* Header styling with Audiowide font */
h1, h2, h3 {
    font-family: 'Audiowide', sans-serif;
    color: #ffffff; /* White text */
    margin-bottom: 20px;
}

/* Center the main content */
.container {
    max-width: none !important;
    width: 100%;
    margin: 0 auto;
}

/* Search bar styling */
form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

form input[type="text"] {
    width: 60%; /* Reduce width */
    padding: 10px;
    background-color: #2c2c2c; /* Dark gray background */
    border: 1px solid #555555; /* Subtle border */
    border-radius: 4px 0 0 4px; /* Rounded edges on left */
    color: #e0e0e0; /* Light grey text */
}

form button {
    padding: 10px 20px;
    background-color: #1e1e1e; /* Darker background */
    border: 1px solid #555555;
    color: #ffffff; /* White text */
    cursor: pointer;
    border-radius: 0 4px 4px 0; /* Rounded edges on right */
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555555; /* Gray hover effect */
}

/* Category section styling */
.category-section {
    background-color: #1c1c1c; /* Darker gray for sections */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #333333; /* Subtle border */
}

.article-prev {
    background-color: #2c2c2c; /* Dark gray background for articles */
    padding: 15px;
    border-radius: 4px 0 0 4px; /* Rounded edges on left */
}

/* Article links */
.category-section a {
    text-decoration: none;
    color: #ffffff; /* White text for titles */
    transition: color 0.3s ease;
}

.category-section a:hover {
    color: #00b4d8; /* Slight blue for hover */
}

/* Article details */
.category-section li {
    background-color: #2c2c2c; /* Dark gray background for articles */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    list-style-type: none;
}

.category-section li:hover {
    background-color: #333333; /* Slightly lighter on hover */
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 20px 0;
}

/* Pagination */
/* Base style for pagination */
.pagination a {
    background-color: #333333; /* Dark background */
    color: #ffffff; /* White text */
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 5px;
    border: 1px solid #444; /* Border to define the buttons */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for pagination */
.pagination a:hover {
    background-color: #555555; /* Slightly lighter on hover */
    color: #ffffff; /* Keep white text */
}

/* Active page number style */
.pagination a.active {
    background-color: #272727; /* Darker active button */
    color: #ffffff; /* Keep white text */
    border: 1px solid #666666; /* Adjust border to differentiate active button */
}

/* Chevron style adjustment */
.pagination a.active:before, .pagination a.active:after {
    content: ''; /* Remove chevron content */
}
/* Image preview */
img {
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Slight shadow */
    margin-right: 10px;
}

.force-left-align {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Styling for tags */
/* Styling for tags */
.tag-container {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background-color: #000000; /* Dark background */
    color: #ffffff; /* White text for contrast */
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Hover effect to change background color */
.tag:hover {
    background-color: #272727; /* Bright blue on hover */
    color: #ffffff; /* Dark text on hover for better contrast */
}

/* For highlighted tags (e.g., when selected or focused) */
.tag:focus, .tag:active {
    background-color: #000000; /* Darker blue for active state */
    color: #ffffff; /* White text */
}


/* Footer */
.footer-banner {
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    color: #DDDDDD;
    background-color: #000000;
    border-top: 1px solid #555555;
    text-align:center;
    padding:10px;
    bottom: 0;
    width: 100%;
    z-index: 0;
    font-size: 14px;
  }