/*
Theme Name: iGaming Jobs
Description: Standalone тема для джоб-борда и образовательного портала iGaming Jobs
Version: 5.3.0
Text Domain: igaming-jobs
Author: iGaming Jobs
*/

/* ═══════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════ */
:root {
  --bg:              #fafaf7;
  --surface:         #ffffff;
  --border:          #dddcd3;
  --text:            #111110;
  --text-light:      #a8a89e;

  --accent:          #0d9488;
  --accent-bg:       #f0fdfa;
  --accent-border:   #5eead4;

  --text-muted:      #636358;

  --tag-new-bg:      #fef3c7;
  --tag-new-text:    #92400e;
  --tag-remote-bg:   #d1fae5;
  --tag-remote-text: #065f46;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-pill: 999px;

  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 8px rgba(0,0,0,0.04);
}

/* ═══════════════════════════════════════════════════════
   FONT — Manrope, подключается через header.php (preload)
   Аккуратная версия — не ломает code/pre/kbd.
   ═══════════════════════════════════════════════════════ */
html, body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.wp-site-blocks,
.entry-content,
.igj-container,
.igj-home-v2,
.igj-site-header,
.igj-site-footer,
.igj-statsbar-dark,
h1, h2, h3, h4, h5, h6,
p, a, span, div, button, input, select, textarea, label {
  font-family: inherit;
}
/* Моноширинный шрифт сохраняется для code/pre/kbd */
code, pre, kbd, samp, tt,
code *, pre * {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg) !important;
  color: var(--text) !important;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

/* Сброс отступов TwentyTwentyFive */
.wp-site-blocks { padding: 0 !important; }
.is-layout-constrained { max-width: none !important; padding: 0 !important; }

.entry-content,
.wp-block-post-content,
.wp-block-group,
.wp-block-template-part,
.has-global-padding {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.wp-block-post,
.wp-block-query {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.igj-site-header {
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.container.igj-header-inner {
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 24px !important;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.igj-brand-v2 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.igj-brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800 !important;
  flex-shrink: 0;
}

.igj-brand-text {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--text);
  letter-spacing: -0.01em;
}

.igj-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.igj-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0; padding: 0;
}

.igj-menu li { margin: 0; padding: 0; }

.igj-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  transition: color 0.15s, background 0.15s;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none;
}

.igj-menu a:hover {
  color: var(--text) !important;
  background: rgba(0,0,0,0.05) !important;
}

.igj-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 18px !important;
  border-radius: var(--r-pill) !important;
  background: var(--text) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background 0.15s !important;
  margin-left: 8px;
  text-decoration: none !important;
  min-height: 38px !important;
  flex-shrink: 0;
}

.igj-header-cta:hover {
  background: #2a2a28 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════
   FOOTER — базовый (одна строка)
   ═══════════════════════════════════════════════════════ */
.igj-site-footer {
  background: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.container.igj-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.igj-footer-links { display: flex; gap: 20px; }
.igj-footer-links a { color: var(--text-muted); }
.igj-footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   FOOTER — расширенный с колонками
   ═══════════════════════════════════════════════════════ */
.igj-footer-top {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
}

.igj-footer-inner-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}

.igj-footer-brand { max-width: 320px; }

.igj-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.igj-footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.igj-footer-cols {
  display: flex;
  gap: 48px;
}

.igj-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.igj-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.igj-footer-col a { font-size: 14px; color: var(--text-muted); }
.igj-footer-col a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════ */
.igj-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════ */
.igj-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

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

/* ═══════════════════════════════════════════════════════
   STATS BAR — чёрная полоса под хедером
   ═══════════════════════════════════════════════════════ */
.igj-statsbar-dark {
  background: #111110;
  color: #fff;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #2a2a28;
}

.igj-statsbar-dark .igj-statsbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.igj-statsbar-dark b { color: var(--accent); font-weight: 800; }
.igj-statsbar-dark .igj-statsbar-sep { color: #444; }

/* ═══════════════════════════════════════════════════════
   HOME PAGE WRAPPER
   ═══════════════════════════════════════════════════════ */
.igj-home-v2 {
  background: var(--bg);
  padding-bottom: 56px;
}

/* ═══════════════════════════════════════════════════════
   HERO — центрированный
   ═══════════════════════════════════════════════════════ */
.igj-hero-centered {
  text-align: center;
  padding: 52px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.igj-hero-title {
  font-size: 46px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.02 !important;
  color: var(--text) !important;
  margin: 0 0 16px !important;
  max-width: 720px;
}

.igj-hero-centered .igj-hero-title {
  max-width: 780px;
  text-align: center;
}

.igj-hero-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 20px;
}

.igj-hero-centered .igj-hero-text {
  text-align: center;
  max-width: 560px;
  margin: 0;
}

.igj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.igj-hero-centered .igj-hero-actions { justify-content: center; }

/* ═══════════════════════════════════════════════════════
   SEARCH BAR (homepage)
   ═══════════════════════════════════════════════════════ */
.igj-home-search-form { margin: 0 0 12px; }

.igj-home-search-centered {
  max-width: 680px;
  margin: 0 auto 16px;
}

.igj-home-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.igj-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  flex-shrink: 0;
  z-index: 1;
}

.igj-home-search-wrap input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0 140px 0 46px;
  background: var(--surface);
  font-size: 16px !important;
  color: var(--text) !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.igj-home-search-wrap input:focus {
  border-color: #aaa;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.igj-home-search-wrap input::placeholder { color: var(--text-light); }

.igj-search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: var(--r-md);
  background: var(--text);
  color: #fff;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-family: inherit !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.igj-search-submit:hover { background: #2a2a28; }

/* ═══════════════════════════════════════════════════════
   CATEGORY PILLS ROW
   ═══════════════════════════════════════════════════════ */
.igj-home-cat-pills-wrap {
  position: relative;
  margin: 0 0 18px;
}

/* Fade-hint справа */
.igj-home-cat-pills-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 100%;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.igj-home-cat-pills-centered {
  display: flex;
  justify-content: center;
}

.igj-home-cat-pills-centered .igj-home-cat-pills-wrap {
  max-width: 860px;
  width: 100%;
}

/* Fade-hint слева для центрированного варианта */
.igj-home-cat-pills-centered .igj-home-cat-pills-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 100%;
  background: linear-gradient(to left, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.igj-home-cat-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.igj-home-cat-pills::-webkit-scrollbar { display: none; }

.igj-home-cat-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600 !important;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.igj-home-cat-pill:hover {
  background: #f0efe9;
  color: var(--text);
}

.igj-home-cat-pill.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   STATS BAR (homepage pill)
   ═══════════════════════════════════════════════════════ */
.igj-home-statsbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  margin: 0 0 20px;
}

.igj-home-statsbar-count {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--text);
}

.igj-home-statsbar-label { font-size: 14px; color: var(--text-muted); }
.igj-home-stats-divider { color: var(--text-light); font-size: 14px; line-height: 1; }

.igj-home-stats-green {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: #d1fae5;
  color: #065f46;
  font-size: 12px;
  font-weight: 700 !important;
}

/* ═══════════════════════════════════════════════════════
   INFO STRIP
   ═══════════════════════════════════════════════════════ */
.igj-home-info-strip {
  display: flex;
  gap: 0;
  margin: 4px 0 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.igj-home-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.igj-home-info-item:last-child { border-right: none; }

.igj-home-info-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.igj-home-info-text strong {
  display: block;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin-bottom: 2px;
}

.igj-home-info-text span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADING
   ═══════════════════════════════════════════════════════ */
.igj-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.igj-home-section-head h2 {
  margin: 0 !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  color: var(--text) !important;
}

.igj-home-section-head a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600 !important;
  white-space: nowrap;
}

.igj-home-section-head a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   JOB LIST
   ═══════════════════════════════════════════════════════ */
.igj-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.igj-list-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0 14px;
  align-items: start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Невидимый оверлей-ссылка для article-карточек (front-page) */
.igj-list-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Кликабельные теги поверх оверлея */
.igj-list-item .igj-term-chip {
  position: relative;
  z-index: 2;
}

.igj-list-item:last-child { border-bottom: none; }
.igj-list-item:hover { background: #fafaf8; }

.igj-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-top: 2px;
}

.igj-list-body { min-width: 0; }

.igj-list-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}

.igj-list-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s;
}

.igj-list-item:hover .igj-list-title { color: var(--accent) !important; }

/* ── META ROW: company · salary ── */
.igj-list-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
}

.igj-list-company {
  font-size: 13px;
  color: var(--text-muted);
}

.igj-meta-dot {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1;
}

.igj-list-salary-inline {
  font-size: 13px;
  font-weight: 700 !important;
  color: #059669;
}

.igj-list-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.igj-list-date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  padding-top: 3px;
  text-align: right;
}

/* ── Load more ── */
.igj-list-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════
   BADGES — inline в заголовке карточки
   ═══════════════════════════════════════════════════════ */
.igj-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.4;
}

.igj-badge-new { background: var(--tag-new-bg); color: var(--tag-new-text); }
.igj-badge-link { text-decoration: none; }

/* ═══════════════════════════════════════════════════════
   TAG CHIPS
   ═══════════════════════════════════════════════════════ */

/* Категория — акцентный цвет */
.igj-term-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500 !important;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent) !important;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.igj-term-chip:hover { opacity: 0.75; }

/* Нейтральные теги (навыки, доп. категории) */
.igj-tag,
.igj-skill,
.igj-skill-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500 !important;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.igj-tag:hover,
.igj-skill:hover { opacity: 0.75; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.igj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.igj-btn-primary { background: var(--text); color: #fff !important; }
.igj-btn-primary:hover { background: #2a2a28; }

.igj-btn-secondary {
  background: var(--surface);
  color: var(--text) !important;
  border: 1px solid var(--border);
}
.igj-btn-secondary:hover { background: #f0efe9; border-color: #ccc; }

.igj-btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   PAGE TITLE (archive, taxonomy, pages)
   ═══════════════════════════════════════════════════════ */
.igj-page-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 8px !important;
  line-height: 1.05 !important;
  color: var(--text) !important;
}

.igj-page-subtitle { color: var(--text-muted); font-size: 16px; margin: 0 0 22px; }
.igj-back-wrap { margin-bottom: 18px; }

.igj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.igj-back-link:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   FILTERS
   ═══════════════════════════════════════════════════════ */
.igj-filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin: 0 0 18px;
}

.igj-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr auto auto;
  gap: 12px;
  align-items: end;
}

.igj-filter-field label,
.igj-filter-check label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.igj-filter-field input,
.igj-filter-field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 14px;
  font-size: 15px !important;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit !important;
}

.igj-filter-field input:focus,
.igj-filter-field select:focus { border-color: #aaa; }

.igj-filter-check { padding-bottom: 8px; }
.igj-filter-actions { display: flex; gap: 8px; }

.igj-filter-actions button,
.igj-filter-actions a {
  height: 42px;
  border-radius: var(--r-md);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600 !important;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit !important;
}

.igj-filter-actions button {
  border: none;
  background: var(--text);
  color: #fff;
}

.igj-filter-actions button:hover { background: #2a2a28; }

.igj-filter-actions a {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  text-decoration: none;
}

.igj-filter-actions a:hover { background: #f0efe9; }

/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */
.igj-pagination { margin-top: 24px; }

.nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }

.nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600 !important;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.nav-links .current, .nav-links a:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ═══════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════ */
.igj-empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.igj-empty-state svg { opacity: 0.35; }
.igj-empty-state p { margin: 0; font-size: 15px; }

/* ═══════════════════════════════════════════════════════
   SINGLE JOB
   ═══════════════════════════════════════════════════════ */

/* Страница вакансии */

/* ═══════════════════════════════════════════════════════
   SINGLE JOB PAGE
   ═══════════════════════════════════════════════════════ */

.igj-job-page { padding-top: 28px; padding-bottom: 80px; }

/* ── Breadcrumbs ── */
.igj-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.igj-breadcrumbs a { color: var(--text-muted); transition: color 0.15s; }
.igj-breadcrumbs a:hover { color: var(--accent); }
.igj-breadcrumbs span { opacity: 0.4; }

/* ── Hero ── */
.igj-job-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.igj-job-hero-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  flex: 1;
}

.igj-avatar-lg {
  width: 72px; height: 72px;
  border-radius: 16px;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.igj-job-hero-text { min-width: 0; flex: 1; }

.igj-job-hero-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.igj-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: var(--text) !important;
}

.igj-company {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 500;
}

.igj-job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.igj-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  text-decoration: none;
}

.igj-hero-tag-cat {
  color: var(--accent) !important;
  background: var(--accent-bg);
  border-color: var(--accent-border);
}
.igj-hero-tag-cat:hover { opacity: 0.8; }

.igj-hero-tag-date {
  font-size: 12px;
  color: var(--text-light);
  padding: 0 2px;
  border: none;
  background: none;
}

/* Кнопка «Откликнуться» в hero — только десктоп */
.igj-apply-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-weight: 700 !important;
  font-size: 15px;
  background: var(--accent);
  color: #fff !important;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 12px rgba(13,148,136,0.25);
}
.igj-apply-btn-hero:hover {
  background: #0b8077;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

/* ── Info strip (зарплата, формат, категория) ── */
.igj-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.igj-info-item {
  flex: 1 1 150px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.igj-info-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700 !important;
}

.igj-info-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 700 !important;
  line-height: 1.3;
}

.igj-info-value-accent { color: #059669 !important; }

/* ── Main + Sidebar layout ── */
.igj-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.igj-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}

.igj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 80px;
}

/* ── Sidebar карточки ── */
.igj-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

/* ── Кнопка отклика в сайдбаре ── */
.igj-apply-list { display: flex; flex-direction: column; gap: 8px; }

.igj-apply-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-weight: 700 !important;
  font-size: 15px;
  background: var(--accent);
  color: #fff !important;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit !important;
  text-align: center;
  box-shadow: 0 2px 10px rgba(13,148,136,0.2);
}
.igj-apply-btn:hover {
  background: #0b8077;
  transform: translateY(-1px);
}

.igj-apply-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-weight: 500;
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.15s;
  word-break: break-all;
}
.igj-apply-link:hover { background: #e8e7e0; }
.igj-apply-contact { text-align: left !important; justify-content: flex-start !important; }
.igj-contact-icon { font-size: 14px; flex-shrink: 0; opacity: 0.5; }

.igj-apply-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.5;
}

/* ── Детали в сайдбаре ── */
.igj-sidebar-title {
  font-size: 13px;
  font-weight: 700 !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.igj-sidebar-rows { display: flex; flex-direction: column; }

.igj-sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.igj-sidebar-row:first-child { padding-top: 0; }
.igj-sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }
.igj-sidebar-row-label { color: var(--text-muted); flex-shrink: 0; font-size: 13px; }
.igj-sidebar-row-val { color: var(--text); font-weight: 600; text-align: right; font-size: 13px; }

.igj-salary { color: #059669 !important; }

.igj-sidebar-cat-link { color: var(--accent) !important; text-decoration: none; }
.igj-sidebar-cat-link:hover { text-decoration: underline; }

/* ── Навыки в сайдбаре ── */
.igj-sidebar-mini-title {
  font-size: 13px;
  font-weight: 700 !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.igj-mini-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Ссылка "Все вакансии" ── */
.igj-sidebar-back { }
.igj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.igj-back-link:hover { color: var(--text); }

/* ── Job content body ── */
.igj-content { font-size: 16px; line-height: 1.85; color: var(--text); }
.igj-content p  { margin: 0 0 14px; }
.igj-content ul,
.igj-content ol { margin: 0 0 16px; padding-left: 22px; }
.igj-content li { margin-bottom: 8px; }
.igj-content h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 32px 0 12px !important;
  color: var(--text) !important;
  letter-spacing: -0.01em !important;
}
.igj-content h3 { font-size: 16px !important; font-weight: 700 !important; margin: 22px 0 8px !important; }
.igj-content strong { font-weight: 700 !important; }
.igj-content a { color: var(--accent); text-decoration: underline; }

/* ── Навыки внизу main ── */
.igj-tax-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.igj-tax-title { font-size: 15px; font-weight: 700 !important; margin: 0 0 12px; }
.igj-skills { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Мобильная sticky кнопка ── */
.igj-mobile-apply-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 99;
}

}

.igj-home-cat {
  display: block; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}

.igj-home-cat:hover { border-color: #bbb; background: #fafaf8; }
.igj-home-cat-name { display: block; font-size: 15px; font-weight: 700 !important; margin-bottom: 5px; }
.igj-home-cat-count { display: block; color: var(--text-muted); font-size: 13px; }

/* ═══════════════════════════════════════════════════════
   EMPLOYER BOX
   ═══════════════════════════════════════════════════════ */
.igj-employer-box {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  background: var(--text);
  border-radius: var(--r-lg); padding: 26px 30px;
}

.igj-employer-box h2 {
  margin: 0 0 6px !important;
  font-size: 26px !important; font-weight: 800 !important;
  letter-spacing: -0.03em !important; color: #fff !important;
}

.igj-employer-box p {
  max-width: 560px; margin: 0 !important;
  color: rgba(255,255,255,0.65) !important; font-size: 15px; line-height: 1.5;
}

.igj-employer-box .igj-btn-primary { background: #fff; color: var(--text) !important; flex-shrink: 0; }
.igj-employer-box .igj-btn-primary:hover { background: #f0efe9; }

/* ═══════════════════════════════════════════════════════
   EDUCATION — HERO
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   EDUCATION PAGE — /education/
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.igj-edu-hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.igj-edu-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.igj-edu-title {
  font-size: 52px !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.04 !important;
  color: var(--text) !important;
  margin: 0 0 16px !important;
  max-width: 560px;
}

.igj-edu-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 32px;
}

/* Stats row */
.igj-edu-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.igj-edu-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 28px 0 0;
}

.igj-edu-stat:first-child { padding-left: 0; }

.igj-edu-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 28px 0 0;
  flex-shrink: 0;
}

.igj-edu-stat-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.igj-edu-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Filter tabs ── */
.igj-edu-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.igj-edu-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s;
  font-family: inherit;
  line-height: 1;
}

.igj-edu-filter-btn:hover {
  border-color: #aaa;
  color: var(--text);
}

.igj-edu-filter-active,
.igj-edu-filter-active:hover {
  background: var(--text) !important;
  border-color: var(--text) !important;
  color: #fff !important;
}

.igj-edu-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0,0,0,0.08);
}

.igj-edu-filter-active .igj-edu-filter-count {
  background: rgba(255,255,255,0.2);
}

/* ── Featured grid ── */
.igj-edu-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 52px;
  background: var(--border);
  gap: 1px;
}

.igj-edu-card-main {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background 0.12s;
  overflow: hidden;
}

.igj-edu-card-main:hover { background: #f8f8f5; }

.igj-edu-card-main-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.igj-edu-card-main-img--placeholder {
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.igj-edu-card-main-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.igj-edu-card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.igj-edu-card-main h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.igj-edu-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.igj-edu-card-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.igj-edu-card-read-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

/* Side cards */
.igj-edu-side-cards {
  display: flex;
  flex-direction: column;
  background: var(--border);
  gap: 1px;
}

.igj-edu-card-sm {
  background: var(--surface);
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  text-decoration: none;
  transition: background 0.12s;
  overflow: hidden;
}

.igj-edu-card-sm:hover { background: #f8f8f5; }

.igj-edu-card-sm-img {
  width: 76px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.igj-edu-card-sm-img--placeholder {
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.igj-edu-card-sm-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.igj-edu-card-sm h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--text) !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.igj-edu-card-sm-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* ── Section heading ── */
.igj-edu-section {
  margin-bottom: 52px;
}

.igj-edu-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.igj-edu-section-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.igj-edu-section-count {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Articles grid ── */
.igj-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.igj-edu-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.igj-edu-article-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.igj-edu-article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.igj-edu-article-img {
  width: 100%;
  height: 148px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.igj-edu-article-img--placeholder {
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.igj-edu-article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.igj-edu-article-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--text) !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.igj-edu-article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.igj-edu-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.igj-edu-article-date {
  font-size: 11px;
  color: var(--text-light);
}

.igj-edu-read-time {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* ── Education badge (legacy) ── */
.igj-edu-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  text-decoration: none;
  flex-shrink: 0;
}

/* ── CTA block ── */
.igj-edu-cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--text);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 0 0 64px;
}

.igj-edu-cta-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.igj-edu-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.igj-edu-cta-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 4px !important;
  letter-spacing: -0.02em !important;
}

.igj-edu-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

.igj-edu-cta-link {
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ── Category index (legacy) ── */
.igj-edu-cat-header {
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.igj-edu-cat-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 8px !important;
  color: var(--text) !important;
}

.igj-edu-cat-count { font-size: 15px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   ARTICLE — страница статьи
   ═══════════════════════════════════════════════════════ */
.igj-art-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}

.igj-art-hero-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.igj-art-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.igj-art-crumbs a { color: var(--text-muted); }
.igj-art-crumbs a:hover { color: var(--text); }
.igj-art-crumbs span { color: var(--text-light); }

.igj-art-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.igj-art-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
}

.igj-art-readtime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-light);
}

.igj-art-h1 {
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.08 !important;
  color: var(--text) !important;
  margin: 0 0 20px !important;
}

.igj-art-deck {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 0 0 28px;
}

.igj-art-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.igj-art-byline-ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.igj-art-byline-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.igj-art-byline-name { font-size: 14px; font-weight: 700; color: var(--text); }
.igj-art-byline-sep  { color: var(--text-light); font-size: 13px; }
.igj-art-byline-date { font-size: 13px; color: var(--text-muted); }

.igj-art-page { background: var(--bg); padding: 56px 0 80px; }

.igj-art-col { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* ── Типографика тела статьи ── */
.igj-art-body { font-size: 18px; line-height: 1.85; color: var(--text); }
.igj-art-body p { margin: 0 0 28px; }

.igj-art-body h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  margin: 52px 0 14px !important;
  color: var(--text) !important;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.igj-art-body h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 36px 0 12px !important;
  color: var(--text) !important;
}

.igj-art-body ul,
.igj-art-body ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.igj-art-body ul li,
.igj-art-body ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.igj-art-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.igj-art-body ol { counter-reset: art-ol; }
.igj-art-body ol li { counter-increment: art-ol; }
.igj-art-body ol li::before {
  content: counter(art-ol) '.';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

.igj-art-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.igj-art-body a:hover { opacity: 0.75; }
.igj-art-body strong { font-weight: 700; }
.igj-art-body em { font-style: italic; color: var(--text-muted); }

.igj-art-body .igj-article-note,
.igj-article-note {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

/* ── Tags ── */
.igj-art-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.igj-art-tags-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

/* ── Prev/Next nav ── */
.igj-art-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.igj-art-nav-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s;
}
.igj-art-nav-link:hover { border-color: var(--accent); }

.igj-art-nav-dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.igj-art-nav-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.35; }
.igj-art-nav-next { text-align: right; }

/* ── Related articles ── */
.igj-art-related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.igj-art-related-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--text-light) !important;
  margin: 0 0 20px !important;
}

.igj-art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.igj-art-related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.igj-art-related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.igj-art-related-img {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.igj-art-related-img--placeholder {
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.igj-art-related-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.igj-art-related-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.igj-art-related-card h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--text) !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.igj-art-related-time {
  font-size: 11px;
  color: var(--text-light);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Progress bar ── */
.igj-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 9999;
}

.igj-read-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.1s linear;
}

/* ── Hero thumbnail ── */
.igj-art-hero-thumb {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.igj-art-hero-thumb-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.igj-art-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  margin-top: 28px;
}

/* ── Byline updated ── */
.igj-art-byline-updated {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

/* ── Share buttons ── */
.igj-art-share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.igj-art-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.14s, color 0.14s, background 0.14s;
  cursor: pointer;
  font-family: inherit;
}

.igj-art-share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.igj-art-share-copied {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

/* ── Share strip (bottom) ── */
.igj-art-share-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding: 20px 24px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
}

.igj-art-share-strip-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
}

.igj-art-share-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.14s;
}

.igj-art-share-strip-btn:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════
   FAQ — .igj-faq2
   ═══════════════════════════════════════════════════════ */
.igj-faq2 { margin: 56px 0 0; padding-top: 36px; border-top: 1px solid var(--border); }
.igj-faq2-title { font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.12em !important; color: var(--text-light) !important; margin: 0 0 20px !important; }
.igj-faq2-item { border-bottom: 1px solid var(--border); }
.igj-faq2-item:first-of-type { border-top: 1px solid var(--border); }
.igj-faq2-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); font-family: inherit; text-align: left; line-height: 1.4; transition: color 0.15s; }
.igj-faq2-q:hover { color: var(--accent); }
.igj-faq2-icon { flex-shrink: 0; color: var(--text-light); transition: transform 0.22s ease, color 0.15s; }
.igj-faq2-item.is-open .igj-faq2-q { color: var(--accent); }
.igj-faq2-item.is-open .igj-faq2-icon { transform: rotate(180deg); color: var(--accent); }
.igj-faq2-a { overflow: hidden; }
.igj-faq2-a-inner { padding: 2px 0 20px; font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.igj-faq2-a-inner p { margin: 0 0 10px; }
.igj-faq2-a-inner p:last-child { margin: 0; }

/* ═══════════════════════════════════════════════════════
   TOC INLINE — .igj-toc-inline
   ═══════════════════════════════════════════════════════ */
.igj-toc-inline { margin: 40px 0; background: #f8fffe; border: 1px solid #c4ede8; border-radius: 12px; overflow: hidden; }
.igj-toc-inline-header { display: flex; align-items: center; gap: 8px; padding: 14px 20px 12px; border-bottom: 1px solid #c4ede8; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); background: var(--accent-bg); }
.igj-toc-inline-list { list-style: none; margin: 0; padding: 8px 0; }
.igj-toc-inline-item { display: block; padding: 0 20px; }
.igj-toc-inline-link { display: block; width: 100%; padding: 10px 0; font-size: 14px; line-height: 1.4; color: var(--text); text-decoration: none; border-bottom: 1px solid #edf9f8; transition: color 0.15s; }
.igj-toc-inline-item:last-child .igj-toc-inline-link { border-bottom: none; }
.igj-toc-inline-link:hover { color: var(--accent); }
.igj-toc-l3 .igj-toc-inline-link { font-size: 13px; color: var(--text-muted); padding-left: 16px; }
.igj-toc-more-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 11px 20px; background: none; border: none; border-top: 1px solid #c4ede8; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); font-family: inherit; transition: background 0.15s; }
.igj-toc-more-btn:hover { background: var(--accent-bg); }
.igj-toc-more-arrow { transition: transform 0.2s; flex-shrink: 0; }

/* Сброс стилей .igj-art-body ol/li внутри TOC */
.igj-art-body .igj-toc-inline,
.igj-art-body .igj-toc-inline ol {
  margin-bottom: 0;
  padding-left: 0;
  counter-reset: none;
}
.igj-art-body .igj-toc-inline li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  position: static !important;
  counter-increment: none !important;
  line-height: inherit;
}
.igj-art-body .igj-toc-inline li::before { content: none !important; display: none !important; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .igj-home-info-strip { flex-direction: column; }
  .igj-home-info-item { border-right: none; border-bottom: 1px solid var(--border); }
  .igj-home-info-item:last-child { border-bottom: none; }
  .igj-home-cats { grid-template-columns: repeat(3, 1fr); }
  .igj-hero-title { font-size: 46px !important; }
  .igj-edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igj-art-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .igj-single { grid-template-columns: 1fr; }
  .igj-sidebar { order: -1; position: static; }
  .igj-mobile-apply-bar { display: block; }
  .igj-sidebar .igj-apply-list { display: none; }
  .igj-job-hero { flex-direction: column; gap: 16px; }
  .igj-apply-btn-hero { display: none; }
  .igj-filter-grid { grid-template-columns: 1fr 1fr; }
  .igj-home-section-head h2 { font-size: 30px !important; }
  .igj-hero-title { font-size: 40px !important; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .container.igj-header-inner { padding: 0 14px !important; min-height: 52px; gap: 8px; }
  .igj-menu { display: none; }
  .igj-nav { gap: 0; }
  .igj-header-cta {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
  }
  .igj-header-cta-text { display: none; }
  .igj-brand-text { font-size: 15px !important; }
  .igj-brand-mark { width: 30px; height: 30px; font-size: 12px; }

  /* Container */
  .igj-container { padding: 14px 14px 72px; }

  /* Hero */
  .igj-hero-title { font-size: 28px !important; letter-spacing: -0.02em !important; }
  .igj-hero-text { font-size: 14px; margin-bottom: 14px; line-height: 1.55; }
  .igj-hero-actions { flex-wrap: nowrap; gap: 8px; margin: 0; }
  .igj-hero-actions .igj-btn { flex: 1 1 0; min-width: 0; }
  .igj-btn { min-height: 42px !important; padding: 0 14px !important; font-size: 14px !important; }
  .igj-hero-centered { padding: 36px 0 24px; }
  .igj-hero-centered .igj-hero-title { font-size: 28px !important; }
  .igj-hero-centered .igj-hero-text { font-size: 15px; }

  /* Search */
  .igj-home-search-form { margin: 12px 0 10px; }
  .igj-home-search-wrap input { height: 48px; font-size: 15px !important; padding-right: 88px; }
  .igj-search-submit { height: 36px; padding: 0 14px; font-size: 13px !important; }

  /* Stats pill */
  .igj-home-statsbar { padding: 5px 12px; flex-wrap: wrap; row-gap: 4px; margin: 0 0 14px; }
  .igj-home-statsbar-count { font-size: 14px !important; }
  .igj-home-statsbar-label { font-size: 13px; }

  /* Statsbar dark */
  .igj-statsbar-dark .igj-statsbar-inner { gap: 16px; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }

  /* Section head */
  .igj-home-section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 12px; }
  .igj-home-section-head h2 { font-size: 22px !important; }

  /* Job list */
  .igj-list-item { grid-template-columns: 36px 1fr auto; padding: 12px 14px; gap: 0 10px; }
  .igj-avatar { width: 36px; height: 36px; font-size: 10px; }
  .igj-list-title { font-size: 14px !important; }
  .igj-list-company { font-size: 12px; }
  .igj-list-date { font-size: 11px; }
  .igj-list-title-row { margin-bottom: 2px; }
  .igj-list-meta-row { gap: 4px; margin-bottom: 6px; }
  .igj-list-salary-inline { font-size: 12px; }
  .igj-tag, .igj-term-chip, .igj-skill { font-size: 11px; padding: 2px 8px; }

  /* Filters */
  .igj-filters { padding: 14px; }
  .igj-filter-grid { grid-template-columns: 1fr; gap: 10px; }
  .igj-filter-check { padding-bottom: 0; }
  .igj-filter-actions { flex-direction: row; }
  .igj-filter-actions button, .igj-filter-actions a { flex: 1; }

  /* Single job */
  .igj-single { grid-template-columns: 1fr; }
  .igj-sidebar { order: -1; position: static; }
  .igj-mobile-apply-bar { display: block; }
  .igj-sidebar .igj-apply-list { display: none; }
  .igj-apply-btn-hero { display: none; }
  .igj-job-hero { flex-direction: column; gap: 14px; padding: 18px; }
  .igj-job-hero-left { gap: 14px; }
  .igj-avatar-lg { width: 52px; height: 52px; font-size: 13px; border-radius: 12px; }
  .igj-title { font-size: 22px !important; letter-spacing: -0.02em !important; }
  .igj-main { padding: 20px; }
  .igj-info-item { flex: 1 1 120px; padding: 10px 14px; }

  /* Employer box */
  .igj-employer-box { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
  .igj-employer-box h2 { font-size: 20px !important; }

  /* Categories */
  .igj-home-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .igj-home-cat { padding: 14px; }
  .igj-home-cat-name { font-size: 14px !important; }

  /* Breadcrumbs */
  .igj-breadcrumbs { font-size: 12px; margin: 0 0 14px; }

  /* Footer */
  .container.igj-footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .igj-footer-inner-top { grid-template-columns: 1fr; gap: 24px; }
  .igj-footer-cols { gap: 32px; }

  /* Empty state */
  .igj-empty-state { padding: 32px 16px; }
  .igj-empty-state p { font-size: 14px; }

  /* Education */
  .igj-edu-title { font-size: 36px !important; }
  .igj-edu-featured { grid-template-columns: 1fr; }
  .igj-edu-card-main-img { height: 180px; }
  .igj-edu-card-main-body { padding: 22px; }
  .igj-edu-card-sm-img { width: 64px; }
  .igj-edu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igj-edu-stat-val { font-size: 24px; }
  .igj-edu-cta-block { flex-direction: column; align-items: flex-start; gap: 20px; }
  .igj-edu-cta-link { width: 100%; text-align: center; justify-content: center; }

  /* Article */
  .igj-art-hero { padding: 32px 0 28px; }
  .igj-art-h1 { font-size: 30px !important; }
  .igj-art-deck { font-size: 16px; }
  .igj-art-body { font-size: 16px; line-height: 1.75; }
  .igj-art-body h2 { font-size: 22px !important; margin: 40px 0 12px !important; }
  .igj-art-body h3 { font-size: 18px !important; }
  .igj-art-page { padding: 32px 0 56px; }
  .igj-art-prevnext { grid-template-columns: 1fr; }
  .igj-art-nav-next { text-align: left; }
  .igj-art-related-grid { grid-template-columns: 1fr; }
  .igj-toc-inline { margin: 24px 0; }
  .igj-faq2-q { font-size: 14px; padding: 14px 0; }
  .igj-faq2-a-inner { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .igj-container { padding: 12px 12px 72px; }
  .igj-hero-title { font-size: 24px !important; }
  .igj-hero-centered .igj-hero-title { font-size: 24px !important; }
  .igj-hero-actions { gap: 6px; }
  .igj-btn { min-height: 40px !important; font-size: 13px !important; padding: 0 12px !important; }
  .igj-home-cats { grid-template-columns: 1fr; }
  .igj-info { grid-template-columns: 1fr; }
  .igj-list-item { padding: 11px 12px; }
  .igj-term-chip, .igj-skill { font-size: 12px; padding: 2px 8px; }
  .igj-badge { font-size: 10px; padding: 2px 7px; }
  .igj-home-cat-pill { min-height: 32px; padding: 0 12px; font-size: 13px; }
  .igj-page-title { font-size: 20px !important; }
  .igj-title { font-size: 20px !important; }
  .igj-main, .igj-sidebar { padding: 14px; }
  .igj-apply-btn { padding: 11px 14px; font-size: 14px; }
  .igj-stats-hide-xs { display: none; }
  .igj-search-submit-text { display: none; }
  .igj-search-submit-icon { display: block; }
  .igj-search-submit { width: 40px; padding: 0 !important; }
  .igj-footer-top { padding: 28px 0 0; }
  .igj-footer-inner-top { padding: 0 14px 20px; }
  .igj-footer-cols { flex-direction: column; gap: 20px; }
  .igj-edu-title { font-size: 28px !important; }
  .igj-edu-grid { grid-template-columns: 1fr; }
  .igj-edu-article-img { height: 120px; }
  .igj-edu-stats { flex-wrap: wrap; gap: 16px 0; }
  .igj-edu-stat-divider { display: none; }
  .igj-edu-stat { padding-right: 20px; }
  .igj-art-h1 { font-size: 24px !important; }
  .igj-art-body { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════
   JOB LIST ITEM — archive-job responsive overrides
   ═══════════════════════════════════════════════════════ */

/* Aside: дата выровнена по правому краю */
.igj-list-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .igj-list-item { grid-template-columns: 36px 1fr auto; padding: 12px 14px; gap: 0 10px; }
  .igj-list-title { font-size: 14px !important; }
  .igj-list-company { font-size: 12px; }
  .igj-tag { font-size: 12px; height: 24px; padding: 0 8px; }
  .igj-list-date { font-size: 11px; }
  .igj-badge { font-size: 10px; padding: 2px 7px; }
  .igj-avatar { width: 36px; height: 36px; font-size: 10px; }
}

@media (max-width: 480px) {
  .igj-list-item { padding: 11px 12px; }
  .igj-list-aside { display: none; }
  .igj-tag { font-size: 11px; height: 22px; padding: 0 7px; }
}

/* ── Мобайл: навыки и "все вакансии" внизу контента ── */
.igj-back-mobile { display: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.igj-back-desktop { display: block; }
.igj-apply-note { display: none; }

@media (max-width: 900px) {
  .igj-sidebar { display: none; }
  .igj-back-mobile { display: block; }
  .igj-back-desktop { display: none; }
}
/* ═══════════════════════════════════════════════════════
   РАБОТОДАТЕЛИ — добавьте в конец style.css
   ═══════════════════════════════════════════════════════ */

/* ── Сетка карточек (featured — 3 колонки) ── */
.igj-emp-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.igj-emp-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.igj-emp-grid--regular {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ── Карточка (featured) ── */
.igj-emp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.igj-emp-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}

.igj-emp-card-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  height: 100%;
}

.igj-emp-card-logo {
  padding: 20px 20px 0;
}

.igj-emp-card-logo img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  object-fit: contain;
  border: 1px solid var(--border);
}

/* ── Avatar (буквы-заглушка) ── */
.igj-emp-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.igj-emp-avatar--sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Тело карточки ── */
.igj-emp-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.igj-emp-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.igj-emp-card-name {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.igj-emp-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.igj-emp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.igj-emp-badge--type {
  background: #f0efe9;
  color: var(--text-muted);
  border-color: var(--border);
}

.igj-emp-card-desc {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Популярные роли ── */
.igj-emp-card-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.igj-emp-role-tag {
  display: inline-block;
  padding: 3px 9px;
  background: #f0efe9;
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Футер карточки ── */
.igj-emp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.igj-emp-card-size {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.igj-emp-card-read-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* ── Маленькая карточка (regular grid) ── */
.igj-emp-card--sm .igj-emp-card-link {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.igj-emp-card-sm-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.igj-emp-card-sm-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.igj-emp-card-sm-meta {
  font-size: 11px;
  color: var(--text-light);
}

/* ── Hero ── */
.igj-emp-hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

/* ── Адаптив ── */
@media (max-width: 1024px) {
  .igj-emp-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igj-emp-grid--regular  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .igj-emp-grid--featured { grid-template-columns: 1fr; }
  .igj-emp-grid--regular  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .igj-emp-grid--regular  { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   ПРОФИЛЬ РАБОТОДАТЕЛЯ — single-employer.php
   ═══════════════════════════════════════════════════════ */

/* ── Шапка профиля ── */
.igj-emp-profile-hero {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.igj-emp-profile-logo img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-lg);
  object-fit: contain;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.igj-emp-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.igj-emp-profile-info {
  flex: 1;
  min-width: 0;
}

.igj-emp-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.igj-emp-profile-name {
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--text) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.igj-emp-profile-featured {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.igj-emp-profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ── Двухколоночный лэйаут ── */
.igj-emp-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── Левая колонка: секции ── */
.igj-emp-profile-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.igj-emp-profile-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.igj-emp-profile-section-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  margin: 0 0 16px !important;
}

.igj-emp-profile-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.igj-emp-profile-desc p { margin: 0 0 16px; }
.igj-emp-profile-desc p:last-child { margin: 0; }

/* ── Роли (большие теги) ── */
.igj-emp-role-tag--lg {
  font-size: 13px !important;
  padding: 6px 14px !important;
}

/* ── Сайдбар-карточка ── */
.igj-emp-profile-aside {
  position: sticky;
  top: 24px;
}

.igj-emp-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

.igj-emp-profile-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.igj-emp-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.igj-emp-profile-row:last-of-type { border-bottom: none; }

.igj-emp-profile-row-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.igj-emp-profile-row-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.igj-emp-profile-link {
  color: var(--accent) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.igj-emp-profile-link:hover { opacity: 0.75; }

.igj-emp-profile-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-light);
  font-style: italic;
}

/* ── Адаптив ── */
@media (max-width: 900px) {
  .igj-emp-profile-layout {
    grid-template-columns: 1fr;
  }
  .igj-emp-profile-aside { position: static; }
  .igj-emp-profile-name { font-size: 26px !important; }
}

@media (max-width: 600px) {
  .igj-emp-profile-hero { flex-direction: column; gap: 16px; }
  .igj-emp-profile-name { font-size: 22px !important; }
  .igj-emp-profile-avatar { width: 60px; height: 60px; font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════
   ГЛАВНАЯ — Топ работодатели (рейтинговый список)
   ═══════════════════════════════════════════════════════ */

.igj-home-top-emp {
  margin-bottom: 0;
}

.igj-home-top-emp-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 6px 0 20px;
}

/* Список строк */
.igj-home-top-emp-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}

/* Одна строка рейтинга */
.igj-home-emp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  text-decoration: none;
  transition: background 0.12s;
  position: relative;
}

.igj-home-emp-row:hover {
  background: #f8f8f5;
}

/* Номер */
.igj-home-emp-rank {
  font-size: 18px;
  font-weight: 800;
  color: var(--border);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Топ-1 особый цвет */
.igj-home-emp-row:first-child .igj-home-emp-rank {
  color: #c7971a;
}
.igj-home-emp-row:nth-child(2) .igj-home-emp-rank {
  color: #8a9aaa;
}
.igj-home-emp-row:nth-child(3) .igj-home-emp-rank {
  color: #b07040;
}

/* Аватар */
.igj-home-emp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Имя + мета */
.igj-home-emp-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.igj-home-emp-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.igj-home-emp-meta {
  font-size: 12px;
  color: var(--text-light);
}

/* Роли (теги) */
.igj-home-emp-roles {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .igj-home-emp-roles { display: none; }
}

/* Стрелка */
.igj-home-emp-arrow {
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}

.igj-home-emp-row:hover .igj-home-emp-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .igj-home-emp-row { gap: 10px; padding: 14px 16px; }
  .igj-home-emp-rank { width: 20px; font-size: 15px; }
  .igj-home-emp-avatar { width: 34px; height: 34px; font-size: 12px; }
  .igj-home-emp-name { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   ГЛАВНАЯ — Направления iGaming
   ═══════════════════════════════════════════════════════ */
.igj-home-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 0;
}

.igj-home-dir-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.igj-home-dir-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.igj-home-dir-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.igj-home-dir-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.igj-home-dir-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.igj-home-dir-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.igj-home-dir-link {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.igj-home-dir-link:hover {
  background: #d4f4f0;
  border-color: #0d9488;
}

.igj-home-dir-link--muted {
  background: #f0efe9;
  border-color: var(--border);
  color: var(--text-muted);
}

.igj-home-dir-link--muted:hover {
  background: #e8e6df;
  border-color: #aaa;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════
   ГЛАВНАЯ — Таблица зарплат
   ═══════════════════════════════════════════════════════ */
.igj-home-salary-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.igj-home-salary-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 10px 20px;
  background: #f8f7f4;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.igj-home-salary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
  align-items: center;
}

.igj-home-salary-row:last-child { border-bottom: none; }
.igj-home-salary-row:hover { background: #fafaf7; }

.igj-home-salary-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.igj-home-salary-range {
  font-size: 14px;
  font-weight: 700;
  color: #059669;
  font-variant-numeric: tabular-nums;
}

.igj-home-salary-format {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   ГЛАВНАЯ — Как попасть в iGaming
   ═══════════════════════════════════════════════════════ */
.igj-home-entry-block {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 32px;
  background: var(--text);
  border-radius: var(--r-lg);
  align-items: start;
}

.igj-home-entry-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
}

.igj-home-entry-text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 16px;
}

.igj-home-entry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.igj-home-entry-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.igj-home-entry-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.igj-home-entry-block .igj-btn-secondary {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
}

.igj-home-entry-block .igj-btn-secondary:hover {
  background: rgba(255,255,255,0.2) !important;
}

.igj-home-entry-skills {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 20px;
}

.igj-home-entry-skills-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.igj-home-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.igj-home-entry-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* ── Адаптив новых блоков ── */
@media (max-width: 1024px) {
  .igj-home-directions-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .igj-home-entry-block { grid-template-columns: 1fr; }
  .igj-home-entry-skills { display: none; }
}

@media (max-width: 768px) {
  .igj-home-directions-grid { grid-template-columns: 1fr; }
  .igj-home-salary-head,
  .igj-home-salary-row { grid-template-columns: 1fr 1fr; }
  .igj-home-salary-format { display: none; }
  .igj-home-entry-block { padding: 22px 18px; }
  .igj-home-entry-title { font-size: 18px !important; }
}

/* ═══════════════════════════════════════════════════════
   ACCESSIBILITY & UX ДОБАВЛЕНИЯ (v2.1)
   - Skip-link для клавиатурной навигации
   - Focus-visible стили
   - Reduced-motion
   - Чипсы активных фильтров
   - Отступ под мобильный sticky apply-bar
   ═══════════════════════════════════════════════════════ */

/* Skip link — скрыт, пока не получил фокус */
.igj-skiplink {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--text);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  z-index: 999;
  text-decoration: none;
  transition: top 0.2s;
}
.igj-skiplink:focus,
.igj-skiplink:focus-visible {
  top: 8px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Focus-visible — видимая рамка для tab-навигации */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.igj-list-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

/* Reduced motion — выключаем анимации для пользователей с prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Отступ под мобильный sticky apply-bar — иначе последний абзац перекрыт */
@media (max-width: 768px) {
  .igj-job-page {
    padding-bottom: 88px;
  }
}

/* ═══════════════════════════════════════════════════════
   FILTER CHIPS — активные фильтры на archive-job
   ═══════════════════════════════════════════════════════ */
.igj-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0 24px;
  padding: 12px 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
}

.igj-active-filters-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-right: 4px;
}

.igj-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 12px;
  background: #fff;
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.igj-active-filter-chip:hover {
  background: var(--bg);
  border-color: var(--accent);
}

.igj-active-filter-chip .igj-chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.igj-active-filter-chip:hover .igj-chip-x {
  background: var(--text);
}

.igj-active-filter-clear {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.igj-active-filter-clear:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .igj-active-filters {
    padding: 10px 12px;
  }
  .igj-active-filter-clear {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }
}

/* ═══════════════════════════════════════════════════════
   ARCHIVED JOB STATES (v2.2)
   ═══════════════════════════════════════════════════════ */

/* Баннер "Вакансия в архиве" на single-job */
.igj-archive-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  margin: 0 0 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: var(--r-md);
  color: #7f1d1d;
}

.igj-archive-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #dc2626;
}

.igj-archive-banner-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #991b1b;
}

.igj-archive-banner-text span {
  font-size: 14px;
  line-height: 1.5;
}

.igj-archive-banner-text a {
  color: #991b1b;
  text-decoration: underline;
  font-weight: 600;
}

/* Архивная вакансия — визуально приглушена */
.igj-job-archived .igj-job-hero,
.igj-job-archived .igj-avatar,
.igj-job-archived .igj-content,
.igj-job-archived .igj-tax-block {
  opacity: 0.78;
}

.igj-job-archived .igj-title {
  color: var(--text-muted);
}

.igj-job-archived .igj-job-hero-meta .igj-hero-tag,
.igj-job-archived .igj-job-hero-meta .igj-hero-tag-date {
  filter: grayscale(0.5);
}

/* Сайдбар "Отклик недоступен" вместо кнопки */
.igj-sidebar-archived-card {
  padding: 20px !important;
  background: #fafaf7 !important;
  border: 1px dashed var(--border) !important;
}

.igj-sidebar-archived-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.igj-sidebar-archived-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

/* Карточка архивной вакансии в списке */
.igj-list-item--archived {
  opacity: 0.62;
  filter: grayscale(0.4);
  transition: opacity 0.15s, filter 0.15s;
}

.igj-list-item--archived:hover {
  opacity: 0.85;
  filter: grayscale(0.2);
}

.igj-list-item--archived .igj-list-title {
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.3);
  text-decoration-thickness: 1px;
}

/* Бейдж "Архив" */
.igj-badge-archived {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}


/* ═══════════════════════════════════════════════════════
   STRUCTURED JOB CONTENT (H2/H3/UL) (v2.2)
   Выход парсера igj_structure_job_content().
   ═══════════════════════════════════════════════════════ */

/* Лид-абзац перед первым H2 */
.igj-job-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.igj-job-intro p {
  margin: 0 0 12px;
}

.igj-job-intro p:last-child {
  margin-bottom: 0;
}

/* H2 для секций вакансии */
.igj-content .igj-job-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.igj-content .igj-job-h2:first-child {
  margin-top: 8px;
}

/* Списки внутри секций */
.igj-content .igj-job-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.igj-content .igj-job-ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
}

.igj-content .igj-job-ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.igj-content .igj-job-ul li + li {
  border-top: 1px solid transparent;
}

/* Параграфы внутри структурированного контента */
.igj-content > p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--text);
}

/* Мобильная адаптация */
@media (max-width: 640px) {
  .igj-content .igj-job-h2 {
    font-size: 19px;
    margin: 28px 0 14px;
  }
  .igj-job-intro {
    font-size: 15.5px;
    padding: 14px 16px;
  }
  .igj-archive-banner {
    padding: 14px 16px;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════════════
   TERM CPT PAGES (single-job_cat.php / single-job_skill_cpt.php)
   Редактируемые страницы категорий и навыков.
   ═══════════════════════════════════════════════════════ */

.igj-term-hero-image {
  margin: 16px 0 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.igj-term-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Редактируемый контент под заголовком — читаемая колонка */
.igj-term-content {
  max-width: 760px;
  margin: 8px 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.igj-term-content > :first-child { margin-top: 0; }
.igj-term-content > :last-child  { margin-bottom: 0; }

.igj-term-content h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.igj-term-content h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.igj-term-content p { margin: 0 0 14px; }
.igj-term-content ul,
.igj-term-content ol { margin: 0 0 14px 20px; padding: 0; }
.igj-term-content li { margin: 0 0 6px; }
.igj-term-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Заголовок секции списка вакансий на CPT-странице */
.igj-term-jobs-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.igj-term-jobs-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .igj-term-content { font-size: 15px; }
  .igj-term-content h2 { font-size: 18px; }
  .igj-term-jobs-heading { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════
   АРХИВНАЯ ВАКАНСИЯ — УСИЛЕННОЕ ВИЗУАЛЬНОЕ ОТЛИЧИЕ
   Поверх существующих правил из блока "Архивная вакансия".
   Водяной знак на hero + серая палитра аватара.
   ═══════════════════════════════════════════════════════ */

/* Водяной знак АРХИВ поверх hero-блока */
.igj-job-archived .igj-job-hero {
  position: relative;
  overflow: hidden;
}
.igj-job-archived .igj-job-hero::after {
  content: 'АРХИВ';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(185, 28, 28, 0.09);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  font-family: inherit;
  z-index: 0;
}
.igj-job-archived .igj-job-hero-left { position: relative; z-index: 1; }

/* Полоса по краю страницы — постоянный визуальный маркер */
.igj-job-archived {
  position: relative;
}
.igj-job-archived::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #f59e0b 100%);
  z-index: 2;
}

/* Заголовок архивной — более явно серый */
.igj-job-archived .igj-title {
  color: #6b7280;
}

/* Аватар архивной — серый */
.igj-job-archived .igj-avatar {
  filter: grayscale(1) opacity(0.7);
}

@media (max-width: 640px) {
  .igj-job-archived .igj-job-hero::after {
    right: 12px;
    font-size: clamp(32px, 13vw, 52px);
  }
}

/* ═══════════════════════════════════════════════════════
   ДЕФОЛТНЫЙ КОНТЕНТ ТЕРМИН-СТРАНИЦЫ
   Автогенерированный блок: лид, карточки фактов, топ-компаний,
   география, связанные термины.
   ═══════════════════════════════════════════════════════ */

.igj-term-default {
  margin: 0 0 24px;
}

.igj-term-default-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm);
}
.igj-term-default-lead p { margin: 0; }
.igj-term-default-lead strong { color: var(--accent); font-weight: 700; }

/* Карточки фактов: 3 колонки на десктопе, столбцом на мобиле */
.igj-term-default-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.igj-term-fact {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
}
.igj-term-fact-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.igj-term-fact-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Список топ-компаний: компактные чипы */
.igj-term-default-companies {
  list-style: none !important;
  margin: 8px 0 20px !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.igj-term-default-companies li {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* Связанные термины — тот же стиль что и обычные чипы */
.igj-term-default-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}

/* Общее оформление дефолтного контента — переопределяет типографику */
.igj-term-content .igj-term-default h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.igj-term-content .igj-term-default p {
  margin: 0 0 12px;
}
.igj-term-content .igj-term-default ul:not(.igj-term-default-companies) {
  margin: 0 0 16px 20px;
}

@media (max-width: 640px) {
  .igj-term-default-lead { font-size: 15px; padding: 12px 14px; }
  .igj-term-fact-value { font-size: 22px; }
  .igj-term-fact { padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════════════
   PAGE-POST-A-JOB — лендинг размещения вакансий
   ═══════════════════════════════════════════════════════ */

.igj-paj {
  max-width: 1100px;
}

.igj-paj-section {
  margin: 56px 0;
}

.igj-paj-section-head {
  text-align: center;
  margin: 0 0 28px;
}
.igj-paj-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.igj-paj-section-head p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ── HERO ── */
.igj-paj-hero {
  padding: 48px 0 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.igj-paj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.igj-paj-eyebrow a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.igj-paj-eyebrow a:hover { text-decoration: underline; }

.igj-paj-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--text);
}
.igj-paj-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}
.igj-paj-hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ТАРИФЫ ── */
.igj-paj-tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.igj-paj-tariff {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.igj-paj-tariff:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Выделенный тариф (POPULAR) */
.igj-paj-tariff--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.12);
}
.igj-paj-tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.igj-paj-tariff-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.igj-paj-tariff-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.igj-paj-tariff-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.igj-paj-price-rub {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.igj-paj-price-usd {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.igj-paj-tariff-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.igj-paj-tariff-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex-grow: 1;
}
.igj-paj-tariff-features li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.igj-paj-tariff-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.igj-paj-tariff-example {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.igj-paj-tariff-example:hover { text-decoration: underline; }

/* Подсказка после тарифов */
.igj-paj-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fffbea;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.5;
  color: #78350f;
}
.igj-paj-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d97706;
}
.igj-paj-note strong { font-weight: 700; }
.igj-paj-note a { color: #92400e; font-weight: 600; text-decoration: underline; }

/* ── СПОСОБЫ ОПЛАТЫ ── */
.igj-paj-pay {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.igj-paj-pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
}
.igj-paj-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: 50%;
  margin-bottom: 12px;
}
.igj-paj-pay-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.igj-paj-pay-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── ОТЗЫВЫ ── */
.igj-paj-reviews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.igj-paj-reviews-text h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
}
.igj-paj-reviews-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 540px;
  line-height: 1.5;
}

/* ── СРАВНЕНИЕ БЕСПЛАТНОЕ vs ПЛАТНОЕ ── */
.igj-paj-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.igj-paj-compare-col {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.igj-paj-compare-col--paid {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-bg) 0%, var(--surface) 50%);
}
.igj-paj-compare-col h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--text);
}
.igj-paj-compare-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
  background: #f3f4f6;
  color: #6b7280;
}
.igj-paj-compare-badge--paid {
  background: var(--accent);
  color: #fff;
}

.igj-paj-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.igj-paj-compare-item {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.igj-paj-compare-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}
.igj-paj-compare-item--good::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.igj-paj-compare-item--bad::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  color: #6b7280;
}
.igj-paj-compare-item--neutral::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.igj-paj-compare-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.igj-paj-compare-link:hover { text-decoration: underline; }

/* Редакционные подборки */
.igj-paj-editorial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 26px;
}
.igj-paj-editorial h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.igj-paj-editorial ul {
  margin: 0 0 14px 20px;
  padding: 0;
}
.igj-paj-editorial li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.igj-paj-editorial-cta {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.igj-paj-editorial-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.igj-paj-editorial-cta a:hover { text-decoration: underline; }

/* ── СТАТИСТИКА ── */
.igj-paj-stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.igj-paj-stats-text { flex: 1; min-width: 300px; }
.igj-paj-stats-text h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}
.igj-paj-stats-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}
.igj-paj-stats-text p:last-child { margin-bottom: 0; }
.igj-paj-stats-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.igj-paj-stats-text a:hover { text-decoration: underline; }
.igj-paj-stats-note strong { color: var(--text); font-weight: 700; }

.igj-paj-stats-btn { flex-shrink: 0; align-self: center; }

/* ── ФИНАЛЬНЫЙ CTA ── */
.igj-paj-cta {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(180deg, var(--accent-bg) 0%, var(--surface) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  margin: 56px 0 24px;
}
.igj-paj-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.igj-paj-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.igj-paj-cta-btn {
  font-size: 16px;
  padding: 14px 28px;
}

/* ── Адаптив для тарифов ── */
@media (max-width: 900px) {
  .igj-paj-tariffs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .igj-paj-compare {
    grid-template-columns: 1fr;
  }
  .igj-paj-section { margin: 40px 0; }
}

@media (max-width: 640px) {
  .igj-paj-hero { padding: 28px 0 16px; }
  .igj-paj-section-head h2 { font-size: 22px; }
  .igj-paj-reviews,
  .igj-paj-stats {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
  }
  .igj-paj-stats-btn { align-self: flex-start; }
  .igj-paj-pay { grid-template-columns: 1fr; }
  .igj-paj-cta { padding: 32px 20px; }
  .igj-paj-cta h2 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════
   COOKIE BANNER (низ экрана) + MODAL (настройки)
   ═══════════════════════════════════════════════════════ */

.igj-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #1a1a18;
  color: #fafaf7;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 780px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  animation: igj-slide-up 0.3s ease-out;
}
/* Атрибут [hidden] должен перебивать display: flex выше */
.igj-cookie-banner[hidden] { display: none !important; }
@keyframes igj-slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.igj-cookie-banner-text {
  flex: 1;
  min-width: 240px;
}
.igj-cookie-banner-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.igj-cookie-banner-text span {
  color: rgba(250, 250, 247, 0.75);
}
.igj-cookie-banner-text a {
  color: var(--accent-border);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.igj-cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.igj-cookie-btn {
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.igj-cookie-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.igj-cookie-btn-primary:hover { background: #0f766e; border-color: #0f766e; }
.igj-cookie-btn-secondary {
  background: transparent;
  color: #fafaf7;
  border-color: rgba(250, 250, 247, 0.25);
}
.igj-cookie-btn-secondary:hover {
  background: rgba(250, 250, 247, 0.1);
  border-color: rgba(250, 250, 247, 0.4);
}

/* Мобилка */
@media (max-width: 640px) {
  .igj-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 14px 16px;
  }
  .igj-cookie-banner-actions { justify-content: stretch; }
  .igj-cookie-btn { flex: 1 1 auto; padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES (privacy / terms / cookies / consent)
   Читаемая колонка с типографикой для длинных текстов
   ═══════════════════════════════════════════════════════ */

.igj-legal-page {
  max-width: 820px;
}

.igj-legal-meta {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: -8px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.igj-legal-intro {
  font-size: 16px;
  line-height: 1.6;
  padding: 14px 18px;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--text);
  margin: 0 0 28px;
}

.igj-legal-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.igj-legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.igj-legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
}
.igj-legal-content p {
  margin: 0 0 14px;
}
.igj-legal-content ul,
.igj-legal-content ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
.igj-legal-content ul ul,
.igj-legal-content ol ol { margin-top: 6px; }
.igj-legal-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.igj-legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.igj-legal-content a:hover { text-decoration-thickness: 2px; }
.igj-legal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}
.igj-legal-content strong { font-weight: 700; }

/* Таблица cookie */
.igj-cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.igj-cookies-table th,
.igj-cookies-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.igj-cookies-table tr:last-child td { border-bottom: none; }
.igj-cookies-table thead {
  background: var(--bg);
}
.igj-cookies-table thead th {
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.igj-cookies-table code {
  display: inline-block;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   CONSENT CHECKBOX (под формами)
   ═══════════════════════════════════════════════════════ */
.igj-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.igj-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.igj-consent-label span { flex: 1; }
.igj-consent-label a {
  color: var(--accent);
  text-decoration: underline;
}

/* Адаптив legal-страниц */
@media (max-width: 640px) {
  .igj-legal-content { font-size: 14px; }
  .igj-legal-content h2 { font-size: 18px; }
  .igj-legal-content h3 { font-size: 16px; }
  .igj-cookies-table { font-size: 12px; }
  .igj-cookies-table th, .igj-cookies-table td { padding: 8px 10px; }
}
