/* Özgeçmiş sayfası — ekranda kâğıt görünümü, yazdırırken sade A4. */

.cv-page { background: var(--tint); }

.cv-toolbar {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px max(var(--gutter), calc((100% - 820px) / 2));
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--tint) 82%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.cv-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.cv-print { height: 40px; padding: 0 18px; font-size: 14px; }

/* Kâğıt her temada açık renkte kalır */
.cv-paper {
    --ink-p: #2e1a24;
    --ink-p2: #5b4350;
    --ink-p3: #8c7280;
    --rule: #f0dcd5;
    --rose-p: #d63f6e;

    width: min(820px, calc(100% - var(--gutter) * 2));
    margin: 32px auto 16px;
    padding: 52px 58px 60px;
    border-radius: 18px;
    background: #fff;
    color: var(--ink-p);
    box-shadow: 0 1px 2px rgba(46, 26, 36, 0.05), 0 24px 60px -24px rgba(46, 26, 36, 0.3);
    font-size: 14px;
    line-height: 1.6;
    color-scheme: light;
}

.cv-header { display: flex; align-items: center; gap: 22px; padding-bottom: 26px; border-bottom: 2px dashed #f7b3c4; }
.cv-photo { flex: none; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 4px solid #fad4dd; }
.cv-id { flex: 1; }
.cv-name { font-size: 38px; font-style: italic; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.cv-role { margin-top: 6px; color: var(--rose-p); font-family: var(--font-hand); font-size: 24px; font-weight: 600; line-height: 1; }

.cv-contact { display: grid; gap: 3px; color: var(--ink-p2); font-size: 12.5px; text-align: right; }
.cv-contact li { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.cv-contact .icon { color: var(--rose-p); }
.cv-contact a:hover { color: var(--rose-p); }

.cv-section { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.cv-section:last-child { border-bottom: 0; padding-bottom: 0; }
.cv-section h2 { padding-top: 1px; color: var(--rose-p); font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.cv-body { color: var(--ink-p2); }
.cv-body > p + p { margin-top: 0.7em; }
.cv-list { display: grid; gap: 6px; }
.cv-list strong { color: var(--ink-p); }

.cv-item { break-inside: avoid; }
.cv-item + .cv-item { margin-top: 16px; }
.cv-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 3px; }
.cv-item h3 { color: var(--ink-p); font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.cv-at { color: var(--ink-p3); font-weight: 500; }
.cv-period { flex: none; color: var(--ink-p3); font-size: 12.5px; font-weight: 500; }

.cv-hint { margin: 0 auto 48px; padding: 0 var(--gutter); color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 720px) {
    .cv-back span, .cv-toolbar .theme-toggle { display: none; }
    .cv-paper { margin-top: 16px; padding: 30px 22px 40px; }
    .cv-header { flex-wrap: wrap; }
    .cv-contact { width: 100%; text-align: left; }
    .cv-contact li { justify-content: flex-start; }
    .cv-section { grid-template-columns: 1fr; gap: 8px; }
    .cv-item-head { flex-direction: column; gap: 0; }
}
@media (max-width: 460px) { .cv-print { width: 40px; padding: 0; font-size: 0; gap: 0; } }

@media print {
    @page { size: A4; margin: 14mm 14mm 16mm; }
    html, body, .cv-page { background: #fff !important; }
    .cv-toolbar, .cv-hint { display: none !important; }
    .cv-paper { width: auto; margin: 0; padding: 0; border-radius: 0; box-shadow: none; font-size: 10.5pt; }
    .cv-paper a { color: inherit; }
    .cv-section { padding: 14px 0; }
}
