/* ═══════════════════════════════════════════════════════════════
   Engagement Pages — shared styles for:
     /salaries, /remote-jobs-in, /interview-questions,
     /resume-examples, /cover-letter-examples
   ═══════════════════════════════════════════════════════════════ */

/* ── Job card grid (reused from jobs-v2.css for remote landing) ─ */
.v2-theme .jb-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .v2-theme .jb-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1440px) {
  .v2-theme .jb-list { grid-template-columns: 1fr 1fr 1fr; }
}

.v2-theme .jb-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.1rem 1.15rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.v2-theme .jb-card:hover {
  border-color: var(--rw-accent);
  box-shadow: var(--rw-shadow-sm);
  transform: translateY(-1px);
}
.v2-theme .jb-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem;
}
.v2-theme .jb-card-logo {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--rw-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--rw-accent);
  font-size: .7rem;
  font-weight: 700;
}
.v2-theme .jb-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.v2-theme .jb-card-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: var(--rw-text);
  letter-spacing: -.005em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v2-theme .jb-card-company {
  display: inline-block;
  font-size: .825rem;
  font-weight: 500;
  color: var(--rw-accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--rw-accent);
  align-self: flex-start;
  margin-top: -.15rem;
}
.v2-theme .jb-card-company:hover { border-bottom-style: solid; }
.v2-theme .jb-card-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.v2-theme .jb-card-tag {
  font-size: .7rem;
  padding: .18rem .55rem;
  border-radius: 9999px;
  background-color: var(--rw-surface);
  color: var(--rw-muted);
  font-weight: 600;
}
.v2-theme .jb-card-tag--contract { background-color: var(--rw-accent-light); color: var(--rw-accent); }
.v2-theme .jb-card-tag--featured { background-color: var(--rw-amber-light); color: var(--rw-amber); }
.v2-theme .jb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .15rem;
}
.v2-theme .jb-card-pay {
  font-size: .8rem;
  font-weight: 600;
  color: var(--rw-accent);
}
.v2-theme .jb-card-date {
  font-size: .75rem;
  color: var(--rw-muted);
  white-space: nowrap;
}

/* ── Shared hero ─────────────────────────────────────────────── */
.sal-hero, .rl-hero, .iq-hero, .ex-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rw-border);
  background-color: var(--rw-bg);
}
.sal-hero-title, .rl-hero-title, .iq-hero-title, .ex-hero-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--rw-text);
  line-height: 1.1;
  margin: .5rem 0 .75rem;
}
.sal-hero-title em, .rl-hero-title em, .iq-hero-title em, .ex-hero-title em {
  font-style: normal;
  color: var(--rw-accent);
}
.sal-hero-sub, .rl-hero-sub, .iq-hero-sub, .ex-hero-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rw-muted);
  max-width: 52ch;
}

/* ── Shared breadcrumb ───────────────────────────────────────── */
.sal-breadcrumb, .rl-breadcrumb, .iq-breadcrumb, .ex-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--rw-muted);
  margin-bottom: 1rem;
}
.sal-breadcrumb a, .rl-breadcrumb a, .iq-breadcrumb a, .ex-breadcrumb a {
  color: var(--rw-accent);
  text-decoration: none;
}
.sal-breadcrumb a:hover, .rl-breadcrumb a:hover,
.iq-breadcrumb a:hover, .ex-breadcrumb a:hover { text-decoration: underline; }

/* ── Shared section title ────────────────────────────────────── */
.sal-section-title, .iq-section-title, .ex-section-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rw-text);
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}

/* ── Shared disclaimer ───────────────────────────────────────── */
.sal-disclaimer {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--rw-surface);
  border-radius: .5rem;
  font-size: .82rem;
  color: var(--rw-muted);
  line-height: 1.55;
}
.sal-disclaimer a { color: var(--rw-accent); }

/* ── Shared CTA boxes ────────────────────────────────────────── */
.iq-cta-box, .ex-cta-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--rw-accent-light) 0%, var(--rw-bg) 100%);
  border: 1px solid var(--rw-border);
  border-radius: 1rem;
}
.iq-cta-box .iq-cta-title, .ex-cta-box .ex-cta-title,
.iq-cta-section .iq-cta-title, .ex-cta-section .ex-cta-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rw-text);
  margin: 0 0 .5rem;
}
.iq-cta-box .iq-cta-body, .ex-cta-box .ex-cta-body,
.iq-cta-section .iq-cta-body, .ex-cta-section .ex-cta-body {
  font-size: .95rem;
  color: var(--rw-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.iq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ── Shared related chips ────────────────────────────────────── */
.iq-related, .ex-related { margin-top: 2rem; }
.iq-related-list, .ex-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.iq-related-chip, .ex-related-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  background-color: var(--rw-surface);
  color: var(--rw-text);
  border: 1px solid var(--rw-border);
  border-radius: 9999px;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.iq-related-chip:hover, .ex-related-chip:hover {
  border-color: var(--rw-accent);
  color: var(--rw-accent);
  background-color: var(--rw-accent-light);
}

/* ════════════════════════════════════════════════════════════════
   SALARY EXPLORER
   ════════════════════════════════════════════════════════════════ */

.sal-grid-section { padding: 2.5rem 0 3rem; }

.sal-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.sal-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.25rem 1.35rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sal-card:hover {
  border-color: var(--rw-accent);
  box-shadow: var(--rw-shadow-md);
  transform: translateY(-2px);
}
.sal-card-name {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.3;
}
.sal-card-range {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rw-accent);
  font-family: 'Inter Tight', Inter, sans-serif;
}
.sal-card-unit {
  font-size: .72rem;
  font-weight: 400;
  color: var(--rw-muted);
  margin-left: .2rem;
}
.sal-card-meta {
  font-size: .75rem;
  color: var(--rw-muted);
}

/* Detail page */
.sal-detail-layout {
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sal-stats-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--rw-border);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  .sal-stats-card { grid-template-columns: repeat(4, 1fr); }
}
.sal-stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--rw-card-bg);
}
.sal-stat-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--rw-muted);
}
.sal-stat-value {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rw-text);
  letter-spacing: -.015em;
}
.sal-stat-unit {
  font-size: .75rem;
  font-weight: 400;
  color: var(--rw-muted);
  margin-left: .15rem;
}

/* Salary bar */
.sal-bar-section {
  padding: 1.5rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
}
.sal-bar-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--rw-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sal-bar-track {
  position: relative;
  height: 12px;
  background-color: var(--rw-surface);
  border-radius: 9999px;
  margin: 1.5rem 0 2rem;
}
.sal-bar-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: var(--rw-accent);
  border-radius: 9999px;
  opacity: .75;
}
.sal-bar-tick {
  position: absolute;
  top: 100%;
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--rw-muted);
  transform: translateX(-50%);
}
.sal-bar-tick--max { transform: translateX(-50%); }
.sal-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}
.sal-bar-legend-item {
  font-size: .78rem;
  color: var(--rw-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sal-bar-legend-item--fill::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--rw-accent);
  opacity: .75;
}

/* Breakdown table */
.sal-breakdown-section {
  padding: 1.5rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
}
.sal-breakdown-table {
  display: grid;
  gap: 1px;
  background-color: var(--rw-border);
  border: 1px solid var(--rw-border);
  border-radius: .5rem;
  overflow: hidden;
  margin-top: 1rem;
}
.sal-breakdown-header, .sal-breakdown-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  background-color: var(--rw-card-bg);
  padding: .65rem 1rem;
}
.sal-breakdown-header {
  background-color: var(--rw-surface);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rw-muted);
}
.sal-breakdown-row {
  font-size: .88rem;
  color: var(--rw-text);
}
.sal-breakdown-level { font-weight: 600; }
.sal-breakdown-count { color: var(--rw-muted); }

/* Sample jobs */
.sal-sample-section {
  padding: 1.5rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
}
.sal-sample-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.sal-sample-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .85rem 1rem;
  background-color: var(--rw-surface);
  border-radius: .6rem;
  text-decoration: none;
  transition: background-color .15s ease;
}
.sal-sample-card:hover { background-color: var(--rw-accent-light); }
.sal-sample-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.3;
}
.sal-sample-company {
  font-size: .78rem;
  color: var(--rw-muted);
}
.sal-sample-pay {
  font-size: .82rem;
  font-weight: 600;
  color: var(--rw-accent);
  margin-top: .15rem;
}

/* ════════════════════════════════════════════════════════════════
   REMOTE LANDING PAGES
   ════════════════════════════════════════════════════════════════ */

.rl-layout { padding: 2rem 0 3rem; }

.rl-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.rl-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  background-color: var(--rw-surface);
  color: var(--rw-text);
  border: 1px solid var(--rw-border);
  border-radius: 9999px;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.rl-chip:hover, .rl-chip--active {
  border-color: var(--rw-accent);
  color: var(--rw-accent);
  background-color: var(--rw-accent-light);
}
.rl-chip--active { font-weight: 600; }

.rl-job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) {
  .rl-job-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .rl-job-grid { grid-template-columns: repeat(3, 1fr); }
}

.rl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.rl-page-btn {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .5rem;
  color: var(--rw-text);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.rl-page-btn:hover { border-color: var(--rw-accent); color: var(--rw-accent); }
.rl-page-btn--disabled {
  opacity: .4;
  cursor: default;
  pointer-events: none;
}
.rl-page-info { font-size: .88rem; color: var(--rw-muted); }

.rl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════════════
   INTERVIEW QUESTIONS
   ════════════════════════════════════════════════════════════════ */

.iq-index-section { padding: 2.5rem 0 3rem; }

.iq-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
}
.iq-role-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem 1.25rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .75rem;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.iq-role-card:hover {
  border-color: var(--rw-accent);
  box-shadow: var(--rw-shadow-sm);
  transform: translateY(-1px);
}
.iq-role-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rw-text);
}
.iq-role-meta {
  font-size: .75rem;
  color: var(--rw-muted);
}

.iq-cta-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background-color: var(--rw-surface);
  border-radius: 1rem;
}

/* Detail page */
.iq-detail-layout { padding: 2.5rem 0 3rem; }

.iq-qa-list { display: flex; flex-direction: column; }

.iq-qa-item {
  border-bottom: 1px solid var(--rw-border);
}
.iq-qa-item:last-of-type { border-bottom: 0; }

.iq-qa-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem .25rem;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--rw-text);
  transition: color .15s ease;
}
.iq-qa-question::-webkit-details-marker { display: none; }
.iq-qa-question::marker { content: ''; }
.iq-qa-question:hover { color: var(--rw-accent); }

.iq-qa-num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rw-surface);
  border-radius: .4rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--rw-muted);
}
.iq-qa-item[open] .iq-qa-num {
  background-color: var(--rw-accent-light);
  color: var(--rw-accent);
}

.iq-qa-cat {
  flex-shrink: 0;
  padding: .2rem .55rem;
  border-radius: 9999px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background-color: var(--rw-surface);
  color: var(--rw-muted);
}
.iq-qa-cat--technical { background-color: var(--rw-indigo-light, #eef2ff); color: var(--rw-indigo, #4f46e5); }
.iq-qa-cat--behavioral { background-color: var(--rw-amber-light, #fffbeb); color: var(--rw-amber, #d97706); }
.iq-qa-cat--remote { background-color: var(--rw-accent-light); color: var(--rw-accent); }
.iq-qa-cat--situational { background-color: var(--rw-orange-light, #fff7ed); color: var(--rw-orange, #c2410c); }
.iq-qa-cat--motivation { background-color: var(--rw-pink-light, #fff1f2); color: var(--rw-pink, #e11d48); }

.iq-qa-text { flex: 1; min-width: 0; }

.iq-qa-chevron {
  flex-shrink: 0;
  color: var(--rw-muted);
  transition: transform .2s ease;
}
.iq-qa-item[open] .iq-qa-chevron { transform: rotate(180deg); }

.iq-qa-answer {
  padding: 0 .25rem 1.25rem 2.65rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.iq-qa-tips {
  font-size: .92rem;
  color: var(--rw-text);
  line-height: 1.6;
  margin: 0;
}
.iq-qa-tips strong { font-weight: 600; }

.iq-qa-sample {
  padding: .85rem 1rem;
  background-color: var(--rw-surface);
  border-left: 3px solid var(--rw-accent);
  border-radius: 0 .4rem .4rem 0;
}
.iq-qa-sample-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rw-accent);
  margin-bottom: .4rem;
}
.iq-qa-sample p { font-size: .88rem; color: var(--rw-muted); line-height: 1.6; margin: 0; }

.iq-qa-practice-link {
  font-size: .82rem;
  color: var(--rw-accent);
  text-decoration: none;
  font-weight: 600;
}
.iq-qa-practice-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   RESUME + COVER LETTER EXAMPLES
   ════════════════════════════════════════════════════════════════ */

.ex-index-section { padding: 2.5rem 0 3rem; }

.ex-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
}
.ex-role-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem 1.25rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .75rem;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ex-role-card:hover {
  border-color: var(--rw-accent);
  box-shadow: var(--rw-shadow-sm);
  transform: translateY(-1px);
}
.ex-role-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rw-text);
}
.ex-role-meta { font-size: .75rem; color: var(--rw-muted); }

.ex-cta-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background-color: var(--rw-surface);
  border-radius: 1rem;
}

/* Detail layout */
.ex-detail-layout { padding: 2.5rem 0 3rem; display: flex; flex-direction: column; gap: 2rem; }

.ex-tips-card {
  padding: 1.75rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .85rem;
}
.ex-tips-list {
  margin: .75rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ex-tip-item {
  font-size: .92rem;
  color: var(--rw-text);
  line-height: 1.55;
}

/* Resume card — paper document style (always light, regardless of site theme) */
.ex-resume-card {
  padding: 2.5rem 3rem;
  background-color: #fff;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.14), 0 1px 4px rgba(0,0,0,.08);
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  max-width: 780px;
  margin: 0 auto;
}
.ex-resume-header {
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: .85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.ex-resume-name {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -.01em;
}
.ex-resume-location, .ex-resume-contact {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .8rem;
  color: #444;
  margin-top: .25rem;
}

.ex-resume-section { margin-bottom: 1.35rem; }
.ex-resume-section:last-of-type { margin-bottom: 0; }

.ex-resume-section-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #1a1a1a;
  margin-bottom: .55rem;
  padding-bottom: .35rem;
  border-bottom: 1.5px solid #1a1a1a;
}
.ex-resume-text {
  font-size: .88rem;
  color: #333;
  line-height: 1.65;
  margin: 0;
}

.ex-resume-job { margin-bottom: 1rem; }
.ex-resume-job:last-of-type { margin-bottom: 0; }
.ex-resume-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .3rem;
}
.ex-resume-job-title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #1a1a1a;
}
.ex-resume-job-company {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .82rem;
  color: #555;
  font-style: italic;
}
.ex-resume-job-period {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .78rem;
  color: #777;
  flex-shrink: 0;
  white-space: nowrap;
}
.ex-resume-bullets {
  padding-left: 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ex-resume-bullets li {
  font-size: .85rem;
  color: #333;
  line-height: 1.55;
}

.ex-resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.ex-resume-skill-tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: .35rem;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: #1a1a1a;
}

.ex-resume-edu {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  font-size: .85rem;
  font-family: 'Inter Tight', Inter, sans-serif;
}
.ex-resume-edu-degree { font-weight: 600; color: #1a1a1a; }
.ex-resume-edu-school { color: #555; }
.ex-resume-edu-year { color: #777; }

.ex-resume-disclaimer {
  margin-top: 1.5rem;
  padding: .75rem 1rem;
  background-color: #f5f5f5;
  border-radius: .4rem;
  font-size: .75rem;
  color: #666;
  font-style: italic;
  font-family: 'Inter Tight', Inter, sans-serif;
}

/* Cover letter card — paper document style (always light, matches resume card) */
.ex-letter-card {
  padding: 2.5rem 3rem;
  background-color: #fff;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.14), 0 1px 4px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
}
.ex-letter-salutation {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .95rem;
  font-weight: 600;
  color: #1a1a1a;
}
.ex-letter-opening {
  font-size: .95rem;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 0;
}
.ex-letter-opening--highlight {
  background-color: #f0fdf4;
  border-left: 3px solid #34d399;
  padding: .75rem 1rem;
  border-radius: 0 .4rem .4rem 0;
  font-weight: 500;
  color: #1a1a1a;
}
.ex-letter-para {
  font-size: .95rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
}
.ex-letter-closing {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .9rem;
  color: #1a1a1a;
  font-weight: 500;
  white-space: pre-line;
  margin-top: .5rem;
}

/* ── Jobs Categories browse ──────────────────────────────────── */
.jc-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--rw-border);
}
.jc-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--rw-text);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: .35rem 0 .6rem;
}
.jc-hero-sub {
  font-size: 1rem;
  color: var(--rw-muted);
  max-width: 52ch;
}

.jc-page-body {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.jc-group {
  margin-bottom: 2.5rem;
}

.jc-group-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--rw-muted);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--rw-border);
}

.jc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}

.jc-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.15rem;
  background-color: var(--rw-card-bg);
  border: 1px solid var(--rw-border);
  border-radius: .75rem;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.jc-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transform: translateY(-2px);
  border-color: var(--rw-accent);
}

.jc-card-name {
  font-size: .92rem;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.3;
}

.jc-card-count {
  font-size: .78rem;
  font-weight: 500;
  color: var(--rw-accent);
}

/* ── Dark mode adjustments ───────────────────────────────────── */
.dark .sal-card:hover,
.dark .iq-role-card:hover,
.dark .ex-role-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
/* ex-letter-opening--highlight is always on white paper — no dark override needed */
.dark .iq-qa-sample { background-color: rgba(255,255,255,.04); }
