@font-face {
    font-family: Oswald;
    src: url("../fonts/oswald.ttf") format("truetype");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url("../fonts/manrope.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
:root {
    --ink: #151515;
    --muted: #666;
    --gold: #9a7940;
    --pale-gold: #c7ab75;
    --line: #e3e1dc;
    --paper: #fff;
    --bs-body-font-family: Manrope, Arial, sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-line-height: 1.85;
    --bs-border-radius: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}
body {
    font-size: 16px;
    background: var(--paper);
    overflow-wrap: break-word;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--gold);
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    font: inherit;
}
img {
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
.site-nav,
.button,
.card-title,
.price,
.footer-contact > a,
.gallery-end > a {
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-weight: 500;
    line-height: 1.2;
}
h1,
h2,
h3 {
    text-transform: uppercase;
}
h2 {
    font-size: clamp(2.3rem, 4.1vw, 3.5rem);
    margin: 0 0 1.5rem;
}
p {
    margin-bottom: 1.2rem;
}
.container {
    width: 100%;
    padding-inline: 24px;
    max-width: 1200px !important;
}
.text-gold {
    color: var(--gold) !important;
}
.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section {
    padding-block: 78px;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 15px 23px;
    border: 1px solid var(--ink);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    transition:
        background 0.2s,
        color 0.2s;
}
.button:hover {
    background: var(--ink);
    color: #fff;
}
.button-light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}
.button-light:hover {
    background: var(--pale-gold);
    border-color: var(--pale-gold);
    color: #151515;
}
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 2000;
    background: #fff;
    padding: 10px 20px;
}
.skip-link:focus {
    top: 16px;
}
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
}
.brand {
    display: inline-block;
    flex-shrink: 0;
    width: 100px;
}
.brand img {
    display: block;
    width: 100%;
    height: auto;
}
.brand--light {
    filter: invert(1);
}
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    color: #fff;
    cursor: pointer;
}
.menu-word {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hamburger {
    width: 27px;
    display: grid;
    gap: 5px;
}
.hamburger i {
    height: 2px;
    background: currentColor;
    display: block;
}
.hamburger i:nth-child(2) {
    width: 20px;
    margin-left: auto;
}
.gc-inner .site-header {
    position: relative;
}
.gc-inner .menu-toggle {
    background: #f4f3f1;
    color: var(--ink);
}
.offcanvas {
    --bs-offcanvas-width: 300px;
    --bs-offcanvas-padding-x: 32px;
    --bs-offcanvas-padding-y: 32px;
    border: 0 !important;
}
.offcanvas-header {
    padding-top: 35px;
}
.offcanvas-header .eyebrow {
    margin: 0;
}
.offcanvas-body {
    display: flex;
    flex-direction: column;
}
.site-nav {
    list-style: none;
    padding: 25px 0 0;
    margin: 0;
    font-size: 2.6rem;
    text-transform: uppercase;
}
.site-nav li {
    border-bottom: 1px solid var(--line);
}
.site-nav a {
    display: block;
    padding: 18px 0;
}
.menu-contact {
    margin-top: auto;
    padding-top: 50px;
}
.menu-contact > a {
    font-size: 15px;
}
.menu-contact .eyebrow {
    color: var(--gold);
}
.hero {
    height: 720px;
    height: 88svh;
    min-height: 550px;
    max-height: 1050px;
    position: relative;
    background: #151515;
    color: #fff;
    overflow: hidden;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}
.hero .carousel-item {
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
    transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.08);
    will-change: transform;
}
.carousel-item:nth-child(2) .hero-image {
    object-position: 50% 36%;
}
.carousel-item:nth-child(3) .hero-image {
    object-position: 50% 48%;
}
.hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 38%, rgba(0, 0, 0, 0.53));
}
.carousel-fade .carousel-item {
    transition: opacity 1.3s ease-in-out;
}
.hero-bottom {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.hero-caption .eyebrow {
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 10px;
}
.hero-caption h1 {
    font-weight: 400;
    font-size: clamp(1.7rem, 3.3vw, 2.85rem);
    text-transform: none;
    max-width: 700px;
    letter-spacing: 0.01em;
    margin: 0;
    text-shadow: 0 2px 25px #0004;
}
.slider-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero .carousel-indicators {
    position: static;
    margin: 0;
    gap: 14px;
}
.hero .carousel-indicators [data-bs-target] {
    width: 35px;
    height: 30px;
    text-indent: 0;
    border: 0;
    border-bottom: 1px solid #fff8;
    background: transparent;
    color: #fff;
    opacity: 0.6;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
    box-sizing: border-box;
}
.hero .carousel-indicators .active {
    opacity: 1;
    border-bottom: 2px solid var(--pale-gold);
}
.slider-pause {
    background: #0003;
    color: white;
    border: 1px solid #fff6;
    width: 36px;
    height: 36px;
    line-height: 1;
}
.scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 36px;
    display: grid;
    place-items: center;
    z-index: 3;
}
.scroll-cue > span {
    width: 14px;
    height: 23px;
    border: 1px solid #fff9;
    border-radius: 20px;
    position: relative;
}
.scroll-cue > span::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 5px;
    background: #fff;
    left: 5px;
    top: 4px;
    animation: scrollHint 2.5s ease infinite;
}
@keyframes scrollHint {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    65% {
        transform: translateY(6px);
        opacity: 0.3;
    }
}
.intro-copy {
    color: #595959;
    line-height: 1.95;
}
.intro-copy p:last-child {
    margin-bottom: 0;
}
.section-intro {
    padding-bottom: 100px;
}
.portfolio-grid {
    margin-top: 55px;
    display: grid;
    gap: 24px;
    position: relative;
}
.portfolio-card {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #222;
    color: #fff;
}
.portfolio-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 1s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 1s;
}
.portfolio-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0003, transparent 40%, #0009);
    pointer-events: none;
}
.portfolio-card:hover {
    color: #fff;
}
.portfolio-card:hover > img {
    transform: scale(1.045);
}
.card-number {
    position: absolute;
    top: 23px;
    left: 25px;
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    z-index: 1;
}
.card-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 1.55rem;
    text-transform: uppercase;
    z-index: 1;
}
.card-title > span:first-child {
    border-bottom: 1px solid #fff8;
    padding-bottom: 7px;
}
.card-arrow {
    font-family: Arial;
    font-size: 28px;
}
.portfolio-frame {
    display: none;
}
.about-section {
    background: #101010;
    color: #fff;
    padding-block: 70px;
}
.about-section .text-gold {
    color: var(--pale-gold) !important;
}
.about-text {
    color: #c1c1c1;
    max-width: 490px;
    margin-block: 25px 32px;
    font-size: 15px;
    line-height: 1.95;
}
.about-section h2 {
    font-size: clamp(2.1rem, 3.5vw, 3rem);
}
.about-signature {
    min-height: 310px;
    border: 1px solid #ffffff20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 30px;
    position: relative;
}
.about-signature::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #c7ab7540;
}
.signature-line {
    height: 32px;
    width: 1px;
    background: var(--pale-gold);
    margin-block: 20px;
}
.about-signature .eyebrow {
    font-size: 10px;
    color: var(--pale-gold);
    margin: 0;
}
.portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.package-subtitle {
    font-size: 1.25rem;
    margin-bottom: 25px;
}
.package-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.package-list li {
    padding: 11px 0 11px 21px;
    border-bottom: 1px solid #ecebe8;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.8;
}
.package-list li::before {
    content: "";
    width: 4px;
    height: 4px;
    position: absolute;
    left: 0;
    top: 22px;
    border-radius: 50%;
    background: var(--gold);
}
.price-banner {
    margin-top: 50px;
    position: relative;
    background: #eeedeb;
    min-height: 370px;
    overflow: hidden;
}
.price-image {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 10% center;
    opacity: 1;
}
.price-content {
    position: relative;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1;
}
.price-content .eyebrow {
    color: #72552b;
    margin-bottom: 8px;
    font-size: 11px;
}
.price {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 8px;
}
.price > span {
    font-size: 1.4rem;
}
.price-content small {
    font-size: 10px;
}
.travel h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.travel p {
    font-size: 12px;
    max-width: 220px;
    margin: 0;
    line-height: 1.7;
}
.site-footer {
    padding-top: 50px;
    border-top: 1px solid var(--line);
}
.footer-heading {
    margin-bottom: 40px;
}
.footer-heading .eyebrow {
    color: var(--pale-gold);
}
.footer-heading h2 {
    font-size: clamp(2rem, 3.7vw, 3rem);
}
.footer-grid {
    display: grid;
    gap: 30px;
    padding-bottom: 50px;
}
.footer-grid .brand {
    width: 110px;
}
.footer-contact {
    border-top: 1px solid var(--line);
    padding-top: 25px;
}
.footer-contact .eyebrow {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 8px;
}
.footer-contact > a {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    overflow-wrap: anywhere;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 20px;
    color: #6d6d6d;
    font-size: 10px;
}
.footer-bottom > a {
    white-space: nowrap;
}
.gallery-page {
    padding-top: 60px;
}
.gallery-heading {
    max-width: 780px;
    margin-bottom: 45px;
}
.gallery-heading h1,
.standard-page h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
}
.gallery-heading > p:last-child {
    color: var(--muted);
    max-width: 560px;
}
.back-link {
    display: inline-block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 50px;
}
.gallery-heading .eyebrow {
    color: var(--gold);
}
.gallery-content .gallery,
.gallery-content .wp-block-gallery {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 !important;
}
.gallery-content .gallery-item,
.gallery-content .wp-block-image {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    break-inside: avoid;
}
.gallery-content img {
    width: 100%;
    height: auto;
    display: block;
    border: 0 !important;
    transition: filter 0.3s;
}
.gallery-content a:has(img) {
    display: block;
    cursor: zoom-in;
}
.gallery-content a:hover img {
    filter: brightness(0.9);
}
.gallery-content .gallery-caption {
    font-size: 12px;
    margin: 10px 0 20px;
    color: var(--muted);
}
.gallery-content br {
    display: none;
}
.gallery-end {
    padding-block: 70px;
    text-align: center;
}
.gallery-end .eyebrow {
    color: var(--gold);
}
.gallery-end > a {
    font-size: 2rem;
    text-transform: uppercase;
}
.standard-page {
    padding-block: 80px 110px;
    min-height: 50vh;
}
.lightbox {
    background: #0b0b0b;
    color: white;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    padding: 60px 50px 35px;
    overflow: hidden;
}
.lightbox::backdrop {
    background: #000e;
}
.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox figure {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.lightbox-image {
    max-width: 100%;
    max-height: calc(100dvh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
}
.lightbox figcaption {
    font-size: 12px;
    color: #ddd;
    text-align: center;
}
.lightbox button {
    color: #fff;
    background: #ffffff10;
    border: 1px solid #ffffff35;
    width: 44px;
    height: 44px;
    font-size: 26px;
    display: grid;
    place-content: center;
    line-height: 1;
}
.lightbox-top {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lightbox-count {
    font-size: 12px;
    letter-spacing: 0.15em;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-prev {
    left: 5px;
}
.lightbox-next {
    right: 5px;
}
body.lightbox-open {
    overflow: hidden;
}
.reveal.is-ready {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.reveal.is-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (min-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .card-title {
        font-size: 1.35rem;
    }
    .gallery-content .gallery,
    .gallery-content .wp-block-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
		grid-template-columns: calc(50% - 30px);
    }
    .footer-grid .footer-contact:last-child {
        grid-column: 2;
    }
    .footer-contact {
        border-top: 0;
        border-left: 1px solid var(--line);
        padding: 5px 0 5px 28px;
    }
	.footer-contact-first {
        border-left: 0px solid var(--line);
        padding: 5px 0 5px 0px;
    }
}
@media (min-width: 768px) {
    .section {
        padding-block: 110px;
    }
    .brand {
        width: 125px;
    }
    .header-inner {
        padding-top: 36px;
    }
    .hero {
        height: 82svh;
        min-height: 620px;
        max-height: 930px;
    }
    .hero-bottom {
        bottom: 80px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    .portfolio-grid {
        margin: 80px auto 40px;
        max-width: 960px;
        gap: 30px;
        padding: 0 20px;
    }
    .portfolio-card--reportaz {
        transform: translateY(75px);
    }
    .portfolio-card--reportaz.reveal.is-ready {
        transform: translateY(97px);
    }
    .portfolio-card--reportaz.reveal.is-visible {
        transform: translateY(75px);
    }
    .portfolio-frame {
        display: block;
        position: absolute;
        left: 20%;
        right: 13%;
        top: 30%;
        bottom: -105px;
        border: 1px solid var(--pale-gold);
        z-index: -1;
    }
    .section-intro {
        padding-bottom: 180px;
    }
    .card-title {
        font-size: 1.85rem;
    }
    .card-number {
        top: 30px;
        left: 30px;
    }
    .card-title {
        left: 30px;
        right: 30px;
        bottom: 30px;
    }
    .about-section {
        padding-block: 80px;
    }
    .about-signature {
        min-height: 400px;
    }
    .portrait {
        margin-bottom: -145px;
        box-shadow: 0 25px 50px #0002;
    }
    .package-section {
        padding-top: 140px;
    }
    .price-banner {
        min-height: 260px;
        margin-top: 65px;
    }
    .price-image {
        opacity: 1;
        object-position: center 15%;
    }
    .price-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #f3f2f0 0%, #f3f2f0f5 10%, #f3f2f070 20%, transparent 30%);
    }
    .price-content {
        min-height: 260px;
        align-items: center;
        flex-direction: row;
        gap: 25px;
        padding: 40px;
    }
    .travel {
        border-left: 1px solid #bbb;
        padding-left: 25px;
    }
    .travel p {
        max-width: 155px;
    }
    .footer-grid {
        grid-template-columns: 170px 1.3fr 1fr;
        align-items: center;
    }
    .footer-grid .footer-contact:last-child {
        grid-column: auto;
    }
    .site-footer {
        padding-top: 65px;
    }
    .footer-heading {
        margin-bottom: 55px;
    }
    .footer-bottom {
        font-size: 11px;
    }
    .gallery-page {
        padding-top: 80px;
    }
    .gallery-content .gallery,
    .gallery-content .wp-block-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
    .lightbox {
        padding: 70px 85px 35px;
    }
    .lightbox-prev {
        left: 20px;
    }
    .lightbox-next {
        right: 20px;
    }
}
@media (min-width: 1200px) {
    .container {
        padding-inline: 0;
    }
    .hero .header-inner {
        max-width: 1200px;
    }
    .header-inner {
        padding-top: 45px;
    }
    .brand {
        width: 145px;
    }
    .section-intro {
        padding-top: 120px;
    }
    .intro-copy {
        padding-top: 6px;
    }
    .portfolio-grid {
        margin-top: 90px;
        max-width: 1050px;
        gap: 35px;
        padding-inline: 40px;
    }
    .about-section {
        padding-block: 90px;
    }
    .about-signature {
        min-height: 420px;
    }
    .price-banner {
        min-height: 285px;
    }
    .price-content {
        min-height: 285px;
        padding-left: 55px;
        gap: 35px;
    }
    .travel {
        padding-left: 35px;
    }
    .travel p {
        max-width: 190px;
    }
}
@media (min-width: 1200px) and (max-width: 1250px) {
    .container {
        padding-inline: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .hero-image {
        transform: none;
        will-change: auto;
    }
    .reveal.is-ready {
        opacity: 1;
        transform: none;
    }
    .portfolio-card--reportaz.reveal.is-ready {
        transform: translateY(75px);
    }
}
@media print {
    .hero,
    .site-header,
    .offcanvas,
    .scroll-cue,
    .lightbox,
    .button,
    .footer-bottom > a {
        display: none !important;
    }
    .reveal.is-ready {
        opacity: 1;
        transform: none;
    }
    .section,
    .about-section {
        padding: 25px 0;
    }
    .about-section {
        background: white;
        color: black;
    }
    .about-text {
        color: black;
    }
}
[hidden] {
    display: none !important;
}
.admin-bar.gc-home .site-header {
    top: 32px;
}
.footer-contact .eyebrow,
.footer-bottom,
.price-content small,
.card-number {
    font-size: 12px;
}
.travel p {
    font-size: 14px;
}
.price-content .eyebrow {
    font-size: 12px;
}
.brand--light {
    filter: brightness(0) invert(1);
}
.brand--dark {
    filter: brightness(0);
}
@media (max-width: 782px) {
    .admin-bar.gc-home .site-header {
        top: 46px;
    }
}



@media(min-width: 1200px) {
    
.container.header-inner {max-width: 1600px !important; padding-left: 50px; padding-right: 50px;}

}

.about-signature {margin-bottom: -200px;}


.section.package-section {
    padding-block: 78px;
    padding-top: 200px;
}

.package-section .eyebrow {    color: var(--pale-gold) !important;}

.price-banner {
    display: flex;
    align-items: center;
    
}

.footer-grid .brand {display: none;}

.site-nav {font-size: 1.5rem;}

.menu-title {padding-right: 30px;}

.site-nav li:last-child {border-bottom: 0px;}

.menu-contact .eyebrow {margin-bottom: 0px;}

@media(min-width: 768px) {
.footer-grid .brand {display: block;}


    .footer-contact-first {
        border-top: 0;
        border-left: 1px solid var(--line);
        padding: 5px 0 5px 28px;
    }
    
    .price-image {
        opacity: 1;
        object-position: center 15%;
    }

}


@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 200px 1fr 1fr;
        align-items: center;
    }
    
    .about-signature {margin-top: 75px;}
}

@media (min-width: 1200px) {
    .footer-grid {
        grid-template-columns: 200px 1fr 1.5fr;
        align-items: center;
    }
}





/* Ustaw na rzeczywistą wysokość nagłówka strony. */
.gallery-page {
    --gallery-header-height: 90px;
}

.gallery-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 500px;
    margin-top: -255px;
    
    padding: calc(var(--gallery-header-height) + 40px) 0 40px;
    padding-top: 0;
    background-color: #252525;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.gallery-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .35) 0%,
        rgba(0, 0, 0, .08) 45%,
        rgba(0, 0, 0, .65) 100%
    );
}

.gallery-hero__content {
    position: relative;
    z-index: 1;
}

.gallery-hero h1 {
    margin-bottom: 0;
    color: #fff;
}

.gallery-hero .back-link,
.gallery-hero .eyebrow {
    color: #fff;
}

.gallery-intro {
    max-width: 760px;
    margin: 50px auto;
    text-align: center;
}

/* Galeria WordPress: cykl pięciu zdjęć. */
.gallery-content .gallery,
.gallery-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.gallery-content .gallery-item,
.gallery-content .wp-block-gallery > .wp-block-image {
    width: 100%;
    max-width: none;
    margin: 0;
    float: none;
}

.gallery-content .gallery-item:nth-child(5n + 1),
.gallery-content .gallery-item:nth-child(5n + 2),
.gallery-content .gallery-item:nth-child(5n + 3),
.gallery-content .wp-block-gallery > .wp-block-image:nth-child(5n + 1),
.gallery-content .wp-block-gallery > .wp-block-image:nth-child(5n + 2),
.gallery-content .wp-block-gallery > .wp-block-image:nth-child(5n + 3) {
    grid-column: 1 / -1;
}

.gallery-content .gallery-item img,
.gallery-content .wp-block-gallery > .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-content .gallery-item a {
    display: block;
}

.gallery-end {
    padding: 70px 0;
}

@media (max-width: 767px) {
    .gallery-page {
        --gallery-header-height: 70px;
    }

    .gallery-content .gallery,
    .gallery-content .wp-block-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-content .gallery-item,
    .gallery-content .wp-block-gallery > .wp-block-image {
        grid-column: 1 / -1;
    }
}

.gallery-icon.portrait {margin-bottom: 0;}








.gallery-content .gallery,
.gallery-content .wp-block-gallery {
    align-items: stretch;
}

.gallery-content .gallery-item,
.gallery-content .wp-block-gallery > .wp-block-image {
    min-width: 0;
    overflow: hidden;
}

.gallery-content .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Dwa zdjęcia obok siebie: identyczne prostokąty */
.gallery-content .gallery-item:nth-child(5n + 4),
.gallery-content .gallery-item:nth-child(5n + 5),
.gallery-content .wp-block-gallery > .wp-block-image:nth-child(5n + 4),
.gallery-content .wp-block-gallery > .wp-block-image:nth-child(5n + 5) {
    aspect-ratio: 4 / 3;
}

.gallery-content .gallery-item img,
.gallery-content .wp-block-gallery > .wp-block-image img, .gallery-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

    .gallery-hero h1 {font-size: 2.5rem;}

@media(min-width: 768px) {
    
    .gallery-hero {margin-top: -286px;}
    .gallery-hero h1 {font-size: 3rem; font-weight: 600;}

}

@media(min-width: 1200px) {
    
    .gallery-hero {margin-top: -300px;}
    
    .gallery-intro {margin: 100px auto ;}
    
    .container.gallery-hero__content {margin-bottom: 50px;}
    
    .gallery-hero {
    min-height: 600px;
    }
    


}