/* Mendflow: общие элементы пастельных разделов (Курсы, События, Проекты, Карьера). */
:root {
  --pv-lav: #d2c6fb;
  --pv-lav-soft: #e4dcfd;
  --pv-pink: #f6abe8;
  --pv-pink-soft: #f9c6ef;
  --pv-green: #bfecd6;
  --pv-green-soft: #d3f3e4;
  --pv-orange: #fbc48d;
  --pv-orange-soft: #fcd9b6;
  --pv-on-tone: #16131d;
  --pv-on-tone-soft: rgba(22, 19, 29, .72);
  --pv-dash: #c7bcf0;
}
[data-theme="dark"] {
  --pv-lav: #352c6b;
  --pv-lav-soft: #453b85;
  --pv-pink: #552450;
  --pv-pink-soft: #6a2f63;
  --pv-green: #1a4233;
  --pv-green-soft: #235441;
  --pv-orange: #54391c;
  --pv-orange-soft: #6b4a25;
  --pv-on-tone: #ede9fe;
  --pv-on-tone-soft: #c9c0df;
  --pv-dash: #4a3f78;
}

#ideasView.panel,
#coursesView.panel,
#eventsView.panel,
#internshipsView.panel { padding: 0 !important; border: 0; border-radius: 0 !important; background: transparent; box-shadow: none; }

.pv-wrap { container-type: inline-size; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.pv-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; min-width: 0; }
.pv-hero-copy { flex: 1 1 300px; min-width: 0; }
.pv-title { flex: 1 1 300px; min-width: 0; max-width: 15em; margin: 0; color: var(--ink); font-size: clamp(30px, 5cqw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.pv-hero-copy .pv-title { max-width: 15em; margin-bottom: 10px; }
.pv-sub { max-width: 40rem; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.45; }

.pv-cta,
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.pv-cta { flex: 0 0 auto; background: var(--ink); color: var(--surface); }
.pv-btn { background: var(--surface); color: var(--ink); }
.pv-btn--dark { background: var(--ink); color: var(--surface); }
.pv-btn--muted { background: var(--surface-muted, #f4f2f8); color: var(--ink); }
.pv-btn--wide { width: 100%; }
.pv-cta:hover, .pv-btn:hover { opacity: .88; transform: translateY(-1px); }
.pv-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--surface-muted, #f4f2f8); font-size: 13px; font-variant-numeric: tabular-nums; }

.pv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 20px 5px 5px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.pv-chip--text { padding: 5px 20px; }
.pv-chip:hover { background: var(--hover); }
.pv-chip.is-active,
.pv-chip.is-active:hover { background: var(--ink); color: var(--surface); }
.pv-chip-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--pv-on-tone); }

.pv-tone--lav { background: var(--pv-lav); color: var(--pv-on-tone); }
.pv-tone--pink { background: var(--pv-pink); color: var(--pv-on-tone); }
.pv-tone--green { background: var(--pv-green); color: var(--pv-on-tone); }
.pv-tone--orange { background: var(--pv-orange); color: var(--pv-on-tone); }
.pv-tone--white { background: var(--surface); color: var(--ink); }
.pv-chip.is-active .pv-tone--white { background: var(--surface); color: var(--ink); }

.pv-search { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: text; }
.pv-search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.pv-search svg { flex: 0 0 auto; }
.pv-search input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--ink); font: inherit; font-size: 14.5px; }
.pv-search input::placeholder { color: var(--ink-muted); opacity: 1; }
.pv-search--muted { background: var(--surface-muted, #f4f2f8); }

.pv-card { min-width: 0; border-radius: 24px; background: var(--surface); }
.pv-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; background: var(--surface-muted, #f4f2f8); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pv-badge strong { font-weight: 500; }
.pv-section-title { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pv-round { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; }

.pv-cta:focus-visible, .pv-btn:focus-visible, .pv-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 560px) {
  .pv-cta { width: 100%; }
  .pv-hero .career-header-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-cta, .pv-btn, .pv-chip { transition: none; }
  .pv-cta:hover, .pv-btn:hover { transform: none; }
}
