/* GRAINBUD_POPRAWKI_16_20261002 */
/* GRAINBUD pack 16: scoped to four explicitly marked picture heroes. */
#gb-frontend [data-gb-hero16]::after,
#gb-frontend [data-gb-hero16] .gb-rental-hero-bg::after {
    background: rgba(14, 20, 22, .34) !important;
}
#gb-frontend [data-gb-hero16] .gb-hero16-picture {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
}
#gb-frontend [data-gb-hero16] .gb-hero16-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}
#gb-frontend [data-gb-hero16] .gb-rental-hero-bg .gb-hero16-picture { z-index: 0; }
#gb-frontend [data-gb-hero16] .gb-rental-hero-bg::after { z-index: 1; }
#gb-frontend [data-gb-hero16] :is(.gb-hero-content, .gr-hero-copy, .gx-hero-copy, .gb-rental-hero-content) {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 3px 14px rgba(0, 0, 0, .5);
}
#gb-frontend [data-gb-hero16] :is(.gb-hero-content, .gr-hero-copy, .gx-hero-copy, .gb-rental-hero-content) p {
    color: #fff;
}
#gb-frontend [data-gb-hero16] :is(.gr-button, .gx-button, .gb-rental-btn) { text-shadow: none; }
#gb-frontend [data-gb-hero16] :is(.gr-button-outline, .gx-button-outline) {
    background-color: rgba(14, 20, 22, .2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}
#gb-frontend [data-gb-hero16="blog"] .gb-hero16-picture img { object-position: 50% 68%; }
#gb-frontend [data-gb-hero16="references"] .gb-hero16-picture img { object-position: 50% 58%; }
#gb-frontend [data-gb-hero16="realizations"] .gb-hero16-picture img { object-position: 50% 53%; }
#gb-frontend [data-gb-hero16="rental"] .gb-hero16-picture img { object-position: 50% 50%; }
@media (max-width: 767px) {
    #gb-frontend [data-gb-hero16="blog"] .gb-hero16-picture img { object-position: 56% 55%; }
    #gb-frontend [data-gb-hero16="references"] .gb-hero16-picture img { object-position: 66% 50%; }
    #gb-frontend [data-gb-hero16="realizations"] .gb-hero16-picture img { object-position: 68% 50%; }
    #gb-frontend [data-gb-hero16="rental"] .gb-hero16-picture img { object-position: 47% 50%; }
}

/* GRAINBUD content 16: native, server-rendered disclosure panels. */
#gb-wykopy-article .wyk-details-16{margin:22px 0;border:1px solid #d8d8d2;background:#fafaf8}
#gb-wykopy-article .wyk-details-16 summary{padding:15px 18px;cursor:pointer;font:inherit;font-weight:600;line-height:1.5}
#gb-wykopy-article .wyk-details-16 summary::marker{color:#795700}
#gb-wykopy-article .wyk-details-16 summary:focus-visible{outline:3px solid #977000;outline-offset:3px}
#gb-wykopy-article .wyk-details-16[open] summary{border-bottom:1px solid #deded8}
#gb-wykopy-article .wyk-details-body-16{padding:18px;font-size:14px;line-height:1.75}
#gb-wykopy-article .wyk-details-body-16 a,#gb-wykopy-article .wyk-sources-16 a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#gb-wykopy-article .wyk-sources-16{font-size:12px;line-height:1.7;color:#626262;margin-top:18px}
#gb-wykopy-article .wyk-details-dark-16{background:#262626;border-color:#555;color:#eee}
#gb-wykopy-article .wyk-details-dark-16 summary::marker{color:#f6b900}
#gb-wykopy-article .wyk-details-dark-16[open] summary{border-color:#555}
#gb-wykopy-article .wyk-details-dark-16 .wyk-quote-list{margin-bottom:20px}
#gb-wykopy-article .wyk-details-dark-16 p{font-size:14px}
@media(max-width:650px){#gb-wykopy-article .wyk-details-16 summary{padding:14px}#gb-wykopy-article .wyk-details-body-16{padding:14px}}

/* Keep the documentary photographs intact; adjust only their presentation. */
#gb-wykopy-article .wyk-gallery picture { display: block; }
#gb-wykopy-article .wyk-gallery img {
    filter: brightness(1.035) contrast(1.075) saturate(1.12) sepia(.025);
}
@media (max-width: 650px) {
    #gb-wykopy-article .wyk-gallery { grid-template-columns: 1fr; gap: 24px; }
}
