/* news/front.css */
/* Haberler: etiketler, yazar kutusu, önceki/sonraki, okuma süresi (tema değişkenleriyle) */
.news-byline, .news-reading { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.news-byline:hover { text-decoration: underline; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.news-tags a { padding: 6px 12px; border-radius: 999px; background: var(--soft, #f1f5f9); color: var(--primary, #1d4ed8); font-size: 14px; font-weight: 600; text-decoration: none; transition: .2s; }
.news-tags a:hover { background: var(--primary, #1d4ed8); color: #fff; }
.news-share button { width: 40px; height: 40px; border-radius: var(--radius, 8px); display: inline-flex; align-items: center; justify-content: center; background: var(--soft, #f1f5f9); color: var(--primary, #1d4ed8); border: 0; cursor: pointer; font-size: 18px; transition: .2s; }
.news-share button:hover, .news-share button.is-copied { background: var(--primary, #1d4ed8); color: #fff; }
.news-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 24px; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); background: #fff; }
.news-author.is-profile { margin: 0 0 40px; }
.news-author-avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--primary, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; text-decoration: none; }
.news-author.is-profile .news-author-avatar { flex-basis: 120px; width: 120px; height: 120px; font-size: 36px; }
.news-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.news-author-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #64748b); font-weight: 700; }
.news-author-name { font-size: 18px; font-weight: 800; color: var(--dark, #0f172a); text-decoration: none; }
.news-author-title { display: block; color: var(--muted, #64748b); font-size: 14px; }
.news-author p { margin: 8px 0 0; color: var(--text, #334155); line-height: 1.6; }
.news-author-count { font-weight: 700; color: var(--muted, #64748b); }
.news-author-links { display: flex; gap: 8px; margin-top: 12px; }
.news-author-links a { width: 36px; height: 36px; border-radius: var(--radius, 8px); background: var(--soft, #f1f5f9); color: var(--primary, #1d4ed8); display: inline-flex; align-items: center; justify-content: center; }
.news-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.news-adjacent a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); text-decoration: none; color: var(--dark, #0f172a); transition: .2s; }
.news-adjacent a:hover { border-color: var(--primary, #1d4ed8); }
.news-adjacent a.is-next { text-align: right; grid-column: 2; }
.news-adjacent span { font-size: 13px; color: var(--muted, #64748b); font-weight: 600; }
.news-adjacent strong { line-height: 1.4; }
@media (max-width: 640px) {
    .news-adjacent { grid-template-columns: 1fr; }
    .news-adjacent a.is-next { grid-column: auto; }
    .news-author { flex-direction: column; }
}

/* pages/front.css */
/* Sayfalar modülü: gelişmiş bloklar (sütunlar, sekmeler, akordeon, tablo, gömülü içerik, harita, zaman çizelgesi...).
   Tema değişkenleri: --primary --accent --dark --text --muted --line --soft --radius */
.px-tight { padding-top: 24px; padding-bottom: 24px; }
.px-btn-sm { padding: 9px 18px !important; font-size: 14px !important; }
.px-btn-link { background: none; border-color: transparent; color: var(--primary); text-decoration: underline; padding-left: 4px; padding-right: 4px; box-shadow: none; }
.blk-btn .bi { margin-right: 6px; }

/* Sütunlar */
.px-columns.is-center { align-items: center; }
.px-col { display: flex; flex-direction: column; gap: 12px; }
.px-col h3 { margin: 0; font-size: 1.2rem; color: var(--dark); }
.px-col .blk-btn { align-self: flex-start; margin-top: auto; }
.px-col-media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius, 8px); }
.px-columns.is-boxed .px-col { background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); padding: 24px; }

/* Sekmeler (JS kapalıyken alt alta) */
.px-tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line, #e5e7eb); margin-bottom: 24px; }
.px-tablist button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; font: inherit; font-weight: 600; color: var(--muted, #64748b); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; margin-bottom: -1px; }
.px-tablist button[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); }
.px-tablist button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.px-tabs.is-pills .px-tablist { border: 0; gap: 8px; }
.px-tabs.is-pills .px-tablist button { border: 1px solid var(--line, #e5e7eb); border-radius: 999px; margin: 0; }
.px-tabs.is-pills .px-tablist button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.px-tabs.is-ready .px-tabpanel[hidden] { display: none; }
.px-tabs.is-ready .px-tab-fallback-title { display: none; }
.px-tabs:not(.is-ready) .px-tabpanel + .px-tabpanel { margin-top: 32px; }
.px-tab-fallback-title { font-size: 1.15rem; color: var(--dark); }
.px-tabpanel-body.has-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.px-tabpanel-body img { width: 100%; border-radius: var(--radius, 8px); }
@media (min-width: 900px) {
    .px-tabs.is-vertical.is-ready { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
    .px-tabs.is-vertical .px-tablist { flex-direction: column; border: 0; border-right: 1px solid var(--line, #e5e7eb); margin: 0; }
    .px-tabs.is-vertical .px-tablist button { border-bottom: 0; border-right: 3px solid transparent; margin: 0 -1px 0 0; justify-content: flex-start; text-align: left; }
    .px-tabs.is-vertical .px-tablist button[aria-selected="true"] { border-right-color: var(--primary); background: var(--soft, #f8fafc); }
}
@media (max-width: 700px) { .px-tabpanel-body.has-media { grid-template-columns: 1fr; } .px-tablist { overflow-x: auto; flex-wrap: nowrap; } .px-tablist button { white-space: nowrap; } }

/* Akordeon */
.px-accordion { display: grid; gap: 10px; }
.px-acc-item { border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); background: #fff; }
.px-acc-item summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; color: var(--dark); }
.px-acc-item summary::-webkit-details-marker { display: none; }
.px-acc-item summary .bi { transition: transform .2s; color: var(--primary); }
.px-acc-item[open] summary .bi { transform: rotate(180deg); }
.px-acc-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; border-radius: var(--radius, 8px); }
.px-acc-body { padding: 0 20px 18px; }

/* Bilgi kutusu */
.px-callout { --c: #2563eb; display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius, 8px); border-left: 4px solid var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.px-callout.is-success { --c: #16a34a; } .px-callout.is-warning { --c: #d97706; } .px-callout.is-danger { --c: #dc2626; }
.px-callout.is-note { --c: #64748b; } .px-callout.is-brand { --c: var(--primary); }
.px-callout-icon { color: var(--c); font-size: 1.4rem; line-height: 1.2; }
.px-callout-title { display: block; color: var(--dark); margin-bottom: 4px; font-size: 1.05rem; }
.px-callout-body .blk-prose > :last-child { margin-bottom: 0; }
.px-callout-body .blk-btn { margin-top: 12px; }

/* Buton grubu */
.px-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.px-buttons.is-center { justify-content: center; } .px-buttons.is-right { justify-content: flex-end; }
.px-buttons.size-small .blk-btn { padding: 9px 18px; font-size: 14px; }
.px-buttons.size-large .blk-btn { padding: 17px 34px; font-size: 17px; }

/* Tablo */
.px-table-wrap { overflow-x: auto; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); }
.px-table-wrap:focus-visible { outline: 2px solid var(--primary); }
.px-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.px-table th, .px-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line, #e5e7eb); vertical-align: top; }
.px-table thead th { background: var(--dark); color: #fff; font-weight: 600; }
.px-table.is-striped tbody tr:nth-child(even) { background: var(--soft, #f8fafc); }
.px-table tbody tr:last-child td { border-bottom: 0; }
.px-table caption { caption-side: bottom; padding: 10px 16px; color: var(--muted, #64748b); font-size: .9rem; text-align: left; }
@media (max-width: 640px) {
    .px-table thead { display: none; }
    .px-table tr { display: block; border-bottom: 1px solid var(--line, #e5e7eb); }
    .px-table td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 8px 16px; }
    .px-table td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--dark); }
}

/* Kod */
.px-code { margin: 0; border-radius: var(--radius, 8px); overflow: hidden; background: #0f172a; color: #e2e8f0; }
.px-code figcaption { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: #1e293b; font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #94a3b8; }
.px-code pre { margin: 0; padding: 18px; overflow-x: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; }
.px-copy { background: none; border: 1px solid #334155; color: #cbd5e1; border-radius: 6px; padding: 3px 10px; font: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.px-copy:hover { color: #fff; border-color: #64748b; }

/* Gömülü içerik */
.px-embed-figure { margin: 0; }
.px-embed { position: relative; border-radius: var(--radius, 8px); overflow: hidden; background: var(--soft, #f1f5f9); border: 1px solid var(--line, #e5e7eb); }
.px-embed.ratio-16x9 { aspect-ratio: 16 / 9; } .px-embed.ratio-4x3 { aspect-ratio: 4 / 3; } .px-embed.ratio-1x1 { aspect-ratio: 1; } .px-embed.ratio-21x9 { aspect-ratio: 21 / 9; }
.px-embed.is-social { max-width: 560px; margin: 0 auto; min-height: 360px; }
.px-embed.is-social iframe { min-height: 600px; }
.px-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.px-embed.is-social iframe { position: static; }
.px-embed-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted, #64748b); }
.px-embed.is-social .px-embed-consent { position: static; min-height: 360px; }
.px-embed-consent > .bi { font-size: 2.4rem; color: var(--primary); }
.px-embed-consent p { max-width: 460px; margin: 0; font-size: .95rem; }
.px-embed-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Harita */
.px-map { height: var(--h, 400px); border-radius: var(--radius, 8px); overflow: hidden; background: var(--soft, #eef2f7); border: 1px solid var(--line, #e5e7eb); position: relative; z-index: 0; }
.px-map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: var(--primary); font-weight: 600; text-decoration: none; }
.px-map-fallback .bi { font-size: 2.2rem; }
.px-map.is-ready .px-map-fallback { display: none; }
.px-map-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.px-map-info strong, .px-map-info span, .px-map-info small { display: block; }
.px-map-info span { color: var(--text, #334155); } .px-map-info small { color: var(--muted, #64748b); margin-top: 4px; }

/* Zaman çizelgesi */
.px-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.px-timeline:not(.is-horizontal)::before { content: ""; position: absolute; top: 0; bottom: 0; left: 15px; width: 2px; background: var(--line, #e5e7eb); }
.px-tl-item { position: relative; padding: 0 0 32px 52px; }
.px-tl-item:last-child { padding-bottom: 0; }
.px-tl-dot { position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 15%, #fff); font-size: 14px; }
.px-tl-card { background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); padding: 18px 20px; }
.px-tl-card h3 { margin: 4px 0 6px; font-size: 1.1rem; color: var(--dark); }
.px-tl-card p { margin: 0; color: var(--muted, #64748b); }
.px-tl-card img { width: 100%; border-radius: calc(var(--radius, 8px) - 2px); margin-top: 12px; }
.px-tl-date { font-weight: 700; color: var(--primary); font-size: .9rem; letter-spacing: .02em; }
@media (min-width: 900px) {
    .px-timeline.is-alternate::before { left: 50%; margin-left: -1px; }
    .px-timeline.is-alternate .px-tl-item { width: 50%; padding: 0 44px 40px 0; }
    .px-timeline.is-alternate .px-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; }
    .px-timeline.is-alternate .px-tl-dot { left: auto; right: -16px; }
    .px-timeline.is-alternate .px-tl-item:nth-child(even) .px-tl-dot { right: auto; left: -16px; }
    .px-timeline.is-alternate .px-tl-item:nth-child(odd) .px-tl-card { text-align: right; }
}
.px-timeline.is-horizontal { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; counter-reset: step; }
.px-timeline.is-horizontal .px-tl-item { padding: 52px 0 0; }
.px-timeline.is-horizontal .px-tl-item::before { content: ""; position: absolute; top: 17px; left: 40px; right: -24px; height: 2px; background: var(--line, #e5e7eb); }
.px-timeline.is-horizontal .px-tl-item:last-child::before { display: none; }
.px-timeline.is-horizontal .px-tl-card { border: 0; padding: 0; background: none; }

/* İkonlu liste */
.px-icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; }
.px-icon-list.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.px-icon-list.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.px-icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.px-icon-list .bi { color: var(--primary); font-size: 1.2rem; line-height: 1.4; flex-shrink: 0; }
.px-icon-list span { color: var(--text, #334155); font-weight: 500; }
.px-icon-list small { display: block; color: var(--muted, #64748b); font-weight: 400; }
.px-icon-list a { color: inherit; }

/* Alıntı */
.px-quote { margin: 0; text-align: center; }
.px-quote-mark { font-size: 3rem; color: var(--accent, var(--primary)); line-height: 1; }
.px-quote blockquote { margin: 8px 0 20px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--dark); font-weight: 500; }
.px-quote blockquote p { margin: 0; }
.px-quote figcaption { display: inline-flex; gap: 12px; align-items: center; text-align: left; }
.px-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.px-quote figcaption small { display: block; color: var(--muted, #64748b); }
.px-quote.is-bar { text-align: left; border-left: 4px solid var(--primary); padding-left: 24px; }
.px-quote.is-bar .px-quote-mark { display: none; }
.px-quote.is-card { background: var(--soft, #f8fafc); border-radius: var(--radius, 8px); padding: 36px; }
.px-dark { background: var(--dark); }
.px-dark .px-quote blockquote, .px-dark .px-quote strong { color: #fff; }
.px-dark .px-quote small { color: rgba(255, 255, 255, .7); }

/* Ayırıcı */
.px-divider-wrap.space-small { padding: 12px 0; } .px-divider-wrap.space-normal { padding: 32px 0; } .px-divider-wrap.space-large { padding: 64px 0; }
hr.px-divider { border: 0; border-top: 1px solid var(--line, #e5e7eb); margin: 0; }
hr.px-divider.is-dashed { border-top: 2px dashed var(--line, #d1d5db); }
.px-divider.is-dots { display: flex; justify-content: center; gap: 12px; }
.px-divider.is-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); opacity: .5; }
.px-divider.is-icon { display: flex; align-items: center; gap: 18px; color: var(--primary); }
.px-divider.is-icon::before, .px-divider.is-icon::after { content: ""; flex: 1; height: 1px; background: var(--line, #e5e7eb); }
.px-divider.is-wave { color: var(--primary); opacity: .35; } .px-divider.is-wave svg { width: 100%; height: 14px; display: block; }

/* Geri sayım */
.px-countdown { text-align: center; border-radius: calc(var(--radius, 8px) * 2); padding: 48px 24px; background: var(--primary); color: #fff; }
.px-countdown.is-dark { background: var(--dark); }
.px-countdown.is-light { background: var(--soft, #f1f5f9); color: var(--dark); }
.px-countdown .blk-title { color: inherit; margin-bottom: 8px; }
.px-countdown .blk-intro { color: inherit; opacity: .85; margin: 0 auto 24px; }
.px-cd-units { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.px-cd-unit { min-width: 92px; padding: 16px 10px; border-radius: var(--radius, 8px); background: rgba(255, 255, 255, .12); }
.px-countdown.is-light .px-cd-unit { background: #fff; border: 1px solid var(--line, #e5e7eb); }
.px-cd-unit span { display: block; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.px-cd-unit small { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; opacity: .8; }
.px-cd-expired { font-size: 1.4rem; font-weight: 700; }
.px-cd-date { opacity: .75; margin: 18px 0 0; font-size: .95rem; }
.px-countdown .blk-btn { margin-top: 20px; }

/* Önce / sonra */
.px-compare { margin: 0; }
.px-compare-stage { position: relative; border-radius: var(--radius, 8px); overflow: hidden; user-select: none; }
.px-compare-after { display: block; width: 100%; height: auto; }
.px-compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.px-compare-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px-compare-stage::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1px; background: #fff; pointer-events: none; }
.px-compare:not(.is-ready) .px-compare-stage::after { display: none; }
.px-compare-label { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; }
.px-compare-label.is-before { left: 14px; } .px-compare-label.is-after { right: 14px; }
.px-compare-handle { position: absolute; top: 50%; left: var(--pos, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); pointer-events: none; }
.px-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.px-compare:not(.is-ready) .px-compare-handle { display: none; }

/* İndirme listesi */
.px-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.px-downloads.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.px-downloads a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 8px); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.px-downloads a:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.px-downloads .bi:first-child { font-size: 1.9rem; color: var(--primary); }
.px-dl-text { flex: 1; min-width: 0; }
.px-dl-text strong { display: block; color: var(--dark); overflow-wrap: anywhere; }
.px-dl-text small { color: var(--muted, #64748b); }
.px-dl-go { color: var(--muted, #64748b); }

/* Şifreli sayfa */
.px-lock { max-width: 440px; margin: 0 auto; text-align: center; padding: 72px 0; }
.px-lock > .bi { font-size: 2.6rem; color: var(--primary); }
.px-lock h1 { font-size: 1.6rem; margin: 12px 0 8px; color: var(--dark); }
.px-lock p { color: var(--muted, #64748b); }
.px-lock form { display: flex; gap: 8px; margin-top: 20px; }
.px-lock input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line, #d1d5db); border-radius: var(--radius, 8px); font: inherit; }
.px-lock .cf-alert { margin-top: 16px; }

/* Başlık / alt bilgi gizleme (sayfa ayarı) */
.page-hide-header .topbar, .page-hide-header .site-header, .page-hide-header .nav-backdrop { display: none !important; }
.page-hide-footer .site-footer, .page-hide-footer .footer-cta { display: none !important; }
@media (prefers-reduced-motion: reduce) { .px-acc-item summary .bi { transition: none; } }
.px-lock .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Dar ekranda onay metni sığsın: oran yerine içerik yüksekliği */
@media (max-width: 640px) {
    .px-embed:has(> .px-embed-consent) { aspect-ratio: auto; }
    .px-embed-consent { position: static; min-height: 220px; }
}

