/* ==========================================================================
   /poster/ — Poster's story page, on the home page's wooden pixel look.
   Loaded after osijek.css.
   ========================================================================== */

/* ---------- hero: the promenade scene with a wooden panel over it ---------- */
body.oh header.ps-hero {
  position: relative;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: min(86svh, 760px);
  padding: 96px 0 40px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #86bce8;
}
.ps-hero__scene {
  position: absolute;
  inset: 0;
  background: #86bce8 url('/assets/osijek-day.png') 62% 60% / cover no-repeat;
  image-rendering: pixelated;
}
html.oh-night body.oh header.ps-hero { background: #0a1530; }
html.oh-night .ps-hero__scene { background-color: #0a1530; background-image: url('/assets/osijek-night.png'); }
.ps-hero__wrap { position: relative; width: 100%; box-sizing: border-box; }
.ps-hero__panel { max-width: 34rem; padding: 24px 26px 26px; }

.ps-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font: 700 1.6rem/1 var(--oh-pixel);
}
.ps-brand img { display: block; margin: 0; flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 3px 0 var(--oh-wood-dark); }
.ps-title { font: 700 clamp(2rem, 4.6vw, 3.1rem)/1.05 var(--oh-pixel); color: var(--oh-ink); }
.ps-title span { color: #d6452f; }
.ps-lead { font-size: 1.12rem; color: var(--oh-ink-soft); margin: 14px 0 0; }

/* ---------- store buttons: black like the store badges, framed like the site ---------- */
.ps-stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.ps-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 7px 16px 8px 12px;
  color: #fff;
  background: #10141a;
  border: 3px solid #000;
  box-shadow: 0 4px 0 var(--oh-wood-dark);
  text-decoration: none;
}
.ps-store:hover, .ps-store:focus-visible { background: #262c36; color: #fff; text-decoration: none; }
.ps-store:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--oh-wood-dark); }
.ps-store__icon { width: 26px; height: 26px; flex: none; }
.ps-store span { display: flex; white-space: nowrap; flex-direction: column; font: 700 1.25rem/1 var(--oh-pixel); }
.ps-store small { font: 500 0.8rem/1.1 'Inter', 'Segoe UI', Arial, sans-serif; letter-spacing: 0.02em; opacity: 0.85; }

/* ---------- three scenes: a store picture in a wooden frame, a few lines beside it ---------- */
.ps-scenes { padding-top: 72px; }
.ps-scenes .oh-wrap { display: grid; gap: 64px; }
.ps-scene {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 30rem);
  justify-content: center;
  gap: 56px;
  align-items: center;
}
.ps-scene:nth-child(even) { grid-template-columns: minmax(0, 30rem) minmax(0, 300px); }
.ps-scene:nth-child(even) .ps-shot { order: 2; }
.ps-shot {
  margin: 0;
  padding: 8px;
  background: var(--oh-wood-light);
  border: 4px solid var(--oh-wood);
  box-shadow: 0 5px 0 var(--oh-wood-dark), 0 12px 24px rgba(20, 10, 0, 0.25);
  transform: rotate(-1.5deg);
}
.ps-scene:nth-child(even) .ps-shot { transform: rotate(1.5deg); }
.ps-shot img { display: block; width: 100%; height: auto; }
.ps-scene__text .oh-h2 { margin: 12px 0 12px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.ps-scene__text p { font-size: 1.15rem; margin: 0; color: var(--oh-ink-soft); }

/* ---------- the invitation, privacy line and maker note ---------- */
.ps-invite { padding-top: 40px; }
.ps-invite__box { max-width: 46rem; margin: 0 auto; padding: 28px 30px 26px; }
.ps-invite__box > p { font-size: 1.1rem; margin: 12px 0 0; }
.ps-invite .oh-button { min-height: 52px; box-sizing: border-box; }
.ps-privacy {
  margin-top: 24px !important;
  padding-top: 16px;
  border-top: 3px dashed var(--oh-wood-light);
  font-size: 1rem !important;
  color: var(--oh-ink-soft);
}
.ps-privacy strong { color: var(--oh-ink); }
.ps-privacy a, .ps-maker a { color: var(--oh-accent); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ps-maker { max-width: 46rem; margin: 28px auto 0; text-align: center; color: var(--oh-ink-soft); }

@media (prefers-color-scheme: dark) {
  .ps-scene__text p, .ps-maker { color: #b9ad97; }
  .ps-scene__text .oh-h2 { color: #f6ead2; }
  .ps-maker a { color: #8fbff0; }
}

/* ---------- phones ---------- */
@media (max-width: 720px) {
  body.oh header.ps-hero, html.oh-night body.oh header.ps-hero { min-height: 0; padding: 250px 0 0; background: transparent; }
  .ps-hero__scene { bottom: auto; height: 300px; background-position: 45% 70%; }
  .ps-hero__panel { padding: 18px 16px 20px; }
  .ps-brand { font-size: 1.35rem; }
  .ps-brand img { width: 40px; height: 40px; }
  .ps-scenes { padding-top: 40px; }
  .ps-scenes .oh-wrap { gap: 48px; }
  .ps-scene, .ps-scene:nth-child(even) { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .ps-scene:nth-child(even) .ps-shot { order: 0; }
  .ps-shot { width: min(78%, 300px); box-sizing: border-box; }
  .ps-scene__text { width: 100%; }
  .ps-invite__box { padding: 22px 16px; }
  .ps-stores { gap: 10px; }
  .ps-store { flex: 1 1 140px; gap: 8px; padding: 6px 10px 7px 8px; }
  .ps-store__icon { width: 22px; height: 22px; }
  .ps-store span { font-size: 1.08rem; }
  .ps-store small { font-size: 0.7rem; }
  .ps-invite .oh-button { flex: 1 1 100%; justify-content: center; }
}
