/*
Theme Name: OdishaJankari
Theme URI: https://odishajankari.com
Author: OdishaJankari Editorial & Tech Team
Author URI: https://odishajankari.com/about/
Description: A production-ready, lightweight, modern WordPress theme for Odisha-focused information platforms. Designed for citizen guidance, land records (Bhulekh, RoR, Mutation), government certificates, schemes, jobs, and practical problem-solving. Built mobile-first with zero heavy dependencies, Core Web Vitals optimization, and AdSense readiness.
Version: 1.1.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: odishajankari
Tags: one-column, two-columns, right-sidebar, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, accessibility-ready, blog, education, news
*/

/* ==========================================================================
   CSS Variables & Brand Identity Palette
   ========================================================================== */
:root {
  /* Brand Colors */
  --oj-navy: #0B5ED7;
  --oj-navy-dark: #084298;
  --oj-navy-light: #E7F1FF;
  
  --oj-green: #198754;
  --oj-green-dark: #146c43;
  --oj-green-light: #D1E7DD;
  
  --oj-orange: #FF9F1C;
  --oj-orange-dark: #E0850B;
  --oj-orange-light: #FFF3CD;
  
  --oj-blue: #0EA5E9;
  --oj-blue-dark: #0284C7;
  --oj-blue-light: #E0F2FE;
  
  /* Neutral Palette */
  --oj-text: #374151;
  --oj-text-dark: #111827;
  --oj-text-muted: #6B7280;
  --oj-text-light: #9CA3AF;
  
  --oj-bg: #F8FAFC;
  --oj-white: #FFFFFF;
  --oj-border: #E2E8F0;
  --oj-border-light: #F1F5F9;
  
  /* Card and Shadows */
  --oj-card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --oj-card-shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --oj-radius-sm: 6px;
  --oj-radius-md: 10px;
  --oj-radius-lg: 14px;
  --oj-radius-full: 9999px;
  
  /* Typography */
  --oj-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --oj-font-odia: 'Noto Sans Oriya', 'Kalinga', 'Utkal', sans-serif;
  --oj-font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Layout Dimensions */
  --oj-container-max: 1200px;
  --oj-header-height: 72px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--oj-font-sans);
  background-color: var(--oj-bg);
  color: var(--oj-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Odia Typography Support */
.odia-text, [lang="or"] {
  font-family: var(--oj-font-odia), var(--oj-font-sans);
  line-height: 1.7;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--oj-navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 99999;
  font-weight: 600;
  border-radius: var(--oj-radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--oj-text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.375rem; }
}

p {
  margin-bottom: 1.125rem;
}

a {
  color: var(--oj-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--oj-navy-dark);
  text-decoration: underline;
}

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

/* Container */
.oj-container {
  width: 100%;
  max-width: var(--oj-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Primary Buttons */
.oj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--oj-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.oj-btn-primary {
  background-color: var(--oj-navy);
  color: #fff;
}
.oj-btn-primary:hover {
  background-color: var(--oj-navy-dark);
  color: #fff;
  transform: translateY(-1px);
}

.oj-btn-action {
  background-color: var(--oj-green);
  color: #fff;
}
.oj-btn-action:hover {
  background-color: var(--oj-green-dark);
  color: #fff;
}

.oj-btn-accent {
  background-color: var(--oj-orange);
  color: #fff;
}
.oj-btn-accent:hover {
  background-color: var(--oj-orange-dark);
  color: #fff;
}

.oj-btn-outline {
  background-color: transparent;
  border-color: var(--oj-navy);
  color: var(--oj-navy);
}
.oj-btn-outline:hover {
  background-color: var(--oj-navy-light);
}

/* Badges and Tags */
.oj-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--oj-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.oj-badge-primary { background-color: var(--oj-navy-light); color: var(--oj-navy-dark); }
.oj-badge-green { background-color: var(--oj-green-light); color: var(--oj-green-dark); }
.oj-badge-orange { background-color: var(--oj-orange-light); color: var(--oj-orange-dark); }
.oj-badge-blue { background-color: var(--oj-blue-light); color: var(--oj-blue-dark); }
