/* Stockertim Press Releases — shared styles for press.php + press-release.php.
   Mirrors the Notebook (nbk-*) visual language: dark canvas, cyan accents,
   hero, mini-markdown body, card grid. styles.css locks page scroll, so we
   restore it here. */
html, body { height:auto !important; overflow:visible !important; }
body{
  margin:0;background:#04060a;color:rgba(240,245,255,.92);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  min-height:100vh;-webkit-overflow-scrolling:touch;
}

/* Top bar */
.pr-top{
  position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:14px;
  padding:10px 22px;height:52px;background:rgba(4,6,10,.92);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(156,180,255,.10);
}
.pr-back,.pr-link{
  display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;border-radius:8px;
  border:1px solid rgba(68,241,255,.18);background:rgba(10,16,29,.9);
  font-size:.70rem;font-weight:700;letter-spacing:.08em;color:#44f1ff;text-decoration:none;cursor:pointer;
}
.pr-back:hover,.pr-link:hover{border-color:rgba(68,241,255,.4)}
.pr-top-title{flex:1;font-size:.78rem;font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.85);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.pr-wrap{max-width:1080px;margin:0 auto;padding:0 22px 80px}

/* List header */
.pr-head{margin-top:30px;margin-bottom:8px}
.pr-head h1{margin:0 0 6px;font-size:clamp(1.6rem,3.2vw,2.4rem);font-weight:800;color:#fff;letter-spacing:-.01em}
.pr-head p{margin:0;font-size:.92rem;line-height:1.55;color:rgba(255,255,255,.78);max-width:640px}

/* Card grid */
.pr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin-top:24px}
.pr-card{
  position:relative;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:inherit;
  background:rgba(11,15,22,.7);border:1px solid rgba(156,180,255,.10);border-radius:14px;
  transition:transform .15s,border-color .15s,background .15s;
}
.pr-card:hover{transform:translateY(-2px);border-color:rgba(68,241,255,.4);background:rgba(11,15,22,.95)}
.pr-cover{width:100%;aspect-ratio:16/9;background:#0a0d17;border-bottom:1px solid rgba(156,180,255,.08);
  background-size:cover;background-position:center}
.pr-cover-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;font-weight:800;
  letter-spacing:.16em;color:#fff;text-transform:uppercase;
  background:linear-gradient(135deg,rgba(0,166,81,.18),rgba(68,241,255,.12) 60%,rgba(255,204,102,.10))}
.pr-card-body{padding:16px 18px;display:flex;flex-direction:column;flex:1;gap:8px}
.pr-cat{align-self:flex-start;font-size:.56rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:#9ff3ff;padding:3px 8px;border-radius:999px;background:rgba(68,241,255,.10);border:1px solid rgba(68,241,255,.3)}
.pr-card-title{font-size:1.05rem;font-weight:700;line-height:1.3;color:#fff}
.pr-card-sub{font-size:.8rem;line-height:1.5;color:rgba(255,255,255,.78);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pr-card-foot{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:.6rem;color:rgba(255,255,255,.7);border-top:1px solid rgba(156,180,255,.07)}
.pr-empty{grid-column:1/-1;padding:48px 22px;text-align:center;color:rgba(255,255,255,.78);font-size:.9rem;
  line-height:1.55;border:1px dashed rgba(156,180,255,.15);border-radius:14px}

/* Single-article: standalone cover image, then the headline below it */
.pr-doc{max-width:880px;margin:0 auto;padding:0 22px 90px}
/* Fixed template space: every cover fills the same 16/9 box, scaled to cover —
   larger or smaller source images conform without overflowing or distorting. */
.pr-cover-img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;object-position:center;
  border-radius:16px;border:1px solid rgba(156,180,255,.10);background:#0a0d17;margin-top:28px}
.pr-headline{margin:22px 0 4px;padding-bottom:20px;border-bottom:1px solid rgba(156,180,255,.10)}
.pr-kicker{display:inline-flex;align-items:center;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:.7rem;font-weight:700;letter-spacing:.1em;color:#44f1ff}
.pr-h1{margin:12px 0 6px;font-size:clamp(1.7rem,3.4vw,2.7rem);font-weight:800;line-height:1.18;color:#fff;letter-spacing:-.01em}
.pr-meta{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}
.pr-chip{font-size:.58rem;font-weight:700;letter-spacing:.08em;padding:3px 10px;border-radius:999px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.85)}

.pr-section{margin-top:32px}
.pr-section-title{font-size:.66rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(255,255,255,.78);margin:0 0 12px;display:flex;align-items:center;gap:10px}
.pr-section-title::before{content:"";display:inline-block;width:18px;height:2px;background:#44f1ff;border-radius:2px}

.pr-body h2{margin:34px 0 14px;font-size:1.5rem;font-weight:800;color:#fff;letter-spacing:-.01em;
  padding-bottom:8px;border-bottom:1px solid rgba(156,180,255,.10)}
.pr-body h2:first-child{margin-top:6px}
.pr-body h3{margin:24px 0 10px;font-size:1.1rem;font-weight:700;color:rgba(255,255,255,.96)}
.pr-body p{margin:14px 0;font-size:1.02rem;line-height:1.7;color:rgba(240,245,255,.92)}
.pr-body ul{margin:14px 0;padding:0 0 0 4px;list-style:none;display:flex;flex-direction:column;gap:8px}
.pr-body ul li{padding:12px 14px;border-radius:12px;background:rgba(11,15,22,.7);border:1px solid rgba(156,180,255,.10);
  font-size:.96rem;line-height:1.5;color:rgba(255,255,255,.92);display:flex;gap:10px;align-items:flex-start}
.pr-body ul li::before{content:"";flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#44f1ff;margin-top:9px;
  box-shadow:0 0 8px rgba(68,241,255,.6)}
.pr-body img{max-width:100%;border-radius:12px;border:1px solid rgba(156,180,255,.10);background:#0a0d17;margin:8px 0}

.pr-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.pr-gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;border:1px solid rgba(156,180,255,.10);background:#0a0d17}

.pr-error{padding:48px 24px;text-align:center;color:rgba(255,255,255,.85);
  border:1px dashed rgba(156,180,255,.25);border-radius:14px;margin-top:40px}

@media(max-width:600px){
  .pr-top{padding:8px 12px}
  .pr-wrap,.pr-doc{padding:0 14px 60px}
  .pr-cover-img{margin-top:18px;border-radius:12px}
  .pr-h1{font-size:1.6rem}
  .pr-grid{grid-template-columns:1fr;gap:14px}
}
