/* JobGati typography and colors inspired by the provided Vana references. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter/inter-400.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter/inter-700.woff2") format("woff2");
}
:root {
    --jg-ink: #10171d;
    --jg-muted: #59616a;
    --jg-blue: #0878f9;
    --jg-navy: #101b30;
    --jg-line: #e5e1e5;
    --jg-page: #f3f1f3;
    --jg-lime: #d7ff00;
    --inf-main-color: #0878f9;
}

body { color: var(--jg-ink); background: var(--jg-page); font-family: "Inter", "Open Sans", Arial, sans-serif; font-size: 15px; line-height: 1.55; }
button, input, select, textarea { font-family: "Inter", "Open Sans", Arial, sans-serif; }
#header { position: relative; z-index: 20; border: 0; box-shadow: 0 2px 6px rgba(13, 43, 63, .12); }
#header .navbar-inverse { border: 0; border-bottom: 3px solid #0878f9; background: var(--jg-lime); }
.nav-top-container { min-height: 28px; background: #0878f9; }
.nav-top { min-height: 28px; }
.nav-top a, .nav-top .span-sep { color: #fff; font-size: 12px; }
.nav-container { min-height: 46px; }
.nav-container .navbar-nav > li:not(.li-navbar-brand):not(.li-search) > a { color: #10171d; font-size: 12px; font-weight: 700; line-height: 1.25; padding: 7px 4px; text-transform: uppercase; white-space: nowrap; }
.nav-container .navbar-nav > li > a:hover,
.nav-container .navbar-nav > li.active > a { color: #fff; background: #0878f9; }
.nav-desktop .navbar-nav > .li-navbar-brand { min-width: 190px; padding: 0 20px 0 8px; }
.nav-desktop .navbar-nav > .li-navbar-brand > .navbar-brand { display: flex; min-height: 58px; align-items: center; padding: 7px 12px 7px 0; }
.navbar-brand img { max-width: 180px; max-height: 46px; width: auto; }
.nav-container .search-icon, #header .mobile-button-buttons .search-icon { color: #d71920 !important; }
@media (min-width: 768px) {
    .nav-desktop .row, .nav-desktop .navbar-collapse { width: 100%; }
    .nav-desktop .navbar-collapse { display: block !important; height: auto !important; padding: 0; overflow: visible !important; }
    .nav-desktop .navbar-nav { position: relative; display: flex; width: 100%; min-height: 84px; align-content: center; align-items: center; justify-content: center; flex-wrap: wrap; float: none; margin: 0; padding: 4px 48px 4px 200px; }
    .nav-desktop .navbar-nav > li { flex: 0 0 25%; float: none; margin: 0; text-align: center; }
    .nav-desktop .navbar-nav > li > a { white-space: nowrap; }
    .nav-desktop .navbar-nav > .li-navbar-brand { position: absolute; top: 50%; left: 8px; min-width: 180px; margin: 0; padding: 0; text-align: left; transform: translateY(-50%); }
    .nav-desktop .navbar-nav > .li-navbar-brand > .navbar-brand { min-height: 58px; }
    .nav-desktop .navbar-nav > .li-search { position: absolute; top: 50%; right: 8px; width: 36px; margin: 0 !important; text-align: right; transform: translateY(-50%); }
    .nav-desktop .navbar-nav > .li-search > button { margin-left: auto !important; }
    .sg-topic-nav > .container { justify-content: center; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .nav-desktop .navbar-nav { padding-left: 175px; }
    .nav-desktop .navbar-nav > li:not(.li-navbar-brand):not(.li-search) { flex-basis: 25%; }
    .nav-container .navbar-nav > li:not(.li-navbar-brand):not(.li-search) > a { padding: 6px 3px; font-size: 11px; }
    .nav-desktop .navbar-nav > .li-navbar-brand { min-width: 160px; }
    .navbar-brand img { max-width: 155px; }
}
.sg-breaking { padding: 7px 0; border-bottom: 1px solid #d7e2de; background: #fff; }
.sg-breaking > .container { display: flex; align-items: center; gap: 10px; }
.sg-live-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 3px; background: #d71920; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sg-live-badge span { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sg-live-pulse 1.3s ease-out infinite; }
.sg-breaking-viewport { flex: 1; min-width: 0; overflow: hidden; }
.sg-breaking-track { display: flex; width: max-content; animation: sg-headline-scroll 32s linear infinite; }
.sg-breaking-set { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; padding-right: 9px; white-space: nowrap; }
.sg-breaking-set a { color: #263a4d; font-size: 13px; }
.sg-breaking-set a + a::before { content: " | "; margin-right: 9px; color: #d71920; font-weight: 800; }
.sg-breaking-viewport:hover .sg-breaking-track,
.sg-breaking-viewport:focus-within .sg-breaking-track { animation-play-state: paused; }
@keyframes sg-headline-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sg-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.sg-topic-nav { background: #0878f9; border-bottom: 1px solid #005bd1; }
.sg-topic-nav > .container { display: flex; align-items: center; gap: 0; min-height: 32px; overflow-x: auto; white-space: nowrap; }
.sg-topic-nav a { padding: 9px 10px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.sg-topic-nav a { text-align: center; }
.sg-topic-nav a:hover { color: #10171d; background: var(--jg-lime); }
.nav-mobile { max-width: 88vw; }
.sg-home-content { padding-top: 10px; }
.sg-featured-section { margin: 4px 0 10px; }
.sg-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.sg-featured-box { display: flex; min-height: 54px; align-items: center; justify-content: center; padding: 9px; border-radius: 3px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.sg-featured-box:hover, .sg-featured-box:focus { color: #fff; filter: brightness(.92); text-decoration: none; }
.sg-featured-box-1, .sg-featured-box-3, .sg-featured-box-5 { background: #0878f9; }
.sg-featured-box-2, .sg-featured-box-4, .sg-featured-box-6 { background: var(--jg-lime); color: #10171d; }
.sg-featured-box:hover, .sg-featured-box:focus { background: #1d394b; }
.sg-featured-box-2:hover, .sg-featured-box-2:focus,
.sg-featured-box-4:hover, .sg-featured-box-4:focus,
.sg-featured-box-6:hover, .sg-featured-box-6:focus { background: #c5e900; color: #10171d; }
.sg-updates-section { margin: 8px 0 18px; border: 1px solid #d1ccd2; background: #fff; }
.sg-section-heading { margin: 0; padding: 10px; background: #0878f9; color: #fff; font-size: 18px; font-weight: 800; text-align: center; }
.sg-updates-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-updates-column { min-width: 0; padding: 4px 8px; }
.sg-updates-column + .sg-updates-column { border-left: 1px solid #d7e2de; }
.sg-updates-column a, .sg-category-links a { position: relative; display: block; padding: 7px 0 7px 13px; border-bottom: 1px dotted #c4d1cc; color: #294f55; font-size: 13px; line-height: 1.4; text-decoration: none; }
.sg-updates-column a::before, .sg-category-links a::before { position: absolute; left: 0; color: #d71920; content: "›"; font-weight: 800; }
.sg-updates-column a:hover, .sg-category-links a:hover { color: #005bd1; text-decoration: underline; }
.sg-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; align-items: start; }
.sg-category-card { min-width: 0; overflow: hidden; border: 1px solid #d1ccd2; background: #fff; }
.sg-category-card h2, .sg-category-card h3 { margin: 0; padding: 11px 7px; background: #0878f9; color: #fff; font-size: 18px; font-weight: 800; text-align: center; }
.sg-category-icon { margin-right: 8px; font-size: .95em; vertical-align: -1px; }
.sg-category-links { padding: 4px 8px; }
.sg-category-links a { font-size: 13px; }
.sg-view-all { display: block; padding: 10px 8px; border-radius: 0 0 3px 3px; background: #0878f9; color: #fff; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; text-transform: uppercase; animation: sg-view-all-glow 1.8s ease-in-out infinite; }
.sg-view-all:hover, .sg-view-all:focus { background: #005bd1; color: #fff; text-decoration: none; }
.sg-view-all:focus-visible { outline: 3px solid #101b30; outline-offset: 2px; }
@keyframes sg-view-all-glow {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.8), 0 0 9px rgba(8,120,249,.45); }
}
.sg-ad-bottom { margin-top: 14px; }
.sg-pagination { margin: 15px 0; text-align: center; }
.sg-pagination .pagination > li.active { display: none !important; }
.sg-tools-section { margin: 24px 0 28px; padding: 14px; border: 1px solid #b7cf00; background: var(--jg-lime); }
.sg-tools-section > .sg-section-heading { display: block; clear: both; width: calc(100% + 28px); margin: -14px -14px 10px; float: none; text-align: center !important; }
.sg-tools-intro { display: block; clear: both; width: 100%; margin: 0 auto 14px; float: none; color: var(--jg-muted); font-size: 14px; text-align: center !important; }
.sg-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg-tool-card { position: relative; display: flex; min-width: 0; min-height: 126px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 24px; border: 1px solid #dad6db; border-radius: 8px; background: #fff; color: var(--jg-ink); text-align: center; text-decoration: none; }
.sg-tool-card:hover, .sg-tool-card:focus { border-color: #0878f9; background: #f6f9ff; color: var(--jg-ink); text-decoration: none; }
.sg-tool-mark { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #0878f9; color: #fff; font-size: 16px; font-weight: 800; }
.sg-tool-copy { display: block; width: 100%; min-width: 0; flex: 0 0 auto; text-align: center; }
.sg-tool-copy strong, .sg-tool-copy small { display: block; }
.sg-tool-copy strong { color: #101b30; font-size: 15px; line-height: 1.35; font-weight: 700; }
.sg-tool-copy small { margin-top: 5px; color: #59616a; font-size: 13px; line-height: 1.45; }
.sg-tool-arrow { position: absolute; top: 8px; right: 10px; color: #0878f9; font-size: 20px; }
#footer { margin-top: 48px; border-top: 3px solid #0878f9; background: var(--jg-lime); color: #10171d; }
#footer .title { color: #10171d; }
#footer .footer-widget .title-line { background: #101b30; }
#footer .f-widget-about p, #footer .widget-newsletter p { color: #263039; }
#footer .f-random-list li { background: transparent !important; }
#footer .f-random-list li .title a, #footer .widget-list li a { color: #101b30; }
#footer a { color: #101b30; }
#footer a:hover { color: #005bd1; }
#footer .newsletter input { border: 1px solid #10171d !important; border-right: 0 !important; border-radius: 8px 0 0 8px; background: #f7f5f6 !important; color: #10171d !important; }
#footer .newsletter .newsletter-button { border-radius: 0 8px 8px 0; background: #0878f9; border-color: #0878f9; }
#footer .f-widget-follow ul li a { background: #fff; color: #101b30; }
#footer .f-widget-follow ul li a:hover { color: #0878f9 !important; }
#footer .footer-bottom { border-top-color: rgba(16, 23, 29, .25); }
.btn-primary, .btn-custom, input[type="submit"], button[type="submit"] { border-color: #0878f9; background-color: #0878f9; color: #fff; }
.btn-primary:hover, .btn-custom:hover, input[type="submit"]:hover, button[type="submit"]:hover { border-color: #005bd1; background-color: #005bd1; color: #fff; }
img, video, iframe, embed, object { max-width: 100%; }
.post-content, .post-content .post-text, .sidebar { min-width: 0; max-width: 100%; }
@media (max-width: 991px) {
    /* The fixed drawer must escape the header stacking context and sit above its overlay. */
    #header { z-index: auto; }
    .nav-mobile { z-index: 1002; }
    #header .modal-search { top: 58px; right: 0; left: 0; background: #0878f9; }
    #header .modal-search .container { padding-right: 48px; padding-left: 15px; }
    .sidebar { margin-top: 24px; }
    .sg-topic-nav > .container { justify-content: center; flex-wrap: wrap; overflow: visible; white-space: normal; }
    .sg-topic-nav a { flex: 0 1 auto; }
    .nav-mobile .navbar-nav .nav-item,
    .nav-mobile .navbar-nav .nav-item .nav-link,
    .nav-mobile .navbar-nav .open .dropdown-menu > li > a { text-align: center; }
    .nav-mobile .navbar-nav .nav-item .nav-link { display: flex; align-items: center; justify-content: center; }
    .nav-mobile .navbar-nav .nav-item .nav-link i { float: none !important; margin-left: 8px; }
}
@media (max-width: 767px) {
    .post-content .post-text table { display: block; max-width: 100%; overflow-x: auto; }
}
body.jg-dark-mode {
    --jg-ink: #e4edf5;
    --jg-muted: #b8c7d5;
    --jg-line: #34495a;
    --jg-page: #111a24;
    color: var(--jg-ink);
    background: var(--jg-page);
}
body.jg-dark-mode #header .navbar-inverse { background: #192736; }
body.jg-dark-mode .nav-top-container { background: #0878f9; }
body.jg-dark-mode .nav-container .navbar-nav > li > a:hover,
body.jg-dark-mode .nav-container .navbar-nav > li.active > a { background: #0878f9; }
body.jg-dark-mode .sg-breaking,
body.jg-dark-mode .sg-topic-nav,
body.jg-dark-mode .sg-updates-section,
body.jg-dark-mode .sg-category-card { background: #192736; }
body.jg-dark-mode .sg-breaking { border-color: #34495a; }
body.jg-dark-mode .sg-breaking-set a,
body.jg-dark-mode .sg-topic-nav a,
body.jg-dark-mode .sg-updates-column a,
body.jg-dark-mode .sg-category-links a { color: #deebf5; }
body.jg-dark-mode .sg-topic-nav a:hover { color: #10171d; background: var(--jg-lime); }
body.jg-dark-mode .sg-tools-section,
body.jg-dark-mode .sg-tool-card { border-color: #40586a; background: #192736; }
body.jg-dark-mode .sg-tools-section { border-color: #34495a; background: #142331; }
body.jg-dark-mode .sg-tool-card:hover,
body.jg-dark-mode .sg-tool-card:focus { background: #20364a; }
body.jg-dark-mode .sg-tool-copy strong { color: #e2edf6; }
body.jg-dark-mode .sg-tool-copy small,
body.jg-dark-mode .sg-tools-intro { color: #b8c7d5; }
body.jg-dark-mode .sg-tool-mark { background: #0878f9; color: #fff; }
body.jg-dark-mode .sg-tool-arrow { color: #9bdcf5; }
body.jg-dark-mode .sg-updates-column + .sg-updates-column { border-color: #34495a; }
body.jg-dark-mode .sg-topic-nav,
body.jg-dark-mode .sg-updates-section,
body.jg-dark-mode .sg-category-card { border-color: #34495a; }
body.jg-dark-mode #footer { background: #192736; color: #e5ebef; }
@media (max-width: 767px) {
    .nav-top-container { display: none; }
    .nav-container { min-height: 0; }
    .nav-desktop .navbar-nav > .li-navbar-brand { min-width: 0; padding: 0 10px; }
    .nav-desktop .navbar-nav > .li-navbar-brand > .navbar-brand { min-height: 48px; }
    .navbar-brand img { max-width: 150px; max-height: 40px; }
    .sg-home-content { padding-left: 10px; padding-right: 10px; }
    .sg-featured-grid { gap: 5px; }
    .sg-featured-box { min-height: 58px; padding: 7px 5px; font-size: 13px; }
    .sg-updates-grid { grid-template-columns: 1fr; }
    .sg-updates-column { padding: 3px 9px; }
    .sg-updates-column + .sg-updates-column { border-top: 1px solid #d6e0e7; border-left: 0; }
    .sg-updates-column a { font-size: 14px; }
    .sg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .sg-category-card h2, .sg-category-card h3 { padding: 10px 5px; font-size: 15px; }
    .sg-category-links { padding: 3px 6px; }
    .sg-category-links a { font-size: 12px; }
    .sg-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .sg-tool-card { min-height: 122px; gap: 6px; padding: 11px 17px; }
    .sg-tool-mark { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; }
    .sg-tool-copy strong { font-size: 13px; }
    .sg-tool-copy small { font-size: 12px; }
    #footer { margin-top: 32px; }
    #footer .footer-widgets { padding-top: 28px; }
    #footer .footer-widget { float: none; margin-bottom: 22px; }
    #footer .footer-bottom { padding: 16px 0; line-height: 1.5; }
    #footer .footer-bottom-left,
    #footer .footer-bottom-right { float: none; text-align: center; }
    #footer .footer-bottom p { line-height: 1.5; }
    #footer .nav-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; }
    #footer .newsletter input,
    #footer .newsletter .newsletter-button { height: 44px; }
}
@media (max-width: 360px) {
    .sg-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .sg-breaking-viewport { overflow-x: auto; }
    .sg-breaking-track { animation: none; }
    .sg-breaking-set[aria-hidden="true"] { display: none; }
    .sg-view-all { animation: none; }
}
