/*
Theme Name: Majhi Naukri
Theme URI:  https://majhinaukri.com
Author:     Sky
Description: Maharashtra #1 Marathi Government Jobs Portal — 3-tab system (Sarkari/Local/Private)
Version:    3.0
Text Domain: majhinaukri
*/

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

:root {
  --navy:    #0d2d5e;
  --blue:    #1a56a0;
  --blue2:   #2271cc;
  --blue-lt: #e6f1fb;
  --saffron: #f5a623;
  --saffron2:#e8940f;
  --green:   #1b7a4b;
  --red:     #c53030;
  --purple:  #7b2fa8;
  --surface: #f4f7fc;
  --white:   #ffffff;
  --border:  #dce6f5;
  --text:    #1a2236;
  --text2:   #4a5a72;
  --text3:   #8a99ad;
  --shadow:  0 2px 12px rgba(26,86,160,0.10);
  --shadow2: 0 4px 24px rgba(26,86,160,0.16);
  --gold:    #f5a623;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── HEADER ── */
.site-header {
  background: var(--navy);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  font-family: 'Tiro Devanagari Marathi', serif;
  flex-shrink: 0;
}
.logo-text .l1 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
.logo-text .l2 { font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
.site-nav .nav-tg {
  background: var(--saffron);
  color: #fff !important;
  border-radius: 7px;
  padding: 6px 14px !important;
  font-weight: 600 !important;
  margin-left: 6px;
}
.site-nav .nav-tg:hover { background: var(--saffron2) !important; }

/* ── TICKER ── */
.breaking-ticker {
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  padding: 9px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.ticker-label {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.55} }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  font-size: 13px;
  color: var(--blue);
}
.ticker-inner a { color: var(--blue); font-weight: 500; margin-right: 32px; }
.ticker-inner a:hover { text-decoration: underline; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── HERO ── */
.site-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d7c 55%, #1e5bb5 100%);
  padding: 44px 28px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(245,166,35,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,166,35,0.18);
  color: var(--saffron);
  border: 1px solid rgba(245,166,35,0.35);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.site-hero h1 {
  font-family: 'Tiro Devanagari Marathi', serif;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.site-hero h1 em { color: var(--saffron); font-style: normal; }
.site-hero p { color: rgba(168,196,232,0.9); font-size: 14px; margin-bottom: 24px; }

.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  max-width: 520px;
  margin: 0 auto 28px;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  min-width: 0;
}
.hero-search input::placeholder { color: var(--text3); }
.hero-search button {
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hero-search button:hover { background: var(--saffron2); }

.hero-stats { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.hstat-num { font-size: 26px; font-weight: 700; color: #fff; line-height: 1; }
.hstat-num span { color: var(--saffron); }
.hstat-label { font-size: 11.5px; color: rgba(168,196,232,0.8); margin-top: 3px; }

/* ── MAIN LAYOUT ── */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 22px;
  align-items: start;
}
.content-col { min-width: 0; }

/* ── 3-TAB SYSTEM ── */
.job-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.jtab {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text2);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
}
.jtab:hover { border-color: var(--blue); color: var(--blue); }
.jtab.active-sarkari { background: var(--blue);   border-color: var(--blue);   color: #fff; }
.jtab.active-local   { background: var(--green);  border-color: var(--green);  color: #fff; }
.jtab.active-private { background: var(--purple); border-color: var(--purple); color: #fff; }

/* ── CATEGORY CHIPS ── */
.cat-strip {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.chip {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text2);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover, .chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── SECTION HEADER ── */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-hd h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-hd h2::before {
  content: '';
  display: block;
  width: 4px; height: 18px;
  background: var(--saffron);
  border-radius: 3px;
}
.section-hd a { font-size: 12.5px; color: var(--blue); text-decoration: none; font-weight: 500; }

/* ── JOB CARDS GRID ── */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.job-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.22s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow2);
  transform: translateY(-2px);
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--saffron));
  opacity: 0;
  transition: opacity 0.22s;
}
.job-card:hover::before { opacity: 1; }

/* Card logo */
.card-top { display: flex; align-items: flex-start; gap: 12px; }
.card-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
}
.logo-defence  { background: linear-gradient(135deg,#1a56a0,#0d2d5e); }
.logo-health   { background: linear-gradient(135deg,#1b7a4b,#145c38); }
.logo-mpsc     { background: linear-gradient(135deg,#7b2fa8,#5b1f88); }
.logo-teaching { background: linear-gradient(135deg,#e8940f,#c57a0a); }
.logo-railway  { background: linear-gradient(135deg,#c53030,#9b1c1c); }
.logo-local    { background: linear-gradient(135deg,#1b7a4b,#145c38); }
.logo-private  { background: linear-gradient(135deg,#7b2fa8,#5b1f88); }
.logo-default  { background: linear-gradient(135deg,#2271cc,#1a56a0); }

.card-title-wrap { flex: 1; min-width: 0; }
.card-cat {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.tag-blue   { background: #e6f1fb; color: var(--blue); }
.tag-green  { background: #e8f8f0; color: var(--green); }
.tag-red    { background: #fff0f0; color: var(--red); }
.tag-gold   { background: #fff8e6; color: #7b5e00; }
.tag-purple { background: #f5eeff; color: var(--purple); }

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.card-date { font-size: 11px; color: var(--text3); }
.card-btn {
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.card-btn:hover { background: var(--navy); color: #fff; }

/* Trending badge */
.trending-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: linear-gradient(90deg,#ff6b35,#f7931e);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.page-numbers {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.page-numbers:hover,
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── SIDEBAR ── */
.site-sidebar { display: flex; flex-direction: column; gap: 16px; }
.s-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.s-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tool-btn {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.tool-btn:hover { border-color: var(--blue); background: var(--blue-lt); }
.tool-icon { font-size: 22px; margin-bottom: 4px; }
.tool-name { font-size: 11.5px; color: var(--text2); font-weight: 500; }

.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: color 0.2s;
}
.cat-row:last-child { border-bottom: none; }
.cat-row:hover { color: var(--blue); }
.cat-count {
  background: var(--surface);
  color: var(--text3);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.alert-card {
  background: linear-gradient(135deg, var(--navy), #1a3d7c);
  border-radius: 14px;
  padding: 20px;
  color: #fff;
}
.alert-card h3 { color: #fff; margin-bottom: 6px; }
.alert-card p { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.alert-input {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
}
.alert-btn {
  width: 100%;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.alert-btn:hover { background: var(--saffron2); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 32px 28px 20px;
  margin-top: 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 { color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.site-footer a { display: block; color: rgba(255,255,255,0.6); font-size: 12.5px; margin-bottom: 7px; }
.site-footer a:hover { color: var(--saffron); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,0.4);
}
.social-row { display: flex; gap: 8px; margin-top: 10px; }
.soc-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.soc-btn:hover { background: var(--saffron); }

/* ── ARTICLE STYLES ── */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 12.5px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); }

.article-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 22px;
  align-items: start;
}
.article-hero {
  background: linear-gradient(135deg, #0d2d5e 0%, #1a3d7c 55%, #1e5bb5 100%);
  padding: 36px 24px 0;
  position: relative;
  overflow: hidden;
}
.article-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: var(--surface);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 44px;
}
.article-hero h1 {
  font-family: 'Tiro Devanagari Marathi', serif;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}
.post-cats { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.post-cat {
  background: rgba(245,166,35,.2);
  color: #f5a623;
  border: 1px solid rgba(245,166,35,.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.meta-item { font-size: 12.5px; color: #a8c4e8; }
.meta-item strong { color: #fff; }
.share-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.share-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
}
.share-wp  { background: #25d366; color: #fff; }
.share-fb  { background: #1877f2; color: #fff; }
.share-tg  { background: #0088cc; color: #fff; }
.share-copy { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3) !important; }

.article-content {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 18px;
  line-height: 1.8;
}
.article-content h2 {
  font-family: 'Tiro Devanagari Marathi', serif;
  font-size: 19px;
  font-weight: 700;
  color: #0d2d5e;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6f1fb;
}
.article-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0d1f38;
  margin: 20px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--saffron);
}
.article-content p { font-size: 15px; color: #4a5a72; margin-bottom: 14px; line-height: 1.85; }
.article-content strong { color: #0d1f38; font-weight: 600; }
.article-content a { color: var(--blue); }
.article-content ul,
.article-content ol { margin: 10px 0 16px 22px; }
.article-content li { font-size: 14.5px; color: #4a5a72; margin-bottom: 6px; line-height: 1.7; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.article-content table th { background: #0d2d5e; color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; }
.article-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: #4a5a72; }
.article-content table tr:nth-child(even) td { background: #f8fafd; }
.article-content table tr:hover td { background: var(--blue-lt); }
.article-content table td:first-child { font-weight: 500; color: #0d1f38; }

/* ── MOBILE ── */
@media(max-width: 900px) {
  .site-main { grid-template-columns: 1fr; }
  .site-sidebar { display: none; }
  .jobs-grid { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media(max-width: 600px) {
  .site-header { padding: 0 14px; }
  .site-nav { display: none; }
  .site-hero { padding: 28px 16px 24px; }
  .site-hero h1 { font-size: 24px; }
  .hero-stats { gap: 20px; }
  .site-main { padding: 14px; }
  .breaking-ticker { padding: 8px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-content { padding: 18px 16px; }
}
