/* from themes/basic/section/block/12_block.html */
:where(.tpl-section-block-12_block) * { box-sizing: border-box; margin: 0; padding: 0; }
:where(body:has(.tpl-section-block-12_block)) .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
:where(body:has(.tpl-section-block-12_block)) .lightbox.open {
    opacity: 1;
    visibility: visible;
  }
:where(body:has(.tpl-section-block-12_block)) .lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
  }
:where(body:has(.tpl-section-block-12_block)) .lightbox-arrow {
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    user-select: none;
  }
:where(body:has(.tpl-section-block-12_block)) .lightbox-arrow:hover {
    background: rgba(255,255,255,0.15);
  }
