/* ================================================
   RealJobsForFelons - Complete Stylesheet
   Primary: #1B3A5C (deep blue)
   Accent: #E87C3E (warm orange)
   ================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2D3748;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #1B3A5C; text-decoration: none; }
a:hover { color: #E87C3E; }

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent { color: #E87C3E; }

.link { color: #E87C3E; }
.link:hover { text-decoration: underline; }

/* ================================================
   Buttons
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: #1B3A5C;
  color: #fff;
}
.btn-primary:hover { background: #15304d; color: #fff; }

.btn-accent {
  background: #E87C3E;
  color: #fff;
}
.btn-accent:hover { background: #d16a2f; color: #fff; }

.btn-outline {
  background: transparent;
  color: #1B3A5C;
  border-color: #1B3A5C;
}
.btn-outline:hover {
  background: #1B3A5C;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #64748b;
  border-color: #e2e8f0;
}
.btn-ghost:hover { border-color: #94a3b8; color: #334155; }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ================================================
   Header / Navigation
   ================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
  color: #E87C3E;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1B3A5C;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.92rem;
  color: #475569;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1B3A5C;
  background: #f1f5f9;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-search-input {
  padding: 8px 36px 8px 36px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.85rem;
  width: 200px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.nav-search-input:focus {
  outline: none;
  border-color: #1B3A5C;
}

.nav-search .fa-search {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 0.8rem;
}

.nav-search-btn {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  color: #94a3b8;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B3A5C;
  border-radius: 2px;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  background: linear-gradient(135deg, #1B3A5C 0%, #244b72 50%, #1B3A5C 100%);
  color: #fff;
  padding: 80px 0 60px;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.hero-search-fields {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.search-field {
  flex: 1;
  position: relative;
  padding: 0 12px;
  border-right: 1px solid #e2e8f0;
}

.search-field:last-of-type { border-right: none; }

.search-field i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.search-field input {
  width: 100%;
  padding: 16px 12px 16px 40px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1B3A5C;
  background: transparent;
}

.search-field input:focus { outline: none; }
.search-field input::placeholder { color: #94a3b8; }

.hero-search .btn-accent {
  border-radius: 0 12px 12px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================
   Stats Section
   ================================================ */
.stats-section {
  padding: 40px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e8edf3;
  margin-top: -1px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat-card { text-align: center; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1B3A5C;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 4px;
}

/* ================================================
   Sections
   ================================================ */
.section { padding: 60px 0; }
.section-alt { background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 10px;
}
.section-subtitle { color: #64748b; font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 32px; }

/* ================================================
   Page Header
   ================================================ */
.page-header {
  background: linear-gradient(135deg, #1B3A5C, #244b72);
  color: #fff;
  padding: 40px 0 32px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb a, .breadcrumb span::before { margin: 0 8px; }
.breadcrumb a:first-child { margin-left: 0; }
.breadcrumb span::before { content: '/'; margin: 0 8px; display: inline; }

/* ================================================
   Industry Grid
   ================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
  display: block;
}

.industry-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.12);
  transform: translateY(-2px);
}

.industry-icon {
  font-size: 2rem;
  color: #E87C3E;
  margin-bottom: 12px;
}

.industry-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 4px;
}

.industry-count {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ================================================
   State Grid
   ================================================ */
.state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.state-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 44px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1B3A5C;
  transition: all 0.2s;
}

.state-link:hover {
  background: #E87C3E;
  color: #fff;
  border-color: #E87C3E;
}

/* ================================================
   Employer Grid (Homepage)
   ================================================ */
.employer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.employer-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
  display: block;
}

.employer-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.1);
  transform: translateY(-2px);
}

.employer-card-icon {
  font-size: 2rem;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.employer-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 4px;
}

.employer-card-industry {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.employer-card-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.state-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.employer-card-jobs {
  font-size: 0.85rem;
  color: #E87C3E;
  font-weight: 600;
}

/* ================================================
   Resource Grid (Homepage)
   ================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.resource-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
  display: block;
}

.resource-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.1);
}

.resource-card-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E87C3E;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.resource-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 8px;
  line-height: 1.4;
}

.resource-card-state {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ================================================
   Blog Preview Grid (Homepage)
   ================================================ */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-preview-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
  display: block;
}

.blog-preview-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.1);
}

.blog-preview-category {
  display: inline-block;
  padding: 3px 10px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.blog-preview-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-preview-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.blog-preview-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.blog-preview-meta i { margin-right: 4px; }

/* ================================================
   Trust Section
   ================================================ */
.section-trust { background: #f8fafc; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-card { text-align: center; }

.trust-icon {
  font-size: 2.5rem;
  color: #E87C3E;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

/* ================================================
   Listing Layout (Jobs page)
   ================================================ */
.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.listing-sidebar { position: sticky; top: 92px; }

.filter-form { display: flex; flex-direction: column; gap: 20px; }

.filter-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1B3A5C;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #334155;
  background: #fff;
  transition: border-color 0.2s;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #1B3A5C;
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf3;
}

.listing-count {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

/* ================================================
   Job Cards
   ================================================ */
.job-list { display: flex; flex-direction: column; gap: 12px; }

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  transition: all 0.2s;
  gap: 20px;
}

.job-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.08);
}

.job-card-left { flex: 1; }

.job-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.job-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 6px;
}

.job-card-company,
.job-card-location {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 3px;
}

.job-card-company i,
.job-card-location i {
  width: 16px;
  color: #94a3b8;
  margin-right: 4px;
}

.job-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.job-card-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
}

.type-full_time { background: #dbeafe; color: #1e40af; }
.type-part_time { background: #fef3c7; color: #92400e; }
.type-remote { background: #d1fae5; color: #065f46; }

.job-card-industry {
  font-size: 0.82rem;
  color: #94a3b8;
}

.job-card-salary {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1B3A5C;
}

.job-card-salary i { margin-right: 4px; }

.job-card-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ================================================
   Job Detail
   ================================================ */
.job-detail-layout { max-width: 800px; margin: 0 auto; }

.job-detail-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
}

.job-detail-header {
  padding: 32px;
  border-bottom: 1px solid #f1f5f9;
}

.job-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.job-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748b;
  font-size: 0.92rem;
}

.job-detail-meta i { color: #94a3b8; margin-right: 6px; }

.job-detail-body {
  padding: 32px;
}

.job-detail-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 12px;
  margin-top: 24px;
}

.job-detail-body h2:first-child { margin-top: 0; }

.job-detail-body p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.job-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.info-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  font-weight: 600;
  color: #1B3A5C;
  font-size: 0.95rem;
}

.related-section { margin-top: 48px; }

/* ================================================
   Employer List Page
   ================================================ */
.employer-list { display: flex; flex-direction: column; gap: 16px; }

.employer-list-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  transition: all 0.2s;
}

.employer-list-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.08);
}

.employer-list-icon {
  font-size: 2.5rem;
  color: #1B3A5C;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.employer-list-info { flex: 1; }

.employer-list-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 4px;
}

.employer-list-industry {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
}

.employer-list-industry i { margin-right: 4px; }

.employer-list-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 10px;
  line-height: 1.5;
}

.employer-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-count-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E87C3E;
}

.job-count-badge i { margin-right: 4px; }

.employer-list-arrow {
  font-size: 1.2rem;
  color: #cbd5e1;
  flex-shrink: 0;
}

/* ================================================
   Employer Detail
   ================================================ */
.employer-detail { max-width: 960px; margin: 0 auto; }

.employer-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.employer-detail-icon {
  font-size: 3rem;
  color: #E87C3E;
  flex-shrink: 0;
}

.employer-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 6px;
}

.employer-detail-industry {
  font-size: 0.95rem;
  color: #64748b;
}

.employer-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: flex-start;
}

.content-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.content-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 14px;
}

.content-card h2 i { margin-right: 8px; color: #E87C3E; }

.content-card p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Sidebar */
.sidebar-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  position: sticky;
  top: 92px;
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-info-list { display: flex; flex-direction: column; gap: 14px; }

.sidebar-info-item { display: flex; flex-direction: column; gap: 3px; }

.sidebar-info-label {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-info-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
}

.quick-answer { display: flex; flex-direction: column; gap: 12px; }

.quick-answer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
}

.quick-answer-item.yes i { color: #059669; }
.quick-answer-item.no i { color: #dc2626; }
.quick-answer-item.info i { color: #2563eb; }

/* ================================================
   Resources Page
   ================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  background: #fff;
  transition: all 0.2s;
}

.category-filter-btn:hover,
.category-filter-btn.active {
  background: #1B3A5C;
  color: #fff;
  border-color: #1B3A5C;
}

.resource-category-section { margin-bottom: 48px; }

.resource-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-category-title i { color: #E87C3E; }

.resource-category-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.resource-list { display: flex; flex-direction: column; gap: 12px; }

.resource-list-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  transition: all 0.2s;
  gap: 16px;
}

.resource-list-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.08);
}

.resource-list-info { flex: 1; }

.resource-list-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 6px;
}

.resource-list-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.5;
}

.resource-state-badge {
  font-size: 0.8rem;
  color: #94a3b8;
}

.resource-state-badge i { margin-right: 4px; }

.resource-list-arrow {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* ================================================
   Resource Detail
   ================================================ */
.resource-detail { max-width: 800px; margin: 0 auto; }

.resource-detail-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
}

.resource-detail-header { padding: 32px; border-bottom: 1px solid #f1f5f9; }

.resource-detail-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: capitalize;
}

.resource-detail-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.resource-detail-state {
  font-size: 0.9rem;
  color: #64748b;
}

.resource-detail-state i { margin-right: 4px; }

.resource-detail-body { padding: 32px; }

.resource-detail-body p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1.02rem;
}

/* ================================================
   Blog Grid
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: #E87C3E;
  box-shadow: 0 4px 16px rgba(232,124,62,0.1);
  transform: translateY(-2px);
}

.blog-card-category {
  display: inline-block;
  padding: 3px 10px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 14px;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #94a3b8;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.blog-card-meta i { margin-right: 4px; }

/* ================================================
   Blog Detail
   ================================================ */
.blog-detail { max-width: 760px; margin: 0 auto; }

.blog-article {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
}

.blog-article-header { padding: 40px; border-bottom: 1px solid #f1f5f9; }

.blog-article-category {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 16px;
}

.blog-article-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.blog-article-meta i { margin-right: 6px; }

.blog-article-body {
  padding: 40px;
  line-height: 1.8;
  color: #374151;
}

.blog-article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1B3A5C;
  margin: 32px 0 16px;
}

.blog-article-body p {
  margin-bottom: 16px;
}

.blog-article-body ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.blog-article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ================================================
   Pagination
   ================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8edf3;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1B3A5C;
  transition: all 0.2s;
}

.pagination-btn:hover {
  background: #1B3A5C;
  color: #fff;
  border-color: #1B3A5C;
}

.pagination-info {
  font-size: 0.9rem;
  color: #64748b;
}

/* ================================================
   Empty State
   ================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.empty-state i { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; color: #475569; margin-bottom: 8px; }
.empty-state p { margin-bottom: 20px; }

/* ================================================
   Error Pages
   ================================================ */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content { text-align: center; }

.error-content h1 {
  font-size: 5rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.error-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 12px;
}

.error-content p {
  color: #64748b;
  margin-bottom: 24px;
}

/* ================================================
   Footer
   ================================================ */
.footer {
  background: #1B3A5C;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-logo .logo-icon { color: #E87C3E; }
.footer-logo .logo-text { color: #fff; }

.footer-tagline {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.social-links a:hover {
  background: #E87C3E;
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #E87C3E; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.footer-disclaimer {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.4) !important;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .employer-detail-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-search,
  .nav-right .btn {
    display: none;
  }

  .mobile-menu-btn { display: flex; }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }

  .hero-search-fields {
    flex-direction: column;
    border-radius: 12px;
  }

  .search-field { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .hero-search .btn-accent { border-radius: 0 0 12px 12px; margin: 0 8px 8px; }

  .stats-grid { gap: 30px; }
  .stat-number { font-size: 1.5rem; }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .employer-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .blog-preview-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }

  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }

  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px; }

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

  .employer-detail-header { flex-direction: column; text-align: center; }

  .employer-list-card { flex-direction: column; text-align: center; }
  .employer-list-arrow { display: none; }

  .job-detail-info-grid { grid-template-columns: 1fr; }

  .blog-article-header { padding: 24px; }
  .blog-article-body { padding: 24px; }

  .page-title { font-size: 1.5rem; }

  .category-filter { gap: 8px; }
  .category-filter-btn { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 1.6rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.4rem; }
}