/** Shopify CDN: Minification failed

Line 19:13 Unexpected "{"
Line 19:22 Expected ":"
Line 19:29 Unexpected "{"
Line 24:15 Unexpected "{"
Line 24:24 Expected ":"
Line 29:15 Unexpected "{"
Line 29:24 Expected ":"
Line 34:15 Unexpected "{"
Line 34:24 Expected ":"
Line 41:17 Unexpected "{"
... and 15 more hidden warnings

**/


/* CSS from section stylesheet tags */
#video-grid-{{ section.id }} {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #video-grid-{{ section.id }} .video-grid__header {
    text-align: center;
    margin-bottom: 24px;
  }

  #video-grid-{{ section.id }} .video-grid__heading {
    margin: 0;
    font-size: 2rem;
  }

  #video-grid-{{ section.id }} .video-grid {
    display: grid;
    gap: 16px;
  }

  /* Desktop – 3 filmy w rzędzie */
  @media screen and (min-width: 1025px) {
    #video-grid-{{ section.id }} .video-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  /* Tablet – 2 filmy w rzędzie */
  @media screen and (min-width: 751px) and (max-width: 1024px) {
    #video-grid-{{ section.id }} .video-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  /* Telefon – 1 film w rzędzie */
  @media screen and (max-width: 750px) {
    #video-grid-{{ section.id }} .video-grid {
      grid-template-columns: 1fr;
    }
  }

  #video-grid-{{ section.id }} .video-grid__item {
    width: 100%;
  }

  /* Wrapper z proporcją pionowego wideo (9:16) */
  #video-grid-{{ section.id }} .video-grid__ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
  }

  #video-grid-{{ section.id }} .video-grid__ratio video,
  #video-grid-{{ section.id }} .video-grid__ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* ucinamy brzegi, żeby nie było czarnych pasków */
  }

  #video-grid-{{ section.id }} .video-grid__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.7;
  }