/*
 * Zákaznické úpravy vzhledu.
 * Soubor se načítá po základních stylech a aktualizace jádra jej nepřepisují.
 */
/* Logo nahoře, navigace vycentrovaná pod ním */
.header-mode-reveal .content-block[id],
.header-mode-reveal .content-block-section[id] {
    scroll-margin-top: calc(var(--site-header-height, 0px) + 0.25rem);
scroll-margin-top: var(--site-header-height, 0px);
}
@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Light.ttf") format("Kanit-Light.ttf");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
body, h1, h2, h3, h4, .site-brand { font-family: "Kanit", sans-serif; }
.h1-mode-custom .site-main {
    padding-block-start: 0;
}
.lokalita-chloumek h1 {
  font-size: clamp(1rem, 7vw, 1rem);
  letter-spacing: 0.5em;
  text-align: center;
}
h2 {
font-size: clamp(1.25rem, 7vw, 1.5rem);
  font-weight: 200;
}
.clanek {
  max-width: 600px;
  margin: 0px auto;
}
.clanek-nadpis h1 {
  max-width: 600px;
  margin: 0px auto;
}
body:not(.nav-mobile) .site-header {
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding-block: 0.6rem 0.25rem;
}
.site-footer {
  text-align: center;
  color: #474747;
}
.cms-button.style-secondary {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  border-radius: 5px;
}
.cms-button.style-secondary:hover {
  background: #2b2b2b;
  color: #fff;
}
/* Logo */
body:not(.nav-mobile) .site-brand {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

body:not(.nav-mobile) .site-brand img {
    width: auto;
    max-width: min(20rem, 70vw);
    max-height: 4rem;
}

/* Navigace přes celou dostupnou šířku */
body:not(.nav-mobile) .site-navigation-shell,
body:not(.nav-mobile) .site-nav {
    width: 100%;
}

body:not(.nav-mobile) .site-nav ul {
    justify-content: center;
  gap: 0.5rem 1.2rem;
}

body:not(.nav-mobile) .site-nav a {
font-size: clamp(0.9rem, 1.25vw, 0.8rem);
  font-weight: 300;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

body:not(.nav-mobile) .site-nav a:hover {
    opacity: 0.65;
}

/* Mobil zůstane: logo vlevo a tlačítko menu vpravo */
.nav-mobile .site-header {
    justify-content: space-between;
}
.site-header::before {
    box-shadow: 0 0.45rem 1rem rgb(23 32 51 / 14%);
}

.header-mode-sticky .site-header,
.header-mode-fixed .site-header,
.header-mode-reveal .site-header {
    box-shadow: none;
}

.site-main {
    border-top: 0;
}

/* Hlavní obrazový prvek se čtyřmi automaticky prolínanými sděleními. */
.chlumek-slider {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(22rem, 44vw, 32rem);
    margin: 0;
    overflow: hidden;
    background: #dededb;
}

.chlumek-slider__image,
.chlumek-slider::after,
.chlumek-slider__texts {
    position: absolute;
    inset: 0;
}

.chlumek-slider__image {
    z-index: -2;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.chlumek-slider::after {
    z-index: -1;
    content: "";
}

.chlumek-slider__texts {
    display: grid;
    padding: clamp(2rem, 7vw, 5rem);
    place-items: center;
    text-align: center;
}

.chlumek-slider__slide {
    grid-area: 1 / 1;
    max-width: 26ch;
    margin: 0;
    color: #575754;
    font-family: var(--font-heading);
font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
    line-height: 1.16;
    text-wrap: balance;
    opacity: 0;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.chlumek-slider__slide:nth-child(1) { animation-name: chlumek-slide-1; }
.chlumek-slider__slide:nth-child(2) { animation-name: chlumek-slide-2; }
.chlumek-slider__slide:nth-child(3) { animation-name: chlumek-slide-3; }
.chlumek-slider__slide:nth-child(4) { animation-name: chlumek-slide-4; }

.chlumek-slider__dots {
    position: absolute;
    z-index: 2;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    display: flex;
    gap: 0.4rem;
}

.chlumek-slider__dot {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid #696966;
    background: transparent;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.chlumek-slider__dot:nth-child(1) { animation-name: chlumek-dot-1; }
.chlumek-slider__dot:nth-child(2) { animation-name: chlumek-dot-2; }
.chlumek-slider__dot:nth-child(3) { animation-name: chlumek-dot-3; }
.chlumek-slider__dot:nth-child(4) { animation-name: chlumek-dot-4; }

@keyframes chlumek-slide-1 {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes chlumek-slide-2 {
    0%, 20% { opacity: 0; }
    25%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes chlumek-slide-3 {
    0%, 45% { opacity: 0; }
    50%, 70% { opacity: 1; }
    75%, 100% { opacity: 0; }
}

@keyframes chlumek-slide-4 {
    0%, 70% { opacity: 0; }
    75%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes chlumek-dot-1 {
    0%, 20%, 100% { background: #696966; }
    25%, 95% { background: transparent; }
}

@keyframes chlumek-dot-2 {
    0%, 20%, 50%, 100% { background: transparent; }
    25%, 45% { background: #696966; }
}

@keyframes chlumek-dot-3 {
    0%, 45%, 75%, 100% { background: transparent; }
    50%, 70% { background: #696966; }
}

@keyframes chlumek-dot-4 {
    0%, 70%, 100% { background: transparent; }
    75%, 95% { background: #696966; }
}

@media (max-width: 640px) {
    .chlumek-slider {
        min-height: 25rem;
    }

    .chlumek-slider__texts {
        padding: 2rem 1.25rem 4rem;
    }

    .chlumek-slider__slide {
        font-size: clamp(1.6rem, 8vw, 2.35rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chlumek-slider__slide,
    .chlumek-slider__dot {
        animation: none;
    }

    .chlumek-slider__slide:first-child {
        opacity: 1;
    }

    .chlumek-slider__dot:first-child {
        background: #696966;
    }
}
#aktuality-chloumek .latest-articles-heading {
  text-align: center;
}
.karta-obdobi .service-card-image {
  aspect-ratio: initial;
}
.karta-obdobi h3 {
  margin: 0px auto;
  font-size: clamp(1.2rem, 3vw, 1rem);
font-weight: 300;
  letter-spacing: 0.1em;
}
.foto-galerie h3 {
  font-size: 16px;
  font-weight: 300;
  margin: 0px auto;
  text-align: center;
}
.loga-podpora .service-card-image  {
  aspect-ratio: 1 / 1;
background: #fff;
}
.loga-podpora h3 {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  margin: 0px auto;
}
.loga-podpora .service-card {
  background: #fff;
}
.loga-podpora img {
  max-width: 60% !important;
  text-align: center;
  margin: 0px auto;
}
.moznosti-podpory {
background: #eeedeb;
  padding: 2em;
  border-radius: 20px;
}
.moznosti-podpory {
  text-align: center;
}
.moznosti-podpory h3 {
  font-size: clamp(1.0rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 1px;
}
.page-type-blog-article h1 {
  font-size: clamp(1.25rem, 6vw, 4rem);
}
.blog-card-content h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 2vw, 1rem);
}
.latest-articles .blog-card-content h3 {
  font-size: clamp(1.0rem, 1.2vw, 1.0rem);
  font-weight: 400;
}
.blog-index-page.blog-heading-center .site-main > h1 {
  font-size: clamp(1.25rem, 7vw, 1.5rem);
  font-weight: 200;
  letter-spacing: 0px;