/* Mini-games hub only. The illustration and Adekvat type belong to the existing store. */
.zmp-hub-page {
  --hub-ink: #222c2b;
  --hub-muted: #60685f;
  --hub-night: #10283e;
  --hub-gold: #ffcf6b;
  --hub-paper: #f8f5ed;
  --hub-line: #dedfd5;
  background: var(--hub-paper);
}
.zmp-hub-page #main-content { padding-top: 24px; padding-bottom: 32px; }
.zmp-hub-page .page-layout { margin-top: 0; }
.zmp-hub-page .page-content { padding: 0; }
.zmp-hub-page .breadcrumbs { margin: 0 0 22px; }
.zmp-hub-page .custom-page.zmp-hub-shell { padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.zmp-hub { color: var(--hub-ink); font-size: 16px; line-height: 1.6; }
.zmp-hub *, .zmp-hub *::before, .zmp-hub *::after { box-sizing: border-box; }
.zmp-hub [hidden] { display: none !important; }
.zmp-hub svg { width: 22px; height: 22px; flex: 0 0 auto; }
.zmp-hub a { text-decoration: none; }
.zmp-hub a:focus-visible, .zmp-hub button:focus-visible, .zmp-hub summary:focus-visible {
  outline: 3px solid #0079b7; outline-offset: 5px;
}
.zmp-hub :is(h1, h2, h3, p) { padding: 0; }
.zmp-hub :is(h1, h2, h3) { font-family: inherit; text-wrap: balance; }
.zmp-hub-hero {
  position: relative; isolation: isolate; min-height: 490px; display: flex; align-items: center;
  overflow: hidden; border-radius: 16px; background: var(--hub-night);
}
.zmp-hub-hero__scene {
  position: absolute; z-index: -2; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: 58% 55%;
}
.zmp-hub-hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #10283e 0%, #10283e 26%, rgba(16,40,62,.88) 39%, rgba(16,40,62,.08) 68%);
}
.zmp-hub-hero__content { width: 60%; padding: 54px 58px 58px; }
.zmp-hub .zmp-hub-hero h1 {
  color: #fff8e9; font-size: clamp(40px, 4.3vw, 62px); font-weight: 750; line-height: 1.055;
  letter-spacing: -.035em; margin: 0 0 24px; text-wrap: initial;
}
.zmp-hub-hero h1 span { color: var(--hub-gold); white-space: nowrap; }
.zmp-hub .zmp-hub-hero__content > p { max-width: 370px; color: #e0e9ea; margin: 0 0 28px; font-size: 17px; line-height: 1.65; }
.zmp-hub-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.zmp-hub-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px;
  padding: 14px 24px; border: 0; border-radius: 10px; color: #293020; background: var(--hub-gold);
  font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s;
}
.zmp-hub-button:hover { color: #293020; background: #ffde93; transform: translateY(-2px); }
.zmp-hub-button:active { transform: translateY(0); }
.zmp-hub-hero__parents { color: #f3edde; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; border-bottom: 1px solid #82949b; }
.zmp-hub-hero__parents:hover { color: #ffcf6b; border-color: #ffcf6b; }
.zmp-hub-hero__caption {
  position: absolute; right: 30px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  color: #fff8e9; font-size: 13px; background: #10283e; padding: 8px 14px; border-radius: 8px;
}
.zmp-hub-hero__caption span { width: 7px; height: 7px; background: var(--hub-gold); border-radius: 50%; }
.zmp-hub-promises {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 64px; list-style: none;
  margin: 0; padding: 28px 0; border-bottom: 1px solid var(--hub-line);
}
.zmp-hub-promises li { display: flex; align-items: center; gap: 10px; color: #495548; font-size: 14px; }
.zmp-hub-promises svg { width: 20px; height: 20px; color: #677c55; }
.zmp-hub-library { padding: 64px 0 0; scroll-margin-top: 150px; }
.zmp-hub-library__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.zmp-hub .zmp-hub-library h2, .zmp-hub .zmp-hub-faq h2 {
  margin: 0 0 8px; font-size: clamp(26px, 2.75vw, 38px); line-height: 1.18; letter-spacing: -.025em; color: var(--hub-ink); font-weight: 700;
}
.zmp-hub .zmp-hub-library__heading p { margin: 0; color: var(--hub-muted); }
.zmp-hub-library__count { font-size: 14px; color: #65705f; white-space: nowrap; }
.zmp-hub-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 30px 0 24px; }
.zmp-hub-filters__label { font-size: 14px; color: var(--hub-muted); margin-right: 6px; }
.zmp-hub-filters__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.zmp-hub-filters button {
  min-height: 44px; padding: 10px 19px; border: 1px solid #d8dbce; border-radius: 99px;
  background: transparent; color: #4e5a4d; font: inherit; font-size: 14px; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.zmp-hub-filters button:hover { background: #e9edde; }
.zmp-hub-filters button[aria-pressed="true"] { background: #2e4538; border-color: #2e4538; color: #fff; }
.zmp-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.zmp-hub-filters:not([hidden]) + .zmp-hub-grid { margin-top: 0; }
.zmp-hub-card { min-width: 0; border: 1px solid #e0dfd6; border-radius: 16px; overflow: hidden; background: #fffdf8; }
.zmp-hub-card__link { display: flex; flex-direction: column; height: 100%; color: var(--hub-ink); }
.zmp-hub-card__link:hover { color: var(--hub-ink); }
.zmp-hub-card__link:focus-visible { outline-offset: -4px; }
.zmp-hub-card__scene { position: relative; overflow: hidden; background: #e5dfcf; }
.zmp-hub-card__scene img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 62%;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.zmp-hub-card__age {
  position: absolute; top: 18px; left: 18px; color: #29372b; background: #fffdf4;
  border-radius: 7px; padding: 7px 11px; font-size: 13px; font-weight: 600;
}
.zmp-hub-card__enter {
  position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%;
  background: #fffaf0; color: #273a30; display: grid; place-items: center; transition: transform .25s, background-color .25s;
}
.zmp-hub-card__link:hover .zmp-hub-card__scene img { transform: scale(1.025); }
.zmp-hub-card__link:hover .zmp-hub-card__enter { background: var(--hub-gold); transform: rotate(-35deg); }
.zmp-hub-card__body { display: flex; flex-direction: column; flex: 1; padding: 25px 28px 24px; }
.zmp-hub-card__heading { display: flex; align-items: start; flex-wrap: wrap; gap: 9px 16px; }
.zmp-hub .zmp-hub-card h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; margin: 0; color: var(--hub-ink); }
.zmp-hub-card__topic { color: #5c694e; font-size: 12px; font-weight: 600; padding-top: 7px; margin-left: auto; }
.zmp-hub .zmp-hub-card__body > p { color: #61645a; font-size: 15px; line-height: 1.65; margin: 14px 0 24px; max-width: 55ch; }
.zmp-hub-card__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin-top: auto; padding-top: 19px; border-top: 1px solid #e6e5dc; }
.zmp-hub-card__duration { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #67705f; }
.zmp-hub-card__duration svg { width: 17px; height: 17px; }
.zmp-hub-card__action { display: inline-flex; align-items: center; gap: 12px; color: #314d39; font-size: 14px; font-weight: 700; min-height: 32px; }
.zmp-hub-card__action svg { width: 20px; height: 20px; }
.zmp-hub-card--night { background: #f8fafb; }
.zmp-hub-card--night .zmp-hub-card__topic { color: #466080; }
.zmp-hub-card--peach { background: #fff9f4; }
.zmp-hub-card--wood { background: #f9f4e9; }
.zmp-hub .zmp-hub-library__note { margin: 22px 0 0; color: var(--hub-muted); font-size: 13px; }
.zmp-hub-empty { padding: 40px 0; }
.zmp-hub-button--dark { background: #2e4538; color: #fff; }
.zmp-hub-button--dark:hover { background: #3c5c47; color: #fff; }
.zmp-hub-paper {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; gap: 50px;
  background: #eee9d9; border-radius: 16px; margin-top: 76px; scroll-margin-top: 140px;
}
.zmp-hub-paper__visual { position: relative; align-self: stretch; min-height: 360px; overflow: hidden; }
.zmp-hub-paper__visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.zmp-hub-paper__stamp {
  display: flex; align-items: center; gap: 9px; position: absolute; bottom: 22px; left: 22px; background: #fffaf0;
  color: #3c4937; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}
.zmp-hub-paper__content { padding: 46px 50px 46px 0; }
.zmp-hub .zmp-hub-paper h2 { margin: 0 0 22px; font-size: clamp(32px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -.03em; color: #354333; }
.zmp-hub .zmp-hub-paper__content > p { margin: 0 0 17px; color: #57614f; max-width: 40ch; }
.zmp-hub .zmp-hub-paper__aside { font-size: 14px; }
.zmp-hub-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 5px; color: #314d39; font-weight: 700; font-size: 14px; }
.zmp-hub-text-link:hover { color: #172b1d; text-decoration: underline; text-underline-offset: 5px; }
.zmp-hub-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-top: 76px; }
.zmp-hub-faq__items { border-top: 1px solid var(--hub-line); }
.zmp-hub-faq details { border-bottom: 1px solid var(--hub-line); }
.zmp-hub-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 20px 0; font-weight: 600; font-size: 16px; list-style: none; cursor: pointer; }
.zmp-hub-faq summary::-webkit-details-marker { display: none; }
.zmp-hub-faq summary svg { width: 20px; height: 20px; color: #52684a; transition: transform .2s; }
.zmp-hub-faq details[open] summary svg { transform: rotate(45deg); }
.zmp-hub .zmp-hub-faq details p { max-width: 65ch; margin: 0 32px 23px 0; font-size: 15px; color: var(--hub-muted); }
.zmp-hub .zmp-hub-signoff { text-align: center; color: #687360; font-size: 13px; margin: 70px 0 12px; }
@media (min-width: 1500px) { .zmp-hub-hero__content { padding-left: 64px; } }
@media (max-width: 1100px) {
  .zmp-hub-hero__content { width: 66%; padding: 44px 36px; }
  .zmp-hub-promises { gap: 18px 30px; }
  .zmp-hub-card__body { padding: 22px; }
  .zmp-hub-card__heading { flex-direction: column; }
  .zmp-hub-card__topic { margin: 0; padding: 0; }
  .zmp-hub-paper { gap: 32px; }
  .zmp-hub-paper__content { padding-right: 32px; }
  .zmp-hub-faq { gap: 35px; }
}
@media (max-width: 700px) {
  .zmp-hub-page #main-content { width: 100%; max-width: none; padding: 18px 16px 24px; }
  .zmp-hub-page .breadcrumbs { margin: 0 0 16px; font-size: 12px; }
  .zmp-hub-hero { min-height: 570px; align-items: flex-start; }
  .zmp-hub-hero__scene { inset: auto 0 0; height: 52%; width: 100%; object-position: center bottom; }
  .zmp-hub-hero::before { background: linear-gradient(180deg, #10283e 0%, #10283e 43%, rgba(16,40,62,.94) 51%, rgba(16,40,62,0) 70%); }
  .zmp-hub-hero__content { width: 100%; padding: 30px 25px; }
  .zmp-hub .zmp-hub-hero h1 { font-size: clamp(26px, 9.1vw, 44px); margin-bottom: 18px; line-height: 1.06; }
  .zmp-hub .zmp-hub-hero__content > p { font-size: 15px; line-height: 1.6; max-width: 37ch; margin-bottom: 22px; }
  .zmp-hub-hero__actions { gap: 12px 20px; align-items: start; }
  .zmp-hub-button { min-height: 50px; padding: 12px 20px; gap: 20px; font-size: 15px; }
  .zmp-hub-hero__parents { font-size: 13px; min-height: 44px; }
  .zmp-hub-hero__caption { font-size: 11px; right: 16px; bottom: 15px; padding: 7px 11px; }
  .zmp-hub-promises { justify-content: flex-start; padding: 22px 6px; gap: 12px; }
  .zmp-hub-promises li { font-size: 12px; width: 100%; gap: 10px; }
  .zmp-hub-promises svg { width: 17px; height: 17px; }
  .zmp-hub-library { padding-top: 37px; scroll-margin-top: 140px; }
  .zmp-hub-library__heading { gap: 12px; align-items: start; }
  .zmp-hub .zmp-hub-library h2 { font-size: 28px; max-width: 13ch; }
  .zmp-hub .zmp-hub-library__heading p { font-size: 14px; max-width: 25ch; margin-top: 11px; }
  .zmp-hub-library__count { font-size: 12px; padding-top: 8px; }
  .zmp-hub-filters { gap: 12px; margin: 24px 0 20px; }
  .zmp-hub-filters__label { display: none; }
  .zmp-hub-filters__buttons { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .zmp-hub-filters button { padding: 9px 5px; font-size: 12px; min-height: 44px; white-space: nowrap; }
  .zmp-hub-grid { grid-template-columns: 1fr; gap: 23px; }
  .zmp-hub-card__scene img { aspect-ratio: 3 / 2; }
  .zmp-hub-card__body { padding: 20px; }
  .zmp-hub .zmp-hub-card h3 { font-size: 25px; }
  .zmp-hub-card__heading { gap: 8px; }
  .zmp-hub .zmp-hub-card__body > p { font-size: 14px; margin: 12px 0 18px; }
  .zmp-hub-card__age { left: 13px; top: 13px; font-size: 12px; }
  .zmp-hub-card__enter { right: 13px; bottom: 13px; width: 42px; height: 42px; }
  .zmp-hub-card__bottom { gap: 7px; padding-top: 13px; }
  .zmp-hub-card__duration, .zmp-hub-card__action { font-size: 12px; }
  .zmp-hub-card__action { gap: 6px; }
  .zmp-hub .zmp-hub-library__note { font-size: 12px; margin-top: 17px; }
  .zmp-hub-paper { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .zmp-hub-paper__visual { min-height: 245px; }
  .zmp-hub-paper__content { padding: 27px 25px 30px; }
  .zmp-hub .zmp-hub-paper h2 { font-size: 36px; }
  .zmp-hub .zmp-hub-paper__content > p { font-size: 14px; }
  .zmp-hub-paper__stamp { left: 16px; bottom: 16px; font-size: 12px; }
  .zmp-hub-text-link { font-size: 13px; gap: 10px; }
  .zmp-hub-faq { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .zmp-hub .zmp-hub-faq h2 { font-size: 27px; }
  .zmp-hub-faq summary { min-height: 68px; font-size: 15px; }
  .zmp-hub .zmp-hub-faq details p { font-size: 14px; }
  .zmp-hub .zmp-hub-signoff { margin: 42px 15px 22px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .zmp-hub *, .zmp-hub *::before, .zmp-hub *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
