/* ===================================================================
   Assam Job Portal — AllJobAssam.com Replicated Design System
   =================================================================== */

:root {
  --font-main: 'Lexend Deca', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --text-primary: #1d1d1d;
  --text-secondary: #383838;
  --link-color: #2e67d9;
  --primary-accent: #1db37e;
  --primary-accent-hover: #1c976c;
  --border-color: #e4e4e4;
  --max-width: 1200px;

  /* Card Colors & Badges */
  --today-badge: #ff4d4f;
  --tomorrow-badge: #fa8c16;
  --new-badge: #ff0000;
  --whatsapp-bg: #2cb641;
  --telegram-bg: #34aae2;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.5;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-main); margin: 0 0 .4em; font-weight: 700; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===================================================================
   1. Sticky Top Notice Bar
   =================================================================== */
#top-bar-notification {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #7F00FF, #E100FF);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 8px 15px;
  min-height: 38px;
  box-sizing: border-box;
  contain: layout style;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
#top-bar-notification a {
  color: #ffffff;
  font-weight: 700;
  margin-left: 8px;
  text-decoration: underline;
}

/* ===================================================================
   2. Header Hero Section (AllJobAssam Gradient Background)
   =================================================================== */
.hero-header-bg {
  background-image: linear-gradient(160deg, #4e88ba, #03d596);
  padding: 35px 0 25px 0;
  text-align: center;
  color: #ffffff;
  min-height: 210px;
  box-sizing: border-box;
  contain: layout;
}

.hero-header-bg h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero-header-bg p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #f0fdf4;
}

/* Header Social Action Buttons */
.hero-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  color: #ffffff !important;
  text-decoration: none !important;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(0,0,0,0.2));
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-social:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.btn-whatsapp { background-color: var(--whatsapp-bg); }
.btn-telegram { background-color: var(--telegram-bg); }

.search-container-wrap {
  max-width: 550px;
  margin: 0 auto;
}

.hero-search-form {
  display: flex;
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.hero-search-form input[type="search"] {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  color: var(--text-primary);
}
.hero-search-form button {
  background-color: var(--primary-accent);
  color: #ffffff;
  border: 0;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.2s ease;
}
.hero-search-form button:hover {
  background-color: var(--primary-accent-hover);
}

/* ===================================================================
   3. Main Sticky Navigation Bar
   =================================================================== */
.main-navigation-bar {
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px;
  position: sticky;
  top: 36px;
  z-index: 999;
}

.main-navigation-bar .inside-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links-menu li a {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links-menu li a:hover,
.nav-links-menu li.active a {
  color: var(--primary-accent);
  background-color: var(--background-alt);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ===================================================================
   4. Trending News Marquee Ticker
   =================================================================== */
.header-ticker-container {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-bottom: 2px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.header-ticker-label {
  background-color: #d32f2f;
  color: #ffffff;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  position: relative;
  z-index: 10;
  min-width: 140px;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.header-ticker-label::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 12px solid #d32f2f;
  z-index: 10;
}

.header-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.header-marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: headerMarqueeScroll 28s linear infinite;
}

.header-marquee-content:hover {
  animation-play-state: paused;
}

.header-news-item {
  font-size: 14px;
  font-weight: 600;
  margin-right: 40px;
  display: inline-flex;
  align-items: center;
}

.header-news-item a {
  color: #003366;
  text-decoration: none;
}

.header-news-item a:hover {
  color: #d32f2f;
  text-decoration: underline;
}

.header-badge-new {
  background-color: var(--new-badge);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  text-transform: uppercase;
  animation: pulseNewBadge 1.2s infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes pulseNewBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  50% { transform: scale(1.08); box-shadow: 0 0 6px 3px rgba(255, 0, 0, 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

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

/* ===================================================================
   5. Quick Category Gradient Tiles Grid (8 Blocks)
   =================================================================== */
.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.cat-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 7px;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  box-shadow: 0px 2px 7px rgba(117, 117, 117, 0.15);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.tile-assam-govt   { background-image: linear-gradient(to right, #1a93eb 0%, #2b0fa3 100%); }
.tile-central-govt { background-image: linear-gradient(to right, #c505f0 0%, #670385 100%); }
.tile-admit-card   { background-image: linear-gradient(to right, #f06205 0%, #9e4505 100%); }
.tile-result       { background-image: linear-gradient(to right, #f00545 0%, #830924 100%); }
.tile-admission    { background-image: linear-gradient(to right, #08c18a 0%, #066128 100%); }
.tile-scholarship  { background-image: linear-gradient(to right, #f09105 0%, #825709 100%); }
.tile-answer-key   { background-image: linear-gradient(to right, #05cdf0 0%, #046194 100%); }
.tile-tools        { background-image: linear-gradient(to right, #a605f0 0%, #5627d9 100%); }

/* ===================================================================
   6. Quick Utility Icons Grid
   =================================================================== */
.tools-utility-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.tool-utility-item {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 5px;
  text-align: center;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tool-utility-item:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tool-utility-item .tool-icon {
  font-size: 20px;
  margin-bottom: 4px;
}
.tool-utility-item .tool-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ===================================================================
   7. Deadline Alert Badges (Today & Tomorrow)
   =================================================================== */
.deadline-alerts-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.deadline-card-block {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 14px;
  background: #ffffff;
}

.closing-today-header {
  background-color: var(--today-badge);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  margin-bottom: 12px;
}

.closing-tomorrow-header {
  background-color: var(--tomorrow-badge);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  margin-bottom: 12px;
}

/* ===================================================================
   8. 3-Column Content Layout (AllJobAssam Style)
   =================================================================== */
.main-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.column-box {
  border: 2px solid var(--primary-accent);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 0 8px 0 rgba(56, 56, 56, 0.12);
  display: flex;
  flex-direction: column;
}

.column-box-header {
  background-color: var(--primary-accent);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 10px 15px;
}

.column-box-body {
  padding: 12px 14px;
  flex: 1;
}

.post-card-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.post-card-item:last-child {
  border-bottom: none;
}

.post-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}
.post-card-title a {
  color: var(--link-color);
}
.post-card-title a:hover {
  color: var(--primary-accent);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #666666;
}
.meta-published {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.meta-deadline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #d32f2f;
}

.column-read-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--link-color);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 10px;
  text-decoration: none !important;
  text-align: center;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.column-read-more-btn:hover {
  background-color: #1e54c4;
}

/* ===================================================================
   9. Secondary 4-Column Grid (Admit Card, Result, Admission, Scholarship)
   =================================================================== */
.secondary-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

/* ===================================================================
   10. Footer Section
   =================================================================== */
.site-footer {
  background-color: #101828;
  color: #cbd2e0;
  padding: 35px 0 20px 0;
  font-size: 14px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #cbd2e0;
}
.footer-col ul li a:hover {
  color: var(--primary-accent);
}

.footer-bottom {
  border-top: 1px solid #263043;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #8a93a6;
}

/* ===================================================================
   11. Mobile Responsiveness
   =================================================================== */
@media (max-width: 1024px) {
  .category-tiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tools-utility-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .main-columns-grid {
    grid-template-columns: 1fr;
  }
  .secondary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-header-bg h1 {
    font-size: 22px;
  }
  .category-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tools-utility-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .deadline-alerts-container {
    grid-template-columns: 1fr;
  }
  .secondary-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-navigation-bar .nav-links-menu.mobile-open {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

main {
  min-height: 600px;
  contain: layout;
  box-sizing: border-box;
}

/* ===================================================================
   12. AllJobAssam Single Post Page Styles
   =================================================================== */
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 800px;
  contain: layout;
}

.single-post-main {
  background: #ffffff;
  max-width: 100%;
  min-width: 0; /* Critical CSS Grid Overflow Fix */
  overflow-x: hidden;
  box-sizing: border-box;
  contain: layout style;
}

.single-post-social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  min-height: 105px;
  contain: layout style;
}

.post-breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
.post-breadcrumb a {
  color: var(--primary-accent);
  text-decoration: none;
}

.single-post-title {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1.3;
  margin-bottom: 12px;
}

.single-post-meta {
  font-size: 13px;
  color: #666666;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Quick Overview Table (AllJobAssam Style) */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
}
.overview-table th, .overview-table td {
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  text-align: left;
}
.overview-table th {
  background-color: #f8f9fa;
  font-weight: 700;
  width: 38%;
  color: #1d1d1d;
}

/* Important Links Table */
.important-links-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
}
.important-links-table th, .important-links-table td {
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
}
.important-links-table th {
  background-color: #f8f9fa;
}
.btn-table-action {
  display: inline-block;
  background-color: var(--link-color);
  color: #ffffff !important;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 13px;
}
.btn-table-action:hover {
  background-color: #1e54c4;
}

/* Article HTML Content Styling */
.article-body-content {
  font-size: 15px;
  line-height: 1.65;
  color: #222222;
  margin-bottom: 30px;
}
.article-body-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #1d1d1d;
}
.article-body-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1d1d1d;
}
.article-body-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-body-content p {
  margin-bottom: 16px;
  max-width: 100%;
}
.article-body-content a {
  word-break: break-all;
}
.article-body-content ul, .article-body-content ol {
  margin-bottom: 18px;
  padding-left: 20px;
  max-width: 100%;
}
.article-body-content img, .article-body-content figure {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 15px auto;
  border-radius: 6px;
}
.article-body-content iframe, .article-body-content embed, .article-body-content video {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  border-radius: 6px;
}

/* 100% Responsive Mobile Tables Fix (Overview, Links & Content Tables) */
.overview-table, .important-links-table, .article-body-content table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-collapse: collapse !important;
  margin-bottom: 20px !important;
  border: 1px solid #d0d0d0 !important;
  word-break: normal !important;
}
.overview-table th, .overview-table td,
.important-links-table th, .important-links-table td,
.article-body-content table th, .article-body-content table td {
  padding: 10px 12px !important;
  border: 1px solid #d0d0d0 !important;
  font-size: 14px !important;
  white-space: normal !important;
  min-width: 110px !important;
}
.overview-table th, .important-links-table th, .article-body-content table th {
  background-color: #f8f9fa !important;
  font-weight: 700 !important;
}

/* FAQ Accordion Styling */
.faq-box-item {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question-btn {
  background-color: #f8f9fa;
  padding: 12px 15px;
  font-weight: 700;
  font-size: 15px;
  color: #1d1d1d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-answer-body {
  padding: 14px 15px;
  font-size: 14px;
  color: #444444;
  background-color: #ffffff;
  border-top: 1px solid #e4e4e4;
}

/* Sidebar Widgets */
.sidebar-widget {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #ffffff;
  margin-bottom: 25px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sidebar-widget-header {
  background-color: var(--primary-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 14px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.sidebar-widget-body {
  padding: 14px;
}

@media (max-width: 900px) {
  .single-post-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
  .single-post-main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
  .single-post-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    word-break: break-word;
  }
  .single-post-meta {
    font-size: 12px;
  }
  .article-body-content {
    font-size: 14px;
    line-height: 1.65;
  }
  div[style*="grid-template-columns:repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ===================================================================
   Premium Category Archive Page Styling
   =================================================================== */
.category-hero-banner {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #ffffff;
  padding: 28px 24px;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
  position: relative;
  overflow: hidden;
}
.category-hero-banner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.category-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}
.category-breadcrumb a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
}
.category-hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.category-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}
.category-count-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.category-intro-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 850px;
}

/* Category Layout Grid */
.category-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  margin-bottom: 30px;
}
@media (max-width: 992px) {
  .category-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium Job Card in Category */
.cat-job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: all 0.2s ease-in-out;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat-job-card:hover {
  transform: translateY(-2px);
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}
.cat-job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cat-badge-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
}
.cat-job-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 12px 0;
}
.cat-job-title a {
  color: #0f172a;
  text-decoration: none;
}
.cat-job-title a:hover {
  color: #2563eb;
}
.cat-job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  align-items: center;
}
.cat-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cat-meta-item.deadline-urgent {
  color: #dc2626;
  font-weight: 700;
  background: #fef2f2;
  padding: 2px 8px;
  border-radius: 4px;
}
.cat-job-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.cat-view-btn {
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-view-btn:hover {
  background: #1d4ed8;
  text-decoration: none;
}

/* Premium Pagination */
.cat-pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.cat-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cat-page-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  text-decoration: none;
  background: #f8fafc;
}
.cat-page-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Category Bottom SEO Box */
.cat-seo-bottom-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin-top: 30px;
  margin-bottom: 35px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.cat-seo-bottom-box h2 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.cat-seo-bottom-box p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ===================================================================
   Mobile 99+ PageSpeed Hardware Acceleration & Content Visibility
   =================================================================== */
.main-columns-grid, .secondary-cards-grid, .site-footer, .cat-seo-bottom-box, .tools-utility-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}
img {
  content-visibility: auto;
  decoding: async;
}


