/* harmyo.com/yardim public help pages (templates/help_public.html) */
:root { --ink: #1d3129; --muted: #56695c; --line: #e3dfd3; --paper: #f6f4ee; --card: #fff; --forest: #173c33; --green: #27765b; --lime: #d2e99e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
a { color: var(--green); }
.hp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 20px; }
.hp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.hp-logo svg { width: 34px; height: 34px; }
.hp-top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.hp-top nav a { color: var(--ink); text-decoration: none; }
.hp-top nav a[aria-current] { font-weight: 600; }
.hp-login { padding: 8px 16px; border-radius: 999px; background: var(--forest); color: #fff !important; font-weight: 600; }
.hp-main { max-width: 1120px; margin: 0 auto; padding: 8px 20px 40px; }
.hp-hero { padding: 28px 0 26px; max-width: 760px; }
.hp-eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--green); }
h1 { margin: 0 0 12px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.02em; }
.hp-hero p { margin: 0; font-size: 18px; color: var(--muted); }
.hp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.hp-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius, 18px); overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.hp-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(23, 60, 51, .35); }
.hp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--forest); }
.hp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: var(--radius-xs, 6px); background: rgba(15, 30, 25, .8); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.hp-card-body h2, .hp-card-body h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.hp-card-body span { font-size: 14px; color: var(--muted); }
.hp-crumbs { display: flex; gap: 8px; padding: 18px 0 6px; font-size: 14px; color: var(--muted); }
.hp-crumbs a { color: var(--muted); }
.hp-article { max-width: 860px; }
.hp-lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.hp-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius, 18px); overflow: hidden; background: #0f1e19; margin-bottom: 28px; }
.hp-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hp-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.hp-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-play-icon { position: absolute; left: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(23, 60, 51, .9); color: var(--lime); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transition: transform .18s ease; }
.hp-play-icon svg { width: 28px; height: 28px; margin-left: 4px; }
.hp-play:hover .hp-play-icon, .hp-play:focus-visible .hp-play-icon { transform: scale(1.08); }
.hp-play:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.hp-section { margin: 0 0 26px; }
.hp-section h2, .hp-more h2, .hp-cta h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -.01em; }
.hp-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hp-chapters a { display: flex; gap: 14px; padding: 8px 10px; border-radius: var(--radius-md, 10px); color: var(--ink); text-decoration: none; }
.hp-chapters a:hover { background: #ece9df; }
.hp-chapters span { min-width: 40px; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.hp-transcript { margin: 0; color: var(--muted); }
.hp-note { font-size: 13px; color: var(--muted); }
.hp-more { margin-top: 40px; }
.hp-cta { margin-top: 44px; padding: 26px; border-radius: 20px; background: var(--forest); color: #fff; }
.hp-cta p { margin: 0 0 16px; color: #dfe9e2; max-width: 720px; }
.hp-cta a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--forest); font-weight: 700; text-decoration: none; }
.hp-foot { max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.hp-foot a { color: var(--muted); }
@media (max-width: 560px) { .hp-top nav a:not(.hp-login) { display: none; } .hp-play-icon { width: 50px; height: 50px; left: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .hp-card, .hp-play-icon { transition: none; } .hp-card:hover { transform: none; } }

/* Search uses native forms, search input, reset buttons and topic radio controls. */
.hp-discovery{margin:0 0 22px}
.hp-search>label{display:block;margin-bottom:10px;font-size:15px;font-weight:650}
.hp-search-field{display:flex;align-items:center;gap:12px;padding:6px 7px 6px 17px;border:1px solid #9ba99d;border-radius:14px;background:var(--card)}
.hp-search-field:focus-within{outline:3px solid #27765b35;outline-offset:2px;border-color:var(--green)}
.hp-search-field>svg{width:22px;height:22px;flex:0 0 auto;color:var(--muted)}
.hp-search-field input{width:100%;min-width:0;min-height:44px;padding:5px 0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:16px}
.hp-search-field input::placeholder{color:var(--muted);opacity:1}
.hp-search button,.hp-search-empty button{min-height:44px;padding:9px 22px;border:1px solid var(--forest);border-radius:9px;background:var(--forest);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.hp-search-tip{margin:9px 0 22px;color:var(--muted);font-size:12px;line-height:1.6}
.hp-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}
.hp-topics legend{margin:0 0 10px;padding:0;font-size:12px;font-weight:600;color:var(--muted)}
.hp-topics input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hp-topics label{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:13px;line-height:1.3;cursor:pointer}
.hp-topics input:checked+label{border-color:var(--forest);background:var(--forest);color:#fff}
.hp-topics input:focus-visible+label{outline:3px solid var(--green);outline-offset:3px}
.hp-topic-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding-inline:4px;border-radius:999px;background:#edf0e8;color:var(--forest);font-size:12px;font-variant-numeric:tabular-nums}
.hp-topics input:checked+label .hp-topic-count{background:var(--lime)}
.hp-results-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;margin-top:16px}
.hp-results-bar p{margin:0;color:var(--muted);font-size:13px}
.hp-reset{min-height:44px;padding:8px 0 8px 10px;border:0;background:none;color:var(--green);font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.hp-grid[hidden],.hp-grid>li[hidden],.hp-search-empty[hidden],.hp-reset[hidden]{display:none!important}
.hp-card-body .hp-topic-tag{align-self:flex-start;margin-bottom:4px;color:var(--green);font-size:12px;font-weight:600}
.hp-search-empty{padding:44px 24px;border:1px solid var(--line);border-radius:18px;background:var(--card);text-align:center}
.hp-search-empty>svg{width:34px;height:34px;margin-bottom:10px;color:var(--green)}
.hp-search-empty h2{margin:0 0 8px;font-size:23px;letter-spacing:-.02em}
.hp-search-empty p{margin:0 auto 22px;max-width:450px;color:var(--muted)}
.hp-article-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px}
.hp-article-nav a{display:flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:13px;text-decoration:none}
.hp-article .hp-section{scroll-margin-top:24px}
.hp-cta a{margin:0 10px 8px 0;min-height:44px}
.hp-cta .hp-about-link{background:transparent;color:#fff;border:1px solid #ffffff65;font-weight:500}
.hp-main :is(a,button):not(.hp-play):focus-visible{outline:3px solid var(--green);outline-offset:4px}
.hp-cta :is(a,button):focus-visible{outline-color:var(--lime)}
.hp-logo,.hp-top nav a,.hp-foot a,.hp-crumbs a{display:inline-flex;align-items:center;min-height:44px}
.hp-crumbs{align-items:center;flex-wrap:wrap}
@media(max-width:560px){.hp-hero{padding-top:18px}.hp-search-field{gap:9px;padding-left:12px}.hp-search-field>svg{width:20px;height:20px}.hp-search button{padding-inline:16px}.hp-results-bar{align-items:flex-start;flex-direction:column;gap:0}.hp-reset{padding-left:0}.hp-topics label{padding-inline:11px;font-size:12px}.hp-search-empty{padding:32px 18px}.hp-cta{padding:23px}.hp-article-nav a{font-size:12px}}
