/**
 * B GLAD Theatre - New Theatre Design
 * Redesigned single izvedba page
 */

.aligncenter {
    display: block;
    margin: 15px auto;
    max-width: 100%;
}

/* ===========================
   NEW THEATRE SINGLE PAGE LAYOUT - TWO EQUAL COLUMNS
   =========================== */



.bglad-theatre-single {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

/* Poster Wrapper - Two Equal Columns */
.bglad-theatre-poster-wrapper {
    display: flex;
    gap: 0;
    max-width: 1720px;
    width: 100%;
    min-height: 80vh;
}

/* ===========================
   LEFT COLUMN: POSTER IMAGE + UPCOMING
   =========================== */

/* Poster Image Wrapper - Desktop: hidden, slika je u .bglad-theatre-left */
.bglad-poster-wrapper-mobile {
    display: none;
}

/* Left Column: Poster + Upcoming Shows */
.bglad-theatre-left {
    flex: 1 1 50%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}

/* Slika u lijevoj koloni - desktop */
.bglad-theatre-left .bglad-poster-image {
    display: block;
}

.bglad-poster-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}

/* Hover Effect - Zoom and come to front */
.bglad-poster-image:hover {
    transform: scale(1.08);
    z-index: 100;
}

/* Nadolazeće izvedbe u lijevoj koloni */
.bglad-upcoming-list-left {
    width: 100%;
    align-self: stretch;
    margin-top: 10%;
}

.bglad-upcoming-none {
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 1000px) {
    .bglad-upcoming-none {
        max-width: 70%;
    }
}

.bglad-upcoming-title-left {
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 20px 0;
    text-align: left;
}

.bglad-upcoming-list-left .bglad-upcoming-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 15px;
    align-items: normal;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
    width: 70%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bglad-upcoming-list-left .bglad-upcoming-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.bglad-upcoming-list-left .bglad-upcoming-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #141035;
    color: white;
    border-radius: 15px;
    padding: 12px 8px;
    min-height: 90px;
    text-align: center;
    gap: 0;
}

.bglad-upcoming-list-left .bglad-upcoming-day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: -2px;
}

.bglad-upcoming-list-left .bglad-upcoming-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: -2px;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.bglad-upcoming-list-left .bglad-upcoming-weekday {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 12px;
    opacity: 0.95;
    line-height: 1.1;
}

.bglad-upcoming-list-left .bglad-upcoming-time {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    margin-top: 8px;
    line-height: 1.1;
}

.bglad-upcoming-list-left .bglad-upcoming-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bglad-upcoming-list-left .bglad-upcoming-location strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--bglad-deep-charcoal);
    display: block;
    margin-bottom: 2px;
}

.bglad-upcoming-list-left .bglad-upcoming-city {
    font-size: 20px;
    font-weight: 800;
    color: var(--bglad-deep-charcoal);
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bglad-upcoming-list-left .bglad-upcoming-venue {
    font-size: 14px;
    font-weight: 700;
    color: var(--bglad-deep-charcoal);
    display: block;
    line-height: 1.3;
    margin-bottom: 2px;
}

.bglad-upcoming-list-left .bglad-upcoming-address {
    font-size: 14px;
    font-weight: 400;
    color: var(--bglad-warm-gray);
    display: block;
    line-height: 1.3;
}

.bglad-upcoming-list-left .bglad-upcoming-price-wrapper {
    margin-top: 8px;
}

.bglad-upcoming-list-left .bglad-upcoming-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--bglad-deep-charcoal);
    display: block;
}

.bglad-upcoming-list-left .bglad-upcoming-action {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-end;
}

.bglad-upcoming-list-left .bglad-status-badge {
    display: none !important;
}

/* Buttons - identical to raspored B GLAD layout */
.bglad-upcoming-list-left .bglad-btn-ticket {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
    min-width: 136px;
    background: var(--bg-btn-bg, #FF1814);
    border-color: var(--bg-btn-bg, #FF1814);
    color: var(--bg-btn-text, #ffffff);
}

.bglad-upcoming-list-left .bglad-btn-ticket:hover {
    transform: translateY(-2px);
    box-shadow: none;
    color: var(--bg-btn-text, #ffffff);
}

/* Sold out - blink animation identical to raspored */
.bglad-upcoming-list-left .bglad-btn-sold-out {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    cursor: not-allowed;
    animation: bglad-btn-blink 1s ease-in-out infinite;
}

.bglad-upcoming-list-left .bglad-btn-sold-out:hover {
    transform: none;
}

/* Cancelled - blink animation identical to raspored */
.bglad-upcoming-list-left .bglad-btn-cancelled {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #ffffff;
    cursor: not-allowed;
    animation: bglad-btn-blink-cancelled 1s ease-in-out infinite;
}

.bglad-upcoming-list-left .bglad-btn-cancelled:hover {
    transform: none;
}

/* ===========================
   RIGHT COLUMN: TITLE + CONTENT BOX
   =========================== */

.bglad-theatre-right {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}

.bglad-theatre-title {
    font-family: inherit;
    font-size: 52px;
    font-weight: 500;
    color: #141035;
    font-weight: bold;
    margin: 0 0 30px 0;
    margin-top: 10%;
    line-height: 1.15;
    max-width: 80%;
}

/* Desktop styling for .bglad-theatre-title */
@media (min-width: 1024px) {
    .bglad-theatre-title {
        max-width: 96%;
    }
}

/* Content Box */
.bglad-theatre-box {
    background: transparent;
}

/* Desktop styling for .bglad-theatre-box */
@media (min-width: 1024px) {
    .bglad-theatre-box {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        transform: translateX(-20%);
        transition: transform 0.3s ease;
        width: 120%;
    }
}

/* ===========================
   GALLERY CAROUSEL SECTION (BELOW TWO COLUMNS)
   =========================== */

/* ===========================
   3D ROTATING CAROUSEL GALLERY
   =========================== */

.bglad-gallery-title {
    font-family: inherit;
    font-size: 52px;
    font-weight: 500;
    color: #ffffff;
    margin: 60px 0 40px 0;
    line-height: 1.15;
    text-align: center;
    width: 100%;
    margin-bottom: 8%;
}

.bglad-gallery-carousel {
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    padding-top: 2%;
    padding-bottom: 8%;
}


.gallery {
    position: relative;
    width: 380px;
    height: 250px;
    transform-style: preserve-3d;
    animation: rotate 35s linear infinite;
    transform: perspective(1200px) rotateY(0deg);
}

@keyframes rotate {
    from {
        transform: perspective(1200px) rotateY(0deg);
    }

    to {
        transform: perspective(1200px) rotateY(360deg);
    }
}

.gallery span {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(460px);
    background: none !important;
    border: none !important;
}

.gallery span img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    border-radius: 15px;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
}

.gallery span img:hover {
    transform: scale(1.1) !important;
}

.gallery span a {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: none !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Extra specificity to override any theme borders */
.bglad-gallery-carousel .gallery span img,
.bglad-gallery-carousel .gallery span a img,
#bglad-rotating-gallery span img,
#bglad-rotating-gallery span a img {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 15px !important;
    transition: transform 0.3s ease !important;
}

/* Hover effects with extra specificity */
.bglad-gallery-carousel .gallery span img:hover,
#bglad-rotating-gallery span img:hover {
    transform: scale(1.1) !important;
}


/* ===========================
   CONTENT BOX - Two-part design
   =========================== */

/* Theatre Box */
.bglad-theatre-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateX(-20%);
    transition: transform 0.3s ease;
}

/* Gray Meta Section (Top) */
.bglad-box-meta {
    background: #f0f0f0;
    padding: var(--spacing-lg);
}

.bglad-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.bglad-meta-row {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
    border: none;
    margin: 0;
    padding: 0;
}

.bglad-meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bglad-meta-row strong {
    color: var(--bglad-deep-charcoal);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

/* White Content Section (Bottom) */
.bglad-box-content {
    background: var(--bglad-pure-white);
    padding: var(--spacing-lg);
}

/* Section Labels */
.bglad-box-content .bglad-section-label {
    font-family: inherit;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2.25rem;
    letter-spacing: 0.1em;
    color: rgba(201, 172, 140, 1);
    margin: 0 0 var(--spacing-md) 0;
    margin-bottom: 50px;
}

/* Team Items */
.bglad-creative-team {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
}

.bglad-creative-team > h3 {
    grid-column: 1 / -1;
}

.bglad-team-item {
    display: contents;
    font-size: 15px;
    line-height: 1.6;
}

.bglad-team-label,
.bglad-team-value {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--bglad-light-gray);
}

.bglad-team-item:last-child .bglad-team-label,
.bglad-team-item:last-child .bglad-team-value {
    border-bottom: none;
}

.bglad-team-label {
    color: #777;
    font-weight: 500;
    padding-right: var(--spacing-md);
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .bglad-creative-team {
        grid-template-columns: 1fr;
    }

    .bglad-team-label {
        white-space: normal;
        padding-right: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .bglad-team-value {
        padding-top: 0;
    }
}

.bglad-team-label::after {
    content: ':';
}

.bglad-team-value {
    color: #000000;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
}

/* About Show */
.bglad-about-show {
    margin-top: 0;
    padding-top: 60px;
    border-top: 1px solid var(--bglad-light-gray);
}

.bglad-about-content p {
    font-family: inherit;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.75;
    color: #000000;
    font-weight: 300 !important;
    margin-bottom: 0;
}

.bglad-about-content p:last-child {
    margin-bottom: 0;
}

.bglad-about-content h2,
.bglad-about-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--bglad-deep-charcoal);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.bglad-about-content h2:first-child,
.bglad-about-content h3:first-child {
    margin-top: 0;
}

/* ===========================
   UPCOMING SCHEDULE SECTION (BELOW TWO COLUMNS)
   =========================== */

.bglad-upcoming-section {
    padding: 80px 40px;
    background: #c4a889 !important;
}

.bglad-upcoming-section .bglad-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.bglad-upcoming-list {
    margin-top: var(--spacing-lg);
}

/* ===========================
   VIDEO AND RELATED SECTIONS (BELOW TWO COLUMNS)
   =========================== */

/* Section Title - Same style as gallery title */
.bglad-section-title {
    font-family: inherit;
    font-size: 52px;
    font-weight: 500;
    color: #ffffff;
    margin: 60px 0 40px 0;
    line-height: 1.15;
    text-align: center;
    width: 100%;
    margin-bottom: 8%;
}

.bglad-related-section .bglad-section-title {
    text-align: left;
    margin-bottom: 2%;
    padding-left: 2%;
}

@media (max-width: 999px) {
    .bglad-related-section .bglad-section-title {
        text-align: center;
        padding-left: 0;
    }
}

.bglad-video-section {
    padding: 80px 40px;
    background: #000000 !important;
}

.bglad-video-section .bglad-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Related Section - Full Width Ticker */
.bglad-related-section {
    padding: 60px 0 80px 0;
    background: #000000 !important;
    overflow: hidden;
    width: 100%;
}

.bglad-related-header {
    padding: 0 40px 30px 40px;
}

.bglad-related-swiper {
    width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.bglad-related-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.bglad-related-card.swiper-slide {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bglad-related-card.swiper-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.bglad-related-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bglad-related-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bglad-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bglad-related-card:hover .bglad-related-image img {
    transform: scale(1.08);
}

.bglad-related-content {
    padding: 20px;
    min-height: 90px;
    background: #141035;
}

.bglad-related-content h3 {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}


@media (max-width: 768px) {
    .bglad-related-section {
        padding: 40px 0 60px 0;
    }

    .bglad-related-header {
        padding: 0 20px 20px 20px;
    }

    .bglad-related-swiper {
        padding: 0 20px;
    }

    .bglad-related-content {
        min-height: 80px;
    }

    .bglad-related-content h3 {
        font-size: 16px;
    }
}

.bglad-video-wrapper {
    max-width: 1000px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
    padding-bottom: 39.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 100px;
}

.bglad-upcoming-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bglad-soft-white);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.bglad-upcoming-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Date Badge */
.bglad-upcoming-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bglad-velvet-red);
    color: white;
    border-radius: 15px;
    padding: var(--spacing-sm);
    min-height: 80px;
}

.bglad-upcoming-day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.bglad-upcoming-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Info */
.bglad-upcoming-info {
    flex: 1;
}

.bglad-upcoming-location strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--bglad-deep-charcoal);
    display: block;
    margin-bottom: 4px;
}

.bglad-upcoming-city {
    font-size: 14px;
    color: var(--bglad-warm-gray);
}

.bglad-upcoming-time {
    font-size: 14px;
    color: var(--bglad-warm-gray);
    margin-top: 8px;
}

.bglad-upcoming-price {
    font-weight: 600;
    color: var(--bglad-deep-charcoal);
}

/* Action */
.bglad-upcoming-action {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.bglad-btn-ticket {
    display: inline-block;
    padding: 12px 30px;
    background: var(--bglad-velvet-red);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.bglad-btn-ticket:hover {
    background: var(--bglad-gold-accent);
    transform: scale(1.05);
    color: white;
}

/* Coming soon button */
.bglad-btn-coming-soon {
    background: #52a447 !important;
    border-color: #52a447 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.bglad-btn-coming-soon:hover {
    background: #52a447 !important;
    transform: none !important;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1400px) {
    .bglad-theatre-poster-wrapper {
        max-width: 1200px;
    }

    .bglad-theatre-title {
        font-size: 48px;
        margin-top: 8%;
        max-width: 85%;
    }

    .bglad-poster-image {
        max-height: 70vh;
    }

}

@media (max-width: 1200px) {
    .bglad-theatre-single {
        padding: 40px 20px;
    }

    .bglad-theatre-poster-wrapper {
        max-width: 100%;
    }

    .bglad-theatre-title {
        font-size: 42px;
        margin-top: 5%;
        max-width: 90%;
    }

    .bglad-theatre-left,
    .bglad-theatre-right {
        padding: 30px 15px;
    }

    .bglad-poster-image {
        max-height: 65vh;
    }
}

@media (max-width: 1024px) {
    .bglad-theatre-single {
        padding: 40px 20px;
    }

    /* Tablet: Change to flex column with order */
    .bglad-theatre-poster-wrapper {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    /* Order 1: Slika - sada prikazujemo wrapper */
    .bglad-poster-wrapper-mobile {
        display: flex;
        order: 1;
        padding: 0 20px 30px 20px;
        align-items: flex-start;
        justify-content: center;
    }

    /* Sakrijemo sliku iz .bglad-theatre-left */
    .bglad-theatre-left .bglad-poster-image {
        display: none;
    }

    /* Order 2: Naslov + Opis */
    .bglad-theatre-right {
        order: 2;
        padding: 30px 20px 30px 20px;
    }

    /* Order 3: Na rasporedu */
    .bglad-theatre-left {
        order: 3;
        padding: 30px 20px 30px 20px;
    }

    /* Slika - manje ograničenja */
    .bglad-poster-wrapper-mobile .bglad-poster-image {
        width: 100%;
        height: auto;
        max-height: 70vh;
        min-height: auto;
        margin-bottom: 0;
    }

    .bglad-theatre-title {
        font-size: 36px;
        margin-top: 0;
        max-width: 100%;
    }

    .bglad-meta-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bglad-theatre-box {
        transform: translateX(0);
    }

    .bglad-upcoming-list-left {
        width: 100%;
        margin-top: 0;
    }

    .bglad-upcoming-list-left .bglad-upcoming-item {
        grid-template-columns: 80px 1fr auto;
        gap: 12px;
        padding: 12px 15px;
        width: 100%;
    }

    .bglad-upcoming-list-left .bglad-upcoming-date {
        min-height: 80px;
        padding: 10px 6px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-day {
        font-size: 26px;
        margin-bottom: -2px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-month {
        font-size: 10px;
        margin-top: 0;
        margin-bottom: -2px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-weekday {
        font-size: 10px;
        font-weight: 500;
        margin-top: 10px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-city {
        font-size: 14px;
    }

    /* 3D Carousel Responsive - Tablet */
    .bglad-gallery-carousel {
        padding-top: 3%;
        padding-bottom: 6%;
    }

    .bglad-gallery-title {
        font-size: 45px;
        margin: 40px 0 30px 0;
    }

    .gallery {
        width: 320px;
        height: 210px;
    }

    .gallery span {
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(380px);
    }

    .bglad-section-title {
        font-size: 45px;
        margin: 40px 0 30px 0;
        margin-bottom: 6%;
    }
}

@media (max-width: 768px) {
    .bglad-theatre-single {
        padding: 30px 15px;
    }

    /* Mobile: Change to flex column with order */
    .bglad-theatre-poster-wrapper {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    /* Order 1: Slika */
    .bglad-poster-wrapper-mobile {
        order: 1;
        padding: 0 0px 30px 0px;
    }

    /* Order 2: Naslov + Opis */
    .bglad-theatre-right {
        order: 2;
        padding: 30px 0px 30px 0px;
    }

    /* Order 3: Na rasporedu */
    .bglad-theatre-left {
        order: 3;
        padding: 30px 15px 30px 15px;
    }

    /* Slika - cijela bez cropanja */
    .bglad-poster-image {
        width: 100%;
        height: auto;
        max-height: none;
        min-height: auto;
        margin-bottom: 0;
    }

    .bglad-theatre-title {
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .bglad-upcoming-title-left {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .bglad-upcoming-list-left {
        width: 100%;
        margin-top: 0;
    }

    .bglad-upcoming-list-left .bglad-upcoming-item {
        grid-template-columns: 70px 1fr;
        gap: 10px;
        padding: 12px;
        width: 100%;
    }

    .bglad-upcoming-list-left .bglad-upcoming-date {
        min-height: 75px;
        padding: 8px 6px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-day {
        font-size: 24px;
        margin-bottom: -2px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-month {
        font-size: 9px;
        margin-top: 0;
        margin-bottom: -2px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-weekday {
        font-size: 10px;
        font-weight: 500;
        margin-top: 10px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-location strong {
        font-size: 14px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-city {
        font-size: 18px;
    }

    .bglad-upcoming-list-left .bglad-upcoming-action {
        grid-column: 2 / 3;
        justify-content: flex-end;
        margin-top: 8px;
    }

    .bglad-upcoming-list-left .bglad-btn-ticket {
        padding: 8px 18px;
        font-size: 12px;
    }

    .bglad-theatre-box {
        transform: translateX(0);
    }

    .bglad-box-meta,
    .bglad-box-content {
        padding: 20px;
    }

    .bglad-gallery-3d,
    .bglad-upcoming-section,
    .bglad-video-section {
        padding: 40px 15px;
    }

    /* 3D Carousel Mobile Adjustments */
    .bglad-gallery-carousel {
        padding-top: 4%;
        padding-bottom: 5%;
    }

    .bglad-gallery-title {
        font-size: 36px;
        margin: 30px 0 25px 0;
        margin-bottom: 20%;
    }

    .gallery {
        width: 220px;
        height: 140px;
    }

    .gallery span {
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(280px);
    }

    .bglad-meta-list {
        grid-template-columns: 1fr;
    }

    .bglad-upcoming-item {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-sm);
    }

    .bglad-upcoming-action {
        grid-column: 2 / 3;
        align-items: flex-start;
        margin-top: var(--spacing-sm);
    }

    .bglad-upcoming-date {
        min-height: 70px;
    }

    .bglad-upcoming-day {
        font-size: 28px;
    }

    .bglad-section-title {
        font-size: 28px;
        margin: 30px 0 25px 0;
        margin-bottom: 6%;
    }

    /* Mobile video wrapper aspect ratio */
    .bglad-video-wrapper {
        padding-bottom: 56.25%;
    }

}

/* ===========================
   PERSPECTIVE GALLERY (KASKADA) - Simplified
   =========================== */

.bglad-gallery-perspective {
    background: #000000;
    min-height: 100vh;
    padding: 80px 0 120px;
    margin: 0;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bglad-gallery-perspective.visible {
    opacity: 1;
    transform: translateY(0);
}

.bglad-perspective-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    perspective: 2500px;
    perspective-origin: 100% 50%;
}

.bglad-perspective-logo {
    margin-left: 0;
    width: 450px;
    height: 200px;
    bottom: auto;
    top: 15%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.bglad-perspective-logo.has-custom-image {
    width: 450px;
    height: 600px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    overflow: hidden;
}

.bglad-perspective-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}


.bglad-perspective-list {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    transform: rotateX(35deg) rotateY(3deg) rotateZ(27deg);
    transform-style: preserve-3d;
}


.bglad-perspective-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.bglad-perspective-row[data-items="3"] .bglad-perspective-item {
    width: 28%;
}

.bglad-perspective-row[data-items="2"] .bglad-perspective-item {
    width: 35%;
}

.bglad-perspective-item {
    filter: grayscale(100%);
    height: 400px;
    display: block;
    position: relative;
    transition: filter 0.6s ease-in-out;
}

.bglad-perspective-item:hover {
    filter: grayscale(0%);
}

.bglad-perspective-item::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: .1;
    pointer-events: none;
}

.bglad-perspective-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    box-shadow: 1px 1px 50px 0 #000;
    transform-origin: 100% 50%;
    z-index: 10;
    position: relative;
    transition: transform 0.4s ease-out;
}

.bglad-perspective-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.bglad-perspective-link:hover .bglad-perspective-img {
    transform: scale(1.03);
}

/* Responsive za perspective galeriju */
@media only screen and (max-width: 768px) {
    .bglad-perspective-logo {
        width: 300px;
        height: 120px;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

    .bglad-perspective-logo.has-custom-image {
        width: 300px;
        height: 400px;
    }

    .bglad-perspective-logo h2 {
        font-size: 1.8rem !important;
    }

    .bglad-perspective-logo span {
        font-size: 1rem !important;
    }


    .bglad-perspective-list {
        width: 95%;
        margin: 50px auto 0;
        padding: 50px 10px;
        transform: none;
    }

    .bglad-perspective-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .bglad-perspective-row[data-items="3"] .bglad-perspective-item,
    .bglad-perspective-row[data-items="2"] .bglad-perspective-item {
        width: 100%;
    }

    .bglad-perspective-item {
        height: 300px;
    }
}

/* ===========================
   MASONRY GALLERY
   =========================== */

.bglad-gallery-masonry {
    background: #000000;
    padding: 80px 0;
    margin: 0;
}

.bglad-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.bglad-masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: var(--color-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.bglad-masonry-item:nth-child(3n) {
    grid-row: span 2;
}

.bglad-masonry-item:nth-child(5n) {
    grid-row: span 3;
}

.bglad-masonry-item:nth-child(7n) {
    grid-row: span 2;
}

.bglad-masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bglad-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bglad-masonry-item:hover img {
    transform: scale(1.1);
}

.bglad-masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 21, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bglad-masonry-item:hover .bglad-masonry-overlay {
    opacity: 1;
}

.bglad-masonry-icon {
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.bglad-masonry-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Responsive za masonry galeriju */
@media (max-width: 768px) {
    .bglad-masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 180px;
        gap: 15px;
        padding: 0 20px;
    }

    .bglad-masonry-item:nth-child(3n),
    .bglad-masonry-item:nth-child(5n),
    .bglad-masonry-item:nth-child(7n) {
        grid-row: span 1;
    }

    .bglad-masonry-item:nth-child(2n) {
        grid-row: span 2;
    }
}

@media (max-width: 480px) {
    .bglad-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .bglad-masonry-item:nth-child(2n) {
        grid-row: span 1;
    }
}
