/*
Theme Name: Result Bharat's
Author: Result Bharat's
Description: Professional News and Result WordPress Theme
Version: 1.9.1
*/


/* =================================================
   RESET
================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    min-width: 1000px;
    margin: 0;
    background: #f5f6f8;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    transition:
        background-color .3s ease,
        color .3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition:
        color .25s ease,
        background-color .25s ease;
}

a:hover {
    color: #e60000;
}


/* =================================================
   HEADER
================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    transition:
        background-color .3s ease,
        color .3s ease;
}


/* =================================================
   HEADER TOP
================================================= */

.header-top {
    width: 90%;
    max-width: 1200px;
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =================================================
   SITE BRANDING
================================================= */

.site-branding {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.site-branding a {
    color: #07152f;
}

.site-branding a:hover {
    color: #0056b3;
}


/* =================================================
   HEADER RIGHT
================================================= */

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* =================================================
   THEME TOGGLE
================================================= */

.theme-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition:
        background-color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
}

.theme-icon {
    position: absolute;
    font-size: 22px;
    line-height: 1;
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.theme-icon.moon {
    opacity: 0;
    transform: rotate(-90deg) scale(.5);
}

.theme-icon.sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-mode .theme-toggle {
    background: #1e1e1e;
    border-color: #444;
}

body.dark-mode .theme-icon.moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-mode .theme-icon.sun {
    opacity: 0;
    transform: rotate(90deg) scale(.5);
}


/* =================================================
   SEARCH
================================================= */

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input {
    width: 240px;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d8dce3;
    border-radius: 28px;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
}

.header-search input:focus {
    border-color: #1677ff;
}

.header-search button {
    height: 50px;
    padding: 0 22px;
    border: none;
    border-radius: 28px;
    background: #1677ff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background-color .25s ease,
        transform .25s ease;
}

.header-search button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}


/* =================================================
   NAVIGATION
================================================= */

.main-menu {
    width: 100%;
    background: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.main-menu ul {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    transition:
        background-color .25s ease,
        color .25s ease;
}

.main-menu li:hover > a {
    background: #1677ff;
    color: #ffffff;
}

.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    background: #1677ff;
    color: #ffffff;
}


/* =================================================
   BREAKING NEWS TICKER
================================================= */

.news-ticker {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    background: #e50909;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    height: 100%;
    min-width: 145px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #b70808;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}

.ticker-label::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 14px solid #b70808;
}

.ticker-icon {
    font-size: 18px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 70px;
    padding-left: 35px;
    animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .2s ease;
}

.ticker-item:hover {
    opacity: .75;
}

.ticker-news-icon {
    font-size: 15px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-ticker:hover .ticker-track {
    animation-play-state: paused;
}


/* =================================================
   HOME PAGE GRID
================================================= */

.job-grid {
    width: 90%;
    max-width: 1200px;
    margin: 25px auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* =================================================
   CATEGORY BOX
================================================= */

.category-box {
    min-height: 140px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .3s ease,
        border-color .3s ease;
}

.category-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.category-title {
    padding: 12px;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.jobs-title {
    background: #0056b3;
}

.admit-title {
    background: #198754;
}

.result-title {
    background: #dc3545;
}

.answerkey-title {
    background: #6f42c1;
}

.syllabus-title {
    background: #fd7e14;
}

.important-title {
    background: linear-gradient(
        135deg,
        #B85C00,
        #075C38
    );
}

.category-box ul {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.category-box ul li {
    padding: 10px 0;
    border-bottom: 1px dotted #cccccc;
    transition:
        padding-left .2s ease,
        background-color .2s ease;
}

.category-box ul li:last-child {
    border-bottom: none;
}

.category-box ul li:hover {
    padding-left: 8px;
    background: #f8f8f8;
}

.category-box ul li a {
    color: #222222;
    font-size: 17px;
    font-weight: 600;
}

.category-box ul li a:hover {
    color: #d80000;
}


/* =================================================
   NEW BADGE
================================================= */

.new-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #ff0000;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.3;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}


/* =================================================
   FOOTER
================================================= */

.site-footer {
    width: 100%;
    margin-top: 40px;
    padding: 45px 20px 30px;
    background: #111827;
    color: #ffffff;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

.footer-copyright {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 15px;
}

.footer-description {
    max-width: 900px;
    margin: 0 auto 20px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-menu a {
    color: #60a5fa;
    font-size: 15px;
}

.footer-menu a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-menu span {
    color: #64748b;
}


/* =================================================
   ARCHIVE PAGE
================================================= */

.archive-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.archive-main {
    width: 100%;
    min-width: 0;
}

.archive-header {
    margin-bottom: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border-left: 5px solid #0056b3;
    border-bottom: 1px solid #dddddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.archive-header h1 {
    margin: 0;
    color: #0056b3;
    font-size: 28px;
    line-height: 1.4;
}

.archive-count {
    margin: 4px 0 0;
    color: #777777;
    font-size: 15px;
}

.archive-list {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.archive-item {
    min-height: 68px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #eeeeee;
    transition:
        background-color .25s ease,
        padding-left .25s ease;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item:hover {
    padding-left: 26px;
    background: #f5f9ff;
}

.archive-post-title {
    flex: 1;
    min-width: 0;
}

.archive-post-title a {
    color: #222222;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.archive-post-title a:hover {
    color: #0056b3;
}

.archive-date {
    flex: 0 0 auto;
    color: #777777;
    font-size: 14px;
    white-space: nowrap;
}

.archive-pagination {
    margin-top: 25px;
}

.archive-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.archive-pagination a,
.archive-pagination span {
    padding: 8px 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #0056b3;
    font-weight: bold;
}

.archive-pagination .current {
    background: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
}

.archive-empty {
    padding: 50px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 6px;
}

.archive-empty h2 {
    margin-bottom: 8px;
    color: #0056b3;
}

.archive-empty p {
    color: #777777;
}


/* =================================================
   SEARCH RESULTS PAGE
================================================= */

.search-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.search-heading {
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0056b3;
}

.search-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
}

.search-heading h1 span {
    color: #0056b3;
}

.search-result-card {
    margin-bottom: 18px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-left: 4px solid #0056b3;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .3s ease;
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}

.search-result-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.4;
}

.search-result-title a {
    color: #0056b3;
}

.search-result-title a:hover {
    color: #e60000;
}

.search-result-meta {
    margin-bottom: 10px;
    color: #666666;
    font-size: 15px;
}

.search-result-excerpt {
    margin-bottom: 14px;
    color: #333333;
    font-size: 17px;
    line-height: 1.7;
}

.search-read-more {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 4px;
    background: #0056b3;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: bold;
}

.search-read-more:hover {
    background: #e60000;
}

.search-pagination {
    margin-top: 25px;
}

.search-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-pagination a,
.search-pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #0056b3;
    font-weight: bold;
}

.search-pagination .current {
    background: #0056b3;
    color: #ffffff;
}

.no-search-results {
    padding: 60px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
}

.no-search-icon {
    margin-bottom: 15px;
    font-size: 48px;
}

.no-search-results h1 {
    margin-bottom: 10px;
    color: #0056b3;
}

.no-search-results p {
    color: #555555;
}


/* =========================================================
   FINAL SINGLE POST LAYOUT
   5px | CONTENT | 5px | AD 250px | 5px
========================================================= */

.single-post-layout {

    width: calc(100% - 10px);

    max-width: none;

    margin: 25px 5px 40px;

    padding: 0;

    display: grid;

    grid-template-columns: minmax(0, 1fr) 250px;

    gap: 5px;

    align-items: start;

}


/* =========================================================
   MAIN POST CONTENT
========================================================= */

.single-post {

    width: 100%;

    min-width: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);

    /*
     * IMPORTANT:
     * No fixed height
     * No max-height
     * No overflow-y hidden
     */
}


/* =========================================================
   POST TITLE
========================================================= */

.post-title {

    margin: 0 0 24px;

    color: #0056b3;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.18;

    font-weight: 800;

    overflow-wrap: anywhere;

}


/* =========================================================
   POST META
========================================================= */

.post-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 30px;

    padding: 14px 16px;

    background: #eef5ff;

    border-left: 4px solid #0056b3;

    color: #334155;

    font-size: 15px;

}


/* =========================================================
   POST CONTENT
========================================================= */

.post-content {

    width: 100%;

    max-width: none;

    min-width: 0;

    color: #172033;

    font-size: 18px;

    line-height: 1.8;

    overflow-wrap: anywhere;

    word-wrap: break-word;

}

.post-content p {

    margin: 0 0 20px;

}


/* =========================================================
   CONTENT HEADINGS
========================================================= */

.post-content h2 {

    margin: 35px 0 18px;

    padding: 10px 15px;

    color: #0056b3;

    background: #f1f6fc;

    border-left: 5px solid #e63946;

    font-size: 28px;

    line-height: 1.3;

}

.post-content h3 {

    margin: 28px 0 15px;

    padding-bottom: 8px;

    color: #0056b3;

    border-bottom: 2px solid #e5e7eb;

    font-size: 23px;

    line-height: 1.4;

}

.post-content h4 {

    margin: 22px 0 12px;

    color: #333333;

    font-size: 20px;

}


/* =================================================
   CONTENT LINKS
========================================================= */

.post-content a {

    color: #0056b3;

    font-weight: 600;

    overflow-wrap: anywhere;

}

.post-content a:hover {

    color: #e60000;

}


/* =================================================
   CONTENT IMAGES
========================================================= */

.post-content img {

    display: block;

    max-width: 100%;

    height: auto;

    margin: 20px auto;

    border-radius: 8px;

}


/* =================================================
   CONTENT LISTS
========================================================= */

.post-content ul,

.post-content ol {

    margin: 20px 0;

    padding-left: 28px;

}

.post-content li {

    margin-bottom: 8px;

}


/* =========================================================
   TABLE FIX
========================================================= */

.post-content .wp-block-table,

.post-content .table-wrapper,

.post-content .table-responsive {

    width: 100%;

    max-width: 100%;

    margin: 25px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

}

.post-content table {

    width: 100% !important;

    max-width: 100%;

    table-layout: fixed;

    border-collapse: collapse;

    border-spacing: 0;

    margin: 25px 0;

    background: #ffffff;

    font-size: 16px;

}

.post-content table th,

.post-content table td {

    padding: 12px 10px;

    border: 1px solid #d1d5db;

    text-align: left;

    vertical-align: middle;

    word-break: break-word;

    overflow-wrap: anywhere;

    white-space: normal;

}

.post-content table th {

    background: #0056b3;

    color: #ffffff;

    font-weight: 700;

}

.post-content table tr:nth-child(even) td {

    background: #f8fafc;

}

.post-content table tr:hover td {

    background: #eef5ff;

}

.post-content table caption {

    margin-bottom: 8px;

    color: #555555;

    font-weight: 700;

    text-align: left;

}

.post-content table a {

    word-break: break-all;

    overflow-wrap: anywhere;

}


/* =========================================================
   SHARE BOX
========================================================= */

.share-box {

    margin-top: 40px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;

}

.share-box strong {

    display: block;

    margin-bottom: 15px;

    font-size: 18px;

}

.share-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.share-buttons a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 20px;

    border-radius: 6px;

    color: #ffffff;

    font-weight: 700;

    transition:
        transform .25s ease,
        opacity .25s ease;

}

.telegram-share {

    background: #229ed9;

}

.whatsapp-share {

    background: #25d366;

}

.share-buttons a:hover {

    transform: translateY(-2px);

    opacity: .9;

}


/* =========================================================
   POST NAVIGATION
========================================================= */

.post-navigation {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

}

.post-navigation a {

    color: #0056b3;

    font-weight: 600;

}

.post-navigation a:hover {

    text-decoration: underline;

}


/* =========================================================
   RIGHT ADVERTISEMENT - EXACT 250px
========================================================= */

.post-sidebar {

    width: 250px;

    min-width: 250px;

    position: sticky;

    top: 20px;

    align-self: start;

}

.single-ad-box {

    width: 250px;

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px dashed #999999;

    background: #ffffff;

    color: #888888;

    font-size: 14px;

}


/* =================================================
   DARK MODE
========================================================= */

body.dark-mode {

    background: #111111;

    color: #f1f5f9;

}

body.dark-mode .site-header {

    background: #111111;

}

body.dark-mode .site-branding a {

    color: #ffffff;

}

body.dark-mode .header-search input {

    background: #1e1e1e;

    color: #ffffff;

    border-color: #444444;

}

body.dark-mode .category-box,

body.dark-mode .single-post,

body.dark-mode .archive-header,

body.dark-mode .archive-list,

body.dark-mode .archive-empty,

body.dark-mode .search-result-card,

body.dark-mode .no-search-results {

    background: #1e1e1e;

    border-color: #333333;

}

body.dark-mode .category-box ul li a,

body.dark-mode .archive-post-title a {

    color: #eeeeee;

}

body.dark-mode .category-box ul li:hover,

body.dark-mode .archive-item:hover {

    background: #292929;

}

body.dark-mode .post-title,

body.dark-mode .post-content h2,

body.dark-mode .post-content h3 {

    color: #60a5fa;

}

body.dark-mode .post-content h2 {

    background: #292929;

}

body.dark-mode .post-content h4 {

    color: #eeeeee;

}

body.dark-mode .post-content {

    color: #f1f5f9;

}

body.dark-mode .post-meta {

    background: #292929;

    border-color: #60a5fa;

    color: #e5e7eb;

}

body.dark-mode .post-content table {

    background: #1e1e1e;

}

body.dark-mode .post-content table th {

    background: #2563eb;

}

body.dark-mode .post-content table td {

    border-color: #444444;

    color: #eeeeee;

}

body.dark-mode .post-content table tr:nth-child(even) td {

    background: #252525;

}

body.dark-mode .post-content table tr:hover td {

    background: #303030;

}

body.dark-mode .single-ad-box {

    background: #1f1f1f;

    border-color: #555555;

    color: #999999;

}

body.dark-mode .search-heading h1 {

    color: #eeeeee;

}

body.dark-mode .search-result-title a,

body.dark-mode .archive-header h1 {

    color: #66b3ff;

}

body.dark-mode .search-result-excerpt {

    color: #dddddd;

}

body.dark-mode .search-result-meta,

body.dark-mode .archive-count,

body.dark-mode .archive-date {

    color: #aaaaaa;

}

body.dark-mode .share-box,

body.dark-mode .post-navigation {

    border-color: #3a3a3a;

}

body.dark-mode .post-navigation a,

body.dark-mode .post-content a {

    color: #60a5fa;

}


/* =================================================
   COMMON TRANSITIONS
========================================================= */

body,

.site-header,

.main-menu,

.category-box,

.single-post,

.archive-header,

.archive-list,

.search-result-card,

.header-search input,

.theme-toggle {

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease;

}


/* =================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ticker-label {

        min-width: 125px;

        padding: 0 16px;

        font-size: 14px;

    }

    .ticker-track {

        gap: 50px;

        padding-left: 28px;

    }

    .ticker-item {

        font-size: 15px;

    }

    .archive-page,

    .search-page {

        width: 1000px;

        max-width: none;

        grid-template-columns: minmax(0, 1fr) 300px;

        gap: 20px;

        padding: 25px 20px 40px;

    }

    .single-post-layout {

        width: calc(100% - 10px);

        margin-left: 5px;

        margin-right: 5px;

        grid-template-columns: minmax(0, 1fr) 250px;

        gap: 5px;

    }

    .single-post {

        padding: 25px;

    }

}


/* =================================================
   MOBILE DESKTOP-LIKE LAYOUT
========================================================= */

@media (max-width: 768px) {

    html,

    body {

        min-width: 1000px;

        overflow-x: auto;

    }

    .header-top {

        width: 90%;

    }

    .main-menu ul {

        width: 90%;

    }

    .job-grid {

        grid-template-columns: repeat(3, 1fr);

    }

    .post-title {

        font-size: 30px;

        line-height: 1.25;

    }

    .post-content {

        font-size: 17px;

        line-height: 1.75;

    }

    .post-content h2 {

        font-size: 23px;

    }

    .post-content h3 {

        font-size: 20px;

    }

    .post-content table {

        font-size: 15px;

    }

    .post-content table th,

    .post-content table td {

        padding: 10px 8px;

    }

    .post-navigation {

        flex-direction: column;

        gap: 12px;

    }

}


/* =================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .news-ticker {

        height: 42px;

    }

    .ticker-label {

        min-width: 105px;

        padding: 0 12px;

        font-size: 12px;

        letter-spacing: .3px;

    }

    .ticker-label::after {

        right: -11px;

        border-top-width: 21px;

        border-bottom-width: 21px;

        border-left-width: 11px;

    }

    .ticker-icon {

        font-size: 15px;

    }

    .ticker-track {

        gap: 40px;

        padding-left: 25px;

    }

    .ticker-item {

        font-size: 14px;

    }

    .ticker-news-icon {

        font-size: 13px;

    }

    .share-buttons {

        flex-direction: column;

    }

    .share-buttons a {

        width: 100%;

    }

    .site-footer {

        margin-top: 30px;

        padding: 35px 15px 25px;

    }

    .footer-brand {

        font-size: 21px;

    }

    .footer-description {

        font-size: 13px;

    }

}


/* =================================================
   VERY SMALL SCREEN
========================================================= */

@media (max-width: 380px) {

    .ticker-label {

        min-width: 92px;

        padding: 0 9px;

        font-size: 11px;

    }

    .ticker-track {

        gap: 30px;

        padding-left: 20px;

    }

    .ticker-item {

        font-size: 13px;

    }

}
/* =========================================================
   PAGE LAYOUT
   5px | MAIN CONTENT | 5px | AD 250px | 5px
========================================================= */

.page-layout {

    width: calc(100% - 10px);

    max-width: none;

    margin: 25px 5px 40px;

    padding: 0;

    display: grid;

    grid-template-columns: minmax(0, 1fr) 250px;

    gap: 5px;

    align-items: start;

}


/* =========================================================
   PAGE CONTENT AREA
========================================================= */

.page-content-area {

    width: 100%;

    min-width: 0;

}


/* =========================================================
   PAGE CONTENT BOX
========================================================= */

.page-content-area .post-container {

    width: 100%;

    max-width: none;

    margin: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);

    overflow: hidden;

}


/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content-area .post-content {

    width: 100%;

    max-width: none;

    min-width: 0;

    color: #172033;

    font-size: 18px;

    line-height: 1.8;

    overflow-wrap: anywhere;

    word-wrap: break-word;

}


/* =========================================================
   PAGE HEADINGS
========================================================= */

.page-content-area .post-content h2 {

    margin: 35px 0 18px;

    padding: 10px 15px;

    color: #0056b3;

    background: #f1f6fc;

    border-left: 5px solid #e63946;

    font-size: 28px;

    line-height: 1.3;

}


.page-content-area .post-content h3 {

    margin: 28px 0 15px;

    padding-bottom: 8px;

    color: #0056b3;

    border-bottom: 2px solid #e5e7eb;

    font-size: 23px;

}


/* =========================================================
   PAGE TABLE
========================================================= */

.page-content-area .post-content table {

    width: 100% !important;

    max-width: 100%;

    table-layout: fixed;

    border-collapse: collapse;

    margin: 25px 0;

    font-size: 16px;

}


.page-content-area .post-content th,

.page-content-area .post-content td {

    padding: 12px 10px;

    border: 1px solid #d1d5db;

    text-align: left;

    vertical-align: middle;

    word-break: break-word;

    overflow-wrap: anywhere;

    white-space: normal;

}


.page-content-area .post-content th {

    background: #0056b3;

    color: #ffffff;

}


.page-content-area .post-content tr:nth-child(even) td {

    background: #f8fafc;

}


/* =========================================================
   PAGE RIGHT AD SPACE - 250px
========================================================= */

.right-ad-space {

    width: 250px;

    min-width: 250px;

    min-height: 250px;

    position: sticky;

    top: 20px;

}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .page-content-area .post-container {

    background: #1f1f1f;

    border-color: #3a3a3a;

    box-shadow: none;

}


body.dark-mode .page-content-area .post-content {

    color: #f1f5f9;

}


body.dark-mode .page-content-area .post-content h2,

body.dark-mode .page-content-area .post-content h3 {

    color: #60a5fa;

}


body.dark-mode .page-content-area .post-content h2 {

    background: #292929;

}


body.dark-mode .page-content-area .post-content th {

    background: #2563eb;

}


body.dark-mode .page-content-area .post-content td {

    border-color: #444444;

    color: #eeeeee;

}


body.dark-mode .page-content-area .post-content tr:nth-child(even) td {

    background: #252525;

}


/* =========================================================
   TABLET / MOBILE
   DESKTOP-LIKE LAYOUT MAINTAIN
========================================================= */

@media (max-width: 900px) {

    .page-layout {

        width: calc(100% - 10px);

        min-width: 990px;

        margin: 25px 5px 40px;

        padding: 0;

        grid-template-columns: minmax(0, 1fr) 250px;

        gap: 5px;

    }


    .page-content-area .post-container {

        padding: 25px;

    }

}


/* =========================================================
   SMALL SCREEN
========================================================= */

@media (max-width: 650px) {

    .page-layout {

        width: calc(100% - 10px);

        min-width: 990px;

    }


    .page-content-area .post-container {

        padding: 20px;

    }

}
/* =================================================
   v1.3 HTML SITEMAP
================================================= */
.rb-html-sitemap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.rb-sitemap-section {
    padding: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.rb-sitemap-section h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.rb-sitemap-section ul {
    margin: 0;
    padding-left: 22px;
}

.rb-sitemap-section li {
    margin: 8px 0;
}

.rb-sitemap-section a {
    text-decoration: none;
}

.rb-sitemap-section a:hover {
    text-decoration: underline;
}

body.dark-mode .rb-sitemap-section {
    background: #111827;
    border-color: #374151;
}


/* =================================================
   v1.4 Phase 2 — Core Web Vitals
================================================= */

/* Stabilize initial paint and reserve header geometry. */
html.jobcetu-dark-loading,
html.jobcetu-dark-loading body {
    background: #0f172a;
    color: #e5e7eb;
}

.site-header,
.header-top,
.main-menu,
.news-ticker {
    contain: layout paint;
}

.header-top {
    min-height: 80px;
}

.site-branding {
    min-width: 260px;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.header-search input,
.header-search button,
.theme-toggle {
    touch-action: manipulation;
}

/* Prevent image-driven layout shifts in articles and pages. */
.post-content img,
.single-post img,
.page-content-area img {
    display: block;
    max-width: 100%;
    height: auto;
}

.post-content figure,
.wp-block-image {
    max-width: 100%;
}

.post-content iframe,
.post-content video {
    display: block;
    max-width: 100%;
}

/* Reserve a predictable ad area so ad injection does not push content. */
.single-ad-box,
.sidebar-ad,
.right-ad-space {
    min-height: 280px;
    contain: layout paint;
    overflow: hidden;
}

.single-ad-box ins.adsbygoogle,
.sidebar-ad ins.adsbygoogle,
.right-ad-space ins.adsbygoogle {
    display: block;
    min-height: 250px;
}

/* Limit below-the-fold rendering work without changing document flow. */
.category-box,
.archive-item,
.search-result-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 180px;
}

/* GPU-friendly animation and lower interaction cost. */
.ticker-track {
    will-change: transform;
    transform: translateZ(0);
}

.theme-toggle,
.header-search button,
.main-menu a,
.category-box,
.search-result-card {
    -webkit-tap-highlight-color: transparent;
}

/* Accessible focus states avoid expensive broad outline effects. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Respect reduced-motion preferences and stop continuous animations. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .ticker-track {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .single-ad-box,
    .sidebar-ad,
    .right-ad-space {
        min-height: 250px;
    }
}

/* =========================================================
   v1.5 Advanced SEO UI
========================================================= */
.rb-breadcrumbs{margin:0 0 16px;font-size:14px;line-height:1.6}.rb-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.rb-breadcrumbs li:not(:last-child)::after{content:"›";margin-left:6px;opacity:.65}.rb-breadcrumbs a{text-decoration:none}.rb-breadcrumbs a:hover{text-decoration:underline}.rb-toc{margin:20px 0;padding:14px 18px;border:1px solid #d9dee7;border-radius:8px;background:#f8fafc}.rb-toc summary{cursor:pointer;font-weight:700}.rb-toc ol{margin:12px 0 0 20px;padding:0}.rb-toc li{margin:6px 0}.rb-toc-level-3{margin-left:18px!important}.rb-toc a{text-decoration:none}.rb-toc a:hover{text-decoration:underline}.post-content h2[id],.post-content h3[id]{scroll-margin-top:90px}.rb-auto-link{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.rb-related-posts{margin:30px 0;padding:20px;border:1px solid #d9dee7;border-radius:8px}.rb-related-posts h2{margin:0 0 14px;font-size:22px}.rb-related-posts ul{list-style:none;margin:0;padding:0}.rb-related-posts li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #eceff3}.rb-related-posts li:last-child{border-bottom:0}.rb-related-posts a{font-weight:600;text-decoration:none}.rb-related-posts a:hover{text-decoration:underline}.rb-related-posts time{flex:0 0 auto;font-size:13px;opacity:.75}.dark-mode .rb-toc,.dark-mode .rb-related-posts{background:#151a22;border-color:#343b47}.dark-mode .rb-related-posts li{border-color:#343b47}@media(max-width:700px){.rb-related-posts li{display:block}.rb-related-posts time{display:block;margin-top:4px}.rb-toc{padding:12px}}


/* =================================================
   v1.7 AUTO FAQ (SEO ONLY)
================================================= */
.rb-auto-faq {
    margin: 32px 0;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
}
.rb-auto-faq > h2 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.3;
}
.rb-faq-item {
    border-top: 1px solid #e5e7eb;
}
.rb-faq-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}
.rb-faq-item summary {
    position: relative;
    cursor: pointer;
    padding: 15px 34px 15px 0;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}
.rb-faq-item summary::-webkit-details-marker { display: none; }
.rb-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 12px;
    font-size: 25px;
    font-weight: 400;
}
.rb-faq-item[open] summary::after { content: '−'; }
.rb-faq-answer { padding: 0 0 16px; }
.rb-faq-answer p { margin: 0; line-height: 1.7; }
.rb-faq-item summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* =========================================================
   v1.7.2 SUBJECT-AWARE FAQ SEO + DESIGN POLISH
========================================================= */
body {
    font-size: 16px;
    line-height: 1.62;
}
.header-top,
.main-menu ul,
.news-ticker-inner,
.footer-container {
    width: 92%;
    max-width: 1380px;
}
.header-top { min-height: 68px; }
.site-branding { font-size: 27px; }
.theme-toggle { width: 42px; height: 42px; }
.header-search input { height: 44px; font-size: 15px; }
.header-search button { height: 44px; font-size: 15px; }
.main-menu li a { padding: 12px 17px; font-size: 14px; }

.single-post-layout {
    width: min(94%, 1380px);
    margin: 22px auto 38px;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
}
.single-post {
    padding: 26px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .055);
}
.post-title {
    margin-bottom: 18px;
    font-size: clamp(27px, 3vw, 38px);
}
.post-meta {
    margin-bottom: 24px;
    padding: 11px 14px;
    font-size: 14px;
}
.post-content {
    font-size: 16px;
    line-height: 1.72;
}
.post-content p { margin-bottom: 16px; }
.post-content h2 { margin: 28px 0 15px; padding: 9px 13px; font-size: 24px; }
.post-content h3 { margin: 23px 0 13px; font-size: 20px; }
.post-content h4 { margin: 19px 0 10px; font-size: 18px; }
.post-content table { font-size: 14px; }
.post-content table th,
.post-content table td { padding: 9px 8px; }
.post-sidebar { width: 310px; min-width: 310px; }
.single-ad-box { width: 310px; min-height: 300px; border-radius: 10px; }

.rb-auto-faq {
    margin: 28px 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .055);
}
.rb-faq-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0b57d0;
}
.rb-faq-heading-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border: 1px solid #bcd1ff;
    border-radius: 10px;
    background: #eef4ff;
    font-size: 20px;
}
.rb-auto-faq > .rb-faq-heading > h2 {
    margin: 0;
    padding: 0;
    color: #111827;
    background: transparent;
    border: 0;
    font-size: 24px;
    line-height: 1.25;
}
.rb-faq-list { display: grid; gap: 9px; }
.rb-faq-item {
    overflow: hidden;
    border: 1px solid #dbe5f5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rb-faq-item:last-child { border-bottom: 1px solid #dbe5f5; }
.rb-faq-item:hover {
    border-color: #b7cdf3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}
.rb-faq-item[open] { border-color: #b9cdf2; background: #fcfdff; }
.rb-faq-item summary {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 15px 8px 8px;
    color: #064fc2;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}
.rb-faq-item summary::after { content: none; }
.rb-faq-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ff;
    color: #0b57d0;
    font-size: 19px;
}
.rb-faq-question { min-width: 0; }
.rb-faq-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}
.rb-faq-item[open] .rb-faq-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.rb-faq-answer {
    padding: 0 20px 16px 66px;
    color: #253047;
    font-size: 15.5px;
    line-height: 1.65;
}
.rb-faq-answer p { margin: 0; }
.rb-faq-points {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.rb-faq-points li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    overflow-wrap: anywhere;
}
.rb-faq-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b57d0;
}
.rb-faq-points strong { color: #111827; }

body.dark-mode .rb-auto-faq,
body.dark-mode .rb-faq-item { background: #151a22; border-color: #343f51; }
body.dark-mode .rb-auto-faq > .rb-faq-heading > h2,
body.dark-mode .rb-faq-points strong { color: #f8fafc; }
body.dark-mode .rb-faq-heading-icon,
body.dark-mode .rb-faq-icon { background: #1d2b46; border-color: #3e5a89; }
body.dark-mode .rb-faq-answer { color: #d7deea; }
body.dark-mode .rb-faq-chevron { border-color: #f8fafc; }

@media (max-width: 1100px) {
    .single-post-layout {
        width: calc(100% - 24px);
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 12px;
    }
    .post-sidebar,
    .single-ad-box { width: 270px; min-width: 270px; }
}

@media (max-width: 900px) {
    .single-post-layout {
        width: calc(100% - 18px);
        grid-template-columns: minmax(0, 1fr) 245px;
        gap: 9px;
    }
    .single-post { padding: 20px; }
    .post-sidebar,
    .single-ad-box { width: 245px; min-width: 245px; }
    .post-content { font-size: 15px; }
    .rb-auto-faq { padding: 14px; }
    .rb-faq-item summary { font-size: 16px; }
    .rb-faq-answer { padding-left: 62px; font-size: 14.5px; }
}


/* =========================================================
   v1.7.4 - AD SPACE VISIBILITY
   Keep sidebar ad only on single posts and category archives.
   All other templates use the complete content width.
========================================================= */
.page-layout.rb-no-ad-layout,
.search-page.rb-no-ad-layout,
.archive-page.rb-no-ad-layout {
    grid-template-columns: minmax(0, 1fr);
}

.page-layout.rb-no-ad-layout .page-content-area,
.search-page.rb-no-ad-layout .search-results-area,
.archive-page.rb-no-ad-layout .archive-main {
    width: 100%;
    max-width: none;
}


/* v1.7.5: Manual homepage category badges */
.rb-home-badge{
    display:inline-flex;
    align-items:center;
    margin-left:7px;
    padding:3px 7px;
    border-radius:4px;
    color:#fff;
    font-size:10px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.2px;
    vertical-align:middle;
    white-space:nowrap;
    box-shadow:0 1px 3px rgba(0,0,0,.16);
}
.rb-home-badge--new{background:#ef1b1b;animation:rb-badge-pulse 1.35s ease-in-out infinite}
.rb-home-badge--last-date-extended{background:#7c3aed}
.rb-home-badge--last-date-soon{background:#f59e0b;color:#231600}
@keyframes rb-badge-pulse{0%,100%{opacity:1}50%{opacity:.62}}
@media (prefers-reduced-motion:reduce){.rb-home-badge--new{animation:none}}

/* =========================================================
   v1.7.6 - TRUE FULL-WIDTH NON-AD LAYOUT FIX
   Removing the ad column must also release its reserved grid width.
========================================================= */
body.page .page-layout.rb-no-ad-layout,
.search-page.rb-no-ad-layout,
.archive-page.rb-no-ad-layout {
    display: block !important;
    grid-template-columns: none !important;
}

body.page .page-layout.rb-no-ad-layout {
    width: calc(100% - 10px) !important;
    max-width: none !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

body.page .page-layout.rb-no-ad-layout > .page-content-area,
body.page .page-layout.rb-no-ad-layout .post-container,
.search-page.rb-no-ad-layout > .search-results-area,
.archive-page.rb-no-ad-layout > .archive-main {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-column: 1 / -1 !important;
}

/* Search and non-category archives keep the site's centered outer limit,
   but their result/content column now occupies the complete available width. */
.search-page.rb-no-ad-layout,
.archive-page.rb-no-ad-layout {
    width: 100% !important;
}

/* =========================================================
   v1.9.0 — LOCKED LAPTOP-MOCKUP HOMEPAGE
   Preserves dark/bright mode and all existing functionality.
========================================================= */

/* Brand treatment from the approved laptop mockup. */
.site-branding {
    min-width: 285px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.site-branding a {
    display: inline-flex;
    align-items: baseline;
    color: #07152f;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.7px;
}

.rb-brand-result { color: #082a63; }
.rb-brand-bharat { color: #df171e; }
.rb-brand-tagline {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

body.dark-mode .rb-brand-result { color: #dbeafe; }
body.dark-mode .rb-brand-bharat { color: #ff5a61; }
body.dark-mode .rb-brand-tagline { color: #94a3b8; }

/* Header proportions and search styling. */
.header-top {
    width: min(94%, 1380px);
    min-height: 76px;
}

.header-right { gap: 12px; }

.header-search input {
    width: 270px;
    height: 42px;
    border-radius: 5px 0 0 5px;
    border-color: #cbd5e1;
    font-size: 14px;
}

.header-search {
    gap: 0;
}

.header-search button {
    height: 42px;
    padding: 0 22px;
    border-radius: 0 5px 5px 0;
    background: linear-gradient(135deg, #0757c7, #0a69e2);
    font-size: 14px;
}

.main-menu {
    background: #071a3a;
    border-top: 1px solid rgba(255,255,255,.08);
}

.main-menu ul {
    width: min(94%, 1380px);
    justify-content: flex-start;
}

.main-menu li a {
    padding: 12px 18px;
    font-size: 14px;
}

.main-menu li:hover > a,
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    background: #0a63d8;
}

.news-ticker {
    height: 45px;
    background: linear-gradient(90deg, #d90810, #f01d23);
    box-shadow: 0 2px 8px rgba(121, 9, 13, .18);
}

.ticker-label {
    min-width: 165px;
    padding: 0 20px;
    background: #b80007;
    font-size: 13px;
}

.ticker-label::after {
    border-top-width: 22.5px;
    border-bottom-width: 22.5px;
    border-left-color: #b80007;
}

.ticker-track {
    gap: 48px;
    animation-duration: 25s;
}

.ticker-item { font-size: 14px; }

/* Laptop mockup homepage canvas. */
.rb-homepage {
    width: min(94%, 1380px);
    margin: 24px auto 42px;
}

.rb-laptop-grid.job-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rb-category-card.category-box {
    --rb-card-accent: #075fd5;
    --rb-card-accent-dark: #064eae;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d8e1ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 45, 88, .09);
    transform: none;
}

/* Category-specific selectors intentionally match the base selector specificity.
   This prevents the default blue variables from overriding the five other cards. */
.rb-category-card.rb-card-latest-jobs {
    --rb-card-accent: #0968e8;
    --rb-card-accent-dark: #0756c3;
}
.rb-category-card.rb-card-admit-card {
    --rb-card-accent: #0aa34f;
    --rb-card-accent-dark: #087d3e;
}
.rb-category-card.rb-card-results {
    --rb-card-accent: #ef2029;
    --rb-card-accent-dark: #c91018;
}
.rb-category-card.rb-card-answer-key {
    --rb-card-accent: #7c32d4;
    --rb-card-accent-dark: #5e20ad;
}
.rb-category-card.rb-card-syllabus {
    --rb-card-accent: #f5820b;
    --rb-card-accent-dark: #d45e00;
}
.rb-category-card.rb-card-important-links {
    --rb-card-accent: #ff3158;
    --rb-card-accent-dark: #f06a00;
}

.rb-category-card.category-box:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--rb-card-accent) 32%, #d8e1ee);
    box-shadow: 0 10px 24px rgba(15, 45, 88, .14);
}

.rb-category-card .category-title {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--rb-card-accent-dark), var(--rb-card-accent));
    color: #fff;
    text-align: left;
    font-size: 20px;
    font-weight: 850;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}

.rb-category-icon {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;
    border-radius: 50%;
    background: #fff;
    color: var(--rb-card-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,.17);
}

.rb-category-icon svg,
.rb-stat-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.rb-category-posts {
    flex: 1;
    min-height: 0;
    margin: 0 !important;
    padding: 11px 14px 8px !important;
    list-style: none;
    background: #fff;
}

.rb-category-card .rb-category-posts li {
    padding: 0;
    border-bottom: 1px solid #edf1f6;
    background: transparent;
}

.rb-category-card .rb-category-posts li:last-child { border-bottom: 0; }

.rb-category-card .rb-category-posts li:hover {
    padding-left: 0;
    background: #f8fbff;
}

.rb-category-card .rb-category-posts li a {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 4px;
    color: #172033;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.rb-category-card .rb-category-posts li a:hover {
    color: var(--rb-card-accent-dark);
}

.rb-list-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--rb-card-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rb-card-accent) 12%, transparent);
}

.rb-card-post-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rb-empty-card-row {
    padding: 18px 4px !important;
    color: #64748b;
    font-size: 14px;
}

.rb-category-footer {
    padding: 9px 13px 13px;
    background: #fff;
}

.rb-view-all-button {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--rb-card-accent-dark), var(--rb-card-accent));
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1px;
    box-shadow: 0 3px 8px color-mix(in srgb, var(--rb-card-accent) 25%, transparent);
}

.rb-view-all-button:hover {
    filter: brightness(.94);
    transform: translateY(-1px);
}

.rb-view-all-arrow {
    font-size: 17px;
    line-height: 1;
    transition: transform .2s ease;
}

.rb-view-all-button:hover .rb-view-all-arrow { transform: translateX(3px); }

/* Dynamic count strip visible in the approved laptop mockup. */
.rb-home-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #d8e1ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(15, 45, 88, .07);
}

.rb-stat-item {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 8px;
    border-right: 1px solid #e6ebf2;
    color: #172033;
}

.rb-stat-item:last-child { border-right: 0; }
.rb-stat-item:hover { background: #f8fbff; }

.rb-stat-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #edf4ff;
    color: #0968e8;
}

.rb-stat-icon svg { width: 18px; height: 18px; }
.rb-stat-admit-card { background: #e9f9ef; color: #0a9b49; }
.rb-stat-results { background: #ffeded; color: #eb1d25; }
.rb-stat-answer-key { background: #f4eaff; color: #7b2ed0; }
.rb-stat-syllabus { background: #fff0e2; color: #f27a08; }
.rb-stat-important-links { background: #ffedf1; color: #f2294b; }

.rb-stat-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.rb-stat-copy strong {
    color: #0f274d;
    font-size: 17px;
    font-weight: 900;
}

.rb-stat-copy small {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

/* Dark mode is intentionally retained and extended to the new UI. */
body.dark-mode .rb-category-card.category-box,
body.dark-mode .rb-category-posts,
body.dark-mode .rb-category-footer,
body.dark-mode .rb-home-stats {
    background: #161b24;
    border-color: #303a4b;
}

body.dark-mode .rb-category-card .rb-category-posts li {
    border-color: #293241;
}

body.dark-mode .rb-category-card .rb-category-posts li:hover,
body.dark-mode .rb-stat-item:hover {
    background: #202735;
}

body.dark-mode .rb-category-card .rb-category-posts li a,
body.dark-mode .rb-stat-item {
    color: #edf2f9;
}

body.dark-mode .rb-empty-card-row,
body.dark-mode .rb-stat-copy small { color: #9ca8ba; }
body.dark-mode .rb-stat-copy strong { color: #f8fafc; }
body.dark-mode .rb-stat-item { border-color: #303a4b; }

/* Maintain the locked desktop-like mobile behaviour while keeping spacing neat. */
@media (max-width: 1100px) {
    .rb-homepage { width: calc(100% - 24px); }
    .rb-laptop-grid.job-grid { gap: 13px; }
    .rb-category-card .rb-category-posts li a { font-size: 14px; }
    .rb-home-stats { grid-template-columns: repeat(3, 1fr); }
    .rb-stat-item:nth-child(3) { border-right: 0; }
    .rb-stat-item:nth-child(-n+3) { border-bottom: 1px solid #e6ebf2; }
    body.dark-mode .rb-stat-item:nth-child(-n+3) { border-bottom-color: #303a4b; }
}

@media (max-width: 900px) {
    .rb-homepage { width: 970px; }
    .rb-laptop-grid.job-grid { grid-template-columns: repeat(3, 1fr); }
    .header-top,
    .main-menu ul { width: 970px; }
}
