/* VoltHaber – herkese açık sayfalar ve editör paneli. css/style.css değişkenlerini kullanır; mobil öncelikli. */
.vh { overflow-x: clip; }
.vh-wrap { max-width: var(--container-max, 1180px); margin: 0 auto; padding: 0 var(--container-pad, 1rem); }
.vh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Manşet bandı */
.vh-mast { background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-navy) 100%); color: #fff; padding: 1.6rem 0 1.4rem; }
.vh-mast__kicker { margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.vh-logo { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; letter-spacing: 0; text-transform: none; color: #fff; }
.vh-logo b { color: var(--clr-accent); }
.vh-mast h1 { font-family: var(--font-heading); color: #fff; font-size: clamp(1.35rem, 4.2vw, 2.1rem); line-height: 1.22; margin: 0 0 .55rem; max-width: 46rem; overflow-wrap: anywhere; }
.vh-mast__lead { color: rgba(255,255,255,.82); max-width: 44rem; margin: 0 0 1rem; line-height: 1.6; font-size: .98rem; }
.vh-search { display: flex; gap: .5rem; max-width: 34rem; }
.vh-search input { flex: 1; min-width: 0; padding: .7rem .9rem; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.35); font-size: 1rem; background: var(--th-surface); color: var(--clr-text); }
.vh-search .btn { padding: .65rem 1.1rem; white-space: nowrap; }

/* Kategori şeridi */
.vh-cats { display: flex; gap: .4rem; overflow-x: auto; padding: .9rem 0 .5rem; scrollbar-width: thin; }
.vh-cats a { flex: 0 0 auto; padding: .45rem .85rem; border-radius: var(--r-full); border: 1px solid var(--clr-border); background: var(--th-surface); color: var(--th-heading); font-size: .85rem; font-weight: 600; text-decoration: none; }
.vh-cats a:hover { border-color: var(--clr-accent); }
.vh-cats a[aria-current="page"] { background: var(--clr-dark); border-color: var(--clr-dark); color: #fff; }

/* Üst bölüm: manşet + son eklenenler */
.vh-top { display: grid; gap: 1rem; margin: .8rem 0 .4rem; }
.vh-mini-h { font-family: var(--font-heading); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--clr-text-muted); margin: 0 0 .4rem; }
.vh-top__latest { display: grid; gap: .1rem; }

/* Kartlar */
.vh-card { background: var(--th-surface); border: 1px solid var(--clr-border); border-radius: var(--r-md); padding: 1rem 1.05rem; min-width: 0; }
.vh-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-bottom: .45rem; }
.vh-card__cat { font-size: .78rem; font-weight: 600; color: var(--clr-accent-text); text-decoration: none; }
.vh-card__title { font-family: var(--font-heading); font-size: 1.06rem; line-height: 1.32; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.vh-card__title a { color: var(--th-heading); text-decoration: none; }
.vh-card__title a:hover, .vh-card__title a:focus-visible { text-decoration: underline; text-decoration-color: var(--clr-accent); }
.vh-card__sum { color: var(--clr-text-muted); font-size: .92rem; line-height: 1.6; margin: 0 0 .5rem; }
.vh-card__foot { margin: 0; font-size: .78rem; color: var(--clr-text-muted); }
.vh-card--hero { padding: 1.4rem; border-top: 4px solid var(--clr-accent); }
.vh-card--hero .vh-card__title { font-size: clamp(1.3rem, 3.6vw, 1.75rem); }
.vh-card--hero .vh-card__sum { font-size: 1rem; }
.vh-card--compact { border: 0; border-bottom: 1px solid var(--clr-border); border-radius: 0; padding: .7rem 0; background: transparent; }
.vh-card--compact .vh-card__title { font-size: .98rem; margin-bottom: .25rem; }
.vh-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .03em; padding: .15rem .5rem; border-radius: var(--r-full); background: var(--th-surface-4); color: var(--clr-text); }
.vh-badge--analiz { background: var(--th-tint-amber-2); color: var(--th-amber-ink-2); }
.vh-badge--resmi { background: var(--th-tint-blue-2); color: var(--th-blue-ink); }
.vh-badge--kaynak { background: var(--th-surface-4); color: var(--th-text-2); }

/* Bölümler */
.vh-cols { display: grid; gap: 1.6rem; padding-bottom: 3rem; }
.vh-col-main, .vh-col-side { min-width: 0; }
.vh-sec { margin: 1.6rem 0 0; }
.vh-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--clr-dark); margin-bottom: .9rem; }
.vh-sec__head h2 { font-family: var(--font-heading); font-size: 1.2rem; margin: 0 0 .4rem; color: var(--th-heading); }
.vh-more { font-size: .85rem; font-weight: 600; color: var(--clr-accent-text); text-decoration: none; padding: .3rem 0; }
.vh-grid { display: grid; gap: .8rem; }
.vh-empty { color: var(--clr-text-muted); padding: 1rem 0; }

/* Yan sütun */
.vh-col-side > * + * { margin-top: 1.2rem; }
.vh-rank, .vh-tools, .vh-news { background: var(--th-surface); border: 1px solid var(--clr-border); border-radius: var(--r-md); padding: 1rem 1.1rem; }
.vh-col-side .vh-rank:first-child, .vh-col-side > :first-child { margin-top: 1.6rem; }
.vh-rank h2, .vh-tools h2, .vh-news h2 { font-family: var(--font-heading); font-size: 1.02rem; margin: 0 0 .6rem; color: var(--th-heading); }
.vh-rank ol { margin: 0; padding-left: 1.3rem; }
.vh-rank li { margin: .45rem 0; line-height: 1.45; font-size: .92rem; }
.vh-rank a, .vh-tools a { color: var(--th-heading); }
.vh-tools ul { margin: 0; padding: 0; list-style: none; }
.vh-tools li { border-top: 1px solid var(--clr-border); }
.vh-tools li:first-child { border-top: 0; }
.vh-tools li a { display: block; padding: .55rem 0; font-size: .92rem; text-decoration: none; }
.vh-tools li a::after { content: " →"; color: var(--clr-accent-text); }
.vh-policy { font-size: .82rem; color: var(--clr-text-muted); }
.vh-policy a { color: var(--clr-accent-text); }

/* Bülten */
.vh-news { background: var(--th-tint-amber); border-color: var(--th-amber-line); }
.vh-news p { font-size: .9rem; color: var(--clr-text); line-height: 1.55; margin: 0 0 .7rem; }
.vh-news__form { display: grid; gap: .55rem; }
.vh-news__form > label { font-size: .85rem; font-weight: 600; }
.vh-news__form input[type="email"] { padding: .65rem .8rem; border: 1px solid #d6c27c; border-radius: var(--r-sm); font-size: 1rem; min-width: 0; width: 100%; box-sizing: border-box; }
.vh-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .8rem; line-height: 1.5; }
.vh-consent input { margin-top: .2rem; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; }
.vh-legal { margin: 0 0 .6rem; }
.vh-legal__t { margin: 0 0 .2rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.vh-legal__p { margin: 0; font-size: .8rem; line-height: 1.5; }
.vh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vh-news__msg { min-height: 1.2em; margin: 0 !important; font-size: .85rem !important; }
.vh-news__msg.is-error { color: var(--th-red-ink); }
.vh-news__msg.is-ok { color: var(--th-green-ink); }

/* Sayfalama */
.vh-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; margin: 1.4rem 0 0; font-size: .9rem; }
.vh-pager a { padding: .5rem .9rem; border: 1px solid var(--clr-border); border-radius: var(--r-sm); background: var(--th-surface); color: var(--th-heading); text-decoration: none; font-weight: 600; }

/* Yazı sayfası */
.vh-crumb { max-width: 820px; }
.vh-article { padding-bottom: 1.5rem; }
.vh-article h1 { overflow-wrap: anywhere; }
.vh-article__kick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .6rem; }
.vh-article__kick .article__cat { margin: 0; text-decoration: none; }
.vh-byline { font-size: .85rem; color: var(--clr-text-muted); margin: 0 0 1rem !important; }
.vh-body h2 { margin-top: 1.8rem; }
.vh-body ul.article__list { list-style: disc; padding-left: .4rem; }
.vh-body ol.article__list { list-style: decimal; padding-left: .4rem; }
.vh-body h3 { font-family: var(--font-heading); font-size: 1.15rem; margin: 1.4rem 0 .6rem; color: var(--th-heading); }
.vh-body blockquote { margin: 1.4rem 0; padding: .9rem 1.1rem; border-left: 4px solid var(--clr-accent); background: var(--clr-bg); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.vh-body blockquote p { margin: 0; font-size: .93rem; }
.vh-body code { font-size: .88em; background: var(--clr-bg-gray); padding: .1em .3em; border-radius: 4px; }
.vh-body a, .vh-source a:not(.btn) { overflow-wrap: anywhere; }
.vh-figure { margin: 0 0 1.4rem; }
.vh-figure img { width: 100%; height: auto; border-radius: var(--r-md); display: block; }
.vh-figure figcaption { font-size: .78rem; color: var(--clr-text-muted); margin-top: .35rem; }
.vh-note { font-size: .88rem !important; background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r-sm); padding: .7rem .9rem; }
.vh-source { margin: 1.8rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid var(--clr-border); border-left: 4px solid var(--clr-electric); border-radius: var(--r-sm); background: var(--th-surface-2); }
.vh-source h2 { font-size: .85rem !important; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 .4rem !important; color: var(--clr-text-muted) !important; }
.vh-source p { margin: 0 0 .6rem !important; }
.vh-source .btn { white-space: normal; text-align: center; max-width: 100%; }
.vh-source__note { font-size: .8rem !important; color: var(--clr-text-muted) !important; margin: 0 !important; }
.vh-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0 !important; }
.vh-tags a { font-size: .8rem; padding: .3rem .65rem; border-radius: var(--r-full); background: var(--clr-bg-gray); color: var(--th-heading) !important; text-decoration: none !important; }
.vh-share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1.2rem 0; padding: .9rem 0; border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }
.vh-share__label { font-size: .85rem; font-weight: 700; margin-right: .2rem; }
.vh-share a, .vh-copy { font: inherit; font-size: .82rem; font-weight: 600; padding: .45rem .75rem; border-radius: var(--r-sm); border: 1px solid var(--clr-border); background: var(--th-surface); color: var(--th-heading) !important; text-decoration: none !important; cursor: pointer; }
.vh-share a:hover, .vh-copy:hover { border-color: var(--clr-accent); }
.vh-article .vh-tools { margin-top: 1.2rem; }
.vh-after { padding-bottom: 3rem; }
.vh-after .vh-news { max-width: 820px; margin: 1.6rem auto 0; }
.vh-msg { padding: 3rem var(--container-pad, 1rem) 4rem; max-width: 720px; }
.vh-msg h1 { font-family: var(--font-heading); }
.vh-static { background: var(--th-surface); border: 1px solid var(--clr-border); border-radius: var(--r-md); padding: 1.2rem; margin-top: 1.6rem; }
.vh-static h2 { font-family: var(--font-heading); font-size: 1.15rem; margin: 0 0 .5rem; }
.vh-subpage .btn { margin: .4rem .4rem 0 0; }

@media (min-width: 760px) {
  .vh-top { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .vh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-grid--list { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
  .vh-cols { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .vh-col-side { position: sticky; top: 5.5rem; }
}

/* ===================================================== editör paneli (hesap/volthaber-panel.html) */
.vhp { max-width: 1240px; margin: 0 auto; padding: 1.2rem var(--container-pad, 1rem) 3rem; }
.vhp h1 { font-family: var(--font-heading); font-size: clamp(1.35rem, 4vw, 1.9rem); margin: 0 0 .3rem; }
.vhp-lead { color: var(--clr-text-muted); margin: 0 0 1rem; font-size: .92rem; }
.vhp-tabs { display: flex; gap: .3rem; overflow-x: auto; border-bottom: 2px solid var(--clr-border); margin-bottom: 1rem; }
.vhp-tabs button { flex: 0 0 auto; font: inherit; font-size: .88rem; font-weight: 600; padding: .6rem .85rem; border: 0; background: none; color: var(--clr-text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.vhp-tabs button[aria-selected="true"] { color: var(--th-heading); border-bottom-color: var(--clr-accent); }
.vhp-panel[hidden] { display: none; }
.vhp-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.vhp-bar input, .vhp-bar select { padding: .5rem .6rem; border: 1px solid var(--clr-border); border-radius: var(--r-sm); font: inherit; font-size: .9rem; min-width: 0; }
.vhp-btn { font: inherit; font-size: .85rem; font-weight: 600; padding: .5rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--clr-border); background: var(--th-surface); color: var(--th-heading); cursor: pointer; }
.vhp-btn:hover { border-color: var(--clr-accent); }
.vhp-btn--primary { background: var(--clr-dark); border-color: var(--clr-dark); color: #fff; }
.vhp-btn--accent { background: var(--clr-accent); border-color: var(--clr-accent); color: var(--clr-dark); }
.vhp-btn--danger { color: var(--th-red-ink); }
.vhp-btn:disabled { opacity: .55; cursor: not-allowed; }
.vhp-table-wrap { overflow-x: auto; border: 1px solid var(--clr-border); border-radius: var(--r-sm); background: var(--th-surface); }
.vhp-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.vhp-table th, .vhp-table td { text-align: left; padding: .55rem .65rem; border-bottom: 1px solid var(--clr-border); vertical-align: top; }
.vhp-table th { background: var(--clr-bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--clr-text-muted); }
.vhp-table td .vhp-btn { margin: 0 .25rem .25rem 0; padding: .3rem .55rem; font-size: .8rem; }
.vhp-st { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: var(--r-full); background: var(--th-surface-4); }
.vhp-st--published { background: var(--th-tint-green-2); color: var(--th-green-ink); }
.vhp-st--scheduled { background: var(--th-tint-blue-2); color: var(--th-blue-ink); }
.vhp-st--archived { background: var(--th-surface-3); color: var(--th-text-2); }
.vhp-st--draft { background: var(--th-tint-amber-2); color: var(--th-amber-ink-2); }
.vhp-flag { font-size: .72rem; color: var(--clr-accent-text); display: block; }
.vhp-editor { display: grid; gap: 1rem; }
.vhp-form { display: grid; gap: .7rem; min-width: 0; }
.vhp-form fieldset { border: 1px solid var(--clr-border); border-radius: var(--r-sm); padding: .7rem .8rem .8rem; margin: 0; display: grid; gap: .6rem; min-width: 0; }
.vhp-form legend { font-weight: 700; font-size: .85rem; padding: 0 .3rem; }
.vhp-field { display: grid; gap: .25rem; min-width: 0; }
.vhp-field label { font-size: .82rem; font-weight: 600; }
.vhp-field small { font-size: .75rem; color: var(--clr-text-muted); }
.vhp-field input, .vhp-field select, .vhp-field textarea { font: inherit; font-size: .92rem; padding: .5rem .6rem; border: 1px solid var(--clr-border); border-radius: var(--r-sm); width: 100%; box-sizing: border-box; min-width: 0; }
.vhp-field textarea { resize: vertical; line-height: 1.5; }
.vhp-field.has-error input, .vhp-field.has-error textarea, .vhp-field.has-error select { border-color: #b91c1c; }
.vhp-field .vhp-err { color: var(--th-red-ink); font-size: .78rem; }
.vhp-row { display: grid; gap: .6rem; }
.vhp-check { display: flex; gap: .45rem; align-items: center; font-size: .86rem; }
.vhp-preview { border: 1px solid var(--clr-border); border-radius: var(--r-sm); background: var(--th-surface); padding: 0 1rem 1rem; min-width: 0; }
.vhp-preview .article { padding: 0; max-width: none; }
.vhp-preview h1 { font-size: 1.5rem !important; }
.vhp-preview__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--clr-text-muted); padding: .6rem 0; border-bottom: 1px dashed var(--clr-border); margin-bottom: .8rem; }
.vhp-alert { padding: .7rem .9rem; border-radius: var(--r-sm); margin: 0 0 .8rem; font-size: .88rem; border: 1px solid var(--clr-border); background: var(--clr-bg); }
.vhp-alert--error { background: var(--th-tint-red); border-color: var(--th-red-line); color: var(--th-red-ink); }
.vhp-alert--ok { background: var(--th-tint-green); border-color: var(--th-green-line); color: var(--th-green-ink); }
.vhp-alert[hidden] { display: none; }
.vhp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.vhp-stat { background: var(--th-surface); border: 1px solid var(--clr-border); border-radius: var(--r-sm); padding: .7rem .8rem; }
.vhp-stat b { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--th-heading); }
.vhp-stat span { font-size: .78rem; color: var(--clr-text-muted); }
.vhp-social { display: grid; gap: 1rem; }
.vhp-social textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: .88rem; line-height: 1.5; padding: .6rem; border: 1px solid var(--clr-border); border-radius: var(--r-sm); }
.vhp-social canvas { width: 100%; max-width: 540px; height: auto; border: 1px solid var(--clr-border); border-radius: var(--r-sm); display: block; }
.vhp-src-notes { font-size: .78rem; color: var(--clr-text-muted); max-width: 32rem; }
.vhp-muted { color: var(--clr-text-muted); font-size: .85rem; }
.vhp-gate { padding: 2rem 0; }
@media (min-width: 700px) { .vhp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vhp-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .vhp-preview { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow: auto; } .vhp-social { grid-template-columns: 1fr 1fr; } }

/* Yayın akışı: tarih satırı, ayrılmış bölümler, kaynak listesi, onay durumu, güncellik */
.vh-dates { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 .5rem; font-size: .85rem; color: var(--clr-text-muted); }
.vh-dates div { display: flex; gap: .35rem; }
.vh-dates dt { font-weight: 700; color: var(--clr-dark); }
.vh-dates dt::after { content: ":"; }
.vh-dates dd { margin: 0; }
.vh-lead { margin: 1rem 0; }
.vh-lead__t, .vh-impact h2, .vh-opinion h2, .vh-review h2, .vh-fresh h2 { font-size: .85rem !important; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 .4rem !important; }
.vh-lead__t { color: var(--clr-text-muted) !important; }
.vh-lead__src { font-size: .8rem !important; color: var(--clr-text-muted) !important; margin: .3rem 0 0 !important; }
.vh-impact { margin: 1.8rem 0 1rem; padding: 1rem 1.15rem; border: 1px solid #fde68a; border-left: 4px solid var(--clr-accent); border-radius: var(--r-sm); background: #fffbeb; }
.vh-opinion { margin: 1.4rem 0 1rem; padding: 1rem 1.15rem; border: 1px dashed var(--clr-dark); border-radius: var(--r-sm); background: #fff; }
.vh-opinion__note { font-size: .8rem !important; font-style: italic; color: var(--clr-text-muted) !important; margin: 0 0 .6rem !important; }
.vh-impact > :last-child, .vh-opinion > :last-child { margin-bottom: 0 !important; }
.vh-source__list { margin: 0 0 .6rem; padding-left: 1.2rem; }
.vh-source__list li { margin: 0 0 .45rem; line-height: 1.5; }
.vh-source__date { font-size: .82rem; color: var(--clr-text-muted); }
.vh-source__list .vh-source__note { display: block; }
.vh-review { margin: 1.4rem 0 1rem; padding: .9rem 1.15rem; border: 1px solid var(--clr-border); border-radius: var(--r-sm); background: var(--clr-bg); font-size: .9rem; }
.vh-review h2 { color: var(--clr-text-muted) !important; }
.vh-review__steps { margin: 0 0 .5rem; padding-left: 1.2rem; }
.vh-review__steps li { margin: 0 0 .2rem; }
.vh-review__steps li.is-open { color: #b45309; }
.vh-review__note, .vh-review p { font-size: .8rem !important; color: var(--clr-text-muted) !important; margin: 0 !important; }
.vh-fresh { margin: 0 0 1.2rem; padding: .9rem 1rem; border: 1px solid var(--clr-border); border-radius: var(--r-md); background: #fff; font-size: .88rem; line-height: 1.55; }
.vh-fresh p { margin: 0 0 .4rem; }
.vh-fresh__warn { color: #92400e; background: #fffbeb; border-radius: var(--r-sm); padding: .5rem .6rem; }

/* Editör paneli: yayın akışı kutusu */
.vhp-flow { margin: 1rem 0; padding: 1rem; border: 1px solid var(--clr-border); border-radius: var(--r-md); background: #fff; font-size: .9rem; }
.vhp-flow__steps { display: grid; gap: .35rem; margin: 0 0 .8rem; padding-left: 1.3rem; }
.vhp-flow__steps li.is-done { color: #166534; }
.vhp-flow__steps li.is-now { font-weight: 700; color: var(--clr-dark); }
.vhp-flow__hist { padding-left: 1.2rem; font-size: .82rem; }
.vhp-hold { margin-top: .8rem; }
.vhp-hold summary { cursor: pointer; font-weight: 600; }
