/*
Theme Name: RojgarNotice
Theme URI: https://github.com/example/rojgar-notice
Author: Original Theme Team
Author URI: https://example.com
Description: A high-performance, mobile-first, SEO-optimized, and AdSense-ready classic WordPress theme designed for employment notification portals, government job alerts, admit cards, exam schedules, and recruitment updates. Inspired by modern Indian recruitment portals with an original, clean visual identity, dedicated ad placements, and zero bloat.
Version: 1.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: rojgar-notice
Tags: blog, news, grid-layout, two-columns, right-sidebar, custom-menu, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready
*/

:root {
  --rn-primary: #0f2b48;
  --rn-primary-hover: #173d66;
  --rn-primary-light: #e9f0f8;
  --rn-accent: #0284c7;
  --rn-success: #059669;
  --rn-success-bg: #ecfdf5;
  --rn-warning: #d97706;
  --rn-warning-bg: #fffbeb;
  --rn-danger: #dc2626;
  --rn-danger-bg: #fef2f2;
  --rn-bg: #f8fafc;
  --rn-surface: #ffffff;
  --rn-border: #e2e8f0;
  --rn-border-dark: #cbd5e1;
  --rn-text-main: #1e293b;
  --rn-text-muted: #64748b;
  --rn-text-light: #94a3b8;
  --rn-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --rn-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --rn-shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --rn-radius: 8px;
  --rn-radius-lg: 12px;
  --rn-font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --rn-font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rn-max-width: 1240px;
}

[data-theme="dark"] {
  --rn-primary: #38bdf8;
  --rn-primary-hover: #7dd3fc;
  --rn-primary-light: #0f2b48;
  --rn-bg: #0b1120;
  --rn-surface: #1e293b;
  --rn-border: #334155;
  --rn-border-dark: #475569;
  --rn-text-main: #f1f5f9;
  --rn-text-muted: #94a3b8;
  --rn-text-light: #64748b;
  --rn-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --rn-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4);
}

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

html {
  font-family: var(--rn-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rn-text-main);
  background-color: var(--rn-bg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--rn-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--rn-primary-hover);
  text-decoration: underline;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--rn-primary);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 99999;
  border-radius: var(--rn-radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Layout Containers */
.rn-container {
  width: 100%;
  max-width: var(--rn-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.rn-site-content {
  flex: 1 0 auto;
  padding-top: 24px;
  padding-bottom: 48px;
}

.rn-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .rn-main-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.rn-main-grid--full {
  grid-template-columns: 1fr;
}

/* Top Announcement Ticker */
.rn-topbar {
  background-color: #081a2e;
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}

.rn-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rn-topbar__ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.rn-ticker-badge {
  background: var(--rn-warning);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.rn-ticker-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rn-ticker-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.rn-topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.rn-topbar__date {
  display: none;
}

@media (min-width: 768px) {
  .rn-topbar__date {
    display: block;
  }
}

/* Site Header */
.rn-header {
  background-color: var(--rn-surface);
  border-bottom: 1px solid var(--rn-border);
  box-shadow: var(--rn-shadow-sm);
}

.rn-header__middle {
  padding: 16px 0;
}

.rn-header__middle-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rn-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.rn-logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0f2b48 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.rn-site-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--rn-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

[data-theme="dark"] .rn-site-title {
  color: #ffffff;
}

.rn-site-desc {
  font-size: 0.75rem;
  color: var(--rn-text-muted);
  margin-top: 2px;
}

/* Header Banner Ad Slot */
.rn-header-ad {
  display: none;
}

@media (min-width: 768px) {
  .rn-header-ad {
    display: block;
    max-width: 728px;
  }
}

/* Primary Navigation Bar */
.rn-navbar {
  background-color: var(--rn-primary);
  color: #ffffff;
  position: relative;
  z-index: 40;
}

.rn-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

@media (min-width: 992px) {
  .rn-nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
}

.rn-nav-menu > li {
  position: relative;
}

.rn-nav-menu > li > a {
  display: block;
  padding: 14px 16px;
  color: #f1f5f9;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.rn-nav-menu > li:hover > a,
.rn-nav-menu > li.current-menu-item > a {
  background-color: var(--rn-primary-hover);
  color: #ffffff;
  text-decoration: none;
}

/* Dropdown Sub-menus */
.rn-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  color: var(--rn-text-main);
  box-shadow: var(--rn-shadow-md);
  border-radius: 0 0 var(--rn-radius) var(--rn-radius);
  border: 1px solid var(--rn-border);
  list-style: none;
  padding: 8px 0;
  z-index: 50;
}

[data-theme="dark"] .rn-nav-menu .sub-menu {
  background-color: #1e293b;
  border-color: #334155;
}

.rn-nav-menu li:hover > .sub-menu {
  display: block;
}

.rn-nav-menu .sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rn-text-main);
  text-decoration: none;
}

.rn-nav-menu .sub-menu li a:hover {
  background-color: var(--rn-primary-light);
  color: var(--rn-primary);
  text-decoration: none;
}

/* Mobile Toggle & Search Button */
.rn-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rn-btn-icon {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rn-radius);
}

.rn-btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.rn-mobile-toggle {
  display: inline-flex;
}

@media (min-width: 992px) {
  .rn-mobile-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.rn-mobile-drawer {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--rn-border);
  padding: 16px;
}

[data-theme="dark"] .rn-mobile-drawer {
  background-color: #1e293b;
}

.rn-mobile-drawer.is-open {
  display: block;
}

.rn-mobile-menu {
  list-style: none;
}

.rn-mobile-menu li a {
  display: block;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rn-text-main);
  border-radius: 6px;
}

.rn-mobile-menu li a:hover {
  background-color: var(--rn-primary-light);
  text-decoration: none;
}

.rn-mobile-menu .sub-menu {
  list-style: none;
  padding-left: 16px;
}

.rn-mobile-menu .sub-menu a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--rn-text-muted);
}

/* Quick Filter Matrix Bar (Inspired by job categories) */
.rn-filter-bar {
  background-color: var(--rn-surface);
  border-bottom: 1px solid var(--rn-border);
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.rn-filter-pills {
  display: flex;
  gap: 8px;
  align-items: center;
}

.rn-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--rn-bg);
  border: 1px solid var(--rn-border);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rn-text-main);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.rn-filter-pill:hover,
.rn-filter-pill.is-active {
  background-color: var(--rn-primary);
  border-color: var(--rn-primary);
  color: #ffffff;
  text-decoration: none;
}

.rn-filter-pill--featured {
  background-color: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.rn-filter-pill--featured:hover {
  background-color: #f59e0b;
  color: #ffffff;
}

/* Section Titles */
.rn-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--rn-border);
  padding-bottom: 8px;
}

.rn-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rn-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  position: relative;
}

[data-theme="dark"] .rn-section-title {
  color: #f8fafc;
}

.rn-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--rn-accent);
  border-radius: 2px;
}

/* Notice & Job Cards */
.rn-job-card {
  background-color: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--rn-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.rn-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rn-shadow);
  border-color: var(--rn-border-dark);
}

.rn-job-card--urgent {
  border-left: 4px solid var(--rn-warning);
}

.rn-job-card--fresh {
  border-left: 4px solid var(--rn-success);
}

.rn-job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rn-job-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.rn-job-card__title a {
  color: var(--rn-text-main);
  text-decoration: none;
}

.rn-job-card__title a:hover {
  color: var(--rn-accent);
  text-decoration: underline;
}

.rn-job-badge-vacancy {
  background: var(--rn-primary-light);
  color: var(--rn-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="dark"] .rn-job-badge-vacancy {
  background: #0f2b48;
  color: #38bdf8;
}

.rn-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--rn-text-muted);
  margin-top: 10px;
}

.rn-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rn-meta-item strong {
  color: var(--rn-text-main);
}

.rn-meta-item--urgent {
  color: var(--rn-danger);
  font-weight: 600;
}

.rn-job-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--rn-border);
  font-size: 0.75rem;
  color: var(--rn-text-light);
}

/* Button UI */
.rn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--rn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.rn-btn:hover {
  text-decoration: none;
}

.rn-btn-primary {
  background-color: var(--rn-primary);
  color: #ffffff;
}

.rn-btn-primary:hover {
  background-color: var(--rn-primary-hover);
  color: #ffffff;
}

.rn-btn-outline {
  background-color: transparent;
  border-color: var(--rn-border-dark);
  color: var(--rn-text-main);
}

.rn-btn-outline:hover {
  background-color: var(--rn-bg);
  border-color: var(--rn-text-muted);
}

.rn-btn-success {
  background-color: var(--rn-success);
  color: #ffffff;
}

.rn-btn-success:hover {
  background-color: #047857;
  color: #ffffff;
}

.rn-btn-sm {
  padding: 5px 10px;
  font-size: 0.75rem;
}

/* Single Post Page Layout */
.rn-article {
  background-color: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-lg);
  padding: 24px;
  box-shadow: var(--rn-shadow-sm);
}

@media (min-width: 768px) {
  .rn-article {
    padding: 32px;
  }
}

.rn-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--rn-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rn-breadcrumbs a {
  color: var(--rn-text-muted);
}

.rn-breadcrumbs a:hover {
  color: var(--rn-accent);
}

.rn-breadcrumbs .separator {
  color: var(--rn-text-light);
}

.rn-article__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--rn-primary);
  margin-bottom: 16px;
}

[data-theme="dark"] .rn-article__title {
  color: #ffffff;
}

.rn-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rn-border);
  font-size: 0.8125rem;
  color: var(--rn-text-muted);
}

/* Job Overview Table (The core recruitment overview) */
.rn-job-table-wrap {
  margin: 24px 0;
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  overflow: hidden;
  background-color: var(--rn-surface);
}

.rn-job-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.rn-job-table th,
.rn-job-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rn-border);
  text-align: left;
}

.rn-job-table th {
  background-color: var(--rn-primary-light);
  color: var(--rn-primary);
  font-weight: 700;
  width: 32%;
}

[data-theme="dark"] .rn-job-table th {
  background-color: #0f2b48;
  color: #38bdf8;
}

.rn-job-table tr:last-child th,
.rn-job-table tr:last-child td {
  border-bottom: none;
}

/* Important Links Box */
.rn-links-box {
  margin: 28px 0;
  border: 2px solid #bfdbfe;
  background-color: #eff6ff;
  border-radius: var(--rn-radius-lg);
  padding: 20px;
}

[data-theme="dark"] .rn-links-box {
  background-color: #1e293b;
  border-color: #3b82f6;
}

.rn-links-box__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 12px;
}

[data-theme="dark"] .rn-links-box__title {
  color: #93c5fd;
}

.rn-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rn-links-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: var(--rn-radius);
  border: 1px solid #dbeafe;
}

[data-theme="dark"] .rn-links-list li {
  background: #0f172a;
  border-color: #334155;
}

/* Article Body Typography */
.rn-entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--rn-text-main);
}

.rn-entry-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--rn-primary);
}

.rn-entry-content h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 10px;
}

.rn-entry-content p {
  margin-bottom: 16px;
}

.rn-entry-content ul,
.rn-entry-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.rn-entry-content li {
  margin-bottom: 6px;
}

/* Disclaimer Notice Box in Articles */
.rn-disclaimer-box {
  background-color: var(--rn-warning-bg);
  border-left: 4px solid var(--rn-warning);
  padding: 16px;
  border-radius: 0 var(--rn-radius) var(--rn-radius) 0;
  margin: 28px 0;
  font-size: 0.875rem;
  color: #78350f;
}

[data-theme="dark"] .rn-disclaimer-box {
  background-color: #291b00;
  color: #fde68a;
}

/* Social Share Bar */
.rn-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--rn-border);
  border-bottom: 1px solid var(--rn-border);
}

.rn-share-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rn-text-muted);
  text-transform: uppercase;
  margin-right: 6px;
}

.rn-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.rn-share-btn--wa { background-color: #25d366; }
.rn-share-btn--tg { background-color: #229ed9; }
.rn-share-btn--fb { background-color: #1877f2; }
.rn-share-btn--x { background-color: #000000; }
.rn-share-btn--copy { background-color: #475569; cursor: pointer; border: none; }

/* Author Bio Card */
.rn-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--rn-bg);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  margin-top: 32px;
}

.rn-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rn-author-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.rn-author-bio {
  font-size: 0.8125rem;
  color: var(--rn-text-muted);
  line-height: 1.5;
}

/* Sidebar & Widgets */
.rn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rn-widget {
  background-color: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  padding: 20px;
  box-shadow: var(--rn-shadow-sm);
}

.rn-widget__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--rn-primary);
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--rn-primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .rn-widget__title {
  color: #ffffff;
  border-bottom-color: #334155;
}

/* Urgent Deadlines Widget List */
.rn-deadline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rn-deadline-item {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rn-border);
}

.rn-deadline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rn-deadline-item a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rn-text-main);
  display: block;
  line-height: 1.35;
  margin-bottom: 4px;
}

.rn-deadline-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--rn-danger);
  background: var(--rn-danger-bg);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

/* Alert Subscription Box (Telegram / WhatsApp channel link) */
.rn-channel-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--rn-radius);
  padding: 18px;
  text-align: center;
}

.rn-channel-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.rn-channel-card__desc {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin-bottom: 14px;
}

.rn-channel-card__actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Search Modal / Bar */
.rn-search-form {
  position: relative;
  width: 100%;
}

.rn-search-input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  font-size: 0.875rem;
  background-color: var(--rn-bg);
  color: var(--rn-text-main);
  outline: none;
}

.rn-search-input:focus {
  border-color: var(--rn-primary);
  box-shadow: 0 0 0 3px var(--rn-primary-light);
}

.rn-search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--rn-text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

/* Pagination */
.rn-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.rn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--rn-radius);
  border: 1px solid var(--rn-border);
  background-color: var(--rn-surface);
  color: var(--rn-text-main);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.rn-pagination .page-numbers.current {
  background-color: var(--rn-primary);
  border-color: var(--rn-primary);
  color: #ffffff;
}

.rn-pagination .page-numbers:hover:not(.current) {
  background-color: var(--rn-bg);
  border-color: var(--rn-border-dark);
}

/* ==========================================================================
   ADSENSE / MONETIZATION AREAS (Compliant, Non-Intrusive, Clearly Labeled)
   ========================================================================== */
.rn-ad-slot {
  margin: 20px 0;
  text-align: center;
  position: relative;
  clear: both;
}

.rn-ad-badge {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rn-text-light);
  margin-bottom: 4px;
}

.rn-ad-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 90px;
  background-color: #f1f5f9;
  border: 1px dashed var(--rn-border-dark);
  border-radius: 6px;
  padding: 12px;
  overflow: hidden;
}

[data-theme="dark"] .rn-ad-inner {
  background-color: #1e293b;
  border-color: #334155;
}

.rn-ad-placeholder-text {
  font-size: 0.75rem;
  color: var(--rn-text-muted);
  line-height: 1.4;
}

.rn-ad-slot--leaderboard .rn-ad-inner {
  width: 728px;
  min-height: 90px;
}

.rn-ad-slot--rectangle .rn-ad-inner {
  width: 336px;
  min-height: 280px;
}

.rn-ad-slot--responsive .rn-ad-inner {
  width: 100%;
  min-height: 100px;
}

/* Site Footer */
.rn-footer {
  background-color: #081a2e;
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.rn-footer__top {
  padding: 48px 0 32px;
}

.rn-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .rn-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .rn-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.rn-footer-col__title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.rn-footer-col p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.rn-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rn-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.rn-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.rn-footer__disclaimer {
  background-color: #051221;
  padding: 16px 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rn-footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
}

.rn-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .rn-footer__bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

/* Back to Top Button */
.rn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--rn-primary);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--rn-shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 99;
}

.rn-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Print Stylesheet */
@media print {
  .rn-topbar,
  .rn-navbar,
  .rn-sidebar,
  .rn-ad-slot,
  .rn-share-bar,
  .rn-footer,
  .rn-back-to-top {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .rn-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .rn-main-grid {
    display: block !important;
  }

  .rn-article {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .rn-job-table th {
    background: #e2e8f0 !important;
    color: #000000 !important;
  }
}

/* Accessible Search Modal Styles */
.rn-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rn-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
}

.rn-modal-card {
  position: relative;
  background-color: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--rn-shadow-md);
  z-index: 10;
}

