/*
Theme Name: Sarkari Result Jano Inspired Theme
Theme URI: https://www.sarkariresultjano.com/
Author: Abhishek Shukla
Description: A WordPress theme inspired by www.sarkariresultjano.com with tabbed navigation and dynamic content.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sarkariresult-clone
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* === EDGY MODERN BLUE THEME === */
:root {
  --primary: #AF1B45;  /* Updated Deep Red */
  --accent: #0d47a1; /* Classic Blue */
  --background: #fff;
  --surface: #fff;
  --text: #212121;
  --muted: #757575;
  --border: #e0e0e0;
  --shadow: 0 1px 4px rgba(0,0,0,0.08);
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #f7f7f7 !important;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }
}

body {
  font-family: 'Inter', Arial, sans-serif !important;
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  body {
    font-family: 'Open Sans', Arial, sans-serif !important;
  }
}

header {
  background: #AF1B45;
  color: #fff;
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: none;
  position: relative;
}

.site-branding {
  position: relative;
  padding: 15px 0;
  min-height: 120px; /* Adjust to fit logo */
}
.custom-logo-link {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.site-logo {
  height: 90px;
}
.site-title-tagline {
  text-align: center;
}

header h1, .site-title {
  font-size: 2.9em;
  font-weight: 900;
  margin: 20px 0 0 0;
  letter-spacing: 2px;
}
header h1 a, .site-title a {
  color: #fff;
  text-decoration: none;
}

.site-tagline {
  color: #fff;
  font-weight: 700;
  font-size: 0.65em;
  margin: 5px 0 0 0;
  letter-spacing: 1px;
  text-align: center;
}

nav ul.tabs {
  display: flex;
  justify-content: center;
  background: var(--primary);
  padding: 0;
  margin: 0;
  list-style: none;
}
nav ul.tabs li {
  margin: 0;
  flex: 1 1 0;
  text-align: center;
}
nav ul.tabs li a {
  color: #0000FF;
  padding: 18px 0 28px 0;
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4em;
  background: var(--primary);
  border: none;
  border-bottom: 0 solid transparent;
  border-radius: 0 !important;
  transition: background 0.2s, border-bottom 0.2s, color 0.2s;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}
nav ul.tabs li a.active, nav ul.tabs li a:hover {
  background: var(--surface);
  border-bottom: 18px solid #d2691e;
  color: #0000FF;
  position: relative;
  z-index: 2;
  border-radius: 0 !important;
}

#tab-content {
  background: var(--surface);
  padding: 24px 24px 24px 24px;
  min-height: 300px;
  border-radius: 0;
  box-shadow: var(--shadow);
  margin: 0 auto 30px auto;
  max-width: 900px;
  border: 4px solid var(--primary);
  border-top: none;
}

.job-listing {
  padding: 10px 0 10px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}
.job-listing:last-child {
  border-bottom: none;
}
.job-listing a {
  color: #0000FF !important;
  font-weight: 400;
  text-decoration: underline;
  transition: color 0.2s;
}
.job-listing a:hover, .job-listing a:focus {
  color: var(--primary);
  text-decoration: underline;
}
.job-listing a::before {
  content: "\2022";
  color: #000;
  font-size: 1.1em;
  margin-right: 8px;
  margin-left: 9px;
  vertical-align: baseline;
  display: inline-block;
}
.job-listing span {
  color: var(--muted);
  font-size: 0.9em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 10px;
}

.dashboard-section {
  background: var(--surface);
  border: 2px solid #E26B1E;
  border-radius: 0 !important;
  box-shadow: none;
  padding: 15px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  overflow: hidden;
}
.dashboard-section h2 {
  background: var(--primary);
  color: #fff;
  margin: -15px -15px 10px -15px;
  padding: 10px;
  text-align: center;
  font-size: 1.1em;
  border-radius: 0;
  letter-spacing: 1px;
  border-bottom: none;
  font-weight: bold;
}

.dashboard-section.info-box {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.info-box {
  background: #fff;
  border: 2px solid #013d8b;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 0 6vw 24px 6vw;
  margin: 40px auto 40px auto;
  max-width: 1100px;
  box-sizing: border-box;
  width: 100%;
  display: block;
}

.info-box h2 {
  color: #fff;
  background: var(--accent);
  font-size: 1.5em;
  margin: 0 0 16px 0;
  text-align: left;
  font-weight: bold;
  border-radius: 6px 6px 0 0;
  padding: 18px 0 14px 0;
  letter-spacing: 1px;
  margin-left: -2vw;
  margin-right: -2vw;
}

.info-box-content {
  color: #333;
  font-size: 1.1em;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dashboard-section {
    min-height: 0;
  }
}

.main-nav {
  background: #000;
  border-bottom: none;
  margin-bottom: 0;
  padding: 0;
}

/* Navigation Styles */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 64px;
}

.nav-links li {
  margin: 0 0;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background: #555;
  margin: 0 12px;
  border-radius: 0;
}

.nav-links li a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 8px;
  font-size: 1em;
  transition: color 0.2s;
  border-radius: 0;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Remove the animated background and transform for hover/active */
.nav-links li a::before {
  display: none !important;
}

.nav-links li a:hover, .nav-links li a.active {
  background: none;
  color: var(--primary);
  box-shadow: none;
  transform: none;
}

/* More Dropdown Styles */
.more-dropdown {
  position: relative;
}

.more-btn {
  cursor: pointer;
  user-select: none;
}

.more-btn.active {
  background: #333 !important;
  color: #fff !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  border: 1px solid #333;
  border-top: none;
  min-width: 130px !important;
  width: 150px !important;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li {
  margin: 0;
  border-right: none !important;
}

.dropdown-menu li:last-child {
  border-bottom: none !important;
}

.dropdown-menu li::after {
  display: none !important;
  content: none !important;
}

.dropdown-menu li a {
  padding-right: 0 !important;
  margin-right: 0 !important;
  border-right: none !important;
  padding: 8px 16px !important;
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.98em !important;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #333;
  color: #fff;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    min-height: 0;
    align-items: center;
    padding: 15px 20px;
  }
  
  .nav-links li {
    margin: 4px 2px;
  }
  
  .nav-links li:not(:last-child)::after {
    height: 18px;
    margin: 0 8px;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    background: #111;
    margin-top: 10px;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-menu li {
    border-bottom: 1px solid #333;
  }
  
  .dropdown-menu li a {
    padding: 10px 20px;
  }
  
  header h1 {
    margin: 0;
    font-size: 1.2em;
  }
  
  .site-logo {
    height: 40px;
  }
  
  .site-tagline {
    font-size: 0.8em;
  }
}

@media (max-width: 768px) {
  header {
    padding-top: 24px;
  }
  
  .nav-links li a {
    padding: 12px 10px;
    font-size: 0.9em;
  }
  
  .dropdown-menu li a {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  
  header h1 {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
}

.important-links-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  margin: 24px auto;
  max-width: 900px;
}
.important-link-box {
  min-width: 0;
  max-width: none;
  text-align: center;
  padding: 0;
  border-radius: 0;
  color: #fff;
  font-weight: 770;
  font-size: 1.15em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 0 #222;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  height: 90px;
  min-height: 90px;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}
.important-link-box:hover {
  transform: translateY(-2px) scale(1.03);
  color: #9a0000; /* Darker Red */
  text-decoration: underline;
}
@media (max-width: 768px) {
  .important-links-row {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    max-width: 98vw;
    gap: 12px !important; /* Add more space between boxes */
    padding: 0 2vw;
  }
  .important-link-box {
    font-size: 0.9em !important; /* Decrease font size */
    font-weight: 500 !important; /* Decrease font weight */
    border-radius: 16px !important; /* Make boxes rounder */
    margin: 0 !important; /* Remove default margin if any */
    height: 75px !important;
    min-height: 75px !important;
    box-shadow: 0 4px 12px rgba(132, 3, 3, 0.147), 
    0 2px 6px rgba(0, 0, 0, 0.337);
  }
  .important-link-box span {
    font-size: 1.0em !important;
    font-weight: 550 !important;
  }
}

.join-buttons-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 32px auto 36px auto;
  max-width: 600px;
}
.join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 18px 0;
  border-radius: 12px;
  font-size: 1.25em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13), 0 1.5px 0 #fff inset;
  background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
  transition: transform 0.13s, box-shadow 0.13s, background 0.13s;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.join-btn .join-btn-icon {
  margin-right: 16px;
  display: flex;
  align-items: center;
}
.join-btn.whatsapp {
  background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
}
.join-btn.whatsapp:hover {
  background: linear-gradient(90deg, #128C7E 0%, #25D366 100%);
  box-shadow: 0 6px 24px rgba(37,211,102,0.18);
  transform: scale(1.03);
}
.join-btn.telegram {
  background: linear-gradient(90deg, #229ED9 0%, #006699 100%);
}
.join-btn.telegram:hover {
  background: linear-gradient(90deg, #006699 0%, #229ED9 100%);
  box-shadow: 0 6px 24px rgba(34,158,217,0.18);
  transform: scale(1.03);
}
.join-btn .join-btn-text {
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .join-buttons-row {
    flex-direction: column;
    gap: 14px;
    max-width: 98vw;
  }
  .join-btn {
    font-size: 1em;
    padding: 12px 0;
    max-width: 98vw;
  }
  .join-btn .join-btn-icon {
    margin-right: 10px;
  }
}

.official-warning {
  color: var(--accent);
  background: #ffcdd2;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 1.15em;
  font-weight: bold;
  padding: 18px 24px;
  margin: 32px auto 24px auto;
  text-align: center;
  max-width: 700px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(128,0,0,0.07);
}

.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 40px auto 0 auto;
}
@media (max-width: 768px) {
  .info-boxes {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .info-box {
    padding: 18px 8px 14px 8px;
  }
  .info-box h2 {
    font-size: 1.1em;
  }
  .info-box-content {
    font-size: 1em;
  }
}

.view-more-wrap {
  display: block !important;
  text-align: right;
  margin-top: 30px;
}
.view-more-link, .view-more-wrap a {
  color: #0000FF !important;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* --- Modern Footer Styles --- */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 0;
  border-top: 4px solid var(--primary);
  font-size: 1.08em;
  margin-top: 40px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 18px 24px;
}
.footer-brand {
  flex: 1 1 220px;
  min-width: 180px;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}
.footer-site-name {
  font-size: 1.3em;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}
.footer-desc {
  margin-top: 10px;
  color: #ccc;
  font-size: 1em;
  max-width: 320px;
  line-height: 1.5;
}
.footer-nav {
  flex: 1 1 180px;
  min-width: 160px;
  margin-top: 8px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li {
  margin: 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
  padding: 2px 0;
}
.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.footer-social {
  flex: 1 1 160px;
  min-width: 120px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}
.footer-social-icon {
  color: #fff;
  background: #232323;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  text-decoration: none;
  box-shadow: 0 2px 8px #0002;
}
.footer-social-icon:hover {
  background: var(--primary);
  color: #fff200;
  transform: scale(1.08);
}
.footer-bottom {
  background: #181818;
  border-top: 1px solid #333;
  padding: 14px 24px 10px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-copy {
  color: #bbb;
  font-size: 0.98em;
  opacity: 0.85;
}
.scroll-to-top-btn {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7em;
  font-weight: 900;
  box-shadow: 0 4px 18px #80000033;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  margin-left: auto;
}
.scroll-to-top-btn:hover {
  background: #fff200;
  color: var(--primary);
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4vw 8px 4vw !important;
    gap: 10px;
  }
  .footer-brand {
    min-width: 0;
  }
  .footer-nav {
    min-width: 0;
    margin-top: 2px;
  }
  .footer-social {
    justify-content: flex-start;
    min-width: 0;
    gap: 10px;
    margin-top: 2px !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    padding: 8px 4vw 6px 4vw;
  }
  .scroll-to-top-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2em;
  }
  .footer-site-name {
    font-size: 1.0em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
  }
  .footer-desc {
    margin-top: 10px;
    color: #ccc;
    font-size: 0.9em;
  }
  .footer-links {
    gap: 8px;
  }
  .footer-links a {
    font-weight: 600;
    padding: 0;
  }
  .footer-copy {
    color: #bbb;
    font-size: 0.9em;
    opacity: 0.85;
  }
}

.category-archive-beautiful {
  max-width: 900px;
  margin: 40px auto 40px auto;
  background: #fff;
  padding: 0 0 32px 0;
  border-radius: 0;
  border: 2px solid #000;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  min-height: 400px;
}

/* Category Description - Beautiful Minimal Design */
.category-description-indian-flag {
  max-width: 900px;
  margin: 30px auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  border: 2px solid #000;
}

.category-description-indian-flag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.flag-saffron {
  display: none;
}

.flag-white {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 35px 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: auto;
  border: none;
  position: relative;
  z-index: 1;
}

.flag-green {
  display: none;
}

.category-description-dot {
  color: #667eea;
  font-size: 2.5em;
  font-weight: 300;
  line-height: 1;
  margin-top: 0;
  flex-shrink: 0;
  opacity: 0.8;
}

.category-description-text {
  color: #2d3748;
  font-size: 1.15em;
  line-height: 1.7;
  text-align: left;
  flex: 1;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.category-description-text p {
  margin: 0 0 18px 0;
}

.category-description-text p:last-child {
  margin-bottom: 0;
}

.category-description-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-description-text a:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
}

.category-archive-header {
  background: var(--primary);
  border-radius: 0;
  padding: 32px 0 24px 0;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 2px solid #000;
}

.category-title {
  color: #fff;
  font-size: 2.2em;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin: 0;
}
.category-post-list-beautiful {
  padding: 0 32px;
}
.category-post-item-beautiful {
  border-bottom: none;
  padding: 18px 0 18px 0;
  font-size: 1.15em;
  display: flex;
  align-items: center;
}
.category-post-item-beautiful:last-child {
  border-bottom: none;
}
.category-dot-link {
  color: #0000FF;
  font-weight: bold;
  text-decoration: underline;
  position: relative;
  padding-left: 22px;
  transition: color 0.18s;
}
.category-dot-link::before {
  content: "\2022";
  color: #000;
  font-size: 1.3em;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
}
.category-dot-link:hover {
  color: #9a0000; /* Darker Red */
  text-decoration: underline;
}
@media (max-width: 768px) {
  .category-archive-beautiful {
    max-width: 99vw;
    padding: 0 0 18px 0;
    border: 2px solid #000;
    border-radius: 0;
  }
  .category-description-indian-flag {
    margin: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }
  .flag-white {
    padding: 25px 20px;
    gap: 15px;
  }
  .category-description-dot {
    font-size: 2em;
  }
  .category-description-text {
    font-size: 1.05em;
    line-height: 1.6;
  }
  .category-post-list-beautiful {
    padding: 0 6px;
  }
  .category-title {
    font-size: 1.3em;
  }
}

/* Single Post Layout */
.single-post-container {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.single-post-content {
  flex: 3;
  min-width: 0; /* Prevents flex items from overflowing */
}

.single-post-sidebar {
  flex: 1;
  min-width: 0;
  margin-top: 48px; /* Align top with post content roughly */
}

/* Ensure sidebar sections are styled correctly */
.single-post-sidebar .dashboard-section {
  margin-bottom: 24px;
}

/* --- Custom Single Post Page Styles --- */
.single-post-content {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 32px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sr-post-title {
  text-align: center;
  font-size: 2.2em;
  margin: 24px auto 8px auto;
  color: var(--primary);
  max-width: 900px;
  padding: 0 16px;
}
.post-update-box {
  display: flex;
  width: fit-content;
  border: 2px solid var(--primary);
  margin: 16px auto 24px auto;
  overflow: hidden;
  border-radius: 6px;
  font-weight: bold;
}
.update-label {
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
}
.update-date {
  background: #fff;
  color: var(--text);
  padding: 8px 12px;
}
.sr-box {
  background: #f9f6f2;
  border-left: 5px solid var(--primary);
  padding: 18px 22px;
  margin-bottom: 22px;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.sr-box-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.13em;
}
.sr-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}
.sr-table th, .sr-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1em;
  text-align: left;
}
.sr-table th {
  background: #ffebee;
  color: var(--primary);
  font-weight: 700;
}
.sr-list {
  margin: 0;
  padding-left: 18px;
  font-size: 1em;
}
.sr-list li {
  margin-bottom: 7px;
}
.sr-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.sr-link-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  min-width: 120px;
  text-align: center;
  display: inline-block;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.sr-link-apply { background: #008060; }
.sr-link-notification { background: #4b0082; }
.sr-link-telegram { background: #229ED9; }
.sr-link-whatsapp { background: #25D366; }
.sr-link-official { background: var(--accent); }
.sr-link-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sr-fee-note {
  font-size: 0.97em;
  color: #555;
  margin-top: 8px;
}
.sr-disclaimer {
  background: #fffbe6;
  border-left: 5px solid var(--accent);
  color: #7a5a00;
}
@media (max-width: 768px) {
  .single-post-content {
    padding: 12px 2vw;
  }
  .sr-box {
    padding: 12px 8px;
  }
  .sr-links-grid {
    flex-direction: column;
    gap: 8px;
  }
  .sr-link-btn {
    min-width: 0;
    width: 100%;
  }
}

/* --- Sarkari Result Jano Card/Box Styles --- */
.sr-table-box {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 24px;
  padding: 0 0 12px 0;
  overflow-x: auto;
}
.sr-section-title {
  background: #f7f7f7;
  color: #800000;
  font-weight: 700;
  font-size: 1.13em;
  padding: 12px 18px;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  margin: 0 0 12px 0;
}
.sr-table {
  width: 100%;
  border-collapse: collapse;
  background: none;
}
.sr-table th, .sr-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #ececec;
  font-size: 1em;
  text-align: left;
}
.sr-table th {
  background: #f3e9e9;
  color: #800000;
  font-weight: 700;
}
.sr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 0 0;
}
.sr-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 120px;
  text-align: center;
}
.sr-btn-apply { background: #008060; }
.sr-btn-notification { background: #4b0082; }
.sr-btn-telegram { background: #229ED9; }
.sr-btn-whatsapp { background: #25D366; }
.sr-btn-official { background: var(--accent); }
.sr-btn:hover { filter: brightness(1.08); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.sr-disclaimer-box {
  background: #fffbe6;
  border: 2px solid #ffe58f;
  border-radius: 8px;
  color: #7a5a00;
  padding: 16px 20px;
  margin: 32px 0 0 0;
  font-size: 1em;
}
@media (max-width: 768px) {
  .sr-table-box, .sr-disclaimer-box { padding: 8px 2vw; }
  .sr-section-title { padding: 10px 8px; }
  .sr-btn-row { flex-direction: column; gap: 8px; }
  .sr-btn { min-width: 0; width: 100%; }
}
/* End Sarkari Result Jano Card/Box Styles */

/* --- Sarkari Result Jano Table/Box Style --- */
.sr-section-header {
  background: var(--primary);
  color: #fff;
  font-size: 1.2em;
  font-weight: 800;
  text-align: center;
  padding: 18px 10px 8px 10px;
  border-bottom: 2px solid var(--accent);
  letter-spacing: 0.5px;
  border-radius: 0;
}
.sr-section-subtitle {
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}
.sr-outer-box {
  background: #fff;
  border: 2.5px solid #800000;
  border-radius: 6px;
  margin: 32px 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(128,0,0,0.04);
}
.sr-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1.5px solid #800000;
}
.sr-table th {
  font-size: 1.13em;
  font-weight: 700;
  color: #222;
  background: #fff;
  border-bottom: 2px solid #800000;
  border-left: 2px solid #800000;
  text-align: left;
  padding: 16px 12px;
}
.sr-table th:first-child {
  border-left: none;
}
.sr-table td + td, .sr-table th + th {
  border-left: 2px solid #800000;
}
.sr-table tr {
  border-bottom: 2px solid #800000;
}
.sr-table tr:last-child {
  border-bottom: 2px solid #800000;
}
.sr-table td {
  padding: 14px 12px;
  font-size: 1.08em;
  color: #222;
  font-weight: 500;
  vertical-align: top;
}
.sr-table td:last-child {
  font-weight: 700;
  color: #222;
}
.sr-divider {
  border: none;
  border-top: 2px solid #800000;
  margin: 8px 0;
  width: 100%;
}
@media (max-width: 768px) {
  .sr-section-header { font-size: 1.1em; padding: 12px 4px; }
  .sr-table td { padding: 10px 6px; font-size: 1em; }
  .sr-outer-box { margin: 16px 0; }
}

.sr-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 18px 0 0 0;
}
.sr-related-post-card {
  min-width: 0;
  max-width: none;
  text-align: center;
  padding: 0;
  border-radius: 0;
  color: #fff;
  font-weight: 900;
  font-size: 1.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 0 #222;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  height: 90px;
  min-height: 90px;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  background: #800000;
  border: none;
}
.sr-related-post-card:hover {
  transform: translateY(-2px) scale(1.03);
  color: #9a0000; /* Darker Red */
  text-decoration: underline;
  background: var(--accent);
}
.sr-related-title {
  font-size: 1.13em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.sr-share-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 0 0;
  justify-content: center;
}
.sr-share-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(128,0,0,0.06);
  border: none;
}
.sr-share-whatsapp { background: #25D366; }
.sr-share-telegram { background: #229ED9; }
.sr-share-facebook { background: #3b5998; }
.sr-share-twitter { background: #1DA1F2; }
.sr-share-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(128,0,0,0.10);
}

.sr-related-innovative {
  margin: 40px 0 0 0;
  padding: 48px 0 0 0;
  background: var(--primary);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(26,35,126,0.13);
  position: relative;
  overflow: hidden;
}
.sr-related-innovative-header {
  color: #fff;
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px var(--primary), 0 1px 0 #222;
  position: relative;
  z-index: 2;
  background: var(--primary);
  border-radius: 0;
  padding: 18px 0 10px 0;
  border-bottom: 2px solid var(--accent);
}
.sr-related-innovative-header::after {
  content: '';
  display: block;
  margin: 16px auto 0 auto;
  width: 80px;
  height: 5px;
  border-radius: 0;
  background: var(--accent);
}
.sr-related-innovative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto 0 auto;
  padding: 0 18px 48px 18px;
  position: relative;
  z-index: 2;
}
.sr-related-innovative-card {
  background: var(--surface);
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(.22,1.61,.36,1), box-shadow 0.22s;
  position: relative;
  min-height: 240px;
  border: 2.5px solid var(--primary);
}
.sr-related-innovative-card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 12px 36px 0 #b71c1c99, 0 2px 8px #b71c1c33;
  border-color: var(--primary);
}
.sr-related-innovative-badge {
  position: absolute;
  top: 16px;
  right: -18px;
  left: auto;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 0.93em;
  padding: 4px 28px 4px 22px;
  border-radius: 0;
  box-shadow: 0 2px 8px var(--accent)44;
  letter-spacing: 1px;
  z-index: 3;
  text-shadow: 0 1px 0 #fff;
}
.sr-related-innovative-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.sr-related-innovative-content {
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
}
.sr-related-innovative-title {
  color: var(--primary);
  font-size: 1.18em;
  font-weight: 900;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.18s;
}
.sr-related-innovative-title:hover {
  color: var(--accent);
  text-decoration: underline;
}
.sr-related-innovative-excerpt {
  color: #444;
  font-size: 1.04em;
  margin-bottom: 18px;
  min-height: 38px;
}
.sr-related-innovative-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1em;
  padding: 10px 32px;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 2px 8px var(--accent)44;
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.18s;
  margin-top: auto;
  letter-spacing: 0.5px;
  border: 2px solid var(--primary);
}
.sr-related-innovative-btn:hover {
  background: #9a0000;
  color: #fff;
  box-shadow: 0 4px 24px #b71c1c99, 0 2px 8px #b71c1c33;
  transform: scale(1.07);
  text-decoration: underline;
  border: 2px solid #9a0000;
}
@media (max-width: 700px) {
  .sr-related-innovative-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 4vw 24px 4vw;
  }
  .sr-related-innovative-header {
    font-size: 1.2em;
  }
}

/* --- IMPROVED IMPORTANT LINKS SECTION --- */
.sr-important-links-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-bottom: 0;
  background: #fff;
  border-left: none;
  border-right: none;
}
.sr-important-links-table tr {
  border-bottom: none;
  box-shadow: 0 2px 10px #80000011;
}
.sr-important-links-table td {
  padding: 22px 18px;
  font-size: 1.18em;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  vertical-align: middle;
  border-radius: 8px;
  border: none;
}
.sr-link-label {
  text-align: left;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.13em;
  letter-spacing: 0.5px;
}
.sr-link-action {
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}
.sr-link-btn-maroon, .sr-link-btn-telegram, .sr-link-btn-whatsapp {
  display: inline-block;
  font-size: 1em;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 4px;
  text-decoration: none;
  margin: 0 3px;
  box-shadow: 0 2px 8px #80000022, 0 0px 0 #ffd700;
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.18s;
  border: none;
  outline: none;
  letter-spacing: 0.3px;
  position: relative;
}
.sr-link-btn-maroon {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  border-radius: 0;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.sr-link-btn-maroon:hover {
  background: #9a0000; /* Darker Red */
  color: #fff;
  border: 2px solid #9a0000;
}
.sr-link-btn-telegram {
  background: linear-gradient(90deg, #229ED9 60%, #1565c0 100%);
  color: #fff;
}
.sr-link-btn-telegram:hover {
  background: #1565c0;
  color: #ffd700;
}
.sr-link-btn-whatsapp {
  background: linear-gradient(90deg, #25D366 60%, #1b5e20 100%);
  color: #fff;
}
.sr-link-btn-whatsapp:hover {
  background: #1b5e20;
  color: #ffd700;
}
.sr-section-header.important-links-header {
  background: var(--primary);
  color: #fff;
  font-size: 1.25em;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 12px #80000022;
  position: relative;
}
.sr-section-header.important-links-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700 0%, #800000 100%);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}
@media (max-width: 700px) {
  .sr-important-links-table td { padding: 12px 4px; font-size: 1em; }
  .sr-link-btn-maroon, .sr-link-btn-telegram, .sr-link-btn-whatsapp {
    font-size: 0.97em;
    padding: 7px 0;
    min-width: 0;
    width: 100%;
    margin: 5px 0;
    display: block;
  }
  .sr-link-action {
    justify-content: center;
    gap: 6px;
  }
  .sr-link-btn-maroon, .sr-link-btn-telegram, .sr-link-btn-whatsapp {
    width: auto;
    min-width: 90px;
    display: inline-block;
    margin: 5px 0;
  }
}

/* Latest Posts Bar - New Style */
.latest-posts-container {
  display: flex;
  background: var(--primary);
  border: 1px solid var(--primary);
  align-items: center;
  margin-top: 32px;
  margin-bottom: 32px;
  height: 42px; /* Fixed height for the container */
}

.latest-posts-label {
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  font-weight: bold;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.latest-posts-bar {
  background: #fff;
  border-top: none;
  border-bottom: none;
  padding: 8px 12px;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 24px; /* Space between links */
  flex-grow: 1;
  height: 100%;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.latest-posts-bar::-webkit-scrollbar {
  display: none;
}

.latest-post-link {
  display: inline-block;
  background: none;
  color: var(--primary); /* Red link color */
  padding: 0;
  margin-right: 0;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  transition: none;
  white-space: nowrap;
}

.latest-post-link:hover {
  background: none;
  color: var(--primary); /* Darker red on hover */
  text-decoration: underline;
  filter: brightness(0.8);
}

/* === Responsive Design === */
@media (max-width: 768px) {
  /* Single Post Layout */
  .single-post-container {
    flex-direction: column;
    gap: 0;
  }

  .single-post-sidebar {
    margin-top: 24px;
    padding: 0 16px;
  }

  .sr-post-title {
    font-size: 1.7em;
  }

  /* Footer Links */
  .footer-btn-row {
    flex-direction: column;
    gap: 10px;
  }
  .footer-btn {
    width: auto;
    min-width: 90px;
    display: inline-block;
    margin: 5px 0;
  }
}

/* === Responsive Design === */
.mobile-nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.mobile-nav-toggle .line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }
  .site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    min-height: 0;
    position: static;
  }
  .custom-logo-link {
    position: static;
    transform: none;
  }
  header h1 {
    font-size: 1.2em;
  }
   .site-logo {
     height: 40px;
   }
   .site-title-tagline, .site-tagline {
     text-align: left;
   }
   .site-tagline {
     font-size: 0.8em;
     margin-top: 2px;
   }
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #000;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  .main-nav.nav-open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .main-nav ul li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #222;
  }
  .main-nav ul li:last-child {
    border-bottom: none;
  }
  .main-nav ul li a {
    padding: 16px 0;
    font-size: 1.1em;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Single Post Layout */
  .single-post-container {
    flex-direction: column;
    gap: 0;
  }

  .single-post-sidebar {
    margin-top: 24px;
    padding: 0 16px;
  }

  .sr-post-title {
    font-size: 1.7em;
  }

  /* Footer Links */
  .footer-btn-row {
    flex-direction: column;
    gap: 10px;
  }
  .footer-btn {
    width: auto;
    min-width: 90px;
    display: inline-block;
    margin: 5px 0;
  }
}

.post-updated-date-box {
    margin: 20px auto;
}

/* New Top Content Section */
.top-content-section {
    text-align: center;
    padding: 20px 10px;
    /* border-bottom: 2px solid #ddd; */
    margin-bottom: 20px;
}

.top-title {
    font-weight: 750;
    font-size: 1.2em;
    margin: 0;
    color: #000;
}

.welcome-text {
    color: #cc0000;
    font-weight: 750;
    font-size: 1.2em;
    margin: 18px 0;
}

.social-app-links {
    margin: 15px 0;
    font-size: 1em; /* Increased from 0.9em */
}

.social-app-links a {
    color: #0000ee;
    text-decoration: underline;
    font-weight: bold;
    margin: 0 5px;
}

/* Scrolling Links Horizontal Rows */
.scrolling-links-container {
    width: 100%;
    max-width: 1100px;
    margin: 15px auto;
    border: none;
    padding: 0;
    background: none;
    overflow: hidden;
}

.scrolling-row {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 8px;
}
.scrolling-row:last-child {
    margin-bottom: 0;
}

.scrolling-row-inner {
    display: inline-block;
    min-width: fit-content;
    animation: bounce-marquee 25s linear infinite alternate;
}

.scrolling-row-inner span {
    display: inline-block;
    width: 50%;
    padding-right: 20px;
}

.scrolling-row a {
    color: #0000ee;
    text-decoration: underline;
    font-weight: 800;
    font-size: 1em;
    margin: 0 5px;
}

@keyframes bounce-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by the width of the content minus the container width */
        transform: translateX(calc(-100% + 100vw - ((100vw - 1100px) / 2)));
    }
}

/* Follow & Tools Buttons */
.follow-button-wrapper,
.tools-button-wrapper {
    /* margin: 24px auto; */
}

.follow-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
}

.follow-button .follow-icon {
    font-weight: bold;
    margin-right: 5px;
    /* This is a simple 'X', might need an actual icon for closer match */
}

.tools-button {
    display: inline-block;
    background-color: #0000e1; /* Bright blue */
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid #000;
}

/* SSC CGL Post Themed Classes (REVERTED) */
.ssc-post-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 12px;
  margin: 24px auto;
  max-width: 900px;
}
.ssc-heading-main {
  color: #d500b6;
  font-weight: 900;
  text-align: center;
  font-size: 2.2em;
  margin-top: 18px;
}
.ssc-heading-green {
  color: #009900;
  font-weight: 900;
  text-align: center;
  font-size: 2em;
  margin: 10px 0 0 0;
}
.ssc-heading-pink {
  color: #d500b6;
  font-weight: 900;
  text-align: center;
  font-size: 1.6em;
  margin: 10px 0 18px 0;
}
.ssc-section-divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 18px 0;
}
.ssc-table {
  width: 98%;
  margin: 18px auto 24px auto;
  border: 1px solid #e0e0e0;
  border-collapse: collapse;
  background: #fff;
}
.ssc-th {
  color: #009900;
  font-size: 1.1em;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #e0e0e0;
  font-weight: 700;
}
.ssc-th.ssc-th-divider {
  border-right: 2px solid #e0e0e0;
}
.ssc-td {
  padding: 10px 8px;
  border: 1px solid #e0e0e0;
}
.ssc-td.ssc-td-divider {
  border-right: 2px solid #e0e0e0;
}
.ssc-section-title {
  color: #009900;
  font-weight: 900;
  text-align: center;
  font-size: 1.4em;
  margin: 32px 0 0 0;
}
.ssc-section-title .ssc-heading-pink {
  color: #d500b6;
  font-size: inherit;
  font-weight: inherit;
  text-align: inherit;
  margin: 0;
  display: inline;
}
.ssc-heading-pink {
  color: #d500b6;
  font-weight: 900;
  text-align: center;
  font-size: 1.6em;
  margin: 10px 0 18px 0;
  /* display: block; */
}

/* SSC Important Links Section (screenshot style) */
.ssc-links-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  margin: 32px 0 0 0;
  padding: 0;
}
.ssc-links-header {
  color: #008000;
  font-weight: 900;
  text-align: center;
  font-size: 2em;
  padding: 18px 8px 18px 8px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.ssc-links-table {
  width: 98%;
  margin: 0 auto 24px auto;
  border: 1px solid #e0e0e0;
  border-collapse: collapse;
  background: #fff;
}
.ssc-links-td {
  font-weight: 750;
  font-size: 1.6em;
  text-align: center;
  padding: 28px 8px;
  background: #fff;
  border: none;
}
.ssc-links-td-pink {
  color: #ff00de;
}
.ssc-links-td-blue {
  color: #0000ff;
}
.ssc-links-table tr {
  border-bottom: 1px solid #e0e0e0;
}
.ssc-links-table tr:last-child {
  border-bottom: none;
}
.ssc-links-table td {
  border: none;
}

.ssc-share-row {
  margin: 32px 0 0 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.ssc-share-label {
  font-weight: 600;
  margin-right: 18px;
  color: #800000;
  font-size: 1.1em;
}
.ssc-share-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #0001;
  margin: 0 2px;
  border: none;
}
.ssc-share-whatsapp {
  background: #25D366;
  color: #fff;
}
.ssc-share-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}
.ssc-share-facebook {
  background: #1877f3;
  color: #fff;
}
.ssc-share-facebook:hover {
  background: #145db2;
  color: #fff;
}
.ssc-share-x {
  background: #000;
  color: #fff;
}
.ssc-share-x:hover {
  background: #222;
  color: #fff;
}
.ssc-share-instagram {
  background: linear-gradient(45deg, #fd1d1d, #e1306c 60%, #fcb045 100%);
  color: #fff;
}
.ssc-share-instagram:hover {
  filter: brightness(1.1);
  color: #fff;
}

.ssc-header-warning {
  position: relative;
  background: #fdf5fc;
  color: #d500b6;
  font-weight: 600;
  font-size: 0.9em;
  border: 1px solid #d500b6;
  border-left: 5px solid #d500b6;
  border-radius: 8px;
  padding: 12px 20px 12px 50px;
  margin: 18px auto 0 auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 2px 10px #d500b61a;
  letter-spacing: 0.2px;
  overflow: hidden;
}
.ssc-header-warning::before {
  content: "i"; /* Info icon */
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #d500b6;
  background: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px #d500b622;
}

.ssc-header-warning {
  border-left: 8px solid #d500b6;
}

/* --- MOBILE HEADER & HERO SIZE FIXES --- */
@media (max-width: 768px) {
  header {
    padding: 6px 0 0 0;
  }
  .site-branding {
    padding: 6px 0;
    min-height: 0;
  }
  .site-logo {
    height: 28px;
  }
  .site-title-tagline h1 {
    font-size: 1em;
    margin: 0;
  }
  .site-tagline {
    font-size: 0.7em;
    margin: 2px 0 0 0;
  }
  .top-content-section {
    padding: 10px 2vw;
    margin-bottom: 10px;
  }
  .top-title {
    font-size: 1em;
    margin: 0 0 6px 0;
  }
  .welcome-text {
    font-size: 1em;
    margin: 8px 0;
  }
  .social-app-links {
    font-size: 0.9em;
    margin: 8px 0;
  }
  .scrolling-links-container {
    margin: 8px 0;
  }
  .follow-button-wrapper, .tools-button-wrapper {
    margin: 8px 0;
  }
  .tools-button, .follow-button {
    font-size: 0.9em;
    padding: 6px 10px;
  }
}

/* Add a global container for horizontal padding */
.site-container {
  background: #fff;
  border-radius: 0;
  /* Remove top shadow for seamless header transition */
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.13);
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 0 32px 0;
  border-top: none;
}
@media (max-width: 768px) {
  .site-container {
    max-width: 100vw !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-top: none !important;
  }
}
/* Remove gap between header and .site-container, and between .site-container and footer */
body > .site-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* --- Page Content Styles --- */
.page-content {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px 24px;
  margin: 32px auto;
  max-width: 900px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.page-title {
  text-align: center;
  font-size: 2.4em;
  margin: 24px auto 16px auto;
  color: var(--primary);
  max-width: 900px;
}

.entry-content {
  font-size: 1.1em;
  line-height: 1.7;
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--primary);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
} 

.custom-contact-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.custom-contact-form label {
  display: block;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.custom-contact-form .form-control {
  width: 100%;
  padding: 10px 15px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.custom-contact-form .form-control:focus {
  border-color: #007bff;
  outline: none;
}

.custom-contact-form .submit-btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-contact-form .submit-btn:hover {
  background-color: #0056b3;
}

/* Featured image inside single post content box */
.sr-post-content-box .post-featured-image {
  text-align: center;
  margin-bottom: 18px;
}
.sr-post-content-box .post-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Related Posts Simple Modern Theme */
.sr-related-simple {
  margin: 32px auto 0 auto;
  max-width: 900px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(26,35,126,0.06);
  padding: 24px 18px 18px 18px;
}
.sr-related-simple-title-main {
  font-size: 1.25em;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid #e0e0e0;
  padding-bottom: 8px;
}
.sr-related-simple-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.sr-related-simple-item {
  background: #fff;
  border: 2px solid #ff9800;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26,35,126,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(25% - 18px);
  min-width: 220px;
  max-width: 260px;
  padding: 18px 14px 14px 14px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.13s;
  position: relative;
}
.sr-related-simple-item:hover {
  box-shadow: 0 6px 24px rgba(255,152,0,0.13);
  border-color: #d10000;
  transform: translateY(-3px) scale(1.03);
}
.sr-related-simple-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26,35,126,0.08);
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.sr-related-simple-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.sr-related-simple-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}
.sr-related-simple-title {
  font-weight: 700;
  color: #1a237e;
  text-decoration: none;
  font-size: 1.07em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  transition: color 0.15s;
}
.sr-related-simple-title:hover {
  color: #d10000;
  text-decoration: underline;
}
.sr-related-simple-badge {
  background: #ffb300;
  color: #222;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.95em;
  margin-left: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.sr-related-simple-link {
  color: #d10000;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.98em;
  margin-top: 10px;
  transition: color 0.15s;
}
.sr-related-simple-link:hover {
  color: #1a237e;
}
@media (max-width: 768px) {
  .sr-related-simple-list {
    flex-direction: column;
    gap: 18px;
  }
  .sr-related-simple-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* --- Header Navigation Underline --- */
.main-nav-underline {
  width: 100%;
  height: 2px;
  background: #ff9800;
  margin: 0;
  border: none;
  display: block;
}

/* If your nav is .main-nav, add this after it in your header.php: <div class="main-nav-underline"></div> */

/* --- Related Posts Modern Grid --- */
.sr-related-modern {
  margin: 40px auto 0 auto;
  max-width: 900px;
  padding: 0 8px;
}
.sr-related-modern-heading {
  font-size: 1.4em;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-align: left;
  position: relative;
}
.sr-related-modern-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #AF1B45;
  border-radius: 2px;
  margin: 8px 0 0 0;
}
.sr-related-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 22px;
}
.sr-related-modern-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(26,35,126,0.10);
  padding: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 2px solid #AF1B45;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.13s;
  overflow: visible;
}
.sr-related-modern-card:hover {
  /* No hover animation */
}
.sr-related-modern-thumb {
  width: 100%;
  height: 160px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sr-related-modern-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}
.sr-related-modern-badge {
  position: absolute;
  top: -18px;
  right: 24px;
  background: #AF1B45;
  color: #fff;
  padding: 6px 18px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  font-size: 18px;
  z-index: 2;
}
.sr-related-modern-title {
  margin: 18px 0 8px 0;
  font-size: 1.13em;
  font-weight: 700;
  color: #1a237e;
  text-decoration: none;
  transition: color 0.15s;
  padding: 0 18px;
  display: block;
  line-height: 1.2;
}
.sr-related-modern-title:hover {
  color: #d10000;
  text-decoration: underline;
}
.sr-related-modern-excerpt {
  color: #444;
  font-size: 1em;
  margin: 0 0 12px 0;
  padding: 0 18px;
  min-height: 38px;
}
.sr-related-modern-btn {
  display: inline-block;
  background: #AF1B45;
  color: #fff;
  font-weight: 800;
  font-size: 1em;
  padding: 10px 28px;
  border-radius: 4px;
  text-decoration: none;
  margin: 0 0 0 18px;
  box-shadow: 0 2px 8px #AF1B4544;
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.18s;
  border: none;
  letter-spacing: 0.5px;
}
.sr-related-modern-btn:hover {
  /* No hover animation */
}
@media (max-width: 700px) {
  .sr-related-modern-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sr-related-modern-thumb {
    height: 120px;
  }
}

.tools-button-wrapper {
    margin-top: 0;
    margin-bottom: 0;
}

.follow-button-wrapper {
    margin: 24px auto;
}

.important-links-row {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
  .dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 2px !important;
    flex-direction: unset !important;
  }
  .dashboard-section {
    min-width: 0;
    width: 100% !important;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 10px 6px 16px 6px;
    border: 0.6px solid #E26B1E;
  }
  .dashboard-sec {
    min-width: 0;
    width: 100%;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 10px 6px 16px 6px;
    border: 1px solid #E26B1E;
  }
  .dashboard-latest-jobs { order: 1 !important; }
  .dashboard-syllabus { order: 5 !important; }
  .dashboard-section:not(.dashboard-latest-jobs):not(.dashboard-syllabus) { order: 3; }
  .main-nav-underline { display: none !important; }
}

@media (max-width: 768px) {
  .tools-button {
    border-radius: 18px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 768px) {
  html, body {
    background: #f7f7f7 !important;
  }
}

.mobile-header {
  background-color: #000066;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.menu-toggle {
  font-size: 20px;
  cursor: pointer;
  margin-left: 18px;
}

.mobile-search-icon i {
  font-size: 18px;
}

/* Hide menu by default */
.mobile-nav {
  display: none;
  background-color: #050066;
}

.mobile-nav .mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav .mobile-menu-list li {
  border-top: none !important;
  padding: 10px;
}

@media (min-width: 768px) {
  .mobile-header, .mobile-nav {
    display: none;
  }
}

.mobile-nav.nav-open {
  display: block !important;
}

.mobile-nav .mobile-menu-list a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.18em !important;
  margin-left: 0;
  padding-left: 18px;
}

@media (min-width: 768px) {
  .mobile-header,
  #mobile-search-bar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-branding {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 160px !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .site-branding .site-title {
    font-size: 1.8em !important;
    font-weight: 1000 !important;
    margin-bottom: 5px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .site-branding .site-tagline {
    margin-top: 0 !important;
    font-size: 1.0em !important;
    font-weight: 400 !important;
    margin-bottom: 45px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .site-logo {
    display: none !important;
  }
  header {
    background: #c42e01;
    color: #fff;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: none;
    position: relative;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    font-size: 1.0em !important;
    background: #050066 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    color: #fff !important;
    padding: 0 !important;
    margin-top: 6px !important;
    width: 100% !important;
    border: none !important;
  }
  .dropdown-menu li {
    border-bottom: 1px solid #222 !important;
    padding: 0 !important;
  }
  .dropdown-menu li:last-child {
    border-bottom: none !important;
  }
  .dropdown-menu li a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.18em !important;
    font-weight: 600 !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: block;
    transition: background 0.2s;
  }
  .dropdown-menu li a:hover {
    background: #2323a7 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .job-listing {
    font-size: 0.91em !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
  }
  .job-listing a {
    font-size: 0.9em !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
  }
  .job-listing span {
    font-size: 0.9em !important;
    font-weight: 700 !important;
    letter-spacing: -0.05em !important;
  }
  .view-more-wrap {
    display: block !important;
    text-align: right;
    margin-top: 20px;
  }
  .view-more-link, .view-more-wrap a {
    color: #0000FF !important;
    font-weight: 700;
    font-size: 1.0em;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
  }
}
  @media (max-width: 768px) {
    .navbar {
      background: #fff;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100vw;
      z-index: 1000;
      display: flex;
      justify-content: space-around;
      align-items: stretch;
      border-top: 1px solid #e0e0e0;
      padding: 0;
      height: 70px;
    }
    .navbar a {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #111;
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      background: none;
      border: none;
      outline: none;
      transition: background 0.15s, color 0.15s;
      padding: 0;
      min-width: 0;
      min-height: 0;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    .navbar-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2px;
      color: #111;
      height: 26px;
      width: 26px;
    }
    .navbar-label {
      font-size: 12px;
      margin-top: 0;
      color: #111;
      letter-spacing: 0.01em;
    }
    .navbar a.active,
    .navbar a:active {
      color: #AF1B45;
    }
    .navbar a.active .navbar-icon,
    .navbar a:active .navbar-icon {
      color: #AF1B45;
    }
    .navbar a:hover {
      background: #f5f5f5;
      color: #AF1B45;
    }
    .navbar a:hover .navbar-icon {
      color: #AF1B45;
    }
    body {
      padding-bottom: 70px !important;
    }
  }
  @media (min-width: 769px) {
    body > .navbar, .navbar {
      display: none !important;
      visibility: hidden !important;
      height: 0 !important;
      width: 0 !important;
      overflow: hidden !important;
    }
  } 

@media (min-width: 769px) {
  .site-title {
    margin-bottom: 0.1em !important;
  }
  .site-tagline {
    margin-bottom: 2.1em !important;
  }
}

@media (max-width: 768px) {
  .category-archive-header {
    padding: 9px 8px;
    text-align: center;
  }
  .category-title {
    font-size: 1.2em;
    line-height: 1.0;
    margin-bottom: 2px;
  }
  .category-post-list-beautiful {
    flex-direction: column;
  }
  .category-post-item-beautiful {
    margin-bottom: 1px;
    font-size: 1.0em;
  }
  .category-dot-link {
    padding: 2px 15px;
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .social-app-links {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .site-logo {
    display: none !important;
  }
}/* --- Author Box Styles --- */
.sr-author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0 0 0;
  padding: 20px 16px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1.5px solid #e0e0e0;
}
.sr-author-avatar {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 2px solid #AF1B45;
  background: #fff;
}
.sr-author-name {
  font-weight: bold;
  font-size: 1.2em;
  color: #AF1B45;
  line-height: 1.2;
  margin-bottom: 4px;
}
.sr-author-desc {
  margin-top: 6px;
  font-size: 1em;
  color: #444;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .sr-author-box {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px 8px;
    gap: 12px;
  }
  .sr-author-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }
  .sr-author-name {
    font-size: 1.05em;
    margin-bottom: 2px;
  }
  .sr-author-desc {
    font-size: 0.97em;
  }
}

