/* ==========================================================================
   Gallery Showcase block — kozmetika (layout je inline u render.php)
   ========================================================================== */

.gallery-showcase {
	gap: 80px !important;
    margin-top: 80px;
}

.gallery-showcase__column {
	gap: 160px !important;
}

.gallery-showcase__column:nth-child(1) .gallery-showcase__item:nth-child(1) {
	margin-top: 80px !important;
    width: 85% !important;
    margin-left: auto;
    height: 50vh !important;
}

.gallery-showcase__column:nth-child(1) .gallery-showcase__item:nth-child(2) {
	width: 60% !important;
    margin-top: 100px;
    margin-left: auto;
    margin-right: 20%;
    height: 90vh !important;
}

.gallery-showcase__column:nth-child(1) .gallery-showcase__item:nth-child(3) {
	margin-left: 80px;
    height: 50vh !important;
}

.gallery-showcase__column:nth-child(2) .gallery-showcase__item:nth-child(1) {
    width: 75% !important;
    margin-left: 40px;
}

.gallery-showcase__column:nth-child(2) .gallery-showcase__item:nth-child(2) {
	width: 100% !important;
    margin-left: 0;
    margin-top: 160px !important;
    transform-origin: right;
    height: 50vh !important;
    transform: scale(1.2);
}

.gallery-showcase__column:nth-child(2) .gallery-showcase__item:nth-child(3) {
	width: 80% !important;
    margin-left: auto;
    margin-top: -40px;
    margin-right: 6%;
    height: 80vh !important;
}


/* .item je overflow:visible (da badge može viriti preko ivice slike),
   pa zaobljene ivice + hover zoom clipping ide na unutrašnji __frame. */
.gallery-showcase__frame {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: 0px !important;
}

.gallery-showcase__img {
    transition: transform 0.6s ease;
}

.gallery-showcase__item:hover .gallery-showcase__img {
    transform: scale(1.05);
}

.gallery-showcase__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55) !important;
    pointer-events: none;
}

.gallery-showcase__text {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
	position: relative;
	justify-content: center;
	color: #f0e9df !important;
}

.gallery-showcase__title {
    font-family: 'Gotham Rounded' !important;
    font-size: 20pt !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 300 !important;
    color: #f0e9df !important;
    margin-bottom: 0.5em;
}

.gallery-showcase__desc {
    font-family: 'Cormorant Garamond' !important;
    font-size: 15pt !important;
    font-style: normal !important;
    opacity: 0.9;
    color: #f0e9df !important;
    line-height: 1.5;
}

/* Badge / stiker preko vrha slike */
.gallery-showcase__badge {
    position: absolute;
    top: -100px !important;
    left: 10% !important;
    width: 160px !important;
    height: 160px !important;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

/* Tekstualna stavka (eyebrow + naslov + opis), bez slike, ista mreža kao ostale stavke */
.gallery-showcase__item--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4%;
}

.gallery-showcase__eyebrow {
    margin: 0 0 0.4em 0;
    font-family: 'Cormorant Garamond' !important;
    font-style: italic;
    font-size: 17pt !important;
    font-weight: 100 !important;
    color: #4f473e !important;
}

.gallery-showcase__heading {
    margin: 0 0 0.5em 0;
    font-family: 'Gotham Rounded' !important;
    font-size: 25pt !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 100 !important;
    color: #4f473e !important;
    line-height: 1.5;
}

.gallery-showcase__description {
    font-family: 'Cormorant Garamond' !important;
    font-size: 17pt !important;
    font-weight: 100 !important;
    line-height: 1.6;
    color: #4f473e !important;
}

.gallery-showcase__description p {
    margin: 0;
}

/* Responsive: kolone padaju ispod jedna druge na manjim ekranima.
   !important je namjerno ovdje — jedini način da eksterni CSS
   pregazi inline stilove je preko !important. */
@media (max-width: 700px) {
    .gallery-showcase {
        flex-direction: column !important;
    }

    .gallery-showcase__column {
        width: 100% !important;
    }

    .gallery-showcase__item {
        height: 260px !important;
    }

    .gallery-showcase__item--text {
        height: auto !important;
        padding: 2em 0;
    }

    .gallery-showcase__badge {
        width: 64px;
        height: 64px;
        top: -28px;
        left: 20px;
    }

    .gallery-showcase__heading {
        font-size: 1.3rem !important;
    }

    .gallery-showcase__description {
        font-size: 0.95rem !important;
    }

    .gallery-showcase__title {
        font-size: 1.1rem !important;
    }

    .gallery-showcase__desc {
        font-size: 0.9rem !important;
    }
}
