/*
Theme Name: Rojgaar Rautahat
Theme URI: https://rojgaarrautahat.np
Author: Rojgaar Rautahat Team
Author URI: https://rojgaarrautahat.np
Description: Complete, production-ready WordPress job portal & vacancy notice theme engineered specifically for Rautahat District (Madhesh Province, Nepal). Features self-contained modern UI, direct employer contact integration, 18-municipality taxonomy, full Customizer site logo upload, and 4 high-CTR advertisement slots.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rojgaar-rautahat
Tags: job-portal, employment, glassmorphism, advertisements, custom-logo, rautahat, nepal, tailwindcss, responsive-layout, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties & Color System
   ========================================================================== */
:root {
  --primary: #1E3A8A;
  --primary-hover: #172554;
  --primary-light: #EFF6FF;
  --secondary: #F97316;
  --secondary-hover: #EA580C;
  --secondary-light: #FFF7ED;
  --accent: #10B981;
  --bg-page: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   CSS Reset & Base Styling
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Admin Bar Compatibility */
.admin-bar #masthead {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar #masthead {
    top: 46px !important;
  }
}

/* ==========================================================================
   Structural Layout & Containers
   ========================================================================== */
.site-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-main {
  min-height: 70vh;
}

/* ==========================================================================
   Glassmorphic & Card Design System
   ========================================================================== */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-hover);
}

.glass-hero {
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
}

/* ==========================================================================
   Ad Banner Containers
   ========================================================================== */
.ad-slot-container {
  margin: 1.5rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  text-align: center;
}

.ad-slot-header {
  max-width: 728px;
}

.ad-slot-sidebar {
  max-width: 320px;
}

.ad-code-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

/* ==========================================================================
   Badges & Interactive Elements
   ========================================================================== */
.badge-featured {
  background: #F97316;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.badge-pill-blue {
  background: #EFF6FF;
  color: #1E3A8A;
}

.badge-pill-orange {
  background: #FFF7ED;
  color: #C2410C;
}

.badge-pill-emerald {
  background: #ECFDF5;
  color: #047857;
}

.badge-pill-slate {
  background: #F1F5F9;
  color: #475569;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #F1F5F9;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
