/*
Theme Name: SarkariNaukri24 Master
Theme URI: https://sarkarinaukri24.in.net/
Author: WebSpherex Studio
Author URI: https://webspherex.xyz/
Description: Complete, robust Sarkari Naukri portal theme with category archive templates, highlighted in-article links, zero-crop mobile layout, and clean home notice.
Version: 10.0
License: GNU General Public License v2 or later
Text Domain: sarkarinaukri24
*/

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

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.site-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* TOP STATUS BAR */
.top-bar {
    background: #0d233a;
    color: #cbd5e1;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MAIN HEADER */
.main-header {
    background: #ffffff;
    border-bottom: 3px solid #b71c1c;
    padding: 16px 0;
    text-align: center;
}
.brand-name {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.brand-name .part1 { color: #0d233a; }
.brand-name .part2 { color: #b71c1c; }
.brand-tagline {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #555555;
    font-weight: 500;
}

/* NAVIGATION (SWIPEABLE HORIZONTAL LIST ON MOBILE) */
.nav-wrapper {
    background: #0d233a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar {
    display: none;
}
.nav-list li {
    flex: 0 0 auto;
}
.nav-list a {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-list a:hover,
.nav-list a:focus {
    background: #b71c1c;
}

/* BREAKING STRIP */
.breaking-strip {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    margin: 14px 0;
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    height: 42px;
}
.breaking-tag {
    background: #b71c1c;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.breaking-content {
    flex-grow: 1;
    overflow: hidden;
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.breaking-content a {
    color: #0d233a;
}
.breaking-content a:hover {
    color: #b71c1c;
}

/* HOME NOTICE ALERT BOX (ZERO IMAGE - NEVER CROPPED) */
.hero-notice {
    background: linear-gradient(135deg, #0b1e33 0%, #1a3c61 100%);
    border-left: 6px solid #ffcc00;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 14px 0 20px 0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.notice-pill {
    background: #b71c1c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.notice-heading {
    margin: 0 0 12px 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}
.notice-heading a {
    color: #ffeb3b;
}
.notice-heading a:hover {
    text-decoration: underline;
}
.notice-btn {
    display: inline-block;
    background: #ffcc00;
    color: #0b1e33;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.notice-btn:hover {
    background: #ffd633;
}

/* CATEGORY ACTION TILES */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.tile-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 8px;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer !important;
}
.tile-btn span.sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 3px;
}
.tile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.tile-red    { background: #c62828; }
.tile-green  { background: #2e7d32; }
.tile-purple { background: #6a1b9a; }
.tile-orange { background: #e65100; }
.tile-teal   { background: #00695c; }
.tile-blue   { background: #1565c0; }
.tile-pink   { background: #ad1457; }
.tile-cyan   { background: #00838f; }

/* 3-COLUMN PORTAL SECTION */
.portal-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 25px;
}
.portal-box {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #d5dbdb;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.box-head {
    color: #ffffff;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box-head a.view-more {
    font-size: 11px;
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}
.head-result { background: #2e7d32; }
.head-admit  { background: #6a1b9a; }
.head-jobs   { background: #c62828; }

.box-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.box-list li {
    border-bottom: 1px solid #eeeeee;
    padding: 11px 12px;
    display: flex;
    align-items: flex-start;
    line-height: 1.45;
}
.box-list li:last-child {
    border-bottom: none;
}
.bullet {
    color: #b71c1c;
    font-weight: 900;
    margin-right: 8px;
    font-size: 14px;
}
.box-list a {
    color: #0b3c5d;
    font-size: 13.5px;
    font-weight: 600;
    flex-grow: 1;
}
.box-list a:hover {
    color: #c62828;
    text-decoration: underline;
}

/* CATEGORY & ARCHIVE PAGE */
.archive-header {
    background: #0d233a;
    color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    margin: 18px 0;
    border-left: 6px solid #b71c1c;
}
.archive-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}
.archive-card-list {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #d5dbdb;
    overflow: hidden;
    margin-bottom: 25px;
}
.archive-item {
    border-bottom: 1px solid #eeeeee;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.archive-item:last-child {
    border-bottom: none;
}
.archive-item a {
    color: #0b3c5d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.archive-item a:hover {
    color: #b71c1c;
    text-decoration: underline;
}
.archive-date {
    font-size: 12px;
    color: #777;
    margin-left: 12px;
    white-space: nowrap;
}

/* SINGLE ARTICLE POST WITH IMAGE & HIGHLIGHTED LINKS */
.article-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid #d5dbdb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.article-h1 {
    font-size: 24px;
    font-weight: 900;
    color: #0d233a;
    margin: 0 0 14px 0;
    line-height: 1.35;
}
.article-meta {
    font-size: 12.5px;
    color: #666;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e0e0e0;
}
.article-feat-img {
    width: 100%;
    margin-bottom: 22px;
    border-radius: 6px;
    overflow: hidden;
}
.article-feat-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* In-Article Link Styling (Distinctive Blue + Underline + Hover Highlight) */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}
.article-body a {
    color: #0056b3 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
}
.article-body a:hover {
    color: #c62828 !important;
    text-decoration-color: #c62828 !important;
    background-color: #fff3cd;
}

/* Table Actions (Click Here, Apply Now Buttons) */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.article-body table,
.article-body th,
.article-body td {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    vertical-align: middle;
}
.article-body th {
    background: #0d233a;
    color: #ffffff;
    font-weight: 700;
}
.article-body tr:nth-child(even) {
    background-color: #f8fafc;
}
.article-body td a {
    display: inline-block !important;
    background: #0056b3 !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,86,179,0.3) !important;
    margin: 3px 0 !important;
}
.article-body td a:hover {
    background: #c62828 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 6px rgba(198,40,40,0.4) !important;
    transform: translateY(-1px);
}

/* FOOTER */
.site-footer {
    background: #0d233a;
    color: #e2e8f0;
    padding: 30px 0 20px 0;
    text-align: center;
    border-top: 4px solid #b71c1c;
    margin-top: 30px;
}
.footer-links {
    margin-bottom: 15px;
}
.footer-links a {
    color: #ffcc00;
    margin: 0 10px;
    font-size: 13px;
    font-weight: 600;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-cr {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 900px) {
    .portal-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-name {
        font-size: 24px;
    }
    .notice-heading {
        font-size: 17px;
    }
    .top-bar {
        display: none;
    }
    .article-card {
        padding: 16px 12px;
    }
    .article-h1 {
        font-size: 20px;
    }
    .archive-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .archive-date {
        margin-left: 0;
    }
}
