/*
 * Kolarac Core frontend styles.
 *
 * Child theme style.css is loaded after this file, so theme-level overrides can stay there.
 */

:root {
    --kps-burgundy: #681428;
    --kps-ticket: #c16b0e;
    --kps-white: #ffffff;
    --kps-black: #111111;
    --kps-panel-width: 32.83%;
    --kps-slide-ratio: 1194 / 529;
}

/* Mesecni navigator */

.kolarac-mesec-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px !important;
    margin: 56px 0 58px !important;
}

.kolarac-mesec-strelica {
    color: #222222;
    text-decoration: none;
    font-size: 46px !important;
    font-weight: 500 !important;
    line-height: 1;
}

.kolarac-mesec-strelica:hover {
    color: #222222;
    text-decoration: none;
    opacity: 0.75;
}

.kolarac-mesec-trenutni {
    display: inline-block;
    min-width: 380px !important;
    color: #222222;
    font-size: 50px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: 0.035em !important;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.kolarac-program-empty,
.kolarac-program-empty-message {
    width: 100%;
}

.kolarac-program-empty-message {
    padding: 22px 0;
    color: #222222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* Home/program sliders - horizontal breathing room */

.kolarac-program-slider-wrap {
    padding-left: 34px !important;
    padding-right: 34px !important;
    box-sizing: border-box !important;
}

body.home .kolarac-program-slider-wrap,
body.front-page .kolarac-program-slider-wrap {
    padding-left: 34px !important;
    padding-right: 34px !important;
    box-sizing: border-box !important;
}

/* Koncerti po salama - venue sliders */

.kolarac-venue-sliders {
    width: 100%;
    margin: 0 !important;
    padding: 0 34px 0 !important;
    box-sizing: border-box !important;
}

.kvs-section {
    width: 100%;
    margin: 0 0 46px;
    padding: 0;
}

.kvs-room-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-height: 72px;
    margin: 0 0 10px;
    padding: 8px 20px 8px 76px;

    background: var(--kps-burgundy);
    color: rgba(255, 255, 255, 0.78);

    font-size: clamp(30px, 4.4cqw, 52px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    text-align: right;
}

.kvs-room-title::before {
    content: '';
    position: absolute;
    left: 16px;
    bottom: -20px;
    z-index: 4;

    width: 38px;
    height: 38px;

    background: var(--kps-ticket);
}

.kvs-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    visibility: hidden;
    background: transparent;
    container-type: inline-size;
}

.kvs-slider.is-initialized {
    visibility: visible;
}

.kvs-slider .splide__track {
    overflow: hidden;
    background: transparent;
}

.kvs-slider .splide__list,
.kvs-slider .splide__slide {
    margin: 0;
    padding: 0;
}

.kvs-slide {
    position: relative;
    width: 100%;
    aspect-ratio: var(--kps-slide-ratio);
    display: grid;
    grid-template-columns: var(--kps-panel-width) minmax(0, 1fr);
    background: var(--kps-burgundy);
    overflow: hidden;
    box-sizing: border-box;
}

.kvs-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    color: var(--kps-white);
    background: var(--kps-burgundy);
    box-sizing: border-box;
    padding: 3.45cqw 0 0 1.92cqw;
    overflow: hidden;
}

.kvs-title {
    margin: 0;
    padding: 0;
    color: var(--kps-white);
    line-height: 1.05;
    letter-spacing: -0.052em;
    overflow: visible;
}

.kvs-title a {
    display: block;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    overflow: visible;
}

.kvs-title a:hover {
    color: inherit;
    text-decoration: none;
    opacity: 0.92;
}

.kvs-title-main {
    display: block;
    max-width: 100%;
    font-size: 5.15cqw;
    font-weight: 600;
    line-height: 0.98;
    text-transform: none;

    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.kvs-title-rest {
    display: block;
    max-width: 100%;
    font-size: 4.45cqw;
    font-weight: 300;
    line-height: 1.08 !important;
    letter-spacing: -0.045em;
    text-transform: none;
    padding-bottom: 0.08em;
}

.kvs-subtitle {
    margin-top: 2.18cqw;
    color: var(--kps-white);
    font-size: 3.16cqw;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.04em;
    max-width: 92%;
}

.kvs-bottom {
    margin-top: auto;
    padding-bottom: 5.85cqw;
}

.kvs-venue {
    color: var(--kps-white);
    font-size: 2.32cqw;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.78cqw;
    letter-spacing: -0.02em;
}

.kvs-date {
    color: var(--kps-white);
    font-size: 3.08cqw;
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.kvs-time {
    color: var(--kps-white);
    font-size: 5.98cqw;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.07em;
    white-space: nowrap;
}

.kvs-media {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #111111;
}

.kvs-image-link,
.kvs-image-wrap {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.kvs-image-wrap {
    overflow: hidden;
    line-height: 0;
}

.kvs-thumb,
.kvs-image-wrap img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
}

.kvs-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #222222;
}

.kvs-media-buttons {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    pointer-events: none;
}

.kvs-ticket,
.kvs-details {
    pointer-events: auto;
}

.kvs-ticket {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 160px;
    height: 64px;
    min-height: 0;
    padding: 0 18px;

    background: var(--kps-ticket);
    color: var(--kps-black);

    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
    line-height: 0.9;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.kvs-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 64px;
    padding: 0 22px;

    background: var(--kps-burgundy);
    color: #ffffff;

    text-decoration: none;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.035em;
}

.kvs-ticket:hover,
.kvs-details:hover {
    text-decoration: none;
    filter: brightness(0.94);
}

.kvs-ticket:hover {
    color: var(--kps-black);
}

.kvs-details:hover {
    color: #ffffff;
}

.kvs-empty {
    padding: 22px 0;
    color: #222222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

/* Koncertni slider - navigacija */

.kvs-slider .splide__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);
    opacity: 1;
}

.kvs-slider .splide__arrow--prev {
    left: calc(var(--kps-panel-width) + 18px);
}

.kvs-slider .splide__arrow--next {
    right: 18px;
}

.kvs-slider .splide__arrow svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

.kvs-slider .splide__arrow:hover {
    opacity: 0.8;
}

.kvs-slider .splide__pagination {
    display: none;
}

@media (max-width: 900px) {
    .kvs-room-title {
        min-height: 62px;
        padding-right: 16px;
        font-size: clamp(26px, 4.4vw, 40px);
    }

    .kvs-room-title::before {
        width: 34px;
        height: 34px;
        bottom: -18px;
    }

    .kvs-info {
        padding-left: 2.2cqw;
    }

    .kvs-title-main {
        max-width: 100%;
        font-size: 4.9cqw;
        font-weight: 600;
        line-height: 0.98;
        text-transform: none;

        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .kvs-title-rest {
        max-width: 100%;
        font-size: 4.2cqw;
        font-weight: 300;
        line-height: 1.08 !important;
        letter-spacing: -0.045em;
        text-transform: none;
        padding-bottom: 0.08em;
    }

    .kvs-subtitle {
        font-size: 2.85cqw;
    }

    .kvs-ticket {
        min-width: 136px;
        height: 52px;
        font-size: 21px;
    }

    .kvs-details {
        min-width: 156px;
        height: 52px;
        font-size: 21px;
    }

    .kvs-slider .splide__arrow {
        width: 42px;
        height: 42px;
    }

    .kvs-slider .splide__arrow--prev {
        left: calc(var(--kps-panel-width) + 14px);
    }

    .kvs-slider .splide__arrow--next {
        right: 14px;
    }

    .kvs-slider .splide__arrow svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 700px) {
    .kolarac-mesec-switcher {
        gap: 28px !important;
        margin: 38px 0 42px !important;
    }

    .kolarac-mesec-trenutni {
        min-width: 260px !important;
        font-size: 36px !important;
        font-weight: 800 !important;
    }

    .kolarac-mesec-strelica {
        font-size: 36px !important;
        font-weight: 500 !important;
    }

    .kolarac-venue-sliders {
        padding-top: 0 !important;
    }

    .kvs-section {
        margin-bottom: 34px;
    }

    .kvs-room-title {
        min-height: 48px;
        margin-bottom: 8px;
        padding: 6px 14px 6px 54px;
        font-size: 26px;
    }

    .kvs-room-title::before {
        left: 12px;
        bottom: -14px;
        width: 28px;
        height: 28px;
    }

    .kvs-slide {
        aspect-ratio: auto;
        grid-template-columns: 1fr;
    }

    .kvs-info {
        min-height: 270px;
        padding: 28px 0 0 22px;
        order: 1;
    }

    .kvs-media {
        order: 2;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .kvs-title-main {
        max-width: 100%;
        font-size: 43px;
        font-weight: 600;
        line-height: 0.98;
        text-transform: none;

        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .kvs-title-rest {
        max-width: 100%;
        font-size: 37px;
        font-weight: 300;
        line-height: 1.1;
        letter-spacing: -0.04em;
        text-transform: none;
        padding-bottom: 0.08em;
    }

    .kvs-subtitle {
        font-size: 29px;
        margin-top: 18px;
    }

    .kvs-venue {
        font-size: 22px;
    }

    .kvs-date {
        font-size: 28px;
    }

    .kvs-time {
        font-size: 58px;
    }

    .kvs-media-buttons {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .kvs-ticket,
    .kvs-details {
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 10px;
        font-size: 17px;
    }

    .kvs-slider .splide__arrow {
        width: 46px;
        height: 46px;
    }

    .kvs-slider .splide__arrow--prev {
        left: 14px;
    }

    .kvs-slider .splide__arrow--next {
        right: 14px;
    }

    .kvs-slider .splide__arrow svg {
        width: 28px;
        height: 28px;
    }
}

/* Kalendar lista - stranica Kalendar */

.kolarac-calendar-list {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.kcl-items {
    display: grid;
    gap: 24px;
    padding: 0 34px;
    box-sizing: border-box;
}

.kcl-item[hidden] {
    display: none !important;
}

.kcl-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 27.3%) minmax(0, 1fr) minmax(190px, 22%);
    gap: 12px;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: #cccccc;
    box-sizing: border-box;
}

.kcl-corner-marker {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 22px;
    height: 22px;
    background: var(--kps-burgundy);
}

.kcl-image-link,
.kcl-image-wrap {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.kcl-image-link {
    align-self: start;
    padding-left: 36px;
    box-sizing: border-box;
}

.kcl-image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #222222;
    line-height: 0;
}

.kcl-thumb,
.kcl-image-wrap img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
}

.kcl-image-placeholder {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: #222222;
}

.kcl-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 8px 12px 0 0;
    box-sizing: border-box;
}

.kcl-title {
    margin: 0;
    padding: 0;
    color: #333333;
    font-size: clamp(22px, 2.05vw, 30px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    word-spacing: normal;
    text-transform: uppercase;
}

.kcl-title a {
    color: inherit;
    text-decoration: none;
}

.kcl-title a:hover {
    color: var(--kps-burgundy);
    text-decoration: none;
}

.kcl-title-main,
.kcl-title-rest {
    display: inline;
}

.kcl-title-main {
    margin-right: 0.28em;
}

.kcl-subtitle {
    margin-top: 34px;
    max-width: 95%;
    color: #333333;
    font-size: clamp(18px, 1.75vw, 25px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.kcl-description {
    margin-top: 10px;
    max-width: 95%;
    color: #333333;
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.kcl-venue {
    margin-top: 12px;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    opacity: 0.78;
}

.kcl-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    margin-top: auto;
    padding-bottom: 0;
}

.kcl-ticket,
.kcl-details,
.kcl-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-sizing: border-box;
}

.kcl-details {
    min-width: 224px;
    justify-content: flex-start;
    text-align: left;
    background: var(--kps-burgundy);
    color: #cccccc;
}

.kcl-ticket {
    min-width: 214px;
    justify-content: flex-end;
    text-align: right;
    background: var(--kps-ticket);
    color: var(--kps-black);
}

.kcl-load-more {
    min-width: 210px;
    background: var(--kps-burgundy);
    color: #ffffff;
}

.kcl-ticket:hover,
.kcl-details:hover,
.kcl-load-more:hover {
    text-decoration: none;
    filter: brightness(0.94);
}

.kcl-ticket:hover {
    color: var(--kps-black);
}

.kcl-details:hover {
    color: #cccccc;
}

.kcl-load-more:hover {
    color: #ffffff;
}

.kcl-datebox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 0;
    padding: 30px 18px 10px 12px;
    background: var(--kps-burgundy);
    color: #cccccc;
    text-align: right;
    box-sizing: border-box;
}

.kcl-datebox-day {
    display: block;
    width: 100%;
    margin-bottom: 0;
    font-size: clamp(88px, 9.5vw, 136px);
    font-weight: 500;
    line-height: 0.58;
    letter-spacing: -0.055em;
    text-align: right;
}

.kcl-datebox-month,
.kcl-datebox-year {
    display: block;
    width: 100%;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.015em;
    text-align: right;
    text-transform: uppercase;
}

.kcl-datebox-month {
    margin-top: auto;
}

.kcl-datebox-time {
    display: block;
    width: 100%;
    margin-top: 10px;
    color: #cccccc;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-align: right;
}

.kcl-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.kcl-load-more[hidden] {
    display: none !important;
}

.kolarac-calendar-empty {
    padding: 26px 0;
    color: #222222;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}


/* Bioskop remains on the normal theme/content width. */
.kbl-items {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1080px) {
    .kolarac-program-slider-wrap,
    .kolarac-venue-sliders,
    .kcl-items {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .kcl-item {
        grid-template-columns: minmax(190px, 29%) minmax(0, 1fr) minmax(160px, 20%);
        min-height: 0;
    }

    .kcl-actions {
        gap: 16px;
    }

    .kcl-details,
    .kcl-ticket {
        min-width: 0;
        flex: 1 1 0;
        font-size: 18px;
    }
}

@media (max-width: 760px) {
    .kolarac-calendar-list {
        padding-top: 0 !important;
    }

    .kolarac-program-slider-wrap,
    .kolarac-venue-sliders,
    .kcl-items {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kcl-items {
        gap: 28px;
    }

    .kcl-item {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
    }

    .kcl-corner-marker {
        width: 20px;
        height: 20px;
    }

    .kcl-image-link {
        padding-left: 0;
    }

    .kcl-image-link,
    .kcl-image-wrap,
    .kcl-thumb,
    .kcl-image-wrap img,
    .kcl-image-placeholder {
        min-height: 0;
    }

    .kcl-image-wrap {
        aspect-ratio: 1 / 1;
    }

    .kcl-datebox {
        order: 2;
        display: grid;
        grid-template-columns: auto 1fr auto;
        column-gap: 10px;
        row-gap: 0;
        align-items: center;
        justify-items: end;
        min-height: 0;
        padding: 14px 16px;
        text-align: right;
    }

    .kcl-datebox-day {
        grid-row: 1 / span 2;
        margin: 0 10px 0 0;
        font-size: 64px;
        line-height: 0.76;
    }

    .kcl-datebox-month,
    .kcl-datebox-year {
        font-size: 22px;
        line-height: 0.95;
    }

    .kcl-datebox-month {
        margin-top: 0;
    }

    .kcl-datebox-time {
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 36px;
        justify-self: end;
    }

    .kcl-content {
        order: 3;
        padding: 18px 16px 0;
    }

    .kcl-title {
        font-size: 27px;
    }

    .kcl-subtitle {
        margin-top: 18px;
        font-size: 19px;
        line-height: 1.05;
    }

    .kcl-description {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.25;
    }

    .kcl-venue {
        font-size: 14px;
    }

    .kcl-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: 22px;
        margin-left: -16px;
        margin-right: -16px;
    }

    .kcl-ticket,
    .kcl-details {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        font-size: 16px;
    }
}


/* Bioskop list */

.kolarac-bioskop-list {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.kbl-items {
    display: grid;
    gap: 22px;
}

.kbl-item[hidden] {
    display: none !important;
}

.kbl-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 29%) minmax(0, 1fr);
    gap: 54px;
    width: 100%;
    min-height: 430px;
    padding: 24px 22px 24px 34px;
    background: var(--kps-burgundy);
    color: #ffffff;
    box-sizing: border-box;
}

.kbl-poster-date {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.kbl-image-link,
.kbl-image-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.kbl-image-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #222222;
    line-height: 0;
}

.kbl-thumb,
.kbl-image-wrap img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
}

.kbl-image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #222222;
}

.kbl-date {
    margin-top: auto;
    padding-top: 18px;
    color: #ffffff;
    text-transform: uppercase;
}

.kbl-date-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-weight: 800;
    line-height: 0.95;
}

.kbl-day {
    font-size: clamp(32px, 4.4vw, 52px);
    letter-spacing: -0.04em;
}

.kbl-month,
.kbl-year {
    font-size: clamp(20px, 1.85vw, 30px);
    letter-spacing: -0.02em;
}

.kbl-year {
    white-space: nowrap;
}

.kbl-time {
    margin-top: 0;
    font-size: clamp(48px, 6.6vw, 78px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.kbl-content {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 2px 0 0;
    box-sizing: border-box;
}

.kbl-title {
    margin: 0;
    padding: 0 0 16px;
    color: #ffffff;
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.kbl-title a {
    color: inherit;
    text-decoration: none;
}

.kbl-title a:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.86;
}

.kbl-meta {
    display: grid;
    gap: 7px;
    max-width: 92%;
    margin-top: 0;
    color: #ffffff;
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.kbl-meta-row span {
    font-weight: 800;
}

.kbl-description {
    max-width: 92%;
    margin-top: 54px;
    color: #ffffff;
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.kbl-ticket {
    align-self: flex-end;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 224px;
    min-height: 58px;
    margin-top: auto;
    padding: 6px 18px;
    background: var(--kps-ticket);
    color: var(--kps-black);
    text-decoration: none;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 800;
    line-height: 0.95;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    box-sizing: border-box;
}

.kbl-ticket strong {
    display: block;
    font-size: 0.88em;
    font-weight: 800;
}

.kbl-ticket:hover {
    color: var(--kps-black);
    text-decoration: none;
    filter: brightness(0.94);
}

.kbl-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.kbl-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    min-width: 210px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: var(--kps-burgundy);
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-sizing: border-box;
}

.kbl-load-more:hover {
    color: #ffffff;
    text-decoration: none;
    filter: brightness(0.94);
}

.kbl-load-more[hidden] {
    display: none !important;
}

.kolarac-bioskop-empty {
    padding: 22px 34px;
    color: #222222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1080px) {
    .kolarac-bioskop-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .kbl-item {
        grid-template-columns: minmax(190px, 31%) minmax(0, 1fr);
        gap: 34px;
        min-height: 390px;
        padding: 22px 20px 22px 28px;
    }

    .kbl-description {
        margin-top: 34px;
    }
}

@media (max-width: 760px) {
    .kolarac-bioskop-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .kbl-items {
        gap: 18px;
    }

    .kbl-item {
        display: block;
        min-height: 0;
        padding: 20px;
    }

    .kbl-image-wrap,
    .kbl-image-placeholder {
        aspect-ratio: 3 / 4;
        max-width: 260px;
    }

    .kbl-date {
        padding-top: 14px;
    }

    .kbl-content {
        margin-top: 20px;
    }

    .kbl-title {
        font-size: clamp(30px, 9vw, 42px);
    }

    .kbl-meta,
    .kbl-description {
        max-width: none;
    }

    .kbl-description {
        margin-top: 28px;
    }

    .kbl-ticket {
        align-self: auto;
        width: 100%;
        min-width: 0;
        margin-top: 28px;
    }
}

/* Home/program sliders - navigation in image top-right square frame */

.kps-slider .splide__arrow {
    top: 14px !important;
    z-index: 30 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    transform: none !important;
    border: 1px solid rgba(204, 204, 204, 0.85) !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
}

.kps-slider .splide__arrow--prev {
    left: auto !important;
    right: 66px !important;
}

.kps-slider .splide__arrow--next {
    left: auto !important;
    right: 14px !important;
}

.kps-slider .splide__arrow svg {
    width: 20px !important;
    height: 20px !important;
    fill: #cccccc !important;
}

.kps-slider .splide__arrow:hover {
    background: transparent !important;
    border-color: #cccccc !important;
    opacity: 0.82 !important;
}

.kps-slider .splide__arrow:hover svg {
    fill: #cccccc !important;
}

@media (max-width: 760px) {
    .kps-slider .splide__arrow {
        top: 10px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .kps-slider .splide__arrow--prev {
        right: 54px !important;
    }

    .kps-slider .splide__arrow--next {
        right: 10px !important;
    }

    .kps-slider .splide__arrow svg {
        width: 18px !important;
        height: 18px !important;
    }
}



/* Koncerti sliders - navigation matching home/program sliders */
.kvs-slider .splide__arrow {
    top: 14px !important;
    z-index: 30 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    transform: none !important;
    border: 1px solid rgba(204, 204, 204, 0.85) !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
}

.kvs-slider .splide__arrow--prev {
    left: auto !important;
    right: 66px !important;
}

.kvs-slider .splide__arrow--next {
    left: auto !important;
    right: 14px !important;
}

.kvs-slider .splide__arrow svg {
    width: 20px !important;
    height: 20px !important;
    fill: #cccccc !important;
}

.kvs-slider .splide__arrow:hover {
    background: transparent !important;
    border-color: #cccccc !important;
    opacity: 0.82 !important;
}

.kvs-slider .splide__arrow:hover svg {
    fill: #cccccc !important;
}

@media (max-width: 760px) {
    .kvs-slider .splide__arrow {
        top: 10px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .kvs-slider .splide__arrow--prev {
        right: 54px !important;
    }

    .kvs-slider .splide__arrow--next {
        right: 10px !important;
    }

    .kvs-slider .splide__arrow svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Page titles
 * GeneratePress does not use the same title structure on every page:
 * regular pages use .entry-header/.entry-title, archives can use .page-header h1,
 * and our custom page hero uses .hero-content h1. Center both the title element
 * and its wrapper so theme/layout rules cannot leave the title visually aligned left.
 */
.entry-header,
.page-header,
.inside-article > header.entry-header {
    text-align: center !important;
}

.entry-header .entry-title,
.page-header .page-title,
.page-header h1,
header.entry-header h1,
h1.entry-title,
h1.page-title,
.site-main .inside-article h1.entry-title {
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    font-weight: 700 !important;
}

body:not(.home):not(.front-page) .hero-content,
body:not(.home):not(.front-page) .hero-content h1 {
    text-align: center !important;
}

body:not(.home):not(.front-page) .hero-content h1 {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Shared event content width
 * Calendar and Concerts use the same centered content boundary
 * inside the theme container. Bioskop keeps the full theme content width.
 */
:root {
    --kolarac-event-content-offset: 68px;
}

.kolarac-venue-sliders,
.kcl-items {
    width: calc(100% - var(--kolarac-event-content-offset)) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1080px) {
    :root {
        --kolarac-event-content-offset: 48px;
    }
}

@media (max-width: 760px) {
    :root {
        --kolarac-event-content-offset: 32px;
    }
}

/* Bioskop width micro-adjustment
 * Calendar and Concerts remain on the shared 1.0.45 boundary.
 * Bioskop is nudged only a few pixels wider on both sides.
 */
.kbl-items {
    width: calc(100% + 16px) !important;
    max-width: none !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1080px) {
    .kbl-items {
        width: calc(100% + 12px) !important;
        margin-left: -6px !important;
        margin-right: -6px !important;
    }
}

@media (max-width: 760px) {
    .kbl-items {
        width: calc(100% + 8px) !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
}


/* Unified max width for public event/slider layouts
 * Caps the actual visible slider/list width at 1200px.
 */
:root {
    --kolarac-public-content-max-width: 1200px;
}

.kolarac-program-slider-wrap,
.kolarac-venue-sliders,
.kcl-items,
.kbl-items {
    width: 100% !important;
    max-width: var(--kolarac-public-content-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.kolarac-program-slider-wrap,
.kolarac-venue-sliders,
.kcl-items,
.kbl-items {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =====================================================
   KOLARAC HOME BANER SLIDER
   ===================================================== */

.kolarac-home-baner-slider-wrap,
.khbs-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 34px;
    padding: 0;
    box-sizing: border-box;
}

.khbs-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    visibility: hidden;
    background: transparent;
    container-type: inline-size;
}

.khbs-slider.is-initialized {
    visibility: visible;
}

.khbs-slider .splide__track {
    overflow: hidden;
    background: transparent;
}

.khbs-slider .splide__list,
.khbs-slider .splide__slide {
    margin: 0;
    padding: 0;
}

.khbs-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.khbs-slide-link:hover,
.khbs-slide-link:focus {
    color: inherit;
    text-decoration: none;
}

.khbs-slide {
    position: relative;
    display: grid;
    grid-template-columns: 24% minmax(0, 1fr);
    width: 100%;
    max-width: 1200px;
    max-height: 260px;
    aspect-ratio: 1200 / 260;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111111;
    box-sizing: border-box;
}

.khbs-panel {
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 100%;
    padding: 0 8.5% 7.4% 8.5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background: #000000;
    box-sizing: border-box;
}

.khbs-accent {
    position: absolute;
    top: 0;
    right: -16px;
    z-index: 4;
    width: 30px;
    height: 30px;
    background: #681328;
    pointer-events: none;
}

.khbs-kicker {
    margin: 0 0 0.3cqw;
    color: #ffffff;
    font-size: clamp(15px, 2.45cqw, 30px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.khbs-label {
    margin: 0 0 0.5cqw;
    color: #ffffff;
    font-size: clamp(15px, 2.45cqw, 30px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Home banner: naziv sale u Predavanjima treba da ostane u dva reda. */
.khbs-label-amphitheater {
    white-space: normal;
    line-height: 1.08;
}

.khbs-post-categories {
    font-size: clamp(12px, 1.45cqw, 17px);
    font-weight: 500;
    line-height: 1.1;
    white-space: normal;
}

.khbs-date-label {
    margin: 0.55cqw 0 0.12cqw;
    color: #ffffff;
    font-size: clamp(9px, 0.95cqw, 12px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.khbs-date-label + .khbs-date {
    margin-top: 0;
}

.khbs-date {
    margin: 0.55cqw 0 0;
    color: #ffffff;
    font-size: clamp(14px, 1.9cqw, 22px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.khbs-date-main,
.khbs-date-year {
    display: inline;
}

.khbs-time {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 5.45cqw, 66px);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.065em;
    white-space: nowrap;
}

.khbs-media {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #111111;
}

.khbs-image,
.khbs-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.khbs-image {
    object-fit: cover;
    object-position: center center;
}

.khbs-image-placeholder {
    background: #222222;
}

.khbs-title {
    position: absolute;
    left: 3%;
    right: 4px;
    bottom: 6.5%;
    margin: 0;
    padding: 0 0 0.08em;
    color: #ffffff;
    font-size: clamp(24px, 4.85cqw, 58px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Tamni rub iskljucivo oko belog naslova preko fotografije. */
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.95);
    paint-order: stroke fill;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 1px 14px rgba(0, 0, 0, 0.5);
}


.khbs-title .khbs-title-main,
.khbs-title .khbs-title-rest {
    display: inline;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.khbs-slider .splide__arrows,
.khbs-slider .splide__arrow {
    display: none !important;
}

.khbs-slider .splide__pagination {
    display: none;
}

.khbs-empty,
.khbs-empty-message {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.khbs-empty-message {
    padding: 18px 0;
    color: #222222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .kolarac-home-baner-slider-wrap,
    .khbs-wrap {
        margin-bottom: 26px;
    }

    .khbs-slide {
        grid-template-columns: 34% minmax(0, 1fr);
        aspect-ratio: 1200 / 360;
        max-height: 230px;
        min-height: 178px;
    }

    .khbs-panel {
        padding-left: 10%;
        padding-right: 7%;
        padding-bottom: 10%;
    }

    .khbs-accent {
        right: -10px;
        width: 20px;
        height: 20px;
    }

    .khbs-kicker {
        font-size: clamp(13px, 4.2vw, 18px);
    }

    .khbs-label {
        font-size: clamp(13px, 4.2vw, 18px);
    }

    .khbs-post-categories {
        font-size: clamp(10px, 2.85vw, 13px);
        line-height: 1.08;
    }

    .khbs-date-label {
        margin-top: 0.8vw;
        margin-bottom: 0.2vw;
        font-size: clamp(8px, 2.25vw, 10px);
    }

    .khbs-date {
        margin-top: 0.9vw;
        font-size: clamp(12px, 3.55vw, 17px);
        line-height: 1;
    }

    .khbs-date-year {
        display: block;
        margin-top: 0.08em;
    }

    .khbs-time {
        font-size: clamp(29px, 9vw, 42px);
    }

    .khbs-title {
        left: 4%;
        right: 6px;
        bottom: 9%;
        font-size: clamp(22px, 8vw, 36px);
        white-space: normal;
        line-height: 1.06;
        max-height: 2.18em;
        padding-bottom: 0.08em;
    }

    
.khbs-title .khbs-title-main,
.khbs-title .khbs-title-rest {
    display: inline;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

}

/* Predavanja / non-ticket entry badges inside existing event layouts. */
.kps-entry-badge,
.kvs-entry-badge,
.kcl-entry-badge {
    cursor: default !important;
    pointer-events: none !important;
}
