/*
Theme Name: Culturea Child Theme
Theme URI: https://culturea.cz
Template: kadence
Author: Josef Plšek
Description: Child theme pro web Culturea postavený na šabloně Kadence. Obsahuje vlastní úpravy pro potřeby webu. V případě potřeby úprav kontakt: josefplsek4@seznam.cz
Version: 1.0.0.1777278677
Updated: 2026-04-27 10:31:17

*/

/* =========================================================
   CULTUREA CUSTOM CSS
   Child theme: Culturea Child Theme
   ========================================================= */


/* 01. PROGRAM */

.culturea-program-wrap{
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  background-color: #fff6df;
}

.culturea-program-list{
  border-top: 2px solid #a20838;
}

.culturea-program-item{
  border-left: 2px solid #a20838;
  border-right: 2px solid #a20838;
  border-bottom: 2px solid #a20838;
  background-color: #fff6df;
  transition: background .28s ease;
}

.culturea-program-head{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
}

.culturea-program-time{
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #182551;
}

.culturea-program-title{
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #182551;
}

.culturea-program-body{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition:
    max-height .35s ease,
    opacity .25s ease,
    padding .35s ease;
}

.culturea-program-photo{
  width: 200px;
  height: 200px;
  overflow: hidden;
  padding-left: 0;
}

.culturea-program-photo img{
  display: block;
  width: 100%;
  max-width: 220px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.culturea-program-text{
  max-width: 760px;
  font-size: 16px;
  line-height: 1.35;
  color: #c0dfee;
}


/* 02. PROGRAM BEZ FOTKY */

.culturea-program-item:has(.culturea-program-photo-empty) .culturea-program-body{
  grid-template-columns: 1fr;
  padding-left: 284px;
}

.culturea-program-item:has(.culturea-program-photo-empty) .culturea-program-photo{
  display: none;
}

.culturea-program-item:has(.culturea-program-photo-empty) .culturea-program-text{
  grid-column: auto;
}


/* 03. ANIMACE PROGRAMU */

.culturea-anim{
  position: relative;
  line-height: 0;
}


/* 04. BLOGOVÉ PŘÍSPĚVKY */

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df{
  width: 1080px !important;
  max-width: 1080px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  --content-expand: 120px;
  --text-nudge: 12px;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item{
  cursor: pointer;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item article.loop-entry{
  position: relative !important;
  overflow: visible !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
  gap: 0.35rem !important;
  padding: 3rem !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap .entry-title,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap .entry-summary,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap .entry-summary p{
  margin: 0 !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(odd) .entry-content-wrap{
  background-color: #a20838 !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(even) .entry-content-wrap{
  background-color: #c0dfee !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(odd) .entry-content-wrap,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(odd) .entry-content-wrap .entry-title,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(odd) .entry-content-wrap p{
  color: #c0dfee !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(even) .entry-content-wrap,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(even) .entry-content-wrap .entry-title,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(even) .entry-content-wrap p{
  color: #a20838 !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-title a{
  color: inherit !important;
  text-decoration: none !important;
}


/* 05. BLOGOVÉ PŘÍSPĚVKY, HOVER EFEKT */

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-color: inherit;
  pointer-events: auto;
  transition: right .35s ease !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap > *{
  position: relative;
  z-index: 1;
  transform: translateX(0);
  transition: transform .35s ease !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:hover .entry-content-wrap::after{
  right: calc(-1 * var(--content-expand)) !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:hover .entry-content-wrap > *{
  transform: translateX(calc(-1 * var(--text-nudge)));
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap::before{
  content: "→";
  position: absolute;
  top: 50%;
  right: 3rem;
  z-index: 3;
  opacity: 0;
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%) translateX(0);
  transition: opacity .25s ease, transform .35s ease !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(odd) .entry-content-wrap::before{
  color: #c0dfee;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:nth-child(even) .entry-content-wrap::before{
  color: #a20838;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:hover .entry-content-wrap::before{
  opacity: 1;
  transform: translateY(-50%) translateX(var(--content-expand));
}


/* 06. BLOGOVÉ PŘÍSPĚVKY, PROKLIK A ČÍST VÍCE */

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item a.post-more-link .kadence-svg-iconset,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item a.post-more-link svg{
  display: none !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item a.post-more-link{
  color: inherit !important;
  text-decoration: none !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item a.post-more-link:hover{
  text-decoration: underline !important;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-title a::after{
  content: "";
  position: absolute;
  inset: 0;
  right: calc(-1 * var(--content-expand));
  z-index: 1;
}

ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item a.post-thumbnail,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap,
ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap a{
  position: relative;
  z-index: 2;
}


/* 07. MINULÉ ROČNÍKY */

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f a.post-thumbnail,
ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f a.post-thumbnail .post-thumbnail-inner{
  display: block !important;
  overflow: hidden !important;
}

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f a.post-thumbnail img{
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .35s ease !important;
}

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f li.kb-post-list-item:hover a.post-thumbnail img{
  transform: scale(1.06);
}

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f li.kb-post-list-item:hover .entry-title a,
ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f .entry-title a:hover{
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f .entry-title a{
  text-decoration: none !important;
}

ul.wp-block-kadence-posts.kb-posts-id-99_95e27a-5f li.kb-post-list-item{
  cursor: pointer;
}


/* 08. TLAČÍTKO DOMŮ */

.culturea-home-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
}

.culturea-home-button:hover{
  transform: translateY(-1px);
}

.culturea-home-button img{
  display: block;
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%)
          invert(16%) sepia(19%)
          saturate(1511%)
          hue-rotate(191deg)
          brightness(95%)
          contrast(90%);
}


/* 09. 3D KACHLIČKY */

.tiles-3d .wp-block-image{
  position: relative;
  overflow: hidden;
  box-shadow: 1px 1px 0 rgba(0,0,0,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.tiles-3d .wp-block-image::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.35),
    inset -5px -5px 0 rgba(0,0,0,0.15);
  transition: box-shadow .18s ease;
}

.tiles-3d .wp-block-image img{
  display: block;
  width: 100%;
  height: auto;
}

.tiles-3d .wp-block-image:hover{
  transform: translateY(-6px);
}


/* 10. PLOVOUCÍ KACHLIČKY */

.floating-tiles-area{
  position: relative;
  z-index: 20;
}

.floating-tiles-area .tile-float{
  position: absolute;
  width: 150px;
  z-index: 1;
  pointer-events: none;
  box-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}

.floating-tiles-area .tile-float::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.35),
    inset -5px -5px 0 rgba(0,0,0,0.1);
}

.floating-tiles-area .tile-float-1{
  right: -500px;
  bottom: 60px;
  transform: rotate(-10deg);
}

.floating-tiles-area .tile-float-2{
  right: 10px;
  bottom: -120px;
  transform: rotate(14deg);
}

.floating-tiles-area .tile-float-3{
  left: 290px;
  top: 40px;
  transform: rotate(-10deg);
}

.floating-tiles-area .tile-float-4{
  left: 180px;
  top: 250px;
  transform: rotate(25deg);
}

.floating-tiles-area .tile-float-5{
  left: -80px;
  top: -350px;
  transform: rotate(-9deg);
}

.floating-tiles-area .tile-float-6{
  left: 450px;
  top: 10px;
  transform: rotate(25deg);
}


/* 11. PRUHY A DEKORATIVNÍ LIŠTY */

.culturea-footer-strip{
  position: relative;
  z-index: 5;
  width: 100vw;
  height: 64px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: url("https://culturea.cz/wp-content/uploads/2026/01/Navrh-bez-nazvu-7.svg");
  background-position: center;
  background-repeat: repeat-x;
  background-size: auto 100%;
}


/* 12. KONTAKTNÍ KARTA */

.contact-card .wp-block-media-text__content p{
  line-height: 1.25 !important;
  margin: 0.35em 0 !important;
}

.contact-card .wp-block-media-text__content h2{
  line-height: 1.05 !important;
  margin: 0 0 0.5em !important;
}


/* 13. RESPONZIVITA, BLOG */

@media (max-width: 1100px){
  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df{
    width: 100% !important;
    max-width: 100% !important;
    --content-expand: 0;
    --text-nudge: 0;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:hover .entry-content-wrap::after{
    right: 0 !important;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item:hover .entry-content-wrap > *{
    transform: none !important;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-content-wrap::before{
    display: none !important;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df li.kb-post-list-item .entry-title a::after{
    right: 0;
  }
}

@media (max-width: 900px){
  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df .entry-summary,
  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df .entry-summary p{
    display: none !important;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df a.post-more-link{
    display: none !important;
  }

  ul.wp-block-kadence-posts.kb-posts-id-13_9ddb13-df .entry-content-wrap{
    padding: 1.5rem !important;
  }
}


/* 14. RESPONZIVITA, PROGRAM */

@media (max-width: 900px){
  .culturea-program-wrap{
    padding: 28px 1px 48px;
  }

  .culturea-program-head{
    grid-template-columns: 1fr;
    position: relative;
    gap: 10px;
    padding: 20px 54px 20px 18px;
  }

  .culturea-program-head::after{
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    color: #182551;
    transform: translateY(-50%);
    transition: transform .25s ease, color .25s ease;
  }

  .culturea-program-time{
    font-size: 20px;
  }

  .culturea-program-title{
    font-size: 18px;
  }

  .culturea-program-body{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px;
  }

  .culturea-program-text{
    font-size: 16px;
  }

  .culturea-program-item.is-open{
    background-color: #a20838;
  }

  .culturea-program-item.is-open .culturea-program-time,
  .culturea-program-item.is-open .culturea-program-title{
    color: #c0dfee;
  }

  .culturea-program-item.is-open .culturea-program-head::after{
    content: "−";
    color: #c0dfee;
  }

  .culturea-program-item.is-open .culturea-program-body{
    max-height: 1000px;
    opacity: 1;
    padding: 0 18px 20px;
  }

  .culturea-program-item:has(.culturea-program-photo-empty) .culturea-program-body{
    padding-left: 18px;
  }

  .culturea-program-item:has(.culturea-program-photo-empty).is-open .culturea-program-body{
    max-height: 220px;
  }
}

@media (min-width: 900px){
  .culturea-program-item:hover{
    background-color: #a20838;
  }

  .culturea-program-item:hover .culturea-program-time,
  .culturea-program-item:hover .culturea-program-title{
    color: #c0dfee;
  }

  .culturea-program-item:hover .culturea-program-body{
    max-height: 420px;
    opacity: 1;
    padding: 0 28px 28px;
  }

  .culturea-program-item:has(.culturea-program-photo-empty):hover .culturea-program-body{
    max-height: 220px;
  }
}


/* 15. RESPONZIVITA, VIDEO, ODPOČET A ZÁPATÍ */

@media (max-width: 1024px){
  [data-section="kadence_customizer_footer_navigation"]{
    display: none !important;
  }

  .site-footer-middle-section-3{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  .site-footer-middle-section-3 > .footer-social,
  .site-footer-middle-section-3 > .footer-widget4{
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .site-footer-middle-section-3 .footer-social-inner-wrap a{
    transform: scale(0.9);
    transform-origin: center;
  }

  .site-footer-middle-section-3 .footer-widget4 img{
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }

  .site-footer-middle-section-3 .footer-widget4 .wp-block-image,
  .site-footer-middle-section-3 .footer-social-wrap,
  .site-footer-middle-section-3 figure{
    line-height: 0 !important;
    margin: 0 !important;
  }

  .site-footer-middle-section-3 .widget_media_image img{
    display: block !important;
    height: auto !important;
    vertical-align: middle !important;
  }

  .site-footer-middle-section-3 .footer-social-wrap,
  .site-footer-middle-section-3 .footer-widget-area[data-section="sidebar-widgets-footer4"]{
    align-self: center !important;
  }

  .wp-block-video{
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
  }

  .wp-block-video video{
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .wp-block-video,
  .wp-block-video video{
    border-radius: 0 !important;
  }

  .wp-block-kadence-countdown-timer .kb-countdown-date-item-seconds,
  .wp-block-kadence-countdown-timer .kb-countdown-divider-item-seconds,
  .wp-block-kadence-countdown-timer .kb-countdown-divider-item:last-of-type,
  .wp-block-kadence-countdown-timer .kb-countdown-divider-item-minutes{
    display: none !important;
  }

  .wp-block-kadence-countdown-timer .kb-countdown-date-item-minutes::after{
    content: none !important;
  }
}


/* 16. RESPONZIVITA, KONTAKT A KACHLIČKY */

@media (max-width: 768px){
  .contact-card.wp-block-media-text{
    grid-template-columns: 1fr !important;
  }

  .contact-card .wp-block-media-text__content{
    padding: 28px 22px !important;
  }

  .tiles-swap{
    display: grid !important;
    grid-template-columns: repeat(1, 0.9fr) !important;
    width: min(420px, 92vw) !important;
    max-width: min(420px, 92vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 0 !important;
  }

  .tiles-swap figure,
  .tiles-swap .wp-block-image{
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .tiles-swap .wp-block-image{
    position: relative !important;
    overflow: hidden !important;
  }

  .tiles-swap .wp-block-image img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.18) !important;
  }

  .tiles-swap .wp-block-image::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    box-shadow:
      inset 1px 1px 0 rgba(255,255,255,0.35),
      inset -4px -4px 0 rgba(0,0,0,0.15) !important;
  }
}


/* 17. RESPONZIVITA, PRUHY */

@media (min-width: 1200px){
  .culturea-footer-strip{
    height: 63px;
  }
}

@media (max-width: 543px){
  .culturea-footer-strip{
    height: 44px;
  }
}
