/* ===== Rojgarlive New Homepage - Global Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #eef2f5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Header ===== */
.ja-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #2b5e61;
}

.ja-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.ja-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ja-logo img {
    height: 36px;
    width: auto;
}

/* Hamburger — always visible, black icon */
.ja-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.ja-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.ja-menu-toggle:hover span {
    background: #2b5e61;
}

.ja-header-right {
    display: flex;
    align-items: center;
}

/* Desktop / Mobile visibility helpers */
.ja-desktop-only {
    display: flex;
}
.ja-mobile-only {
    display: none !important;
}

/* Desktop search bar — matches searchbarui.png */
.ja-header-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.ja-header-search-form input {
    width: 220px;
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    color: #333;
    background: #fff;
}

.ja-header-search-form input::placeholder {
    color: #999;
}

.ja-header-search-form input:focus {
    border-color: #2b5e61;
}

.ja-header-search-form button {
    background: #2b5e61;
    color: #fff;
    border: 1px solid #2b5e61;
    padding: 9px 20px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}

.ja-header-search-form button:hover {
    background: #1f4649;
}

/* Mobile search icon button */
.ja-search-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ja-search-icon:hover svg {
    stroke: #2b5e61;
}

/* Mobile search dropdown bar */
.ja-mobile-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.ja-mobile-search-bar.open {
    max-height: 60px;
}

.ja-mobile-search-bar form {
    display: flex;
    padding: 8px 15px;
    gap: 0;
}

.ja-mobile-search-bar form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.ja-mobile-search-bar form input:focus {
    border-color: #2b5e61;
}

.ja-mobile-search-bar form button {
    background: #2b5e61;
    color: #fff;
    border: 1px solid #2b5e61;
    padding: 8px 16px;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* ===== Mobile Drawer ===== */
.ja-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
}

.ja-mobile-overlay.open {
    display: block;
}

.ja-mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1200;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.ja-mobile-drawer.open {
    left: 0;
}

.ja-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #2b5e61;
}

.ja-drawer-header img {
    height: 32px;
    width: auto;
}

.ja-drawer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ja-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
}

.ja-drawer-nav ul {
    list-style: none;
}

.ja-drawer-nav ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.ja-drawer-nav ul li a:hover {
    background: #f5f5f5;
    color: #0056b3;
}

/* ===== Hero Search Section ===== */
.ja-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0056b3 50%, #2563eb 100%);
    padding: 40px 15px;
    text-align: center;
}

.ja-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.ja-hero h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ja-hero .ja-tagline {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 25px;
}

.ja-search-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ja-search-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    outline: none;
}

.ja-search-form button {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.ja-search-form button:hover {
    background: #b71c1c;
}

/* ===== Flash/Ticker Section ===== */
.ja-flash-bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    overflow: hidden;
}

.ja-flash-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ja-flash-badge {
    background: #d32f2f;
    color: #fff;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

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

.ja-flash-content marquee {
    font-size: 14px;
    color: #333;
}

.ja-flash-content marquee a {
    color: #0056b3;
    margin-right: 30px;
    font-weight: 500;
}

/* ===== Quick Grid Categories ===== */
.ja-quick-grid {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.ja-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.ja-grid-item {
    background: #fff;
    border-radius: 10px;
    padding: 18px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.ja-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.ja-grid-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.ja-grid-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== Main Container ===== */
.ja-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ja-content-left {
    flex: 1;
    min-width: 0;
}

.ja-sidebar-right {
    flex: 0 0 320px;
    max-width: 320px;
}

/* ===== Section Headers ===== */
.ja-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f1f5f9;
    border-radius: 8px 8px 0 0;
    border-left: 4px solid #0056b3;
    margin-bottom: 0;
    margin-top: 20px;
}

.ja-section-header:first-child {
    margin-top: 0;
}

.ja-section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.ja-section-header a {
    font-size: 13px;
    color: #0056b3;
    font-weight: 600;
}

.ja-section-header-admit {
    border-left-color: #89CFF0;
}

.ja-section-header-result {
    border-left-color: #2e7d32;
}

.ja-section-header-updates {
    border-left-color: #f57c00;
}

/* ===== Latest Jobs Table ===== */
.ja-jobs-table {
    width: 100%;
    background: #fff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 0;
}

.ja-jobs-table table {
    width: 100%;
    border-collapse: collapse;
}

.ja-jobs-table thead th {
    background: #f1f5f9;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.ja-jobs-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.ja-jobs-table tbody tr:hover {
    background: #f8fafc;
}

.ja-jobs-table tbody td {
    padding: 12px 15px;
    font-size: 14px;
    color: #444;
    vertical-align: middle;
}

.ja-job-name {
    font-weight: 600;
    color: #1e3a8a;
}

.ja-job-name a {
    color: #1e3a8a;
    transition: color 0.2s;
}

.ja-job-name a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ja-job-details {
    vertical-align: middle;
}

.ja-detail-posts {
    display: block;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
}

.ja-detail-date {
    display: block;
    font-size: 13px;
    color: #333;
    margin-top: 2px;
}

.ja-view-btn {
    display: inline-block;
    background: #0056b3;
    color: #fff;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.2s;
}

.ja-view-btn:hover {
    background: #003d82;
    color: #fff;
}

/* ===== Admit Card / Results Tables ===== */
.ja-info-table {
    width: 100%;
    background: #fff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 0;
}

.ja-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.ja-info-table thead th {
    background: #89CFF0;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 15px;
    text-align: left;
    text-transform: uppercase;
}

.ja-result-table thead th {
    background: #89CFF0;
    color: #1e3a8a;
}

.ja-info-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.ja-info-table tbody tr:hover {
    background: #f8fafc;
}

.ja-info-table tbody td {
    padding: 10px 15px;
    font-size: 14px;
    color: #444;
}

.ja-date-col {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

.ja-check-btn {
    display: inline-block;
    background: #0056b3;
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ja-check-btn:hover {
    background: #003d82;
    color: #fff;
}

/* ===== Latest Updates List ===== */
.ja-updates-list {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 15px 20px;
    margin-bottom: 0;
}

.ja-updates-list ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.ja-updates-list ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.6;
    font-size: 14px;
}

.ja-updates-list ul li:last-child {
    border-bottom: none;
}

.ja-updates-list ul li a {
    color: #1e3a8a;
    font-weight: 500;
    transition: color 0.2s;
}

.ja-updates-list ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ja-new-badge {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
}

.ja-cat-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ===== SEO Content Block ===== */
.ja-seo-block {
    margin-top: 25px;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ja-seo-block h2 {
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
}

.ja-seo-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.ja-seo-block p:last-child {
    margin-bottom: 0;
}

/* ===== Sidebar Widgets ===== */
.ja-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.ja-widget-head {
    background: #1e3a8a;
    color: #fff;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.ja-widget-body {
    padding: 5px 0;
}

.ja-widget-body ul {
    list-style: none;
}

.ja-widget-body ul li {
    border-bottom: 1px solid #f0f0f0;
}

.ja-widget-body ul li:last-child {
    border-bottom: none;
}

.ja-widget-body ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    transition: background 0.15s, color 0.15s;
}

.ja-widget-body ul li a:hover {
    background: #f5f8ff;
    color: #0056b3;
}

/* ===== Footer ===== */
.ja-footer {
    margin-top: 40px;
}

.ja-footer-main {
    background: #2b5e61;
    padding: 40px 0;
    color: #e0e0e0;
}

.ja-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ja-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ja-footer-col h4 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f57c00;
    display: inline-block;
}

.ja-footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
}

.ja-footer-col ul {
    list-style: none;
}

.ja-footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

.ja-footer-col ul li a {
    color: #e0e0e0;
    transition: color 0.2s;
}

.ja-footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.ja-footer-bar {
    background: #1f4649;
    padding: 15px 0;
    text-align: center;
}

.ja-footer-bar p {
    font-size: 13px;
    color: #aaa;
    margin: 0;
}

/* ===== Mobile Bottom Nav ===== */
.ja-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
}

.ja-mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #555;
    font-weight: 600;
}

.ja-bnav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    /* Hide desktop search bar, show search icon on mobile */
    .ja-desktop-only {
        display: none !important;
    }
    .ja-mobile-only {
        display: flex !important;
    }

    .ja-logo img {
        height: 28px;
    }

    .ja-header-inner {
        height: 46px;
    }

    .ja-hero {
        padding: 25px 15px;
    }

    .ja-hero h1 {
        font-size: 20px;
    }

    .ja-hero .ja-tagline {
        font-size: 14px;
    }

    .ja-search-form input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ja-search-form button {
        padding: 12px 18px;
        font-size: 13px;
    }

    .ja-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .ja-grid-item {
        padding: 12px 5px;
    }

    .ja-grid-icon {
        font-size: 24px;
    }

    .ja-grid-label {
        font-size: 10px;
    }

    .ja-main-container {
        flex-direction: column;
        padding: 10px;
    }

    .ja-sidebar-right {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    /* Mobile row layout — Jobs table */
    .ja-jobs-table table {
        border: 1px solid #e5e7eb;
    }

    .ja-jobs-table thead th {
        padding: 8px 6px;
        font-size: 11px;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .ja-jobs-table thead th:last-child {
        border-right: none;
    }

    .ja-jobs-table tbody td {
        padding: 10px 6px;
        font-size: 13px;
        vertical-align: middle;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .ja-jobs-table tbody td:last-child {
        border-right: none;
    }

    .ja-jobs-table tbody tr:last-child td {
        border-bottom: none;
    }

    .ja-jobs-table tbody td.ja-job-name {
        width: 55%;
        font-size: 13px;
        line-height: 1.4;
    }

    .ja-jobs-table tbody td.ja-job-details {
        width: 28%;
        font-size: 12px;
    }

    .ja-jobs-table .ja-detail-posts,
    .ja-jobs-table .ja-detail-date {
        font-size: 0.7rem;
    }

    .ja-jobs-table tbody td.ja-job-action {
        width: 17%;
        text-align: center;
    }

    /* Mobile row layout — Info tables (Admit Cards, Results) */
    .ja-info-table table {
        border: 1px solid #e5e7eb;
    }

    .ja-info-table thead th {
        padding: 8px 6px;
        font-size: 11px;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .ja-info-table thead th:last-child {
        border-right: none;
    }

    .ja-info-table tbody td {
        padding: 10px 6px;
        font-size: 13px;
        vertical-align: middle;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .ja-info-table tbody td:last-child {
        border-right: none;
    }

    .ja-info-table tbody tr:last-child td {
        border-bottom: none;
    }

    .ja-info-table tbody td.ja-date-col {
        width: 18%;
        font-size: 12px;
    }

    .ja-info-table tbody td:nth-child(3) {
        width: 25%;
        text-align: center;
    }

    /* Footer */
    .ja-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ja-footer-main {
        padding: 25px 0;
    }

    /* Mobile bottom nav */
    .ja-mobile-bottom-nav {
        display: flex;
    }

    .ja-footer {
        margin-bottom: 60px;
    }

    .ja-section-header h2 {
        font-size: 15px;
    }

    /* Updates list mobile */
    .ja-updates-list ul li {
        font-size: 13px;
    }

    .ja-seo-block {
        padding: 18px;
    }

    .ja-seo-block h2 {
        font-size: 18px;
    }

    .ja-seo-block p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ja-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .ja-grid-item {
        padding: 10px 4px;
        border-radius: 8px;
    }

    .ja-grid-icon {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .ja-grid-label {
        font-size: 9px;
    }
}

/* ======================================================
   CATEGORY PAGE STYLES (production2)
   ====================================================== */

/* Hero banner */
.ja-cat-hero {
    background: linear-gradient(180deg, #0f52a8 0%, #0056b3 100%);
    color: #fff;
    padding: 28px 15px;
    text-align: center;
    border-radius: 10px;
    margin: 12px auto 0;
    max-width: 1200px;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

.ja-cat-hero-inner h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.ja-cat-breadcrumb {
    font-size: 14px;
    color: #e6eefc;
}

.ja-cat-breadcrumb a {
    color: #fff;
    text-decoration: underline;
}

.ja-cat-breadcrumb a:hover {
    color: #ffeb3b;
}

.ja-cat-bc-sep {
    margin: 0 6px;
    color: #fff;
}

/* Category table */
.ja-cat-table {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}

.ja-cat-table-head {
    background: #89CFF0;
    color: #0b2b4a;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding: 12px 16px;
    letter-spacing: 0.3px;
}

.ja-cat-table-icon {
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.ja-cat-table table {
    width: 100%;
    border-collapse: collapse;
}

.ja-cat-table thead th {
    background: #f7f9fc;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.ja-cat-table thead th:last-child {
    border-right: none;
}

.ja-cat-table tbody td {
    padding: 14px;
    font-size: 14px;
    color: #1f2937;
    vertical-align: middle;
    border-bottom: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
}

.ja-cat-table tbody td:last-child {
    border-right: none;
}

.ja-cat-table tbody tr:last-child td {
    border-bottom: none;
}

.ja-cat-table tbody tr:hover {
    background: #fafbfd;
}

.ja-cat-col-date    { width: 12%; }
.ja-cat-col-title   { width: 70%; }
.ja-cat-col-action  { width: 18%; text-align: center; }

.ja-cat-date {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
}

.ja-cat-date-day {
    display: block;
    font-weight: 700;
    color: #1f2937;
}

.ja-cat-date-year {
    display: block;
    font-size: 12px;
}

.ja-cat-title a {
    color: #0056b3;
    font-weight: 500;
    text-decoration: none;
}

.ja-cat-title a:hover {
    text-decoration: underline;
}

.ja-cat-new {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
}

.ja-cat-action {
    text-align: center;
}

.ja-cat-empty {
    text-align: center;
    color: #6b7280;
    padding: 30px 14px;
    font-style: italic;
}

/* Pagination */
.ja-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.ja-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ja-page-link:hover {
    background: #f1f5f9;
    border-color: #0056b3;
    color: #0056b3;
}

.ja-page-active {
    background: #0056b3;
    color: #fff !important;
    border-color: #0056b3;
    cursor: default;
}

.ja-page-next {
    color: #0056b3;
}

.ja-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 36px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    user-select: none;
}

/* WhatsApp widget (sidebar) */
.ja-wa-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ja-wa-head {
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ja-wa-icon {
    flex-shrink: 0;
}

.ja-wa-body {
    padding: 22px 14px;
    text-align: center;
}

.ja-wa-body p {
    margin: 0 0 14px 0;
    font-size: 14px;
    color: #374151;
}

.ja-wa-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s;
}

.ja-wa-btn:hover {
    background: #1fb655;
    color: #fff;
}

/* Category page — mobile */
@media (max-width: 768px) {
    .ja-cat-hero {
        padding: 22px 15px;
        margin-top: 8px;
    }

    .ja-cat-hero-inner h1 {
        font-size: 22px;
    }

    .ja-cat-breadcrumb {
        font-size: 13px;
    }

    .ja-cat-table-head {
        font-size: 14px;
        padding: 10px 12px;
    }

    .ja-cat-table thead th {
        padding: 8px 8px;
        font-size: 12px;
    }

    .ja-cat-table tbody td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .ja-cat-col-date   { width: 18%; }
    .ja-cat-col-title  { width: 57%; }
    .ja-cat-col-action { width: 25%; }

    .ja-cat-date-day   { font-size: 13px; }
    .ja-cat-date-year  { font-size: 11px; }

    .ja-cat-title a    { font-size: 13px; line-height: 1.4; }

    .ja-page-link {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 10px;
    }
}

/* ======================================================
   ARTICLE PAGE STYLES (production2)
   ====================================================== */

/* Breadcrumb */
.ja-art-breadcrumb {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    padding-top: 5px;
}

.ja-art-breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}

.ja-art-breadcrumb a:hover {
    text-decoration: underline;
}

.ja-art-bc-sep {
    margin: 0 6px;
    color: #9ca3af;
}

/* Article Title */
.ja-art-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 12px 0;
    word-wrap: break-word;
}

/* Author & Date Meta */
.ja-art-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.ja-art-author {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.ja-art-author:hover {
    text-decoration: underline;
    color: #0056b3;
}

.ja-art-meta-sep {
    color: #d1d5db;
    margin: 0 4px;
}

.ja-art-updated {
    color: #ea580c;
    font-weight: 600;
}

/* Featured Image */
.ja-art-featured-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #e5e7eb;
}

.ja-art-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Content */
.ja-art-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ja-art-content h2 {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 28px 0 14px;
    word-break: break-word;
}

.ja-art-content h3 {
    color: #1f2937;
    font-size: 19px;
    font-weight: 700;
    margin: 22px 0 10px;
}

.ja-art-content h4 {
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
    margin: 18px 0 8px;
}

.ja-art-content p {
    margin: 0 0 16px;
}

.ja-art-content a {
    color: #0056b3;
    text-decoration: none;
}

.ja-art-content a:hover {
    text-decoration: underline;
}

.ja-art-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.ja-art-content ul,
.ja-art-content ol {
    margin: 0 0 16px 20px;
}

.ja-art-content ul li,
.ja-art-content ol li {
    margin-bottom: 6px;
}

/* Tables inside article content */
.ja-table-container {
    max-width: 100%;
    overflow-x: auto;
    margin: 16px 0;
}

.ja-art-content table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed;
}

.ja-art-content table th,
.ja-art-content table td {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    word-break: break-word;
    white-space: normal;
    font-size: 14px;
    min-width: 80px;
}

.ja-art-content table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e3a8a;
    text-align: left;
}

.ja-art-content table tr:hover {
    background: #f9fafb;
}

/* Lazy images */
.ja-lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    max-width: 100%;
    height: auto;
}

.ja-lazy.ja-lazy-loaded {
    opacity: 1;
}

/* Tags */
.ja-art-tags {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
    word-wrap: break-word;
    line-height: 1.7;
}

.ja-art-tags strong {
    color: #111827;
    font-weight: 700;
}

/* Related Articles (same category, with thumbnails) */
.ja-art-related {
    margin: 28px 0;
}

.ja-art-related-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0056b3;
    display: inline-block;
}

.ja-art-related-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ja-art-related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ja-art-related-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
}

.ja-art-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ja-art-related-info {
    flex: 1;
    min-width: 0;
}

.ja-art-related-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.ja-art-related-info h3 a {
    color: #1f2937;
    text-decoration: none;
}

.ja-art-related-info h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ja-art-related-time {
    font-size: 13px;
    color: #9ca3af;
}

/* Category Widgets Bottom */
.ja-art-cat-widgets {
    margin: 28px 0;
}

.ja-art-cat-widgets-heading {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: #0056b3;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 0 0 20px;
}

.ja-art-cat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.ja-art-cat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.ja-art-cat-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.ja-art-cat-card-header a {
    font-size: 14px;
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.ja-art-cat-card-header a:hover {
    text-decoration: underline;
}

.ja-art-cat-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ja-art-cat-card-list li {
    display: flex;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.ja-art-cat-card-list li:last-child {
    border-bottom: none;
}

.ja-art-cat-card-list li:hover {
    background: #f8f9fa;
}

.ja-art-cat-item-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    margin-right: 14px;
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.ja-art-cat-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ja-art-cat-item-info {
    flex: 1;
    min-width: 0;
}

.ja-art-cat-item-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.ja-art-cat-item-title:hover {
    color: #0056b3;
}

.ja-art-cat-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.ja-art-cat-badge {
    display: inline-block;
    background: #0056b3;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

.ja-art-cat-time {
    color: #9ca3af;
}

/* FAQ Section */
.ja-art-faq {
    margin: 28px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.ja-art-faq-title {
    color: #dc2626;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
}

.ja-art-faq-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.ja-art-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ja-art-faq-q {
    font-size: 17px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
    line-height: 1.5;
}

.ja-art-faq-a {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

.ja-art-faq-a p {
    margin: 0;
}

/* Recent Articles List */
.ja-art-recent {
    margin: 28px 0;
}

.ja-art-recent-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 14px;
}

.ja-art-recent ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.ja-art-recent ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.6;
}

.ja-art-recent ul li:last-child {
    border-bottom: none;
}

.ja-art-recent ul li a {
    color: #0056b3;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.ja-art-recent ul li a:hover {
    text-decoration: underline;
}

/* Sidebar — Article Page Widget */
.ja-art-sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.ja-art-sidebar-widget-head {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    padding: 16px 18px;
    border-bottom: 3px solid #111827;
}

.ja-art-sidebar-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ja-art-sidebar-widget-list li {
    border-bottom: 1px solid #f0f0f0;
}

.ja-art-sidebar-widget-list li:last-child {
    border-bottom: none;
}

.ja-art-sidebar-widget-list li a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    line-height: 1.5;
    transition: background 0.15s, color 0.15s;
}

.ja-art-sidebar-widget-list li a:hover {
    background: #f5f8ff;
    color: #0056b3;
}

/* WhatsApp button green variant */
.ja-wa-btn-green {
    background: #25d366;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}

.ja-wa-btn-green:hover {
    background: #1fb655;
    color: #fff;
}

/* YouTube embed */
.wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}

.youtube img {
    width: 100%;
    top: -16.82%;
    left: 0;
    opacity: 0.7;
}

.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}

.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #fff;
}

.youtube .play-button,
.youtube img {
    cursor: pointer;
}

.youtube .play-button,
.youtube .play-button:before,
.youtube iframe,
.youtube img {
    position: absolute;
}

.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* Tweet embed */
.fl-embed-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.fl-embed-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fl-embed-container .fl-embed-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    min-height: 200px;
    max-height: 200px;
    opacity: 0.75;
}

.fl-embed-container input[type=radio].radio-ref {
    display: none;
}

.fl-embed-container input[type=radio].radio-ref:checked+.fl-embed-content {
    max-height: 100%;
    opacity: 1;
}

.fl-embed-wrapper[data-embed-type=tweet] .fl-embed-content {
    min-height: 250px;
    max-height: 250px;
}

.fl-embed-container .embed-info-overlay {
    z-index: 999;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.49) 0, #fff 56.93%);
}

.fl-embed-container .embed-info-overlay>label {
    background: #fff;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.fl-embed-container input[type=radio].radio-ref:checked+.fl-embed-content+.embed-info-overlay {
    display: none;
}

.fl-embed-container .fl-embed-content blockquote {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    color: transparent !important;
}

.fl-embed-container .fl-embed-content blockquote * {
    display: none;
    color: transparent !important;
}

/* Article page — mobile responsive */
@media (max-width: 768px) {
    .ja-art-title {
        font-size: 22px;
        line-height: 1.35;
    }

    .ja-art-meta {
        font-size: 13px;
    }

    .ja-art-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .ja-art-content h2 {
        font-size: 19px;
    }

    .ja-art-content h3 {
        font-size: 17px;
    }

    .ja-art-content table th,
    .ja-art-content table td {
        padding: 8px;
        font-size: 13px;
        word-break: initial;
    }

    .ja-art-related-thumb {
        width: 100px;
        height: 68px;
    }

    .ja-art-related-info h3 {
        font-size: 14px;
    }

    .ja-art-faq {
        padding: 16px;
    }

    .ja-art-faq-title {
        font-size: 19px;
    }

    .ja-art-faq-q {
        font-size: 15px;
    }

    .ja-art-faq-a {
        font-size: 14px;
    }

    .ja-art-cat-card-header {
        padding: 12px 14px;
    }

    .ja-art-cat-card-header h3 {
        font-size: 16px;
    }

    .ja-art-cat-card-list li {
        padding: 12px 14px;
    }

    .ja-art-cat-item-thumb {
        width: 65px;
        height: 48px;
        margin-right: 12px;
    }

    .ja-art-cat-item-title {
        font-size: 13px;
    }

    .ja-art-cat-widgets-heading {
        font-size: 17px;
        padding: 10px 16px;
    }

    .ja-art-recent ul li a {
        font-size: 14px;
    }

    .ja-art-sidebar-widget-head {
        font-size: 16px;
        padding: 14px 15px;
    }
}

/* Article page — scoped body & header overrides */
.ja-article-page {
    background: #ffffff;
}

.ja-article-page .ja-header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eaeaea;
}

html:has(.ja-article-page) {
    overflow-x: hidden;
}

.ja-article-page .ja-art-content {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .ja-article-page .ja-content-left {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .ja-article-page .wrapper {
        max-width: 100%;
        padding: 0;
    }

    .ja-article-page .ja-art-content table {
        table-layout: auto;
    }

    .ja-article-page .ja-art-content table th,
    .ja-article-page .ja-art-content table td {
        min-width: auto;
    }
}

/* Author page — scoped mobile fix */
html:has(.ja-author-page) {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .ja-author-page .ja-content-left {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .ja-author-page .ja-cat-table table {
        table-layout: fixed;
    }

    .ja-author-page .ja-cat-col-title a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}
