/*
Theme Name: akshay sarwa
Theme URI: https://sarkarivasta.com
Author: Akshay Sarwa
Author URI: https://sarkarivasta.com
Description: A custom WordPress theme for job portal with editable job grid and content sections.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sksarwa
Tags: jobs, portal, custom-grid, content-sections

This theme, like WordPress, is licensed under the GPL.
*/

body {
    font-family: 'Segoe UI', 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffcc;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.header {
    background-color: #3366cc;
    text-align: center;
    padding: 15px;
    color: white;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.header-tagline {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.9;
}

.header .custom-logo-link {
    display: inline-block;
    vertical-align: middle;
}

.header img.custom-logo {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    width: auto;
    max-height: 90px;
    height: auto;
}

.menu {
    background-color: black;
    text-align: center;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

 .sub-header {
       background-color: black;
       text-align: center;
       padding: 5px 0;
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
}

.sub-header a {
    color: white;
    text-decoration: none;
    margin: 5px 5px;
    font-size: 18px;
    font-weight: 600;
}

.sub-header a:hover {
    color: #ffcc00;
    text-decoration: underline;
}



.search-box {
    background-color: purple;
    padding: 10px;
    text-align: center;
}

.search-box input {
    width: 70%;
    max-width: 300px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.search-box button {
    padding: 8px 14px;
    border: none;
    background-color: #ffcc00;
    color: black;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #ff9900;
}

/* Applications Grid Section - Small Boxes */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3px;
    padding: 5px;
}

.application-item {
    padding: 8px 6px;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.application-item h3 a,
.application-item p {
    overflow-wrap: break-word;
    word-break: break-word;
}

.application-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.application-item h3 {
    margin: 0 0 4px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    overflow-wrap: break-word;
    word-break: break-word;
}

.application-item h3 a {
    color: white;
    text-decoration: none;
}

.application-item h3 a:hover {
    text-decoration: underline;
}

.application-item p {
    margin: 0;
    font-size: 11px;
    color: white;
    font-weight: 600;
}

/* Unique Colors for Each Box */
.application-item:nth-child(4n+1) {
    background-color: #12aa12; /* Green */
}

.application-item:nth-child(4n+2) {
    background-color: #95408b; /* Purple */
}

.application-item:nth-child(4n+3) {
    background-color: #004380; /* Dark Blue */
}

.application-item:nth-child(4n+4) {
    background-color: #3a1e9f; /* Indigo */
}

/* Content Sections */
.content-section {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
}

.content-box {
    width: 48%;
    padding: 10px;
    border: 1px solid #ccc;
}

.content-box h2 {
    background-color: #3366cc;
    color: white;
    text-align: center;
    padding: 0px;
    margin: 0;
}

.content-box ul {
    list-style: none;
    padding: 10px;
}

.content-box ul li {
    margin-bottom: 10px;
    font-size: 12px;
}

.content-box ul li a {
    text-decoration: none;
    color: blue;
}

.content-box ul li span {
    color: red;
    font-weight: bold;
}

/* Container Styles */
.content-container {
    padding: 10px;
    max-width: 1200px;
    margin: auto;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px;
}

/* Section Styles */
.section {
    background-color: white;
    padding: 16px;
    border: 1px solid #999;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    position: relative;
}

.section h2 {
    background-color: #3366cc;
    margin: -17px -17px 12px -17px;
    padding: 3px 10px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0;
}

.section h2 a {
    color: #ffffff;
}

.custom-list {
    list-style: disc;
    padding: 0 0 0 20px;
}

.custom-list li {
    margin-bottom: 8px;
      border-bottom: 1px solid #ddd;
      padding: 3px 0;
      margin-right: -20px;
      margin-left: 0px;
}

.category-archive-list li {
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #ddd;
}

.custom-list li a {
    color:  #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.custom-list li a:hover {
    color: #003366;
    text-decoration: underline;
}

.section-new-tag {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    font-size: 10px;
    margin-left: 5px;
}

.view-more {
    display: block;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: -15px;
    padding: 8px;
    background-color: #3b5cc9;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
}

.view-more:hover {
    background-color: #2d4ab0;
    color: white;
}

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

.pagination .page-numbers,
.pagination-nav .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    background-color: #eee;
    color: #333;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
}

.pagination .page-numbers.current,
.pagination-nav .page-numbers.current {
    background-color: #3b5cc9;
    color: white;
}

.pagination .page-numbers:hover:not(.current),
.pagination-nav .page-numbers:hover:not(.current) {
    background-color: #ddd;
}

/* Search Results */
.search-query {
    font-weight: 400;
}

.search-result-count {
    font-size: 13px;
    color: #555555;
    margin: 0 0 12px;
}

/* No Results + 404 */
.no-results {
    text-align: center;
    padding: 15px 0 10px;
}

.no-results h2 {
    color: #333333;
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.no-results p {
    color: #555555;
    margin: 0 auto 14px;
    max-width: 480px;
}

.error-404 {
    padding: 5px 0 15px;
}

.error-404 h2 {
    font-size: 1.25rem;
}

.error-404-title {
    margin: 18px 0 10px;
    font-size: 1.1rem;
    color: #333333;
}

.search-suggest-title {
    margin: 18px auto 10px;
    font-size: 1.1rem;
    color: #333333;
}

/* AJAX Numbered Pagination */
.sksarwa-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 5px;
}

.sksarwa-page {
    display: inline-block;
    padding: 7px 13px;
    background-color: #eee;
    color: #333;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sksarwa-page:hover:not(:disabled):not(.current) {
    background-color: #ddd;
}

.sksarwa-page.current {
    background-color: #3b5cc9;
    color: #ffffff;
    cursor: default;
}

.sksarwa-page:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Article Text Section - Above Footer (like sarkariresult.com) */
.articles-section {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #dfe3ec;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.articles-title {
    background: linear-gradient(90deg, #3366cc 0%, #4a82e0 100%);
    color: #ffffff;
    padding: 11px 14px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0;
    margin: 0;
}

.article-text {
    padding: 14px 18px 18px 18px;
}

.article-text p {
    margin: 0 0 13px;
    font-size: 15px;
    line-height: 1.8;
    color: #3d3d3d;
    text-align: justify;
}

.article-text p:last-child {
    margin-bottom: 0;
}

/* Two Column Layout - Content + Sidebar */
.page-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.layout-main {
    flex: 1;
    min-width: 0;
}

.layout-sidebar {
    width: 300px;
    flex-shrink: 0;
}

body.sksarwa-sticky-sidebar .layout-sidebar {
    position: sticky;
    top: 15px;
    align-self: flex-start;
}

body.sksarwa-no-sidebar .layout-main {
    width: 100%;
}

@media (max-width: 768px) {
    body.sksarwa-sticky-sidebar .layout-sidebar {
        position: static;
    }
}

.layout-sidebar .widget {
    background: #ffffff;
    border: 1px solid #999;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.layout-sidebar .widget-title {
    background-color: #3366cc;
    color: #ffffff;
    margin: 0;
    padding: 9px 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.layout-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
}

.layout-sidebar .widget ul li {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dotted #ddd;
    font-size: 14px;
}

.layout-sidebar .widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.layout-sidebar .widget ul li a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.layout-sidebar .widget ul li a:hover {
    color: #003366;
    text-decoration: underline;
}

.layout-sidebar .widget input[type="text"],
.layout-sidebar .widget input[type="search"] {
    width: 90%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.layout-sidebar .widget input[type="submit"],
.layout-sidebar .widget button {
    background-color: #3b5cc9;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
}

/* Single Post Title - Plain Default h1 */
.section h1.single-title {
    background: transparent;
    margin: 0 0 18px 0;
    padding: 0;
    color: #222222;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.2px;
    text-align: left;
    border: none;
    text-transform: none;
}

/* Job Post - sarkariresult style */
.job-post-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}

.post-date-chip {
    display: inline-block;
    background-color: #ff9900;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
}

.post-update-chip {
    display: inline-block;
    background-color: #95408b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
}

.job-share-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-share {
    display: inline-block;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 24px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.job-share:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}

.job-share-telegram {
    background-color: #0088cc;
}

.job-share-whatsapp {
    background-color: #25d366;
}

.job-share-facebook {
    background-color: #3b5998;
}

.job-share-x {
    background-color: #111111;
}

.job-box {
    background: #ffffff;
    border: 1px solid #999;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.job-box-title {
    background-color: #3366cc;
    color: #ffffff;
    margin: 0;
    padding: 9px 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.job-box .job-excerpt {
    margin: 12px 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

.post-meta {
    margin-bottom: 15px;
    font-size: 13.5px;
    color: #555555;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.post-meta .post-categories,
.post-meta .post-tags {
    background-color: #f1f5ff;
    border: 1px solid #d0d9f0;
    border-radius: 20px;
    padding: 5px 14px;
    font-weight: 600;
    color: #444444;
    display: inline-block;
}

.post-meta a {
    color: #3366cc;
    font-weight: 600;
    text-decoration: none;
}

.post-meta a:hover {
    color: #1e3f8f;
    text-decoration: underline;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    display: block;
    margin: 0 auto;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
    max-width: 100%;
    height: auto;
}

.entry-content pre {
    overflow-x: auto;
    max-width: 100%;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.2px;
    color: #333333;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.entry-content p {
    margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 18px;
    padding-left: 26px;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.entry-content li ul,
.entry-content li ol {
    margin-bottom: 0;
}

.entry-content a {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-color: rgba(0, 102, 204, 0.35);
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #003d8f;
    text-decoration-color: #003d8f;
}

.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #222222;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #222222;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-transform: none;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* Override the section title bar style for in-content headings */
.entry-content h2 {
    font-size: 1.4rem;
    margin: 28px 0 14px;
    padding: 0;
}

.entry-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
    padding: 0;
}

.entry-content h4 {
    font-size: 1.05rem;
    margin: 20px 0 10px;
    padding: 0;
}

.entry-content h5,
.entry-content h6 {
    font-size: 1rem;
    margin: 18px 0 8px;
    padding: 0;
}

.entry-content blockquote {
    margin: 0 0 18px;
    padding: 12px 18px;
    background-color: #f5f8ff;
    border-left: 4px solid #3366cc;
    color: #444444;
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.6;
}

.entry-content th,
.entry-content td {
    border: 1px solid #d4d9e6;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.entry-content th {
    background-color: #f1f5ff;
    color: #222222;
    font-weight: 700;
}

.entry-content img {
    margin: 10px 0;
}

/* Share Buttons Below Article */
.article-share {
    margin: 24px 0 5px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.article-share .share-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-share .job-share-row {
    margin-bottom: 0;
    gap: 10px;
}

/* Post Navigation */
.post-navigation {
    margin: 0 0 12px;
}

.post-navigation .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1 1 48%;
    min-width: 0;
}

.post-navigation .nav-links a {
    display: block;
    padding: 12px 14px;
    background: linear-gradient(90deg, #3b5cc9, #4a82e0);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(59, 92, 201, 0.35);
}

.post-navigation .nav-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 92, 201, 0.45);
}

.post-navigation .nav-next a::after {
    content: ' →';
}

.post-navigation .nav-previous a::before {
    content: '← ';
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 2px;
}

.post-navigation .nav-title {
    font-size: 13.5px;
}

/* Comments Form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.comment-form label {
    display: block;
    margin: 8px 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.comment-form .submit {
    background-color: #3b5cc9;
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

.comment-form .submit:hover {
    background-color: #2d4ab0;
}

.comment-list {
    list-style: none;
    padding: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Comments Area - Polished */
.comments-title,
.comment-reply-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c2f63;
    border-left: 4px solid #3366cc;
    padding-left: 10px;
    margin: 0 0 14px;
}

.comment-list > li.comment,
.comment-list > li.pingback {
    list-style: none;
    padding: 14px;
    background: #fafbfe;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    margin-bottom: 12px;
}

.comment-list .children {
    margin-top: 12px;
    padding-left: 22px;
    list-style: none;
}

.comment-body {
    overflow-wrap: break-word;
}

.comment-author .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 12px;
    border: 2px solid #3366cc;
}

.comment-author {
    font-weight: 700;
    color: #1c2f63;
}

.comment-author .says {
    font-weight: 400;
    color: #888888;
}

.comment-metadata {
    font-size: 12px;
    color: #888888;
    margin-bottom: 8px;
}

.comment-metadata a {
    color: #888888;
}

.comment-metadata a:hover {
    color: #3366cc;
}

.comment-content p {
    margin: 0 0 8px;
}

.reply .comment-reply-link {
    display: inline-block;
    background: #3366cc;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.reply .comment-reply-link:hover {
    background: #2d4ab0;
    color: #ffffff;
}

.comment-form {
    background: #f8f9fc;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 16px;
}

.comment-form textarea {
    min-height: 120px;
}

.comment-form .submit {
    background: linear-gradient(90deg, #3366cc, #4a82e0);
    color: #ffffff;
    border: none;
    padding: 10px 26px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(51, 102, 204, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-form .submit:hover {
    background: linear-gradient(90deg, #2d4ab0, #3b5cc9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(51, 102, 204, 0.45);
}

.related-posts {
    margin-top: 15px;
    background: #f8f9fc;
    border: 1px solid #dfe3ec;
    border-radius: 8px;
    padding: 14px;
}

.related-posts h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #1c2f63;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3366cc;
}

.related-posts .custom-list {
    margin: 0;
}

.related-posts .custom-list li {
    border-bottom: 1px dashed #d4d9e6;
    padding: 7px 0;
}

.related-posts .custom-list li:last-child {
    border-bottom: none;
}

.related-posts .custom-list li a {
    transition: color 0.2s ease;
}

.related-posts .custom-list li a:hover {
    color: #1e3f8f;
}

/* Archive Styles */
.archive-title {
    background-color: #3366cc;
    margin: -17px -17px 15px -17px;
    padding: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.archive-description {
    font-size: 14px;
    color: #555555;
    margin-bottom: 12px;
}

.archive-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-post-list li {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.archive-post-list li a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.archive-post-list li a:hover {
    color: #003366;
    text-decoration: underline;
}

.archive-post-date {
    background-color: #ff9900;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .page-layout {
        flex-direction: column;
    }
    .layout-sidebar {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .archive-post-list li {
        flex-direction: column;
        align-items: flex-start;
    }
.section h1.single-title {
        font-size: 1.3rem;
    }
}

/* Footer Styles */
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    position: relative;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 9px 12px;
    background-color: #5a7bd1;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.nav-links a:hover {
    background-color: #3b5998;
}

.menu {
    list-style-type: none;
    padding: 2px;
    margin: 3px;
    gap: 4px;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .nav-links {
        flex-wrap: wrap;
    }
    .nav-links a {
        flex: 1 1 auto;
        text-align: center;
    }
    .header {
        font-size: 18px;
    }
    .sub-header a {
        font-size: 12px;
    }
    .search-box input {
        width: 50%;
    }
    .container, .content-container {
        padding: 0px;
        padding-top: 8px;
        max-width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-section {
        flex-direction: column;
    }
    .content-box {
        width: 100%;
        margin-bottom: 10px;
    }
    .header {
        font-size: 20px;
        padding: 10px;
    }
    .sub-header a {
        font-size: 16px;
        margin: 5px;
    }
    .search-box input {
        width: 50%;
    }
    .container, .content-container {
        padding: 10px;
        max-width: 100%;
    }
    .section {
        margin: 0;
    }
}

@media (min-width: 901px) {
    .applications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Improved Mobile Responsive */
@media (max-width: 768px) {
    .layout-sidebar {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .content-container {
        padding: 0;
        padding-top: 6px;
        max-width: 100%;
    }
    .header {
        font-size: 22px;
        padding: 12px 8px;
        line-height: 1.3;
    }
    .header-tagline {
        font-size: 11.5px;
        margin-top: 2px;
    }
    .header img.custom-logo {
        max-height: 60px;
    }
    .sub-header {
        padding: 4px 0;
    }
    .sub-header a {
        display: inline-block;
        font-size: 15px;
        margin: 3px 6px;
    }
    .search-box {
        padding: 8px;
    }
    .search-box form {
        display: flex;
        gap: 6px;
        justify-content: center;
    }
    .search-box input {
        flex: 1;
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 9px 10px;
        font-size: 15px;
    }
    .search-box button {
        flex-shrink: 0;
        padding: 9px 12px;
        font-size: 14px;
    }
    .applications-grid {
        gap: 2px;
        padding: 3px;
    }
    .application-item {
        padding: 8px 6px;
        min-height: 80px;
    }
    .application-item h3 {
        font-size: 15.5px;
        line-height: 1.35;
    }
    .application-item p {
        font-size: 12.5px;
        color: #ffff99;
    }
    .grid-container {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .section {
        padding: 14px;
        margin-bottom: 8px;
    }
    /* Article text - full width with only 3px gap on mobile */
    .layout-main .section {
        padding: 3px;
    }
    .section h2 {
        margin: -14px -14px 8px -14px;
        font-size: 1.15rem;
        padding: 2px 6px;
    }
    .custom-list li {
        margin-bottom: 7px;
        margin-right: 0;
        overflow-wrap: break-word;
    }
    .custom-list li a {
        display: inline-block;
        max-width: 100%;
        font-size: 15px;
        vertical-align: top;
    }
    .view-more {
        display: block;
        width: fit-content;
        margin: 0 auto -13px auto;
        font-size: 13px;
        padding: 6px 20px;
    }
    .articles-section {
        margin-top: 10px;
    }
    .articles-title {
        font-size: 1.2rem;
    }
    .article-text {
        padding: 5px 12px 12px 12px;
    }
    .article-text p {
        font-size: 15px;
        line-height: 1.65;
    }
    .section h1.single-title {
        font-size: 1.55rem;
        margin: 0 0 14px 0;
        padding: 0;
    }
    .job-box .job-excerpt {
        margin: 10px 12px;
        font-size: 14.5px;
    }
    .entry-content {
        font-size: 15.5px;
        line-height: 1.75;
    }
    .entry-content h2 {
        margin: 24px 0 12px;
        padding: 0;
        font-size: 1.3rem;
    }
    .job-share {
        flex: 1 1 45%;
        text-align: center;
        font-size: 13px;
        padding: 8px 4px;
    }
    .job-post-top {
        justify-content: center;
    }
    .post-date-chip,
    .post-update-chip {
        font-size: 12px;
        padding: 3px 8px;
    }
    .page-layout {
        flex-direction: column;
        gap: 0;
    }
    .layout-sidebar {
        width: 100%;
    }
    .archive-title {
        margin: -14px -14px 12px -14px;
        padding: 9px 8px;
        font-size: 1.2rem;
    }
    .archive-post-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .archive-post-list li a {
        font-size: 15px;
    }
    .nav-links {
        gap: 6px;
    }
    .nav-links a {
        flex: 1 1 auto;
        text-align: center;
        font-size: 13px;
        padding: 9px 6px;
    }
    .footer {
        padding: 10px 6px;
        font-size: 12px;
    }
    .widget-title {
        font-size: 15px;
    }
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        flex: 1 1 100%;
    }
    .post-navigation .nav-links a {
        font-size: 12px;
        padding: 9px 10px;
    }
    .comment-form .submit {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .application-item h3 {
        font-size: 14px;
    }
    .header {
        font-size: 14px;
    }
}