/* "Yardım ve Eğitim" sayfaları (Views/Help, js/pages/help.js) — tema uyumlu, hc-* önekli. */

/* ---------- Liste sayfası ---------- */
.hc-hero { position: relative; padding: 140px 0 46px; text-align: center; overflow: hidden; }
.hc-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hc-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; }
.hc-hero > .mk-shell > p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 auto 26px; max-width: 640px; }
.hc-search {
    display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 0 auto; padding: 0 18px; height: 56px; border-radius: 999px;
    background: var(--bg-surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); cursor: text;
}
.hc-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.hc-search svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.hc-search input { flex: 1; border: 0; background: transparent; color: var(--text-primary); font: inherit; font-size: 16px; outline: none; min-width: 0; }
.hc-hero-stats { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-size: 13.5px; color: var(--text-secondary); }
.hc-hero-stats span { display: inline-flex; align-items: center; gap: 6px; }
.hc-hero-stats svg { width: 16px; height: 16px; color: var(--accent); }

.hc-list-section { padding-top: 24px; }
.hc-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.hc-cats button {
    font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--border-strong); background: var(--bg-surface); color: var(--text-secondary);
}
.hc-cats button:hover { color: var(--text-primary); border-color: var(--accent-dim); }
.hc-cats button.active { background: var(--accent); border-color: var(--accent); color: #04121b; }

.hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hc-grid-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-card {
    display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
    background: var(--bg-surface); border: 1px solid var(--border); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hc-card:hover { transform: translateY(-3px); border-color: var(--accent-dim); box-shadow: var(--shadow); }
.hc-card[hidden] { display: none; }
.hc-card-cover { position: relative; aspect-ratio: 16 / 9; background: #08121c; overflow: hidden; }
.hc-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-card-cover-art { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(45, 212, 167, .35), transparent 55%), radial-gradient(circle at 80% 90%, rgba(74, 147, 255, .35), transparent 55%), #0a1622; }
.hc-card-icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #8ff0d2; }
.hc-card-icon svg { width: 36px; height: 36px; }
.hc-card-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(5, 11, 18, .72); color: #eef4f2; font-size: 12px; font-weight: 700; }
.hc-card-badge svg { width: 13px; height: 13px; }
.hc-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; flex: 1; }
.hc-card-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hc-card h2 { font-family: var(--font-display); font-size: 18px; line-height: 1.3; margin: 0; }
.hc-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.hc-card-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-muted); }
.hc-card-foot span { display: inline-flex; align-items: center; gap: 5px; }
.hc-card-foot svg { width: 15px; height: 15px; }
.hc-card-more { color: var(--accent2); font-weight: 600; }

.hc-empty { text-align: center; padding: 50px 20px; color: var(--text-secondary); }
.hc-empty[hidden] { display: none; }
.hc-empty svg { width: 40px; height: 40px; color: var(--text-muted); margin-bottom: 8px; }

.hc-help-cta {
    margin-top: 48px; padding: 26px 28px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent2-soft)); border: 1px solid var(--border-strong);
}
.hc-help-cta h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 4px; }
.hc-help-cta p { margin: 0; color: var(--text-secondary); }
.hc-help-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-body .hc-help-cta .mk-btn-primary, .mk-body .hc-side-cta .mk-btn-primary { color: #04121b; }

/* ---------- Rehber sayfası ---------- */
.hc-article-head { position: relative; padding: 128px 0 30px; overflow: hidden; }
.hc-article-head .mk-shell { position: relative; z-index: 1; }
.hc-crumb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.hc-crumb a { color: var(--accent2); text-decoration: none; }
.hc-crumb svg { width: 14px; height: 14px; }
.hc-article-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.8px; margin: 0 0 12px; max-width: 860px; }
.hc-lead { font-size: 17.5px; line-height: 1.6; color: var(--text-secondary); max-width: 760px; margin: 0 0 18px; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13.5px; color: var(--text-secondary); }
.hc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hc-meta svg { width: 15px; height: 15px; color: var(--text-muted); }
.hc-chip { padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-dim); color: var(--text-primary) !important; font-weight: 600; }
.hc-chip svg { color: var(--accent) !important; }

.hc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding-bottom: 60px; }
.hc-hero-video { margin: 0 0 30px; border-radius: 18px; overflow: hidden; background: #050b12; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.hc-hero-video video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #050b12; }

/* Rehber metni */
.hc-prose { font-size: 16.5px; line-height: 1.75; color: var(--text-primary); max-width: 760px; }
.hc-prose > :first-child { margin-top: 0; }
.hc-prose h2 { font-family: var(--font-display); font-size: 25px; line-height: 1.25; margin: 40px 0 12px; scroll-margin-top: 90px; }
.hc-prose h3 { font-family: var(--font-display); font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 90px; }
.hc-prose p { margin: 0 0 16px; }
.hc-prose ul, .hc-prose ol { margin: 0 0 18px; padding-left: 24px; }
.hc-prose li { margin: 0 0 8px; }
/* Yerleşik list-item sayacı <ol start="N"> değerine uyar: görselle bölünen adımlar 3, 4… diye sürer */
.hc-prose ol { list-style: none; padding-left: 0; }
.hc-prose ol > li { position: relative; padding-left: 42px; min-height: 30px; }
.hc-prose ol > li::before {
    content: counter(list-item); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-dim); color: var(--accent); font-weight: 800; font-size: 13.5px;
}
.hc-prose a { color: var(--accent2); }
.hc-prose strong { font-weight: 700; }
.hc-prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--bg-surface-2); border: 1px solid var(--border); }
.hc-prose hr { border: 0; border-top: 1px solid var(--border-strong); margin: 32px 0; }
.hc-prose .hc-inline { height: 1.4em; vertical-align: -.3em; border-radius: 4px; }
.hc-shot, .hc-video { margin: 22px 0 26px; }
.hc-shot a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); cursor: zoom-in; }
.hc-shot img { width: 100%; display: block; }
.hc-video video { width: 100%; display: block; border-radius: 14px; background: #050b12; border: 1px solid var(--border-strong); }
.hc-shot figcaption, .hc-video figcaption { margin-top: 9px; font-size: 13.5px; color: var(--text-muted); text-align: center; }
.hc-callout { margin: 20px 0 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid; font-size: 15.5px; line-height: 1.6; }
.hc-callout strong:first-child { margin-right: 2px; }
.hc-tip { background: var(--accent-soft); border-color: var(--accent-dim); }
.hc-tip strong:first-child { color: var(--accent); }
.hc-note { background: var(--accent2-soft); border-color: rgba(74, 147, 255, .35); }
.hc-note strong:first-child { color: var(--accent2); }
.hc-warn { background: rgba(240, 180, 41, .1); border-color: rgba(240, 180, 41, .4); }
.hc-warn strong:first-child { color: var(--warning); }
.hc-example { background: var(--bg-surface-2); border-color: var(--border-strong); }
.hc-example strong:first-child { color: var(--text-primary); }

/* Yan sütun */
.hc-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.hc-toc { padding: 18px 18px 12px; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border); }
.hc-toc h4 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.hc-toc ol { list-style: none; margin: 0; padding: 0; }
.hc-toc a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 9px; font-size: 14px; line-height: 1.35; color: var(--text-secondary); text-decoration: none; border-left: 2px solid transparent; }
.hc-toc a:hover { color: var(--text-primary); background: var(--bg-surface-2); }
.hc-toc a.active { color: var(--text-primary); border-left-color: var(--accent); background: var(--accent-soft); }
.hc-side-cta { padding: 20px; border-radius: 16px; text-align: center; background: linear-gradient(160deg, var(--accent-soft), var(--accent2-soft)); border: 1px solid var(--border-strong); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hc-side-cta img { border-radius: 50%; background: #0a1622; }
.hc-side-cta p { margin: 0 0 6px; font-size: 13.5px; color: var(--text-secondary); }
.hc-side-cta .mk-btn { width: 100%; justify-content: center; }
.hc-copy { margin-top: 4px; border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.hc-copy:hover { color: var(--accent); }
.hc-copy svg { width: 15px; height: 15px; }

.hc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; max-width: 760px; }
.hc-pager-item { padding: 16px 18px; border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.hc-pager-item:hover { border-color: var(--accent-dim); }
.hc-pager-item span { font-size: 12.5px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.hc-pager-item svg { width: 14px; height: 14px; }
.hc-pager-item b { font-family: var(--font-display); font-size: 15.5px; }
.hc-pager-next { text-align: right; align-items: flex-end; }
.hc-related { padding-top: 0; }
.hc-related h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 16px; }

.hc-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(4, 10, 16, .88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.hc-lightbox[hidden] { display: none; }
.hc-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.hc-lightbox p { color: #dbe7ee; margin: 12px 0 0; font-size: 14px; }
.hc-lightbox-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }

@media (max-width: 980px) {
    .hc-grid, .hc-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-layout { grid-template-columns: 1fr; gap: 24px; }
    .hc-side { position: static; order: -1; }
    .hc-side-cta { display: none; }
}
@media (max-width: 620px) {
    .hc-hero { padding: 110px 0 30px; }
    .hc-grid, .hc-grid-sm { grid-template-columns: 1fr; }
    .hc-article-head { padding: 104px 0 20px; }
    .hc-prose { font-size: 16px; }
    .hc-pager { grid-template-columns: 1fr; }
    .hc-help-cta { padding: 20px; }
}
