/* ── CV examples (/cv-examples/, /tr/cv-ornekleri/) ───────────────────
   Loaded by the examples app's own templates only, on top of site.css:
   the hero, sections, buttons, breadcrumbs and FAQ block are the site's
   own; this file adds the printed-CV "paper", the summary / keyword / tip
   blocks and the example cards. Orange stays an accent on neutral grounds
   (numbers on grey discs, arrows, the paper's top rule) — never orange on
   orange. Phones get their own simple stack below (≤767px). */

.cvx-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cvx-section { padding-block: 48px; }
.cvx-arrow { display: inline-block; transition: transform .18s ease; }
[dir="rtl"] .cvx-arrow { transform: scaleX(-1); }

/* ── The paper: one column, like a printed A4 page ─────────────────── */
.cvx-paper {
  max-width: 820px; margin: 8px auto 0; text-align: start;
  background: #fff; color: #1b1b1f;
  border: 1px solid var(--border); border-top: 4px solid var(--accent);
  border-radius: 6px; box-shadow: var(--shadow-md);
  padding: 56px 64px 60px;
  font-size: .95rem; line-height: 1.55; overflow-wrap: break-word;
}
.cvx-head { padding-bottom: 18px; border-bottom: 1px solid #e3e3ea; }
.cvx-name { font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.cvx-headline { margin-top: 6px; font-size: 1.05rem; font-weight: 500; color: #3d3d45; }
/* Items separated by a dot that never starts a wrapped line: every item
   carries its dot in a 22px gutter before it, and the row is pulled 22px
   out of its clipped box — whichever item opens a line has its dot cut. */
.cvx-contact { margin-top: 10px; overflow: hidden; font-size: .86rem; color: #5b5b66; }
.cvx-contact-row { display: flex; flex-wrap: wrap; row-gap: 2px; margin-inline-start: -22px; }
.cvx-contact-row > span::before {
  content: '·'; display: inline-block; width: 22px; text-align: center; color: #a0a0aa;
}
.cvx-sec { margin-top: 26px; }
.cvx-sec h3 {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #2b2b31; padding-bottom: 6px; margin-bottom: 12px;
  border-bottom: 1px solid #e3e3ea;
}
.cvx-sec > p { color: #2b2b31; }
.cvx-item + .cvx-item { margin-top: 16px; }
.cvx-item-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 2px 16px;
}
.cvx-item-title { min-width: 0; }
.cvx-org { color: #5b5b66; }
.cvx-dates {
  font-size: .85rem; color: #5b5b66; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cvx-list .cvx-dates { margin-inline-start: 10px; }
.cvx-item ul, .cvx-list { margin: 6px 0 0; padding-inline-start: 1.15rem; }
.cvx-item li, .cvx-list li { margin-bottom: 4px; }
.cvx-note { margin-top: 4px; color: #3d3d45; }
.cvx-skills { margin: 0; display: grid; gap: 6px; }
.cvx-skills > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; }
.cvx-skills dt { font-weight: 600; }
.cvx-skills dd { margin: 0; color: #2b2b31; }
.cvx-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }

[data-theme="dark"] .cvx-paper {
  background: var(--surface); color: var(--text);
  border-color: var(--border); border-top-color: var(--accent);
}
[data-theme="dark"] .cvx-head,
[data-theme="dark"] .cvx-sec h3 { border-bottom-color: var(--border); }
[data-theme="dark"] .cvx-sec h3,
[data-theme="dark"] .cvx-sec > p,
[data-theme="dark"] .cvx-skills dd { color: var(--text); }
[data-theme="dark"] .cvx-headline,
[data-theme="dark"] .cvx-note { color: var(--text-muted); }
[data-theme="dark"] .cvx-org,
[data-theme="dark"] .cvx-dates,
[data-theme="dark"] .cvx-contact { color: var(--text-muted); }
[data-theme="dark"] .cvx-contact-row > span::before { color: var(--text-faint); }

/* ── Three summaries ───────────────────────────────────────────────── */
.cvx-summaries {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.cvx-summary {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px 24px 26px; text-align: start;
}
.cvx-summary h3 {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface-3); color: var(--text-muted);
}
.cvx-summary p { color: var(--text); font-size: .98rem; }

/* ── Keywords: grey chips, an orange tick on the grey ──────────────── */
.cvx-keywords {
  list-style: none; margin: 0 auto; padding: 0; max-width: 880px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.cvx-keywords li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface-3); color: var(--text); font-weight: 600; font-size: .93rem;
}
.cvx-keywords li::before { content: '✓'; color: #e8641c; font-weight: 700; }
[data-theme="dark"] .cvx-keywords li::before { color: #ffa36b; }

/* ── Tips: numbered cards, the number on a grey disc ───────────────── */
.cvx-tips {
  list-style: none; counter-reset: tip; margin: 0 auto; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.cvx-tips li {
  counter-increment: tip; position: relative; text-align: start;
  padding-block: 22px 24px; padding-inline: 76px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
}
.cvx-tips li::before {
  content: counter(tip); position: absolute; inset-inline-start: 22px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3); color: #e8641c; font-weight: 700;
}
[data-theme="dark"] .cvx-tips li::before { color: #ffa36b; }
.cvx-tips h3 { font-size: 1.06rem; line-height: 1.35; margin-bottom: 6px; }
.cvx-tips p { color: var(--text-muted); }

/* ── Make it yours: the CTA and the three feature links ────────────── */
.cvx-build {
  max-width: 1000px; margin: 0 auto; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 24px;
  padding: 44px 40px;
}
.cvx-build h2 { margin-bottom: 10px; }
.cvx-build .lead { margin-bottom: 22px; }
.cvx-build-note { margin-top: 10px; font-size: .88rem; color: var(--text-muted); }
.cvx-links {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.cvx-link {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding-block: 18px; padding-inline: 20px 40px; text-align: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cvx-link strong { color: var(--text); }
.cvx-link span { color: var(--text-muted); font-size: .9rem; line-height: 1.45; }
.cvx-link .cvx-arrow {
  position: absolute; inset-inline-end: 16px; top: 18px; color: #e8641c; font-size: 1.05rem;
}
.cvx-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .cvx-link .cvx-arrow { color: #ffa36b; }

/* ── "More CV examples": compact cards, title and arrow ────────────── */
.cvx-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cvx-cards > li { display: flex; min-width: 0; }
.cvx-card {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: start; padding: 18px 22px;
  background: #fafafa; border: 1px solid #eee; border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cvx-card:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .08); }
.cvx-card:hover .cvx-arrow { transform: translateX(4px); }
[dir="rtl"] .cvx-card:hover .cvx-arrow { transform: scaleX(-1) translateX(4px); }
.cvx-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.cvx-card .cvx-arrow { flex: none; color: #e8641c; font-weight: 600; }
[data-theme="dark"] .cvx-card { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .cvx-card:hover { background: var(--surface); box-shadow: var(--shadow-md); }
[data-theme="dark"] .cvx-card .cvx-arrow { color: #ffa36b; }
.cvx-more { margin-top: 28px; text-align: center; }

/* ── Hub: a directory of job-family panels ─────────────────────────── */
.cvx-hub { max-width: 1160px; padding-block: 16px 64px; }
.cvx-families { columns: 3 300px; column-gap: 20px; }
.cvx-family {
  break-inside: avoid; margin-bottom: 20px; text-align: start;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 22px 10px;
}
.cvx-family h2 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.cvx-family ul { list-style: none; margin: 0; padding: 0; }
.cvx-family li + li { border-top: 1px solid var(--border); }
.cvx-family a { display: flex; flex-direction: column; gap: 3px; padding-block: 12px; }
.cvx-family a strong { font-size: 1.02rem; line-height: 1.35; color: var(--text); }
.cvx-family a strong .cvx-arrow { color: #e8641c; margin-inline-start: 4px; }
.cvx-family a span:not(.cvx-arrow) { color: var(--text-muted); font-size: .9rem; line-height: 1.45; }
.cvx-family a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.cvx-family a:hover .cvx-arrow { transform: translateX(3px); }
[dir="rtl"] .cvx-family a:hover .cvx-arrow { transform: scaleX(-1) translateX(3px); }
[data-theme="dark"] .cvx-family a strong .cvx-arrow { color: #ffa36b; }

/* ── Tablet ────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .cvx-paper { padding: 44px 40px 48px; }
  .cvx-summaries { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .cvx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cvx-families { columns: 2 280px; }
  .cvx-links { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}

/* ── Phone: one simple column ──────────────────────────────────────── */
@media (max-width: 767px) {
  .cvx-section { padding-block: 32px; }
  .cvx-actions .btn { width: 100%; max-width: 340px; }
  /* The CV starts right under the hero on a phone: one button is enough. */
  .cvx-actions .btn-secondary { display: none; }
  .cvx-paper {
    padding: 26px 18px 30px; border-radius: 4px; font-size: .92rem;
    box-shadow: var(--shadow-sm);
  }
  .cvx-name { font-size: 1.55rem; }
  .cvx-headline { font-size: .98rem; }
  /* One contact item per line: no dots at all. */
  .cvx-contact-row { flex-direction: column; margin-inline-start: 0; }
  .cvx-contact-row > span::before { content: none; }
  .cvx-sec { margin-top: 22px; }
  .cvx-item-head { flex-direction: column; gap: 0; }
  .cvx-skills > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cvx-inline { flex-direction: column; gap: 2px; }
  .cvx-summary { padding: 20px 18px; }
  .cvx-keywords { gap: 8px; }
  .cvx-keywords li { padding: 7px 13px; font-size: .9rem; }
  .cvx-tips { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cvx-tips li { padding-block: 18px 20px; padding-inline: 64px 18px; }
  .cvx-tips li::before { inset-inline-start: 16px; top: 17px; width: 34px; height: 34px; }
  .cvx-build { padding: 30px 18px; border-radius: 20px; }
  .cvx-build .btn { width: 100%; max-width: 340px; }
  .cvx-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cvx-card { padding: 16px 18px; }
  .cvx-hub { padding-block: 4px 40px; }
  .cvx-families { columns: 1; }
  .cvx-family { margin-bottom: 14px; padding: 18px 18px 6px; border-radius: 18px; }
}
