/*
 Theme Name: Kolarac GeneratePress Child
 Template: generatepress
 Version: 1.0.111
*/

/*
 * Kolarac GeneratePress Child
 *
 * Kolarac Core plugin contains:
 * - .kvs-* concert venue slider styles
 * - .kolarac-mesec-switcher styles
 * - plugin slider assets
 *
 * Typography:
 * The child theme intentionally uses its own font-family name:
 * "Kolarac SF Pro".
 *
 * It points to the existing variable font:
 * /wp-content/uploads/fonts/SF-Pro.ttf
 *
 * This avoids WordPress Font Library's competing "SF Pro"
 * @font-face definition with font-display: fallback.
 */

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

    --kolarac-font-family:
        'Kolarac SF Pro',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
}


/* =====================================================
   KOLARAC SF PRO VARIABLE FONT
   ===================================================== */

/*
 * Use a unique family name so WordPress's own "SF Pro"
 * @font-face rule cannot compete with this one.
 *
 * The same existing variable font file is used for all weights.
 * Preload for this exact file is added in functions.php.
 */
@font-face {
    font-family: 'Kolarac SF Pro';
    src: url('/wp-content/uploads/fonts/SF-Pro.ttf') format('truetype');
    font-style: normal;
    font-weight: 1 1000;
    font-display: block;
}


/* =====================================================
   GLOBAL TYPOGRAPHY
   ===================================================== */

html,
body,
button,
input,
select,
textarea {
    font-family: var(--kolarac-font-family);
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-title,
.main-navigation a,
.menu-toggle,
.entry-meta,
.widget-title,
.sidebar {
    font-family: var(--kolarac-font-family);
}

/* Entry titles */

.entry-title {
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 600;
}


/* Force all Kolarac visual components to use Kolarac SF Pro */

.lcu-header-switcher,
.lcu-header-switcher *,
.kps-slider,
.kps-slider *,
.kolarac-program-slider-wrap,
.kolarac-program-slider-wrap *,
.kolarac-venue-sliders,
.kolarac-venue-sliders *,
.kolarac-mesec-switcher,
.kolarac-mesec-switcher *,
.kolarac-dizajniran-datum-box,
.kolarac-dizajniran-datum-box * {
    font-family: var(--kolarac-font-family) !important;
}


/* =====================================================
   GLOBAL / PAGE BACKGROUNDS
   ===================================================== */

body {
    background-color: #b4b4b4;
}

.separate-containers .inside-article {
    background: transparent;
}

.home.separate-containers .inside-article {
    padding: 0;
}

.site-content {
    background-color: #cccccc;
}

.content-area,
.entry-content {
    background: #cccccc;
}

.kolarac-mesec-switcher {
    background: transparent !important;
    background-color: transparent !important;
}


/* Single event pages */

.single-koncerti .site-content,
.single-bioskop .site-content {
    background-color: #cccccc;
}

/* Remove GeneratePress separate-container outer margin only on event single pages. */
.single-koncerti.separate-containers .site-main,
.single-bioskop.separate-containers .site-main {
    margin: 0;
}




/* =====================================================
   GLOBAL RESPONSIVE SIDE GUTTERS
   ===================================================== */

/*
 * Match the left/right responsive spacing used by the single event templates.
 * Keep existing single Koncerti/Bioskop templates untouched, because they
 * already have the accepted mobile/tablet layout.
 */
@media (max-width: 1200px) {
    :root {
        --kolarac-responsive-site-gutter: 24px;
    }

    /* Keep the responsive page canvas the same color as the central content area. */
    #page {
        background-color: #cccccc;
    }

    body:not(.single-koncerti):not(.single-bioskop) .site-content {
        padding-left: var(--kolarac-responsive-site-gutter);
        padding-right: var(--kolarac-responsive-site-gutter);
        box-sizing: border-box;
    }

    body:not(.single-koncerti):not(.single-bioskop).home.separate-containers .inside-article,
    body:not(.single-koncerti):not(.single-bioskop).front-page.separate-containers .inside-article {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --kolarac-responsive-site-gutter: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --kolarac-responsive-site-gutter: 14px;
    }
}


/* =====================================================
   GENERATEPRESS HEADER
   ===================================================== */

.site-header {
    background: transparent;
}

.inside-header.grid-container {
    background: #cccccc;
}

.inside-header {
    margin-top: 1%;
    padding: 12px 33px;
}

.header-image.is-logo-image {
    margin: 0;
}

.main-navigation,
.main-navigation ul ul {
    background: #cccccc;
}

.nav-float-right #site-navigation {
    margin-left: auto;
}


/* Desktop: centered menu with controlled spacing so it does not overlap the logo */
@media (min-width: 1201px) {
    .inside-header {
        flex-wrap: nowrap;
    }

    #site-navigation {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .main-navigation .inside-navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .main-navigation .main-nav {
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .main-navigation .main-nav > ul {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .main-navigation .main-nav > ul > li {
        flex: 0 0 auto;
    }
}


/* Main desktop menu */

.main-navigation .main-nav > ul > li > a {
    font-family: var(--kolarac-font-family) !important;
    font-size: 1.0625rem;
    font-weight: 800 !important;
    font-style: normal;
    font-synthesis: weight;
    letter-spacing: 0;
    text-transform: uppercase;
    padding-left: 5px;
    padding-right: 5px;
}


/* Dropdown / submenu */

.main-navigation .main-nav ul ul li a {
    font-size: 16px;
    font-weight: 600;
}


/* Language switcher */

.lcu-header-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: max-content;
    margin-left: 8px;
    line-height: 1;
    white-space: nowrap;
}

.lcu-header-switcher a,
.lcu-header-switcher span,
.lcu-header-switcher button {
    line-height: 1.05;
    white-space: nowrap;
}


/* Latin script only: allow a roomier desktop menu.
 * Cyrillic keeps the compact base spacing above so the switcher stays on one line.
 */
@media (min-width: 1201px) {
    body.kolarac-pismo-lat .main-navigation .main-nav > ul {
        gap: 10px;
    }

    body.kolarac-pismo-lat .main-navigation .main-nav > ul > li > a {
        padding-left: 7px;
        padding-right: 7px;
    }

    body.kolarac-pismo-cir .main-navigation .main-nav > ul {
        gap: 2px;
    }

    body.kolarac-pismo-cir .main-navigation .main-nav > ul > li > a {
        padding-left: 4px;
        padding-right: 4px;
    }
}


/* Mobile / tablet menu */

@media (max-width: 1200px) {
    .main-navigation .main-nav > ul > li > a {
        font-family: var(--kolarac-font-family) !important;
        font-size: 18px;
        font-weight: 700 !important;
        font-style: normal;
        font-synthesis: weight;
        letter-spacing: 0;
        text-transform: uppercase;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-navigation .main-nav ul ul li a {
        font-size: 16px;
        font-weight: 600;
    }
}


/* =====================================================
   KOLARAC PROGRAM SLIDER
   ===================================================== */

.kolarac-program-slider-wrap {
    width: 100%;
    margin: 0 0 34px;
    padding: 0;
}

.kolarac-program-slider-wrap:last-child {
    margin-bottom: 0;
}

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

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

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

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

.kps-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;
}

.kps-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: 1.82cqw 0 0 1.92cqw;
    overflow: hidden;
}

.kps-program-label {
    display: block;
    color: var(--kps-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0 0 0.72cqw;
    margin: 0 0 1.52cqw;
    line-height: 1;
    white-space: nowrap;
}

.kps-program-label-strong {
    font-size: 2.45cqw;
    font-weight: 800;
    letter-spacing: 0.012em;
    text-transform: uppercase;
}

.kps-program-label-light {
    font-size: 2.45cqw;
    font-weight: 300;
    letter-spacing: 0.012em;
    text-transform: lowercase;
}

.kps-program-label-custom {
    font-size: 2.45cqw;
    font-weight: 800;
    letter-spacing: 0.012em;
    text-transform: uppercase;
}

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

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

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

.kps-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;
}

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

.kps-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%;
}

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

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

.kps-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;
}

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

.kps-ticket {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11.72cqw;
    height: 3.08cqw;
    min-height: 28px;
    background: var(--kps-ticket);
    color: var(--kps-black);
    text-decoration: none;
    font-size: 1.82cqw;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.035em;
}

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

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

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

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

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

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


/* =====================================================
   KOLARAC PROGRAM SLIDER - NAVIGATION
   ===================================================== */

.kps-slider .splide__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    opacity: 1;
}

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

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

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

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

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

.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;
}


/* =====================================================
   OLD GENERATEBLOCKS DATE BOX COMPATIBILITY
   ===================================================== */

.kolarac-dizajniran-datum-box {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: #ffffff;
    line-height: 1;
}

.kolarac-datum-gornji-sklop {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.kolarac-dizajn-dan {
    font-size: 58px;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.06em;
}

.kolarac-dizajn-mesec,
.kolarac-dizajn-godina {
    font-size: 22px;
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.kolarac-dizajn-vreme {
    margin-top: 4px;
    font-size: 42px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
}


/* =====================================================
   FOOTER / WIDGETS
   ===================================================== */

/* Keep the GeneratePress footer block aligned with the 1200px site container. */
.site-footer.grid-container.footer-bar-active.footer-bar-align-center {
    background-color: #cccccc;
}

#footer-widgets {
    width: min(100%, 1160px);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    box-sizing: border-box;
}

.site-footer .site-info {
    background-color: transparent;
    box-sizing: border-box;
}

/* Inner footer content padding. */
.site-footer .footer-widgets-container,
.site-footer .inside-site-info {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 40px;
    background-color: transparent;
}

.site-footer .inside-footer-widgets {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.site-footer .inside-footer-widgets > div {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin-bottom: 0;
}

.site-footer .footer-widgets .widget {
    margin-bottom: 0;
}

/* Footer widget column proportions: 35% / 40% / 25%.
   The flex-basis values account for the existing 30px gaps between columns. */
.site-footer .inside-footer-widgets > .footer-widget-1 {
    flex: 0 0 calc(35% - 21px);
    width: calc(35% - 21px) !important;
    max-width: calc(35% - 21px);
}

.site-footer .inside-footer-widgets > .footer-widget-2 {
    flex: 0 0 calc(40% - 24px);
    width: calc(40% - 24px) !important;
    max-width: calc(40% - 24px);
    padding-top: 0.8%;
}

.site-footer .inside-footer-widgets > .footer-widget-3 {
    flex: 0 0 calc(25% - 15px);
    width: calc(25% - 15px) !important;
    max-width: calc(25% - 15px);
}

/* Remove GeneratePress column side padding so the first and last footer widgets line up cleanly. */
.site-footer .footer-widgets-container .inner-padding,
.site-footer .footer-widget-1,
.site-footer .footer-widget-2,
.site-footer .footer-widget-3,
.site-footer .footer-widget-4,
.site-footer .footer-widget-5 {
    padding-left: 0;
    padding-right: 0;
}


.footer-widget-3 {
    padding-top: 2%;
}

.site-footer .footer-widget-3 .widget {
    max-width: 100%;
}

@media (min-width: 1025px) {
    .site-footer .footer-widget-3,
    .site-footer .footer-widget-3 .widget,
    .site-footer .footer-widget-3 .wp-block-social-links {
        width: 100%;
    }

    .site-footer .footer-widget-3 {
        text-align: right;
    }

    .site-footer .footer-widget-3 .wp-block-social-links {
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .site-footer .footer-widget-3,
    .site-footer .footer-widget-3 .widget,
    .site-footer .footer-widget-3 .wp-block-social-links {
        width: 100%;
        text-align: center;
    }

    .site-footer .footer-widget-3 .wp-block-social-links {
        justify-content: center;
    }
}

.footer-bar,
.footer-bar .widget,
.footer-bar p {
    margin-bottom: 0;
}



/* =====================================================
   FOOTER NEWSLETTER
   ===================================================== */

.site-footer .footer-widget-2 .kolarac-footer-newsletter {
    width: 100%;
    max-width: 100%;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.25;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-form {
    width: 100%;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    align-items: stretch;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-row input[type="email"],
.site-footer .footer-widget-2 .kolarac-footer-newsletter-row button {
    height: 42px;
    box-sizing: border-box;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-row input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #681328;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    line-height: 1;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-row button {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 1px solid #681328;
    background-color: #681328;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.site-footer .footer-widget-2 .kolarac-footer-newsletter-row button:hover {
    background-color: #000000;
    border-color: #000000;
}

/* Tablet: keep the newsletter compact and align the heading with the start of the input row. */
@media (min-width: 481px) and (max-width: 1024px) {
    .site-footer .footer-widget-2 .kolarac-footer-newsletter h3,
    .site-footer .footer-widget-2 .kolarac-footer-newsletter-form,
    .site-footer .footer-widget-2 .kolarac-footer-newsletter-row {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer .footer-widget-2 .kolarac-footer-newsletter h3 {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .site-footer .footer-widget-2 .kolarac-footer-newsletter-row {
        gap: 6px;
    }

    .site-footer .footer-widget-2 .kolarac-footer-newsletter-row input[type="email"] {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-footer .footer-widget-2 .kolarac-footer-newsletter-row button {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 12px;
    }
}

/* =====================================================
   FOOTER SOCIAL ICONS
   ===================================================== */

.site-footer .wp-block-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-footer .wp-block-social-links .wp-social-link,
.site-footer .wp-block-social-links .wp-social-link:hover,
.site-footer .wp-block-social-links .wp-social-link a,
.site-footer .wp-block-social-links .wp-social-link a:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}

.site-footer .wp-block-social-links .wp-social-link {
    color: transparent !important;
}

.site-footer .wp-block-social-links .wp-social-link a {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.site-footer .wp-block-social-links .wp-social-link svg {
    display: none !important;
}

.site-footer .wp-block-social-links .wp-social-link-linkedin a,
.site-footer .wp-block-social-links a[href*="linkedin.com"] {
    background-image: url('/wp-content/uploads/Kolarac_Icon_LinkedIn.png');
}

.site-footer .wp-block-social-links .wp-social-link-youtube a,
.site-footer .wp-block-social-links a[href*="youtube.com"],
.site-footer .wp-block-social-links a[href*="youtu.be"] {
    background-image: url('/wp-content/uploads/Kolarac_Icon_YouTube.png');
}

.site-footer .wp-block-social-links .wp-social-link-instagram a,
.site-footer .wp-block-social-links a[href*="instagram.com"] {
    background-image: url('/wp-content/uploads/Kolarac_Icon_Instagram.png');
}

.site-footer .wp-block-social-links .wp-social-link-facebook a,
.site-footer .wp-block-social-links a[href*="facebook.com"] {
    background-image: url('/wp-content/uploads/Kolarac_Icon_Facebook.png');
}

.site-footer .wp-block-social-links .wp-social-link-x a,
.site-footer .wp-block-social-links .wp-social-link-twitter a,
.site-footer .wp-block-social-links a[href*="x.com"],
.site-footer .wp-block-social-links a[href*="twitter.com"] {
    background-image: url('/wp-content/uploads/Kolarac_Icon_X.png');
}


/*
 * Legacy Gutenberg-generated selector.
 * Replace with a custom Additional CSS class on the block when convenient.
 */

.wp-block-column.is-vertically-aligned-center.has-custom-css.is-layout-flow.wp-block-column-is-layout-flow.wp-custom-css-1aa6c072 {
    padding: 0;
    margin: 0;
}


/* =====================================================
   RESPONSIVE - KOLARAC SLIDER
   ===================================================== */

@media (max-width: 900px) {
    .kps-info {
        padding-left: 2.2cqw;
    }

    .kps-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;
    }

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

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

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

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

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

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


@media (max-width: 700px) {
    .kps-slide {
        aspect-ratio: auto;
        grid-template-columns: 1fr;
    }

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

    .kps-media {
        order: 2;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .kps-program-label {
        padding-bottom: 8px;
        margin-bottom: 16px;
    }

    .kps-program-label-strong,
    .kps-program-label-light,
    .kps-program-label-custom {
        font-size: 28px;
    }

    .kps-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;
    }

    .kps-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;
    }

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

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

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

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

    .kps-ticket {
        width: 120px;
        height: 34px;
        font-size: 18px;
    }

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

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

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

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

    .kolarac-program-slider-wrap {
        margin-bottom: 26px;
    }
}


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

@media (max-width: 768px) {
    .site-footer .inside-footer-widgets {
        flex-wrap: wrap;
        gap: 24px;
    }

    .site-footer .inside-footer-widgets > div,
    .site-footer .inside-footer-widgets > .footer-widget-1,
    .site-footer .inside-footer-widgets > .footer-widget-2,
    .site-footer .inside-footer-widgets > .footer-widget-3 {
        flex: 1 1 100%;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
    }

    .site-footer .footer-widget-1 p {
        padding: 1% 0;
        font-weight: 400;
    }

    .site-footer .footer-widget-1 p.has-text-align-left.has-text-color.has-link-color.wp-elements-2.wp-block-paragraph,
    .site-footer .footer-widget-1 p.has-text-align-left.has-text-color.has-link-color.wp-elements-4.wp-block-paragraph,
    .site-footer .footer-widget-1 p.has-text-align-left.has-text-color.has-link-color.wp-block-paragraph {
        text-align: center;
    }
}

/* =====================================================
   FOOTER RESPONSIVE / DESKTOP GUTTERS
   ===================================================== */

/*
 * Keep the footer content aligned with the same side rhythm as the main
 * responsive content gutter. This especially prevents footer-widget-1 from
 * sitting too close to the left edge before the footer columns stack on mobile.
 */
:root {
    --kolarac-footer-side-gutter: 24px;
}

.site-footer .footer-widgets-container,
.site-footer .inside-site-info {
    padding-left: var(--kolarac-footer-side-gutter) !important;
    padding-right: var(--kolarac-footer-side-gutter) !important;
}

@media (max-width: 768px) {
    :root {
        --kolarac-footer-side-gutter: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --kolarac-footer-side-gutter: 14px;
    }
}



/* =====================================================
   FOOTER RESPONSIVE / TABLET TWO-COLUMN LAYOUT
   ===================================================== */

/*
 * Tablet layout: first two footer widgets sit 50% / 50%,
 * while the social/widget column drops below them and spans 100% centered.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .site-footer .inside-footer-widgets {
        flex-wrap: wrap;
        gap: 30px;
    }

    .site-footer .inside-footer-widgets > .footer-widget-1,
    .site-footer .inside-footer-widgets > .footer-widget-2 {
        flex: 0 0 calc(50% - 15px);
        width: calc(50% - 15px) !important;
        max-width: calc(50% - 15px);
        min-width: 0;
    }

    .site-footer .inside-footer-widgets > .footer-widget-3 {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        padding-top: 0;
        text-align: center;
    }

    .site-footer .footer-widget-3 .widget,
    .site-footer .footer-widget-3 .wp-block-social-links {
        width: 100%;
        text-align: center;
    }

    .site-footer .footer-widget-3 .wp-block-social-links {
        justify-content: center;
    }
}


/* =====================================================
   FOOTER RESPONSIVE / TABLET FOOTER-WIDGET-1 STACK
   ===================================================== */

/*
 * On tablet widths, footer-widget-1 is still in the 50% footer column,
 * but its internal content should behave like the mobile footer reference:
 * image/logo above, text centered below.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .site-footer .footer-widget-1 {
        text-align: center;
    }

    .site-footer .footer-widget-1 .widget,
    .site-footer .footer-widget-1 .wp-block-group,
    .site-footer .footer-widget-1 .wp-block-columns,
    .site-footer .footer-widget-1 .wp-block-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-widget-1 figure,
    .site-footer .footer-widget-1 .wp-block-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 14px;
        text-align: center;
    }

    .site-footer .footer-widget-1 .wp-block-image img,
    .site-footer .footer-widget-1 img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: auto;
    }

    .site-footer .footer-widget-1 p {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
}

/* =====================================================
   FOOTER BORDERS / VISUAL DIVIDERS
   ===================================================== */

/*
 * Keep footer content at 1160px, but let desktop divider lines follow the
 * real viewport/page gutter. Important: percentage widths on pseudo-elements
 * are relative to #footer-widgets, so use 100vw for desktop expansion.
 * Mobile/tablet overrides below remain unchanged.
 */
:root {
    --kolarac-footer-border-width: min(calc(100vw - 80px), 1200px);
}

.site-footer .kolarac-footer-top-bar,
#footer-widgets {
    position: relative;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.site-footer .kolarac-footer-top-bar {
    width: min(100%, 1160px) !important;
    max-width: 1160px !important;
    box-sizing: border-box;
}

.site-footer .kolarac-footer-top-bar::before,
.site-footer .kolarac-footer-top-bar::after,
#footer-widgets::before,
#footer-widgets::after {
    content: '';
    position: absolute;
    left: 50%;
    width: var(--kolarac-footer-border-width);
    transform: translateX(-50%);
    pointer-events: none;
    box-sizing: border-box;
}

.site-footer .kolarac-footer-top-bar::before {
    top: 0;
    border-top: 1px solid #111111;
}

.site-footer .kolarac-footer-top-bar::after {
    bottom: 0;
    border-bottom: 1px solid #111111;
}

#footer-widgets::before {
    top: 0;
    border-top: 1px solid #111111;
}

#footer-widgets::after {
    bottom: 0;
    border-bottom: 4px solid #111111;
}

@media (max-width: 1200px) {
    :root {
        --kolarac-footer-border-width: calc(100% - 48px);
    }
}

@media (max-width: 768px) {
    :root {
        --kolarac-footer-border-width: calc(100% - 32px);
    }
}

@media (max-width: 480px) {
    :root {
        --kolarac-footer-border-width: calc(100% - 28px);
    }
}


/* =====================================================
   SINGLE BLOG POST LAYOUT
   Match the accepted single-CPT spacing exactly.
   ===================================================== */

/* Same vertical page rhythm as single Koncerti/Bioskop. */
body.single-post .site-content {
    display: block;
    padding-top: 24px;
    padding-right: 0 !important;
    padding-bottom: 70px;
    padding-left: 0 !important;
}

body.single-post .content-area {
    width: 100%;
    max-width: none;
    margin: 0;
}

body.single-post.separate-containers .site-main {
    margin: 0;
}

/* Breadcrumb: identical canvas/position to custom CPT single pages. */
.single-post .kolarac-blog-single-breadcrumbs {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    width: calc(100% - 66px);
    max-width: 1194px;
    margin: 8px auto 16px;
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

/* The post itself starts on the exact same 1194px content canvas. */
body.single-post.separate-containers .inside-article {
    width: calc(100% - 66px);
    max-width: 1194px;
    margin: 0 auto;
    padding: 0;
    background: #cccccc;
}

.single-post .kolarac-blog-single-breadcrumbs .kolarac-single-breadcrumb-link {
    color: #111111;
    font-weight: 700;
    text-decoration: none;
}

.single-post .kolarac-blog-single-breadcrumbs .kolarac-single-breadcrumb-link:hover,
.single-post .kolarac-blog-single-breadcrumbs .kolarac-single-breadcrumb-link:focus {
    color: #111111;
    text-decoration: underline;
}

.single-post .kolarac-blog-single-breadcrumbs .kolarac-single-breadcrumb-separator {
    opacity: 0.55;
}

.single-post .kolarac-blog-single-breadcrumbs .kolarac-single-breadcrumb-current {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .single-post .kolarac-blog-single-breadcrumbs,
    body.single-post.separate-containers .inside-article {
        width: calc(100% - 44px);
    }
}

@media (max-width: 700px) {
    body.single-post .site-content {
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .single-post .kolarac-blog-single-breadcrumbs,
    body.single-post.separate-containers .inside-article {
        width: calc(100% - 32px);
    }

    .single-post .kolarac-blog-single-breadcrumbs {
        margin-bottom: 12px;
        font-size: 14px;
    }
}

/* =====================================================
   KOLARAC BLOG / CATEGORY LISTING
   Same outer canvas as the accepted single-CPT templates.
   ===================================================== */

/* Match the vertical page rhythm used by single CPT and single blog pages. */
body.kolarac-blog-listing .site-content {
    display: block;
    padding-top: 24px;
    padding-bottom: 70px;
}

/*
 * Use the exact same public content boundary as Home/Kalendar/Core blocks.
 * Do not add a second gutter here: .site-content already owns the responsive
 * side padding used throughout the site.
 */
.kolarac-blog-canvas {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.kolarac-blog-breadcrumbs {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    max-width: none;
    margin: 8px 0 16px;
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.kolarac-blog-breadcrumbs .kolarac-single-breadcrumb-link {
    color: #111111;
    font-weight: 700;
    text-decoration: none;
}

.kolarac-blog-breadcrumbs .kolarac-single-breadcrumb-link:hover,
.kolarac-blog-breadcrumbs .kolarac-single-breadcrumb-link:focus {
    color: #111111;
    text-decoration: underline;
}

.kolarac-blog-breadcrumbs .kolarac-single-breadcrumb-separator {
    opacity: 0.55;
}

.kolarac-blog-breadcrumbs .kolarac-single-breadcrumb-current {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Schema.org breadcrumb wrappers must not alter the existing visual layout. */
.kolarac-breadcrumb-schema-item {
    display: contents;
}

/* Category archive: the active category selector lives inside the breadcrumb. */
.kolarac-blog-breadcrumb-category-select {
    width: auto;
    max-width: min(100%, 280px);
    min-width: 180px;
    min-height: 32px;
    margin: -4px 0;
    padding: 3px 30px 3px 8px;
    border: 1px solid #111111;
    border-radius: 0;
    background-color: #ffffff;
    color: #111111;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

.kolarac-blog-layout {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

body.kolarac-blog-listing #primary {
    min-width: 0;
    padding: 0;
}

/* Main Blog and Category archives intentionally use the full content width. */
body.kolarac-blog-listing.blog #primary,
body.kolarac-blog-listing.home #primary,
body.kolarac-blog-listing.category #primary {
    width: 100%;
    max-width: none;
}

.kolarac-blog-index-shell {
    padding: 0 0 40px !important;
    background: transparent;
    box-sizing: border-box;
}

.kolarac-blog-archive-header {
    margin: 0 0 36px;
}

.kolarac-blog-archive-title {
    margin: 0;
}

.kolarac-blog-archive-description {
    margin-top: 12px;
}

.kolarac-blog-list {
    display: block;
}

.kolarac-blog-card {
    margin: 0 0 34px;
}

.kolarac-blog-card__inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* Main Blog and Category listings share the same full-width card proportions. */
body.blog .kolarac-blog-card__inner,
body.home .kolarac-blog-card__inner,
body.category .kolarac-blog-card__inner {
    grid-template-columns: 320px minmax(0, 1fr);
}

.kolarac-blog-card__media {
    min-width: 0;
    overflow: hidden;
    background: #111111;
}

.kolarac-blog-card__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.kolarac-blog-card__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    object-position: center;
}

.kolarac-blog-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kolarac-blog-card__header {
    margin: 0;
}

.kolarac-blog-card__title {
    margin: 0;
    line-height: 1.08;
}

.kolarac-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.kolarac-blog-card__title a:hover,
.kolarac-blog-card__title a:focus {
    color: var(--kps-burgundy, #681428);
}

.kolarac-blog-card__meta {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.3;
}

.kolarac-blog-card__excerpt {
    margin-top: 18px;
}

.kolarac-blog-card__actions {
    margin-top: auto;
    padding-top: 24px;
}

/* Sidebar background + transparent widgets. */
.sidebar,
.widget-area.sidebar,
#right-sidebar,
#left-sidebar,
.inside-right-sidebar,
.inside-left-sidebar {
    background: #cbcbcb !important;
    background-color: #cbcbcb !important;
}

.sidebar .widget,
.widget-area.sidebar .widget,
#right-sidebar .widget,
#left-sidebar .widget,
.inside-right-sidebar .widget,
.inside-left-sidebar .widget {
    background: transparent !important;
    background-color: transparent !important;
}

/* Blog CTA — copied from Kalendar .kcl-details / "Saznaj više" styling. */
a.kolarac-blog-card__more,
.kolarac-blog-card__actions > a.kolarac-blog-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    min-width: 224px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: var(--kps-burgundy);
    color: #cccccc;
    box-shadow: none;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-sizing: border-box;
}

a.kolarac-blog-card__more:hover,
a.kolarac-blog-card__more:focus,
.kolarac-blog-card__actions > a.kolarac-blog-card__more:hover,
.kolarac-blog-card__actions > a.kolarac-blog-card__more:focus {
    color: #cccccc;
    text-decoration: none;
    filter: brightness(0.94);
}

@media (max-width: 1080px) {
    a.kolarac-blog-card__more,
    .kolarac-blog-card__actions > a.kolarac-blog-card__more {
        min-width: 0;
        flex: 1 1 0;
        font-size: 18px;
    }
}

@media (max-width: 760px) {
    .kolarac-blog-card__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    a.kolarac-blog-card__more,
    .kolarac-blog-card__actions > a.kolarac-blog-card__more {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        font-size: 16px;
    }
}

.kolarac-blog-card:not(.kolarac-blog-card--has-image) .kolarac-blog-card__inner {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 900px) {
    .kolarac-blog-card__inner,
    body.blog .kolarac-blog-card__inner,
    body.home .kolarac-blog-card__inner,
    body.category .kolarac-blog-card__inner {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .kolarac-blog-layout {
        display: block;
    }

    body.kolarac-blog-listing #primary,
    body.kolarac-blog-listing #right-sidebar,
    body.kolarac-blog-listing #left-sidebar {
        width: 100% !important;
    }

    .kolarac-blog-card__inner,
    body.blog .kolarac-blog-card__inner,
    body.home .kolarac-blog-card__inner,
    body.category .kolarac-blog-card__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .kolarac-blog-card__image {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .kolarac-blog-card__actions {
        margin-top: 20px;
        padding-top: 0;
    }
}

@media (max-width: 700px) {
    body.kolarac-blog-listing .site-content {
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .kolarac-blog-breadcrumbs {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .kolarac-blog-breadcrumb-category-select {
        min-width: 0;
        max-width: min(100%, 240px);
    }

    .kolarac-blog-index-shell {
        padding-bottom: 24px !important;
    }
}



/* =====================================================
   SINGLE BLOG POST — SHARE LINKS
   ===================================================== */

.single-post .kolarac-single-post-share {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    margin: 4px 0 18px;
    color: #111111;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.single-post .kolarac-single-post-share__label {
    font-weight: 600;
}

.single-post .kolarac-single-post-share__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    padding: 0;
    border: 2px solid #681428;
    border-radius: 50%;
    background: transparent;
    color: #681428;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.single-post .kolarac-single-post-share__icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.single-post .kolarac-single-post-share__icon:hover,
.single-post .kolarac-single-post-share__icon:focus-visible {
    background: #681428;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Keep GeneratePress' original category footer meta hidden on single posts. */
.single-post footer.entry-meta .cat-links,
.single-post .entry-footer .cat-links {
    display: none !important;
}

/* Main Info/Blog page title is visually uppercase without changing the WP title. */
body.blog .kolarac-blog-archive-title,
body.home .kolarac-blog-archive-title {
    text-transform: uppercase;
}
/* Blog listing post titles: uppercase on main Info/Blog and category pages. */
body.blog .kolarac-blog-card__title,
body.home .kolarac-blog-card__title,
body.category .kolarac-blog-card__title {
    text-transform: uppercase;
}
