.ypz-gallery{--ypz-accent:#e04c50;--ypz-gallery-height:72vh;color:#fff;font-family:inherit;width:100%;isolation:isolate}
.ypz-gallery,.ypz-gallery *{box-sizing:border-box}
.ypz-gallery [hidden]{display:none!important}
.ypz-stage{position:relative;width:100%;height:var(--ypz-gallery-height);min-height:400px;max-height:980px;background:#171717;color:#fff;overflow:hidden;outline-offset:3px}
.ypz-stage:fullscreen{height:100vh;max-height:none}
.ypz-slide{position:absolute;inset:0;display:block;margin:0;height:100%;width:100%;overflow:hidden}
.ypz-slide-image{display:block;height:100%!important;width:100%!important;max-width:none!important;object-fit:cover;background:#141414}
.ypz-caption{position:absolute;left:0;right:0;bottom:0;padding:94px clamp(20px,4vw,70px) clamp(30px,5vh,65px);background:linear-gradient(0deg,rgba(0,0,0,.91),rgba(0,0,0,.62) 55%,transparent 100%);pointer-events:none;max-height:73%;overflow:auto;scrollbar-width:thin}
.ypz-caption>*{max-width:850px;margin:0 0 7px}
.ypz-caption .ypz-date{display:block;font-size:12px;letter-spacing:.11em;font-weight:600;text-transform:uppercase;color:#f5b1b2}
.ypz-gallery .ypz-photo-title{font-size:clamp(23px,3vw,42px);line-height:1.13;color:#fff;margin:4px 0 10px;font-weight:750}
.ypz-desc{font-size:clamp(13px,1.3vw,16px);line-height:1.5;color:#f5f5f5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.ypz-desc p{margin:0 0 5px}
.ypz-credit{font-size:12px!important;color:#ccc}
.ypz-story-trigger{pointer-events:auto;background:rgba(0,0,0,.48);border:1px solid rgba(255,255,255,.55);color:#fff;padding:7px 12px;cursor:pointer;margin-top:8px;font-size:13px;border-radius:0}
.ypz-story-trigger:hover,.ypz-story-trigger:focus-visible{background:var(--ypz-accent);color:#fff}
.ypz-topbar{position:absolute;z-index:5;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:linear-gradient(180deg,rgba(0,0,0,.65),transparent);gap:10px}
.ypz-topright{display:flex;align-items:center;gap:14px}
.ypz-control{background:transparent!important;color:#fff!important;border:0!important;cursor:pointer;display:flex;align-items:center;gap:12px;padding:8px!important;border-radius:0!important;font-size:14px;letter-spacing:.06em}
.ypz-control:hover,.ypz-control:focus-visible{color:#fff!important;opacity:.8}
.ypz-hamburger{display:flex;width:23px;flex-direction:column;gap:5px}
.ypz-hamburger i{height:2px;width:100%;background:#fff}
.ypz-brand{font-size:clamp(11px,1.25vw,15px);font-weight:750;text-transform:uppercase;text-align:left}
.ypz-counter{font-variant-numeric:tabular-nums;font-size:13px;letter-spacing:.08em;white-space:nowrap}
.ypz-fullscreen{font-size:29px;line-height:1}
.ypz-arrow{z-index:4;position:absolute;top:43%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.3)!important;background:rgba(0,0,0,.38)!important;color:#fff!important;cursor:pointer;width:46px;height:60px;display:grid;place-items:center;padding:0!important;border-radius:0!important;transition:background .15s}
.ypz-arrow span{font-size:52px;font-weight:200;line-height:40px}
.ypz-arrow:hover,.ypz-arrow:focus-visible{background:rgba(0,0,0,.8)!important;color:#fff!important}
.ypz-prev{left:16px}.ypz-next{right:16px}
.ypz-menu{position:absolute;z-index:10;inset:0;background:rgba(11,11,14,.91);backdrop-filter:blur(13px);padding:clamp(16px,3vw,35px);display:flex;flex-direction:column;gap:16px;overflow:hidden;color:#fff}
.ypz-menu-head,.ypz-story-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}
.ypz-menu-head strong{font-size:clamp(17px,2vw,25px)}
.ypz-icon-button,.ypz-story-top button{background:transparent!important;color:white!important;border:1px solid #666!important;border-radius:0!important;font-size:27px!important;width:39px;height:39px;line-height:1;cursor:pointer;padding:0!important}
.ypz-menu-tools{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.ypz-tab{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:0!important;cursor:pointer;padding:9px 13px!important;font-size:13px!important;letter-spacing:.02em;min-height:40px}
.ypz-tab.is-selected,.ypz-tab:hover{background:var(--ypz-accent)!important;color:#fff!important;border-color:var(--ypz-accent)!important}
.ypz-menu-choices,.ypz-results{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#555 transparent;scrollbar-width:thin;flex:1;padding-right:4px}
.ypz-choice{width:100%;padding:14px!important;background:rgba(255,255,255,.04)!important;color:#fff!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important;text-align:left;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:15px!important;border-radius:0!important}
.ypz-choice:hover,.ypz-choice:focus-visible{background:rgba(255,255,255,.16)!important}
.ypz-choice span{font-size:25px}
.ypz-datepicker-label{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:6px 0 16px;font-size:14px}
.ypz-datepicker-label input{color:#171717!important;background:#fff!important;min-height:38px;max-width:230px}
.ypz-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));column-gap:18px}
.ypz-results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap;font-size:12px;color:#ddd}
.ypz-back{background:transparent!important;color:#fff!important;border:0!important;padding:7px 0!important;cursor:pointer;text-decoration:underline;border-radius:0!important}
.ypz-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-content:start;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
.ypz-tile{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:0!important;text-align:left;padding:0!important;overflow:hidden;cursor:pointer;min-width:0}
.ypz-tile img{width:100%!important;height:clamp(90px,13vw,170px)!important;display:block;object-fit:cover;background:#333}
.ypz-tile span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:13px;line-height:1.3;min-height:42px;padding:7px 9px}
.ypz-tile.is-current,.ypz-tile:hover,.ypz-tile:focus-visible{border-color:var(--ypz-accent)!important;outline:1px solid var(--ypz-accent);outline-offset:-1px}
.ypz-story-panel{position:absolute;z-index:12;inset:0;background:rgba(9,9,10,.94);backdrop-filter:blur(10px);padding:clamp(20px,4vw,60px);overflow-y:auto}
.ypz-story-top strong{font-size:clamp(20px,2.4vw,29px)}
.ypz-story-content{font-size:clamp(14px,1.6vw,19px);line-height:1.7;max-width:900px;margin-top:20px}
.ypz-story-content a{color:#ffc7c8;text-decoration:underline}
@media (max-width:900px){.ypz-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ypz-caption{padding-left:54px;padding-right:54px}.ypz-arrow{width:37px;height:55px}.ypz-prev{left:5px}.ypz-next{right:5px}}
@media (max-width:600px){
  .ypz-stage{height:min(75svh,740px);min-height:420px;max-height:none}
  .ypz-stage:fullscreen{height:100svh}
  .ypz-topbar{padding:10px 12px}
  .ypz-brand{max-width:210px;font-size:11px}
  .ypz-control{gap:7px;padding:7px!important}
  .ypz-topright{gap:2px}.ypz-counter{font-size:11px}
  .ypz-fullscreen{font-size:23px}
  .ypz-caption{padding:70px 20px 20px;max-height:65%}
  .ypz-gallery .ypz-photo-title{font-size:clamp(21px,5vw,29px)}
  .ypz-desc{font-size:13px;-webkit-line-clamp:2;line-clamp:2}
  .ypz-credit{font-size:11px!important}
  .ypz-arrow{top:45%;width:32px;height:47px;background:rgba(0,0,0,.22)!important}
  .ypz-arrow span{font-size:38px}
  .ypz-prev{left:0}.ypz-next{right:0}
  .ypz-menu{padding:14px 12px;gap:10px}
  .ypz-menu-head strong{font-size:17px}
  .ypz-menu-tools{gap:5px;flex-wrap:nowrap}
  .ypz-tab{font-size:11px!important;padding:7px!important;flex:1;min-width:0}
  .ypz-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ypz-tile img{height:105px!important}
  .ypz-tile span{font-size:12px;padding:7px;min-height:40px}
  .ypz-choice{padding:10px!important;font-size:13px!important}
}
@media (prefers-reduced-motion: reduce){.ypz-gallery *{transition:none!important;animation:none!important}}

/* Yalla! 1.1.0 – konfigurowalna typografia i nawigacja kropkami */
.ypz-gallery{font-family:var(--ypz-font-family,inherit);--ypz-text-color:#ffffff;--ypz-desc-color:#f2f2f2;--ypz-title-size:36px;--ypz-title-mobile:25px;--ypz-desc-size:16px;--ypz-date-size:12px;--ypz-credit-size:12px;--ypz-menu-title-size:24px;--ypz-dot-size:15px;--ypz-dot-gap:11px;--ypz-dot-active-width:36px;--ypz-dot-opacity:.65;--ypz-dot-color:#fff;--ypz-dot-active-color:#ff5757;--ypz-menu-opacity:.91;--ypz-caption-opacity:.91;--ypz-arrow-opacity:.38}
.ypz-gallery .ypz-photo-title{font-size:var(--ypz-title-size);color:var(--ypz-text-color);}
.ypz-gallery .ypz-desc{font-size:var(--ypz-desc-size);color:var(--ypz-desc-color)}
.ypz-gallery .ypz-date{font-size:var(--ypz-date-size)}
.ypz-gallery .ypz-credit{font-size:var(--ypz-credit-size)!important}
.ypz-gallery .ypz-menu-head strong{font-size:var(--ypz-menu-title-size)}
.ypz-gallery .ypz-caption{padding-bottom:clamp(54px,7vh,88px);background:linear-gradient(0deg,rgba(0,0,0,var(--ypz-caption-opacity)),rgba(0,0,0,.62) 55%,transparent 100%)}
.ypz-gallery .ypz-menu{background:rgba(11,11,14,var(--ypz-menu-opacity))}
.ypz-gallery .ypz-arrow{background:rgba(0,0,0,var(--ypz-arrow-opacity))!important}
.ypz-gallery .ypz-dots{position:absolute;z-index:6;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:var(--ypz-dot-gap);max-width:calc(100% - 34px);min-height:var(--ypz-dot-size);padding:4px 6px;line-height:0;pointer-events:auto}
.ypz-gallery .ypz-dot{appearance:none;display:inline-block;flex:0 0 auto;width:var(--ypz-dot-size);height:var(--ypz-dot-size);min-width:0;min-height:0;padding:0!important;margin:0!important;border:0!important;outline-offset:3px;border-radius:999px!important;background:var(--ypz-dot-color)!important;opacity:var(--ypz-dot-opacity);box-shadow:none!important;cursor:pointer;transition:width .18s ease,background-color .18s ease,opacity .18s ease}
.ypz-gallery .ypz-dot.is-active{width:var(--ypz-dot-active-width);background:var(--ypz-dot-active-color)!important;opacity:1}
.ypz-gallery .ypz-dot:hover,.ypz-gallery .ypz-dot:focus-visible{opacity:1;transform:scale(1.09)}
@media (max-width:600px){
 .ypz-gallery .ypz-photo-title{font-size:var(--ypz-title-mobile)}
 .ypz-gallery .ypz-desc{font-size:clamp(11px,var(--ypz-desc-size),20px)}
 .ypz-gallery .ypz-stage{height:min(var(--ypz-gallery-height,75svh),80svh)}
 .ypz-gallery .ypz-caption{padding-bottom:55px}
 .ypz-gallery .ypz-dots{bottom:11px;gap:min(var(--ypz-dot-gap),9px)}
 .ypz-gallery .ypz-dot{width:min(var(--ypz-dot-size),14px);height:min(var(--ypz-dot-size),14px)}
 .ypz-gallery .ypz-dot.is-active{width:min(var(--ypz-dot-active-width),40px)}
}

/* Yalla! 1.2.0 – dwustopniowy wybór miejsca i tematu, menu mobilne */
.ypz-gallery .ypz-subchoices{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#555 transparent;scrollbar-width:thin;padding-right:4px}
.ypz-gallery .ypz-sub-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start;margin-top:8px}
.ypz-gallery .ypz-menu-hint{margin:0 0 14px;color:rgba(255,255,255,.77);font-size:13px;line-height:1.55}
.ypz-gallery .ypz-choice .ypz-choice-label{font-size:inherit;line-height:1.45;min-width:0}
.ypz-gallery .ypz-sub-choice{border:1px solid rgba(255,255,255,.2)!important;gap:12px;min-height:55px}
.ypz-gallery .ypz-sub-choice.ypz-sub-all{border-color:var(--ypz-accent)!important;background:rgba(255,255,255,.09)!important}
.ypz-gallery .ypz-choice .ypz-choice-count{font-size:11px;white-space:nowrap;line-height:1.3;letter-spacing:0;color:rgba(255,255,255,.7)}
.ypz-gallery .ypz-subchoices .ypz-results-head{margin-bottom:9px}
.ypz-gallery .ypz-subchoices [data-subtitle]{color:#fff;font-size:clamp(15px,2vw,20px)}
@media (max-width:600px){
 .ypz-gallery .ypz-sub-list{grid-template-columns:1fr;gap:5px}
 .ypz-gallery .ypz-sub-choice{min-height:44px;padding:9px 10px!important}
 .ypz-gallery .ypz-menu-hint{font-size:12px;margin-bottom:8px}
 .ypz-gallery .ypz-choice .ypz-choice-count{font-size:10px}
}


/* Yalla! 1.2.1 – pełna szerokość i opis pod zdjęciem */
/* Wyrównanie do kontenera nadrzędnego (zwykle szerszego od widgetu/shortcode).
   Wartości po inicjalizacji galerii ustawia gallery.js, domyślnie pozostaje 100%. */
.ypz-gallery.is-fullwidth{
 position:relative;
 left:var(--ypz-align-left,0px);
 width:var(--ypz-align-width,100%);
 max-width:none;
 min-width:0;
 margin-left:0;
 margin-right:0;
}
.ypz-gallery.is-caption-below{--ypz-caption-below-height:220px}
.ypz-gallery.is-caption-below .ypz-stage{background:#000}
.ypz-gallery.is-caption-below .ypz-slide{display:flex;flex-direction:column}
.ypz-gallery.is-caption-below .ypz-slide-image{flex:1 1 auto;height:calc(100% - var(--ypz-caption-below-height))!important;min-height:0}
.ypz-gallery.is-caption-below .ypz-caption{position:relative;left:auto;right:auto;bottom:auto;padding:18px clamp(18px,3vw,34px) 20px;background:#000;max-height:none;height:var(--ypz-caption-below-height);overflow:auto;pointer-events:auto}
.ypz-gallery.is-caption-below .ypz-caption>*{max-width:none}
.ypz-gallery.is-caption-below .ypz-dots{bottom:calc(var(--ypz-caption-below-height) + 12px)}
.ypz-gallery.is-caption-below .ypz-arrow{top:calc((100% - var(--ypz-caption-below-height))/2)}
.ypz-gallery.is-caption-below .ypz-story-trigger{background:rgba(255,255,255,.06)}
@media (max-width:600px){
 .ypz-gallery.is-caption-below{--ypz-caption-below-height:195px}
 .ypz-gallery.is-caption-below .ypz-caption{padding:16px 16px 18px}
 .ypz-gallery.is-caption-below .ypz-dots{bottom:calc(var(--ypz-caption-below-height) + 8px)}
}

/* Yalla! 1.3.0 – wysokości, opis bez pustej czerni, równe miniatury i paginacja */
.ypz-gallery .ypz-stage{min-height:var(--ypz-min-height,400px)}
.ypz-gallery .ypz-choice-label small{color:rgba(255,255,255,.72);font-size:.86em;font-weight:500;white-space:nowrap}
.ypz-gallery .ypz-choice > span[aria-hidden]{font-size:22px;flex-shrink:0}
.ypz-gallery .ypz-year-heading{color:#fff;font-size:17px;font-weight:750;margin:12px 0 0;grid-column:1/-1;padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.23)}
.ypz-gallery .ypz-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;align-content:start}
.ypz-gallery .ypz-results{display:flex;flex-direction:column;min-width:0;overflow-y:auto;gap:12px;scrollbar-width:thin}
.ypz-gallery .ypz-results-head{flex:0 0 auto;margin:0}
.ypz-gallery .ypz-tiles{display:grid;grid-template-columns:repeat(var(--ypz-current-tile-cols,var(--ypz-tiles-cols,4)),minmax(0,1fr));align-content:start;gap:12px;min-height:0;max-height:none;overflow:visible;padding:0;flex:0 0 auto}
.ypz-gallery .ypz-tile{min-width:0;min-height:0;width:100%;display:flex;flex-direction:column;align-self:stretch;background:rgba(255,255,255,.07)!important}
.ypz-gallery .ypz-tile img{width:100%!important;height:auto!important;aspect-ratio:4/3;min-height:0!important;object-fit:cover!important;object-position:center center;background:#333}
.ypz-gallery .ypz-tile img[style]{object-position:var(--ypz-manual-position,center center)}
.ypz-gallery .ypz-tile span{display:-webkit-box;flex:1;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-height:42px;padding:8px 10px 9px;margin:0;color:#fff;font-size:13px;font-weight:600;line-height:1.35;overflow:hidden}
.ypz-gallery .ypz-tile-pager{display:flex;gap:15px;align-items:center;justify-content:center;flex:0 0 auto;padding:10px 0 8px}
.ypz-gallery .ypz-tile-pager [data-page-status]{min-width:85px;text-align:center;color:#ddd;font-size:13px;font-variant-numeric:tabular-nums}
.ypz-gallery .ypz-page-arrow{border:1px solid rgba(255,255,255,.5)!important;background:rgba(255,255,255,.11)!important;color:#fff!important;display:grid;place-items:center;width:47px;height:40px;padding:0!important;border-radius:0!important;font-size:33px!important;cursor:pointer;line-height:1!important}
.ypz-gallery .ypz-page-arrow:hover:not(:disabled),.ypz-gallery .ypz-page-arrow:focus-visible:not(:disabled){border-color:var(--ypz-accent)!important;background:var(--ypz-accent)!important}
.ypz-gallery .ypz-page-arrow:disabled{opacity:.3;cursor:default}

/* Opis pod fotografią: wysokość automatyczna, nie blok o stałych 220px */
.ypz-gallery.is-caption-below .ypz-stage{height:auto!important;max-height:none;min-height:0!important;overflow:hidden}
.ypz-gallery.is-caption-below .ypz-slide{position:relative;inset:auto;display:flex;flex-direction:column;height:auto!important;min-height:0;max-height:none;overflow:visible}
.ypz-gallery.is-caption-below .ypz-slide-image{width:100%!important;height:var(--ypz-gallery-height)!important;min-height:var(--ypz-min-height,400px)!important;flex:0 0 auto;object-fit:cover}
.ypz-gallery.is-caption-below .ypz-caption{position:relative;inset:auto;height:auto!important;min-height:0;max-height:none;display:block;flex:0 0 auto;overflow:visible;background:#080808;padding:17px clamp(20px,3vw,42px) 18px;pointer-events:auto}
.ypz-gallery.is-caption-below .ypz-caption>*{max-width:1100px;margin-bottom:5px}
.ypz-gallery.is-caption-below .ypz-photo-title{margin:3px 0 7px;line-height:1.15}
.ypz-gallery.is-caption-below .ypz-desc{line-height:1.45}
.ypz-gallery.is-caption-below .ypz-credit{margin-top:5px}
.ypz-gallery.is-caption-below .ypz-dots{bottom:auto;top:calc(max(var(--ypz-gallery-height),var(--ypz-min-height,400px)) - 43px)}
.ypz-gallery.is-caption-below .ypz-arrow{top:calc(max(var(--ypz-gallery-height),var(--ypz-min-height,400px)) / 2)}
.ypz-gallery.is-caption-below .ypz-menu{min-height:0}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen{height:100dvh!important;max-height:none;display:flex}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-slide{height:100%!important;width:100%;flex:1 1 auto;min-height:0}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-slide-image{height:0!important;min-height:0!important;flex:1 1 auto}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption{max-height:36%;overflow-y:auto;flex:0 0 auto}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-dots{top:auto;bottom:calc(36% + 15px)}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-arrow{top:42%}
@media (max-width:900px){
 .ypz-gallery .ypz-months{grid-template-columns:1fr}
}
@media (max-width:600px){
 .ypz-gallery .ypz-stage{min-height:var(--ypz-min-height-mobile,280px)}
 .ypz-gallery.is-caption-below .ypz-slide-image{height:min(var(--ypz-gallery-height),70svh)!important;min-height:var(--ypz-min-height-mobile,280px)!important}
 .ypz-gallery.is-caption-below .ypz-caption{padding:14px 15px 16px}
 .ypz-gallery.is-caption-below .ypz-dots{top:calc(max(min(var(--ypz-gallery-height),70svh),var(--ypz-min-height-mobile,280px)) - 34px)}
 .ypz-gallery.is-caption-below .ypz-arrow{top:calc(max(min(var(--ypz-gallery-height),70svh),var(--ypz-min-height-mobile,280px)) / 2)}
 .ypz-gallery .ypz-tiles{gap:7px}
 .ypz-gallery .ypz-tile span{font-size:12px;min-height:40px;padding:7px}
 .ypz-gallery .ypz-page-arrow{width:40px;height:37px}
 .ypz-gallery .ypz-results{gap:8px}
}


/* Yalla! 1.3.6: aktywny filtr w nagłówku i siatki 4×2 / 3×2 / 3×4 */
.ypz-gallery .ypz-topbar-left{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;flex-wrap:wrap}
.ypz-gallery .ypz-menu-trigger{flex:0 0 auto;min-width:0}
.ypz-gallery .ypz-topright{flex:0 0 auto}
.ypz-gallery .ypz-active-filter{display:flex;min-width:0;align-items:center;gap:7px;line-height:1.3;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.ypz-gallery .ypz-active-filter[hidden]{display:none!important}
.ypz-gallery .ypz-filter-sep{font-size:19px;opacity:.85;flex:0 0 auto}
.ypz-gallery .ypz-filter-label{font-size:13px;font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(38vw,600px)}
.ypz-gallery .ypz-filter-reset{display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.55)!important;border-radius:0!important;background:rgba(0,0,0,.42)!important;color:#fff!important;padding:0!important;width:24px;height:24px;min-width:24px;font-size:20px!important;line-height:1!important;cursor:pointer}
.ypz-gallery .ypz-filter-reset:hover,.ypz-gallery .ypz-filter-reset:focus-visible{background:var(--ypz-accent)!important;border-color:var(--ypz-accent)!important}
.ypz-gallery .ypz-tiles{grid-template-columns:repeat(var(--ypz-current-tile-cols,4),minmax(0,1fr))}
@media (max-width:900px){
 .ypz-gallery .ypz-filter-label{max-width:min(42vw,400px)}
}
@media (max-width:600px){
 .ypz-gallery .ypz-topbar{align-items:flex-start;gap:6px;padding:12px 12px}
 .ypz-gallery .ypz-topbar-left{gap:4px 8px;flex:1 1 0;align-content:start}
 .ypz-gallery .ypz-menu-trigger{max-width:100%;gap:8px}
 .ypz-gallery .ypz-hamburger{width:24px;flex:0 0 24px}
 .ypz-gallery .ypz-brand{font-size:14px;letter-spacing:.015em;line-height:1.2;max-width:calc(100% - 32px);white-space:normal}
 .ypz-gallery .ypz-active-filter{flex-basis:100%;gap:6px;margin-left:32px}
 .ypz-gallery .ypz-filter-label{font-size:12px;max-width:calc(100% - 60px)}
 .ypz-gallery .ypz-filter-reset{width:26px;height:26px;min-width:26px}
 .ypz-gallery .ypz-tiles{gap:5px}
 .ypz-gallery .ypz-tile span{font-size:11px;line-height:1.25;min-height:32px;padding:5px 5px 6px}
 .ypz-gallery .ypz-menu-head strong{font-size:19px}
 .ypz-gallery .ypz-menu-tools .ypz-tab{font-size:12px!important}
 .ypz-gallery .ypz-choice{font-size:14px!important}
 .ypz-gallery .ypz-tile-pager{padding:8px 0}
}


/* Yalla! 1.3.8 – pełny ekran: szeroki panel opisu i wyrównanie do lewej.
   Tylko fullscreen z opisem pod zdjęciem; zwykły widok jest nietknięty. */
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-slide{
    width:100%!important;
    min-width:0;
    align-items:stretch;
}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption{
    width:100%!important;
    min-width:0;
    max-width:none!important;
    margin:0!important;
    padding:clamp(16px,2.1vw,30px) clamp(18px,3vw,60px)!important;
    box-sizing:border-box;
    align-self:stretch;
    flex:0 0 auto;
    text-align:left!important;
    max-height:min(38dvh,380px)!important;
    overflow-y:auto;
    overflow-x:hidden;
}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption > :is(.ypz-date,.ypz-photo-title,.ypz-desc,.ypz-credit){
    width:100%;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    text-align:left!important;
}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption .ypz-desc,
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption .ypz-desc *,
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption .ypz-credit,
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption .ypz-date,
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption .ypz-photo-title{
    text-align:left!important;
    max-width:none!important;
}
/* Położenie kropek i strzałek względem faktycznej wysokości panelu. */
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-dots{
    top:auto;
    bottom:calc(var(--ypz-fs-caption-height,120px) + 14px);
}
.ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-arrow{
    top:calc((100% - var(--ypz-fs-caption-height,120px)) / 2);
}
@media (max-width:600px){
 .ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-caption{
    padding:14px 16px 18px!important;
    max-height:44dvh!important;
 }
 .ypz-gallery.is-caption-below .ypz-stage:fullscreen .ypz-dots{
    bottom:calc(var(--ypz-fs-caption-height,120px) + 10px);
 }
}
