/* ==========================================================================
   KINOZORI — v17 «Mobile hero: larger poster, side metadata, full-width body»
   Loaded after v16. Phone-only; tablet and desktop keep their existing layout.

   1) The poster grows from 88–116px to 112–176px.
   2) Title, rating and every metadata pill stay beside the poster.
   3) Description and both actions move below the poster/title row.
   4) Actions sit side by side instead of stacking in the narrow text column.
   ========================================================================== */

@media (max-width: 767px) {
  .kz-hero__copy {
    display: contents !important;
  }

  .kz-hero__inner {
    grid-template-columns: clamp(112px, 36vw, 176px) minmax(0, 1fr) !important;
    grid-template-areas:
      "poster head"
      "body body" !important;
    align-items: start !important;
    column-gap: 14px !important;
    row-gap: 14px !important;
    padding: 16px 14px 18px !important;
  }

  .kz-hero__poster {
    grid-area: poster !important;
    align-self: start !important;
  }

  .kz-hero__head {
    grid-area: head;
    min-width: 0;
  }

  .kz-hero__body {
    grid-area: body;
    min-width: 0;
  }

  .kz-hero__title {
    margin: 8px 0 10px !important;
    font-size: clamp(20px, 5.4vw, 28px) !important;
    line-height: 1.08 !important;
  }

  .kz-hero__meta {
    margin: 0 !important;
    gap: 6px !important;
  }

  .kz-hero__meta .kz-chip {
    display: inline-flex !important;
    height: 24px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  /* v12 hid the quality chip in the narrow column; there is room for it now. */
  .kz-hero__meta .kz-chip--soft {
    display: inline-flex !important;
  }

  .kz-hero__genres {
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .kz-hero__lead {
    max-width: none !important;
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .kz-hero__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  .kz-hero__actions .kz-btn {
    justify-content: center;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }

  .kz-hero-dots {
    bottom: 8px !important;
  }
}
