/* =========================================================
   NaukariNotice - Clean Main Stylesheet
   Merged and de-duplicated
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    --primary: #8b1538;
    --primary-dark: #68102a;
    --accent: #e9a923;
    --nav-dark: #111827;
    --page-bg: #f3f6fa;
    --card-bg: #ffffff;
    --text-main: #172033;
    --text-muted: #64748b;
    --link: #174ea6;
    --link-hover: #b42318;
    --border: #d8dee8;
}

/* ---------- Global Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-width: 1100px;
    scroll-behavior: smooth;
}

body {
    min-width: 1100px;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background: var(--page-bg);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-navbar,
.home-update-box-title,
.job-section-title,
.section-title,
.btn,
button {
    font-family: 'Poppins', sans-serif;
}

/* ---------- Main Website Wrapper ---------- */
.site-shell {
    width: 1100px;
    max-width: 1100px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.site-shell .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
}

.site-shell nav,
.site-shell footer,
.site-shell section,
.site-shell .bg-primary,
.site-shell .breaking-glow-box {
    width: 100%;
}

/* ---------- Top Banner ---------- */
.top-banner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #02053b !important;
}

.top-banner img {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ---------- Main Navigation ---------- */
.main-navbar {
    padding: 8px 0 !important;
    background: var(--nav-dark) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.20) !important;
}

.nav-inner {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: nowrap !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
}

.navbar-logo {
    width: 58px !important;
    height: 58px !important;
    padding: 2px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 6px;
}

.brand span {
    margin-left: 8px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: auto !important;
    flex-wrap: nowrap !important;
}

.nav-box {
    padding: 7px 7px !important;
    color: #f8fafc !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.nav-box:hover {
    color: #ffffff !important;
    background: var(--primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.35) !important;
}

.active-nav {
    color: #ffffff !important;
    background: var(--primary) !important;
    box-shadow: 0 3px 10px rgba(139, 21, 56, 0.35) !important;
}

.main-navbar .admin-box {
    display: inline-block;
    margin: 0;
    padding: 7px 8px !important;
    overflow: visible;
    color: #000000 !important;
    background: #ffc107 !important;
    border: none;
    border-radius: 7px !important;
    box-shadow: none;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.main-navbar .admin-box:hover {
    color: #000000 !important;
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 8px #ffffff, 0 0 18px #ffc107 !important;
}

/* ---------- Breaking News ---------- */
.breaking-glow-box,
.breaking-glow-box * {
    font-family: 'Poppins', sans-serif !important;
}

.breaking-glow-box .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.breaking-label {
    flex: 0 0 190px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
}

.breaking-glow-box marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    line-height: 32px;
}

.breaking-link {
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.hero::after {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 350px;
    height: 350px;
    content: "";
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
}

/* ---------- Sections and Cards ---------- */
.section-space {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 700;
}

.job-card,
.top-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover,
.top-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-body p {
    margin-bottom: 8px;
}

.badge {
    font-size: 14px;
}

.counter {
    color: #2563eb;
    font-size: 42px;
    font-weight: 700;
}

.icon-box {
    color: #2563eb;
    font-size: 45px;
}

/* ---------- Box Links ---------- */
.box-link {
    color: var(--link) !important;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none !important;
}

.box-link:hover {
    color: var(--link-hover) !important;
    text-decoration: underline !important;
    text-shadow: none !important;
}

.box-link.clicked-link {
    color: var(--link-hover) !important;
    font-weight: 600 !important;
}

/* ---------- Clock Section ---------- */
.clock-section {
    padding: 22px 0;
    background: #050816;
}

.clock-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 35px;
    background: linear-gradient(135deg, #050816, #111827);
    border: 1px solid #2563eb;
    border-radius: 22px;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
}

.clock-left,
.clock-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.date-icon,
.clock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    color: #38bdf8;
    font-size: 34px;
    border: 2px solid #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 25px #38bdf8;
}

.clock-left h3 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
}

.clock-left p {
    margin: 5px 0 0;
    color: #93c5fd;
}

.clock-right h1 {
    margin: 0;
    color: #facc15;
    font-size: 50px;
    font-weight: 700;
    text-shadow: 0 0 20px #facc15;
}

.clock-right span {
    color: #38bdf8;
    font-size: 24px;
    font-weight: 700;
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: 60px 0;
    color: #ffffff;
    background: #2563eb;
}

/* ---------- Admin Panel Boxes ---------- */
.admin-box:not(.main-navbar .admin-box) {
    margin-bottom: 25px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-box-title {
    display: block;
    padding: 12px 18px;
    font-size: 20px;
    font-weight: 700;
}

.admin-box-title.basic {
    color: #ffffff;
    background: #0d6efd;
}

.admin-box-title.date {
    color: #ffffff;
    background: #198754;
}

.admin-box-title.admit {
    color: #000000;
    background: #ffc107;
}

.admin-box-title.syllabus {
    color: #000000;
    background: #0dcaf0;
}

.admin-box-title.link {
    color: #ffffff;
    background: #dc3545;
}

.admin-box-title.content {
    color: #ffffff;
    background: #6f42c1;
}

/* ---------- Add/Edit Job Form Sections ---------- */
.form-section {
    margin-bottom: 25px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-section-title {
    display: block;
    padding: 12px 18px;
    font-size: 20px;
    font-weight: 700;
}

.form-section-body {
    padding: 20px;
}

.form-section-title.basic {
    color: #ffffff;
    background: #0d6efd;
}

.form-section-title.date {
    color: #ffffff;
    background: #198754;
}

.form-section-title.vacancy {
    color: #ffffff;
    background: #6c757d;
}

.form-section-title.admit {
    color: #000000;
    background: #ffc107;
}

.form-section-title.syllabus {
    color: #000000;
    background: #0dcaf0;
}

.form-section-title.links {
    color: #ffffff;
    background: #dc3545;
}

.form-section-title.content {
    color: #ffffff;
    background: #6f42c1;
}

.form-section-title.custom {
    color: #ffffff;
    background: #343a40;
}

.form-section label {
    margin-bottom: 6px;
    font-weight: 600;
}

.form-section .form-control {
    border-radius: 5px;
}

.form-section textarea {
    resize: vertical;
}

.form-section table th {
    text-align: center;
    vertical-align: middle;
}

.form-section table td {
    vertical-align: middle;
}

.form-action-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ---------- Homepage Update Boxes ---------- */
.home-boxes-section {
    padding: 25px 0;
    background: #f5f5f5;
}

.home-update-box {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.home-update-box-title {
    padding: 8px 10px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: center;
}

.home-update-list {
    flex: 1;
    margin: 0;
    padding: 15px 15px 10px;
    list-style: none;
}

.home-update-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    line-height: 1.5;
}

.home-update-bullet {
    flex: 0 0 auto;
    width: 16px;
    margin-right: 6px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.home-update-link {
    display: inline;
    flex: 1;
    min-width: 0;
}

.home-update-empty {
    margin-bottom: 18px;
    color: #555555;
    line-height: 1.5;
    list-style: none;
}

.home-update-box-footer {
    padding: 10px;
    background: #fafafa;
    border-top: 1px solid #dddddd;
    text-align: center;
}

.home-update-view-more {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.home-update-view-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ---------- Job Details ---------- */
.job-section-title {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
    border-radius: 6px 6px 0 0;
    letter-spacing: 0.15px;
}

.job-section-body {
    color: var(--text-main);
    background: var(--card-bg);
    border-color: var(--border) !important;
}

/* ---------- Tables ---------- */
.table {
    color: var(--text-main);
    font-family: 'Inter', Arial, sans-serif;
}

.table th {
    color: #ffffff;
    background: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.table td {
    border-color: var(--border);
}

/* ---------- Muted Text ---------- */
small,
.text-muted {
    color: var(--text-muted) !important;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 60px;
    padding: 40px;
    color: #e2e8f0;
    background: var(--nav-dark);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ---------- NaukriNotice Homepage Refresh v3.2 ---------- */

.main-navbar {
    position: relative;
    z-index: 20;
    padding: 7px 0 !important;
    background: linear-gradient(135deg, #101827 0%, #172235 58%, #111827 100%) !important;
    border-bottom: 3px solid var(--accent);
}

.brand { min-width: 194px; }

.brand span {
    display: flex !important;
    flex-direction: column;
    gap: 1px;
    margin-left: 9px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.1;
}

.brand span small {
    color: #cbd5e1;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.nav-menu { gap: 4px !important; }

.nav-box {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 34px;
    padding: 6px 6px !important;
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .035) !important;
}

.nav-box i { color: #f4c45d; font-size: 11px; }
.nav-box:hover i, .nav-box.active-nav i { color: #ffffff; }

.nn-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 32px 0 29px;
    color: #ffffff;
    background: linear-gradient(120deg, rgba(104, 16, 42, .98), rgba(139, 21, 56, .95) 46%, rgba(26, 42, 72, .98));
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.nn-home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    opacity: .24;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.nn-hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.nn-hero-glow-one {
    top: -150px;
    right: -60px;
    width: 390px;
    height: 390px;
    background: rgba(233, 169, 35, .18);
}

.nn-hero-glow-two {
    bottom: -185px;
    left: -70px;
    width: 360px;
    height: 360px;
    background: rgba(56, 189, 248, .13);
}

.nn-hero-content {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.nn-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 5px 12px;
    color: #ffe9ad;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.nn-home-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.5px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .18);
}

.nn-home-hero p {
    max-width: 720px;
    margin: 7px auto 15px;
    color: #f1f5f9;
    font-size: 14px;
    line-height: 1.55;
}

.nn-hero-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 5px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    box-shadow: 0 13px 30px rgba(15, 23, 42, .26);
}

.nn-search-icon {
    flex: 0 0 auto;
    margin-left: 10px;
    color: var(--primary);
    font-size: 17px;
}

.nn-hero-search .form-control {
    height: 42px;
    padding-left: 10px;
    color: var(--text-main);
    background: transparent;
    border: 0;
    box-shadow: none !important;
    font-size: 14px;
}

.nn-hero-search .form-control::placeholder { color: #7b8798; }

.nn-search-button {
    height: 40px;
    padding: 0 20px !important;
    color: #172033 !important;
    background: linear-gradient(135deg, #f8c950, var(--accent)) !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.nn-search-button:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #172235, #111827) !important;
    transform: translateY(-1px);
}

.nn-hero-shortcuts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
    flex-wrap: wrap;
}

.nn-hero-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.nn-hero-shortcuts a i { color: #ffd978; }

.nn-hero-shortcuts a:hover {
    color: #172033;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.nn-hero-shortcuts a:hover i { color: var(--primary); }

.nn-hero-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 11px;
    color: #dbeafe;
    font-size: 10px;
    font-weight: 600;
}

.nn-hero-trust i { margin-right: 3px; color: #86efac; }

.home-boxes-section {
    padding: 32px 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
}

.home-update-box {
    position: relative;
    min-height: 500px;
    border: 1px solid #dce3ec;
    border-top: 0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .075);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-update-box::before {
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 999px;
}

.home-update-box:hover {
    border-color: #cad4e1;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.home-update-box-title {
    position: relative;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 62%, #a31c46);
    font-size: 19px;
    letter-spacing: .15px;
}

.home-update-list { padding: 16px 17px 9px; }

.home-update-item {
    position: relative;
    margin-bottom: 5px;
    padding: 9px 8px 9px 22px;
    border-bottom: 1px dashed #e1e6ee;
    border-radius: 6px;
    line-height: 1.43;
}

.home-update-item:last-child { border-bottom: 0; }
.home-update-item:hover { background: #f8fafc; }

.home-update-bullet {
    position: absolute;
    top: 8px;
    left: 6px;
    width: auto;
    margin: 0;
    color: var(--accent);
    font-size: 16px;
}

.home-update-link, .home-update-link.box-link {
    font-size: 13.5px !important;
    font-weight: 650;
}

.home-update-box-footer {
    padding: 11px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.home-update-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 115px;
    padding: 6px 12px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
}

.home-update-view-more::after { margin-left: 6px; content: "→"; }

.home-update-view-more:hover {
    color: #172033;
    background: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
}

.section-space { padding: 45px 0; }

.section-title {
    position: relative;
    margin-bottom: 26px;
    color: var(--text-main);
    font-size: 25px;
}

.section-title::after {
    display: block;
    width: 68px;
    height: 4px;
    margin: 7px auto 0;
    content: "";
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
}

.job-card, .top-card {
    border: 1px solid #e0e6ee;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), #243b65);
}

/* === HOMEPAGE BOX UI UPGRADE START === */
/* =========================================================
   NaukriNotice Homepage Box UI Upgrade
   Loaded after the existing homepage styles.
   ========================================================= */

.home-update-box {
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-update-box:hover {
    transform: translateY(-3px);
    border-color: rgba(127, 29, 29, 0.22) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13) !important;
}

.home-update-box-header {
    padding: 11px 16px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
}

.home-update-box-body {
    padding: 9px 15px 5px !important;
}

.home-update-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.home-update-item {
    position: relative;
    margin: 0 !important;
    padding: 10px 4px 10px 18px !important;
    border-bottom: 1px dashed #dbe3ee;
    line-height: 1.5 !important;
}

.home-update-item:last-child {
    border-bottom: 0;
}

.home-update-item::before {
    position: absolute;
    top: 16px;
    left: 3px;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.home-update-item:hover::before {
    transform: scale(1.25);
    background: #b91c1c;
}

.home-update-link,
.home-update-link.box-link,
.home-update-box .box-link {
    display: inline !important;
    padding: 0 !important;
    color: #174ea6 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.home-update-link:hover,
.home-update-link.box-link:hover,
.home-update-box .box-link:hover {
    color: #b91c1c !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-shadow: 0 1px 8px rgba(185, 28, 28, 0.08);
}

.home-update-box-footer {
    padding: 12px 14px !important;
    border-top: 1px solid #edf1f5;
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

.home-update-view-more {
    min-width: 125px !important;
    padding: 8px 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1.3;
    font-weight: 750 !important;
    box-shadow: 0 5px 12px rgba(127, 29, 29, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.home-update-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(127, 29, 29, 0.24);
}

/* Fallback for older homepage box markup */
.home-boxes .box-link,
.home-boxes a.box-link,
.home-updates-grid .box-link {
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .home-update-box {
        border-radius: 12px !important;
    }

    .home-update-box-header {
        padding: 10px 14px !important;
        font-size: 17px !important;
    }

    .home-update-box-body {
        padding: 7px 12px 4px !important;
    }

    .home-update-item {
        padding: 10px 2px 10px 17px !important;
    }

    .home-update-link,
    .home-update-link.box-link,
    .home-update-box .box-link,
    .home-boxes .box-link,
    .home-boxes a.box-link,
    .home-updates-grid .box-link {
        font-size: 15.5px !important;
        line-height: 1.52 !important;
    }

    .home-update-view-more {
        min-width: 120px !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}
/* === HOMEPAGE BOX UI UPGRADE END === */

/* === SHOW MORE LISTING FONT UPGRADE START === */
/* =========================================================
   NaukriNotice Show More / Listing Page Typography Upgrade
   Applies to public listing pages without changing admin UI.
   ========================================================= */

/* Direct links to job and universal CMS detail pages */
.site-shell a[href*="job-details.php"],
.site-shell a[href*="/job/"],
.site-shell a[href*="content-details.php"] {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
}

/* Common Bootstrap and custom listing structures */
.site-shell .list-group-item a,
.site-shell .card-body li a,
.site-shell .card-body td a,
.site-shell .table td a,
.site-shell .table-responsive td a,
.site-shell .listing-item a,
.site-shell .result-item a,
.site-shell .admit-card-item a,
.site-shell .answer-key-item a,
.site-shell .syllabus-item a,
.site-shell .admission-item a,
.site-shell .scholarship-item a,
.site-shell .scheme-item a,
.site-shell .important-link-item a {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    overflow-wrap: anywhere;
}

/* Improve spacing in list-style pages */
.site-shell .list-group-item {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.site-shell .card-body li,
.site-shell .listing-item,
.site-shell .result-item,
.site-shell .admit-card-item,
.site-shell .answer-key-item,
.site-shell .syllabus-item,
.site-shell .admission-item,
.site-shell .scholarship-item,
.site-shell .scheme-item,
.site-shell .important-link-item {
    line-height: 1.55 !important;
}

/* Links used by older listing templates */
.site-shell section ul li > a:not(.btn):not(.nav-link):not(.dropdown-item),
.site-shell section table td > a:not(.btn) {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    overflow-wrap: anywhere;
}

/* Preserve button sizing */
.site-shell a.btn,
.site-shell .pagination a,
.site-shell .page-link {
    font-size: inherit;
}

/* Consistent link interaction */
.site-shell .list-group-item a:hover,
.site-shell .card-body li a:hover,
.site-shell section ul li > a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
.site-shell section table td > a:not(.btn):hover {
    color: #b91c1c !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .site-shell a[href*="job-details.php"],
    .site-shell a[href*="/job/"],
    .site-shell a[href*="content-details.php"],
    .site-shell .list-group-item a,
    .site-shell .card-body li a,
    .site-shell .card-body td a,
    .site-shell .table td a,
    .site-shell .table-responsive td a,
    .site-shell section ul li > a:not(.btn):not(.nav-link):not(.dropdown-item),
    .site-shell section table td > a:not(.btn) {
        font-size: 16px !important;
        line-height: 1.58 !important;
    }

    .site-shell .list-group-item {
        padding-top: 13px !important;
        padding-bottom: 13px !important;
    }
}
/* === SHOW MORE LISTING FONT UPGRADE END === */

/* NaukriNotice mobile homepage box typography fix */
@media (max-width: 767px) {

    body .home-boxes-section .home-update-box
    .home-update-list .home-update-item {
        padding: 6px 2px 6px 14px !important;
        line-height: 1.3 !important;
    }

    body .home-boxes-section .home-update-box
    .home-update-list .home-update-item
    > a.box-link.home-update-link {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.32 !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    body .home-boxes-section .home-update-box
    .home-update-list .home-update-item
    > .home-update-bullet {
        left: 2px !important;
        top: 7px !important;
        width: 9px !important;
        color: #f4b400 !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }
}

/* NaukariNotice navbar branding */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: max-content;
}

.brand-text strong {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.3px;
}

.brand-white {
    color: #ffffff;
}

.brand-red {
    color: #e31b23;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #c9c9c9;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .brand-text strong {
        font-size: 20px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* Final navbar brand correction */
.brand > .brand-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: max-content;
    margin-left: 9px !important;
}

.brand > .brand-text > strong {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap !important;
    width: max-content;
    white-space: nowrap;
    margin: 0;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1;
    letter-spacing: -0.25px;
}

.brand > .brand-text > strong > .brand-white,
.brand > .brand-text > strong > .brand-red {
    display: inline !important;
    flex-direction: initial !important;
    width: auto !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
}

.brand > .brand-text > strong > .brand-white {
    color: #ffffff !important;
}

.brand > .brand-text > strong > .brand-red {
    color: #e31b23 !important;
}

.brand > .brand-text > small {
    display: block !important;
    margin-top: 4px;
    color: #cbd5e1 !important;
    font-size: 7px !important;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .brand {
        min-width: 0;
    }

    .brand > .brand-text > strong {
        font-size: 16px !important;
    }

    .brand > .brand-text > small {
        font-size: 6px !important;
        letter-spacing: 0.55px;
    }
}


/* Keep all ten navigation items visible at compact desktop/tablet widths. */
@media (min-width: 768px) {
    .main-navbar .container {
        max-width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .nav-inner {
        gap: 4px !important;
    }

    .brand {
        min-width: 142px !important;
    }

    .navbar-logo {
        width: 42px !important;
        height: 42px !important;
    }

    .brand span {
        margin-left: 6px !important;
        font-size: 14px !important;
    }

    .brand span small {
        font-size: 7px !important;
        letter-spacing: .25px !important;
    }

    .nav-menu {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 2px !important;
        justify-content: space-between !important;
    }

    .nav-box {
        min-width: 0 !important;
        padding: 5px 4px !important;
        gap: 2px !important;
        font-size: 9px !important;
    }

    .nav-box i {
        font-size: 9px !important;
    }
}
