/* K4b news cover, headline on the image (Omer 7 Nov 2026 12:45, via Mark; reference tasarim/OnchainBeat-2026-11-06/tur4/src/k4b.css + k1.css).
   Loaded only on a news story page that has a cover (class sv-cover--k4b); Learn keeps the full-width cover.
   Desktop (>=641px): the section is the frame: in the site column, at most 1200px wide and at most 58vh tall (2.1:1 box), page background around it.
   Every news cover (wide 2.1:1 or 3:2 source) takes the same frame: object-fit:cover around the topic focus (--cy), no blur, no padding (site 7 Nov, kapak-fit).
   Chip + headline + shade sit at the bottom-left inside the frame (same look as the Learn hero cover). Phone (<=640px): nothing here applies, the 3:2 cover with the headline below stays. */
@media (min-width:641px){
/* the header floats over the cover on phone only: on desktop it is the normal paper header above the frame */
body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over{position:sticky;color:var(--rink);--bg:var(--rbg);--text:var(--rink);--muted:var(--rmuted);--line:var(--rline);--accent:var(--racc);--surface:var(--rbg);--sbg:var(--rbg);--sline:var(--rline);--nav-dim:var(--rmuted);--nav-hi:var(--rink);--nav-cur:var(--racc)}
body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over::after{opacity:1;background:var(--rbg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom-color:var(--rline)}
body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over::before{display:none}
body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over .hsearch__box{color:var(--rink)}
[data-theme="light"] body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over .logo .l-dark{display:none}
[data-theme="light"] body:has(.sv-cover--k4b:not(.sv-cover--text)) .hdr--over .logo .l-light{display:block}
.sv-cover.sv-cover--k4b:not(.sv-cover--text){height:auto;aspect-ratio:2520/1200;width:min(calc(100% - 2*var(--edge)),1200px,calc(58vh * 2.1));margin:28px auto 0;border-radius:4px;overflow:hidden;isolation:isolate;background:#070B14;color:#fff}
.sv-cover--k4b:not(.sv-cover--text)>picture{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;z-index:1}
.sv-cover.sv-cover--k4b:not(.sv-cover--text) .sv-cover__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% var(--cy,30%);z-index:1}
.sv-cover.sv-cover--k4b:not(.sv-cover--text) .sv-cover__shade{position:absolute;inset:0;height:auto;z-index:2;pointer-events:none;background:radial-gradient(ellipse 66% 82% at 0% 100%,rgba(7,11,20,.88) 0,rgba(7,11,20,.76) 28%,rgba(7,11,20,.56) 46%,rgba(7,11,20,.32) 62%,rgba(7,11,20,.12) 80%,rgba(7,11,20,0) 100%)} /* site 7 Nov (Omer via Mark): side bands carry the picture colour, not black; shade only bottom-left */
.sv-cover.sv-cover--k4b:not(.sv-cover--text) .sv-cover__in{position:absolute;inset:0;display:flex;align-items:flex-end;padding:0 40px 40px;z-index:3}
.sv-cover--k4b .sv-cover__in.wrap{max-width:none}
.sv-cover--k4b .sv-cover__copy{max-width:min(860px,88%);text-align:left}
.sv-cover.sv-cover--k4b:not(.sv-cover--text) .sv-cover__t{color:#fff;font-size:clamp(26px,3.4vw,48px);line-height:1.05;text-shadow:0 1px 3px rgba(7,11,20,.45),0 1px 20px rgba(7,11,20,.5)} /* kucuk-notlar c: 3+ line headlines reach the weaker part of the shade; tight shadow keeps them legible (5 lines at 1440 still inside the frame) */
.sv-cover--k4b:not(.sv-cover--text) + .sv{padding-top:32px}
}
@media (min-width:641px) and (max-width:820px){
.sv-cover.sv-cover--k4b:not(.sv-cover--text) .sv-cover__in{padding:0 24px 24px}
}
/* rule 116 C (Omer 7 Nov): where the story grid shows (>= 1024 px) the cover is the grid's width (1116 px, shrinking with it), its left edge
   on the body's, its right edge on the side column's; headline stays on the picture. Phone and 641-1023 px unchanged. */
@media (min-width:1024px){
  .sv-cover.sv-cover--k4b:not(.sv-cover--text){width:min(1116px,calc(100% - 64px));margin:28px auto 0}
}
