/* Rozgar Update — modern responsive theme
   Brand palette derived from the supplied logo:
   Navy #082B55 / Orange #FF7900 / Soft backgrounds #F5F8FC
*/
:root {
  --navy: #082b55;
  --navy-2: #0d3c73;
  --navy-3: #061e3c;
  --orange: #ff7900;
  --orange-2: #ff9a3d;
  --white: #fff;
  --text: #172235;
  --muted: #68768a;
  --line: #e4eaf2;
  --bg: #f5f8fc;
  --shadow: 0 12px 35px rgba(8, 43, 85, 0.1);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.topbar {
  background: var(--navy-3);
  color: #dce9f8;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.topbar i {
  color: var(--orange);
  margin-right: 5px;
}

.brand-wrap {
  background:
    radial-gradient(
      circle at 82% 25%,
      rgba(255, 121, 0, 0.13),
      transparent 28%
    ),
    linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  border-bottom: 1px solid var(--line);
}

.brand {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.brand-copy {
  flex: 1;
}

.brand-title {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.brand-title span,
.footer-brand h2 span {
  color: var(--orange);
}

.brand-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
}

.main-nav {
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(8, 43, 85, 0.13);
}

.nav-inner {
  overflow-x: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: stretch;
  min-width: max-content;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  min-height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #eaf2fb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--orange);
  color: #fff;
}

.nav-links a i {
  font-size: 13px;
}

.ticker-area {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ticker {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

/* Latest label हमेशा fixed रहेगा */
.ticker-label {
  flex: 0 0 auto;
  position: relative;
  z-index: 10;

  background: #ff7900;
  color: #fff;

  border-radius: 8px;
  padding: 6px 12px;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;

  white-space: nowrap;

  box-shadow: 8px 0 15px rgba(255, 255, 255, 0.95);
}

/* केवल notification content scroll होगा */
.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* Scrolling content */
.ticker-track {
  display: flex;
  width: max-content;
  gap: 35px;

  white-space: nowrap;

  animation: ticker-scroll 28s linear infinite;
}

.ticker-track a {
  color: #082b55;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ticker-track a::before {
  content: "•";
  color: #ff7900;
  margin-right: 9px;
}

/* Right से आएगा और Latest label के पीछे नहीं जाएगा */
@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }

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

/* Hero */
.hero {
  margin-top: 28px;
  min-height: 300px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  background: linear-gradient(
    120deg,
    var(--navy-3),
    var(--navy) 58%,
    var(--navy-2)
  );
  box-shadow: var(--shadow);
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto -100px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 65px solid rgba(255, 121, 0, 0.15);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  color: var(--orange);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 12px 0 13px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  max-width: 640px;
  color: #cddced;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  padding: 12px 17px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #e66d00;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  transform: translateY(-2px);
}

.hero-art {
  width: 290px;
  height: 220px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.hero-orbit {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit-one {
  width: 240px;
  height: 240px;
  right: 0;
  top: -10px;
}

.orbit-two {
  width: 165px;
  height: 165px;
  right: 38px;
  top: 28px;
  border-color: rgba(255, 121, 0, 0.35);
}

.hero-card-main {
  position: absolute;
  right: 43px;
  top: 54px;
  width: 170px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 5px;
}

.hero-card-main i {
  color: var(--orange);
  font-size: 28px;
}

.hero-card-main strong {
  color: var(--navy);
  font-size: 18px;
}

.hero-card-main small {
  color: var(--muted);
}

.hero-mini {
  position: absolute;
  right: 4px;
  bottom: 2px;
  background: var(--orange);
  color: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 5px 15px rgba(8, 43, 85, 0.04);
  transition: 0.2s;
}

.quick-links a i {
  font-size: 18px;
  color: var(--orange);
}

.quick-links a:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Content cards */
.content-section {
  padding: 45px 0;
}

.section-intro {
  text-align: center;
  margin-bottom: 25px;
}

.section-intro h2,
.about-section h2 {
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
  margin-top: 5px;
}

.section-intro p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.homepage-ad {
  width: 100%;
  height: 90px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(8, 43, 85, 0.14);
}

.homepage-ad span {
  display: block;
  color: #8997a9;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(8, 43, 85, 0.06);
  transition: 0.2s;
}

.job-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.homepage-marquee {
  display: grid;
  gap: 6px;
  margin-bottom: 34px;
  overflow: hidden;
}

.marquee-row {
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  white-space: nowrap;
  border-bottom: 1px solid rgba(8, 43, 85, 0.12);
}

.marquee-track {
  display: flex;
  width: 200%;
  min-width: 200%;
  animation: marquee-forward 24s linear infinite;
}

.marquee-row-reverse .marquee-track {
  animation-name: marquee-reverse;
}

.homepage-marquee .marquee-track > a,
.homepage-marquee .marquee-track > span {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  min-width: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  background: transparent !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
}

.homepage-marquee .marquee-track > a:nth-child(6n + 1),
.homepage-marquee .marquee-track > span:nth-child(6n + 1) { color: #0f4c81; }
.homepage-marquee .marquee-track > a:nth-child(6n + 2),
.homepage-marquee .marquee-track > span:nth-child(6n + 2) {  color: #e76f51; }
.homepage-marquee .marquee-track > a:nth-child(6n + 3),
.homepage-marquee .marquee-track > span:nth-child(6n + 3) {  color: #2a9d8f; }
.homepage-marquee .marquee-track > a:nth-child(6n + 4),
.homepage-marquee .marquee-track > span:nth-child(6n + 4) {  color: #7b2cbf; }
.homepage-marquee .marquee-track > a:nth-child(6n + 5),
.homepage-marquee .marquee-track > span:nth-child(6n + 5) {  color: #d97706; }
.homepage-marquee .marquee-track > a:nth-child(6n + 6),
.homepage-marquee .marquee-track > span:nth-child(6n + 6) {  color: #386641; }

.marquee-track a::before,
.marquee-track span::before {
  display: none;
}

.homepage-marquee .marquee-track > a::after,
.homepage-marquee .marquee-track > span::after {
  content: "||";
  margin-left: 10px;
  margin-right: 10px;
  color: #8b98a8;
  font-weight: 800;
}

.marquee-track a:hover {
  /* color: #fff; */
  filter: brightness(1.12);
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 700px) {
  .homepage-marquee .marquee-track > a,
  .homepage-marquee .marquee-track > span {
    min-height: 40px;
    padding: 0;
    font-size: 11px;
  }
}

@keyframes marquee-forward {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes marquee-reverse {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-admin-row legend span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.card-heading {
  min-height: 58px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-heading-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: rgba(255, 121, 0, 0.16);
  color: var(--orange);
  border-radius: 10px;
}

.listing-card .card-heading::after {
  content: "";
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border: 1px solid rgba(255, 121, 0, 0.35);
  border-radius: 10px;
  background: rgba(255, 121, 0, 0.1);
  box-sizing: border-box;
}

.card-heading h2 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  flex: 1;
}

.count-badge {
  background: var(--orange);
  color: #fff;
  border-radius: 20px;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.card-list {
  padding: 5px 14px 0;
}

.job-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 12px 2px;
  border-bottom: 1px dashed #cfd8e4;
  text-decoration: none;
  color: #253348;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: 0.15s;
}

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

.job-item:hover {
  color: var(--orange);
}

.job-dot {
  color: var(--orange);
  font-size: 9px;
  margin-top: 4px;
  flex: none;
}

.job-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.view-more-wrap {
  padding: 11px 14px 14px;
  text-align: right;
}

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}

.view-more:hover {
  color: var(--orange);
}

.job-card-large {
  min-height: 0;
}

.job-card-small .card-heading h2 {
  font-size: 15px;
}

.job-card-small .job-item {
  font-size: 12px;
  padding: 10px 2px;
}

/* Database-backed category and detail views */
.listing-page {
  min-height: 520px;
}
.listing-page .content-section {
  width: min(760px, calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}
.listing-search {
  display: flex;
  gap: 10px;
  align-items: end;
  max-width: 700px;
  margin: 0 auto 22px;
}
.listing-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.listing-search input {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  font: inherit;
  background: #fff;
}
.listing-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dfe7f3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(8, 43, 85, 0.08);
}
.result-list {
  list-style: none;
  padding: 0 18px 10px;
  margin: 0;
  text-align: left;
}
.result-row {
  border-bottom: 1px dashed #d6dfeb;
}
.result-row:last-child {
  border-bottom: 0;
}
.result-row a,
.result-row-disabled {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 10px;
  text-decoration: none;
  color: var(--text);
  text-align: left;
}
.result-row a:hover {
  color: var(--orange);
}
.result-row .result-text,
.result-row-disabled .result-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.result-row .job-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 12px;
  width: 18px;
  flex-shrink: 0;
}
.result-row strong {
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  margin: 0;
  color: #111827;
}
.result-row small {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  text-align: left;
}
.result-arrow {
  color: var(--orange);
  font-size: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.result-row-disabled {
  color: var(--muted);
}
.result-row-disabled .job-dot {
  color: var(--muted);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}
.pagination a {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}
.pagination a.active,
.pagination a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.empty-state {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.detail-card {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #dfe7f3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(8, 43, 85, 0.08);
}
.detail-card .card-heading {
  min-height: 72px;
  padding: 18px 22px;
}
.detail-card .card-heading h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.detail-body {
  padding: 28px 28px 32px;
  background: #fff;
}
.detail-body p,
.detail-body li,
.detail-body div,
.detail-body span {
  color: #334155;
}
.detail-body p {
  margin-bottom: 18px;
  line-height: 1.8;
}
.detail-intro {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}
.detail-article-section {
  margin: 20px 0;
  padding: 18px 18px 4px;
  border: 1px solid #ebf0f6;
  border-left: 4px solid var(--blue, #2f6fed);
  border-radius: 12px;
  background: #fafcff;
}
.detail-article-section h3 {
  margin: 0 0 12px;
  color: var(--navy, #0f172a);
  font-size: 17px;
  line-height: 1.35;
}
.rich-content {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}
.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: #0f172a;
  margin: 20px 0 12px;
  line-height: 1.3;
}
.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
  margin: 0 0 16px;
}
.rich-content ul,
.rich-content ol {
  padding-left: 22px;
}
.rich-content li {
  margin-bottom: 8px;
}
.rich-content a {
  color: #0d3c73;
  font-weight: 700;
}
.rich-content strong,
.rich-content b {
  color: #0f172a;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  border: 1px solid #dfe7f3;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.rich-content table th,
.rich-content table td {
  border: 1px solid #dfe7f3;
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}
.rich-content table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}
.rich-content table td {
  color: #334155;
}
.detail-meta {
  font-size: 12px;
  font-weight: 700;
}
.notice {
  background: #fff3e8;
  color: #9a4a00 !important;
  border-left: 4px solid var(--orange);
  padding: 13px 15px;
}

/* Admin forms */
.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 121, 0, 0.16),
      transparent 28%
    ),
    linear-gradient(135deg, #061e3c, #0d3c73);
}
.admin-login-shell {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}
.admin-login-brand {
  padding: 46px 40px;
  color: #fff;
  background: linear-gradient(145deg, #082b55, #0d3c73);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 470px;
}
.admin-login-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 7px;
}
.admin-login-brand h1 {
  margin: 30px 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 31px;
  line-height: 1.15;
}
.admin-login-brand p {
  color: #c8d9ec;
  font-size: 14px;
  max-width: 270px;
}
.admin-login-brand .admin-login-note {
  color: #ffb36e;
  font-size: 12px;
  font-weight: 700;
}
.admin-login-panel {
  padding: 46px 48px;
}
.admin-login-panel h2 {
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  margin-bottom: 7px;
}
.admin-login-panel > p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.admin-login-panel .field {
  margin-bottom: 18px;
}
.admin-login-panel label,
.admin-form label {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}
.admin-login-panel input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.admin-login-panel input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(255, 121, 0, 0.16);
  border-color: var(--orange);
}
.admin-login-panel .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.admin-login-error {
  background: #fff1f0;
  border: 1px solid #f0c5c1;
  color: #a6372d;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13px;
  margin-bottom: 20px;
}
.admin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.admin-form-section {
  border: 0;
  padding: 0;
  margin: 0 0 30px;
}
.admin-form-section + .admin-form-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.admin-form-section legend {
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.admin-form .field-wide {
  grid-column: 1 / -1;
}
.admin-link-field {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}
.admin-link-field label {
  margin-bottom: 8px;
}
.admin-link-field input {
  margin-top: 9px;
}
.admin-form textarea {
  min-height: 92px;
  resize: vertical;
}
.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}
.admin-page {
  min-height: 100vh;
  background: #f4f6fb;
  padding: 34px 0 60px;
}
.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.admin-page-header h1 {
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
  margin-top: 7px;
}
.admin-page-header p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}
.admin-form-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-form-section legend i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff3e8;
  color: var(--orange);
  font-size: 13px;
}
.admin-field-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-top: 5px;
}
.admin-link-field select {
  cursor: pointer;
}
.admin-link-field input::placeholder {
  color: #aab4c2;
}
.admin-form-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #207346;
  background: #edf9f1;
  border: 1px solid #c8ead3;
  border-radius: 9px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}
.admin-form-error {
  color: #a6372d;
  background: #fff1f0;
  border: 1px solid #f0c5c1;
  border-radius: 9px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 13px;
}
.admin-form-error ul {
  margin: 0 0 0 18px;
}
@media (max-width: 700px) {
  .admin-login-shell {
    grid-template-columns: 1fr;
  }
  .admin-login-brand {
    min-height: 0;
    padding: 30px 26px;
  }
  .admin-login-brand h1 {
    margin-top: 22px;
    font-size: 26px;
  }
  .admin-login-brand .admin-login-note {
    margin-top: 24px;
  }
  .admin-login-panel {
    padding: 30px 26px;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form .field-wide {
    grid-column: auto;
  }
  .admin-form-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
  }
  .admin-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .admin-page {
    padding-top: 22px;
  }
  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-page-header .btn {
    width: 100%;
    justify-content: center;
  }
}

/* About */
.about-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 45px;
  box-shadow: 0 7px 22px rgba(8, 43, 85, 0.05);
}

.about-icon {
  flex: none;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff3e8;
  color: var(--orange);
  font-size: 22px;
}

.about-section p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  max-width: 900px;
}

/* Footer */
.site-footer {
  background: var(--navy-3);
  color: #d7e4f3;
}

.footer-top {
  padding: 48px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 35px;
}

.footer-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
}

.footer-brand h2 {
  font-family: "Poppins", sans-serif;
  color: #fff;
  font-size: 27px;
  margin-top: 13px;
}

.footer-brand > p {
  color: #a9bdd4;
  font-size: 12px;
  font-weight: 700;
}

.footer-desc {
  max-width: 330px;
  margin-top: 12px !important;
  font-weight: 400 !important;
  line-height: 1.7;
}

.footer-col h3 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #b8c9dc;
  font-size: 12px;
  margin: 0 0 10px;
  transition: 0.15s;
}

.footer-col a i {
  color: var(--orange);
  margin-right: 7px;
  font-size: 9px;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-note {
  font-size: 12px;
  color: #a9bdd4;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.socials a {
  width: 36px;
  height: 36px !important;
  display: grid !important;
  place-items: center;
  background: #123b67;
  border-radius: 10px;
  color: #fff !important;
  margin: 0 !important;
}

.socials a i {
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px;
}

.socials a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #051a32;
}

.footer-bottom-inner {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-bottom p {
  font-size: 11px;
  color: #91a8c1;
}

.footer-bottom strong {
  color: #fff;
}

.footer-bottom .developer {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 1000px) {
  .quick-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .topbar-right {
    display: none;
  }

  .brand {
    min-height: 92px;
  }

  .brand-logo img {
    width: 72px;
    height: 72px;
  }

  .brand-title {
    font-size: 31px;
    letter-spacing: -1px;
  }

  .brand-copy p {
    font-size: 11px;
    margin-top: 4px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: relative;
  }

  .nav-inner {
    overflow: visible;
  }

  .nav-links {
    display: none;
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
    top: 54px;
    background: var(--navy);
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero {
    padding: 34px 25px;
    min-height: 370px;
  }

  .hero-art {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .content-section {
    padding: 35px 0;
  }

  .listing-search {
    align-items: stretch;
    flex-direction: column;
  }

  .section-intro h2 {
    font-size: 24px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-bottom-inner {
    padding: 13px 0;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand-logo img {
    width: 62px;
    height: 62px;
  }

  .brand-title {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* =========================================================
   LATEST JOB DETAILS PAGE
   ========================================================= */

.details-page {
  background: #f5f8fc;
  padding-bottom: 50px;
}

/* Page Hero */

.details-hero {
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 121, 0, 0.16),
      transparent 25%
    ),
    linear-gradient(135deg, #061e3c, #0d3c73);
  color: #fff;
  padding: 28px 0 34px;
}

.details-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 25px;
  color: #b9cbe0;
}

.details-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.details-breadcrumb i {
  color: #ff7900;
}

.details-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  text-align: center;
}

.details-title-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #ff7900;
  border-radius: 17px;
  font-size: 25px;
  box-shadow: 0 12px 30px rgba(255, 121, 0, 0.25);
}

.details-title h1 {
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  line-height: 1.15;
  margin-top: 4px;
}

.details-title p {
  color: #c9d8e8;
  font-size: 13px;
  margin-top: 4px;
}

/* Main content */

.details-content {
  padding-top: 28px;
}

.details-main {
  width: min(900px, 100%);
  margin: 0 auto;
}

/* Advertisement */

.details-ad {
  height: 90px;
  background: #e9eef5;
  border: 1px dashed #c8d2df;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #8997a9;
  margin-bottom: 22px;
}

.details-ad span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.details-ad i {
  margin-right: 6px;
  color: #a9b4c2;
}

/* Main Job Card */

.job-details-card {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 12px 35px rgba(8, 43, 85, 0.08);
}

/* Job Header */

.job-details-header {
  padding: 25px 28px;

  display: flex;
  align-items: center;
  gap: 16px;

  background: linear-gradient(135deg, #f7fbff, #ffffff);

  border-bottom: 1px solid #e6ebf2;
}

.job-header-icon {
  width: 55px;
  height: 55px;

  display: grid;
  place-items: center;

  flex: none;

  border-radius: 14px;

  background: #fff1e5;
  color: #ff7900;

  font-size: 23px;
}

.job-label {
  color: #ff7900;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.job-details-header h2 {
  color: #082b55;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  margin-top: 2px;
}

.job-details-header p {
  color: #718095;
  font-size: 12px;
}

/* Social */

.share-row {
  padding: 14px 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 8px;

  background: #fbfcfe;
  border-bottom: 1px solid #e7ecf2;
}

.share-row > span {
  color: #536176;
  font-size: 11px;
  font-weight: 800;
  margin-right: 4px;
}

.share-row a {
  padding: 7px 11px;
  border-radius: 8px;

  text-decoration: none;

  font-size: 10px;
  font-weight: 700;

  color: #fff;
}

.share-telegram {
  background: #229ed9;
}

.share-whatsapp {
  background: #25d366;
}

.share-instagram {
  background: #d62976;
}

.share-x {
  background: #111827;
}

/* Sections */

.job-info-section {
  margin: 24px 28px;

  border: 1px solid #e2e8f0;
  border-radius: 13px;

  overflow: hidden;
}

.job-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 13px 16px;

  background: #082b55;
  color: #fff;
}

.job-section-heading i {
  color: #ff7900;
  width: 20px;
  text-align: center;
}

.job-section-heading h3 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

/* Info rows */

.info-content {
  padding: 5px 16px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 13px 3px;

  border-bottom: 1px dashed #ccd5e0;

  font-size: 12px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  color: #69778b;
}

.info-row strong {
  color: #18283e;
  text-align: right;
}

/* Table */

.table-wrapper {
  overflow-x: auto;
}

.eligibility-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.eligibility-table th {
  background: #f2f6fb;
  color: #082b55;

  font-size: 11px;
  font-weight: 800;

  padding: 12px;

  border-bottom: 1px solid #dce4ed;
}

.eligibility-table td {
  padding: 12px;

  font-size: 11px;
  color: #4c5b70;

  border-bottom: 1px dashed #d3dbe5;
}

.eligibility-table tr:last-child td {
  border-bottom: none;
}

/* How to Fill */

.steps-list {
  padding: 8px 16px 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 12px 3px;

  border-bottom: 1px dashed #ccd5e0;
}

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

.step-item span {
  flex: none;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  background: #fff1e5;
  color: #ff7900;

  border-radius: 8px;

  font-size: 10px;
  font-weight: 800;
}

.step-item p {
  color: #536176;
  font-size: 12px;
  padding-top: 5px;
}

/* Useful Links */

.useful-links {
  padding: 8px 16px 16px;
}

.useful-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 13px 12px;

  margin-top: 8px;

  border: 1px solid #e2e8f0;
  border-radius: 10px;

  color: #082b55;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  transition: 0.2s;
}

.useful-link span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.useful-link span i {
  color: #ff7900;
}

.useful-link > i {
  color: #8b99ab;
  font-size: 10px;
}

.useful-link:hover {
  border-color: #ff7900;
  color: #ff7900;
  transform: translateX(3px);
}

/* Bottom Advertisement */

.bottom-ad {
  margin-top: 22px;
  margin-bottom: 0;
}

/* Responsive */

@media (max-width: 700px) {
  .details-title {
    flex-direction: column;
    gap: 10px;
  }

  .details-title h1 {
    font-size: 28px;
  }

  .details-title p {
    font-size: 11px;
  }

  .job-details-header {
    padding: 20px;
  }

  .job-details-header h2 {
    font-size: 20px;
  }

  .job-info-section {
    margin: 18px 15px;
  }

  .share-row {
    padding: 12px 15px;
  }

  .share-row > span {
    width: 100%;
    text-align: center;
    margin-bottom: 3px;
  }

  .info-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .info-row strong {
    text-align: left;
  }

  .details-ad {
    height: 70px;
  }
}

@media (max-width: 420px) {
  .details-hero {
    padding: 20px 0 28px;
  }

  .details-title-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .details-title h1 {
    font-size: 25px;
  }

  .share-row a {
    flex: 1;
    text-align: center;
  }

  .job-section-heading {
    padding: 12px;
  }

  .job-section-heading h3 {
    font-size: 13px;
  }
}

.detail-block {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid var(--blue, #2f6fed);
}

.detail-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--blue, #2f6fed);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.detail-link-btn:hover {
  opacity: 0.9;
}

.detail-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #fff3e8;
  color: #9a4a00;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* RozgarUpdate style job detail page */
.sr-details-page {
  background: #fff;
  padding: 20px 0 40px;
}

.sr-details-page .content-section {
  width: min(780px, calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0 40px;
}

.sr-job-post {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
}

.sr-post-header {
  text-align: center;
  padding: 10px 8px 16px;
}

.sr-post-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 4vw, 26px);
  line-height: 1.35;
  color: #111;
  margin: 0 0 12px;
  font-weight: 800;
}

.sr-post-intro {
  font-size: 14px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 10px;
  text-align: left;
}

.sr-post-intro strong,
.sr-post-intro b {
  color: #111;
  font-weight: 800;
}

.sr-post-meta {
  font-size: 13px;
  color: #333;
  margin: 0;
}

.sr-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 18px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom: 18px;
}

.sr-share-row > span {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #444;
  margin-bottom: 4px;
}

.sr-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.sr-share-whatsapp {
  background: #25d366;
}
.sr-share-facebook {
  background: #1877f2;
}
.sr-share-x {
  background: #111;
}
.sr-share-telegram {
  background: #229ed9;
}

.sr-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  border: 1px solid #000;
  font-size: 13px;
}

.sr-th {
  background: #800000;
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #000;
  font-size: 13px;
}

.sr-th-center,
.sr-td-center {
  text-align: center;
}

.sr-td {
  padding: 10px 12px;
  border: 1px solid #000;
  vertical-align: top;
  color: #111;
  line-height: 1.6;
  background: #fff;
}

.sr-td .rich-content {
  margin: 0;
  font-size: inherit;
  line-height: 1.65;
}

.sr-td .rich-content p,
.sr-td .rich-content ul,
.sr-td .rich-content ol {
  margin: 0 0 8px;
}

.sr-td .rich-content ul,
.sr-td .rich-content ol {
  padding-left: 20px;
}

.sr-td .rich-content li {
  margin-bottom: 4px;
}

.sr-td .rich-content div {
  margin-bottom: 6px;
}

.sr-td .rich-content strong {
  color: #111;
}

.sr-table-main .sr-th {
  width: 50%;
}

.sr-table-combined .sr-td-stack {
  vertical-align: top;
  width: 50%;
}

.sr-cell-content {
  font-size: 13px;
  line-height: 1.65;
  color: #111;
}

.sr-cell-line {
  padding: 4px 0;
  border-bottom: 1px dashed #d5d5d5;
}

.sr-cell-line:last-child {
  border-bottom: 0;
}

.sr-cell-line strong {
  color: #111;
  font-weight: 700;
}

.sr-cell-full {
  font-weight: 500;
}

.sr-section-table,
.sr-data-table {
  margin-bottom: 16px;
}

.sr-section-heading {
  text-align: center;
  font-size: 15px;
}

.sr-data-table .sr-th,
.sr-data-table .sr-td {
  width: auto;
}

.sr-data-table .sr-td:first-child {
  width: 55%;
  font-weight: 600;
}

.sr-list {
  margin: 0;
  padding-left: 18px;
}

.sr-list li {
  margin-bottom: 4px;
}

.sr-section-title {
  background: #008000;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 12px;
  margin: 18px 0 0;
  border: 1px solid #000;
}

.sr-steps {
  margin: 0;
  padding-left: 22px;
}

.sr-steps li {
  margin-bottom: 8px;
}

.sr-click-here {
  color: #ff00ff;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

.sr-click-here:hover {
  text-decoration: underline;
}

.sr-link-status {
  color: #008000;
  font-weight: 700;
}

.sr-back-wrap {
  text-align: center;
  margin-top: 22px;
}

.sr-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #800000;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.sr-back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .sr-table-main tr:first-child,
  .sr-table-main tr:nth-child(2) {
    display: block;
  }

  .sr-table-main tr:first-child th,
  .sr-table-main tr:nth-child(2) td {
    display: block;
    width: 100%;
  }

  .sr-table {
    font-size: 12px;
  }

  .sr-th,
  .sr-td {
    padding: 8px;
  }
}
