/* Public resumes catalog */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Unbounded:wght@600;700&display=swap');

body.p24-resumes-page {
  background-color: #f4f5f6;
  background-image: repeating-linear-gradient(-18deg, transparent 0 22px, rgba(22, 28, 34, 0.035) 22px 23px);
  background-attachment: fixed;
}
body.p24-resumes-page .site-content-fullwidth { background: transparent; }
body.p24-resumes-page .cv {
  font-family: Manrope, system-ui, sans-serif;
  color: #17211c;
}
body.p24-resumes-page .cv h1,
body.p24-resumes-page .cv h2 {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.04em;
}

.cv-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 28px;
  /* clear fixed glass header: pad + bar height + content gap */
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 28px) 0 42px;
  color: #f4f7f5;
  background: #101613;
  border-radius: 0 0 32px 32px;
}
.cv-hero.job-hero--photo {
  min-height: 420px;
  padding-bottom: 56px;
}
.cv-hero.job-hero--compact,
.job-hero--compact.cv-hero {
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 20px) 0 34px;
  min-height: 0;
}
.cv-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
}
.cv-hero__eye { margin: 0 0 8px; color: #8ddeb0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.cv-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; color: #fff; }
.cv-hero__lead { margin: 0; max-width: 640px; color: rgba(244, 247, 245, 0.78); font-size: 17px; line-height: 1.5; }
.cv-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cv-btn:hover { transform: translateY(-1px); }
.cv-btn--light { background: #fff; color: #121212 !important; }
.cv-btn--ghost { background: rgba(255,255,255,0.08); color: #fff !important; border: 1px solid rgba(255,255,255,0.14); }
.cv-btn--solid { background: #146b3a; color: #fff !important; width: 100%; margin-top: 8px; }
.cv-panel .cv-btn--ghost { width: 100%; margin-top: 8px; color: #122018 !important; background: #f4f7f5; border-color: #e4e9e6; }

.cv-wrap { max-width: 1450px; margin: 0 auto 64px; padding: 0 24px; }
.cv-wrap__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.cv-wrap__head h2 { margin: 0; font-size: 1.35rem; }
.cv-wrap__head p,
.cv-wrap__head .job-count { margin: 0; color: #5b6b62; }

body.p24-resumes-page .cv-filter-wrap {
  margin-bottom: 48px;
}
body.p24-resumes-page .cv-list .cv-grid {
  margin-top: 0;
}
body.p24-resumes-page .job-cats {
  margin-bottom: 4px;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cv-card[hidden] { display: none !important; }

.cv-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e4e9e6;
  box-shadow: 0 14px 34px rgba(16, 22, 19, 0.06);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cv-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(16, 22, 19, 0.1); }
.cv-card--paid { border-color: rgba(34, 163, 95, 0.35); }
.cv-card__link {
  display: flex;
  gap: 14px;
  padding: 18px;
  text-decoration: none !important;
  color: inherit !important;
}
.cv-card__avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a4f78, #146b3a);
  color: #fff;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.cv-card__body { min-width: 0; display: grid; gap: 6px; }
.cv-card__top { display: flex; align-items: flex-start; gap: 8px; }
.cv-card__title { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.cv-card__badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 163, 95, 0.14);
  color: #146b3a;
  font-size: 0.72rem;
  font-weight: 800;
}
.cv-card__name { color: #5b6b62; font-weight: 650; font-size: 0.92rem; }
.cv-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: #7a8a81; font-size: 0.82rem; }
.cv-card__meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f7f5;
}
.cv-card__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cv-chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 79, 120, 0.08);
  color: #1a4f78;
  font-size: 0.78rem;
  font-weight: 700;
}
.cv-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.cv-empty {
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  border: 1px dashed #d7e0db;
  text-align: center;
}
.cv-empty .cv-btn { background: #146b3a; color: #fff !important; margin-top: 12px; }

.cv-detail__grid {
  max-width: 1450px;
  margin: 0 auto 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.cv-block {
  margin: 0 0 14px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e4e9e6;
  box-shadow: 0 12px 28px rgba(16, 22, 19, 0.05);
}
.cv-block h2 { margin: 0 0 12px; font-size: 1.15rem; }
.cv-block p { margin: 0 0 10px; color: #3d4a43; line-height: 1.55; }
.cv-block p:last-child { margin-bottom: 0; }

.cv-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e4e9e6;
  box-shadow: 0 16px 40px rgba(16, 22, 19, 0.07);
  text-align: center;
}
.cv-panel__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a4f78, #146b3a);
  color: #fff;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.cv-panel__name { margin: 0 0 4px; font-size: 1.15rem; }
.cv-panel__role { margin: 0 0 16px; color: #5b6b62; }
.cv-panel__list { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; display: grid; gap: 10px; }
.cv-panel__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f7f5;
}
.cv-panel__list span { color: #7a8a81; font-size: 0.82rem; }
.cv-panel__list strong { font-size: 0.9rem; }
.cv-panel__back {
  display: inline-flex;
  margin-top: 14px;
  color: #146b3a !important;
  font-weight: 750;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .cv-grid,
  .cv-detail__grid { grid-template-columns: 1fr; }
  .cv-panel { position: static; }
  .cv-hero.job-hero--photo { min-height: 380px; }
  /* resumes share job-hero media/shade — keep soft mobile veil */
  .cv-hero.job-hero--photo .job-hero__media {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cv-hero.job-hero--photo .job-hero__media img { object-position: 58% 30%; }
  .cv-hero.job-hero--photo .job-hero__shade {
    background:
      linear-gradient(180deg,
        rgba(16, 22, 19, 0.52) 0%,
        rgba(16, 22, 19, 0.4) 30%,
        rgba(16, 22, 19, 0.55) 58%,
        rgba(16, 22, 19, 0.78) 100%),
      linear-gradient(115deg,
        rgba(16, 22, 19, 0.48) 0%,
        rgba(16, 22, 19, 0.28) 42%,
        rgba(16, 22, 19, 0.12) 72%,
        rgba(16, 22, 19, 0.06) 100%);
  }
}
@media (max-width: 640px) {
  .cv-hero {
    padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 18px) 0 32px;
  }
  .cv-card__link { padding: 14px; }
}
