/* Public press kit styles: presskit() base + Play Don't Tell look.
   Each page's look comes from its settings as CSS variables (set inline by index.php):
   colors as the old kit used them per project (links: --pk-link text on --pk-secondary,
   white on --pk-primary under the mouse), fonts and rounded corners. */

body {
  padding: 15px 0;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 1.6em;
}

img {
  width: 100%;
}

#navigation h1.nav-header {
  padding: 0 0px;
  margin-bottom: 0;
}

#navigation a.nav-header {
  padding: 5px 15px;
  font-weight: bold;
}

#navigation ul.uk-nav {
  padding: 15px 0;
}

#navigation p {
  padding-bottom: 10px;
}

#navigation li.language-select select {
  float: right;
}

#content h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

#content img.header {
  margin-bottom: 20px;
}

#content ul {
  list-style-type: square;
}

#content li.done {
  color: #008000;
  text-decoration: line-through;
}

#content div.images div {
  padding-bottom: 25px;
}

#content p.images-text {
  margin-top: -15px;
}

#content .iframe-container {
  position: relative;
  /* Magic! Makes sure the container is high enough to show the entire iframe 
	 * Thanks to http://andmag.se/2011/11/responsive-embeds/ */
  padding-bottom: 56.5%;
  border-radius: var(--pk-radius-img); /* same corners as images (Settings) */
  overflow: hidden;
}

#content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--pk-radius-img);
}

@media (max-width: 767px) {
  h2 {
    margin-top: 25px;
  }
}

:root {
  --pk-link: #111111;
  --pk-primary: #000000;
  --pk-secondary: #ebebeb;
  --pk-font-title: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pk-font-text: "Trebuchet MS", Arial, Helvetica, sans-serif;
  --pk-radius-link: 4px;
  --pk-radius-img: 6px;
}

body {
  font-family: var(--pk-font-text);
  font-size: 0.9em;
  line-height: 1.6em;
  list-style: none;
  background-color: black;
  /* box-shadow: inset 0 0 20vw 10vw white; */
}

.uk-grid {
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.header {
  margin-bottom: 2vh;
}

#content h2,
#content h3.image-group {
  font-family: var(--pk-font-title);
}

h2,
.uk-h2 {
  font-size: 24px;
  line-height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 15px 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #444;
  text-transform: none;
}

/* links */
#content a:not(.no_border),
.nav-header a {
  color: var(--pk-link);
  text-decoration: none;
  border-radius: var(--pk-radius-link);
  padding: 1px 4px;
  background-color: var(--pk-secondary);
  transition: background-color 60ms ease-in-out, color 60ms ease-in-out;
  /* transition: border 60ms ease-in-out, color 60ms ease-in-out; */
}

#content a:visited:not(.no_border),
.nav-header a:visited {
  color: var(--pk-link);
}

#content a:hover:not(.no_border),
.nav-header a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: var(--pk-primary);
  /* border: 1px white solid; */
}

img {
  margin-bottom: 10px;
  border-radius: var(--pk-radius-img);
}

#content h3.image-group {
  margin: 10px 0 0;
}

#content h3.image-group + .uk-grid.images {
  margin-top: 10px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

#navigation li.language-select {
  padding: 5px 15px;
}

#navigation li.language-select form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

#navigation li.language-select select {
  float: none;
  max-width: 60%;
  padding: 2px 4px;
  font: inherit;
}

#navigation li.language-select select:focus-visible {
  outline: 2px solid var(--pk-primary);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--pk-primary);
  outline-offset: 2px;
}

#content h1#game-title {
  font-family: var(--pk-font-title);
  font-size: 34px;
  line-height: 40px;
}

#content video.video-file {
  width: 100%;
  border-radius: var(--pk-radius-img);
  background: #000000;
  margin-bottom: 10px;
}

/* Partner logos: square tiles, 3 per row (2 on narrow screens), the logo fitted inside */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#content .partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 10%;
  border: 1px solid #e5e5e5;
  border-radius: var(--pk-radius-img);
  background: #ffffff;
  box-sizing: border-box;
}
#content a.partner-tile:hover, #content a.partner-tile:focus-visible { border-color: var(--pk-primary); }
#content img.partner-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
  background: none;
}

/* More air between sections and entries (Ivan, 25 Nov 2026) */
body { line-height: 1.7em; }
#content hr { margin: 36px 0; }
#content h2 { margin-bottom: 18px; }
#content p, #content ul { margin-bottom: 18px; }
#content ul > li + li { margin-top: 8px; }
#content .uk-grid { margin-top: 20px; margin-bottom: 20px; }
#navigation .uk-nav-side > li > a { padding-top: 6px; padding-bottom: 6px; }

/* Downloads: all images, or one group from its sub-heading */
#content .uk-alert { margin-bottom: 10px; }
#content .image-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 24px;
}
#content .image-group-head h3.image-group, #content .image-group-head h2 { margin: 0; }
#content hr + .image-group-head { margin-top: 0; margin-bottom: 18px; }
#content .image-group-head + .uk-grid.images { margin-top: 12px; }
#content a.group-zip { font-size: 0.95em; }

/* Duration, language and size after a title */
#content .item-meta { color: #777; font-size: 0.95em; white-space: nowrap; margin-inline-start: 6px; }
#content p.video-title { margin-bottom: 8px; }
#content ul.documents { list-style-type: square; }
#content abbr.content-lang { text-decoration: none; border: 0; cursor: help; color: #555; font-size: 0.95em; }

/* Event schedule: one block per moment, its own venue in grey */
#content .schedule-entry { display: block; margin-bottom: 8px; }
#content .schedule-entry:last-child { margin-bottom: 0; }
#content .schedule-venue { color: #777; }

/* Articles and links by date: the date in a left column, like a timeline */
#content .chrono { list-style: none; padding-left: 0; margin-left: 0; }
#content .chrono-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); column-gap: 16px; margin: 0 0 14px; }
#content ul.chrono > li.chrono-row + li.chrono-row { margin-top: 0; }
#content .chrono-date { color: #777; white-space: nowrap; }
@media (max-width: 480px) { #content .chrono-row { grid-template-columns: 1fr; } }
/* Interview, TV, radio…: a small tag before the title */
#content .kind-tag { display: inline-block; padding: 0 6px; border-radius: 3px; background: #eeeeee; color: #555; font-size: 0.8em; font-weight: bold; text-transform: uppercase; letter-spacing: .03em; line-height: 1.6; vertical-align: 1px; }

/* Pixel art (ticked per image in the admin's Media tab): sharp pixels at any size, no smoothing */
img.pixelated { image-rendering: pixelated; }

/* Readable, calmer type (Ivan, 26 Nov 2026, after wizdomacademy.com/presskit). Same layout; fonts stay
   per page (Settings). Softer grey text, more line spacing, heavy dark headings with a thin rule. */
body { font-size: 14.5px; line-height: 1.6; color: #666; }
#content p, #content li { color: #666; }
#content p { margin: 0 0 14px; }
#content strong, #content b { color: #444; }
#content em { color: inherit; }
#content h2 { font-weight: 800; font-size: 26px; line-height: 1.2; color: #333; letter-spacing: -.005em;
  padding-bottom: 14px; border-bottom: 1px solid #ececec; margin: 0 0 22px; }
#content h3.image-group { font-weight: 700; font-size: 17px; color: #333; }
#content .uk-width-medium-4-6 > strong { display: block; font-size: 17px; font-weight: 600; color: #333; margin: 4px 0 8px; } /* history sub-headings */
#content .uk-width-medium-4-6 h2:not(:first-child) { margin-top: 44px; }
#content hr { border: 0; margin: 36px 0 0; } /* sections are separated by space only: the rule under each title is enough */
#content .uk-width-medium-2-6 p { margin-bottom: 16px; line-height: 1.5; }
#content .uk-width-medium-2-6 strong { font-weight: 700; color: #444; }
#content ul li { margin-bottom: 6px; }
#navigation .uk-nav-side > li > a { color: #777; font-size: 13.5px; }
#navigation a.nav-header { font-weight: 700; letter-spacing: .02em; }
#content img.header { margin-bottom: 40px; }
#content .uk-alert { border-radius: 6px; }

/* Small file icons before ZIP and PDF downloads (drawn in the link's own color) */
#content a[href$=".zip"] .uk-alert::before, #content a.group-zip[href$=".zip"]::before, #content a[href$=".pdf"]::before {
  content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-inline-end: .4em; vertical-align: -.17em;
  background: currentColor; -webkit-mask: var(--file-icon) center / contain no-repeat; mask: var(--file-icon) center / contain no-repeat; }
#content a[href$=".zip"] .uk-alert::before, #content a.group-zip[href$=".zip"]::before {
  --file-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14.5 2.5V7H19'/%3E%3Cpath d='M10 3v2m0 1.5v2m0 1.5v2' stroke-linecap='round'/%3E%3Crect x='8.6' y='13' width='2.8' height='4' rx='.6'/%3E%3C/svg%3E"); }
#content a[href$=".pdf"]::before {
  --file-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14.5 2.5V7H19'/%3E%3Cpath d='M9 12h7M9 15h7M9 18h4.5'/%3E%3C/svg%3E"); }
#content ul.documents { list-style: none; padding-left: 0; }

/* QR code button after a link, and its box (presskit.js) */
#content a.qr-btn { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; margin-inline-end: 2px;
  vertical-align: -4px; border-radius: 4px; background: transparent !important; color: #888 !important; }
#content a.qr-btn:hover, #content a.qr-btn[aria-expanded="true"] { background: var(--pk-secondary) !important; color: var(--pk-link) !important; }
#content .qr-box { position: absolute; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 22px; margin-inline-start: -22px;
  padding: 10px; background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, .18); line-height: 1.3; }
#content .qr-box img { display: block; width: 140px; height: 140px; image-rendering: pixelated; }
#content .qr-dl { font-size: 12px; white-space: nowrap; }
#content .zip-row { display: flex; align-items: center; gap: 6px; }
#content .zip-row > a.no_border { flex: 1; }
#content .zip-row .uk-alert { margin: 0; }
#content .zip-row { margin-bottom: 15px; }

/* Page width (Ivan, 26 Nov 2026): narrower than UIkit's 980px / 1200px container on large screens, the left column being gone */
.uk-container { max-width: 900px; }
@media (min-width: 1220px) { .uk-container { max-width: 960px; } }

/* Navigation as a bar fixed at the top (Ivan, 26 Nov 2026), replacing presskit()'s left column.
   Company name as one pill on the left, section links in the middle (one line, scrolls
   sideways when they do not fit), language menu on the right. The current section is marked. */
body { padding-top: 84px; }
html { scroll-padding-top: 76px; }
#navigation { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ececec; box-shadow: 0 1px 8px rgba(0, 0, 0, .04); }
#navigation .nav-bar { display: flex; align-items: center; gap: 28px; min-height: 60px; }
#navigation .nav-bar::before, #navigation .nav-bar::after { display: none; } /* UIkit clearfix: would be flex items */
#navigation h1.nav-header { margin: 0; font-size: inherit; line-height: inherit; flex: none; }
#navigation .nav-brand { flex: none; display: inline-block; padding: 5px 14px; border-radius: 999px; background: #f2f2f2;
  font-family: var(--pk-font-title); font-size: 15px; font-weight: 700; line-height: 1.4; color: #333; white-space: nowrap; text-decoration: none; }
#navigation a.nav-brand:hover, #navigation a.nav-brand:focus-visible { background: var(--pk-primary); color: #fff; }
#navigation ul.nav-links { position: relative; display: flex; flex: 1; min-width: 0; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
#navigation ul.nav-links::-webkit-scrollbar { display: none; }
#navigation ul.nav-links a { display: block; padding: 19px 9px 17px; color: #777; font-size: 13.5px; white-space: nowrap;
  text-decoration: none; border-bottom: 2px solid transparent; }
#navigation ul.nav-links a:hover { color: #333; }
#navigation ul.nav-links a.current { color: #333; border-bottom-color: var(--pk-primary); }
#navigation ul.nav-lang { flex: none; margin: 0; padding: 0; list-style: none; }
#navigation ul.nav-lang li.language-select { padding: 0; }
#navigation ul.nav-lang select { max-width: none; }
@media (max-width: 767px) {
  body { padding-top: 0; }
  html { scroll-padding-top: 0; }
  #navigation { position: static; margin: -15px 0 20px; }
  #navigation .nav-bar { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; }
  #navigation ul.nav-links { order: 3; flex-basis: 100%; }
  #navigation ul.nav-links a { padding: 10px 8px; }
}

/* Vertical spacing (Ivan, 26 Nov 2026): tightened, then loosened a little; between the two */
body { padding-top: 80px; }
#content hr { margin: 30px 0 0; }
#content h2 { padding-bottom: 12px; margin: 0 0 18px; }
#content .uk-width-medium-4-6 h2:not(:first-child) { margin-top: 36px; }
#content p { margin: 0 0 12px; }
#content ul { margin-bottom: 14px; }
#content ul li { margin-bottom: 5px; }
#content ul > li + li { margin-top: 0; }
#content .uk-grid { margin-top: 16px; margin-bottom: 16px; }
#content .uk-width-medium-2-6 p { margin-bottom: 14px; }
#content .uk-width-medium-4-6 > strong { margin: 3px 0 7px; }
#content img.header { margin-bottom: 32px; }
#content .chrono-row { margin-bottom: 12px; }
@media (max-width: 767px) { body { padding-top: 0; } }
/* Top bar links set apart (Ivan, 26 Nov 2026): the bar is wider than the text (up to 1200px),
   links are spaced and a faint dot separates them; the current one is dark and underlined. */
#navigation .nav-bar.uk-container { max-width: 1200px; gap: 24px; }
#navigation ul.nav-links { gap: 0; align-items: center; }
#navigation ul.nav-links li { display: flex; align-items: center; }
#navigation ul.nav-links li + li::before { content: "\00B7"; color: #c8c8c8; font-size: 16px; padding: 0 2px; }
#navigation ul.nav-links a { padding-left: 10px; padding-right: 10px; font-size: 13.5px; }
/* Top bar as wide as the text (Ivan, 26 Nov 2026): the pill on the text's left edge, the links
   after it with their spacing, the language menu at the right end */
#navigation .nav-bar.uk-container { max-width: 900px; justify-content: flex-start; gap: 32px; }
@media (min-width: 1220px) { #navigation .nav-bar.uk-container { max-width: 960px; } }
#navigation ul.nav-lang { margin-left: auto; }
#navigation ul.nav-links { flex: 0 1 auto; }
#navigation ul.nav-links a { padding-left: 14px; padding-right: 14px; }
#navigation ul.nav-links li + li::before { padding: 0 3px; }
/* More space before the "presskit() by Rami Ismail" line (Ivan, 26 Nov 2026) */
#content p.presskit-credit { margin: 64px 0 24px; }
/* Phones (Ivan, 26 Nov 2026): no bar, no section links; the company pill and the language menu
   stay as a plain line at the top of the page */
@media (max-width: 767px) {
  #navigation { position: static; background: none; border: 0; box-shadow: none; margin: 0 0 10px; }
  #navigation ul.nav-links { display: none; }
  #navigation .nav-bar.uk-container { justify-content: space-between; flex-wrap: nowrap; padding-top: 0; min-height: 0; }
}
/* Bar links as a segmented track (Ivan, 26 Nov 2026), like the admin's section tabs: one light-grey
   rounded track, the current section a white raised segment. Replaces the dots. */
#navigation ul.nav-links { flex: 0 1 auto; gap: 2px; padding: 3px; border-radius: 999px; background: #f0f0f2; }
#navigation ul.nav-links li + li::before { content: none; }
#navigation ul.nav-links a { padding: 5px 12px; border: 0; border-radius: 999px; color: #666; font-size: 13px; line-height: 1.4;
  transition: background-color .15s, color .15s; }
#navigation ul.nav-links a:hover { color: #222; background: rgba(255, 255, 255, .6); }
#navigation ul.nav-links a.current { color: #222; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
#navigation ul.nav-links a:focus-visible { outline: 2px solid var(--pk-primary); outline-offset: -2px; }
#navigation .nav-bar.uk-container { gap: 20px; }
/* Language switch in the bar (Ivan, 26 Nov 2026): codes in a small track like the section links,
   the current one white; a compact rounded menu when the page has more than 4 languages */
#navigation li.language-codes ul { display: flex; gap: 0; margin: 0; padding: 3px; list-style: none; border-radius: 999px; background: #f0f0f2; }
#navigation li.language-codes a { display: block; padding: 5px 7px; border-radius: 999px; color: #666; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; line-height: 1.4; text-decoration: none; }
#navigation li.language-codes a:hover { color: #222; background: rgba(255, 255, 255, .6); }
#navigation li.language-codes a.current { color: #222; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
#navigation li.language-select select { padding: 6px 10px; border: 0; border-radius: 999px; background: #f0f0f2; color: #333; font-size: 13px; cursor: pointer; }
/* Top bar on two lines (Ivan, 26 Nov 2026): company pill and language switch on the first, the
   section links on the second as a full-width segmented track, so long section lists fit */
@media (min-width: 768px) {
  body { padding-top: 112px; }
  html { scroll-padding-top: 104px; }
  #navigation .nav-bar.uk-container { flex-wrap: wrap; row-gap: 8px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  #navigation ul.nav-links { order: 3; flex: 1 0 100%; box-sizing: border-box; }
  #navigation ul.nav-links li { flex: 1 1 auto; }
  #navigation ul.nav-links a { width: 100%; text-align: center; }
}
/* Wide screens (Ivan, 26 Nov 2026): one line again. The section track is exactly as wide as the
   text (960px container less its 35px padding each side), the company pill sits outside it on the
   left and the language switch outside it on the right. */
@media (min-width: 1400px) {
  body { padding-top: 80px; }
  html { scroll-padding-top: 72px; }
  #navigation .nav-bar.uk-container { display: grid; grid-template-columns: minmax(0, 1fr) 890px minmax(0, 1fr); column-gap: 20px;
    align-items: center; max-width: none; padding: 10px 20px; }
  #navigation .nav-bar > :first-child { justify-self: end; max-width: 100%; min-width: 0; }
  #navigation .nav-brand { max-width: 100%; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
  #navigation ul.nav-links { order: 0; }
  #navigation ul.nav-lang { justify-self: start; margin-left: 0; }
}

/* Slightly smaller text and slightly tighter spacing (Ivan, 27 Nov 2026) */
body { font-size: 14px; }
#content h2 { font-size: 24px; padding-bottom: 10px; margin: 0 0 16px; }
#content h3.image-group, #content .uk-width-medium-4-6 > strong { font-size: 16px; }
#content .uk-width-medium-4-6 h2:not(:first-child) { margin-top: 32px; }
#content hr { margin: 26px 0 0; }
#content p { margin: 0 0 10px; }
#content ul { margin-bottom: 12px; }
#content ul li { margin-bottom: 4px; }
#content .uk-grid { margin-top: 14px; margin-bottom: 14px; }
#content .uk-width-medium-2-6 p { margin-bottom: 12px; }
#content img.header { margin-bottom: 28px; }
#content .chrono-row { margin-bottom: 10px; }
#content .zip-row { margin-bottom: 12px; }
#content p.presskit-credit { margin: 56px 0 22px; }
/* Less space around the cover (header) image: closer to the top bar and to the factsheet (Ivan, 27 Nov 2026) */
#content > img.header:first-child { margin-top: -16px; margin-bottom: 8px; }
@media (max-width: 767px) { #content > img.header:first-child { margin-top: 0; } }

/* Platforms: one line per store, its platforms in grey after the link; a wrapped line hangs under the
   store name, past the QR button (Ivan, 27 Nov 2026) */
#content p.platform-list .platform-line { display: block; padding-inline-start: 22px; text-indent: -22px; margin-top: 3px; }
#content p.platform-list .platform-line > * { text-indent: 0; }
#content .platform-systems { color: #6e6e6e; }
