.elementor-kit-5{--e-global-color-primary:#000000;--e-global-color-secondary:#FFFFFF;--e-global-color-text:#505050;--e-global-color-accent:#B311A3;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1420px;}.e-con{--container-max-width:1420px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */::-webkit-scrollbar {width: 6px;}

::-webkit-scrollbar-track {background-color: white;}

::-webkit-scrollbar-thumb {background-color: black;}

.ctverec-format {
  aspect-ratio: 1 / 1;

}

  

@media (max-width: 767px) {
  .ctverec-format-velky {
    aspect-ratio: 1 / 1;

  }
}

/* Kontejner */
.portfolioitem {
    position: relative; /* nutné kvůli ::before */
    overflow: hidden;   /* aby gradient nepřetékal */
}

/* Gradient overlay */
.portfolioitem::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    transition: background 0.4s ease;
    z-index: 1;
}

/* Při hoveru se gradient plynule objeví */
.portfolioitem:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25));
}

/* Název – plynulý fade-in */
.portfolioitem .nazev {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 2; /* nad overlayem */
    position: relative; /* aby nebyl pod ::before */
}

/* Hover: název se zobrazí */
.portfolioitem:hover .nazev {
    opacity: 1;
    visibility: visible;
}/* End custom CSS */