/*
Theme Name: Sarkari Theme
Theme URI: https://Sarkarinaukari.live/
Author: Rohit
Author URI: https://Sarkarinaukari.live/
Description: A custom theme for job portal websites, based on the Sarkari Naukari layout.
Version: 1.0
*/

/* --- Global Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header --- */
.site-header {
    background-color: #1e3a8a;
    padding: 10px 0;
    text-align: center;
    border-bottom: 5px solid #3b82f6;
}

.site-header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 3em;
    font-weight: bold;
}

.site-header p {
    color: #e5e7eb;
    margin: 5px 0 0;
}

/* --- Navigation --- */
.main-nav {
    background-color: #2563eb;
    color: white;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.main-nav ul li a:hover {
    background-color: #1d4ed8;
}

/* --- Info Columns (3-Column Section) --- */
.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-column {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-column h2 {
    background-color: #1e3a8a;
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1.2em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: center;
}

.info-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-column ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #1e3a8a;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s;
}

.info-column ul li a:hover {
    background-color: #f0f2f5;
}

.info-column ul li:last-child a {
    border-bottom: none;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #1e3a8a;
    color: white;
    margin-top: 30px;
}
/* --- View More Button Styling --- */
.view-more-container {
    text-align: center;
    padding: 15px 0 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.view-more-btn {
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.view-more-btn:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
}
/* --- Archive Page Styling --- */
.archive-title {
    background-color: #1e3a8a;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 20px;
}

.archive-list {
    list-style: none;
    padding: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.archive-list li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    transition: background-color 0.3s;
}

.archive-list li a:hover {
    background-color: #f3f4f6;
}

.archive-list li:last-child a {
    border-bottom: none;
}
/* --- Fix: Keep Sarkari Naukari title white always --- */
.site-header h1 a {
    color: #ffffff;
    text-decoration: none;
}

.site-header h1 a:visited {
    color: #ffffff;
}

.site-header h1 a:hover {
    color: #ffffff ;
}

.site-header h1 a:active {
    color: #ffffff;
}
.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    background: #f1f1f1;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
}

.pagination a:hover {
    background: #0073aa;
    color: #fff;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
}


