/*
Theme Name: Easy Sarkari Result
Theme URI: https://easysarkariresult.com
Author: Team ESR
Author URI: https://easysarkariresult.com
Description: Theme for Easy Sarkari Result by Team.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easysarkariresult
*/

/* Homepage, Category Page, and List Page Styles */
:root {
  --primary: #1e40af;
  --primary-600: #1e3a8a;
  --accent: #0ea5e9;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --ring: #93c5fd;
  --chip: #eff6ff;
  --red: #dc2626;
  --orange: #ea580c;
  --magenta: #d946ef;
  --blue: #2563eb;
  --olive: #84cc16;
  --cyan: #06b6d4;
  --brown: #92400e;
  --green: #16a34a;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
}
.topbar .blink {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
/* Logo Styling - Desktop */
.brand img {
    max-width: 250px;      /* Desktop max width */
    width: 100%;           /* Allows shrinking */
    height: 48px; /* Keep height fixed */
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: contain;   /* Prevent cropping/distortion */
}

/* Responsive Styles */
@media (max-width: 760px) {
  /* ... other existing mobile rules ... */

  /* Logo Styling - Mobile */
  .brand img {
      max-width: 210px; /* Mobile max width */
  }

  /* Prevent zoom on sidebar search input */
  .search-widget input[type="search"] {
    font-size: 16px;
  }

  /* ... other existing mobile rules ... */
}
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-menu a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active,
body.archive .nav-menu a[href*="<?php echo get_post_type(); ?>"],
body.single .nav-menu a[href*="<?php echo get_post_type(); ?>"] {
  color: var(--primary);
  background: #eef2ff;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero {
  background: linear-gradient(140deg, #eaf2ff 0%, #ecfdf5 100%);
  padding: 48px 0 32px;
}
.hero-inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}
.hero h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 800px;
}
.search {
  display: flex;
  gap: 10px;
  max-width: 820px;
  width: 100%;
  margin-top: 18px;
  background: var(--surface);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
}
.search input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 8px;
  outline: none;
}
.search input:focus {
  box-shadow: 0 0 0 2px var(--ring);
}
.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.btn:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}
.trending {
  padding: 0 0 10px;
}
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trend-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
  justify-content: center;
}
.trend-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.trend-box.red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
  color: #991b1b;
}
.trend-box.orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fed7aa;
  color: #9a3412;
}
.trend-box.magenta {
  background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
  border-color: #f0abfc;
  color: #a21caf;
}
.trend-box.blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #1e40af;
}
.trend-box.olive {
  background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 100%);
  border-color: #d9f99d;
  color: #3f6212;
}
.trend-box.cyan {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border-color: #a5f3fc;
  color: #155e75;
}
.trend-box.brown {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fcd34d;
  color: #78350f;
}
.trend-box.green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
  color: #166534;
}
.trend-posts {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}
main {
  padding: 32px 0;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
}
.card h3 {
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 14px 18px;
  margin: -24px -24px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h3 a {
  color: #fff;
  text-decoration: none;
  flex: 1;
  transition: opacity 0.2s;
}
.card h3 a:hover {
  opacity: 0.9;
}
.card.docs h3 {
  background: #1d4ed8;
}
.card.admission h3 {
  background: #059669;
}
ul.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
ul.link-list li {
  border-bottom: 1px solid #f3f4f6;
  padding: 12px 0;
}
ul.link-list li:last-child {
  border-bottom: none;
}
ul.link-list li a {
  color: #1e40af;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: color 0.2s;
}
ul.link-list li a:hover {
  color: #dc2626;
}
ul.link-list li a:before {
  content: "•";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}
.view-more {
  text-align: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.view-more-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.view-more-btn:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}
.seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.seo-section h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.seo-section p {
  margin: 0 0 18px;
  color: #374151;
  font-size: 15px;
}
.seo-section p:last-child {
  margin-bottom: 0;
}
.seo-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 24px 0;
}
.disclaimer {
  background: #fef2f2;
  border-left: 4px solid var(--red);
  padding: 16px;
  border-radius: 6px;
  margin-top: 18px;
  font-weight: 500;
  color: #991b1b;
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
}
.faq h2 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.faq-q {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
}
.faq-a {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
  font-size: 15px;
}
footer {
  margin-top: 40px;
  background: #1f2937;
  color: #9ca3af;
  padding: 20px 0;
  border-top: 1px solid #374151;
}
.footer-content {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links .sep {
  color: #4b5563;
  user-select: none;
}
.footer-copy {
  color: #6b7280;
  font-size: 13px;
}
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb-list {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-list a:hover {
  color: var(--primary-600);
}
.breadcrumb-list .sep {
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb-list .current {
  color: var(--muted);
}
.page-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  padding: 32px 0;
  margin-bottom: 32px;
}
.page-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.page-header p {
  margin: 0;
  font-size: 16px;
  color: #dbeafe;
  max-width: 700px;
}
.page-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.stat-item i {
  font-size: 18px;
}
.stat-item span {
  font-weight: 600;
}
main {
  padding: 32px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}
.job-list {
  display: grid;
  gap: 16px;
}
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
  position: relative;
}
.job-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.job-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ef4444;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.job-badge.new {
  background: #16a34a;
}
.job-badge.hot {
  background: #dc2626;
}
.job-badge.featured {
  background: #7c3aed;
}
.job-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.job-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.job-title a:hover {
  color: #dc2626;
}
.job-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-meta-item i {
  color: var(--primary);
  font-size: 13px;
}
.job-meta-item.salary {
  color: #16a34a;
  font-weight: 600;
}
.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.apply-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.apply-btn:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}
.job-date {
  color: var(--muted);
  font-size: 13px;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
  background: var(--surface);
}
.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eef2ff;
}
.page-link.active,
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.page-link.disabled,
.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
/* WordPress Pagination Fixes */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all .2s;
    background: var(--surface);
}
.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eef2ff;
}
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--muted);
}
.sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.widget-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.search-widget input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.search-widget input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.search-widget button {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.search-widget button:hover {
  background: var(--primary-600);
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.section-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 70px;
  justify-content: center;
}
.section-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.section-box.red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
  color: #991b1b;
}
.section-box.blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #1e40af;
}
.section-box.green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
  color: #166534;
}
.section-box i {
  font-size: 18px;
  margin-bottom: 3px;
}
.recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.recent-item {
  display: flex;
  gap: 10px;
}
.recent-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}
.recent-info {
  flex: 1;
}
.recent-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.recent-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.recent-title a:hover {
  color: var(--primary);
}
.recent-date {
  color: var(--muted);
  font-size: 11px;
}
.seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-top: 40px;
  line-height: 1.8;
}
.seo-section h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.seo-section p {
  margin: 0 0 18px;
  color: #374151;
  font-size: 15px;
}
.seo-section p:last-child {
  margin-bottom: 0;
}
.seo-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 24px 0;
}
main {
  padding: 32px 0;
  margin-top: 20px;
}
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}
.post-content {
  display: grid;
  gap: 20px;
}
.post-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 4px;
}
.post-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-meta-item i {
  color: var(--primary);
}
.quick-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.quick-info h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.info-item strong {
  color: var(--text);
  min-width: 100px;
}
.info-item .value {
  color: #1e40af;
  font-weight: 600;
}
.info-item.important .value {
  color: #dc2626;
  font-weight: 700;
}
.apply-box {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border: 2px solid #16a34a;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.apply-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #166534;
}
.apply-btn-large {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.apply-btn-large:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.apply-btn-large i {
  font-size: 18px;
}
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
/* WordPress Content Styles */
.content-card .alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.content-card .alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.content-card .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
.content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.content-card h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.content-card h3 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.content-card h3:first-of-type {
  margin-top: 0;
}
.content-card h4 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.content-card p {
  margin: 0 0 16px;
  color: #374151;
  line-height: 1.8;
}
.content-card ul,
.content-card ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #374151;
}
.content-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.content-card strong {
  color: var(--text);
}
.content-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 14px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.content-table thead {
  background: #f9fafb;
}
.content-table th {
  padding: 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.content-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: #374151;
}
.content-table tbody tr:last-child td {
  border-bottom: none;
}
.content-table tbody tr:hover {
  background: #f9fafb;
}
.important-links {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.important-links h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #991b1b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.important-links h3 i {
  color: #dc2626;
}
.important-links .link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.important-links .link-list li {
    padding: 0;
    border-bottom: none;
}
.important-links .link-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 8px;
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  transition: all 0.2s;
}
.important-links .link-list li a:before {
    content: none;
}
.important-links .link-list li a:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #dc2626;
}
.important-links .link-list li a i {
  color: #dc2626;
}
.pdf-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.pdf-box h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #78350f;
}
.pdf-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #f59e0b;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}
.pdf-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}
.pdf-btn i {
  font-size: 18px;
}
.related-posts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}
.related-posts h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.related-grid {
  display: grid;
  gap: 14px;
}
.related-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.related-item:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.related-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}
.related-info {
  flex: 1;
}
.related-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.related-date {
  color: var(--muted);
  font-size: 12px;
}
.sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.widget-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.quick-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.quick-links li a:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--primary);
}
.quick-links li a i {
  color: var(--primary);
}
.recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.recent-item {
  display: flex;
  gap: 10px;
}
.recent-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}
.recent-info {
  flex: 1;
}
.recent-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.recent-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.recent-title a:hover {
  color: var(--primary);
}
.recent-date {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 1100px) {
  .trending-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .three-col {
    grid-template-columns: 1fr;
  }
  .layout {
    gap: 28px;
  }
  .three-col {
    gap: 20px;
    margin-bottom: 28px;
  }
  .seo-section {
    margin-bottom: 28px;
  }
  .faq {
    margin-bottom: 28px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .page-header h1 {
    font-size: 26px;
  }
  .job-meta {
    gap: 14px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }
  .nav-menu {
    display: none;
    position: fixed;
    inset-inline: 16px;
    top: 72px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero p {
    font-size: 15px;
  }
  .trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .trend-box {
    padding: 14px 10px;
    min-height: 85px;
    height: 85px;
    font-size: 12px;
  }
  .search {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .footer-links {
    gap: 8px;
    flex-direction: row;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .page-stats {
    gap: 12px;
  }
  .job-badge {
    position: static;
    margin-bottom: 12px;
    display: inline-block;
  }
  .job-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-header {
    padding: 20px 16px;
  }
  .post-title {
    font-size: 22px;
  }
  .post-meta {
    gap: 12px;
  }
  .content-card {
    padding: 20px 16px;
  }
  .content-table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
  }
  .content-table th,
  .content-table td {
    padding: 8px;
    font-size: 12px;
  }
}

/* -- Blinking LIVE Badge -- */
.live-blink {
  display: inline-block;
  background-color: var(--danger); /* Solid red background */
  color: #fff; /* White text */
  padding: 6px 16px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--danger);
  
  /* Blinking animation */
  animation: blink-live 1.2s infinite;
}

/* Blinking Animation (Pulse) */
@keyframes blink-live {
  0% {
    opacity: 1;
    box-shadow: 0 0 0px var(--danger);
  }
  50% {
    opacity: 0.7; /* Dims slightly */
    box-shadow: 0 0 8px var(--danger); /* Adds a red glow */
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0px var(--danger);
  }
}