/*
Theme Name: Mangelos
Theme URI: 
Author: Katarina
Author URI: 
Description: 
Template: twentytwentyfour
Version: 1.0
Text Domain: mangelos
*/

body, h1, h2 {
font-family: "din-condensed-light", sans-serif;
font-variation-settings: "wght" 300;
} 

/* ---------------- Slider Container ---------------- */
.section-slider > .wp-block-group-is-layout-constrained {
  position: relative;       /* positioning context for arrows */
  display: flex;            /* flex container for slides */
  flex-wrap: nowrap;

}


/* .section-slider {
  position: relative;        /* positioning context for arrows */
  /* overflow: hidden;          hide overflowing slides */
  /* transition: background-color 0.6s ease; */
  /* padding: 2rem;             optional, adjust as needed */
/* } */

/* ---------------- Static Header ---------------- */
.section-slider__header {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;                /* above slides */
}

/* ---------------- Track & Slides ---------------- */
.section-slider__track {
  position: relative;
  display: flex;              /* horizontal row */
  flex-wrap: nowrap;          /* prevent wrapping */
  transition: transform 0.6s ease;
  width: 100%;
  margin: 0;
  padding: 0;
 
}

/* .section-slider__track > .section-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
} */

.section-slider__slide {
  flex: 0 0 100%;             /* each slide = full width */
  min-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0px 60px 0px 60px !important;
  overflow-x: hidden;
}


/* Optional: make images cover slide */
.section-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- Navigation Arrows ---------------- */
/* .section-slider__arrow { */
.wp-block-image .is-resized .slider-arrow { 
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  /* height: auto;
  align-items: center;
  justify-content: center; */
  z-index: 20;
  cursor: pointer;
  /* background: rgba(255,255,255,0.7);
  border-radius: 50%;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease; */
}

.wp-block-image .size-full .is-resized .slider-arrow .slider-arrow--prev { 
  left: 20px; 
  }
wp-block-image size-full is-resized slider-arrow slider-arrow--next { 
  right: 20px; 
  }

/* Image inside the figure */
wp-block-image size-full is-resized slider-arrow slider-arrow--prev img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-arrow {
    margin-top: -70% !important;
    z-index: 9999;
}



/* .section-slider__arrow:hover  */
/* .wp-block-image.slider-arrow:hover { */
  /* background: rgba(255,255,255,0.9);
  transform: translateY(-50%) scale(1.1);
  opacity: 0.7; */
/*} */

/* menu */
/* .wpml-language-switcher-block is-layout-flex is-responsive has-child-selected wp-block-navigation .jezik  */
/* ul.wp-block-navigation__container {
    padding-right: 0 !important;
    margin-right: -50px;
} */


.exhibition-dates {
    font-family: Inter, sans-serif;
    color: #636363;
}

/* 3 columns on Home */
/* .make-clickable {
  position: relative;
  cursor: pointer;
}

.make-clickable a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-indent: -9999px; 
    overflow: hidden;
}

.make-clickable:hover {
    opacity: 0.9;
    transition: 0.3s ease;
} */

/*new*/
/* 1. Column Default State */
.make-clickable {
    position: relative;
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
    /* Include transform in the transition for smoothness */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
}

/* 2. Column Hover State (Invert + Grow) */
.make-clickable:hover {
    background-color: #000000 !important;
    color: #ffffff;
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    /* Bring to front so it overlaps neighbors */
    z-index: 10;
    /* Optional: Add shadow for depth */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 3. Inner Text Default (H2 and P only) */
.make-clickable h2,
.make-clickable p {
    color: #000000;
    transition: color 0.3s ease;
}

/* 4. Inner Text Hover (Force White on Hover) */
.make-clickable:hover h2,
.make-clickable:hover p {
    color: #ffffff !important;
}

/* 5. Invisible Link Overlay */
.make-clickable a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-indent: -9999px;
    overflow: hidden;
}

/* konkurs dugme */
.dugme a {
    display: inline-block !important; /* Critical for transform to work */
    transition: transform 0.3s ease;
    will-change: transform;
    position: relative;
    z-index: 1;
}

.dugme a:hover,
.dugme a:active {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);

    z-index: 10;
    /* color: #111111 !important; */
    /* background-color: #CD0D34 !important; */
    border: 1px #111111 solid;
}

/* @media screen and (max-width: 500px) {
wp-block-navigation__responsive-container-content {

}
} */

/* scrolling notification home */

.content {
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #F9F9F9;
    padding-left: 0.25em;
}

@media only screen and (max-width: 767px) {
    .content {
        font-size: 1.5rem !important;
        padding-left: 0.25em;
    }
}

.outer {
    overflow: hidden; !important;
}

.outer div {
    display: inline-block;
}

.loop {
    white-space: nowrap;
    animation: loop-anim 10s linear infinite;
    -webkit-animation: loop-anim 10s linear infinite;
    -moz-animation: loop-anim 10s linear infinite;
    -o-animation: loop-anim 10s linear infinite;
    
}

@media only screen and (max-width: 767px) {
    .loop {
        animation: loop-anim 15s linear infinite;
        -webkit-animation: loop-anim 10s linear infinite;
        -moz-animation: loop-anim 10s linear infinite;
        -o-animation: loop-anim 10s linear infinite;;
    }
}

@keyframes loop-anim {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -50% /* This works because of the div between "outer" and "loop" */
    }
}

@media only screen and (min-width: 767px) and (max-width: 1024px) {
   .content {
        font-size: 1.5rem !important;
        padding-left: 0.25em;
    }
}

/* Custom gallery styling for Projects */

.gallery {
    max-width: 1280px !important;
    display: grid;
    grid-template-columns: repeat(2, auto) !important;
    gap: 15px;
}
.gallery img {
    width: 630px !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hide captions */
.gallery-caption {
    display: none !important;
}

.gallery galleryid-1836 gallery-columns-2 gallery-size-large {

}